@media (max-width: 1300px) {}

@media (max-width: 1120px) {}

@media (max-width: 992px) {
  .hero_area {
    min-height: auto;
  }

  .custom_nav-container .navbar-nav {
    padding-top: 15px;
padding-left: 0;
    align-items: center;
  }

  .user_option{
    justify-content: center;
    margin-top: 15px;
  }
  .custom_nav-container .navbar-nav .nav-item .nav-link {
    padding: 5px 25px;
    margin: 5px 0;
  }

  .slider_section .carousel-indicators {
    margin-top: 45px;
  }

  .offer_section .box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .offer_section .box .img-box {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 767px) {

  .about_section .detail-box,
  .book_section .form_container {
    margin-bottom: 45px;
  }

  .about_section .row {
    flex-direction: column-reverse;
  }

  .offer_section .box {
    flex-direction: row;
    text-align: left;
  }

  .offer_section .box .img-box {
    margin-right: 15px;
    margin-bottom: 0;
  }
}

@media (max-width: 576px) {}

@media (max-width: 576px) {
  .food_section .box .img-box {
    height: 210px;
  }

  .farm_video_frame {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 767px) {
  body { min-width: 0; }
  .container { width: 100%; padding-right: 18px; padding-left: 18px; }
  .farm_header { padding: 12px 0; }
  .farm_navbar .navbar-brand { gap: 7px; font-size: 1.15rem; }
  .farm_navbar .navbar-brand img { width: 38px; height: 38px; }
  .farm_navbar .navbar-toggler { padding: 8px 10px; border: 1px solid rgba(255, 255, 255, .45); color: #fff; }
  .farm_navbar .navbar-collapse { margin-top: 12px; padding: 10px 12px 14px; background: #10281d; }
  .farm_navbar .navbar-collapse.show { display: block; }
  .farm_navbar .navbar-nav { display: flex; align-items: stretch; gap: 0; margin: 0 !important; }
  .farm_navbar .nav-item { width: 100%; }
  .farm_navbar .nav-link { padding: 9px 4px !important; font-size: .68rem; }
  .farm_nav_actions { flex-wrap: wrap; gap: 12px; }
  .farm_nav_cta { padding: 11px 16px; }

  .slider_section .carousel-inner,
  .slider_section .carousel-item { min-height: 520px; }
  .slider_section .detail-box { width: 100%; margin-bottom: 60px; transform: none; }
  .slider_section .detail-box h1 { max-width: 100%; font-size: clamp(2.35rem, 11vw, 3.4rem); line-height: 1.05; }
  .slider_section .detail-box p { max-width: 100%; font-size: .9rem; line-height: 1.65; }
  .slider_section .detail-box .btn-box a { padding: 11px 18px; }
  .slider_section .carousel-indicators { padding-bottom: 18px; }

  .offer_section { padding-top: 18px; }
  .offer_section .box { width: 100%; margin-top: 24px; padding: 16px 14px; border-radius: 8px; }
  .offer_section .box .img-box { flex: 0 0 118px; width: 118px; min-width: 118px; height: 118px; border-width: 4px; }
  .offer_section .box .detail-box h5 { font-size: 21px; }
  .offer_section .box .detail-box h6 { margin: 6px 0; font-size: .95rem; }
  .offer_section .box .detail-box h6 span { font-size: 1.85rem; }
  .offer_section .box .detail-box a { padding: 8px 14px; font-size: .72rem; }

  .layout_padding { padding: 58px 0; }
  .layout_padding-bottom { padding-bottom: 58px; }
  .heading_container h2 { font-size: 2rem; }
  .food_section .heading_container > p { font-size: .88rem; line-height: 1.6; }
  .food_section .filters_menu { margin: 26px 0 10px; gap: 4px; }
  .food_section .filters_menu li { padding: 6px 12px; font-size: .82rem; }
  .food_section .box { margin-top: 18px; }
  .food_section .box .detail-box { padding: 20px; }
  .food_section .box .detail-box p { font-size: .88rem; line-height: 1.6; }
  .produce_market_heading { display: block; }
  .produce_market_heading .heading_container > p:last-child { margin-top: 10px; }
  .produce_market_status { margin-top: 20px; }
  .produce_market_toolbar { display: block; margin-top: 30px; }
  .produce_market_toolbar > strong { display: block; margin-bottom: 12px; }
  .food_section .produce_market_toolbar .filters_menu { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; }
  .food_section .produce_market_toolbar .filters_menu li { flex: 0 0 auto; }
  .market_product { margin-top: 16px; }
  .market_product_image { height: 205px; }
  .market_product_body { min-height: 0; padding: 19px; }

  .about_section .row { margin-right: -10px; margin-left: -10px; }
  .about_section .row > [class*="col-"] { padding-right: 10px; padding-left: 10px; }
  .about_section .detail-box { margin-top: 30px; }
  .about_section .detail-box p { font-size: .9rem; line-height: 1.7; }
  .farm_video_frame { max-width: none; border-radius: 8px; }

  .book_section .heading_container { align-items: center; text-align: center; }
  .book_section .heading_container > p { font-size: .88rem; line-height: 1.6; }
  .farm_contact_panel { margin-top: 0; padding: 26px 20px; border-radius: 8px; }
  .farm_contact_panel h3 { font-size: 2rem; }
  .farm_contact_intro > p:last-child { font-size: .88rem; }
  .farm_contact_actions { margin-top: 26px; }
  .farm_contact_action { min-height: 68px; padding: 13px 14px; }
  .farm_hours { margin-top: 24px; padding-top: 18px; }

  .client_section .heading_container { align-items: center; text-align: center; }
  .client_section .heading_container > p { font-size: .88rem; line-height: 1.6; }
  .review_marquee { margin-right: -18px; margin-left: -18px; width: calc(100% + 36px); }
  .review_card { flex-basis: min(285px, calc(100vw - 54px)); min-height: 220px; margin: 10px 8px; padding: 19px; }
  .review_card > p { min-height: 70px; font-size: .88rem; line-height: 1.6; }

  .faq_section { padding: 58px 0; }
  .faq_intro { display: block; }
  .faq_intro h2 { font-size: 2.35rem; }
  .faq_intro > a { display: inline-block; margin-top: 22px; }
  .faq_list { margin-top: 28px; }
  .faq_question { grid-template-columns: 1fr auto; gap: 10px; padding: 18px 16px; font-size: .88rem; line-height: 1.45; }
  .faq_answer p { margin: 0 16px 18px; font-size: .86rem; line-height: 1.65; }
  .farm_map_frame { height: 220px; }
  .farm_footer { padding: 56px 0 24px; }
  .farm_footer_bottom { margin-top: 38px; }
  .blog_search_bar { display: block; }
  .blog_select { width: 100%; margin-top: 10px; }
  .blog_post_card { display: block; }
  .blog_post_media { height: 210px; min-height: 0; }
  .blog_post_content { padding: 22px 20px; }
  .blog_post_content h2 { font-size: 1.5rem; }
  .blog_article { padding: 34px 0 58px; }
  .blog_breadcrumb { margin-bottom: 30px; }
  .blog_article_header h1 { font-size: 2.55rem; }
  .blog_article_intro { font-size: .98rem; }
  .blog_article_body { font-size: .94rem; }
  .blog_related_grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .offer_section .box { flex-direction: column; text-align: center; }
  .offer_section .box .img-box { flex-basis: 136px; width: 136px; min-width: 136px; height: 136px; margin: 0 0 14px; }
  .offer_section .box .detail-box h6 span { font-size: 2rem; }
  .slider_section .carousel-inner,
  .slider_section .carousel-item { min-height: 560px; }
  .farm_hero h1 { font-size: 2.8rem; }
}

@media (max-width: 480px) {}

@media (max-width: 430px) {
  .offer_section .box {
    flex-direction: column;
    text-align: center;
  }

  .offer_section .box .img-box {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 376px) {
  .slider_section .detail-box h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}


@media (min-width:576px) and (max-width:991px) {
  .rent_solution_container .col-md-4.col-sm-6 {
    float: left;
    width: 50%;
  }
}

/* ===== Header, navigation & responsive polish (final overrides) ===== */
:root { --farm-green: #173c2c; --farm-green-2: #285b44; --farm-gold: #e7b84b; --farm-gold-deep: #b1842a; }

/* Light, sticky header: logo left, links centred, actions right */
.farm_header {
  position: sticky;
  top: 0;
  z-index: 1030;
  width: 100%;
  padding: 12px 0;
  color: var(--farm-green);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(23, 60, 44, .08);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  transition: box-shadow .25s ease, padding .25s ease;
}
.farm_header.is-scrolled { padding: 8px 0; box-shadow: 0 8px 26px rgba(23, 60, 44, .09); }

.farm_navbar { flex-wrap: nowrap; }
.farm_navbar .navbar-brand {
  flex: 1 1 0;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  gap: 12px;
  color: var(--farm-green);
  font-size: 1.5rem;
  letter-spacing: -.02em;
}
.farm_navbar .navbar-brand:hover { color: var(--farm-green); }
.farm_navbar .navbar-brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(23, 60, 44, .18);
}
.farm_navbar .navbar-brand em { color: var(--farm-gold-deep); }

.farm_navbar .nav-link {
  position: relative;
  padding: 10px 16px !important;
  color: var(--farm-green);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  transition: color .2s ease;
}
.farm_navbar .nav-link::after {
  position: absolute;
  right: 16px;
  bottom: 4px;
  left: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--farm-gold);
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.farm_navbar .nav-link:hover,
.farm_navbar .nav-link:focus,
.farm_navbar .nav-link.active { color: var(--farm-green); }
.farm_navbar .nav-link:hover::after,
.farm_navbar .nav-link.active::after { transform: scaleX(1); }

.farm_cart_link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(23, 60, 44, .18);
  border-radius: 50%;
  color: var(--farm-green);
  background: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.farm_cart_link:hover,
.farm_cart_link:focus { border-color: var(--farm-green); color: #fff; background: var(--farm-green); }
.cart_badge { top: -5px; right: -5px; border: 2px solid #fff; box-sizing: content-box; }

.farm_nav_cta {
  gap: 10px;
  padding: 0 24px;
  height: 46px;
  align-items: center;
  border-radius: 23px;
  color: #fff;
  background: var(--farm-green);
  font-size: .86rem;
  letter-spacing: .02em;
  text-transform: none;
}
.farm_nav_cta:hover { color: var(--farm-green); background: var(--farm-gold); transform: none; }

.farm_navbar .navbar-toggler {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(23, 60, 44, .2);
  border-radius: 50%;
  color: var(--farm-green);
  font-size: 1.15rem;
  background: #fff;
}
.farm_navbar .navbar-toggler:focus { outline: 2px solid var(--farm-gold); outline-offset: 2px; box-shadow: none; }
.farm_navbar .navbar-toggler .fa { pointer-events: none; }

@media (min-width: 992px) {
  .farm_navbar .navbar-collapse { display: contents !important; }
  .farm_navbar .navbar-nav { flex: 0 0 auto; margin: 0 auto !important; gap: 2px; }
  .farm_nav_actions { flex: 1 1 0; justify-content: flex-end; gap: 12px; }
  .hero_area { min-height: calc(100vh - 71px); }
}

@media (max-width: 991px) {
  .farm_header { padding: 10px 0; }
  .farm_navbar { flex-wrap: wrap; }
  .farm_navbar .navbar-brand { flex: 1 1 auto; max-width: calc(100% - 60px); font-size: 1.25rem; }
  .farm_navbar .navbar-brand img { width: 40px; height: 40px; }
  .farm_navbar .navbar-toggler { display: inline-flex; }
  .farm_navbar .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
    max-height: calc(100vh - 84px);
    margin-top: 10px;
    padding: 4px 4px 18px;
    overflow-y: auto;
    border-top: 1px solid rgba(23, 60, 44, .1);
    background: transparent;
  }
  .farm_navbar .navbar-nav { align-items: stretch; margin: 0 !important; gap: 0; }
  .farm_navbar .nav-item { width: 100%; border-bottom: 1px solid rgba(23, 60, 44, .08); }
  .farm_navbar .nav-link { display: block; padding: 16px 4px !important; font-size: 1rem; }
  .farm_navbar .nav-link::after { right: auto; bottom: 10px; left: 4px; width: 28px; }
  .farm_nav_actions { flex-direction: row-reverse; align-items: stretch; justify-content: stretch; gap: 12px; margin-top: 18px; }
  .farm_nav_cta { flex: 1; justify-content: center; margin: 0; }
  .farm_cart_link { min-height: 0; }
  .cart_badge { top: -4px; right: -4px; }

  .hero_area { min-height: 0; }
  .slider_section { padding: 36px 0 40px; }
  .slider_section .carousel-inner,
  .slider_section .carousel-item { min-height: 480px; }
  .slider_section .carousel-item .row { min-height: 480px; align-items: center; }
  .slider_section .detail-box { margin-bottom: 20px; transform: none; }
  .slider_section .carousel-indicators { justify-content: flex-start; margin: 0; }
}

.farm_page_intro { padding: 96px 0 72px; }
@media (max-width: 991px) {
  .farm_page_intro { padding: 64px 0 48px; }
  .farm_video_frame { margin-bottom: 8px; }
  .farm_value { margin-bottom: 16px; height: auto; }
}

@media (max-width: 575px) {
  .container { padding-right: 16px; padding-left: 16px; }
  .farm_navbar .navbar-brand { font-size: 1.1rem; gap: 9px; }
  .slider_section .detail-box .btn-box a { width: 100%; }
  .farm_page_intro h1 { font-size: 2.4rem; }
  .farm_contact_actions { grid-template-columns: 1fr; }
  .farm_footer .row > [class*="col-"] { margin-bottom: 28px; }
  .farm_footer_brand { font-size: 1.4rem; }
  .filters_menu li { min-height: 40px; display: inline-flex; align-items: center; }
  .faq_question { min-height: 52px; }
  .farm_whatsapp_bubble { right: 14px; bottom: 14px; }
}

@media (max-width: 359px) {
  .farm_navbar .navbar-brand span { font-size: 1rem; }
  .slider_section .detail-box h1 { font-size: 2.2rem; }
}

img, video, iframe { max-width: 100%; }

.photo_credits { margin-top: 18px; color: rgba(255, 255, 255, .5); font-size: .7rem; }
.photo_credits summary { cursor: pointer; }
.photo_credits ul { margin: 10px 0 0; padding-left: 18px; }
.photo_credits a { display: inline !important; margin: 0 !important; color: rgba(255, 255, 255, .7) !important; font-size: inherit !important; text-decoration: underline; }

.farm_navbar .navbar-brand span { color: var(--farm-green); font-size: inherit; font-weight: 700; }
.farm_navbar .navbar-brand em { font-size: inherit; }

.farm_nav_cta { display: inline-flex !important; align-items: center; justify-content: center; margin-top: 0 !important; line-height: 1; }

/* ===== Produce section: plain, restrained styling ===== */
.grid .all[hidden] { display: none !important; }

.food_section .produce_market_toolbar { align-items: center; }
.food_section .produce_market_toolbar .filters_menu li {
  gap: 6px;
  padding: 8px 4px;
  margin-left: 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: #58625a;
  background: none;
  font-size: .9rem;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.food_section .produce_market_toolbar .filters_menu li:hover { color: #173c2c; }
.food_section .produce_market_toolbar .filters_menu li span {
  min-width: 0;
  height: auto;
  border-radius: 0;
  color: #8a948c;
  background: none;
  font-size: .8rem;
}
.food_section .produce_market_toolbar .filters_menu li.active { border-color: #173c2c; color: #173c2c; background: none; font-weight: 600; }
.food_section .produce_market_toolbar .filters_menu li.active span { color: #58625a; background: none; }
.food_section .produce_market_toolbar .filters_menu li:focus-visible { outline: 2px solid #173c2c; outline-offset: 2px; }

.market_product { border-radius: 4px; box-shadow: none; transition: none; }
.market_product:hover { box-shadow: none; transform: none; }
.market_product_image { height: 240px; }
.market_product:hover .market_product_image img { transform: none; }
.market_product_category { color: #7b877e; font-size: .72rem; letter-spacing: .06em; }
.market_product h3 { font-size: 1.3rem; }
.market_product_footer { border-top: 0; padding-top: 14px; }

.add_to_cart { min-height: 40px; padding: 0 18px; border-radius: 4px; color: #fff; background: #173c2c; font-size: .8rem; letter-spacing: .02em; text-transform: none; transition: background-color .2s ease; }
.add_to_cart:hover { color: #fff; background: #285b44; transform: none; }

@media (max-width: 575px) {
  .food_section .produce_market_toolbar .filters_menu li { margin-left: 0; margin-right: 16px; }
  .market_product_image { height: 140px; }
}

/* ===== Hero (rebuilt) ===== */
.hero_area {
  position: relative;
  display: flex;
  min-height: clamp(560px, calc(100vh - 72px), 800px);
  overflow: hidden;
  background: #10281d;
}
.hero_area::after { display: none; }
.hero_area .bg-box { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.hero_area .bg-box img,
.hero_area:hover .bg-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  filter: none;
  transform: none;
  transition: none;
}
/* Overlay lives on the image wrapper, so it always matches the image exactly */
.hero_area .bg-box::after {
  position: absolute;
  inset: 0;
  content: '';
  background:
    linear-gradient(90deg, rgba(8, 28, 18, .84) 0%, rgba(8, 28, 18, .62) 48%, rgba(8, 28, 18, .42) 100%);
}

.slider_section { position: relative; z-index: 2; display: flex; flex: 1; align-items: center; width: 100%; padding: 0; }
.slider_section #customCarousel1 { width: 100%; }
.slider_section .carousel-inner,
.slider_section .carousel-item { min-height: 0; }
.slider_section .carousel-item .row { min-height: 0; align-items: center; }
.slider_section .detail-box { max-width: 620px; margin: 0; padding: 96px 0 116px; transform: none; }
.slider_section .detail-box h1 {
  margin: 0 0 20px;
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-shadow: none;
}
.slider_section .detail-box p { max-width: 520px; margin: 0 0 30px; color: rgba(255, 255, 255, .88); font-size: 1.05rem; line-height: 1.7; }
.slider_section .detail-box .btn-box a {
  min-width: 0;
  margin: 0;
  padding: 15px 26px;
  border: 0;
  border-radius: 4px;
  box-shadow: none;
  font-size: .8rem;
  letter-spacing: .1em;
}
.slider_section .detail-box .btn-box a:hover { transform: none; box-shadow: none; }

/* Simple crossfade between slides, no image movement */
.slider_section .carousel-fade .carousel-item { opacity: 0; transition: opacity .8s ease; transition-property: opacity; transform: none; }
.slider_section .carousel-fade .carousel-item.active,
.slider_section .carousel-fade .carousel-item-next.carousel-item-left,
.slider_section .carousel-fade .carousel-item-prev.carousel-item-right { opacity: 1; }
.slider_section .carousel-fade .active.carousel-item-left,
.slider_section .carousel-fade .active.carousel-item-right { opacity: 0; }
.slider_section .carousel-fade .carousel-item-next,
.slider_section .carousel-fade .carousel-item-prev,
.slider_section .carousel-fade .carousel-item.active,
.slider_section .carousel-fade .active.carousel-item-left,
.slider_section .carousel-fade .active.carousel-item-prev { transform: none; }

/* Text eases in once per slide */
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.slider_section .carousel-item.active .detail-box > * { animation: heroIn .7s ease both; }
.slider_section .carousel-item.active .detail-box > *:nth-child(2) { animation-delay: .12s; }
.slider_section .carousel-item.active .detail-box > *:nth-child(3) { animation-delay: .24s; }

/* Slide indicators: slim bars along the bottom */
.slider_section #customCarousel1 > .container { position: absolute; right: 0; bottom: 30px; left: 0; z-index: 3; }
.slider_section .carousel-indicators { position: static; justify-content: flex-start; margin: 0; padding: 0; }
.slider_section .carousel-indicators li {
  width: 32px;
  height: 3px;
  margin: 0 8px 0 0;
  border-radius: 0;
  background-color: rgba(255, 255, 255, .4);
  opacity: 1;
  transition: background-color .3s ease;
}
.slider_section .carousel-indicators li.active { width: 32px; height: 3px; background-color: #e7b84b; }

@media (prefers-reduced-motion: reduce) {
  .slider_section .carousel-item.active .detail-box > * { animation: none; }
  .slider_section .carousel-fade .carousel-item { transition: none; }
}

@media (max-width: 991px) {
  .hero_area { min-height: 0; }
  .hero_area .bg-box img { object-position: 62% center; }
  .hero_area .bg-box::after { background: linear-gradient(180deg, rgba(8, 28, 18, .62) 0%, rgba(8, 28, 18, .78) 100%); }
  .slider_section { padding: 0; }
  .slider_section .carousel-inner,
  .slider_section .carousel-item,
  .slider_section .carousel-item .row { min-height: 0; }
  .slider_section .detail-box { padding: 72px 0 96px; }
}

@media (max-width: 575px) {
  .slider_section .detail-box { padding: 56px 0 84px; }
  .slider_section .detail-box h1 { font-size: 2.3rem; }
  .slider_section .detail-box p { font-size: .98rem; }
  .slider_section .detail-box .btn-box a { width: 100%; justify-content: center; }
  .slider_section #customCarousel1 > .container { bottom: 26px; }
}

/* ===== Hero slider (custom, crossfade) ===== */
.slider_section { position: relative; z-index: 2; display: flex; flex: 1; width: 100%; padding: 0; }
.hero_slides { display: grid; flex: 1; min-width: 0; }
.hero_slide {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility 0s linear .45s;
  will-change: opacity;
}
.hero_slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease .4s, visibility 0s; }
.hero_slide .container { width: 100%; }

/* Text eases up as its slide fades in; nothing restarts or pops */
.hero_slide .detail-box > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease;
}
.hero_slide.is-active .detail-box > * { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.hero_slide.is-active .detail-box > *:nth-child(1) { transition-delay: .5s; }
.hero_slide.is-active .detail-box > *:nth-child(2) { transition-delay: .65s; }
.hero_slide.is-active .detail-box > *:nth-child(3) { transition-delay: .8s; }

.hero_controls { position: absolute; right: 0; bottom: 30px; left: 0; z-index: 3; }
.hero_dots { display: flex; gap: 8px; }
.hero_dot { position: relative; width: 44px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero_dot::before { position: absolute; top: 10px; right: 0; left: 0; height: 3px; background: rgba(255, 255, 255, .4); content: ''; transition: background-color .3s ease; }
.hero_dot:hover::before { background: rgba(255, 255, 255, .7); }
.hero_dot.is-active::before { background: #e7b84b; }
.hero_dot:focus-visible { outline: 2px solid #e7b84b; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .hero_slide, .hero_slide .detail-box > * { transition: none; }
}
@media (max-width: 575px) {
  .hero_controls { bottom: 22px; }
}

/* Hero background images crossfade with their slide */
.hero_area .bg-box img.hero_bg { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero_area .bg-box img.hero_bg.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero_area .bg-box img.hero_bg { transition: none; }
}

/* ===== Mobile refinements ===== */
html, body { overflow-x: hidden; }
@media (max-width: 991px) {
  .farm_nav_cta { height: 44px; }
}
@media (max-width: 575px) {
  .hero_area { min-height: 480px; }
  .slider_section .detail-box { padding: 48px 0 80px; }
  .slider_section .detail-box h1 { font-size: clamp(1.9rem, 9vw, 2.3rem); margin-bottom: 14px; }
  .slider_section .detail-box p { margin-bottom: 22px; font-size: .95rem; line-height: 1.6; }
  .slider_section .detail-box .btn-box a { display: inline-flex; width: auto; padding: 12px 22px; }
  .layout_padding { padding-top: 56px; padding-bottom: 56px; }
  .layout_padding-bottom { padding-bottom: 56px; }
  .heading_container h2 { font-size: 1.8rem; }
  .produce_market_toolbar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .produce_market_toolbar .filters_menu { display: flex; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; margin: 0; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .produce_market_toolbar .filters_menu li { flex: 0 0 auto; white-space: nowrap; }
  .produce_market_toolbar .filters_menu { scrollbar-width: none; }
  .produce_market_toolbar .filters_menu::-webkit-scrollbar { display: none; }
  .market_product_body { padding: 12px; }
  .market_product h3 { font-size: 1.05rem; }
  .market_product_description { font-size: .82rem; line-height: 1.45; }
  .market_product_footer { flex-direction: column; align-items: stretch; gap: 8px; }
  .market_product_footer .add_to_cart { width: 100%; justify-content: center; }
  .farm_map_frame iframe { height: 260px; }
  .review_card { width: 280px; }
  .farm_footer_bottom { flex-direction: column; gap: 6px; }
}

/* ===== Legal pages ===== */
.legal_section { padding: 0 0 80px; }
.legal_content { max-width: 760px; color: #3d4740; font-size: 1rem; line-height: 1.75; }
.legal_content .legal_updated { color: #7b877e; font-size: .85rem; }
.legal_content h2 { margin: 40px 0 12px; color: #173c2c; font-size: 1.4rem; }
.legal_content ul { margin: 0 0 16px; padding-left: 20px; }
.legal_content li { margin-bottom: 8px; }
.legal_content a { color: #173c2c; text-decoration: underline; }
@media (max-width: 575px) {
  .legal_section { padding-bottom: 56px; }
  .legal_content { font-size: .95rem; }
  .legal_content h2 { margin-top: 32px; font-size: 1.2rem; }
}

.farm_footer .farm_footer_bottom a { display: inline; margin: 0; font-size: inherit; color: rgba(255, 255, 255, .6); }
