/* ============================================================
   Catalog / menu styles — builds on the shared tokens in styles.css
   (Fraunces + Commissioner, --green family, --cream, --gold, etc.)
   ============================================================ */

/* Weekly Specials nav link — italic Fraunces for an editorial-feature
   feel that sets it apart from utility links without recoloring or
   underlining. Desktop only; the mobile menu hides .nav-links entirely. */
.nav-feature-link {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0;
}

/* ---- Account + cart icons, styled to sit natively in the homepage nav ---- */
.nav-actions { display: flex; align-items: center; gap: 1.6rem; }
.nav-icon {
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}
.nav-icon:hover { color: var(--white); }
.nav-icon svg { width: 22px; height: 22px; }
.nav-cart-count {
  position: absolute; top: -7px; right: -9px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px;
  background: var(--gold); color: var(--green-darkest);
  font-family: 'Commissioner', sans-serif; font-weight: 700; font-size: 0.64rem;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
}
.nav-cart-count[hidden] { display: none; }
/* On mobile, the entire desktop nav-actions block hides — its icons (account
   and cart) reappear inside the slide-out menu panel below. */
@media (max-width: 768px) {
  .nav-actions { display: none; }
}

/* ============================================================
   Mobile slide-out menu — refined editorial side panel from the right.
   Replaces the old top-drop dropdown. Override styles.css defaults.
   ============================================================ */
.nav-mobile-dropdown {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: min(80vw, 380px);
  max-width: 100vw;
  background: var(--cream);
  border-left: 1px solid rgba(28, 28, 28, 0.06);
  box-shadow: -16px 0 50px rgba(13, 31, 13, 0.25);
  display: flex;
  flex-direction: column;
  padding: 0 0 0;
  margin: 0;
  z-index: 1500;
  transform: translateX(105%);
  transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-top: none;
}
.nav-mobile-dropdown.active {
  transform: translateX(0);
}

/* Subtle noise grain over the cream panel — keeps the editorial brand feel */
.nav-mobile-dropdown::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.nav-mobile-dropdown > * { position: relative; z-index: 1; }

/* Scrim behind the panel */
.nav-mobile-scrim {
  position: fixed;
  inset: 0;
  background: rgba(13, 31, 13, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1490;
}
.nav-mobile-scrim.active {
  opacity: 1;
  pointer-events: auto;
}

/* Close button row */
.nav-mobile-head {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 1.1rem 0;
}
.nav-mobile-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--green-deep);
  font-size: 1.65rem;
  line-height: 1;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.nav-mobile-close:hover, .nav-mobile-close:active {
  background: var(--green-pale);
  color: var(--green);
  transform: rotate(90deg);
}

/* Featured Weekly Specials — gold gradient hero pill */
.nav-mobile-feature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0.85rem 1.15rem 0.95rem;
  padding: 1.1rem 1.2rem;
  background: linear-gradient(135deg, var(--gold) 0%, #b9924e 100%);
  border-radius: var(--radius);
  color: var(--green-darkest);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(200, 169, 110, 0.42);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.nav-mobile-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255,255,255,0.22), transparent 55%);
  pointer-events: none;
}
.nav-mobile-feature:hover, .nav-mobile-feature:active {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(200, 169, 110, 0.55);
}
.nav-mobile-feature-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  position: relative;
  z-index: 1;
}
.nav-mobile-feature-tag {
  font-family: 'Commissioner', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(13, 31, 13, 0.7);
}
.nav-mobile-feature-title {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--green-darkest);
}
.nav-mobile-feature-arrow {
  margin-left: auto;
  font-family: 'Fraunces', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--green-darkest);
  line-height: 1;
  position: relative;
  z-index: 1;
}

/* Menu CTA — primary green pill */
.nav-mobile-menu-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 1.15rem 1.5rem;
  padding: 0.95rem 1.4rem;
  background: var(--green);
  color: var(--white);
  font-family: 'Commissioner', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 60px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(61, 165, 62, 0.42);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.nav-mobile-menu-cta:hover, .nav-mobile-menu-cta:active {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(61, 165, 62, 0.55);
}
.nav-mobile-cta-arrow {
  font-size: 1.1rem;
  font-weight: 400;
}

/* Standard nav list — Fraunces serif rows with chevron */
.nav-mobile-list {
  display: flex;
  flex-direction: column;
  margin: 0 1.15rem 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(28, 28, 28, 0.08);
}
.nav-mobile-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.4rem;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--green-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(28, 28, 28, 0.05);
  transition: color var(--transition), padding-left var(--transition);
}
.nav-mobile-list a:last-child { border-bottom: none; }
.nav-mobile-list a:hover, .nav-mobile-list a:active {
  color: var(--green);
  padding-left: 0.7rem;
}
.nav-mobile-list a::after {
  content: '\203A';
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--text-muted);
  line-height: 0.5;
  transition: color var(--transition), transform var(--transition);
}
.nav-mobile-list a:hover::after, .nav-mobile-list a:active::after {
  color: var(--green);
  transform: translateX(4px);
}

/* Utility rows: account + cart */
.nav-mobile-utility {
  display: flex;
  flex-direction: column;
  margin: 0.55rem 1.15rem 0;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(28, 28, 28, 0.08);
}
.nav-mobile-utility-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 0.4rem;
  font-family: 'Commissioner', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--green-deep);
  text-decoration: none;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(28, 28, 28, 0.05);
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: color var(--transition), padding-left var(--transition);
}
.nav-mobile-utility-row:last-child { border-bottom: none; }
.nav-mobile-utility-row:hover, .nav-mobile-utility-row:active {
  color: var(--green);
  padding-left: 0.7rem;
}
.nav-mobile-utility-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--green-pale);
  color: var(--green);
  flex-shrink: 0;
  transition: background var(--transition);
}
.nav-mobile-utility-row:hover .nav-mobile-utility-icon,
.nav-mobile-utility-row:active .nav-mobile-utility-icon {
  background: var(--green);
  color: var(--white);
}
.nav-mobile-utility-icon svg {
  width: 16px;
  height: 16px;
}
.nav-mobile-utility-label {
  flex: 1;
}
.nav-mobile-cart-count {
  margin-left: auto;
  background: var(--gold);
  color: var(--green-darkest);
  min-width: 24px;
  height: 24px;
  border-radius: 12px;
  padding: 0 7px;
  font-size: 0.74rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}
.nav-mobile-cart-count[hidden] { display: none; }

/* Phone link at bottom */
.nav-mobile-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 1.1rem 1.15rem 1.4rem;
  padding: 0.95rem 1.3rem;
  background: var(--green-pale);
  border: 1px solid rgba(61, 165, 62, 0.18);
  border-radius: 60px;
  color: var(--green-deep);
  font-family: 'Commissioner', sans-serif;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  margin-top: auto;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.nav-mobile-phone:hover, .nav-mobile-phone:active {
  background: var(--green-deep);
  color: var(--cream);
  border-color: var(--green-deep);
}
.nav-mobile-phone-icon {
  display: inline-flex;
}
.nav-mobile-phone svg {
  width: 18px;
  height: 18px;
}

