@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Allura&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --live-green: #d3ffb7;
  --live-cream: #f8f3e7;
  --live-navy: #1d3159;
  --live-ink: #111;
  --live-border: #c9c1b4;
}

body {
  color: var(--live-ink);
  background: linear-gradient(
    180deg,
    var(--live-green) 0%,
    var(--live-cream) 78%,
    #f3ead8 100%
  );
  background-attachment: fixed;
  font-family: var(--sans);
}

h1,
h2,
h3 {
  color: #090909;
  font-family: var(--script);
  font-weight: 500;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--live-green);
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.nav-wrap {
  width: min(1240px, calc(100% - 64px));
  min-height: 142px;
  padding: 18px 0;
  grid-template-columns: 170px 1fr 150px;
}

.brand img {
  width: 100px;
  height: 64px;
}

.site-nav {
  gap: clamp(18px, 2.3vw, 38px);
}

.site-nav > a:not(.button) {
  color: #13254a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.site-nav > a:not(.button)::after {
  background: #13254a;
}

.header-actions {
  gap: 14px;
}

.header-actions:has(.header-call)::before {
  color: var(--live-navy);
  content: '⌕   ▣';
  font-size: 1.15rem;
  white-space: pre;
}

.header-call {
  display: none;
}

.header-icon,
.cart-button {
  position: relative;
  overflow: visible;
}

.cart-button {
  display: grid;
  width: 34px;
  height: 34px;
  min-height: 0;
  padding: 0;
  place-items: center;
  color: var(--live-navy);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 1.15rem;
  text-decoration: none;
}

.cart-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.cart-button::before {
  content: '🛒';
  filter: grayscale(1);
}

.cart-button strong {
  position: absolute;
  top: -5px;
  right: -7px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: white;
  background: var(--live-navy);
  border: 2px solid white;
  border-radius: 999px;
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  line-height: 1;
}

.live-home {
  background: var(--live-cream);
}

.popular-strip {
  padding: 54px max(32px, calc((100% - 1240px) / 2)) 66px;
  color: white;
  background: var(--live-navy);
}

