/* Shared fixes layered over the current design, without replacing its stylesheet. */
.site-header,
.hero-copy,
.product-card,
.contact-band-link,
.mobile-nav-contact-link {
  min-width: 0;
}

.nav-links {
  gap: 20px;
  font-size: 14px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.07;
  overflow-wrap: anywhere;
}

.hero-lead {
  font-size: 25px;
}

.section-title h2,
.seo-section h2,
.chicken-copy h2 {
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.hero-basket,
.hero-basket-wrap .hero-basket {
  margin-top: 0;
}

.product-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-cards.home-catalog {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card h3 {
  font-size: 25px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.product-card p {
  align-self: start;
}

.product-card .small-button {
  min-height: 44px;
  max-width: 100%;
  white-space: normal;
}

.product-card > img {
  width: 100%;
  object-position: center;
}

.section-title > span {
  transform: none;
}

.contact-band-actions,
.hero-actions,
.buyer-grid,
.steps {
  min-width: 0;
}

.contact-band-link,
.mobile-nav-contact-link,
.button small {
  overflow-wrap: anywhere;
}

.mobile-nav-layer {
  z-index: 100;
  height: 100dvh;
}

.mobile-nav-panel {
  width: min(380px, calc(100% - 24px));
  height: 100%;
  max-height: 100dvh;
  overflow: hidden;
  gap: 12px;
  padding: max(16px, env(safe-area-inset-top)) 18px max(16px, env(safe-area-inset-bottom));
}

.mobile-nav-head,
.mobile-nav-contact {
  flex-shrink: 0;
}

.mobile-nav-links {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-nav-links a {
  min-height: 46px;
}

.mobile-nav-close,
.mobile-nav-toggle {
  width: 44px;
  height: 44px;
}

.language-switch a {
  width: 38px;
  height: 36px;
}

.mobile-nav-contact-link {
  min-height: 64px;
}

.mobile-nav-contact-link strong {
  font-size: 16px;
}

html.mobile-menu-open .promo-modal,
html.mobile-menu-open .sticky-cta,
html.mobile-menu-open .fab-call {
  display: none !important;
}

.promo-modal-card {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.rabbit-page .hero-basket,
.rabbit-feature > img {
  object-fit: contain;
  background: #f5f3ee;
}

.rabbit-article,
.search-buying-guide {
  width: min(900px, calc(100% - 48px));
  margin-inline: auto;
  background: transparent;
}

.rabbit-article > h2,
.search-buying-guide > h2 {
  font-size: 30px;
}

.rabbit-article h3,
.search-buying-guide h3 {
  margin: 32px 0 12px;
  font-size: 23px;
  line-height: 1.25;
}

.rabbit-article p,
.search-buying-guide p {
  font-size: 17px;
  line-height: 1.75;
  font-weight: 500;
}

.rabbit-article a,
.search-buying-guide a,
.rabbit-source a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.buying-guide-links {
  margin: 24px 0 0;
  padding-left: 20px;
}

.buying-guide-links li {
  margin: 12px 0;
  font-size: 17px;
  line-height: 1.6;
}

.recipe-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.recipe-table {
  width: 100%;
  table-layout: fixed;
}

.recipe-table th,
.recipe-table td {
  overflow-wrap: anywhere;
}

.rabbit-source {
  padding-top: 18px;
  border-top: 1px solid #ded8ca;
  font-size: 14px !important;
}

.rabbit-footer-link {
  margin-top: 16px;
}

.district-jump {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 12px;
  color: white;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.district-jump svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

#rabbit-delivery-districts,
#purchase-guide {
  scroll-margin-top: 72px;
}

.rabbit-district-section > p {
  margin: 0 auto 24px;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.6;
  text-align: center;
}

.district-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.district-links li {
  min-width: 0;
  border-bottom: 1px solid #ded8ca;
}

.district-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 14px 4px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.district-links a:hover {
  color: var(--green-700);
}

.district-links svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--green-700);
}

.district-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 24px;
  font-size: 15px;
  line-height: 1.5;
}

.district-breadcrumbs a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rabbit-district-teaser h2 {
  margin-bottom: 16px;
  font-size: 30px;
}

.rabbit-district-teaser p {
  margin-bottom: 20px;
  line-height: 1.6;
}

:where(a, button, summary):focus-visible {
  outline: 3px solid #229d58;
  outline-offset: 4px;
}

@media (min-width: 1181px) and (max-width: 1320px) {
  .site-header {
    width: calc(100% - 48px);
    gap: 16px;
  }

  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .brand-wordmark strong {
    font-size: 27px;
  }

  .brand-mascot {
    width: 64px;
    height: 64px;
  }

  .hero h1 {
    font-size: 46px;
  }
}

@media (max-width: 1180px) {
  .site-header {
    position: relative;
    left: auto;
    width: 100%;
    min-height: 80px;
    padding: 12px 24px;
    transform: none;
    gap: 12px;
    background: var(--green-900);
  }

  .nav-links {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .brand {
    max-width: calc(100% - 144px);
  }

  .brand-mascot {
    width: 52px;
    height: 52px;
  }

  .brand-wordmark strong {
    font-size: 26px;
  }

  .hero-inner {
    width: min(960px, calc(100% - 48px));
    padding-top: 44px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .product-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  body:has(.sticky-cta.is-visible) .fab-call {
    display: none;
  }

  .site-header {
    min-height: 72px;
    padding: 10px 16px;
  }

  .brand-mascot {
    width: 42px;
    height: 42px;
  }

  .brand-wordmark strong {
    font-size: 20px;
  }

  .hero-inner {
    width: min(620px, calc(100% - 32px));
    padding-top: 34px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-lead {
    font-size: 21px;
  }

  .product-cards,
  .product-cards.home-catalog {
    grid-template-columns: 1fr;
  }

  .hero-basket,
  .hero-basket-wrap .hero-basket {
    max-width: 100%;
    width: 100%;
  }

  .rabbit-article,
  .search-buying-guide {
    width: calc(100% - 32px);
  }

  .district-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding-inline: 12px;
  }

  .header-actions {
    gap: 6px;
  }

  .brand {
    max-width: calc(100% - 134px);
    gap: 5px;
  }

  .brand-mascot {
    width: 36px;
    height: 40px;
  }

  .brand-wordmark strong {
    font-size: 17px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .section-title h2,
  .seo-section h2,
  .chicken-copy h2,
  .faq-section h2 {
    font-size: 26px;
  }

  .product-card h3 {
    font-size: 23px;
  }

  .buyer-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .rabbit-article h3,
  .search-buying-guide h3 {
    font-size: 21px;
  }

  .rabbit-article p,
  .search-buying-guide p {
    font-size: 16px;
  }

  .district-links {
    grid-template-columns: 1fr;
  }

  .district-links a {
    font-size: 18px;
  }

  .rabbit-district-teaser h2 {
    font-size: 26px;
  }
}

@media (max-width: 350px) {
  .brand-wordmark strong {
    font-size: 15px;
  }

  .brand-mascot {
    width: 30px;
  }

  .hero h1 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-backdrop {
    transition: none;
  }
}