/* Lock body scroll while the menu is open */
body.nav-mobile-locked { overflow: hidden; touch-action: none; }

/* Respect users who opt out of motion */
@media (prefers-reduced-motion: reduce) {
  .nav-mobile-dropdown, .nav-mobile-scrim { transition: none; }
  .nav-mobile-close, .nav-mobile-feature, .nav-mobile-menu-cta,
  .nav-mobile-list a, .nav-mobile-utility-row, .nav-mobile-phone { transition: none; }
}

/* ---- Floating call button (mobile only) — bottom-right "tap to call" bubble ---- */
.mobile-call-btn {
  position: fixed;
  bottom: 1.1rem;
  right: 1rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1400;
  box-shadow: 0 8px 22px rgba(61, 165, 62, 0.45), 0 4px 12px rgba(0,0,0,0.22);
  text-decoration: none;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}
.mobile-call-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(61,165,62,0.5);
  animation: mobileCallPulse 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes mobileCallPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61,165,62,0.55); }
  50% { box-shadow: 0 0 0 12px rgba(61,165,62,0); }
}
.mobile-call-btn:hover, .mobile-call-btn:active {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(61, 165, 62, 0.55), 0 6px 16px rgba(0,0,0,0.26);
}
.mobile-call-btn svg {
  width: 22px;
  height: 22px;
  display: block;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .mobile-call-btn { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-call-btn::before { animation: none; }
}

/* ---- Two-tier nav: slim utility bar above the main nav ---- */
.nav-utility {
  background: rgba(13, 31, 13, 0.4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: max-height 0.4s ease, opacity 0.35s ease, border-color 0.4s ease;
  max-height: 44px;
  overflow: hidden;
}
.nav-utility-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0.45rem 2rem;
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  font-family: 'Commissioner', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.nav-utility-inner a {
  color: rgba(240, 235, 225, 0.7);
  font-weight: 500;
  transition: color var(--transition);
}
.nav-utility-inner a:hover { color: var(--white); }
/* Utility bar collapses out of the way when the user scrolls past the hero */
.nav.scrolled .nav-utility {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}
/* Hide the utility bar entirely on mobile — its links live in the hamburger */
@media (max-width: 768px) {
  .nav-utility { display: none; }
}

/* ---- Menu CTA standout pill (sits in main nav, drives shoppers to /menu) ---- */
.nav-menu-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.4rem;
  margin-right: 0.4rem;
  background: var(--green);
  color: var(--white);
  font-family: 'Commissioner', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 60px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(61, 165, 62, 0.32);
  transition: all var(--transition);
}
.nav-menu-cta:hover {
  background: var(--green-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(61, 165, 62, 0.42);
}
/* On mobile the Menu CTA hides — Menu is in the hamburger dropdown instead */
@media (max-width: 768px) {
  .nav-menu-cta { display: none; }
}

/* Pin the utility bar flush to the very top of the screen — the page-top dead
   space was just .nav's 1.25rem top padding bleeding through. Plus a small
   breathing gap between the utility bar and the main nav so they don't feel
   smashed together. Both gaps collapse to the compact scrolled state. */
.nav { padding-top: 0; }
.nav-inner { padding-top: 0.6rem; }
.nav.scrolled .nav-inner { padding-top: 0; }

/* ---- Dark header band (sits under the white nav) ---- */
.cat-header {
  background:
    radial-gradient(900px 400px at 50% -20%, rgba(78,197,79,0.16), transparent 60%),
    linear-gradient(165deg, var(--green-darkest) 0%, var(--green-deep) 100%);
  color: var(--text-on-dark);
  padding: 5.5rem 0 2.75rem;
}
.cat-header--slim { padding: 5.5rem 0 1.5rem; }
.cat-header h1 { color: var(--white); margin: 0.6rem 0 0.5rem; }
.cat-intro { color: rgba(240,235,225,0.82); max-width: 640px; font-size: 1.05rem; }

/* Tightened, subtle hero band for info pages (about / contact / faq / news /
   checkout). The breadcrumb is sr-only inside (kept for SEO) — see
   .breadcrumb--sr below. min-height locks every info-page hero to the same
   bottom y-coordinate so the band doesn't resize as the user navigates. */
.cat-header--no-crumb {
  padding: 5rem 0 1.75rem;
  min-height: 11rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.cat-header--no-crumb h1,
.cat-header--no-crumb h2 {
  color: var(--white);
  font-family: 'Fraunces', serif;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 0.35rem;
}
.cat-header--no-crumb .cat-intro {
  font-size: 0.92rem;
  max-width: 560px;
  line-height: 1.55;
  margin: 0;
  /* Lock intro to 2 lines so long intros (e.g. /menu) don't grow the band
     past short ones (e.g. /menu/pre-rolls). Combined with min-height above,
     every hero band ends up the exact same height regardless of content. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Breadcrumb ---- */
/* Visually-hidden trail — still readable by screen readers + crawlers,
   so search engines see the trail without it showing on the page. */
.breadcrumb--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  font-family: 'Commissioner', sans-serif;
  font-size: 0.85rem;
  color: rgba(240,235,225,0.7);
}
.breadcrumb a { color: var(--green-light); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-current] { color: rgba(240,235,225,0.95); }
.crumb-sep { color: rgba(240,235,225,0.35); }

/* ---- Light breadcrumb trail (sits below the hero band on catalog pages) ---- */
.breadcrumb-trail-wrap {
  background: var(--cream);
  padding: 1rem 0 0.25rem;
}
/* When the catalog page has no dark band above (product page), the trail
   becomes the first element under the fixed nav — needs clearance. */
.breadcrumb-trail-wrap--bare {
  padding-top: 6rem;
}
.breadcrumb-trail {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem;
  font-family: 'Commissioner', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}
.breadcrumb-trail a {
  color: var(--green-deep);
  text-decoration: none;
  transition: color 0.18s ease;
}
.breadcrumb-trail a:hover { color: var(--green); }
.breadcrumb-trail span[aria-current] {
  color: var(--text);
  font-weight: 500;
}
.breadcrumb-trail .crumb-sep { color: rgba(27, 58, 27, 0.28); }

/* ---- Page body ---- */
.cat-page { padding: 3rem 2rem 5rem; }
.cat-empty { color: var(--text-muted); font-size: 1.05rem; padding: 2rem 0; }
.cat-empty a { color: var(--green); font-weight: 600; }

/* ---- Category chips ---- */
.cat-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.75rem; }
.cat-chip {
  padding: 0.5rem 1.1rem;
  border-radius: 60px;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  color: var(--green-deep);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.cat-chip:hover { background: var(--green); color: var(--white); transform: translateY(-2px); border-color: var(--green); }

/* ---- Category block ---- */
.cat-block { margin-bottom: 3.5rem; }
.cat-block-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap;
}
.cat-block-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.cat-viewall { color: var(--green); font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.cat-viewall:hover { color: var(--green-light); }

/* ---- Product grid (OKCD card structure, Urban Leaf brand): ~5/row, 1 on mobile ---- */
.p-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 1.1rem;
}
.p-tile {
  position: relative;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.p-tile:hover { border-color: var(--green-light); box-shadow: var(--shadow); transform: translateY(-3px); }
.p-tile.is-out { opacity: 0.62; }
.p-tile-link { position: absolute; inset: 0; z-index: 1; }

.p-thumb { position: relative; aspect-ratio: 4 / 3; background: var(--green-pale); overflow: hidden; }
.p-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-thumb-ph {
  width: 100%; height: 100%;
  background:
    linear-gradient(135deg, transparent 49%, rgba(61,165,62,0.16) 49%, rgba(61,165,62,0.16) 51%, transparent 51%),
    linear-gradient(45deg, transparent 49%, rgba(61,165,62,0.16) 49%, rgba(61,165,62,0.16) 51%, transparent 51%);
  background-size: 22px 22px;
}
.p-badges { position: absolute; top: 0.6rem; left: 0.6rem; display: flex; gap: 0.35rem; z-index: 2; }
.p-out-tag {
  position: absolute; top: 0.6rem; right: 0.6rem; z-index: 2;
  background: rgba(13,31,13,0.82); color: var(--white);
  padding: 0.2rem 0.5rem; border-radius: 5px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.p-strain {
  font-family: 'Commissioner', sans-serif;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem; border-radius: 6px; color: var(--white);
}
.p-strain--indica { background: #7B5EA7; }
.p-strain--sativa { background: #E0883B; }
.p-strain--hybrid { background: var(--green); }
.p-strain--cbd    { background: #3B82A7; }

.p-body { padding: 0.85rem 0.95rem 0.95rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.p-name { font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; color: var(--text); margin: 0; }
.p-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem; color: var(--text-muted); font-size: 0.8rem; }
.p-dot { opacity: 0.5; }
.p-nums { display: flex; flex-wrap: wrap; gap: 0.75rem; color: var(--text-muted); font-size: 0.78rem; margin-top: 0.1rem; }
.p-nums strong { color: var(--green-deep); font-weight: 700; font-variant-numeric: tabular-nums; }
.p-price-row { display: flex; align-items: baseline; gap: 0.5rem; margin-top: auto; padding-top: 0.6rem; }
.p-price { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.2rem; color: var(--green-deep); font-variant-numeric: tabular-nums; }
.p-was { font-size: 0.85rem; color: var(--text-muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }

.p-add {
  position: relative; z-index: 2;
  margin-top: 0.7rem;
  display: block; width: 100%; text-align: center;
  padding: 0.6rem 0.9rem; border-radius: 9px;
  background: var(--green-deep); color: var(--white);
  font-family: 'Commissioner', sans-serif; font-weight: 700; font-size: 0.85rem;
  border: none; cursor: pointer;
  transition: background var(--transition), transform 0.08s ease;
}
.p-add:hover { background: var(--green); }
.p-add:active { transform: translateY(1px); }
.p-add.added { background: var(--green); }
.p-add--opts { background: var(--white); color: var(--green-deep); border: 1.5px solid var(--cream-dark); }
.p-add--opts:hover { background: var(--green-pale); border-color: var(--green-light); }
.p-add--out { background: var(--cream-dark); color: var(--text-muted); cursor: not-allowed; }
.p-add--out:hover { background: var(--cream-dark); }

/* ---- Pagination (numbered, first/last always visible, ellipsis fills gaps) ---- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 2.75rem 0 0.5rem;
  font-family: 'Commissioner', sans-serif;
}
.pagination a, .pagination > span {
  display: inline-flex;
  align-items: center; justify-content: center;
  min-width: 40px; height: 40px;
  padding: 0 0.65rem;
  border-radius: 10px;
  font-weight: 600; font-size: 0.95rem;
  color: var(--green-deep);
  background: var(--white);
  border: 1px solid var(--cream-dark);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.pagination a:hover {
  background: var(--green-pale);
  border-color: var(--green-light);
}
.pagination .pg-current {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  cursor: default;
}
.pagination .pg-ellipsis {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: default;
  min-width: 22px;
  padding: 0;
}
.pagination .pg-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.pagination .pg-arrow {
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}

/* ---- Product detail ---- */
.product-detail {
  display: grid; grid-template-columns: 300px 1fr; gap: 3.5rem;
  padding: 3rem 2rem 2.5rem; align-items: stretch;
}
.pd-aside { display: flex; flex-direction: column; gap: 1.25rem; }
.pd-media {
  background: var(--green-pale);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.pd-media img { width: 100%; height: 100%; object-fit: cover; }
.pd-ph { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(61,165,62,0.45); }
.pd-ph svg { width: 72px; height: 72px; }

/* Compact help card under the image */
.pd-help {
  background: var(--green-pale);
  border-radius: var(--radius-lg);
  padding: 1.4rem; text-align: center;
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
}
.pd-help-q { font-weight: 600; color: var(--green-deep); margin-bottom: 0.35rem; }
.pd-help-phone { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.45rem; color: var(--green); display: inline-block; margin-bottom: 0.45rem; }
.pd-help-phone:hover { color: var(--green-deep); }
.pd-help-sub { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; margin: 0; }
.pd-badges { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.pd-cat { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); }
.pd-info h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.4rem; }
.pd-brand { color: var(--text-muted); font-size: 1rem; margin-bottom: 1rem; }
.pd-potency { display: flex; gap: 1.25rem; margin-bottom: 1.5rem; color: var(--text); font-size: 0.95rem; }
.pd-potency strong { color: var(--green-deep); }
.pd-price { font-family: 'Fraunces', serif; font-weight: 900; font-size: 2.2rem; color: var(--green-deep); margin-bottom: 1.5rem; }
.pd-variants { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.75rem; }
.pd-variant {
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  min-width: 84px; padding: 0.65rem 0.9rem;
  border: 2px solid var(--cream-dark); border-radius: var(--radius);
  background: var(--white); transition: all var(--transition);
}
.pd-variant:hover { border-color: var(--green-light); }
.pd-variant.is-active { border-color: var(--green); background: var(--green-pale); }
.pd-variant-name { font-weight: 700; color: var(--green-deep); }
.pd-variant-price { font-size: 0.85rem; color: var(--text-muted); }
.pd-actions { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.pd-qty { display: inline-flex; align-items: center; border: 2px solid var(--cream-dark); border-radius: 60px; overflow: hidden; }
.pd-qty-btn { width: 42px; height: 44px; font-size: 1.2rem; color: var(--green-deep); background: var(--white); }
.pd-qty-btn:hover { background: var(--green-pale); }
.pd-qty-val { min-width: 38px; text-align: center; font-weight: 700; }
.pd-add { padding: 1rem 2.4rem; }
.pd-add.added { background: var(--green-deep); }
.pd-desc { color: var(--text); line-height: 1.8; margin-bottom: 1.5rem; max-width: 52ch; }
.pd-note { font-size: 0.88rem; color: var(--text-muted); background: var(--cream-dark); padding: 1rem 1.2rem; border-radius: var(--radius); border-left: 3px solid var(--green); }

/* ---- Cart drawer ---- */
.cart-overlay { position: fixed; inset: 0; background: rgba(13,31,13,0.5); z-index: 1500; opacity: 0; transition: opacity 0.3s ease; }
.cart-overlay.open { opacity: 1; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1600;
  width: min(420px, 100%);
  background: var(--cream);
  box-shadow: -10px 0 50px rgba(0,0,0,0.18);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 1.6rem; border-bottom: 1px solid var(--cream-dark);
}
.cart-drawer-head h3 { font-size: 1.4rem; }
.cart-close { font-size: 1.8rem; line-height: 1; color: var(--text-muted); width: 40px; height: 40px; border-radius: 50%; }
.cart-close:hover { background: var(--cream-dark); color: var(--text); }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.6rem; }
.cart-item { display: flex; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid var(--cream-dark); }
.cart-item-main { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 0.98rem; }
.cart-item-meta { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.15rem; }
.cart-item-price { font-family: 'Fraunces', serif; font-weight: 700; color: var(--green-deep); }
.cart-qty { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.55rem; }
.cart-qty button { width: 26px; height: 26px; border-radius: 50%; background: var(--cream-dark); color: var(--green-deep); font-weight: 700; }
.cart-qty button:hover { background: var(--green-pale); }
.cart-remove { font-size: 0.78rem; color: var(--text-muted); text-decoration: underline; margin-left: 0.75rem; }
.cart-remove:hover { color: #b3261e; }
.cart-empty { padding: 3rem 1.6rem; text-align: center; color: var(--text-muted); display: flex; flex-direction: column; gap: 1.2rem; align-items: center; }
.cart-foot { padding: 1.4rem 1.6rem 1.8rem; border-top: 1px solid var(--cream-dark); background: var(--white); }
.cart-total { display: flex; justify-content: space-between; font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.3rem; color: var(--green-deep); margin-bottom: 0.9rem; }
.cart-note { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.55; }
.cart-checkout { width: 100%; justify-content: center; }

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .product-detail { grid-template-columns: 1fr; gap: 2rem; }
  .pd-aside { position: static; }
  .pd-media { max-width: 280px; aspect-ratio: 1 / 1; }
}
@media (max-width: 600px) {
  .p-grid { grid-template-columns: 1fr; gap: 1rem; }
  .cat-page { padding: 2rem 1.25rem 4rem; }
  .p-name { font-size: 1rem; }
  .p-add { padding: 0.55rem 0.9rem; font-size: 0.9rem; }
  .cat-header { padding: 4rem 0 2.25rem; }
  .cat-header--slim { padding: 4rem 0 1.25rem; }
  .cat-header--no-crumb {
    padding: 4rem 0 1.4rem;
    min-height: 8.5rem;
  }
  .cat-header--no-crumb h1,
  .cat-header--no-crumb h2 { font-size: 1.4rem; }
  .cat-header--no-crumb .cat-intro { font-size: 0.88rem; }
  .pagination { gap: 0.3rem; margin: 2rem 0 0.5rem; }
  .pagination a, .pagination > span {
    min-width: 36px; height: 36px;
    font-size: 0.9rem; padding: 0 0.45rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-tile, .cat-chip, .nav-cart, .cart-drawer, .cart-overlay { transition: none; }
}

/* ============================================================
   Auth + Account pages
   ============================================================ */
.auth-wrap { padding: 3.5rem 2rem 6rem; display: flex; justify-content: center; }
.auth-card {
  width: 100%; max-width: 460px;
  background: var(--white);
  border: 1px solid rgba(28,28,28,0.05);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.5rem 2.25rem;
}
.auth-lead { color: var(--text-muted); margin-bottom: 1.75rem; }
.auth-card form { display: flex; flex-direction: column; gap: 0.6rem; }
.auth-card label { font-weight: 600; font-size: 0.9rem; color: var(--green-deep); }
.auth-card input[type="email"],
.auth-card input[type="text"],
.auth-card input[type="password"],
.auth-card input[type="tel"],
.auth-card input[type="date"] {
  font-family: 'Commissioner', sans-serif;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--cream);
  transition: border-color var(--transition);
  width: 100%;
}
.auth-card input:focus { outline: none; border-color: var(--green); background: var(--white); }
.auth-card .btn { margin-top: 0.75rem; justify-content: center; }
.auth-fine { margin-top: 1.5rem; font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.auth-fine a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color var(--transition);
}
.auth-fine a:hover { color: var(--green-deep); }
.auth-msg { margin-top: 1.25rem; padding: 0.9rem 1.1rem; border-radius: var(--radius); font-size: 0.92rem; }
.auth-msg.ok  { background: var(--green-pale); color: var(--green-deep); }
.auth-msg.err { background: #FCEBEA; color: #B3261E; }

/* Account / admin */
.acct-wrap { max-width: 720px; padding: 3rem 2rem 5rem; }
.acct-hello { color: var(--text-muted); margin-bottom: 1.75rem; }
.acct-card {
  background: var(--white);
  border: 1px solid rgba(28,28,28,0.05);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.9rem;
  margin-bottom: 1.5rem;
}
.acct-card h3 { margin-bottom: 0.5rem; }
.acct-card p { color: var(--text-muted); margin-bottom: 1.1rem; }
.acct-card--admin { border-left: 4px solid var(--green); }
.acct-logout { margin-top: 1.5rem; }
.acct-logout a { color: var(--text-muted); text-decoration: underline; }
.acct-logout a:hover { color: var(--green); }

/* ============================================================
   Admin panel
   ============================================================ */
.muted { color: var(--text-muted); }
.ta-right { text-align: right; }
.back-link { color: var(--green); font-weight: 600; }
.back-link:hover { color: var(--green-light); }

.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.admin-user { font-size: 0.85rem; color: rgba(240,235,225,0.75); }
.admin-user a { color: var(--green-light); }
.admin-tabs { display: flex; gap: 0.4rem; margin-top: 1.1rem; flex-wrap: wrap; }
.admin-tab {
  padding: 0.5rem 1.1rem; border-radius: 60px;
  color: rgba(240,235,225,0.85); font-weight: 600; font-size: 0.9rem;
  background: rgba(255,255,255,0.06); transition: all var(--transition);
}
.admin-tab:hover { background: rgba(255,255,255,0.14); color: #fff; }
.admin-tab.is-active { background: var(--green); color: #fff; }
.admin-tab--ghost { margin-left: auto; background: transparent; }

.admin-body { padding: 2.5rem 2rem 5rem; }

/* dashboard cards */
.admin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.admin-card {
  background: var(--white); border: 1px solid rgba(28,28,28,0.05); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 1.75rem; text-align: center;
}
.admin-card-num { font-family: 'Fraunces', serif; font-weight: 900; font-size: 2.6rem; color: var(--green-deep); }
.admin-card-label { color: var(--text-muted); font-weight: 600; margin-bottom: 1rem; }
.admin-soon { font-size: 0.8rem; color: var(--text-muted); font-style: italic; }

/* toolbar */
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }

/* table */
.admin-table-wrap { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(28,28,28,0.05); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--cream-dark); vertical-align: middle; }
.admin-table th { background: var(--cream); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table td .muted { font-size: 0.82rem; }
.admin-actions-cell { display: flex; gap: 0.4rem; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.admin-actions-cell form { display: inline; margin: 0; }

.tag { font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 60px; text-transform: uppercase; letter-spacing: 0.03em; }
.tag--live { background: var(--green-pale); color: var(--green-deep); }
.tag--hidden { background: #FDEBC8; color: #8A6100; }
.tag--archived { background: #EEE; color: #777; }

.btn-sm {
  display: inline-block; padding: 0.4rem 0.8rem; border-radius: 8px;
  background: var(--cream-dark); color: var(--green-deep); font-weight: 600; font-size: 0.82rem;
  font-family: 'Commissioner', sans-serif; transition: all var(--transition); border: none; cursor: pointer;
}
.btn-sm:hover { background: var(--green-pale); }
.btn-sm--danger { background: #FCEBEA; color: #B3261E; }
.btn-sm--danger:hover { background: #F7D7D4; }

/* form */
.admin-form { background: var(--white); border: 1px solid rgba(28,28,28,0.05); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 2rem; max-width: 860px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.88rem; color: var(--green-deep); }
.admin-form input[type="text"], .admin-form input[type="number"], .admin-form select, .admin-form textarea {
  font-family: 'Commissioner', sans-serif; font-size: 0.98rem; padding: 0.7rem 0.85rem;
  border: 2px solid var(--cream-dark); border-radius: var(--radius); background: var(--cream); width: 100%;
  transition: border-color var(--transition);
}
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { outline: none; border-color: var(--green); background: var(--white); }
.checkbox { flex-direction: row; align-items: center; gap: 0.6rem; font-weight: 600; }
.checkbox input { width: auto; }
.img-field { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.img-preview { width: 120px; height: 90px; border-radius: var(--radius); overflow: hidden; background: var(--green-pale); display: grid; place-items: center; flex-shrink: 0; }
.img-preview img { width: 100%; height: 100%; object-fit: cover; }
.img-preview--empty { color: var(--text-muted); font-size: 0.8rem; text-align: center; padding: 0.5rem; }
.variant-row { display: flex; gap: 0.6rem; margin-bottom: 0.6rem; align-items: center; }
.variant-row input[name="variant_name"] { max-width: 160px; }
.variant-row input[name="variant_price"] { max-width: 130px; }
.form-actions { display: flex; gap: 0.8rem; margin-top: 1.75rem; align-items: center; }
.btn--outline.btn--dark { border-color: var(--cream-dark); color: var(--green-deep); }
.btn--outline.btn--dark:hover { background: var(--cream-dark); color: var(--green-deep); }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .admin-body { padding: 2rem 1.25rem 4rem; }
  .admin-table th:nth-child(2), .admin-table td:nth-child(2) { display: none; }
}

/* Cart belongs on shopping pages only — not admin or login */
.page-admin .nav-cart, .page-auth .nav-cart { display: none; }

.tag--feat { background: var(--green-deep); color: var(--green-pale); }

/* ---- Product page: related + category chips + trust strip (fills the page) ---- */
.pd-related { padding: 2.5rem 2rem 3rem; }
.pd-related .cat-block-head { margin-bottom: 1.4rem; }
.pd-related h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

/* Shop-by-category chip row (full width — replaces the tall side card) */
.pd-cats { padding: 1rem 2rem 3.5rem; }
.pd-cats .cat-block-head { margin-bottom: 1.25rem; }
.pd-cats h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.cat-chip.is-current { background: var(--green); color: var(--white); border-color: var(--green); }

/* Trust strip — LIGHT, so it separates the white content from the dark footer */
.pd-trust {
  background: var(--green-pale);
  color: var(--green-deep);
  padding: 2.25rem 0;
  border-top: 1px solid rgba(61,165,62,0.18);
}
.pd-trust .container {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.75rem;
}
.pd-trust-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 600; font-size: 0.95rem; color: var(--green-deep);
}
.pd-trust-ico { color: var(--green); font-size: 1.1rem; }
@media (max-width: 600px) {
  .pd-trust .container { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
}

/* ---- Menu storefront: shop-by-category cards ---- */
.menu-cats-wrap { margin-bottom: 2.5rem; }
.menu-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 0.6rem; }
.menu-cat {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding: 0.85rem 0.9rem; border-radius: 12px;
  background: var(--green-pale); border: 1px solid rgba(61,165,62,0.16);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.menu-cat:hover { background: var(--green); transform: translateY(-3px); box-shadow: var(--shadow); }
.menu-cat:hover .menu-cat-name, .menu-cat:hover .menu-cat-count { color: var(--white); }
.menu-cat-name { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1rem; color: var(--green-deep); letter-spacing: -0.01em; }
.menu-cat-count { font-size: 0.75rem; color: var(--text-muted); }
@media (max-width: 600px) { .menu-cats { grid-template-columns: repeat(2, 1fr); } }

/* ---- Menu search bar (only on /menu, sits below the cat-header line on the right) ---- */
.menu-search-bar {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  padding: 0 2rem;
  display: flex;
  justify-content: flex-end;
}
.menu-search {
  display: flex;
  align-items: stretch;
  width: 280px;
  max-width: 100%;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: border-color var(--transition);
}
.menu-search:focus-within { border-color: var(--green); }
.menu-search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: 'Commissioner', sans-serif;
  font-size: 0.95rem;
  color: var(--green-deep);
  outline: none;
  padding: 0.7rem 1rem;
}
.menu-search input::placeholder { color: var(--text-muted); }
.menu-search button {
  flex-shrink: 0;
  width: 46px;
  background: var(--green);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  border-radius: 0;
  transition: background var(--transition);
}
.menu-search button:hover { background: var(--green-light); }
.menu-search button svg { width: 16px; height: 16px; }
.menu-search-clear {
  flex-shrink: 0;
  width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.3rem;
  line-height: 1;
  text-decoration: none;
  transition: color var(--transition);
}
.menu-search-clear:hover { color: var(--green-deep); }
@media (max-width: 600px) {
  .menu-search-bar {
    margin-top: 1rem;
    padding: 0 1.25rem;
    justify-content: stretch;
  }
  .menu-search { width: 100%; }
}

/* Tighten the gap between the search bar and the first catalog content. Scoped
   to /menu only so /menu/:category, /product/:slug, /news, /about, etc. keep
   their original spacing. */
.page-menu .cat-page { padding-top: 1rem; }

/* ---- Helpful links strip — cross-page nav on /menu, /menu/:category,
   /product/:slug, /news. Strong internal linking footprint. ---- */
.helpful-links {
  background: var(--cream-dark);
  padding: 3rem 2rem 3.5rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(28,28,28,0.06);
}
.helpful-links-h {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  color: var(--green-deep);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.helpful-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.helpful-link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.15rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.helpful-link:hover {
  border-color: var(--green-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.helpful-link-label {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green-deep);
  transition: color var(--transition);
}
.helpful-link:hover .helpful-link-label { color: var(--green); }
.helpful-link-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}
@media (max-width: 600px) {
  .helpful-links { padding: 2.25rem 1.25rem 2.75rem; margin-top: 2rem; }
  .helpful-links-grid { grid-template-columns: 1fr; }
}

/* ---- Featured Weekly Special card (revealed inside .helpful-links when API
   returns a published weekly-specials post). Image-led two-column layout
   that drops to single column on mobile. ---- */
.weekly-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1fr;
  gap: 0;
  max-width: 920px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.weekly-feature:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.weekly-feature-media {
  position: relative;
  min-height: 240px;
  background: var(--green-pale);
  overflow: hidden;
}
.weekly-feature-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.weekly-feature:hover .weekly-feature-media img { transform: scale(1.04); }
.weekly-feature-img-ph {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, transparent 49%, rgba(255,255,255,0.18) 49%, rgba(255,255,255,0.18) 51%, transparent 51%),
    linear-gradient(45deg, transparent 49%, rgba(255,255,255,0.18) 49%, rgba(255,255,255,0.18) 51%, transparent 51%),
    linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  background-size: 28px 28px, 28px 28px, 100% 100%;
}
.weekly-feature-body {
  padding: 1.85rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.weekly-feature-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, var(--gold) 0%, #c8a96e 100%);
  color: var(--green-darkest);
  font-family: 'Commissioner', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 60px;
  margin-bottom: 1rem;
  align-self: flex-start;
  box-shadow: 0 4px 14px rgba(200,169,110,0.4);
}
.weekly-feature-title {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--green-deep);
  margin: 0 0 0.85rem;
  transition: color var(--transition);
}
.weekly-feature:hover .weekly-feature-title { color: var(--green); }
.weekly-feature-excerpt {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 1.15rem;
}
.weekly-feature-cta {
  font-family: 'Commissioner', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition);
}
.weekly-feature:hover .weekly-feature-cta { color: var(--green-light); }

@media (max-width: 768px) {
  .weekly-feature { grid-template-columns: 1fr; }
  .weekly-feature-media { min-height: 0; aspect-ratio: 16 / 11; }
  .weekly-feature-body { padding: 1.5rem 1.4rem 1.65rem; }
}

/* ============================================================
   News & Deals — public blog hub + post pages
   Editorial layout inheriting the cream/green brand; image-led
   cards, generous serif typography for prose, gold-accent moments.
   ============================================================ */

/* ---- Hub: featured post (image-left, text-right) ---- */
.news-featured {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  margin-bottom: 3rem;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.news-featured:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--green-light);
}
.news-featured-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--green-pale);
}
.news-featured-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s ease;
}
.news-featured:hover .news-featured-media img { transform: scale(1.04); }
.news-featured-ribbon {
  position: absolute; top: 1.1rem; left: 1.1rem; z-index: 2;
  background: var(--gold); color: var(--green-darkest);
  padding: 0.36rem 0.9rem; border-radius: 60px;
  font-family: 'Commissioner', sans-serif; font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.news-featured-body {
  padding: 2.5rem 2.5rem 2.25rem;
  display: flex; flex-direction: column; justify-content: center;
}
.news-featured-cat {
  font-family: 'Commissioner', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 0.85rem;
}
.news-featured-title {
  font-family: 'Fraunces', serif; font-weight: 800;
  font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.15;
  color: var(--green-deep); margin-bottom: 1rem;
  letter-spacing: -0.01em;
  transition: color var(--transition);
}
.news-featured:hover .news-featured-title { color: var(--green); }
.news-featured-excerpt {
  color: var(--text-muted); font-size: 1.02rem;
  line-height: 1.7; margin-bottom: 1.5rem;
}
.news-featured-meta {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.85rem; color: var(--text-muted);
}
.news-featured-cta {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: 'Commissioner', sans-serif; font-weight: 700;
  font-size: 0.92rem; letter-spacing: 0.04em;
  color: var(--green); margin-top: 1rem;
  transition: color var(--transition);
}
.news-featured:hover .news-featured-cta { color: var(--green-light); }
.news-featured-link { position: absolute; inset: 0; z-index: 1; }

/* ---- Hub: chip row + grid ---- */
.news-chips { margin-bottom: 2.25rem; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}
.post-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.post-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.post-card-link { position: absolute; inset: 0; z-index: 1; }
.post-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green-pale);
}
.post-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-media-ph {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--cream-dark) 100%);
  color: var(--green); opacity: 0.55;
}
.post-card-media-ph svg { width: 56px; height: 56px; }
.post-card-body {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex; flex-direction: column; gap: 0.55rem; flex: 1;
}
.post-card-cat {
  align-self: flex-start;
  font-family: 'Commissioner', sans-serif;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green);
  padding: 0.22rem 0.55rem;
  background: var(--green-pale);
  border-radius: 6px;
}
.post-card-title {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: 1.18rem; line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: color var(--transition);
}
.post-card:hover .post-card-title { color: var(--green-deep); }
.post-card-excerpt {
  color: var(--text-muted); font-size: 0.92rem; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-meta {
  margin-top: auto; padding-top: 0.4rem;
  font-size: 0.78rem; color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ---- Empty state ---- */
.news-empty {
  background: var(--white);
  border: 1px dashed var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-muted);
}
.news-empty p { margin-bottom: 0.5rem; }
.news-empty p:last-child { margin-bottom: 0; }
.news-empty strong { color: var(--green-deep); }

/* ============================================================
   Post detail — editorial article
   ============================================================ */
.post-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 3.5rem;
}
/* When the dark cat-header band is omitted entirely (blog-post w/ sr-only
   breadcrumb), the article must clear the fixed nav on its own. */
.post-article--bare { padding-top: 7rem; }
.post-article-header { margin-bottom: 2rem; }
.post-cat-pill {
  display: inline-block;
  font-family: 'Commissioner', sans-serif;
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green);
  padding: 0.3rem 0.85rem;
  background: var(--green-pale);
  border-radius: 60px;
  margin-bottom: 1.15rem;
  transition: background var(--transition), color var(--transition);
}
.post-cat-pill:hover { background: var(--green); color: var(--white); }
.post-h1 {
  font-family: 'Fraunces', serif; font-weight: 900;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--green-deep); margin-bottom: 0.95rem;
}
.post-meta-row {
  display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap;
  font-size: 0.92rem; color: var(--text-muted);
}
.post-meta-dot { opacity: 0.5; }
.post-cover {
  margin: 0 0 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-pale);
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow);
}
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Prose */
.post-body { color: var(--text); }
.post-body p {
  font-family: 'Commissioner', sans-serif;
  font-size: 1.08rem; line-height: 1.85;
  margin-bottom: 1.4rem;
  color: var(--text);
}
.post-body p:last-child { margin-bottom: 0; }
.post-body h2 {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 1.9rem); line-height: 1.2;
  color: var(--green-deep); margin: 2.5rem 0 1rem;
  letter-spacing: -0.01em;
}
.post-body h3 {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: 1.25rem; line-height: 1.25;
  color: var(--green-deep); margin: 2rem 0 0.85rem;
}
.post-body a {
  color: var(--green); text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.post-body a:hover { color: var(--green-light); }
.post-body strong { color: var(--green-deep); font-weight: 700; }
.post-body em { font-family: 'Fraunces', serif; font-style: italic; }
.post-body ul, .post-body ol { padding-left: 1.4rem; margin-bottom: 1.4rem; color: var(--text); }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin-bottom: 0.4rem; line-height: 1.75; }
.post-body blockquote {
  border-left: 3px solid var(--gold);
  margin: 1.8rem 0;
  padding: 0.6rem 0 0.6rem 1.5rem;
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 1.25rem; line-height: 1.55;
  color: var(--green-deep);
}