.popular-strip h1 {
  margin: 0;
  color: white;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.popular-heading {
  display: flex;
  margin-bottom: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.carousel-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  color: white;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  place-items: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.carousel-controls button:hover,
.carousel-controls button:focus-visible {
  color: var(--live-navy);
  background: white;
  transform: translateY(-2px);
}

.popular-grid {
  display: grid;
  overflow-x: auto;
  padding-bottom: 4px;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  grid-template-columns: none;
  gap: 28px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.popular-grid::-webkit-scrollbar {
  display: none;
}

.popular-card {
  color: white;
  text-decoration: none;
}

.popular-card img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  border-radius: 10px;
}

.popular-card h2 {
  margin: 14px 0 2px;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
}

.popular-card p {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
}

.popular-card button {
  width: 100%;
  padding: 8px 0;
  color: white;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.live-feature {
  position: relative;
  display: grid;
  min-height: 560px;
  align-items: center;
  grid-template-columns: 56% 44%;
  background: var(--live-green);
}

.live-feature.reverse {
  grid-template-columns: 44% 56%;
}

.live-feature > img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.live-feature.reverse > img {
  grid-column: 2;
}

.feature-panel {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% + 120px));
  margin-left: -120px;
  padding: clamp(38px, 5vw, 72px);
  background: var(--live-cream);
}

.reverse .feature-panel {
  grid-column: 1;
  grid-row: 1;
  margin-right: -120px;
  margin-left: 0;
  justify-self: end;
}

.feature-panel h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.feature-panel p {
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.55;
}

.live-button,
.button {
  color: white;
  background: #113149;
  border-color: #113149;
  border-radius: 999px;
}

.stories-preview {
  padding: 82px max(32px, calc((100% - 1240px) / 2)) 120px;
}

.stories-preview > h2 {
  margin-bottom: 38px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.stories-preview .story-grid {
  max-width: 820px;
}

.site-footer {
  color: #142748;
  background: linear-gradient(
    180deg,
    rgba(248, 243, 231, 0) 0%,
    var(--live-cream) 22%,
    #f3ead8 100%
  );
}

.footer-main {
  width: min(1240px, calc(100% - 64px));
  padding: 58px 0 38px;
  grid-template-columns: 1.1fr 1.7fr 1fr;
}

.footer-main a,
.footer-main p {
  color: #142748;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 8px 30px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(20, 39, 72, 0.35);
  border-radius: 50%;
  font-weight: 800;
  text-decoration: none;
}

.footer-legal {
  width: min(1240px, calc(100% - 64px));
  color: #142748;
}

.page-main {
  min-height: 70vh;
  padding: 72px max(32px, calc((100% - 1240px) / 2)) 110px;
  background: linear-gradient(
    180deg,
    var(--live-green) 0%,
    var(--live-cream) 82%,
    rgba(248, 243, 231, 0) 100%
  );
}

.page-hero {
  padding: 30px 0 54px;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.page-title-mark,
.page-hero .eyebrow {
  display: none;
}

.page-hero > div > p:not(.eyebrow) {
  color: #111;
  font-family: inherit;
  font-size: 1rem;
}

.live-about-layout {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1.12fr;
  gap: clamp(42px, 8vw, 120px);
}

.live-about-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
}

.live-about-copy p {
  font-size: 1.1rem;
  line-height: 1.55;
}

.live-about-layout > img {
  width: 100%;
  min-height: 600px;
  object-fit: cover;
  border-radius: 16px;
}

.fresh-local {
  padding-top: 90px;
  text-align: center;
}

.fresh-local h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.fresh-local p {
  max-width: 800px;
  margin: 0 auto;
}

.live-form-page {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.live-form-page .page-hero {
  padding-bottom: 28px;
}

.live-form {
  display: grid;
  gap: 14px;
}

.live-form input,
.live-form textarea {
  width: 100%;
  padding: 17px 16px;
  color: #222;
  background: var(--live-cream);
  border: 1px solid var(--live-border);
  border-radius: 8px;
}

.live-form textarea {
  min-height: 112px;
  resize: vertical;
}

.live-form button {
  justify-self: center;
  margin-top: 14px;
}

.location-hours {
  display: grid;
  align-items: start;
  max-width: 900px;
  margin: 100px auto 0;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.location-hours > div,
.location-hours .hours-column {
  align-self: start;
}

.location-hours h2 {
  margin-top: 0;
}

.location-hours .hours-list:first-child {
  margin-top: 0.25rem;
}

.hours-list {
  display: grid;
  gap: 9px;
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.policy-page {
  max-width: 820px;
  margin: 0 auto;
}

.policy-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.policy-page h2 {
  margin: 34px 0 4px;
  font-size: 1.45rem;
}

.policy-page p {
  line-height: 1.5;
}

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

.story-card {
  background: transparent;
  border: 0;
  border-radius: 0;
}

.story-card img {
  height: 300px;
  border-radius: 0;
}

.story-card div {
  padding: 20px 0;
}

.story-card h2 {
  font-size: 1.45rem;
}

.shop-page .site-header,
.shop-page .site-footer {
  /* Shared branding stays consistent; the independent checkout content remains custom. */
}

.checkout-bridge {
  display: grid;
  min-height: 100vh;
  padding: 42px 24px;
  place-items: center;
  background: linear-gradient(180deg, var(--live-green), var(--live-cream));
  text-align: center;
}

.checkout-bridge section {
  max-width: 720px;
}

.checkout-bridge h1 {
  max-width: none;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.checkout-bridge-logo {
  position: absolute;
  top: 28px;
  left: 38px;
}

.order-intro h1 {
  color: white;
}

.footer-brand span {
  display: none;
}

.mobile-nav-spacer {
  display: none;
}

@media (max-width: 980px) {
  .nav-wrap {
    min-height: 96px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 10px;
  }

  .menu-toggle {
    display: block;
    grid-column: 3;
  }

  .site-nav {
    position: absolute;
    top: 96px;
    right: 0;
    left: auto;
    display: none;
    width: min(300px, calc(100vw - 32px));
    padding: 22px 32px;
    align-items: flex-start;
    flex-direction: column;
    background: var(--live-green);
    border: 1px solid rgba(19, 37, 74, 0.16);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 18px 38px rgba(19, 37, 74, 0.16);
  }

  .site-nav.is-open {
    display: flex;
  }

  body.nav-open .site-nav {
    padding-top: 0;
  }

  body.nav-open .site-nav::before {
    content: none;
    display: none;
  }

  body.nav-open .mobile-nav-spacer {
    display: block;
    flex: 0 0 max(112px, calc(env(safe-area-inset-top) + 104px));
    border-bottom: 1px solid rgba(19, 37, 74, 0.1);
  }

  body.nav-open .menu-toggle {
    position: fixed;
    top: max(18px, calc(env(safe-area-inset-top) + 14px));
    right: 30px;
    z-index: 220;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body.nav-open .menu-toggle span {
    opacity: 0 !important;
    transform: none !important;
  }

  body.nav-open .menu-toggle::before,
  body.nav-open .menu-toggle::after {
    content: '';
    grid-area: 1 / 1;
    width: 30px;
    height: 2.5px;
    background: var(--live-navy);
    border-radius: 999px;
  }

  body.nav-open .menu-toggle::before {
    transform: rotate(45deg);
  }

  body.nav-open .menu-toggle::after {
    transform: rotate(-45deg);
  }

  .header-actions {
    margin-right: 0;
    grid-column: 2;
    gap: 8px;
    padding-right: 8px;
  }

  .header-actions .header-icon,
  .header-actions .cart-button {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }

  body.nav-open .header-actions {
    opacity: 0;
    pointer-events: none;
  }

  .live-feature,
  .live-feature.reverse {
    grid-template-columns: 1fr;
  }

  .live-feature > img,
  .live-feature.reverse > img {
    min-height: 420px;
    grid-column: 1;
    grid-row: 1;
  }

  .feature-panel,
  .reverse .feature-panel {
    width: calc(100% - 48px);
    margin: -55px auto 40px;
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }

  .live-about-layout {
    grid-template-columns: 1fr;
  }

  .live-about-layout > img {
    min-height: 420px;
  }
}

@media (max-width: 700px) {
  .nav-wrap,
  .footer-main,
  .footer-legal {
    width: min(100% - 32px, 1240px);
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .popular-strip,
  .stories-preview,
  .page-main {
    padding-right: 20px;
    padding-left: 20px;
  }

  .footer-main,
  .location-hours,
  .story-grid {
    grid-template-columns: 1fr;
  }
}

/* Storefront interaction refinements */
.header-actions::before {
  display: none !important;
}

.header-icon {
  cursor: pointer;
}

.header-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #10264c;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
}

.header-icon:hover svg,
.header-icon:focus-visible svg {
  stroke: #000;
  transform: scale(1.08);
}

.cart-button::before {
  width: 28px;
  height: 28px;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310264c' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.3 10.2a2 2 0 0 0 2 1.6h7.9a2 2 0 0 0 2-1.6L21 7H6'/%3E%3Ccircle cx='10' cy='20' r='1.2'/%3E%3Ccircle cx='18' cy='20' r='1.2'/%3E%3C/svg%3E");
  content: '';
  filter: none;
}

.popular-grid {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.popular-card {
  scroll-snap-align: start;
}

.footer-main {
  align-items: start;
  text-align: center;
}

.footer-brand {
  justify-self: center;
}

.footer-links {
  justify-items: center;
}

.footer-contact {
  text-align: center;
}

.footer-email {
  display: inline-block;
  margin: 8px auto 15px;
  color: inherit;
  line-height: 1.4;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.social-links {
  justify-content: center;
}

.about-photo-grid {
  display: grid;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.about-photo-grid img {
  width: 100%;
  height: clamp(230px, 26vw, 390px);
  object-fit: cover;
}

.fresh-local-layout {
  display: grid;
  min-height: 560px;
  align-items: stretch;
  grid-template-columns: 1fr 1fr;
  background: var(--live-green);
}

.fresh-local-layout > div {
  display: grid;
  padding: clamp(45px, 8vw, 110px);
  align-content: center;
}

.fresh-local-layout h2 {
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
}

.fresh-local-layout p {
  max-width: 620px;
  line-height: 1.65;
}

.fresh-local-layout > img {
  width: 100%;
  min-height: 560px;
  height: 100%;
  object-fit: cover;
}

.about-socials {
  display: flex;
  margin-top: 25px;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.about-socials a {
  display: grid;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--live-navy);
  border: 1px solid rgba(16, 38, 76, 0.35);
  border-radius: 50%;
  font-weight: 800;
  text-decoration: none;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .about-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fresh-local-layout {
    grid-template-columns: 1fr;
  }

  .fresh-local-layout > img {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  .popular-heading {
    align-items: flex-end;
  }

  .about-photo-grid {
    width: min(100% - 32px, 1240px);
    gap: 10px;
  }

  .about-photo-grid img {
    height: 190px;
  }
}

.footer-legal {
  justify-content: center;
  text-align: center;
}

.more-grid a {
  color: #13254a;
  background: #e9ffd9;
  border: 2px solid #173f35;
  box-shadow: 0 12px 28px rgba(23, 63, 53, 0.09);
}

.more-grid a:nth-child(2) {
  color: #13254a;
  background: #fff0c9;
  border-color: #8a641e;
}

.more-grid a:nth-child(3) {
  color: #13254a;
  background: #dcecff;
  border-color: #294f78;
}

.more-grid a:hover {
  color: white;
  background: #173f35;
}

.sandbox-badge {
  padding: 6px 10px;
  color: #6d4213;
  background: #ffe4a7;
  border: 1px solid #c78a30;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search-dialog,
.product-dialog {
  width: min(720px, calc(100% - 32px));
  padding: 0;
  overflow: visible;
  background: var(--live-cream);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 28px 90px rgba(8, 29, 24, 0.3);
}

.search-dialog::backdrop,
.product-dialog::backdrop {
  background: rgba(8, 29, 24, 0.62);
  backdrop-filter: blur(4px);
}

.site-search {
  position: relative;
  padding: 48px;
}

.site-search > label {
  display: block;
  margin-bottom: 20px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
}

.site-search > div {
  display: grid;
  grid-template-columns: 1fr auto;
}

.site-search input {
  min-width: 0;
  padding: 16px;
  background: white;
  border: 1px solid var(--live-border);
  border-radius: 8px 0 0 8px;
}

.site-search > div button {
  padding: 0 24px;
  color: white;
  background: var(--live-navy);
  border: 0;
  border-radius: 0 8px 8px 0;
  font-weight: 800;
}

.search-close,
.product-dialog-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 0;
  font-size: 1.8rem;
  cursor: pointer;
}

.product-detail-trigger {
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.product-detail-trigger:hover .product-image img {
  transform: scale(1.035);
}

.product-image img {
  transition: transform 180ms ease;
}

.product-dialog {
  max-width: 880px;
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.product-dialog > div {
  display: grid;
  max-height: calc(100dvh - 32px);
  grid-template-columns: 1fr 1fr;
}

.product-dialog > div > img {
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
  border-radius: 16px 0 0 16px;
}

.product-dialog > div > div {
  max-height: calc(100dvh - 32px);
  padding: 48px;
  align-self: start;
  overflow-y: auto;
}

.product-dialog h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.detail-price {
  display: block;
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.nutrition-details {
  margin: 22px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.nutrition-details p {
  margin: 6px 0;
}

.variation-picker {
  display: grid;
  margin: 24px 0 18px;
  padding: 0;
  gap: 10px;
  border: 0;
}

.variation-picker legend {
  margin-bottom: 11px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.variation-picker label {
  display: grid;
  min-height: 58px;
  padding: 13px 15px;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--live-border);
  border-radius: 10px;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.variation-picker label:hover {
  border-color: var(--live-navy);
  transform: translateY(-1px);
}

.variation-picker label:has(input:checked) {
  background: var(--live-green);
  border-color: var(--live-navy);
  box-shadow: 0 0 0 2px rgba(16, 57, 49, 0.12);
}

.variation-picker input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--live-navy);
}

.product-add-button {
  position: sticky;
  z-index: 1;
  bottom: 0;
  width: 100%;
  box-shadow: 0 -10px 18px var(--live-cream);
}

.search-results-message {
  margin: 0 0 28px;
  padding: 15px 18px;
  color: var(--live-navy);
  background: var(--live-green);
  border-radius: 10px;
  font-weight: 800;
}

@media (max-width: 650px) {
  .site-search {
    padding: 42px 22px 28px;
  }

  .product-dialog > div {
    max-height: none;
    grid-template-columns: 1fr;
  }

  .product-dialog > div > img {
    min-height: 260px;
    border-radius: 16px 16px 0 0;
  }

  .product-dialog > div > div {
    max-height: none;
    padding: 28px;
    overflow: visible;
  }

  .product-dialog {
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
  }
}

.account-page {
  display: grid;
  min-height: 100vh;
  padding: 36px 20px 70px;
  place-items: start center;
  background: linear-gradient(180deg, var(--live-green), var(--live-cream) 65%);
}

.account-page > .brand {
  margin-bottom: 20px;
}

.account-card {
  width: min(480px, 100%);
  padding: 38px;
  background: white;
  border: 1px solid rgba(23, 63, 53, 0.16);
  border-radius: 14px;
  box-shadow: 0 20px 55px rgba(23, 63, 53, 0.11);
}

.account-wide .account-card {
  width: min(760px, 100%);
}

.account-card h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
}

.account-card form,
.account-card label {
  display: grid;
  gap: 10px;
}

.account-card form {
  margin: 24px 0;
}

.account-card input {
  min-height: 49px;
  padding: 12px 14px;
  border: 1px solid var(--live-border);
  border-radius: 7px;
}

.account-message {
  min-height: 24px;
  color: var(--muted);
}

.account-message.is-error {
  color: #9b312a;
}

.account-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.account-section {
  padding: 25px 0;
  border-top: 1px solid var(--line);
}

.account-section h2 {
  font-size: 1.7rem;
}

/* Final launch readability and layout overrides. */
.cart-button {
  position: relative;
}

.cart-button strong {
  top: -2px;
  right: -4px;
  color: var(--live-cream);
  border-color: var(--live-cream);
}

body:not(.checkout-page):not(.account-page) {
  background: linear-gradient(
    180deg,
    var(--live-green) 0%,
    var(--live-green) 40%,
    var(--live-cream) 100%
  );
}

.live-home,
.page-main,
.shop-page,
.order-content,
.stories-preview,
.more-page {
  background: transparent;
}

.popular-strip,
.order-intro {
  color: var(--live-cream);
  background: var(--live-navy);
}

.popular-strip h1,
.order-intro h1,
.order-intro .eyebrow,
.order-intro > p:not(.eyebrow),
.order-notice,
.order-notice a {
  color: var(--live-cream);
}

.carousel-controls button,
.popular-card button,
.card-link,
.product-add-button,
.pay-button,
.wallet-placeholder {
  color: var(--live-cream);
}

.product-dialog {
  max-height: calc(100svh - 32px);
  overflow: hidden;
}

.product-dialog > div {
  max-height: calc(100svh - 32px);
}

.product-dialog > div > div {
  align-self: stretch;
  overflow-y: auto;
}

.product-add-button {
  position: sticky;
  bottom: 0;
  margin-top: 18px;
  box-shadow: 0 -10px 20px rgba(255, 253, 248, 0.88);
}

.variation-picker {
  margin-bottom: 12px;
}

@media (max-width: 650px) {
  .product-dialog {
    max-height: calc(100svh - 20px);
  }

  .product-dialog > div {
    max-height: calc(100svh - 20px);
    overflow-y: auto;
  }

  .product-dialog > div > div {
    overflow: visible;
  }
}

.site-footer,
.site-footer a,
.site-footer p,
.footer-main a,
.footer-main p,
.footer-contact,
.footer-legal,
.footer-legal a,
.social-links a {
  color: var(--live-navy);
}

.social-links a {
  border-color: rgba(29, 49, 89, 0.28);
}

/* Final follow-up polish. */
.site-footer {
  background: linear-gradient(
    180deg,
    rgba(248, 243, 231, 0) 0%,
    var(--live-cream) 24%,
    #f3ead8 100%
  );
}

/* Show posted asset-library images in full instead of cropping flyers/menus. */
.story-card img,
body[data-page='events'] .story-card img,
body[data-page='stories'] .story-card img {
  object-fit: cover;
  background: transparent;
}

.story-image-link {
  position: relative;
  display: block;
  overflow: hidden;
}

.story-image-gallery {
  display: grid;
  gap: 10px;
  padding: 0;
}

.story-image-gallery.has-multiple {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-image-gallery.has-multiple .story-image-link:first-child {
  grid-column: 1 / -1;
}

.story-image-gallery.has-multiple img {
  min-height: 180px;
}

.story-image-link::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(19, 37, 74, 0.82);
  border-radius: 999px;
  content: 'Click to expand';
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.product-dialog > div > img {
  object-fit: contain;
  background: rgba(255, 253, 248, 0.72);
}

/* Basket icon and clearer social glyph buttons. */
.cart-button::before {
  content: '';
  display: block;
  width: 28px;
  height: 28px;
  filter: none;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310264c' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10 9.1 4.8a2 2 0 0 1 1.85-1.25h2.1a2 2 0 0 1 1.85 1.25L17 10'/%3E%3Cpath d='M4.5 9.5h15l-1.25 10a2 2 0 0 1-2 1.75h-8.5a2 2 0 0 1-2-1.75l-1.25-10Z'/%3E%3Cpath d='M8.5 13.5v3M12 13.5v3M15.5 13.5v3'/%3E%3C/svg%3E");
}

.social-links a,
.about-socials a {
  width: 42px;
  height: 42px;
  color: #fff;
  background: #111;
  border-color: #111;
  border-radius: 50%;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.social-links svg,
.about-socials svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.social-links .icon-linkedin,
.about-socials .icon-linkedin {
  font-size: 0.94rem;
  letter-spacing: -0.04em;
}

.social-links .icon-tiktok svg,
.about-socials .icon-tiktok svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: none;
}

.social-links .icon-brand-letter,
.about-socials .icon-brand-letter {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
}

.footer-contact,
.footer-subscribe,
.social-links {
  width: 100%;
  justify-content: center;
  justify-items: center;
}

.footer-contact {
  display: grid;
}

.social-links a:hover,
.about-socials a:hover,
.social-links a:focus-visible,
.about-socials a:focus-visible {
  color: #fff;
  background: var(--live-navy);
  border-color: var(--live-navy);
}

.footer-contact strong,
.footer-events-link {
  color: var(--live-navy);
}

.footer-events-link {
  display: inline-block;
  margin: 8px auto 4px;
  font-weight: 900;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.header-icon[data-search-open] {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.variation-picker legend,
.variation-picker label,
.variation-picker label span,
.product-add-button {
  color: var(--live-navy);
}

.product-add-button {
  background: var(--live-green);
  border-color: var(--live-navy);
}

.product-add-button:hover,
.product-add-button:focus-visible {
  color: var(--live-navy);
  background: #bff59e;
}

body[data-page='events'] .page-hero,
body[data-page='events'] .story-card div {
  text-align: center;
}

body[data-page='events'] .story-grid {
  width: min(900px, 100%);
  margin-inline: auto;
  justify-content: center;
}

body[data-page='events'] .story-card {
  text-align: center;
}

/* Follow-up readability, footer subscription, and admin scrolling polish. */
.product-type,
.category-label,
.category-nav a {
  color: var(--live-navy);
  background: linear-gradient(90deg, var(--live-navy), #b95f39);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-card .product-detail-trigger > span,
.product-card [data-choose-product],
.product-card [data-add-product],
.product-card button:not(.product-detail-trigger) {
  color: var(--live-navy);
}

.footer-subscribe {
  display: grid;
  width: min(320px, 100%);
  margin: 14px auto 8px;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.footer-subscribe input {
  min-height: 42px;
  padding: 10px 12px;
  color: var(--live-navy);
  background: #fffdf8;
  border: 1px solid rgba(29, 49, 89, 0.28);
  border-radius: 999px;
  font: inherit;
}

.footer-subscribe button {
  min-height: 42px;
  padding: 10px 15px;
  color: var(--live-cream);
  background: var(--live-navy);
  border: 1px solid var(--live-navy);
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.footer-subscribe small {
  grid-column: 1 / -1;
  min-height: 1.2em;
  color: var(--live-navy);
}

/* Final readability-only footer/order category polish. */
.site-footer .footer-contact strong {
  color: #b95f39 !important;
  -webkit-text-fill-color: #b95f39 !important;
}

.site-footer .footer-contact p,
.site-footer .footer-contact .footer-email,
.site-footer .footer-contact .footer-events-link {
  color: var(--live-navy) !important;
  -webkit-text-fill-color: var(--live-navy) !important;
}

.category-nav {
  justify-content: center;
  text-align: center;
}

.product-type,
.category-label,
.category-nav a {
  color: var(--live-navy);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
}

/* Phone layout polish for iOS Safari and Android Chrome. */
@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .nav-wrap,
  .footer-main,
  .checkout-layout,
  .menu-manager-grid {
    width: min(100% - 28px, 100%);
  }

  .site-header {
    position: relative;
  }

  .nav-wrap {
    display: grid;
    grid-template-columns: auto auto;
    gap: 12px;
    justify-content: space-between;
  }

  .brand img {
    max-width: 168px;
    height: auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    width: 100%;
  }

  .header-actions {
    justify-content: end;
  }

  .live-home,
  .page-main,
  .shop-page {
    width: 100%;
  }

  .popular-strip,
  .order-intro,
  .page-hero {
    padding-inline: 18px;
  }

  .order-content {
    width: min(100% - 24px, 100%);
    margin-inline: auto;
  }

  .category-nav {
    display: flex;
    width: 100%;
    padding: 6px 2px 12px;
    gap: 10px;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .category-nav a {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .product-grid,
  .story-grid,
  .more-grid {
    grid-template-columns: 1fr;
  }

  .product-copy {
    gap: 14px;
  }

  .product-card,
  .story-card {
    min-width: 0;
  }

  .product-dialog {
    width: min(100% - 20px, 520px);
  }

  .product-dialog > div {
    grid-template-columns: 1fr;
  }

  .product-dialog > div > img {
    max-height: 230px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
    text-align: center;
  }

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

  .footer-subscribe {
    grid-template-columns: 1fr;
  }

  .footer-subscribe button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .popular-strip h1,
  .order-intro h1,
  .page-hero h1 {
    font-size: clamp(2.2rem, 13vw, 4rem);
    line-height: 0.95;
  }

  .product-copy {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .product-copy > strong {
    justify-self: start;
  }

  .card-link {
    min-height: 46px;
  }

  .cart-dialog,
  .search-dialog {
    width: min(100% - 18px, 520px);
  }
}

@media (max-width: 380px) {
  .brand img {
    max-width: 138px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-icon,
  .cart-button {
    width: 32px;
    height: 32px;
  }
}

/* Targeted order/category/mobile polish. */
body[data-page='order'] .order-content {
  overflow: visible;
  background: transparent;
}

body[data-page='order'] .category-nav-placeholder {
  display: none;
  height: 0;
}

body[data-page='order'] .category-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  max-width: none;
  padding: 12px 18px;
  margin: 0 auto 30px;
  justify-content: center;
  background: rgba(211, 255, 183, 0.62);
  border: 0;
  border-bottom: 1px solid rgba(29, 49, 89, 0.12);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-overflow-scrolling: touch;
  transform: translateZ(0);
  scrollbar-width: none;
}

body[data-page='order'] .category-nav a {
  background: rgba(248, 243, 231, 0.58);
  -webkit-backdrop-filter: blur(10px) saturate(1.08);
  backdrop-filter: blur(10px) saturate(1.08);
}

body[data-page='order'] .shop-category {
  scroll-margin-top: 86px;
}

.variation-picker {
  gap: 12px;
}

.variation-picker legend {
  color: var(--live-navy);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.variation-picker label {
  min-height: 76px;
  padding: 15px 18px;
  color: var(--live-navy);
  background: #fffdf8;
  border: 1px solid rgba(29, 49, 89, 0.22);
  border-radius: 13px;
  box-shadow: none;
}

.variation-picker label:has(input:checked) {
  background: var(--live-green);
  border-color: var(--live-navy);
  box-shadow: 0 0 0 2px rgba(29, 49, 89, 0.14);
}

.variation-picker input {
  appearance: none;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  background: transparent;
  border: 1.8px solid rgba(29, 49, 89, 0.62);
  border-radius: 999px;
}

.variation-picker input::before {
  width: 13px;
  height: 13px;
  background: var(--live-navy);
  border-radius: 999px;
  content: '';
  transform: scale(0);
  transition: transform 140ms ease;
}

.variation-picker input:checked::before {
  transform: scale(1);
}

.variation-picker label span {
  color: var(--live-navy);
  font-size: 1.08rem;
  font-weight: 500;
}

.variation-picker label strong {
  color: var(--live-navy);
  font-size: 1.08rem;
}

.product-add-button {
  min-height: 68px;
  color: var(--live-navy);
  background: var(--live-green);
  border: 1.5px solid var(--live-navy);
  border-radius: 999px;
  font-size: 1.08rem;
}

@media (max-width: 760px) {
  .nav-wrap {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .header-actions {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    min-width: max-content;
    justify-self: end;
  }

  .site-nav {
    grid-column: 2 / -1;
    grid-row: 2;
    justify-self: end;
  }

  body[data-page='order'] .order-content {
    padding-top: 0;
  }

  body[data-page='order'] .category-nav {
    width: calc(100% + 24px);
    max-width: none;
    margin: 0 -12px 28px;
    padding: 12px;
    justify-content: flex-start;
    background: rgba(211, 255, 183, 0.62);
    border: 0;
    border-bottom: 1px solid rgba(29, 49, 89, 0.12);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-backdrop-filter: blur(12px) saturate(1.05);
    backdrop-filter: blur(12px) saturate(1.05);
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    scrollbar-width: none;
  }

  body[data-page='order'] .category-nav::-webkit-scrollbar {
    display: none;
  }

  body[data-page='order'] .category-nav.is-fixed-fallback {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 85;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px;
    background: rgba(211, 255, 183, 0.76);
    box-shadow: 0 8px 18px rgba(29, 49, 89, 0.08);
  }

  body[data-page='order'] .category-nav-placeholder.is-active {
    display: block;
  }

  body.nav-open[data-page='order'] .category-nav {
    display: none;
  }

  .site-footer,
  .footer-main,
  .footer-contact,
  .footer-links,
  .footer-legal,
  .social-links {
    text-align: center;
    justify-items: center;
  }

  .footer-brand,
  .footer-contact,
  .footer-links,
  .footer-email,
  .footer-events-link,
  .social-links {
    margin-inline: auto;
  }

  .footer-main > * {
    width: min(100%, 360px);
    justify-self: center;
  }

  .footer-subscribe {
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .page-main {
    min-height: auto;
    padding-top: clamp(42px, 10vw, 64px);
    padding-bottom: 42px;
  }

  .story-card div,
  body[data-page='events'] .story-card div {
    padding-bottom: 8px;
  }

  .site-footer {
    padding-bottom: max(34px, env(safe-area-inset-bottom));
  }

  .footer-main {
    padding-top: 44px;
    padding-bottom: 48px;
    gap: 24px;
  }

  .footer-contact {
    gap: 12px;
  }

  .footer-subscribe {
    gap: 10px;
  }

  .footer-subscribe button {
    min-height: 56px;
  }
}

@media (max-width: 420px) {
  .nav-wrap {
    width: min(100% - 18px, 100%);
    gap: 8px;
  }

  .brand img {
    max-width: 118px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-icon,
  .cart-button {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }

  .cart-button strong {
    top: -4px;
    right: -6px;
  }
}

/* Center the bottom copyright line on all layouts. */
.footer-legal {
  text-align: center;
}

/* Keep the copyright line centered on desktop and mobile. */
.site-footer .footer-legal,
.site-footer .footer-legal p {
  width: 100%;
  margin-inline: auto;
  text-align: center;
  justify-self: center;
}

.mobile-sign-in {
  display: none !important;
}

.site-footer,
.footer-main,
.footer-contact,
.footer-links,
.footer-legal,
.social-links,
.about-socials {
  text-align: center;
  justify-items: center;
}

.site-footer .footer-main > *,
.site-footer .footer-contact > *,
.social-links,
.about-socials {
  margin-inline: auto;
}

.footer-contact {
  width: 100%;
  align-items: center;
}

.social-links,
.about-socials {
  width: min(100%, 560px);
  justify-content: center;
}

.social-links a,
.about-socials a {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  font-size: 1.28rem;
}

.social-links a[href*='facebook'],
.about-socials a[href*='facebook'] {
  background: #315fa7;
  border-color: #315fa7;
}

.social-links a[href*='instagram'],
.about-socials a[href*='instagram'] {
  background: #f35455;
  border-color: #f35455;
}

.social-links a[href*='linkedin'],
.about-socials a[href*='linkedin'] {
  background: #078bad;
  border-color: #078bad;
}

.social-links a[href*='pinterest'],
.about-socials a[href*='pinterest'] {
  background: #d71334;
  border-color: #d71334;
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.social-links a[href*='youtube'],
.about-socials a[href*='youtube'] {
  background: #ff1010;
  border-color: #ff1010;
}

.social-links a[href*='tiktok'],
.social-links a[href*='twitter'],
.about-socials a[href*='tiktok'],
.about-socials a[href*='twitter'] {
  background: #080808;
  border-color: #080808;
}

.story-card img,
body[data-page='events'] .story-card img,
body[data-page='stories'] .story-card img {
  object-fit: cover;
  object-position: center;
  background:
    linear-gradient(135deg, rgba(211, 255, 183, 0.5), rgba(246, 241, 231, 0.9)),
    var(--live-cream);
}

.product-image,
.popular-card > img,
.story-image-link,
.story-detail-gallery a,
.admin-menu-item img,
.asset-card img {
  background:
    linear-gradient(
      135deg,
      rgba(211, 255, 183, 0.45),
      rgba(246, 241, 231, 0.9)
    ),
    var(--live-cream);
}

.page-main.story-detail-page {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding-inline: clamp(18px, 5vw, 72px);
  display: grid;
  justify-items: center;
}

.story-detail {
  display: grid;
  width: min(100%, 780px);
  margin: 0 auto;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.story-back-link {
  width: fit-content;
  justify-self: start;
}

.story-detail h1 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 3.35rem);
}

.story-detail time {
  color: var(--live-rust);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-detail-gallery {
  display: grid;
  width: min(100%, 720px);
  margin-inline: auto;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  justify-content: center;
}

.story-detail-gallery img {
  width: 100%;
  height: clamp(190px, 30vw, 340px);
  object-fit: cover;
  background: transparent;
  border-radius: 16px;
}

.story-detail-copy {
  max-width: 680px;
  margin-inline: auto;
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.7;
  text-align: center;
}

.story-detail-copy p + p {
  margin-top: 1em;
}

.image-dialog {
  width: min(96vw, 980px);
  max-width: 96vw;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
}

.image-dialog::backdrop {
  background: rgba(10, 23, 47, 0.66);
  backdrop-filter: blur(3px);
}

.image-dialog img {
  display: block;
  width: 100%;
  max-height: 88svh;
  object-fit: contain;
  background: var(--live-cream);
  border-radius: 22px;
  box-shadow: 0 22px 58px rgba(10, 23, 47, 0.28);
}

.image-dialog-close {
  top: -18px;
  right: -18px;
  z-index: 2;
}

@media (max-width: 980px) {
  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }

  html.nav-scroll-locked,
  html.nav-scroll-locked body {
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  html.nav-scroll-locked .site-nav {
    touch-action: pan-y;
    overscroll-behavior: contain;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 48;
    display: none;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    padding: 98px 0 max(40px, env(safe-area-inset-bottom));
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: var(--live-cream);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  body.nav-open .site-nav {
    padding-top: 0;
  }

  body.nav-open .site-nav::before {
    content: none;
    display: none;
  }

  body.nav-open .mobile-nav-spacer {
    display: block;
    flex: 0 0 max(112px, calc(env(safe-area-inset-top) + 104px));
    border-bottom: 1px solid rgba(19, 37, 74, 0.1);
  }

  body.nav-open .menu-toggle {
    position: fixed;
    top: max(18px, calc(env(safe-area-inset-top) + 14px));
    right: 30px;
    z-index: 220;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body.nav-open .menu-toggle span {
    opacity: 0 !important;
    transform: none !important;
  }

  body.nav-open .menu-toggle::before,
  body.nav-open .menu-toggle::after {
    content: '';
    grid-area: 1 / 1;
    width: 30px;
    height: 2.5px;
    background: var(--live-navy);
    border-radius: 999px;
  }

  body.nav-open .menu-toggle::before {
    transform: rotate(45deg);
  }

  body.nav-open .menu-toggle::after {
    transform: rotate(-45deg);
  }

  .site-nav > a:not(.button),
  .mobile-sign-in {
    display: flex !important;
    min-height: 78px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #141414;
    border-top: 1px solid rgba(19, 37, 74, 0.12);
    border-radius: 0;
    font-size: 1.28rem;
    font-weight: 500;
    letter-spacing: 0;
    text-align: center;
    text-transform: none;
  }

  .site-nav > a:not(.button)::after {
    display: none;
  }

  .site-nav > a:last-child {
    border-bottom: 1px solid rgba(19, 37, 74, 0.12);
  }

  .mobile-sign-in svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
  }

  .menu-toggle {
    position: relative;
    z-index: 55;
  }

  .menu-toggle[aria-expanded='true'] span:nth-of-type(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded='true'] span:nth-of-type(3) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded='true'] span:nth-of-type(4) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* Final alignment + icon pass. */
.live-date-field {
  position: relative;
  display: block;
}

.live-date-field span {
  position: absolute;
  z-index: 1;
  top: 9px;
  left: 18px;
  color: #667;
  font-size: 0.78rem;
  font-weight: 700;
  pointer-events: none;
}

.live-date-field input {
  width: 100%;
  min-height: 76px;
  padding: 28px 18px 12px;
  color: var(--live-navy);
  background: #f8f3e7;
  border: 1px solid rgba(19, 37, 74, 0.2);
  border-radius: 10px;
  font: inherit;
  font-size: 1rem;
  line-height: 1.2;
  -webkit-appearance: none;
  appearance: none;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.social-links a,
.about-socials a {
  position: relative;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  line-height: 1;
}

.social-links svg,
.about-socials svg {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
}

.social-links a[href*='facebook'],
.social-links a[href*='instagram'],
.social-links a[href*='linkedin'],
.social-links a[href*='pinterest'],
.social-links a[href*='tiktok'],
.social-links a[href*='twitter'],
.social-links a[href*='youtube'],
.about-socials a[href*='facebook'],
.about-socials a[href*='instagram'],
.about-socials a[href*='linkedin'],
.about-socials a[href*='pinterest'],
.about-socials a[href*='tiktok'],
.about-socials a[href*='twitter'],
.about-socials a[href*='youtube'] {
  color: transparent;
  font-size: 0;
}

.social-links a[href*='facebook'] > *,
.social-links a[href*='instagram'] > *,
.social-links a[href*='linkedin'] > *,
.social-links a[href*='pinterest'] > *,
.social-links a[href*='tiktok'] > *,
.social-links a[href*='twitter'] > *,
.social-links a[href*='youtube'] > *,
.about-socials a[href*='facebook'] > *,
.about-socials a[href*='instagram'] > *,
.about-socials a[href*='linkedin'] > *,
.about-socials a[href*='pinterest'] > *,
.about-socials a[href*='tiktok'] > *,
.about-socials a[href*='twitter'] > *,
.about-socials a[href*='youtube'] > * {
  display: none;
}

.social-links a[href*='facebook']::before,
.social-links a[href*='instagram']::before,
.social-links a[href*='linkedin']::before,
.social-links a[href*='pinterest']::before,
.social-links a[href*='tiktok']::before,
.social-links a[href*='twitter']::before,
.social-links a[href*='youtube']::before,
.about-socials a[href*='facebook']::before,
.about-socials a[href*='instagram']::before,
.about-socials a[href*='linkedin']::before,
.about-socials a[href*='pinterest']::before,
.about-socials a[href*='tiktok']::before,
.about-socials a[href*='twitter']::before,
.about-socials a[href*='youtube']::before {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  margin: 0;
  background: #fff;
  content: '';
  transform: translate(-50%, -50%);
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.social-links a[href*='facebook']::before,
.about-socials a[href*='facebook']::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 8h2V4h-3c-3.2 0-5 1.9-5 5v2H5v4h3v7h4v-7h3.2l.8-4h-4V9c0-.7.4-1 1-1h1Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 8h2V4h-3c-3.2 0-5 1.9-5 5v2H5v4h3v7h4v-7h3.2l.8-4h-4V9c0-.7.4-1 1-1h1Z'/%3E%3C/svg%3E");
}

.social-links a[href*='instagram']::before,
.about-socials a[href*='instagram']::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 2h9A5.5 5.5 0 0 1 22 7.5v9a5.5 5.5 0 0 1-5.5 5.5h-9A5.5 5.5 0 0 1 2 16.5v-9A5.5 5.5 0 0 1 7.5 2Zm0 3A2.5 2.5 0 0 0 5 7.5v9A2.5 2.5 0 0 0 7.5 19h9a2.5 2.5 0 0 0 2.5-2.5v-9A2.5 2.5 0 0 0 16.5 5h-9Zm4.5 2.8a4.2 4.2 0 1 1 0 8.4 4.2 4.2 0 0 1 0-8.4Zm0 2.7a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm4.7-3.2a1.1 1.1 0 1 1 0 2.2 1.1 1.1 0 0 1 0-2.2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 2h9A5.5 5.5 0 0 1 22 7.5v9a5.5 5.5 0 0 1-5.5 5.5h-9A5.5 5.5 0 0 1 2 16.5v-9A5.5 5.5 0 0 1 7.5 2Zm0 3A2.5 2.5 0 0 0 5 7.5v9A2.5 2.5 0 0 0 7.5 19h9a2.5 2.5 0 0 0 2.5-2.5v-9A2.5 2.5 0 0 0 16.5 5h-9Zm4.5 2.8a4.2 4.2 0 1 1 0 8.4 4.2 4.2 0 0 1 0-8.4Zm0 2.7a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm4.7-3.2a1.1 1.1 0 1 1 0 2.2 1.1 1.1 0 0 1 0-2.2Z'/%3E%3C/svg%3E");
}

.social-links a[href*='linkedin']::before,
.about-socials a[href*='linkedin']::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 8.8h4V22h-4V8.8ZM6.5 2a2.3 2.3 0 1 1 0 4.6 2.3 2.3 0 0 1 0-4.6Zm5 6.8h3.8v1.8h.1c.6-1.1 2-2.1 4-2.1 4.2 0 5 2.7 5 6.3V22h-4v-6.4c0-1.5 0-3.5-2.2-3.5s-2.5 1.7-2.5 3.4V22h-4V8.8Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 8.8h4V22h-4V8.8ZM6.5 2a2.3 2.3 0 1 1 0 4.6 2.3 2.3 0 0 1 0-4.6Zm5 6.8h3.8v1.8h.1c.6-1.1 2-2.1 4-2.1 4.2 0 5 2.7 5 6.3V22h-4v-6.4c0-1.5 0-3.5-2.2-3.5s-2.5 1.7-2.5 3.4V22h-4V8.8Z'/%3E%3C/svg%3E");
}

.social-links a[href*='pinterest']::before,
.about-socials a[href*='pinterest']::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.2 2C6.9 2 4 5.4 4 9.2c0 2.3 1.3 5.1 3.3 6 .3.1.5.1.6-.3l.5-1.9c.1-.3.1-.4-.1-.7-.7-.8-1.1-1.8-1.1-3 0-2.8 2.1-5.4 5.6-5.4 3 0 4.9 1.9 4.9 4.7 0 3.3-1.7 5.6-3.8 5.6-1.2 0-2.1-1-1.8-2.2.4-1.5 1.2-3.1 1.2-4.2 0-1-.5-1.8-1.6-1.8-1.3 0-2.3 1.3-2.3 3 0 1.1.4 1.8.4 1.8l-1.6 6.9c-.5 2.1-.1 4.5-.1 4.7 0 .1.2.2.3.1.1-.1 1.8-2.3 2.4-4.4l.7-2.8c.6 1.1 1.9 2 3.5 2 4.6 0 7.8-4.2 7.8-9.5C22 5 18.4 2 12.2 2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.2 2C6.9 2 4 5.4 4 9.2c0 2.3 1.3 5.1 3.3 6 .3.1.5.1.6-.3l.5-1.9c.1-.3.1-.4-.1-.7-.7-.8-1.1-1.8-1.1-3 0-2.8 2.1-5.4 5.6-5.4 3 0 4.9 1.9 4.9 4.7 0 3.3-1.7 5.6-3.8 5.6-1.2 0-2.1-1-1.8-2.2.4-1.5 1.2-3.1 1.2-4.2 0-1-.5-1.8-1.6-1.8-1.3 0-2.3 1.3-2.3 3 0 1.1.4 1.8.4 1.8l-1.6 6.9c-.5 2.1-.1 4.5-.1 4.7 0 .1.2.2.3.1.1-.1 1.8-2.3 2.4-4.4l.7-2.8c.6 1.1 1.9 2 3.5 2 4.6 0 7.8-4.2 7.8-9.5C22 5 18.4 2 12.2 2Z'/%3E%3C/svg%3E");
}

.social-links a[href*='youtube']::before,
.about-socials a[href*='youtube']::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 7.2a3 3 0 0 0-2.1-2.1C18 4.6 12 4.6 12 4.6s-6 0-7.9.5A3 3 0 0 0 2 7.2 31.5 31.5 0 0 0 1.5 12c0 1.7.2 3.4.5 4.8a3 3 0 0 0 2.1 2.1c1.9.5 7.9.5 7.9.5s6 0 7.9-.5a3 3 0 0 0 2.1-2.1c.3-1.4.5-3.1.5-4.8s-.2-3.4-.5-4.8ZM10 15.4V8.6l6 3.4-6 3.4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 7.2a3 3 0 0 0-2.1-2.1C18 4.6 12 4.6 12 4.6s-6 0-7.9.5A3 3 0 0 0 2 7.2 31.5 31.5 0 0 0 1.5 12c0 1.7.2 3.4.5 4.8a3 3 0 0 0 2.1 2.1c1.9.5 7.9.5 7.9.5s6 0 7.9-.5a3 3 0 0 0 2.1-2.1c.3-1.4.5-3.1.5-4.8s-.2-3.4-.5-4.8ZM10 15.4V8.6l6 3.4-6 3.4Z'/%3E%3C/svg%3E");
}

.social-links a[href*='tiktok']::before,
.about-socials a[href*='tiktok']::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.2 2.5c.5 3 2.2 4.8 5.1 5.2v3.5c-1.8 0-3.4-.5-4.8-1.5V16a6 6 0 1 1-6-6c.5 0 1 .1 1.5.2v3.8a2.4 2.4 0 1 0 1.5 2.2V2.5h2.7Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.2 2.5c.5 3 2.2 4.8 5.1 5.2v3.5c-1.8 0-3.4-.5-4.8-1.5V16a6 6 0 1 1-6-6c.5 0 1 .1 1.5.2v3.8a2.4 2.4 0 1 0 1.5 2.2V2.5h2.7Z'/%3E%3C/svg%3E");
}

.social-links a[href*='twitter']::before,
.about-socials a[href*='twitter']::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.5 10.5 22 2h-3.5l-5.6 6.4L8.4 2H2l7.9 11.2L2 22h3.5l6-6.8 4.8 6.8H22l-7.5-11.5Zm-2.1 2.4-1.4-2L5.8 4.6h1.5l4.5 6.4 1.4 2 5.4 6.4h-1.5l-4.7-6.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.5 10.5 22 2h-3.5l-5.6 6.4L8.4 2H2l7.9 11.2L2 22h3.5l6-6.8 4.8 6.8H22l-7.5-11.5Zm-2.1 2.4-1.4-2L5.8 4.6h1.5l4.5 6.4 1.4 2 5.4 6.4h-1.5l-4.7-6.5Z'/%3E%3C/svg%3E");
}

.header-actions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 36px;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.header-actions .header-icon,
.header-actions .cart-button {
  justify-self: center;
}

.header-icon,
.cart-button {
  display: grid;
  width: 36px;
  height: 36px;
  min-height: 36px;
  flex: 0 0 36px;
  place-items: center;
}

.header-icon svg,
.cart-button svg {
  display: block;
  width: 22px;
  height: 22px;
}

.cart-button::before {
  margin: 0 auto;
}

.cart-button strong {
  display: grid;
  place-items: center;
}

.dialog-header button,
.search-close,
.product-dialog-close,
.quantity-control button {
  display: grid;
  padding: 0;
  place-items: center;
  font-family: Arial, sans-serif;
  line-height: 1;
  text-align: center;
}

@media (max-width: 760px) {
  .footer-main {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .footer-main > *,
  .footer-contact,
  .footer-links,
  .social-links {
    width: min(100%, 360px);
    align-self: center;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (min-width: 761px) and (max-width: 1120px) {
  .footer-main {
    display: flex;
    width: min(100% - 40px, 620px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-inline: auto;
    padding-inline: 0;
    text-align: center;
  }

  .site-footer {
    display: grid;
    justify-items: center;
  }

  .footer-main > *,
  .footer-contact,
  .footer-links,
  .social-links {
    width: min(100%, 460px);
    align-self: center;
    justify-content: center;
    justify-items: center;
    margin-inline: auto;
    text-align: center;
  }

  .footer-contact {
    display: grid;
    justify-items: center;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }

  .footer-subscribe {
    justify-content: center;
    margin-inline: auto;
  }

  .footer-legal {
    width: min(100% - 40px, 620px);
    text-align: center;
  }
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Story and recipe detail final centering pass. */
body[data-page='stories'] .page-main.story-detail-page,
body[data-page='recipes'] .recipe-detail-page {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  padding-right: max(20px, calc((100vw - 820px) / 2)) !important;
  padding-left: max(20px, calc((100vw - 820px) / 2)) !important;
  justify-items: center !important;
}

body[data-page='stories'] .story-detail,
body[data-page='recipes'] .recipe-detail {
  width: min(100%, 760px) !important;
  margin-right: auto !important;
  margin-left: auto !important;
  justify-items: center !important;
  text-align: center !important;
}

body[data-page='recipes'] .recipe-grid .story-card {
  display: grid;
  align-content: start;
}

body[data-page='recipes'] .recipe-grid .story-card img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

body[data-page='recipes'] .recipe-card h3 {
  margin: 18px 0 8px;
  color: var(--live-navy);
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: 0;
}

.recipe-detail {
  display: grid;
  gap: 14px;
}

.recipe-detail section,
.recipe-detail .recipe-summary,
.recipe-writing-note {
  width: min(100%, 620px);
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

.recipe-detail h1 {
  max-width: 680px;
  text-align: center;
  font-size: clamp(2rem, 6vw, 3.7rem);
}

.recipe-detail h2 {
  margin: 18px 0 8px;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
}

.recipe-detail ul,
.recipe-detail ol {
  display: grid;
  gap: 6px;
  padding-left: 1.3rem;
  line-height: 1.5;
}

.recipe-writing-note {
  padding: 16px;
  background: rgba(248, 243, 231, 0.7);
  border: 1px solid rgba(29, 49, 89, 0.16);
  border-radius: 16px;
}

body[data-page='recipes'] .story-detail-gallery {
  width: min(100%, 660px);
  margin-right: auto;
  margin-left: auto;
}

body[data-page='recipes'] .story-detail-gallery img {
  aspect-ratio: 4 / 3;
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  object-position: center;
}

/* Keep footer/about icon glyphs centered from their real SVG/text content. */
.social-links a::before,
.about-socials a::before {
  display: none !important;
  content: none !important;
}

.social-links a,
.about-socials a {
  display: inline-grid !important;
  place-items: center !important;
  line-height: 1 !important;
}

.social-links a:has(.social-icon-img),
.about-socials a:has(.social-icon-img) {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: transparent !important;
  overflow: visible !important;
}

.social-links a > *,
.about-socials a > * {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.social-links .social-icon-img,
.about-socials .social-icon-img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 999px !important;
  object-fit: contain !important;
  object-position: center !important;
}

.special-hours-list {
  margin-top: 14px;
}

.special-hours-list h3 {
  margin: 0 0 8px;
  color: #c45b35;
  font-size: 1rem;
}

.social-links .icon-brand-letter,
.about-socials .icon-brand-letter,
.social-links .icon-linkedin,
.about-socials .icon-linkedin {
  display: inline-grid !important;
  place-items: center !important;
  font-family: Arial, sans-serif !important;
  font-size: 1.45rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-transform: none !important;
}

.social-links .icon-linkedin,
.about-socials .icon-linkedin {
  font-size: 1.05rem !important;
}

.recipe-source-credit {
  max-width: 680px;
  margin: 12px auto 30px;
  color: var(--live-navy);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
}

.recipe-source-credit a {
  color: #b95f39;
  font-weight: 800;
}

/* Story, event, and home preview card-grid cleanup. */
.stories-preview {
  padding-inline: max(24px, calc((100% - 1240px) / 2));
}

.stories-preview .story-grid,
body[data-page='stories'] .story-grid,
body[data-page='events'] .story-grid {
  display: grid;
  width: min(100%, 1240px);
  max-width: 1240px;
  margin-inline: auto;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
}

.stories-preview .story-card,
body[data-page='stories'] .story-card,
body[data-page='events'] .story-card {
  display: grid;
  height: 100%;
  align-content: start;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.42);
  border: 1px solid rgba(29, 49, 89, 0.1);
  border-radius: 22px;
  box-shadow: 0 12px 26px rgba(29, 49, 89, 0.06);
  text-align: left;
}

.stories-preview .story-card > div,
body[data-page='stories'] .story-card > div,
body[data-page='events'] .story-card > div {
  display: grid;
  gap: 10px;
  padding: 18px 20px 22px;
}

.stories-preview .story-card h2,
body[data-page='stories'] .story-card h2,
body[data-page='events'] .story-card h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.05;
}

.stories-preview .story-card p,
body[data-page='stories'] .story-card p,
body[data-page='events'] .story-card p {
  margin: 0;
  line-height: 1.45;
}

.stories-preview .story-card img,
body[data-page='stories'] .story-card img,
body[data-page='events'] .story-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
}

body[data-page='stories'] .story-image-gallery,
body[data-page='events'] .story-image-gallery {
  gap: 0;
}

body[data-page='stories'] .story-image-gallery.has-multiple,
body[data-page='events'] .story-image-gallery.has-multiple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-page='stories']
  .story-image-gallery.has-multiple
  .story-image-link:first-child,
body[data-page='events']
  .story-image-gallery.has-multiple
  .story-image-link:first-child {
  grid-column: 1 / -1;
}

body[data-page='stories']
  .story-image-gallery.has-multiple
  .story-image-link:not(:first-child)
  img,
body[data-page='events']
  .story-image-gallery.has-multiple
  .story-image-link:not(:first-child)
  img {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

@media (max-width: 700px) {
  .stories-preview .story-grid,
  body[data-page='stories'] .story-grid,
  body[data-page='events'] .story-grid {
    grid-template-columns: 1fr;
  }
}
/* Final mobile polish pass: footer spacing, image labels, carousel balance, and source flair. */
.story-image-link::after {
  content: none !important;
  display: none !important;
}

.popular-strip {
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(56px, 7vw, 78px);
}

.popular-track {
  align-items: stretch;
}

body:not([data-page='order']) .page-main h1,
.live-home h1,
.page-hero h1,
.stories-preview > h2,
.recipe-detail h1,
.story-detail h1 {
  color: #050505;
  font-family: var(--script);
  font-weight: 500;
  letter-spacing: 0;
  text-wrap: balance;
}

.recipe-source-credit {
  display: inline-flex;
  width: fit-content;
  max-width: min(100%, 680px);
  margin: 18px auto 34px;
  padding: 10px 16px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--live-navy);
  background: rgba(255, 253, 248, 0.58);
  border: 1px solid rgba(185, 95, 57, 0.24);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(29, 49, 89, 0.06);
  font-family: var(--script);
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.35;
  text-align: center;
}

.recipe-source-credit::before {
  content: '✦';
  color: #b95f39;
  font-style: normal;
}

.recipe-source-credit a {
  color: #9e4e31;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

body[data-page='order'] .category-nav {
  position: sticky;
  top: 0;
  z-index: 96;
  margin-top: 0;
  background: rgba(211, 255, 183, 0.7);
}

body[data-page='order'] .category-nav::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(211, 255, 183, 0.42);
  content: '';
  pointer-events: none;
}

body[data-page='order'] .category-nav a {
  background: rgba(248, 243, 231, 0.76);
  border-color: rgba(29, 49, 89, 0.16);
  box-shadow: 0 8px 18px rgba(29, 49, 89, 0.05);
}

body[data-page='order'] .shop-category {
  scroll-margin-top: 96px;
}

@media (max-width: 760px) {
  .popular-strip {
    padding-top: 46px;
    padding-bottom: 54px;
  }

  .popular-heading {
    margin-bottom: 22px;
  }

  .footer-main {
    padding-top: 34px;
    padding-bottom: max(44px, calc(env(safe-area-inset-bottom) + 38px));
    gap: 18px;
  }

  .footer-brand {
    margin-bottom: 4px;
  }

  .footer-contact {
    gap: 9px;
  }

  .footer-subscribe {
    width: min(100%, 330px);
    margin-top: 8px;
    margin-bottom: 4px;
    gap: 12px;
  }

  .footer-subscribe input,
  .footer-subscribe button {
    min-height: 58px;
    text-align: center;
  }

  .footer-subscribe button,
  .card-link,
  .product-add-button,
  .pay-button,
  .menu-save,
  .menu-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
  }

  .social-links {
    gap: 14px;
    margin-top: 6px;
  }

  .page-main {
    padding-bottom: 30px;
  }

  body[data-page='stories'] .page-main,
  body[data-page='events'] .page-main,
  body[data-page='recipes'] .page-main,
  body[data-page='contact'] .page-main,
  body[data-page='feedback'] .page-main,
  body[data-page='large-orders'] .page-main,
  body[data-page='policies'] .page-main,
  body[data-page='more'] .page-main {
    padding-bottom: 24px;
  }

  body[data-page='order'] .category-nav {
    left: 0;
    width: calc(100vw - 24px);
    margin-right: calc(50% - 50vw + 12px);
    margin-left: calc(50% - 50vw + 12px);
    padding: 12px 12px 14px;
    justify-content: flex-start;
    background: rgba(211, 255, 183, 0.72);
  }

  body[data-page='order'] .category-nav a {
    min-height: 46px;
    padding: 12px 18px;
  }

  body[data-page='order'] .shop-category {
    scroll-margin-top: 102px;
  }
}

/* Public typography and mobile polish follow-up. */
.site-nav > a:not(.button),
.eyebrow,
.page-hero .eyebrow,
.order-intro .eyebrow,
.story-detail time,
.story-card time,
.category-label,
.product-type,
.variation-picker legend,
.form-card label,
.journal-kicker,
.hero-note span {
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}

.page-main h1,
.page-main h2,
.live-home h1,
.live-home h2,
.more-grid h2,
.location-hours h2,
.stories-preview > h2,
.story-card h2,
.recipe-detail h1,
.story-detail h1 {
  font-family: var(--script) !important;
  font-weight: 500;
  letter-spacing: 0 !important;
}

.popular-strip h1,
.popular-strip .popular-heading h1 {
  color: var(--live-cream) !important;
}

.stories-preview .story-grid {
  width: min(100%, 980px);
  max-width: 980px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stories-preview .story-card h2 {
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
}

.product-card .card-link span,
.product-card [data-choose-product] span,
.product-card [data-add-product] span {
  display: none !important;
}

.recipe-source-credit {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: 0.01em;
}

.recipe-source-credit a {
  font-family: inherit;
  font-style: italic;
}

@media (max-width: 760px) {
  .footer-subscribe {
    width: min(100%, 390px);
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-subscribe input {
    width: 100%;
  }

  .footer-subscribe button {
    width: min(88%, 320px);
    margin-inline: auto;
  }

  .stories-preview .story-grid {
    width: min(100%, 420px);
    grid-template-columns: 1fr;
  }
}

/* Final typography and account/event polish. */
:root {
  --decorative-script:
    'Brush Script MT', 'Apple Chancery', 'Segoe Script', cursive;
}

body:not([data-page='order']) .page-main h1,
.live-home h1,
.live-home h2,
.page-hero h1,
.stories-preview > h2,
.recipe-detail h1,
.story-detail h1,
.feature-panel h2,
.more-grid h2,
.location-hours h2,
.story-card h2 {
  font-family: var(--decorative-script) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.live-about-copy h1,
.fresh-local-layout h2,
.feature-panel h2 {
  text-transform: none !important;
}

.popular-strip h1,
.popular-strip .popular-heading h1 {
  color: var(--live-cream) !important;
  font-family: var(--decorative-script) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}

.stories-preview .story-grid {
  width: min(100%, 1040px) !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.stories-preview .story-card {
  min-width: 0;
}

body[data-page='events'] .story-grid {
  width: min(100%, 1040px) !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px)) !important;
  justify-content: center !important;
}

body[data-page='events'] .story-card {
  width: 100%;
  max-width: 340px;
}

.recipe-source-credit {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 1rem !important;
  font-style: italic !important;
  letter-spacing: 0.02em !important;
}

.recipe-source-credit a {
  color: #9e4e31 !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-style: italic !important;
  font-weight: 800 !important;
}

@media (max-width: 760px) {
  .stories-preview .story-grid {
    width: min(100%, 420px) !important;
    grid-template-columns: 1fr !important;
  }

  body[data-page='events'] .story-grid {
    width: min(100%, 420px) !important;
    grid-template-columns: 1fr !important;
  }

  .footer-subscribe {
    width: min(100%, 430px) !important;
    gap: 22px !important;
  }

  .footer-subscribe input {
    width: 100% !important;
    min-height: 62px !important;
  }

  .footer-subscribe button {
    width: min(86%, 330px) !important;
    min-height: 58px !important;
  }
}

/* Bree Serif / Allura / Nunito font system. */
:root {
  --font-heading: var(--heading);
  --font-label: var(--sans);
  --font-body: var(--sans);
  --decorative-script: var(--font-heading);
}

body {
  font-family: var(--font-body) !important;
}

body:not([data-page='admin']) h1,
body:not([data-page='admin']) h2,
body:not([data-page='admin']) .page-main h1,
body:not([data-page='admin']) .page-main h2,
body:not([data-page='admin']) .live-home h1,
body:not([data-page='admin']) .live-home h2,
body:not([data-page='admin']) .page-hero h1,
body:not([data-page='admin']) .order-intro h1,
body:not([data-page='admin']) .shop-category h2,
body:not([data-page='admin']) .stories-preview > h2,
body:not([data-page='admin']) .story-card h2,
body:not([data-page='admin']) .recipe-detail h1,
body:not([data-page='admin']) .story-detail h1,
body:not([data-page='admin']) .feature-panel h2,
body:not([data-page='admin']) .more-grid h2,
body:not([data-page='admin']) .location-hours h2 {
  font-family: var(--font-heading) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.site-nav > a:not(.button),
.mobile-nav a,
button,
.button,
.card-link,
.product-add-button,
.product-card [data-add-product],
.product-card [data-choose-product],
.footer-subscribe button,
.category-nav a,
.eyebrow,
.page-hero .eyebrow,
.order-intro .eyebrow,
.story-detail time,
.story-card time,
.category-label,
.product-type,
.variation-picker legend,
.form-card label,
.journal-kicker,
.hero-note span {
  font-family: var(--font-label) !important;
  font-weight: 700 !important;
}

.eyebrow,
.page-hero .eyebrow,
.order-intro .eyebrow,
.story-detail time,
.story-card time,
.category-label,
.product-type,
.variation-picker legend,
.form-card label,
.journal-kicker,
.hero-note span {
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}

.site-nav > a:not(.button),
.mobile-nav a {
  letter-spacing: 0.04em !important;
  text-transform: none !important;
}

.category-label,
.product-type {
  letter-spacing: 0.04em !important;
  text-transform: none !important;
}

.popular-strip h1,
.popular-strip .popular-heading h1 {
  color: var(--live-cream) !important;
}

@media (max-width: 760px) {
  .popular-strip h1,
  .popular-strip .popular-heading h1 {
    color: var(--live-cream) !important;
  }
}

/* Local visual polish: homepage/order heroes, category strip, cleaner product cards. */
.home-hero-banner {
  position: relative;
  min-height: clamp(460px, 62vw, 720px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #152d55;
}
.home-hero-slides,
.home-hero-slides span,
.home-hero-overlay {
  position: absolute;
  inset: 0;
}
.home-hero-slides span {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  animation: familyHeroFade 18s infinite;
}
.home-hero-slides span:nth-child(2) {
  animation-delay: 6s;
}
.home-hero-slides span:nth-child(3) {
  animation-delay: 12s;
}
.home-hero-overlay {
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(20, 40, 73, 0.86),
      rgba(20, 40, 73, 0.56),
      rgba(20, 40, 73, 0.72)
    ),
    radial-gradient(
      circle at 70% 28%,
      rgba(211, 255, 183, 0.18),
      transparent 34%
    );
}
.home-hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 40px));
  text-align: center;
  color: #fffdf7;
  padding: 80px 20px;
}
.home-hero-content h1 {
  margin: 12px auto 18px;
  max-width: 900px;
  color: #fffdf7;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.38);
}
.home-hero-content p:not(.eyebrow) {
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.5;
}
.hero-order-button,
.popular-menu-action .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 34px;
  border-radius: 999px;
  background: #d3ffb7;
  color: #17325b;
  border: 2px solid rgba(255, 255, 255, 0.44);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  text-decoration: none;
}
.popular-menu-action {
  display: flex;
  justify-content: center;
  padding: 26px 20px 4px;
}
.popular-menu-action .button {
  background: #fff8e9;
  border-color: rgba(23, 50, 91, 0.2);
}
@keyframes familyHeroFade {
  0%,
  28% {
    opacity: 1;
    transform: scale(1);
  }
  34%,
  100% {
    opacity: 0;
    transform: scale(1.06);
  }
}
.order-hero-banner {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(21, 45, 85, 0.92), rgba(21, 45, 85, 0.74)),
    url('/assets/optimized/catalog-white-bread-loaf.webp') center/cover;
  padding: clamp(70px, 10vw, 132px) clamp(18px, 5vw, 72px)
    clamp(34px, 6vw, 70px);
  color: #fffdf7;
}
.order-hero-banner h1,
.order-hero-banner p,
.order-hero-banner .eyebrow {
  position: relative;
  z-index: 1;
}
.order-hero-content {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}
.order-hero-banner h1 {
  color: #fffdf7;
  margin-bottom: 12px;
}
.order-info-grid {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  margin: clamp(28px, 4vw, 44px) auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.order-info-card {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 18px 14px;
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.9);
  color: #17325b;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}
.order-info-card span {
  font-size: 1.55rem;
}
.order-info-card strong {
  font-family: var(--font-label);
  font-weight: 700;
}
.order-info-card small,
.order-info-card a {
  color: #17325b;
  font-size: 0.98rem;
}
.order-service-area {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 24px auto 0;
  text-align: center;
  color: #fffdf7;
}
.shop-page .order-content {
  padding-top: clamp(30px, 5vw, 58px);
}
.shop-page .category-section {
  scroll-margin-top: 132px;
  margin-top: clamp(34px, 5vw, 64px);
}
.shop-page .category-nav {
  position: sticky;
  top: var(--site-header-height, 0px);
  z-index: 12;
  width: min(1120px, calc(100% - 28px));
  margin-inline: auto;
  border-radius: 999px;
  background: rgba(211, 255, 183, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 28px rgba(23, 50, 91, 0.13);
  padding: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.shop-page .category-nav::-webkit-scrollbar {
  display: none;
}
.shop-page .category-nav a,
.shop-page .category-nav button {
  background: rgba(255, 248, 233, 0.9);
  border: 1px solid rgba(23, 50, 91, 0.14);
  box-shadow: 0 8px 20px rgba(23, 50, 91, 0.08);
}
.shop-page .category-nav.is-fixed-fallback {
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}
.shop-page .category-nav-placeholder.is-active {
  margin-bottom: 26px;
}
.shop-page .product-card {
  border-radius: 24px;
  padding: 0 0 18px;
  overflow: hidden;
}
.shop-page .product-card .product-image,
.shop-page .product-image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1 / 0.82;
}
.shop-page .product-card .product-image img,
.shop-page .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-page .product-copy {
  align-items: start;
  gap: 18px;
  padding-top: 18px;
}
.shop-page .product-copy h3 {
  line-height: 0.98;
}
.shop-page .card-link {
  margin-top: 14px;
  padding: 12px 0;
}
@media (max-width: 760px) {
  .home-hero-banner {
    min-height: 560px;
  }
  .home-hero-content {
    width: min(100% - 28px, 520px);
    padding: 72px 10px;
  }
  .home-hero-content h1 {
    font-size: clamp(3.4rem, 18vw, 5.8rem);
    line-height: 0.93;
  }
  .order-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .order-info-card {
    padding: 14px 10px;
  }
  .shop-page .category-nav {
    width: 100%;
    border-radius: 0;
    margin: 0;
    padding: 12px 14px;
  }
  .shop-page .category-section {
    scroll-margin-top: 96px;
    margin-top: 46px;
  }
  .shop-page .product-card {
    padding-bottom: 20px;
  }
  .shop-page .product-card .product-image,
  .shop-page .product-image {
    aspect-ratio: 1 / 0.95;
  }
}

/* Reference-inspired homepage/order refinements. Visual only. */
.home-hero-banner {
  min-height: clamp(500px, 48vw, 680px);
  place-items: center start;
}
.home-hero-content {
  width: min(760px, calc(100% - 48px));
  margin-left: clamp(18px, 7vw, 92px);
  text-align: left;
}
.home-hero-content .eyebrow {
  color: #fff8e9;
  text-transform: none !important;
  letter-spacing: 0.03em !important;
}
.home-hero-content h1 {
  margin-left: 0;
  margin-right: 0;
  max-width: 700px;
}
.home-hero-content p:not(.eyebrow) {
  margin-left: 0;
  margin-right: 0;
}
.home-hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(12, 20, 14, 0.84),
      rgba(26, 34, 25, 0.56) 44%,
      rgba(26, 34, 25, 0.18) 72%
    ),
    radial-gradient(
      circle at 78% 35%,
      rgba(211, 255, 183, 0.12),
      transparent 36%
    );
}
.hero-order-button {
  background: #5d7c32;
  color: #fffdf7;
  border: 0;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}
.home-info-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  background: #fffaf0;
  border-bottom: 1px solid rgba(23, 50, 91, 0.12);
  border-top: 1px solid rgba(23, 50, 91, 0.08);
}
.home-info-strip article {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-content: center;
  padding: 16px clamp(10px, 2vw, 24px);
  border-right: 1px solid rgba(23, 50, 91, 0.12);
  color: #1d3159;
}
.home-info-strip article:last-child {
  border-right: 0;
}
.home-info-strip span {
  grid-row: 1 / 3;
  align-self: center;
  font-size: 1.7rem;
  color: #314423;
}
.home-info-strip strong {
  font-family: var(--font-label);
  font-weight: 700;
  line-height: 1.1;
}
.home-info-strip small {
  color: #485844;
}
.popular-strip {
  background: #fffaf0 !important;
  color: #1d3159;
  padding-top: clamp(34px, 5vw, 56px) !important;
}
.popular-strip .popular-heading {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-bottom: 20px;
}
.popular-strip .popular-heading::after {
  content: 'Our most loved items, made fresh for you.';
  font-family: var(--font-body);
  font-size: 1rem;
  color: #41513b;
}
.popular-strip h1,
.popular-strip .popular-heading h1 {
  color: #172411 !important;
  text-align: center;
  font-size: clamp(2.8rem, 5vw, 4.6rem) !important;
}
.popular-grid {
  gap: clamp(14px, 2vw, 22px) !important;
  padding-inline: clamp(18px, 5vw, 84px) !important;
}
.popular-card {
  background: rgba(255, 253, 247, 0.92) !important;
  border: 1px solid rgba(23, 50, 91, 0.14);
  border-radius: 16px !important;
  box-shadow: 0 12px 28px rgba(23, 50, 91, 0.08);
  padding: 0 0 16px !important;
  overflow: hidden;
  min-width: clamp(190px, 18vw, 240px) !important;
}
.popular-card > img {
  border-radius: 0 !important;
  height: 170px !important;
}
.popular-card h2,
.popular-card p,
.popular-card button {
  margin-left: 14px !important;
  margin-right: 14px !important;
}
.popular-card button {
  color: #314423 !important;
  font-family: var(--font-label);
}
.popular-menu-action {
  padding-top: 28px;
}
.popular-menu-action .button {
  color: #17325b;
  background: #fffdf7;
  border: 1px solid rgba(23, 50, 91, 0.24);
  box-shadow: none;
}
.order-hero-banner {
  min-height: clamp(470px, 48vw, 640px);
  display: grid;
  align-content: end;
  background:
    linear-gradient(
      90deg,
      rgba(12, 20, 14, 0.8),
      rgba(26, 34, 25, 0.48) 48%,
      rgba(26, 34, 25, 0.18)
    ),
    url('/assets/optimized/catalog-sourdough-loaf.webp') center/cover;
}
.order-info-grid {
  max-width: 1050px;
  background: rgba(255, 250, 240, 0.94);
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.16);
}
.order-info-card {
  background: transparent;
  border-radius: 14px;
  box-shadow: none;
  border-right: 1px solid rgba(23, 50, 91, 0.14);
}
.order-info-card:last-child {
  border-right: 0;
}
.shop-page .category-nav {
  margin-top: 24px;
  margin-bottom: 34px;
}
.shop-page .product-card {
  background: rgba(255, 253, 247, 0.86);
  border: 1px solid rgba(23, 50, 91, 0.12);
  box-shadow: 0 12px 28px rgba(23, 50, 91, 0.08);
}
.shop-page .card-link {
  display: inline-flex;
  width: auto;
  min-height: 44px;
  align-items: center;
  border-radius: 999px;
  background: #5d7c32;
  color: #fffdf7 !important;
  padding: 10px 18px;
  margin-left: 16px;
}
@media (max-width: 900px) {
  .home-info-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-info-strip article:nth-child(3n) {
    border-right: 0;
  }
}
@media (max-width: 760px) {
  .home-hero-banner {
    min-height: 560px;
    place-items: end start;
  }
  .home-hero-content {
    width: min(100% - 34px, 520px);
    margin: 0 auto;
    padding-bottom: 58px;
    text-align: left;
  }
  .home-hero-content h1 {
    font-size: clamp(3.6rem, 15vw, 5.3rem) !important;
  }
  .home-info-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-info-strip article {
    min-height: 82px;
    padding: 14px 16px;
  }
  .home-info-strip article:nth-child(3n) {
    border-right: 1px solid rgba(23, 50, 91, 0.12);
  }
  .home-info-strip article:nth-child(2n) {
    border-right: 0;
  }
  .popular-grid {
    padding-inline: 22px !important;
  }
  .popular-card {
    min-width: 72vw !important;
  }
  .popular-card > img {
    height: 190px !important;
  }
  .order-hero-banner {
    min-height: 560px;
    padding-bottom: 26px;
  }
  .order-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 18px;
  }
  .order-info-card {
    border-right: 0;
    border-bottom: 1px solid rgba(23, 50, 91, 0.1);
  }
  .order-info-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .shop-page .category-nav {
    margin-top: 0;
    margin-bottom: 26px;
    border-radius: 0;
  }
  .shop-page .card-link {
    margin-left: 0;
  }
}

/* Local navbar/product spacing fixes after hero preview. */
@media (min-width: 981px) {
  .nav-wrap {
    width: min(1260px, calc(100% - 48px));
    grid-template-columns: 150px minmax(0, 1fr) 136px;
    column-gap: clamp(18px, 2vw, 34px);
  }

  .site-nav {
    justify-content: center;
    gap: clamp(20px, 2vw, 30px);
  }

  .site-nav > a:not(.button) {
    min-width: max-content;
    text-align: center;
    line-height: 1.15;
  }

  .header-actions {
    justify-content: flex-end;
  }
}

.shop-page .product-copy {
  padding-inline: 18px;
}

.shop-page .product-card .card-link,
.shop-page .product-card [data-choose-product],
.shop-page .product-card [data-add-product] {
  margin-left: 18px;
  margin-right: 18px;
}

@media (max-width: 760px) {
  .shop-page .product-copy {
    padding-inline: 16px;
  }

  .shop-page .product-card .card-link,
  .shop-page .product-card [data-choose-product],
  .shop-page .product-card [data-add-product] {
    margin-left: 16px;
    margin-right: 16px;
  }
}

/* Full-width desktop polish pass: homepage, order page, and story/event detail shells. */
.home-info-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
}

.home-info-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 1180px) {
  .popular-strip {
    padding-bottom: clamp(48px, 5vw, 78px) !important;
  }

  .popular-grid {
    width: min(1540px, calc(100% - 96px));
    margin-inline: auto;
    padding-inline: 0 !important;
    gap: clamp(20px, 1.5vw, 30px) !important;
  }

  .popular-card {
    min-width: clamp(250px, 16.5vw, 315px) !important;
  }

  .popular-card > img {
    height: clamp(205px, 13vw, 245px) !important;
  }

  .stories-preview .story-grid,
  body[data-page='stories'] .story-grid,
  body[data-page='events'] .story-grid {
    width: min(1420px, calc(100% - 96px));
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  }

  .shop-page .order-content {
    width: min(1520px, calc(100% - 96px));
    max-width: none;
    margin-inline: auto;
  }

  .shop-page .category-section {
    width: 100%;
  }

  .shop-page .product-grid,
  .shop-page .category-grid,
  .shop-page [data-category-items] {
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: clamp(24px, 1.9vw, 34px);
  }
}

body[data-page='stories'] .story-detail,
body[data-page='events'] .story-card {
  background: rgba(255, 250, 240, 0.58);
  border: 1px solid rgba(23, 50, 91, 0.1);
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(23, 50, 91, 0.08);
  padding: clamp(24px, 4vw, 46px);
  backdrop-filter: blur(8px);
}

body[data-page='stories'] .story-detail {
  width: min(100%, 900px) !important;
}

@media (max-width: 760px) {
  body[data-page='stories'] .story-detail,
  body[data-page='events'] .story-card {
    border-radius: 22px;
    padding: 22px 16px;
  }
}

/* Desktop width correction after local hero preview. */
@media (min-width: 1180px) {
  .shop-page .order-content {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding-inline: clamp(56px, 6vw, 112px);
    margin-inline: auto;
  }

  .shop-page .shop-category {
    width: 100%;
    max-width: none;
    margin-inline: auto;
  }

  .shop-page .shop-category > h2 {
    width: 100%;
    max-width: none;
    text-align: left;
  }

  .shop-page .product-grid {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(315px, 1fr));
    gap: clamp(26px, 2vw, 38px);
    align-items: stretch;
  }

  .shop-page .product-card {
    width: 100%;
    min-width: 0;
  }

  .popular-strip .popular-grid {
    width: min(1760px, calc(100% - 72px));
    max-width: none;
    margin-inline: auto;
    padding-inline: 0 !important;
  }

  .popular-strip .popular-card {
    min-width: clamp(280px, 15.5vw, 350px) !important;
  }

  .popular-strip .popular-card > img {
    height: clamp(220px, 13vw, 270px) !important;
  }
}

@media (min-width: 1180px) and (max-width: 1500px) {
  .shop-page .product-grid {
    grid-template-columns: repeat(3, minmax(280px, 1fr));
  }
}

/* Desktop order category menu width correction. */
@media (min-width: 1180px) {
  .shop-page .category-nav {
    box-sizing: border-box;
    width: min(1760px, calc(100% - 72px));
    max-width: none;
    justify-content: center;
    padding-inline: clamp(18px, 2vw, 34px);
  }

  .shop-page .category-nav a,
  .shop-page .category-nav button {
    flex: 0 0 auto;
  }
}

/* Final desktop sizing pass for popular cards and order menu cards. */
.popular-strip {
  overflow: hidden;
}

.popular-strip .popular-grid {
  box-sizing: border-box;
  width: min(100%, 1840px);
  margin-inline: auto;
}

.popular-strip .popular-card {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-width: 0 !important;
  color: var(--live-navy) !important;
  background: rgba(255, 253, 247, 0.94) !important;
}

.popular-strip .popular-card > img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.popular-strip .popular-card h2 {
  align-self: end;
  color: var(--live-navy) !important;
  line-height: 1.05;
}

.popular-strip .popular-card p {
  color: #b95f39 !important;
  font-family: var(--font-body) !important;
  font-weight: 900;
}

.popular-strip .popular-card button {
  width: calc(100% - 28px);
  min-height: 42px;
  margin-top: 12px !important;
  color: #fffdf7 !important;
  background: #5d7c32 !important;
  border-radius: 999px;
  text-align: center !important;
}

@media (min-width: 1180px) {
  .popular-strip {
    padding-right: clamp(28px, 3vw, 56px) !important;
    padding-left: clamp(28px, 3vw, 56px) !important;
  }

  .popular-strip .popular-grid {
    grid-auto-columns: minmax(260px, 1fr) !important;
    gap: clamp(18px, 1.35vw, 28px) !important;
  }

  .popular-strip .popular-card > img {
    height: clamp(220px, 13vw, 270px) !important;
  }

  .shop-page .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 340px)) !important;
    justify-content: start;
    gap: clamp(26px, 2vw, 38px);
  }

  .shop-page .product-card {
    max-width: 340px;
  }
}

@media (max-width: 760px) {
  .popular-strip .popular-grid {
    grid-auto-columns: minmax(72vw, 1fr) !important;
  }

  .popular-strip .popular-card > img {
    height: 190px !important;
  }
}

/* Center the desktop order content while preserving full-width breathing room. */
@media (min-width: 1180px) {
  .shop-page .order-content {
    width: min(1720px, calc(100% - 96px));
    padding-inline: 0;
  }

  .shop-page .category-nav {
    width: min(1720px, calc(100% - 96px));
  }

  .shop-page .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    justify-content: center;
  }

  .shop-page .product-card {
    max-width: none;
  }
}

@media (min-width: 1180px) and (max-width: 1500px) {
  .shop-page .order-content,
  .shop-page .category-nav {
    width: min(1240px, calc(100% - 64px));
  }
}

/* Wide desktop header fill correction. */
@media (min-width: 1180px) {
  .site-header .nav-wrap {
    box-sizing: border-box;
    width: min(100%, 1760px);
    max-width: none;
    padding-inline: clamp(32px, 4vw, 72px);
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) minmax(
        120px,
        180px
      );
  }

  .site-header .site-nav {
    width: 100%;
    justify-content: space-evenly;
    gap: clamp(18px, 2vw, 44px);
  }

  .site-header .header-actions {
    width: 100%;
    justify-content: flex-end;
    gap: clamp(16px, 1.4vw, 28px);
  }
}

/* Final local fix: popular heading spacing and full-width order menu. */
.popular-heading {
  display: grid;
  place-items: center;
  gap: clamp(0.55rem, 1vw, 0.9rem);
  margin-bottom: clamp(1.25rem, 2.4vw, 2rem);
}

.popular-heading h1,
.popular-heading h2 {
  margin: 0;
  line-height: 1.08;
  padding-bottom: 0.08em;
}

.popular-heading::after {
  position: static !important;
  display: block;
  margin: 0 !important;
  line-height: 1.45;
  transform: none !important;
}

@media (min-width: 1180px) {
  .popular-strip .popular-grid {
    width: min(1840px, calc(100% - 72px)) !important;
    max-width: none !important;
    margin-inline: auto !important;
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(260px, 1fr) !important;
  }

  .popular-strip .popular-card {
    width: 100% !important;
    min-width: 0 !important;
  }

  .shop-page .order-content,
  .shop-page .category-nav {
    width: min(1840px, calc(100% - 72px)) !important;
    max-width: none !important;
    margin-inline: auto !important;
  }

  .shop-page .product-grid {
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    justify-content: stretch !important;
  }

  .shop-page .product-card {
    width: 100% !important;
    max-width: none !important;
  }
}

@media (max-width: 760px) {
  .popular-heading {
    gap: 0.45rem;
    margin-bottom: 1.15rem;
  }

  .popular-heading h1,
  .popular-heading h2 {
    line-height: 1.14;
  }
}

/* Final local polish: heading spacing, category alignment, and harmony surfaces. */
.popular-strip .popular-heading,
.popular-heading {
  gap: clamp(0.75rem, 1.25vw, 1.25rem) !important;
  margin-bottom: clamp(1.65rem, 3vw, 2.7rem) !important;
}

.popular-strip .popular-heading::after,
.popular-heading::after {
  line-height: 1.7 !important;
  padding-top: 0.1rem;
}

.shop-page .category-nav a,
.shop-page .category-nav button,
body[data-page='order'] .category-nav a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px;
  line-height: 1.15 !important;
  text-align: center !important;
  white-space: nowrap;
  vertical-align: middle;
}

body[data-page='order'] .category-nav {
  align-items: center !important;
}

.checkout-page,
body.login-page,
body[data-page='login'] {
  background:
    linear-gradient(
      180deg,
      rgba(211, 255, 183, 0.78),
      rgba(246, 241, 231, 0.96)
    ),
    #f6f1e7 !important;
}

.checkout-site-header,
.checkout-card,
.login-card {
  background: #fffdf8 !important;
  border-color: rgba(29, 49, 89, 0.14) !important;
  box-shadow: 0 18px 45px rgba(29, 49, 89, 0.1) !important;
}

.checkout-heading span,
.sandbox-badge {
  background: #d3ffb7 !important;
  color: var(--live-navy, #1d3159) !important;
}

@media (max-width: 760px) {
  .popular-strip .popular-heading,
  .popular-heading {
    gap: 0.75rem !important;
    margin-bottom: 1.75rem !important;
  }

  .shop-page .category-nav a,
  .shop-page .category-nav button,
  body[data-page='order'] .category-nav a {
    min-height: 48px;
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
  }
}

/* Current local finishing fixes. */
.product-dialog > div > img {
  object-fit: cover !important;
  background: transparent !important;
}

@media (min-width: 761px) {
  .site-header {
    position: relative;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .site-header .header-actions {
    position: sticky;
    top: 0;
    z-index: 202;
    align-self: center;
  }
}

/* Current home feature + checkout/sync polish */
body:not([data-page='admin']) .live-feature,
body:not([data-page='admin']) .live-feature.reverse {
  background:
    linear-gradient(
      180deg,
      rgba(211, 255, 183, 0.92),
      rgba(246, 241, 231, 0.58) 52%,
      rgba(243, 234, 216, 0.92)
    ),
    var(--page-gradient, #d3ffb7);
}

body:not([data-page='admin']) .live-feature + .live-feature {
  margin-top: 0;
}

body:not([data-page='admin']) .live-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(211, 255, 183, 0.28),
    rgba(246, 241, 231, 0.12)
  );
}

body:not([data-page='admin']) .feature-panel {
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 24px 60px rgba(29, 49, 89, 0.1);
  backdrop-filter: blur(3px);
}

@media (max-width: 760px) {
  body:not([data-page='admin']) .live-feature,
  body:not([data-page='admin']) .live-feature.reverse {
    background: linear-gradient(180deg, #d3ffb7 0%, #e7ffd7 45%, #f6f1e7 100%);
  }
}
/* Final visual polish: smooth public background + wider hero rhythm */
body:not([data-page='admin']) {
  background: linear-gradient(
      180deg,
      #d3ffb7 0%,
      #d3ffb7 32%,
      #e9f8d7 52%,
      #f6f1e7 78%,
      #f3ead8 100%
    )
    fixed !important;
}

body:not([data-page='admin']) .site-main,
body:not([data-page='admin']) .stories-preview,
body:not([data-page='admin']) .events-preview,
body:not([data-page='admin']) .live-feature,
body:not([data-page='admin']) .live-feature.reverse {
  background: transparent !important;
}

body:not([data-page='admin']) .live-feature::before {
  display: none !important;
}

.home-hero-content {
  width: min(1120px, calc(100vw - 48px)) !important;
  max-width: min(1120px, calc(100vw - 48px)) !important;
}

.home-hero-content h1 {
  max-width: min(1100px, 96vw) !important;
  font-size: clamp(3.1rem, 6.4vw, 6.8rem) !important;
  line-height: 0.94 !important;
  text-wrap: balance;
}

@media (min-width: 1000px) {
  .home-hero-content h1 {
    letter-spacing: -0.02em;
  }
}

@media (max-width: 760px) {
  .home-hero-content {
    width: min(100%, calc(100vw - 32px)) !important;
    max-width: min(100%, calc(100vw - 32px)) !important;
  }

  .home-hero-content h1 {
    font-size: clamp(2.8rem, 14vw, 4.9rem) !important;
    line-height: 0.96 !important;
  }
}
/* Final gradient + footer alignment correction */
html,
body:not([data-page='admin']) {
  min-height: 100%;
  background-color: #d3ffb7 !important;
  background-image: linear-gradient(
    180deg,
    #d3ffb7 0%,
    #d3ffb7 34%,
    #e8f7d5 58%,
    #f6f1e7 82%,
    #f3ead8 100%
  ) !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
}

body:not([data-page='admin']) .site-main,
body:not([data-page='admin']) main,
body:not([data-page='admin']) section:not(.home-hero-banner):not(.order-hero),
body:not([data-page='admin']) .live-feature,
body:not([data-page='admin']) .live-feature.reverse,
body:not([data-page='admin']) .stories-preview,
body:not([data-page='admin']) .events-preview {
  background-color: transparent !important;
}

body:not([data-page='admin']) .live-feature,
body:not([data-page='admin']) .live-feature.reverse {
  background-image: none !important;
}

.site-footer {
  background: linear-gradient(
    180deg,
    rgba(246, 241, 231, 0) 0%,
    rgba(246, 241, 231, 0.9) 18%,
    #f3ead8 100%
  ) !important;
}

.site-footer .footer-main {
  display: grid;
  width: min(1240px, calc(100% - 64px));
  grid-template-columns: minmax(180px, 1fr) minmax(420px, 1.35fr) minmax(
      300px,
      1fr
    );
  align-items: start;
  justify-content: center;
  justify-items: center;
  gap: clamp(24px, 4vw, 64px);
  margin-inline: auto;
}

.site-footer .footer-brand,
.site-footer .footer-contact,
.site-footer .footer-links {
  width: 100%;
  max-width: 100%;
  justify-self: center;
}

.site-footer .footer-contact {
  grid-column: 2;
  text-align: center;
}

.site-footer .footer-links {
  grid-column: 3;
  text-align: center;
}

@media (max-width: 900px) {
  .site-footer .footer-main {
    width: min(100% - 36px, 560px);
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .site-footer .footer-contact,
  .site-footer .footer-links {
    grid-column: auto;
  }
}
/* Keep footer columns visible and visually centered */
.site-footer .footer-links {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 14px 32px;
  align-content: start;
  justify-content: center;
  justify-items: center;
  text-align: center;
}

.site-footer .footer-links a {
  width: 100%;
  text-align: center;
}

@media (max-width: 900px) {
  .site-footer .footer-links {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
/* Full-page gradient canvas: light green to beige while scrolling */
:root {
  --family-page-gradient: linear-gradient(to bottom, #d3ffb7 0%, #ede8d0 100%);
}

html {
  min-height: 100%;
  background: #d3ffb7 !important;
}

body,
body:not([data-page='admin']),
body.checkout-page,
body.account-page,
body.login-page {
  min-height: 100vh;
  width: 100%;
  background-color: #d3ffb7 !important;
  background-image: var(--family-page-gradient) !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100vh !important;
}

body::before,
body::after {
  background: transparent !important;
}

body > main,
main,
.site-main,
.page-main,
.page-shell,
.content-page,
.account-page,
.checkout-page,
.checkout-shell,
.login-shell,
.stories-preview,
.events-preview,
.recipes-page,
.recipe-page,
.story-page,
.events-page,
.more-page,
.live-section,
.live-feature,
.live-feature.reverse,
.shop-page {
  background-color: transparent !important;
  background-image: none !important;
}

.site-footer {
  background: linear-gradient(
    180deg,
    rgba(237, 232, 208, 0) 0%,
    rgba(237, 232, 208, 0.34) 34%,
    rgba(237, 232, 208, 0.72) 100%
  ) !important;
}

/* Mobile order category strip: keep pills fully visible when sticky/fixed. */
@media (max-width: 760px) {
  body[data-page='order'] .order-content,
  .shop-page .order-content {
    overflow: visible !important;
  }

  body[data-page='order'] .category-nav,
  .shop-page .category-nav {
    min-height: 76px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    align-items: center !important;
  }

  body[data-page='order'] .category-nav.is-fixed-fallback,
  .shop-page .category-nav.is-fixed-fallback {
    min-height: 78px !important;
    padding-top: calc(14px + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: 14px !important;
  }

  body[data-page='order'] .category-nav a,
  .shop-page .category-nav a,
  .shop-page .category-nav button {
    min-height: 50px !important;
    line-height: 1.15 !important;
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
  }
}

/* Mobile navigation and order strip fixes. */
@media (max-width: 850px) {
  body.nav-open .site-header .header-actions {
    display: none !important;
  }
}

@media (max-width: 760px) {
  body[data-page='order'],
  body[data-page='order'] main,
  body[data-page='order'] .shop-page,
  body[data-page='order'] .order-content,
  body[data-page='order'] .category-section,
  .shop-page,
  .shop-page .order-content,
  .shop-page .category-section {
    overflow-x: clip !important;
    overflow-y: visible !important;
  }

  body[data-page='order'] .category-nav,
  .shop-page .category-nav {
    box-sizing: border-box !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 88px !important;
    padding-block: 18px !important;
    padding-inline: 16px !important;
    margin-inline: calc(50% - 50vw) !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-padding-inline: 24px !important;
    transform: translateZ(0);
  }

  body[data-page='order'] .category-nav.is-fixed-fallback,
  .shop-page .category-nav.is-fixed-fallback {
    right: 0 !important;
    left: 0 !important;
    top: var(--mobile-header-height, 76px) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-inline: 0 !important;
    min-height: 90px !important;
    padding-block: 18px !important;
    padding-inline: 16px !important;
  }

  body[data-page='order'] .category-nav a,
  .shop-page .category-nav a,
  .shop-page .category-nav button {
    min-height: 54px !important;
    padding: 0.9rem 1.25rem !important;
  }

  .site-footer .footer-brand {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    justify-self: center !important;
    margin-inline: auto !important;
    text-align: center !important;
  }

  .site-footer .footer-brand img {
    display: block !important;
    margin-inline: auto !important;
  }
}

/* Mobile category sticky correction: avoid fixed overlay clipping. */
@media (max-width: 760px) {
  body[data-page='order'] .category-nav,
  .shop-page .category-nav {
    position: sticky !important;
    top: 0 !important;
    right: auto !important;
    left: auto !important;
    z-index: 80 !important;
    box-sizing: border-box !important;
    display: flex !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 72px !important;
    margin: 0 calc(50% - 50vw) 0 !important;
    padding: 12px 16px !important;
    gap: 14px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain !important;
    background: rgba(211, 255, 183, 0.92) !important;
    border: 0 !important;
    box-shadow: 0 8px 18px rgba(29, 49, 89, 0.08) !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    transform: none !important;
  }

  body[data-page='order'] .category-nav.is-fixed-fallback,
  .shop-page .category-nav.is-fixed-fallback {
    top: 0 !important;
  }

  body[data-page='order'] .category-nav::-webkit-scrollbar,
  .shop-page .category-nav::-webkit-scrollbar {
    display: none !important;
  }

  body[data-page='order'] .category-nav-placeholder,
  body[data-page='order'] .category-nav-placeholder.is-active,
  .shop-page .category-nav-placeholder,
  .shop-page .category-nav-placeholder.is-active {
    display: none !important;
    height: 0 !important;
  }

  body[data-page='order'] .category-nav a,
  .shop-page .category-nav a,
  .shop-page .category-nav button {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    max-width: none !important;
    min-height: 52px !important;
    padding: 0.85rem 1.4rem !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 760px) {
  body[data-page='order'] .category-nav,
  .shop-page .category-nav {
    top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  body[data-page='order'] .category-nav.is-fixed-fallback,
  .shop-page .category-nav.is-fixed-fallback {
    top: 0 !important;
  }
}

/* Stability pass: public-page centering and overflow guardrails. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body:not([data-page='admin']) .site-header,
body:not([data-page='admin']) .site-main,
body:not([data-page='admin']) main,
body:not([data-page='admin']) .page-shell,
body:not([data-page='admin']) .site-footer {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

body:not([data-page='admin']) .site-header-inner,
body:not([data-page='admin']) .footer-main,
body:not([data-page='admin']) .footer-legal,
body:not([data-page='admin']) .page-shell {
  box-sizing: border-box;
}

body:not([data-page='admin']) .site-footer .footer-main {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Premium rustic farmhouse typography refresh */
:root {
  --heading: 'Bree Serif', serif;
  --script: 'Allura', cursive;
  --sans: 'Nunito', sans-serif;
  --font-heading: var(--heading);
  --font-label: var(--sans);
  --font-body: var(--sans);
  --decorative-script: var(--script);
}

body:not([data-page='admin']) {
  font-family: var(--sans) !important;
  font-size: 17px;
}

body:not([data-page='admin']) h1,
body:not([data-page='admin']) h2,
body:not([data-page='admin']) h3,
body:not([data-page='admin']) .product-title,
body:not([data-page='admin']) .section-title,
body:not([data-page='admin']) .hero-title,
body:not([data-page='admin']) .page-hero h1,
body:not([data-page='admin']) .home-hero-content h1,
body:not([data-page='admin']) .order-hero-banner h1,
body:not([data-page='admin']) .story-card h2,
body:not([data-page='admin']) .popular-heading h2,
body:not([data-page='admin']) .live-feature h2 {
  font-family: var(--heading) !important;
  font-weight: 400 !important;
  letter-spacing: 0.005em !important;
}

body:not([data-page='admin']) p,
body:not([data-page='admin']) li,
body:not([data-page='admin']) a,
body:not([data-page='admin']) button,
body:not([data-page='admin']) input,
body:not([data-page='admin']) textarea,
body:not([data-page='admin']) label,
body:not([data-page='admin']) nav,
body:not([data-page='admin']) .product-description,
body:not([data-page='admin']) .price,
body:not([data-page='admin']) .footer,
body:not([data-page='admin']) .site-footer {
  font-family: var(--sans) !important;
}

body:not([data-page='admin']) .accent-script,
body:not([data-page='admin']) .hero-tagline,
body:not([data-page='admin']) .signature,
body:not([data-page='admin']) .made-with-love {
  font-family: var(--script) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

body:not([data-page='admin']) .home-hero-content h1 {
  font-size: clamp(2.75rem, 5.55vw, 5.8rem) !important;
  line-height: 1.02 !important;
}

body:not([data-page='admin'])
  .home-hero-content
  p:not(.eyebrow):not(.hero-tagline),
body:not([data-page='admin']) .page-hero > div > p:not(.eyebrow),
body:not([data-page='admin']) .live-feature p,
body:not([data-page='admin']) .live-about-copy p,
body:not([data-page='admin']) .fresh-local-layout p {
  font-size: clamp(1.06rem, 1.25vw, 1.125rem) !important;
  line-height: 1.68 !important;
}

body:not([data-page='admin']) .hero-tagline,
body:not([data-page='admin']) .made-with-love {
  color: #7b4b2e;
  font-size: clamp(2rem, 4.6vw, 3.45rem);
  line-height: 0.9;
  margin: 0 0 0.6rem;
}

body:not([data-page='admin']) .site-footer .made-with-love {
  color: #f3d8b8;
  font-size: clamp(2rem, 3vw, 2.65rem);
  margin: 0 0 0.4rem;
}

@media (max-width: 760px) {
  body:not([data-page='admin']) .home-hero-content h1 {
    font-size: clamp(2.45rem, 11.8vw, 4.2rem) !important;
  }
}

body:not([data-page='admin']) .home-hero-content .hero-tagline {
  color: #fff8e8;
  text-shadow: 0 3px 16px rgba(12, 43, 36, 0.85);
}

.story-detail-comment-card {
  display: grid;
  width: min(100%, 720px);
  margin-top: 18px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 22px;
  text-align: left;
}

.story-detail-comment-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

@media (max-width: 720px) {
  .story-detail-comment-card {
    grid-template-columns: 1fr;
  }
}

/* Uniform product card actions for homepage and order page. */
.shop-page .product-card,
.popular-strip .product-card {
  display: flex;
  flex-direction: column;
}

.shop-page .product-detail-trigger,
.popular-strip .product-detail-trigger {
  flex: 1 1 auto;
}

.shop-page .product-card .card-link,
.shop-page .product-card [data-choose-product],
.shop-page .product-card [data-add-product],
.popular-strip .product-card .card-link,
.popular-strip .product-card [data-choose-product],
.popular-strip .product-card [data-add-product] {
  display: inline-flex;
  width: auto;
  min-width: 126px;
  min-height: 44px;
  margin: 14px auto 22px;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  color: #fffdf7 !important;
  background: #5d7c32 !important;
  border: 0;
  border-radius: 999px;
  font-family: var(--sans, 'Nunito', sans-serif);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: none;
}

.shop-page .product-card .card-link:disabled,
.shop-page .product-card [data-choose-product]:disabled,
.shop-page .product-card [data-add-product]:disabled,
.popular-strip .product-card .card-link:disabled,
.popular-strip .product-card [data-choose-product]:disabled,
.popular-strip .product-card [data-add-product]:disabled {
  background: #9aa58d !important;
  cursor: not-allowed;
}

.popular-strip .popular-grid {
  align-items: stretch;
}

.popular-strip .popular-product-card {
  flex: 0 0 clamp(250px, 23vw, 335px);
}

.story-approved-comments {
  display: grid;
  gap: 16px;
}

.story-approved-comment {
  border-top: 1px solid rgba(63, 83, 48, 0.18);
  padding-top: 14px;
}

.story-approved-comment p {
  margin: 0 0 8px;
}

.story-approved-comment span {
  color: var(--muted, #5f6b56);
  font-weight: 800;
}

/* Final popular product-card visibility fix. */
.popular-strip .popular-grid {
  display: flex !important;
  width: min(100%, 1840px) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding: 0 clamp(18px, 4vw, 72px) 18px !important;
  gap: clamp(18px, 2vw, 28px) !important;
  overflow-x: auto !important;
  scroll-snap-type: x proximity;
}

.popular-strip .popular-product-card {
  flex: 0 0 clamp(250px, 23vw, 335px) !important;
  min-width: clamp(250px, 23vw, 335px) !important;
  max-width: 335px !important;
  scroll-snap-align: start;
}

.popular-strip .popular-product-card .product-image {
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
}

.popular-strip .popular-product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hard stop for homepage popular product-card layout. */
.popular-strip {
  overflow: hidden !important;
}

.popular-strip .popular-grid {
  display: flex !important;
  min-height: 0 !important;
  align-items: stretch !important;
}

.popular-strip .popular-product-card.product-card {
  box-sizing: border-box !important;
  display: flex !important;
  flex: 0 0 clamp(250px, 23vw, 335px) !important;
  width: clamp(250px, 23vw, 335px) !important;
  min-width: clamp(250px, 23vw, 335px) !important;
  max-width: 335px !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.popular-strip .popular-product-card .product-detail-trigger {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  border: 0 !important;
  color: inherit !important;
  text-align: left !important;
}

.popular-strip .popular-product-card .product-image {
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 0.78 !important;
  min-height: 0 !important;
  max-height: 260px !important;
  overflow: hidden !important;
}

.popular-strip .popular-product-card .product-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
}

.popular-strip .popular-product-card .product-copy {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 12px !important;
  width: 100% !important;
  padding: 16px 18px 0 !important;
  align-items: start !important;
}

.popular-strip .popular-product-card .product-copy h3 {
  margin: 0 !important;
  font-size: 1.15rem !important;
  line-height: 1.08 !important;
}

.popular-strip .popular-product-card .product-copy strong {
  color: #b95f39 !important;
  font-family: var(--sans, 'Nunito', sans-serif) !important;
  font-size: 1.05rem !important;
}

/* Popular carousel motion polish. */
.popular-strip .popular-grid {
  scroll-snap-type: none !important;
  scrollbar-width: none;
}

.popular-strip .popular-grid::-webkit-scrollbar {
  display: none;
}

.popular-strip .popular-product-card[data-carousel-clone] {
  pointer-events: none;
}

/* Sold-out label on homepage card edge. */
.popular-strip .popular-product-card.product-card {
  position: relative !important;
}

.popular-strip .popular-product-card > .product-badge.sold-out-badge {
  position: absolute !important;
  z-index: 5 !important;
  top: 14px !important;
  right: 14px !important;
  display: inline-flex !important;
  width: auto !important;
  min-width: 86px !important;
  max-width: calc(100% - 28px) !important;
  padding: 8px 14px !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fffdf7 !important;
  background: #4b6f4c !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 22px rgba(33, 54, 34, 0.18) !important;
  font-family: var(--sans, 'Nunito', sans-serif) !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

/* Mobile footer balance */
@media (max-width: 900px) {
  .site-footer .footer-links {
    width: min(100%, 360px);
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: start;
    gap: 12px 22px;
    margin-inline: auto;
  }

  .site-footer .footer-links a {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.35;
  }
}

.story-submission-form button[type='submit'] {
  justify-self: center;
  margin-inline: auto;
}