/* CTA card at end of article */
.post-cta {
  margin-top: 3rem;
  padding: 1.85rem 1.95rem;
  background: var(--green-pale);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--green);
}
.post-cta h3 {
  font-family: 'Fraunces', serif; font-size: 1.25rem;
  color: var(--green-deep); margin-bottom: 0.45rem;
}
.post-cta p {
  color: var(--text); font-size: 0.98rem;
  line-height: 1.7; margin-bottom: 1.05rem;
}
.post-cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.post-cta-actions .btn { padding: 0.75rem 1.6rem; font-size: 0.92rem; }
.post-cta-actions .btn--outline {
  border-color: var(--green-deep); color: var(--green-deep);
}
.post-cta-actions .btn--outline:hover {
  background: var(--green-deep); color: var(--green-pale);
}

/* Related posts strip */
.post-related-strip {
  background: var(--cream);
  padding: 3rem 2rem 4rem;
  border-top: 1px solid var(--cream-dark);
}
.post-related-strip .container { padding: 0; }
.post-related-strip .cat-block-head { margin-bottom: 1.5rem; }

/* Responsive */
@media (max-width: 880px) {
  .news-featured { grid-template-columns: 1fr; }
  .news-featured-media { aspect-ratio: 16 / 9; }
  .news-featured-body { padding: 1.85rem 1.65rem 1.95rem; }
}
@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .post-article { padding: 2.25rem 1.25rem 2.75rem; }
  .post-article--bare { padding-top: 5.5rem; }
  .post-body p { font-size: 1rem; line-height: 1.8; }
  .post-related-strip { padding: 2.5rem 1.25rem 3rem; }
  .news-featured-title { font-size: 1.4rem; }
  .news-featured-excerpt { font-size: 0.96rem; }
}

/* ============================================================
   About / FAQ / Contact — content-driven secondary pages.
   Inherits cat-header (catalog.css), brand tokens (styles.css).
   ============================================================ */

/* ---- Generic content section wrapper ---- */
.content-section { padding: 3.25rem 2rem 1rem; }
.content-section .container { max-width: 920px; }
.content-section + .content-section { padding-top: 0.25rem; }
.content-section .section-label { justify-content: flex-start; margin-bottom: 0.75rem; }
.content-section h2 {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--green-deep); margin-bottom: 1rem; line-height: 1.2;
  letter-spacing: -0.01em;
}
.content-section p {
  font-family: 'Commissioner', sans-serif;
  font-size: 1.05rem; line-height: 1.85;
  color: var(--text); margin-bottom: 1.25rem;
}
.content-section a:not(.btn):not(.ab-stat):not(.faq-item summary) {
  color: var(--green); text-decoration: underline;
  text-underline-offset: 3px; transition: color var(--transition);
}
.content-section a:not(.btn):not(.ab-stat):not(.faq-item summary):hover { color: var(--green-light); }

/* ---- About: stat row ---- */
.ab-stats {
  display: flex; gap: 2.25rem;
  margin: 2rem 0 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--cream-dark);
  flex-wrap: wrap;
}
.ab-stat { text-align: left; }
.ab-stat-value {
  font-family: 'Fraunces', serif; font-weight: 900;
  font-size: 2.1rem; color: var(--green); line-height: 1;
}
.ab-stat-label {
  font-size: 0.78rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-top: 0.4rem;
}

/* ---- About: feature card grid ---- */
.ab-feature-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin: 2rem 0 1rem;
}
.ab-feature-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.ab-feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
}
.ab-feature-card h3 {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: 1.3rem; color: var(--green-deep);
  margin-bottom: 0.75rem;
}
.ab-feature-card p {
  color: var(--text-muted); font-size: 0.98rem; line-height: 1.75; margin: 0;
}
@media (max-width: 720px) {
  .ab-feature-grid { grid-template-columns: 1fr; }
}

/* ---- About: pull-quote ---- */
.ab-quote {
  margin: 2.25rem 0; padding: 1.85rem 2.1rem;
  background: var(--cream-dark);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold);
}
.ab-quote-text {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 1.3rem; line-height: 1.55;
  color: var(--green-deep);
  margin: 0 0 0.75rem;
}
.ab-quote-cite {
  font-size: 0.9rem; color: var(--text-muted);
  font-weight: 500; margin: 0;
}

/* ---- About: truck image+text split ---- */
.ab-truck {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem;
  align-items: center; margin: 1.5rem 0 1rem;
}
.ab-truck-img {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
  background: var(--green-pale);
}
.ab-truck-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-truck-tag {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 1.2rem; color: var(--gold);
  margin-top: 1.25rem; line-height: 1.5;
}
@media (max-width: 880px) {
  .ab-truck { grid-template-columns: 1fr; gap: 1.5rem; }
  .ab-truck-img { aspect-ratio: 16 / 11; max-height: 360px; }
}

/* ---- FAQ: TOC chip row ---- */
.faq-toc { margin-bottom: 2.5rem; }

/* ---- FAQ: sections + accordions (native <details>) ---- */
.faq-section { margin-bottom: 2.75rem; scroll-margin-top: 120px; }
.faq-section:last-of-type { margin-bottom: 1rem; }
.faq-section h2 {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--green-deep); margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--cream-dark);
  letter-spacing: -0.01em;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item[open] { border-color: var(--green-light); box-shadow: var(--shadow); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.05rem 1.3rem;
  font-family: 'Commissioner', sans-serif; font-weight: 600;
  font-size: 1.02rem; color: var(--green-deep);
  cursor: pointer; list-style: none;
  transition: background var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item summary::after {
  content: '+'; flex-shrink: 0;
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: 1.4rem; color: var(--green);
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--green-pale);
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.faq-item[open] summary::after {
  content: '\2212';
  background: var(--green);
  color: var(--white);
}
.faq-item summary:hover { background: var(--cream); }
.faq-answer {
  padding: 0.1rem 1.3rem 1.25rem;
  color: var(--text);
  font-size: 1rem; line-height: 1.8;
}
.faq-answer p { margin: 0 0 0.85rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---- Contact page: 4-up info bar + full-bleed map ---- */
.contact-page-info {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem; margin-bottom: 2.5rem;
}
.contact-page-info .contact-info-card { margin: 0; }
/* Email/address/phone values stay proportional and wrap cleanly if long */
.contact-page-info .contact-info-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.contact-page-info .contact-info-card a {
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.contact-page-map {
  background: var(--charcoal);
  margin-top: 2.5rem;
}
.contact-page-map iframe {
  width: 100%; height: 380px; border: none; display: block;
  filter: saturate(0.85) contrast(1.05);
}
@media (max-width: 600px) {
  .contact-page-map iframe { height: 280px; }
}

/* ---- Closing CTA strip (used on all 3 pages) ---- */
.page-cta {
  background: var(--green-deep);
  color: var(--cream);
  padding: 3.5rem 2rem 4rem;
  text-align: center;
  margin-top: 3rem;
}
.page-cta h2 {
  font-family: 'Fraunces', serif; font-weight: 800;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--white); margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}
.page-cta p {
  color: rgba(240,235,225,0.78);
  max-width: 600px; margin: 0 auto 1.75rem;
  font-size: 1.02rem; line-height: 1.7;
}
.page-cta-actions {
  display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap;
}
.page-cta .btn--primary {
  background: var(--green);
  box-shadow: 0 4px 22px rgba(78,197,79,0.32);
}
.page-cta .btn--primary:hover { background: var(--green-light); }
.page-cta .btn--outline {
  border: 2px solid rgba(240,235,225,0.4); color: var(--cream); background: transparent;
}
.page-cta .btn--outline:hover {
  background: var(--cream); color: var(--green-deep); border-color: var(--cream);
}

/* ==========================================================================
   REPORT A PROBLEM — modal + trigger styles. Triggered from footer, cart
   drawer, and any [data-report-problem] element. Submits to /api/report-problem.
   ========================================================================== */
.footer-report,
.cart-report {
  color: inherit;
  opacity: 0.7;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: opacity 0.18s ease, color 0.18s ease;
}
.footer-report:hover,
.cart-report:hover { opacity: 1; color: var(--green); }

.cart-report {
  display: block;
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.82rem;
  font-family: 'Commissioner', sans-serif;
  color: #6E7062;
}

.rp-overlay {
  position: fixed;
  inset: 0;
  z-index: 10010;
  background: rgba(27, 58, 27, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  animation: rpFade 0.22s ease;
}
.rp-overlay[hidden] { display: none; }

@keyframes rpFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes rpRise {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.rp-modal {
  position: relative;
  background: var(--cream, #FBF8F3);
  border-radius: 18px;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 2rem 1.85rem 1.85rem;
  box-shadow: 0 32px 70px -20px rgba(27, 58, 27, 0.45), 0 2px 0 rgba(200, 169, 110, 0.18) inset;
  border: 1px solid rgba(200, 169, 110, 0.28);
  animation: rpRise 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.rp-close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--green-deep, #1B3A1B);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.rp-close:hover { background: rgba(27, 58, 27, 0.08); transform: rotate(90deg); }

.rp-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--green-deep, #1B3A1B);
  margin: 0 2.2rem 0.35rem 0;
  letter-spacing: -0.01em;
}
.rp-intro {
  font-family: 'Commissioner', sans-serif;
  font-size: 0.92rem;
  color: #4A5246;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.rp-form { display: flex; flex-direction: column; gap: 0.95rem; }
.rp-field { display: flex; flex-direction: column; gap: 0.32rem; }
.rp-field label {
  font-family: 'Commissioner', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-deep, #1B3A1B);
}
.rp-field .rp-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #8A8A80;
  font-size: 0.72rem;
}
.rp-field select,
.rp-field input,
.rp-field textarea {
  font-family: 'Commissioner', sans-serif;
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid rgba(27, 58, 27, 0.18);
  border-radius: 10px;
  background: #FFFFFF;
  color: var(--green-deep, #1B3A1B);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
  box-sizing: border-box;
}
.rp-field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.rp-field select:focus,
.rp-field input:focus,
.rp-field textarea:focus {
  outline: none;
  border-color: var(--green, #3DA53E);
  box-shadow: 0 0 0 3px rgba(61, 165, 62, 0.18);
}

.rp-privacy {
  font-family: 'Commissioner', sans-serif;
  font-size: 0.75rem;
  color: #6E7062;
  line-height: 1.45;
  margin: 0.15rem 0 0;
}

.rp-error {
  background: #FDECEC;
  color: #8A2828;
  border: 1px solid #F2C6C6;
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  font-size: 0.85rem;
  font-family: 'Commissioner', sans-serif;
}

.rp-submit {
  margin-top: 0.4rem;
  width: 100%;
  justify-content: center;
}
.rp-submit[disabled] { opacity: 0.55; cursor: wait; }

.rp-success {
  text-align: center;
  padding: 0.85rem 0.5rem 0.25rem;
}
.rp-success svg {
  width: 56px;
  height: 56px;
  color: var(--green, #3DA53E);
  margin-bottom: 0.55rem;
}
.rp-success h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--green-deep, #1B3A1B);
  margin: 0 0 0.35rem;
}
.rp-success p {
  font-family: 'Commissioner', sans-serif;
  font-size: 0.92rem;
  color: #4A5246;
  margin: 0 0 1.1rem;
  line-height: 1.5;
}
.rp-success-close { width: 100%; justify-content: center; }

@media (max-width: 520px) {
  .rp-modal { padding: 1.7rem 1.25rem 1.4rem; border-radius: 14px; }
  .rp-title { font-size: 1.35rem; }
}
