/* ==========================================================================
   Justice Served Sweet — theme.css
   Single source of truth for all visual styling. No CSS lives in template files.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400&family=Nunito:wght@300;400;500;600;700;800;900&display=swap');

/* --------------------------------------------------------------------------
   1. COLOR TOKENS (Section 6 / 6.1) — raw HSL channels, single source of truth.
   Overridden live by Customizer values via wp_add_inline_style (Section 22.9).
   -------------------------------------------------------------------------- */
:root {
  --background: 345 65% 97%;
  --foreground: 335 40% 22%;

  --card: 345 60% 95%;
  --card-foreground: 335 40% 22%;

  --primary: 338 72% 62%;
  --primary-foreground: 40 45% 98%;

  --secondary: 340 55% 94%;
  --secondary-foreground: 335 40% 22%;

  --muted: 340 40% 93%;
  --muted-foreground: 335 18% 42%;

  --accent: 42 80% 55%;
  --accent-foreground: 335 40% 22%;

  --border: 338 35% 88%;

  --radius: 1.25rem;

  --font-display: 'Fraunces', serif;
  --font-body: 'Nunito', sans-serif;

  --shadow-soft: 0 6px 24px -6px hsl(338 60% 55% / 0.22);
  --shadow-elevated: 0 14px 50px -10px hsl(338 60% 45% / 0.28);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --marigold: 42 88% 62%;
  --teal: 335 45% 28%;
  --lilac: 340 65% 88%;
  --nopal: 338 55% 45%;

  --butter: 345 65% 95%;
  --aqua: 340 55% 95%;

  --legal-navy: 335 42% 26%;
  --legal-gold: 42 78% 52%;
  --stamp-red: 340 72% 48%;
  --manila: 38 55% 84%;

  --header-height: 104px;
  --logo-height: 76px;

  /* Page gutters — Lovable `.container-wide`: px-6 / lg:px-8 */
  --page-gutter: 1.5rem; /* 24px < lg */
  --page-max: 80rem; /* max-w-7xl = 1280px */

  /* Contact panel — Lovable px-6 / md:px-12 / lg:px-16 */
  --contact-gutter: 1.5rem;

  /* Button system tokens (Section 2.2 / 11.4.1) */
  --btn-radius: 999px;
  --btn-height: 3rem;
  --btn-padding: 0.9rem 2rem;
  --btn-font-size: 12px;
  --btn-font-weight: 600;
  --btn-letter-spacing: 0.22em;
  --btn-text-transform: uppercase;
  --color-primary: hsl(var(--primary));
  --color-button-text: hsl(var(--primary-foreground));
  --color-border: hsl(var(--border));
  --color-surface: hsl(var(--secondary) / 0.4);
  --card-radius: 1.5rem;
}

@media (min-width: 768px) {
  :root {
    --header-height: 152px;
    --contact-gutter: 3rem;
  }
}
@media (min-width: 1024px) {
  :root {
    --page-gutter: 2rem; /* 32px lg+ */
    --contact-gutter: 4rem;
  }
}

/* --------------------------------------------------------------------------
   2. BASE / RESET (Section 2.2 heading weight reset, descender safety)
   -------------------------------------------------------------------------- */
* { border-color: hsl(var(--border)); box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: clip; }

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }

img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.pd-main-img):not(.pd-thumb-img):not(.divider-bg-img):not(.about-portrait-img):not(.service-step-img) {
  max-width: 100%;
  height: auto;
}
.cover-img, .hero-bg-img, .pd-main-img, .pd-thumb-img, .divider-bg-img, .about-portrait-img, .service-step-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Product cards: show full plate/product shot centered (no hard-crop zoom) */
.product-card-img,
.theme-product-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  font-weight: inherit;
  font-size: inherit;
  line-height: 1.15;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font-family: var(--font-body); }

/* Clickable affordance — match Lovable cursor-pointer on interactive UI */
a[href],
button:not(:disabled),
[role="button"],
[role="tab"],
[role="menuitem"],
label[for],
summary,
select,
.theme-card-link,
.theme-choose-options,
.folder-tab,
.site-header__brand,
.site-header__cta,
.site-header__cart-btn,
.site-header__menu-btn,
.nav-panel__nav a,
.nav-panel__nav button,
.nav-panel__close,
.nav-panel__foot a,
.theme-product-card-wrap,
.policy-card,
.faq-item__q,
.services-accordion__item,
input[type="checkbox"],
input[type="radio"],
input[type="range"],
input[type="submit"],
input[type="button"] {
  cursor: pointer;
}
button:disabled,
[aria-disabled="true"],
.theme-atc-btn:disabled {
  cursor: not-allowed;
}

/* Lovable parity: w-full max-w-7xl mx-auto px-6 lg:px-8
   Side gutters use longhands only — never set `padding: … 0` on this node. */
.container-wide {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  box-sizing: border-box;
}

/* Vertical shells used with .container-wide (avoid inline padding shorthand) */
.container-wide--page {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.container-wide--archive {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.screen-reader-text { position: absolute; left: -9999px; }
.scroll-mt-24 { scroll-margin-top: 6rem; }
.bg-aqua-tint-40 { background: hsl(var(--aqua) / 0.4); }
.bg-aqua-tint-30 { background: hsl(var(--aqua) / 0.3); }
.bg-background-solid { background: hsl(var(--background)); }
#shop, #services, #about, #faq, #contact, #most-wanted, #new-evidence, #open-cases { scroll-margin-top: 6rem; }

/* --------------------------------------------------------------------------
   3. SHARED COMPONENT CLASSES (from src/index.css @layer components)
   -------------------------------------------------------------------------- */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  font-family: var(--font-body);
  font-weight: 600;
  display: inline-block;
}

.pill, .pill-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  transition: all 0.3s var(--transition-smooth);
  padding: 0.875rem 2rem;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
  border: none;
}
.pill {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-soft);
}
.pill:hover { background-color: hsl(var(--primary) / 0.9); transform: translateY(-2px); box-shadow: var(--shadow-elevated); }
.pill:active { transform: translateY(0) scale(0.97); }

.pill-ghost {
  border: 1px solid hsl(var(--foreground) / 0.25);
  background-color: hsl(var(--background) / 0.6);
  backdrop-filter: blur(6px);
  color: hsl(var(--foreground));
}
.pill-ghost:hover { border-color: hsl(var(--foreground)); background-color: hsl(var(--background)); transform: translateY(-2px); }
.pill-ghost:active { transform: translateY(0) scale(0.97); }

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content: '';
  position: absolute; bottom: 0; left: 0; width: 100%; height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

.stamp {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 10px;
  font-family: var(--font-body);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: hsl(var(--stamp-red));
  border: 2px solid hsl(var(--stamp-red) / 0.85);
  background: hsl(var(--stamp-red) / 0.06);
  text-shadow: 0 0 1px hsl(var(--stamp-red) / 0.25);
  box-shadow: inset 0 0 0 1px hsl(var(--stamp-red) / 0.15);
}

.case-file-tab {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 0.375rem 0.375rem 0 0;
  padding: 0.375rem 1rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: hsl(var(--legal-navy));
  background: hsl(var(--manila));
  border: 1px solid hsl(var(--legal-navy) / 0.2);
  border-bottom: none;
  box-shadow: 0 2px 0 0 hsl(var(--legal-navy) / 0.08);
  clip-path: polygon(0 100%, 0 20%, 12% 0, 100% 0, 100% 100%);
}

.case-sticky {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(var(--legal-navy));
  background: hsl(var(--manila));
  border: 1px dashed hsl(var(--legal-navy) / 0.35);
  border-radius: 0.25rem;
  box-shadow: 2px 3px 0 hsl(var(--legal-navy) / 0.12);
  transform: rotate(-1.5deg);
}

.legal-pad {
  background-color: hsl(var(--butter));
  background-image:
    linear-gradient(to right, transparent 0, transparent 3.25rem, hsl(var(--stamp-red) / 0.28) 3.25rem, hsl(var(--stamp-red) / 0.28) calc(3.25rem + 1px), transparent calc(3.25rem + 1px)),
    repeating-linear-gradient(to bottom, transparent 0, transparent 1.75rem, hsl(var(--legal-navy) / 0.09) 1.75rem, hsl(var(--legal-navy) / 0.09) calc(1.75rem + 1px));
}

.court-marker {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 900;
  flex-shrink: 0;
  width: 1.75rem; height: 1.75rem; min-width: 1.75rem;
  line-height: 1;
  font-size: 11px;
  background: hsl(var(--legal-navy));
  color: hsl(var(--butter));
}
.court-marker.answer { background: hsl(var(--stamp-red)); }

.folder-tab {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1rem 0.75rem;
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
  color: hsl(var(--legal-navy) / 0.7);
  background: hsl(var(--manila) / 0.55);
  border: 1px solid hsl(var(--legal-navy) / 0.18);
  border-bottom: none;
  border-top-left-radius: 0.9rem;
  border-top-right-radius: 0.9rem;
  margin-right: -1px;
  top: 4px;
  box-shadow: 0 -1px 0 hsl(var(--legal-navy) / 0.05);
}
@media (min-width: 768px) { .folder-tab { font-size: 14px; } }
.folder-tab:hover { color: hsl(var(--legal-navy)); background: hsl(var(--manila) / 0.75); }
.folder-tab-active {
  color: hsl(var(--legal-navy));
  background: hsl(var(--manila));
  top: 0;
  z-index: 2;
  box-shadow: 0 -4px 10px -6px hsl(var(--legal-navy) / 0.25);
}
.folder-tab-active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: hsl(var(--manila));
}

.folder-body {
  position: relative;
  border-radius: 1rem 1rem 1rem 0;
  background: hsl(var(--manila));
  border: 1px solid hsl(var(--legal-navy) / 0.18);
  box-shadow: 0 12px 30px -18px hsl(var(--legal-navy) / 0.35);
}
.folder-body::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image:
    linear-gradient(to right, transparent 0, transparent 3.25rem, hsl(var(--stamp-red) / 0.22) 3.25rem, hsl(var(--stamp-red) / 0.22) calc(3.25rem + 1px), transparent calc(3.25rem + 1px)),
    repeating-linear-gradient(to bottom, transparent 0, transparent 1.75rem, hsl(var(--legal-navy) / 0.07) 1.75rem, hsl(var(--legal-navy) / 0.07) calc(1.75rem + 1px));
  opacity: 0.55;
}

/* --------------------------------------------------------------------------
   4. ANIMATIONS (Section 2.1 — verbatim keyframes ported from source)
   -------------------------------------------------------------------------- */
.scrollbar-none { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-none::-webkit-scrollbar { display: none; }

.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.marquee-track { animation: marqueeX 38s linear infinite; }
@keyframes marqueeX { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.animate-pop { animation: pop 0.35s var(--transition-smooth); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }

.animate-bump { animation: bump 0.4s var(--transition-smooth); }
@keyframes bump { 0% { transform: translateY(0); } 30% { transform: translateY(-4px) scale(1.05); } 100% { transform: translateY(0); } }

.shine { position: relative; overflow: hidden; }
.shine::after {
  content: '';
  position: absolute; top: 0; left: -150%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, hsl(0 0% 100% / 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--transition-smooth);
  pointer-events: none;
}
.shine:hover::after { left: 150%; }

/* Scroll reveal (Section 2.1 #4/#5) — used on product-strip and card grids */
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--transition-smooth), transform 0.5s var(--transition-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
.reveal-item.reveal-stagger-1 { transition-delay: 0.06s; }
.reveal-item.reveal-stagger-2 { transition-delay: 0.12s; }
.reveal-item.reveal-stagger-3 { transition-delay: 0.18s; }
.reveal-item.reveal-stagger-4 { transition-delay: 0.24s; }
body.is-customizer .reveal-item,
.no-js .reveal-item {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .animate-pop, .animate-bump, .marquee-track, .reveal-item, .animate-fade-in, .animate-slide-up {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   5. HEADER + MOBILE MENU
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 0.3s;
  background-color: transparent;
  border-bottom: 1px solid transparent;
}
/* Keep sticky header clear of the WordPress admin bar when logged in */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
.site-header.is-solid,
.site-header.menu-open {
  background-color: hsl(var(--butter) / 0.95);
  backdrop-filter: blur(8px);
  border-bottom-color: hsl(var(--foreground) / 0.1);
}
.site-header__nav {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: 104px;
}
@media (min-width: 768px) { .site-header__nav { height: 152px; } }

.site-header__menu-btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin-left: -0.25rem;
  padding: 0.5rem;
  background: none; border: none;
  color: hsl(var(--foreground));
  transition: color 0.2s;
}
.site-header__menu-btn:hover { color: hsl(var(--primary)); }
.site-header__menu-label { display: none; font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
@media (min-width: 768px) { .site-header__menu-label { display: inline; } }

.site-header__side { display: flex; align-items: center; flex: 1; }
.site-header__side--left { justify-content: flex-start; }
.site-header__side--right { justify-content: flex-end; gap: 0.5rem; }
@media (min-width: 768px) { .site-header__side--right { gap: 0.75rem; } }

.site-header__brand {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  background: none; border: none; cursor: pointer;
  transition: transform 0.3s;
}
.site-header__brand:hover { transform: translateX(-50%) scale(1.05); }
.site-header__brand:active { transform: translateX(-50%) scale(0.95); }
/* Header brand logo — Lovable: h-[4.75rem] / md:h-24 (76px / 96px) */
.site-logo-img {
  height: 4.75rem !important;
  width: auto !important;
  max-height: 4.75rem !important;
  object-fit: contain;
}
@media (min-width: 768px) {
  .site-logo-img {
    height: 6rem !important;
    max-height: 6rem !important;
  }
}
/* Customizer height overrides header logo only (not side/footer) */
.site-logo-img.has-custom-height {
  height: var(--logo-height) !important;
  max-height: var(--logo-height) !important;
}
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; line-height: 4.75rem; }
@media (min-width: 768px) { .site-logo-text { line-height: 6rem; } }
.site-header__slogan {
  display: none;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  font-weight: 600; color: hsl(var(--primary) / 0.8);
}
@media (min-width: 768px) { .site-header__slogan { display: inline; } }

.site-header__cta {
  display: none;
  align-items: center; justify-content: center; gap: 0.5rem;
  background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  transition: all 0.3s;
  border-radius: 999px;
  padding: 0.625rem 1.5rem;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600;
}
@media (min-width: 640px) { .site-header__cta { display: inline-flex; } }
.site-header__cta:hover { background-color: hsl(var(--primary) / 0.9); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.site-header__cta:active { transform: translateY(0) scale(0.97); }

.site-header__cart-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--primary) / 0.5);
  background: none;
  color: hsl(var(--primary));
  transition: all 0.3s;
}
.site-header__cart-btn:hover { border-color: hsl(var(--primary)); background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); transform: scale(1.1); }
.site-header__cart-btn:active { transform: scale(0.95); }
.theme-cart-count {
  position: absolute; top: -0.25rem; right: -0.25rem;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.theme-cart-count:empty { display: none; }

/* Mobile nav panel + overlay (shared visual pattern with cart drawer) */
.theme-panel-overlay {
  position: fixed; inset: 0; z-index: 59;
  background: hsl(var(--foreground) / 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
body.nav-open .theme-panel-overlay,
body.cart-open #theme-cart-overlay {
  opacity: 1;
  pointer-events: auto;
}
#theme-cart-overlay { position: fixed; inset: 0; z-index: 59; background: hsl(var(--foreground) / 0.4); opacity: 0; pointer-events: none; transition: opacity 0.2s; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

.nav-panel {
  position: fixed; top: 0; left: 0; height: 100dvh; z-index: 60;
  width: 88vw; max-width: 420px;
  background: hsl(var(--background));
  border-radius: 0 1.5rem 1.5rem 0;
  box-shadow: 0 25px 60px -12px hsl(var(--foreground) / 0.35);
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease-out;
}
body.nav-open .nav-panel { transform: translateX(0); }
/* Match Lovable: px-7 pt-7 pb-5 */
.nav-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 1.75rem 1.25rem;
  flex-shrink: 0;
}
#nav-panel-home-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  line-height: 0;
  transition: opacity 0.2s;
}
#nav-panel-home-btn:hover { opacity: 0.8; }
/* Side menu logo — Lovable: h-12 w-auto object-contain */
.nav-panel__head img,
.nav-panel__logo {
  display: block;
  height: 3rem !important;
  width: auto !important;
  max-height: 3rem !important;
  object-fit: contain;
}
.nav-panel__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 999px; flex-shrink: 0;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border: none;
  padding: 0;
  transition: background 0.2s;
}
.nav-panel__close:hover { background: hsl(var(--primary) / 0.9); }
.nav-panel__close svg { display: block; width: 1.25rem; height: 1.25rem; }
/* Match Lovable: flex-1 px-7 py-6 overflow-y-auto */
.nav-panel__nav {
  flex: 1;
  padding: 1.5rem 1.75rem;
  overflow-y: auto;
  min-height: 0;
}
.nav-panel__nav ul { margin: 0; padding: 0; list-style: none; }
.nav-panel__nav li + li { margin-top: 0.5rem; }
.nav-panel__nav a, .nav-panel__nav button {
  display: block; width: 100%; text-align: left;
  background: none; border: none; padding: 0.5rem 0;
  font-family: var(--font-display); font-size: 1.5rem;
  color: hsl(var(--foreground));
  transition: color 0.2s;
  line-height: 1.2;
}
@media (min-width: 768px) { .nav-panel__nav a, .nav-panel__nav button { font-size: 1.875rem; } }
.nav-panel__nav a:hover, .nav-panel__nav button:hover { color: hsl(var(--primary)); }
/* Match Lovable: px-7 py-6 border-t */
.nav-panel__foot {
  flex-shrink: 0;
  padding: 1.5rem 1.75rem;
  border-top: 1px solid hsl(var(--foreground) / 0.1);
}
.nav-panel__foot p {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: hsl(var(--foreground) / 0.5);
  margin: 0 0 0.75rem;
}
.nav-panel__foot a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 14px;
  color: hsl(var(--foreground));
  transition: color 0.2s;
}
.nav-panel__foot a:hover { color: hsl(var(--primary)); }

/* --------------------------------------------------------------------------
   6. HERO CAROUSEL
   -------------------------------------------------------------------------- */
.hero-carousel { position: relative; width: 100%; height: 100vh; min-height: 100vh; overflow: hidden; }
body.theme-no-hero .hero-carousel { display: none; }
.hero-carousel__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s;
}
.hero-carousel__slide.is-active { opacity: 1; }
.hero-carousel__scrim { position: absolute; inset: 0; background: linear-gradient(to bottom, hsl(var(--foreground) / 0.45), hsl(var(--foreground) / 0.3), hsl(var(--foreground) / 0.6)); }
.hero-carousel__stamp { position: absolute; top: 7rem; right: 2.5rem; z-index: 20; pointer-events: none; display: none; }
@media (min-width: 768px) { .hero-carousel__stamp { display: block; } }
@media (min-width: 1024px) { .hero-carousel__stamp { right: 4rem; } }
/* Floating rubber stamps — match Lovable CaseStamp + bg-background overlays */
.hero-carousel__stamp .stamp {
  font-size: 1rem; /* text-base */
  letter-spacing: 0.22em;
  padding: 0.25rem 0.75rem;
  background: hsl(var(--background) / 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: hsl(var(--stamp-red));
  border: 2px solid hsl(var(--stamp-red) / 0.85);
  box-shadow: inset 0 0 0 1px hsl(var(--stamp-red) / 0.15);
}
.hero-carousel__corner-stamp { position: absolute; top: -0.75rem; right: -0.75rem; z-index: 10; pointer-events: none; }
@media (min-width: 768px) { .hero-carousel__corner-stamp { top: -1rem; right: -1rem; } }
.hero-carousel__corner-stamp .stamp {
  font-size: 10px;
  padding: 0.25rem 0.75rem;
  background: hsl(var(--background) / 0.85);
  color: hsl(var(--stamp-red));
  border: 2px solid hsl(var(--stamp-red) / 0.85);
  box-shadow: inset 0 0 0 1px hsl(var(--stamp-red) / 0.15);
}
@media (min-width: 768px) {
  .hero-carousel__corner-stamp .stamp { font-size: 12px; }
}
.hero-carousel__content { position: relative; z-index: 10; height: 100%; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 768px) { .hero-carousel__content { align-items: center; justify-content: flex-start; } }
.hero-carousel__inner {
  /* Vertical only — keep .container-wide gutters (Lovable: pb-16 pt-24 md:py-0) */
  padding-top: 6rem;
  padding-bottom: 4rem;
  opacity: 0; transform: translateY(24px);
  animation: heroFadeUp 0.7s var(--transition-smooth) 0.1s forwards;
}
@keyframes heroFadeUp { to { opacity: 1; transform: translateY(0); } }
@media (min-width: 768px) {
  .hero-carousel__inner { padding-top: 0; padding-bottom: 0; }
}
.hero-carousel__card-wrap { max-width: 42rem; margin: 0 auto; transform: rotate(-0.6deg); }
@media (min-width: 768px) { .hero-carousel__card-wrap { margin: 0; } }
.hero-carousel__tab-row { padding-left: 1rem; }
@media (min-width: 768px) { .hero-carousel__tab-row { padding-left: 1.5rem; } }
.hero-carousel__card {
  position: relative;
  border-radius: 1rem 0 1rem 1rem;
  border: 1px solid hsl(var(--foreground) / 0.15);
  box-shadow: var(--shadow-elevated);
  padding: 1.75rem;
  color: hsl(var(--foreground));
}
@media (min-width: 768px) { .hero-carousel__card { padding: 2.5rem; } }
.hero-carousel__eyebrow { margin-bottom: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-carousel__title { font-family: var(--font-display); line-height: 1.02; font-size: 2.2rem; letter-spacing: -0.02em; color: hsl(var(--foreground)); }
@media (min-width: 768px) { .hero-carousel__title { font-size: 3.2rem; } }
@media (min-width: 1280px) { .hero-carousel__title { font-size: 4.2rem; } }
.hero-carousel__kicker { margin-top: 0.75rem; font-size: 10px; color: hsl(var(--foreground) / 0.6); text-transform: uppercase; letter-spacing: 0.28em; }
@media (min-width: 768px) { .hero-carousel__kicker { font-size: 12px; } }
.hero-carousel__body { margin-top: 1rem; color: hsl(var(--foreground) / 0.85); font-size: 1rem; line-height: 1.6; }
@media (min-width: 768px) { .hero-carousel__body { font-size: 1.125rem; } }
.hero-carousel__actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-carousel__actions .pill { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-carousel__btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid hsl(var(--foreground) / 0.25);
  padding: 0.875rem 2rem; font-size: 13px; font-weight: 600;
  background: transparent; color: hsl(var(--foreground));
  transition: all 0.2s;
}
.hero-carousel__btn-outline:hover { background: hsl(var(--foreground) / 0.06); }

.hero-carousel__dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 20; display: flex; gap: 0.375rem; }
.hero-carousel__dot { height: 8px; width: 8px; border-radius: 999px; background: hsl(var(--background) / 0.6); border: none; padding: 0; transition: all 0.2s; }
.hero-carousel__dot.is-active { width: 24px; background: hsl(var(--background)); }

/* --------------------------------------------------------------------------
   7. MARQUEE BAR
   -------------------------------------------------------------------------- */
.marquee-bar { width: 100%; overflow: hidden; padding: 0.75rem 0; }
.marquee-bar__track { display: flex; white-space: nowrap; }
.marquee-bar__seg { font-family: var(--font-display); font-size: 14px; padding: 0 1rem; letter-spacing: 0.04em; text-transform: uppercase; }
@media (min-width: 768px) { .marquee-bar__seg { font-size: 1rem; } }
.marquee-bar--teal { background: hsl(var(--teal)); }
.marquee-bar--teal .marquee-bar__seg { color: #fff; }
.marquee-bar--marigold { background: hsl(var(--marigold)); }
.marquee-bar--marigold .marquee-bar__seg { color: hsl(var(--foreground)); }

/* --------------------------------------------------------------------------
   8. IMAGE DIVIDER
   -------------------------------------------------------------------------- */
.image-divider { position: relative; width: 100%; height: 60vh; min-height: 420px; overflow: hidden; }
@media (min-width: 768px) { .image-divider { height: 70vh; } }
.image-divider__scrim { position: absolute; inset: 0; background: linear-gradient(to right, hsl(var(--foreground) / 0.7), hsl(var(--foreground) / 0.4), hsl(var(--foreground) / 0.2)); }
.image-divider__content { position: relative; z-index: 10; height: 100%; display: flex; align-items: center; }
.image-divider__inner { max-width: 36rem; color: hsl(var(--background)); }
.image-divider__title { font-family: var(--font-display); line-height: 1.05; font-size: 2rem; letter-spacing: -0.02em; color: hsl(var(--background)); }
@media (min-width: 768px) { .image-divider__title { font-size: 3.4rem; } }
.image-divider__cta { margin-top: 1.75rem; }

/* --------------------------------------------------------------------------
   9. PRODUCT STRIP + GRID + CARD
   -------------------------------------------------------------------------- */
.product-strip { scroll-margin-top: 6rem; }
.product-strip__inner { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .product-strip__inner { padding-top: 6rem; padding-bottom: 6rem; } }
.product-strip__head { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2.5rem; }
.product-strip__row { display: flex; flex-direction: column; gap: 1rem; width: 100%; }
@media (min-width: 768px) { .product-strip__row { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.product-strip__title { font-family: var(--font-display); font-weight: 500; line-height: 1.05; font-size: 1.9rem; letter-spacing: -0.02em; color: hsl(var(--foreground)); }
@media (min-width: 768px) { .product-strip__title { font-size: 2.4rem; } }
@media (min-width: 1280px) { .product-strip__title { font-size: 3.1rem; } }
.product-strip__subtitle { display: block; font-family: var(--font-body); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: hsl(var(--primary)); margin-top: 0.75rem; }
.product-strip__desc { margin-top: 1rem; color: hsl(var(--foreground) / 0.7); max-width: 36rem; }
.product-strip__cta {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.5rem; border-radius: 999px;
  border: 1px solid hsl(var(--primary) / 0.4);
  color: hsl(var(--primary));
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  transition: all 0.3s;
}
.product-strip__cta:hover { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }

/* Mobile-first product grid: keep the catalog compact with two cards per row. */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
@media (min-width: 640px) { .product-grid { gap: 2rem; } }
@media (min-width: 1024px) { .product-grid--strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .product-grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
/* Related: 2-col → 4-col (must follow base .product-grid--related so lg wins) */
.product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 1024px) {
  .product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.theme-card-link { position: absolute; inset: 0; z-index: 2; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  background: hsl(var(--card));
  border-radius: 1.25rem;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px 0 hsl(var(--foreground) / 0.05);
  transition: box-shadow 0.5s;
}
.theme-product-card:hover .theme-product-card__image-wrapper { box-shadow: var(--shadow-elevated); }
.theme-product-card__badge {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
  padding: 0.25rem 0.75rem; border-radius: 0.375rem;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em;
  background: hsl(var(--butter) / 0.9); color: hsl(var(--legal-navy));
  border: 1px solid hsl(var(--legal-navy) / 0.25);
}
.theme-product-card__badge--soldout { right: 0.75rem; left: auto; background: hsl(var(--foreground)); color: hsl(var(--background)); border: none; }
.theme-product-card__evidence {
  position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 3;
  opacity: 0; transition: opacity 0.5s;
  transform: rotate(-10deg);
}
.theme-product-card:hover .theme-product-card__evidence { opacity: 1; }
.theme-product-card__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: all 0.7s ease-out;
}
.theme-product-card:hover .theme-product-card__img { transform: scale(1.05); }
.theme-product-card__img--primary.has-secondary { }
.theme-product-card:hover .theme-product-card__img--primary.has-secondary { opacity: 0; }
.theme-product-card__img--secondary { opacity: 0; }
.theme-product-card:hover .theme-product-card__img--secondary { opacity: 1; }
.theme-product-card.is-soldout .theme-product-card__img { opacity: 0.6; }
.theme-product-card.is-soldout:hover .theme-product-card__img--secondary { opacity: 0.6; }

.theme-product-card__body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0.375rem; text-align: center; }
.theme-product-card__title { font-size: 14px; font-weight: 600; line-height: 1.4; color: hsl(var(--foreground)); transition: color 0.2s; }
.theme-product-card:hover .theme-product-card__title { color: hsl(var(--primary)); }
.theme-product-card__price { font-size: 14px; color: hsl(var(--foreground) / 0.7); }

.theme-product-card-wrap .theme-choose-options {
  position: relative; z-index: 3; pointer-events: auto;
  margin-top: 0.75rem; display: block; width: 100%; flex-shrink: 0; text-align: center;
  padding: 0.75rem 0; border-radius: 999px;
  border: 1px solid hsl(var(--foreground) / 0.2);
  background: transparent; color: hsl(var(--foreground));
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  transition: all 0.3s;
}
.theme-product-card-wrap .theme-choose-options:hover { background: hsl(var(--foreground)); color: hsl(var(--background)); }

/* Keep two-column product cards readable on narrow phone screens. */
@media (max-width: 639px) {
  .theme-product-card__image-wrapper { border-radius: 0.9rem; margin-bottom: 0.75rem; }
  .theme-product-card__badge { top: 0.5rem; left: 0.5rem; padding: 0.2rem 0.45rem; font-size: 8px; letter-spacing: 0.12em; }
  .theme-product-card__badge--soldout { right: 0.5rem; left: auto; }
  .theme-product-card__evidence { display: none; }
  .theme-product-card__title { font-size: 12px; line-height: 1.3; }
  .theme-product-card__price { font-size: 12px; }
  .theme-product-card-wrap .theme-choose-options { margin-top: 0.6rem; padding: 0.65rem 0.25rem; font-size: 9px; letter-spacing: 0.08em; }
}

/* --------------------------------------------------------------------------
   10. SHOP / ARCHIVE PAGE
   -------------------------------------------------------------------------- */
.shop-intro { padding-top: 4rem; padding-bottom: 3rem; text-align: center; }
@media (min-width: 768px) { .shop-intro { padding-top: 6rem; padding-bottom: 3rem; } }
.shop-intro__inner { max-width: 48rem; margin: 0 auto; }
.shop-heading { font-family: var(--font-display); font-weight: 500; line-height: 1.05; font-size: 2rem; letter-spacing: -0.02em; color: hsl(var(--foreground)); }
@media (min-width: 768px) { .shop-heading { font-size: 2.6rem; } }
@media (min-width: 1280px) { .shop-heading { font-size: 3.6rem; } }
.shop-intro__body { margin-top: 1.25rem; font-size: 1.125rem; color: hsl(var(--foreground) / 0.7); max-width: 28rem; margin-left: auto; margin-right: auto; }
.shop-grid-wrap { padding-bottom: 5rem; }
@media (min-width: 768px) { .shop-grid-wrap { padding-bottom: 7rem; } }

.shop-cats {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.5rem;
  /* Bleed to viewport edges on mobile like Lovable (-mx-6 px-6), re-align at md */
  margin-left: calc(var(--page-gutter) * -1);
  margin-right: calc(var(--page-gutter) * -1);
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  max-width: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.shop-cats::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .shop-cats {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    max-width: 100%;
    scroll-snap-type: none;
  }
}
.shop-cats button {
  padding: 0.375rem 0.75rem; border-radius: 0.375rem;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  white-space: nowrap; flex-shrink: 0;
  background: hsl(var(--manila) / 0.6); color: hsl(var(--legal-navy) / 0.8);
  border: 1px solid transparent;
  transition: all 0.2s;
}
.shop-cats button:hover { background: hsl(var(--manila)); }
.shop-cats button.is-active { background: hsl(var(--legal-navy)); color: hsl(var(--butter)); border-color: hsl(var(--legal-gold)); }

.shop-filters {
  display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: center;
  background: hsl(var(--background) / 0.7);
  border: 1px solid hsl(var(--foreground) / 0.1);
  border-radius: 1.25rem;
  padding: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .shop-filters { grid-template-columns: repeat(3, 1fr); } }
.shop-filters__search { grid-column: span 1; position: relative; }
@media (min-width: 768px) { .shop-filters__search { grid-column: span 2; } }
.shop-filters__search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: hsl(var(--foreground) / 0.4); }
.shop-filters__search input {
  width: 100%; height: 2.75rem; border-radius: 999px;
  padding: 0 1rem 0 2.75rem;
  background: hsl(var(--background)); border: 1px solid hsl(var(--foreground) / 0.15);
  font-size: 15px; color: hsl(var(--foreground));
}
.shop-filters__search input:focus { outline: 2px solid hsl(var(--primary) / 0.4); }
.shop-filters__price { padding: 0 0.75rem; }
.shop-filters__price-label { font-size: 11px; color: hsl(var(--foreground) / 0.6); margin-bottom: 0.5rem; text-align: center; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }

/* Dual-range price slider (Section 31.4) */
.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: hsl(var(--border)); }
.range-track-fill { background: hsl(var(--primary)); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 16px; height: 16px; border-radius: 999px; background: hsl(var(--primary)); border: 2px solid hsl(var(--background)); box-shadow: 0 1px 4px hsl(var(--foreground) / 0.3); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 999px; background: hsl(var(--primary)); border: 2px solid hsl(var(--background)); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.shop-loadmore { display: flex; justify-content: center; gap: 0.75rem; margin-top: 3rem; }
.shop-loadmore button {
  padding: 0.75rem 2rem; border-radius: 999px;
  border: 1px solid hsl(var(--foreground) / 0.2); background: transparent; color: hsl(var(--foreground));
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  transition: all 0.3s;
}
.shop-loadmore button:hover { background: hsl(var(--foreground)); color: hsl(var(--background)); }
.shop-empty { text-align: center; color: hsl(var(--foreground) / 0.6); margin-top: 3rem; }

/* --------------------------------------------------------------------------
   11. SERVICES ("How Ordering Works")
   -------------------------------------------------------------------------- */
.services-section { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .services-section { padding-top: 7rem; padding-bottom: 7rem; } }
.services-section__head { margin-bottom: 3rem; max-width: 42rem; }
.services-section__head .shop-heading { font-size: 2rem; }
@media (min-width: 768px) { .services-section__head .shop-heading { font-size: 2.6rem; } }
@media (min-width: 1280px) { .services-section__head .shop-heading { font-size: 3.6rem; } }
.services-section__head p { margin-top: 1.25rem; font-size: 1.125rem; color: hsl(var(--foreground) / 0.7); }

.services-accordion { display: none; width: 100%; gap: 0.75rem; height: 28rem; }
@media (min-width: 768px) { .services-accordion { display: flex; } }
@media (min-width: 1024px) { .services-accordion { height: 32rem; } }
.services-accordion__item {
  position: relative; overflow: hidden; border-radius: 1.5rem;
  border: 1px solid hsl(var(--foreground) / 0.1);
  text-align: left;
  flex: 1;
  transition: flex 0.7s ease-out;
  background-size: cover; background-position: center;
}
.services-accordion__item.is-active { flex: 5; }
.services-accordion__scrim { position: absolute; inset: 0; background: linear-gradient(to top, hsl(var(--foreground) / 0.8), hsl(var(--foreground) / 0.3), transparent); }
.services-accordion__inner { position: relative; z-index: 10; display: flex; height: 100%; flex-direction: column; padding: 1.5rem; color: hsl(var(--background)); align-items: center; justify-content: center; transition: all 0.7s; }
@media (min-width: 1024px) { .services-accordion__inner { padding: 2rem; } }
.services-accordion__item.is-active .services-accordion__inner { justify-content: flex-end; align-items: flex-start; }
.services-accordion__icon { margin-bottom: 1rem; display: inline-flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: 999px; background: hsl(var(--background) / 0.2); backdrop-filter: blur(4px); }
.services-accordion__step { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 700; color: hsl(var(--background) / 0.8); margin-bottom: 0.25rem; }
.services-accordion__title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; }
@media (min-width: 1024px) { .services-accordion__title { font-size: 1.5rem; } }
.services-accordion__body { margin-top: 0.5rem; font-size: 14px; line-height: 1.6; }
.services-accordion__vertical-title { font-family: var(--font-display); font-size: 1rem; line-height: 1.2; white-space: nowrap; writing-mode: vertical-rl; text-orientation: mixed; display: block; }
.services-accordion__active-content { display: none; flex-direction: column; }
.services-accordion__item.is-active .services-accordion__active-content { display: flex; }
.services-accordion__item.is-active .services-accordion__vertical-title { display: none; }

.services-stack { display: block; }
@media (min-width: 768px) { .services-stack { display: none; } }
.services-stack__item + .services-stack__item { margin-top: 1rem; }
.services-stack__item { border-radius: 1.5rem; border: 1px solid hsl(var(--foreground) / 0.1); background: hsl(var(--background) / 0.7); padding: 1.5rem; display: flex; align-items: flex-start; gap: 1rem; }
.services-stack__icon { display: inline-flex; height: 2.5rem; width: 2.5rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 999px; background: hsl(var(--primary) / 0.1); color: hsl(var(--primary)); }
.services-stack__step { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 700; color: hsl(var(--legal-navy) / 0.7); }
.services-stack__title { font-family: var(--font-display); font-size: 1.125rem; margin-top: 0.125rem; }
.services-stack__body { margin-top: 0.5rem; font-size: 14px; color: hsl(var(--foreground) / 0.7); line-height: 1.6; }

/* --------------------------------------------------------------------------
   12. JURY VERDICTS
   -------------------------------------------------------------------------- */
.verdicts-section { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .verdicts-section { padding-top: 6rem; padding-bottom: 6rem; } }
.verdicts-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .verdicts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .verdicts-grid { grid-template-columns: repeat(3, 1fr); } }
.verdict-card { padding: 1.5rem; }
@media (min-width: 768px) { .verdict-card { padding: 1.75rem; } }
.verdict-card__stars { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.25rem; color: hsl(var(--primary)); }
.verdict-card__quote { margin-top: 1rem; font-size: 15px; line-height: 1.6; color: hsl(var(--legal-navy) / 0.85); }
.verdict-card__name { margin-top: 0.75rem; font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; font-weight: 700; color: hsl(var(--legal-navy) / 0.7); }
.verdicts-empty { padding: 2rem; text-align: center; }
@media (min-width: 768px) { .verdicts-empty { padding: 3rem; } }
.verdicts-empty__inner { max-width: 28rem; margin: 0 auto; }
.verdicts-empty__title { margin-top: 1.5rem; font-family: var(--font-display); font-size: 1.5rem; color: hsl(var(--legal-navy)); }
@media (min-width: 768px) { .verdicts-empty__title { font-size: 1.875rem; } }
.verdicts-empty__body { margin-top: 0.75rem; font-size: 15px; line-height: 1.6; color: hsl(var(--legal-navy) / 0.75); }
.verdicts-empty__btn {
  margin-top: 1.75rem; display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.75rem; border-radius: 999px; border: none;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  transition: background 0.2s;
}
.verdicts-empty__btn:hover { background: hsl(var(--primary) / 0.9); }

/* --------------------------------------------------------------------------
   13. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-section { padding-top: 5rem; padding-bottom: 5rem; background: hsl(var(--butter)); }
@media (min-width: 768px) { .about-section { padding-top: 7rem; padding-bottom: 7rem; } }
.about-section__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; } }
.about-section__portrait { aspect-ratio: 1/1; border-radius: 1.5rem; background: hsl(var(--accent)); overflow: hidden; position: relative; }
.about-section__title { font-family: var(--font-display); line-height: 1.1; font-size: 1.6rem; letter-spacing: -0.01em; }
@media (min-width: 768px) { .about-section__title { font-size: 2rem; } }
@media (min-width: 1280px) { .about-section__title { font-size: 2.6rem; } }
.about-section__copy { margin-top: 1.5rem; }
.about-section__copy p { color: hsl(var(--foreground) / 0.8); font-size: 1rem; line-height: 1.7; margin-bottom: 1rem; }
@media (min-width: 768px) { .about-section__copy p { font-size: 1.125rem; } }
.about-section__actions { padding-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.about-section__features { background: hsl(var(--aqua)); padding-top: 3.5rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .about-section__features { padding-top: 5rem; padding-bottom: 6rem; } }
.about-section__features-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
@media (min-width: 768px) { .about-section__features-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.about-feature__icon { width: 3rem; height: 3rem; border-radius: 999px; background: hsl(var(--background)); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: hsl(var(--primary)); }
.about-feature__title { font-family: var(--font-display); font-size: 1.125rem; margin-bottom: 0.5rem; }
.about-feature__body { font-size: 14px; color: hsl(var(--foreground) / 0.7); line-height: 1.6; max-width: 20rem; margin: 0 auto; }

/* --------------------------------------------------------------------------
   14. FAQ SECTION
   -------------------------------------------------------------------------- */
.faq-section { padding-top: 5rem; padding-bottom: 5rem; position: relative; }
@media (min-width: 768px) { .faq-section { padding-top: 7rem; padding-bottom: 7rem; } }
.faq-section__gavel { position: absolute; top: 2.5rem; right: 1.5rem; width: 10rem; height: auto; color: hsl(var(--legal-navy) / 0.05); pointer-events: none; }
@media (min-width: 768px) { .faq-section__gavel { right: 4rem; width: 14rem; } }
.faq-section__head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; position: relative; }
.faq-section__head .shop-heading { font-size: 2rem; }
@media (min-width: 768px) { .faq-section__head .shop-heading { font-size: 2.6rem; } }
@media (min-width: 1280px) { .faq-section__head .shop-heading { font-size: 3.6rem; } }
.faq-tabs-wrap { max-width: 64rem; margin: 0 auto; }
.faq-tabs { display: flex; overflow-x: auto; scrollbar-width: none; margin-bottom: -1px; padding-left: 0.25rem; padding-right: 1rem; }
.faq-tabs::-webkit-scrollbar { display: none; }
.faq-folder-body { position: relative; padding: 1.25rem; }
@media (min-width: 768px) { .faq-folder-body { padding: 2rem; } }
.faq-folder-body__stamp { position: absolute; top: 1rem; right: 1rem; transform: rotate(-6deg); font-size: 10px; padding: 0.25rem 0.5rem; }
@media (min-width: 768px) { .faq-folder-body__stamp { top: 1.25rem; right: 1.5rem; font-size: 12px; } }
.faq-list { position: relative; display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 768px) { .faq-list { margin-top: 2.5rem; } }
.faq-item { border-radius: 0.75rem; border: 1px solid hsl(var(--legal-navy) / 0.15); background: hsl(var(--background) / 0.85); overflow: hidden; }
.faq-item__q {
  width: 100%; display: flex; align-items: flex-start; gap: 1rem; text-align: left;
  padding: 1.25rem 1.25rem; background: none; border: none;
}
@media (min-width: 768px) { .faq-item__q { padding: 1.5rem 1.5rem; } }
.faq-item__q-text { flex: 1; font-weight: 600; font-size: 16px; color: hsl(var(--foreground)); line-height: 1.6; padding-right: 0.5rem; }
@media (min-width: 768px) { .faq-item__q-text { font-size: 18px; } }
.faq-item__chevron { width: 1.25rem; height: 1.25rem; color: hsl(var(--primary)); flex-shrink: 0; margin-top: 0.25rem; transition: transform 0.2s; }
.faq-item.is-open .faq-item__chevron { transform: rotate(180deg); }
.faq-item__a-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease-out; }
.faq-item.is-open .faq-item__a-wrap { grid-template-rows: 1fr; }
.faq-item__a-inner { overflow: hidden; }
.faq-item__a { padding: 0 1.25rem 1.25rem; display: flex; align-items: flex-start; gap: 1rem; }
@media (min-width: 768px) { .faq-item__a { padding: 0 1.5rem 1.5rem; } }
.faq-item__a p { flex: 1; color: hsl(var(--foreground) / 0.75); line-height: 1.6; }

.policies-section { max-width: 64rem; margin: 5rem auto 0; }
.policies-head { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2.5rem; }
.policies-head h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; font-size: 1.75rem; letter-spacing: -0.02em; }
@media (min-width: 768px) { .policies-head h3 { font-size: 2.2rem; } }
@media (min-width: 1280px) { .policies-head h3 { font-size: 2.75rem; } }
.policies-head p { color: hsl(var(--foreground) / 0.7); max-width: 36rem; }
.policies-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .policies-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .policies-grid { grid-template-columns: repeat(3, 1fr); } }
.policy-card {
  position: relative; border-radius: 1rem; border: 1px solid hsl(var(--foreground) / 0.1);
  background: hsl(var(--background)); padding: 1.5rem;
  transition: all 0.3s;
}
.policy-card:hover { background: hsl(var(--primary)); border-color: hsl(var(--primary)); transform: translateY(-4px); box-shadow: 0 18px 40px -20px hsl(var(--primary) / 0.45); }
.policy-card__icon { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: hsl(var(--primary) / 0.1); color: hsl(var(--primary)); transition: all 0.3s; }
.policy-card:hover .policy-card__icon { background: hsl(var(--primary-foreground) / 0.2); color: hsl(var(--primary-foreground)); }
.policy-card__title { margin-top: 1.25rem; font-family: var(--font-display); font-size: 1.25rem; color: hsl(var(--foreground)); transition: color 0.3s; }
.policy-card:hover .policy-card__title { color: hsl(var(--primary-foreground)); }
.policy-card__body { margin-top: 0.5rem; font-size: 14px; line-height: 1.6; color: hsl(var(--foreground) / 0.7); transition: color 0.3s; }
.policy-card:hover .policy-card__body { color: hsl(var(--primary-foreground) / 0.85); }
.policy-card__more { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.375rem; font-size: 14px; font-weight: 600; color: hsl(var(--foreground) / 0.6); transition: color 0.3s; }
.policy-card:hover .policy-card__more { color: hsl(var(--primary-foreground)); }
.policy-card--contact { background: hsl(var(--legal-navy)); border-color: hsl(var(--legal-navy)); color: hsl(var(--background)); display: flex; flex-direction: column; justify-content: space-between; }
.policy-card--contact:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px hsl(335 42% 26% / 0.6); }
.policy-card--contact .policy-card__icon { background: hsl(var(--primary) / 0.25); color: hsl(var(--primary-foreground)); }
.policy-card--contact .policy-card__title, .policy-card--contact .policy-card__more { color: hsl(var(--background)); }
.policy-card--contact .policy-card__body { color: hsl(var(--background) / 0.8); }

/* --------------------------------------------------------------------------
   15. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-section { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
@media (min-width: 1024px) { .contact-section { grid-template-columns: repeat(2, 1fr); } }
.contact-section__image { position: relative; min-height: 45vh; }
@media (min-width: 1024px) { .contact-section__image { min-height: 100%; } }
.contact-section__panel {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  padding-top: 4rem;
  padding-bottom: 4rem;
  padding-left: var(--contact-gutter);
  padding-right: var(--contact-gutter);
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .contact-section__panel { padding-top: 5rem; padding-bottom: 5rem; }
}
@media (min-width: 1024px) {
  .contact-section__panel { padding-top: 6rem; padding-bottom: 6rem; }
}
.contact-section__inner { max-width: 36rem; margin: 0 auto; width: 100%; }
@media (min-width: 1024px) { .contact-section__inner { margin: 0; } }
.contact-section__head { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: flex-start; }
@media (min-width: 768px) { .contact-section__head { grid-template-columns: repeat(5, 1fr); gap: 2.5rem; } }
.contact-section__head-main { }
@media (min-width: 768px) { .contact-section__head-main { grid-column: span 3; } }
.contact-title { font-family: var(--font-display); font-weight: 400; line-height: 1; letter-spacing: -0.02em; font-size: 3rem; }
@media (min-width: 768px) { .contact-title { font-size: 4rem; } }
@media (min-width: 1280px) { .contact-title { font-size: 5rem; } }
.contact-section__lead { font-size: 14px; color: hsl(var(--foreground) / 0.7); line-height: 1.6; }
@media (min-width: 768px) { .contact-section__lead { grid-column: span 2; padding-top: 1rem; } }
.contact-section__cols { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-top: 4rem; }
@media (min-width: 768px) { .contact-section__cols { grid-template-columns: repeat(2, 1fr); margin-top: 5rem; } }
.contact-info h3, .contact-form h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 1.5rem; }
.contact-info__row { font-size: 14px; color: hsl(var(--foreground) / 0.75); }
.contact-info__row p:first-child { color: hsl(var(--foreground)); }
.contact-info__links { margin-top: 1.5rem; font-size: 14px; color: hsl(var(--foreground) / 0.75); }
.contact-info__links a { display: block; margin-bottom: 0.25rem; }
.contact-info__socials { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; color: hsl(var(--foreground) / 0.6); }
.contact-info__socials a:hover { color: hsl(var(--foreground)); }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-form input, .contact-form textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid hsl(var(--foreground) / 0.25);
  padding: 0.625rem 0; color: hsl(var(--foreground)); font-size: 14px; outline: none;
  transition: border-color 0.2s; border-radius: 0;
}
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: hsl(var(--foreground)); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: hsl(var(--foreground) / 0.5); }
.contact-form__submit {
  margin-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.75rem; align-self: flex-start;
  background: none; border: none;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: hsl(var(--foreground) / 0.8);
  transition: color 0.2s;
}
.contact-form__submit:hover { color: hsl(var(--foreground)); }
.contact-form__submit-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 999px;
  border: 1px solid hsl(var(--foreground) / 0.3);
  transition: all 0.2s;
}
.contact-form__submit:hover .contact-form__submit-icon { border-color: hsl(var(--foreground)); background: hsl(var(--foreground)); color: hsl(var(--background)); }
.newsletter-inline { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid hsl(var(--foreground) / 0.15); display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
@media (min-width: 640px) { .newsletter-inline { flex-direction: row; align-items: flex-end; } }
.newsletter-inline__field { flex: 1; width: 100%; }
.newsletter-inline input { width: 100%; background: transparent; border: none; border-bottom: 1px solid hsl(var(--foreground) / 0.25); padding: 0.5rem 0; color: hsl(var(--foreground)); font-size: 14px; outline: none; }
.newsletter-inline button { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: hsl(var(--foreground) / 0.8); background: none; border: none; padding-bottom: 0.5rem; }
.newsletter-inline button:hover { color: hsl(var(--foreground)); }
.form-status { font-size: 13px; margin-top: 0.5rem; }
.form-status.is-success { color: hsl(var(--primary)); }
.form-status.is-error { color: hsl(var(--stamp-red)); }

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.site-footer { background: hsl(var(--butter)); position: relative; overflow: hidden; }
.site-footer__inner { padding-top: 4rem; padding-bottom: 2.5rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 6rem; padding-bottom: 2.5rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, 1fr); gap: 4rem; } }
.site-footer__brand { max-width: 24rem; }
/* Footer logo — Lovable: h-20 / md:h-24 (80px / 96px) */
.site-footer__brand img,
.site-footer__logo {
  height: 5rem !important;
  width: auto !important;
  max-height: 5rem !important;
  object-fit: contain;
}
@media (min-width: 768px) {
  .site-footer__brand img,
  .site-footer__logo {
    height: 6rem !important;
    max-height: 6rem !important;
  }
}
.site-footer__tagline { margin-top: 1rem; color: hsl(var(--foreground) / 0.7); line-height: 1.6; }
.site-footer__categories { margin-top: 0.75rem; font-size: 14px; color: hsl(var(--foreground) / 0.6); }
.site-footer h4 { font-family: var(--font-display); font-size: 1.125rem; color: hsl(var(--foreground)); margin-bottom: 1rem; }
.site-footer__nav li { margin-bottom: 0.625rem; }
.site-footer__nav a { color: hsl(var(--foreground) / 0.7); transition: color 0.2s; }
.site-footer__nav a:hover { color: hsl(var(--primary)); }
.site-footer__contact li { margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.75rem; color: hsl(var(--foreground) / 0.7); }
.site-footer__contact a { display: flex; align-items: center; gap: 0.75rem; color: hsl(var(--foreground) / 0.7); transition: color 0.2s; }
.site-footer__contact a:hover { color: hsl(var(--primary)); }
.site-footer__contact svg { width: 1rem; height: 1rem; color: hsl(var(--primary)); flex-shrink: 0; }
.site-footer__social-heading {
  margin: 1.25rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--primary));
}
.site-footer__socials { margin-top: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.site-footer__socials a {
  display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem;
  border-radius: 999px; border: 1px solid hsl(var(--foreground) / 0.15); color: hsl(var(--foreground) / 0.7);
  transition: all 0.2s;
}
.site-footer__socials a:hover { color: hsl(var(--primary)); border-color: hsl(var(--primary)); }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid hsl(var(--foreground) / 0.1); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; font-size: 12px; color: hsl(var(--foreground) / 0.6); }
@media (min-width: 768px) { .site-footer__bottom { flex-direction: row; } }
.site-footer__bottom a { text-decoration: underline; transition: color 0.2s; }
.site-footer__bottom a:hover { color: hsl(var(--primary)); }
.site-footer__seal { background: hsl(var(--legal-navy)); color: hsl(var(--butter)); }
.site-footer__seal-inner {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 700;
}
@media (min-width: 768px) { .site-footer__seal-inner { flex-direction: row; } }
.site-footer__seal svg { color: hsl(var(--legal-gold)); width: 1rem; height: 1rem; }

/* --------------------------------------------------------------------------
   17. CART DRAWER + NEWSLETTER POPUP + CONTACT MODAL
   -------------------------------------------------------------------------- */
#theme-cart-drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; z-index: 60;
  width: 88vw; max-width: 420px;
  background: hsl(var(--background));
  border-radius: 1.5rem 0 0 1.5rem;
  box-shadow: 0 25px 60px -12px hsl(var(--foreground) / 0.35);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease-out, opacity 0.2s;
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.75rem 1.75rem 1.25rem; }
.cart-drawer__title { font-family: var(--font-display); font-size: 1.5rem; color: hsl(var(--primary)); line-height: 1; }
.cart-drawer__close {
  display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; flex-shrink: 0;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border: none; transition: background 0.2s;
}
.cart-drawer__close:hover { background: hsl(var(--primary) / 0.9); }
.cart-drawer__divider { height: 1px; background: hsl(var(--foreground) / 0.1); margin: 0 1.75rem; }
.cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 1.75rem; text-align: center; }
.cart-drawer__empty svg { width: 3rem; height: 3rem; color: hsl(var(--primary) / 0.6); margin-bottom: 1.5rem; }
.cart-drawer__empty p { font-family: var(--font-display); color: hsl(var(--primary)); font-size: 1.875rem; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 2rem; }
.cart-drawer__empty a, .cart-drawer__empty button {
  display: inline-flex; align-items: center; justify-content: center;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  border-radius: 999px; padding: 0.625rem 1.5rem; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600;
  transition: background 0.2s; border: none;
}
.cart-drawer__empty a:hover, .cart-drawer__empty button:hover { background: hsl(var(--primary) / 0.9); }
.cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 1.5rem; }
.cart-drawer__item { display: flex; gap: 1rem; }
.cart-drawer__item-img {
  position: relative;
  display: block;
  width: 5rem;
  height: 6rem;
  border-radius: 0.75rem;
  overflow: hidden;
  flex-shrink: 0;
  background: hsl(var(--secondary));
}
#theme-cart-drawer .cart-drawer__item-img img,
#theme-cart-drawer .cart-drawer__item-img .cover-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center;
}
.cart-drawer__item-body { flex: 1; min-width: 0; }
.cart-drawer__item-name { font-family: var(--font-display); color: hsl(var(--primary)); font-size: 1rem; line-height: 1.3; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.2s; }
.cart-drawer__item-name:hover { opacity: 0.8; }
.cart-drawer__item-variant { font-size: 11px; color: hsl(var(--foreground) / 0.6); margin-top: 0.125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-drawer__item-price { font-size: 14px; color: hsl(var(--foreground) / 0.6); margin-top: 0.125rem; }
.cart-drawer__item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.cart-drawer__qty-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; border-radius: 999px;
  border: 1px solid hsl(var(--primary) / 0.3); color: hsl(var(--primary)); background: none; transition: all 0.2s;
}
.cart-drawer__qty-btn:hover { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.cart-drawer__qty-val { width: 1.5rem; text-align: center; font-size: 14px; font-weight: 600; color: hsl(var(--primary)); }
.cart-drawer__remove { margin-left: auto; font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: hsl(var(--foreground) / 0.6); font-weight: 600; background: none; border: none; transition: color 0.2s; }
.cart-drawer__remove:hover { color: hsl(var(--primary)); }
.cart-drawer__foot { padding: 1.25rem 1.75rem 2rem; border-top: 1px solid hsl(var(--foreground) / 0.1); display: flex; flex-direction: column; gap: 1rem; }
.cart-drawer__subtotal-row { display: flex; justify-content: space-between; }
.cart-drawer__subtotal-label { font-size: 14px; text-transform: uppercase; letter-spacing: 0.2em; color: hsl(var(--foreground) / 0.6); }
.cart-drawer__subtotal-value { font-family: var(--font-display); font-size: 1.25rem; color: hsl(var(--primary)); }
.cart-drawer__shipnote { font-size: 12px; color: hsl(var(--foreground) / 0.6); }
.cart-drawer__checkout {
  width: 100%; display: inline-flex; align-items: center; justify-content: center;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  border-radius: 999px; padding: 0.75rem 1.5rem; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600;
  transition: background 0.2s;
}
.cart-drawer__checkout:hover { background: hsl(var(--primary) / 0.9); }
.cart-drawer__empty-btn {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: hsl(var(--foreground) / 0.6);
  font-weight: 600; background: none; border: none; transition: color 0.2s;
}
.cart-drawer__empty-btn:hover { color: hsl(var(--primary)); }

.theme-popup-overlay { position: fixed; inset: 0; z-index: 70; background: hsl(var(--legal-navy) / 0.5); backdrop-filter: blur(2px); }
.theme-popup-wrap { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.theme-popup {
  position: relative; width: 100%; max-width: 28rem; padding: 1.75rem;
  border-radius: 1rem 1rem 0 1rem;
}
@media (min-width: 768px) { .theme-popup { padding: 2.25rem; } }
.theme-popup__close {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 20;
  display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 999px;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border: none; transition: background 0.2s;
}
.theme-popup__close:hover { background: hsl(var(--primary) / 0.9); }
.theme-popup__title { margin-top: 1.25rem; font-family: var(--font-display); font-size: 1.5rem; color: hsl(var(--legal-navy)); line-height: 1.3; }
@media (min-width: 768px) { .theme-popup__title { font-size: 1.875rem; } }
.theme-popup__body { margin-top: 0.75rem; font-size: 15px; line-height: 1.6; color: hsl(var(--legal-navy) / 0.75); }
.theme-popup__form { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-popup__input-wrap { position: relative; }
.theme-popup__input-wrap svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: hsl(var(--primary)); }
.theme-popup__form input {
  width: 100%; padding: 0.75rem 1rem 0.75rem 2.75rem; border-radius: 999px;
  background: hsl(var(--background)); border: 1px solid hsl(var(--primary) / 0.3);
  font-size: 15px; outline: none;
}
.theme-popup__form input:focus { box-shadow: 0 0 0 2px hsl(var(--primary) / 0.4); }
.theme-popup__submit {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border: none;
  padding: 0.75rem 1.5rem; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600;
  transition: background 0.2s;
}
.theme-popup__submit:hover { background: hsl(var(--primary) / 0.9); }
.theme-popup__dismiss { margin-top: 1rem; width: 100%; text-align: center; font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: hsl(var(--legal-navy) / 0.55); background: none; border: none; transition: color 0.2s; }
.theme-popup__dismiss:hover { color: hsl(var(--legal-navy)); }
.theme-popup__success { text-align: center; padding: 1.5rem 0; }
.theme-popup__success-icon { width: 3rem; height: 3rem; border-radius: 999px; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }

.theme-modal-overlay { position: fixed; inset: 0; z-index: 70; background: hsl(var(--foreground) / 0.5); }
.theme-modal-wrap { position: fixed; inset: 0; z-index: 71; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.theme-modal {
  position: relative; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
  background: hsl(var(--background)); border-radius: 1rem; padding: 1.5rem;
  box-shadow: 0 25px 60px -12px hsl(var(--foreground) / 0.4);
}
@media (min-width: 768px) { .theme-modal { padding: 2rem; } }
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: hsl(var(--foreground) / 0.5); }
.theme-modal__close:hover { color: hsl(var(--foreground)); }
.theme-modal__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-modal__desc { color: hsl(var(--foreground) / 0.7); font-size: 14px; margin-bottom: 1.25rem; }
.theme-modal__contacts { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 14px; color: hsl(var(--foreground) / 0.7); margin-bottom: 1.25rem; }
.theme-modal__contacts a { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-modal__contacts a:hover { color: hsl(var(--foreground)); }
.theme-modal form { display: flex; flex-direction: column; gap: 1rem; }
.theme-modal__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-modal__row { grid-template-columns: repeat(2, 1fr); } }
.theme-modal label { font-size: 14px; font-weight: 500; margin-bottom: 0.375rem; display: block; }
.theme-modal input, .theme-modal textarea {
  width: 100%; padding: 0.625rem 0.75rem; background: hsl(var(--background));
  border: 1px solid hsl(var(--border)); border-radius: 0.375rem; font-size: 15px; outline: none;
  transition: box-shadow 0.3s;
}
.theme-modal input:focus, .theme-modal textarea:focus { box-shadow: 0 0 0 2px hsl(var(--primary) / 0.3); }
.theme-modal__actions { display: flex; justify-content: flex-end; }
.theme-modal__submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.625rem 1.5rem; border-radius: 0.5rem; border: none;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); font-size: 14px; font-weight: 600;
  transition: opacity 0.2s;
}
.theme-modal__submit:hover { opacity: 0.9; }
.theme-modal__success { text-align: center; padding: 2rem 0; }
.theme-modal__success-icon { width: 3.5rem; height: 3.5rem; border-radius: 999px; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }

/* --------------------------------------------------------------------------
   18. SINGLE PRODUCT PAGE
   -------------------------------------------------------------------------- */
.single-product .site-main,
.pd-main { padding-top: 1.5rem; }
@media (min-width: 1024px) { .single-product .site-main, .pd-main { padding-top: 2rem; } }
.pd-breadcrumb { padding: 0.75rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.pd-breadcrumb a:hover { color: hsl(var(--foreground)); }
.pd-breadcrumb span.sep { margin: 0 0.5rem; opacity: 0.5; }
.pd-breadcrumb span.current { color: hsl(var(--foreground)); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 6rem; padding-top: 1rem; align-items: flex-start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: repeat(12, 1fr); gap: 4rem; } }
.theme-product-gallery { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { grid-column: span 7; } }
.pd-main-wrap { aspect-ratio: 1/1; background: hsl(var(--secondary)); overflow: hidden; border-radius: 1.5rem; position: relative; }
.theme-product-gallery-mobile { display: block; }
@media (min-width: 1024px) { .theme-product-gallery-mobile { display: none; } }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; flex-wrap: nowrap; max-width: 100%; padding-bottom: 0.25rem; }
.pd-thumb {
  position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: hsl(var(--secondary));
  border-radius: 0.75rem; border: none; padding: 0; cursor: pointer;
}
.pd-thumb-img { opacity: 0.6; transition: opacity 0.2s; }
.pd-thumb.is-active .pd-thumb-img, .pd-thumb:hover .pd-thumb-img { opacity: 1; }
.theme-product-gallery-desktop { display: none; }
@media (min-width: 1024px) { .theme-product-gallery-desktop { display: flex; flex-direction: column; gap: 1rem; } }
.theme-product-gallery-desktop .pd-main-wrap { aspect-ratio: 1/1; }

.theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-info { grid-column: span 5; padding-left: 1rem; position: sticky; top: 7rem; align-self: flex-start; } }
.pd-category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: hsl(var(--muted-foreground)); font-family: var(--font-body); }
.product-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; margin-top: 0.75rem; margin-bottom: 1.25rem; text-transform: none; letter-spacing: -0.015em; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.pd-price { font-size: 1.25rem; margin-bottom: 1.5rem; color: hsl(var(--foreground)); }
.pd-price .woocommerce-Price-amount { font-family: var(--font-body); }
.pd-stock { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }
.pd-stock.in-stock { color: hsl(var(--primary)); }
.pd-stock.out-of-stock { color: hsl(var(--stamp-red)); }
.pd-desc { color: hsl(var(--muted-foreground)); line-height: 1.6; margin-bottom: 2rem; font-size: 1rem; overflow-wrap: break-word; word-break: break-word; }

.pd-box-picker { margin-bottom: 2rem; border-radius: 1rem; border: 1px solid hsl(var(--primary) / 0.25); background: hsl(var(--secondary) / 0.4); padding: 1.25rem; }
.pd-box-picker__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.25rem; }
.pd-box-picker__head h3 { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; }
.pd-box-picker__count { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; padding: 0.25rem 0.75rem; border-radius: 999px; border: 1px solid hsl(var(--primary) / 0.3); color: hsl(var(--primary)); }
.pd-box-picker__count.is-complete { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border: none; }
.pd-box-picker__hint { font-size: 13px; color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.pd-box-picker__list { max-height: 18rem; overflow-y: auto; padding-right: 0.25rem; }
.pd-box-picker__row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.5rem 0.5rem; margin: 0 -0.25rem; border-radius: 0.5rem; border-bottom: 1px solid hsl(var(--border) / 0.6); transition: background 0.2s; }
.pd-box-picker__row:last-child { border-bottom: none; }
.pd-box-picker__row.has-count { background: hsl(var(--primary) / 0.1); }
.pd-box-picker__flavor { font-size: 14px; line-height: 1.4; }
.pd-box-picker__row.has-count .pd-box-picker__flavor { font-weight: 600; }
.pd-box-picker__stepper { display: inline-flex; align-items: center; gap: 0.25rem; flex-shrink: 0; }
.pd-box-picker__stepper button {
  width: 1.75rem; height: 1.75rem; border-radius: 999px; border: 1px solid hsl(var(--border)); background: none;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.pd-box-picker__stepper button:hover:not(:disabled) { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
.pd-box-picker__stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.pd-box-picker__stepper span { width: 1.5rem; text-align: center; font-size: 14px; }
.pd-box-summary { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid hsl(var(--primary) / 0.2); }
.pd-box-summary h4 { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: hsl(var(--muted-foreground)); margin-bottom: 0.75rem; font-family: var(--font-body); }
.pd-box-summary__empty,
.pd-box-summary p { font-size: 13px; color: hsl(var(--muted-foreground)); font-family: var(--font-body); margin: 0; }
.pd-box-summary ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.pd-box-summary li { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px; background: hsl(var(--primary) / 0.15); border: 1px solid hsl(var(--primary) / 0.3); padding: 0.25rem 0.375rem 0.25rem 0.75rem; font-size: 13px; font-family: var(--font-body); }
.pd-box-summary li button { width: 1.25rem; height: 1.25rem; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: none; border: none; color: hsl(var(--muted-foreground)); cursor: pointer; }
.pd-box-summary li button:hover { color: hsl(var(--primary)); background: hsl(var(--background)); }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid hsl(var(--border)); border-radius: 999px; }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; background: none; border: none; transition: background 0.2s; border-radius: 999px; cursor: pointer; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: hsl(var(--secondary)); }
.theme-qty-input { width: 2.75rem; min-width: 44px; padding: 0.5rem 0.25rem; text-align: center; border: none; background: none; font-size: 14px; font-family: var(--font-body); -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-qty-label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: hsl(var(--muted-foreground)); margin-bottom: 0.75rem; font-family: var(--font-body); }
.pd-qty-row { margin-bottom: 1rem; }

.single-product .theme-add-to-cart-area { display: block; margin-bottom: 0.75rem; }
.single-product .single_add_to_cart_button,
.single-product a.single_add_to_cart_button,
.single-product button.single_add_to_cart_button {
  width: 100% !important;
  min-width: 0 !important;
  background-color: hsl(var(--foreground)) !important;
  color: hsl(var(--background)) !important;
  border-radius: 999px !important;
  padding: 1rem 2rem !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
}
.single-product .single_add_to_cart_button:hover,
.single-product a.single_add_to_cart_button:hover,
.single-product button.single_add_to_cart_button:hover {
  background-color: hsl(var(--foreground) / 0.9) !important;
  color: hsl(var(--background)) !important;
  opacity: 1 !important;
}
.single-product .single_add_to_cart_button.disabled,
.single-product .single_add_to_cart_button:disabled,
.single-product a.single_add_to_cart_button.disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}
.pd-note { font-size: 12px; color: hsl(var(--muted-foreground)); margin-top: 0.75rem; margin-bottom: 0; font-family: var(--font-body); }
.pd-accordions { margin-top: 2.5rem; }

.pd-accordions { border-top: 1px solid hsl(var(--border)); }
.pd-accordion { border-top: 1px solid hsl(var(--border)); }
.pd-accordion:first-child { border-top: none; }
.pd-accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; background: none; border: none; }
.pd-accordion__trigger span { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.pd-accordion__trigger svg { width: 1rem; height: 1rem; transition: transform 0.2s; }
.pd-accordion.is-open .pd-accordion__trigger svg { transform: rotate(180deg); }
.pd-accordion__panel { display: none; padding-bottom: 1.5rem; }
.pd-accordion.is-open .pd-accordion__panel { display: block; }
.pd-accordion__panel p { font-size: 15px; color: hsl(var(--muted-foreground)); line-height: 1.6; margin-bottom: 1rem; }
.pd-accordion__panel ul li { font-size: 15px; color: hsl(var(--muted-foreground)); display: flex; align-items: flex-start; margin-bottom: 0.5rem; }
.pd-accordion__panel ul li::before { content: ''; width: 4px; height: 4px; background: hsl(var(--foreground)); border-radius: 999px; margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }

.related-products-section { padding-top: 5rem; padding-bottom: 5rem; border-top: 1px solid hsl(var(--border)); }
.related-products-section__head { text-align: center; margin-bottom: 3rem; }
.related-products-section__eyebrow { font-family: var(--font-display); font-style: italic; font-size: 16px; color: hsl(var(--muted-foreground)); margin-bottom: 0.5rem; }
.related-products-section__title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; }
@media (min-width: 768px) { .related-products-section__title { font-size: 2.25rem; } }

/* --------------------------------------------------------------------------
   19. WOOCOMMERCE CORE OVERRIDES (Section 14) — buttons, price, notices
   -------------------------------------------------------------------------- */
.woocommerce-breadcrumb { display: none; }

.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button,
button.single_add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: none !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  box-shadow: none !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 0.85 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
  background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Card compact variant is not used in this design (cards are view-only, Section 19.1) */

.woocommerce-message, .woocommerce-error, .woocommerce-info {
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary));
  color: hsl(var(--foreground));
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  list-style: none;
  margin: 0 0 1.5rem;
}
.woocommerce-error { border-color: hsl(var(--stamp-red) / 0.4); background: hsl(var(--stamp-red) / 0.08); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }

/* --------------------------------------------------------------------------
   20. WOOCOMMERCE VARIATIONS TABLE (Section 11.5.1)
   -------------------------------------------------------------------------- */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations select {
  width: 100%; padding: 0.625rem 0.75rem; border-radius: 0.5rem; border: 1px solid hsl(var(--border));
  background: hsl(var(--background)); font-family: var(--font-body);
}
.theme-attr-select-hidden { display: none !important; }
.theme-attribute-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.theme-attribute-pill {
  padding: 0.5rem 1.25rem; border-radius: 999px; border: 1px solid hsl(var(--border));
  background: hsl(var(--background)); font-size: 13px; font-weight: 600; transition: all 0.2s;
}
.theme-attribute-pill:hover { border-color: hsl(var(--primary)); }
.theme-attribute-pill.is-selected { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-color: hsl(var(--primary)); }
.single_variation_wrap { margin-top: 0.5rem; }
.woocommerce-variation-price { margin-bottom: 1rem; }
.woocommerce-variation-description p { color: hsl(var(--muted-foreground)); line-height: 1.6; overflow-wrap: break-word; word-break: break-word; }
.woocommerce-variation-availability { margin-bottom: 1rem; }
.variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; }

/* --------------------------------------------------------------------------
   21. CHECKOUT / CART / ACCOUNT / THANK-YOU (Section 13)
   -------------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
  padding-top: var(--header-height);
  padding-bottom: 4rem;
}
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title,
body.theme-thankyou-page .page-title {
  font-family: var(--font-display);
  font-size: 2rem;
  padding: 2rem 0 1rem;
}
@media (min-width: 768px) {
  body.woocommerce-checkout .page-title,
  body.woocommerce-cart .page-title,
  body.woocommerce-account .page-title { font-size: 2.75rem; }
}

/* Checkout Blocks — two columns: contact/fields | order summary */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout {
  width: 100%;
  max-width: none;
}
body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-medium {
  display: flex !important;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 2rem;
  align-items: stretch;
  margin: 0;
  width: 100%;
}
@media (min-width: 1024px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-medium {
    flex-direction: row !important;
    flex-wrap: nowrap;
    gap: 3rem;
    align-items: flex-start;
  }
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block {
  box-sizing: border-box;
  min-width: 0;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 1 auto;
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
  box-sizing: border-box;
  min-width: 0;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 1 auto;
}
@media (min-width: 1024px) {
  body.woocommerce-checkout .wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-components-main,
  body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block {
    flex: 1 1 58%;
    width: 58% !important;
    padding-right: 0 !important;
  }
  body.woocommerce-checkout .wc-block-checkout__sidebar,
  body.woocommerce-checkout .wc-block-components-sidebar,
  body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
    flex: 0 0 38%;
    width: 38% !important;
    padding-left: 0 !important;
    position: sticky;
    top: calc(var(--header-height) + 1rem);
  }
}

/* Checkout time-slot indicator — Order Delivery Date plugin + WC Blocks.
   The actual chevron is a pointer-events:none overlay inserted by the theme's
   checkout-time-slot script. It stays visible even when the plugin overrides
   the native <select> appearance or replaces fields after a shipping change. */
body.woocommerce-checkout select.jss-time-slot-select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  padding-right: 2.75rem !important;
  cursor: pointer;
}
.jss-checkout-time-arrow {
  position: fixed;
  z-index: 40;
  width: 10px;
  height: 10px;
  box-sizing: border-box;
  border-right: 2.5px solid #54263c;
  border-bottom: 2.5px solid #54263c;
  transform: translate(-50%, -67%) rotate(45deg);
  pointer-events: none !important;
  user-select: none;
  opacity: 1;
}
.jss-checkout-time-arrow[hidden] { display: none !important; }

/* Classic shortcode checkout fallback — two columns */
body.woocommerce-checkout form.checkout.woocommerce-checkout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  body.woocommerce-checkout form.checkout.woocommerce-checkout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }
  body.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1; }
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review {
    grid-column: 2;
  }
  body.woocommerce-checkout #order_review_heading { grid-row: 1; align-self: start; }
  body.woocommerce-checkout #order_review { grid-row: 1; padding-top: 2.5rem; }
  body.woocommerce-checkout .col2-set { width: 100%; float: none; }
  body.woocommerce-checkout .col2-set .col-1,
  body.woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .woocommerce-billing-fields input,
body.woocommerce-checkout .woocommerce-billing-fields select,
body.woocommerce-checkout .woocommerce-billing-fields textarea,
body.woocommerce-checkout .woocommerce-shipping-fields input,
body.woocommerce-checkout .woocommerce-shipping-fields select,
body.woocommerce-checkout .woocommerce-shipping-fields textarea {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body);
  font-size: 15px;
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: hsl(var(--background));
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .woocommerce-billing-fields input:focus,
body.woocommerce-checkout .woocommerce-shipping-fields input:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.25);
  outline: none;
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout #order_review {
  background-color: hsl(var(--secondary) / 0.4);
  border-radius: var(--card-radius);
  padding: 1.5rem;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout #place_order {
  background-color: hsl(var(--primary)) !important;
  color: hsl(var(--primary-foreground)) !important;
  border-radius: 999px !important;
  font-family: var(--font-body) !important;
  text-transform: none !important;
  font-weight: 600 !important;
  border: none !important;
  width: 100%;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout #place_order:hover { opacity: 0.9; }
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: 0.75rem; width: 100%; }

body.woocommerce-cart .woocommerce,
body.woocommerce-account .woocommerce { font-family: var(--font-body); }
body.woocommerce-cart table.shop_table,
body.woocommerce-account table.shop_table { border-collapse: collapse; width: 100%; border: 1px solid hsl(var(--border)); border-radius: 0.75rem; overflow: hidden; }
body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td,
body.woocommerce-account table.shop_table th,
body.woocommerce-account table.shop_table td { padding: 0.9rem 1rem; border-bottom: 1px solid hsl(var(--border)); }
body.woocommerce-cart .button, body.woocommerce-account .button {
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-radius: 999px;
  padding: 0.75rem 1.75rem; font-weight: 600; border: none; text-transform: none;
}

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 1.5rem; border: 1px solid hsl(var(--border)); border-radius: 1rem; background: hsl(var(--secondary) / 0.3); margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { flex: 1; min-width: 140px; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; font-family: var(--font-display); font-size: 1.125rem; margin-top: 0.25rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-size: 1.5rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid hsl(var(--border)); }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@media (min-width: 768px) {
  body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; border: 1px solid hsl(var(--border)); border-radius: 0.75rem; padding: 1.25rem; }

/* --------------------------------------------------------------------------
   22. UTILITY / MISC
   -------------------------------------------------------------------------- */
.no-products { text-align: center; padding-top: 4rem; padding-bottom: 4rem; color: hsl(var(--foreground) / 0.6); }
.theme-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 6rem;
  padding-bottom: 6rem;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}
.theme-404 h1 { font-family: var(--font-display); font-size: 3rem; margin-bottom: 1rem; }
.theme-404 p { color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; }

/* --------------------------------------------------------------------------
   23. GUTTER LOCK (must stay last)
   Re-assert Lovable side padding so any co-located section rule that uses
   `padding: X 0` cannot wipe horizontal gutters on .container-wide.
   -------------------------------------------------------------------------- */
.container-wide {
  padding-left: var(--page-gutter) !important;
  padding-right: var(--page-gutter) !important;
}

/* Footer-only native Brevo sign-up, isolated from the popup. */
.jss-inline-brevo{margin-top:4rem;padding-top:2rem;border-top:1px solid hsl(var(--foreground) / .15);width:100%}

/* Branded Sweet List homepage confirmation, shown only on Brevo return. */
.jss-homepage-confirmed[hidden]{display:none!important}
.jss-homepage-confirmed{box-sizing:border-box;background:#fff1df;border:1px solid #e4588b;border-radius:18px;padding:22px 24px;text-align:center;color:#54263c;box-shadow:0 7px 20px rgba(84,38,60,.07);background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 27px,rgba(84,38,60,.055) 28px,transparent 29px)}
.jss-homepage-confirmed__top{display:flex;justify-content:space-between;align-items:center;color:#e4588b;margin-bottom:15px}
.jss-homepage-confirmed__top span:first-child{display:inline-block;border:2px solid #e4588b;border-radius:4px;padding:4px 10px;transform:rotate(-5deg);font:700 11px/1.2 Arial,sans-serif;letter-spacing:.15em}
.jss-homepage-confirmed__top span:last-child{font-size:22px}
.jss-homepage-confirmed h3{font:700 clamp(21px,3vw,29px)/1.3 Georgia,serif;color:#54263c;margin:0 0 12px}
.jss-homepage-confirmed p{font:16px/1.6 Georgia,serif;color:#54263c;margin:0}

/* v1.0.24 – Court-themed contact success; keeps the existing contact submission. */
#contact-page-form-status.jss-contact-success{box-sizing:border-box;width:100%;padding:22px 24px;margin:12px 0 0;border:1px solid #e4588b;border-radius:17px;background-color:#fff1df;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 27px,rgba(84,38,60,.055) 28px,transparent 29px);box-shadow:0 7px 20px rgba(84,38,60,.07);color:#54263c;text-align:center}
@media (min-width:768px){#contact-page-form-status.jss-contact-success{width:390px;max-width:390px;align-self:center}}
#contact-page-form-status.jss-contact-success .jss-contact-success__top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;color:#e4588b}
#contact-page-form-status.jss-contact-success .jss-contact-success__top span:first-child{display:inline-block;padding:4px 8px;border:2px solid #e4588b;border-radius:5px;transform:rotate(-4deg);font:700 10px/1.3 Arial,sans-serif;letter-spacing:.1em}
#contact-page-form-status.jss-contact-success .jss-contact-success__top span:last-child{font-size:22px}
#contact-page-form-status.jss-contact-success h4{margin:0 0 10px;color:#54263c;font:700 clamp(20px,3vw,27px)/1.3 Georgia,serif}
#contact-page-form-status.jss-contact-success p{margin:0;color:#54263c;font:15px/1.55 Georgia,serif}

/* --------------------------------------------------------------------------
   26. CUSTOMER ACCOUNT — navigation + WooCommerce shortcode dashboard
   v1.0.34. Scoped to account pages; the checkout UI is unchanged.
   -------------------------------------------------------------------------- */
.site-header__account-btn {
  width: 2.5rem; height: 2.5rem;
  flex: 0 0 2.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid hsl(var(--primary) / .48);
  border-radius: 999px;
  color: hsl(var(--primary));
  background: hsl(var(--background) / .45);
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}
.site-header__account-btn:hover,
.site-header__account-btn:focus-visible {
  color: hsl(var(--primary-foreground));
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
}
.site-header__account-btn:hover { transform: translateY(-1px); }
.site-header__account-btn:focus-visible { outline: 3px solid hsl(var(--accent)); outline-offset: 3px; }
.site-header__account-btn[aria-current="page"] { border-color: hsl(var(--primary)); }

.nav-panel__account-links {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid hsl(var(--border));
}
.nav-panel__nav .nav-panel__account-link {
  display: flex; align-items: center; gap: .8rem;
  width: 100%; padding: .7rem 0;
  font-family: var(--font-body);
  font-weight: 800; font-size: 1rem;
  color: hsl(var(--foreground));
}
.nav-panel__account-link svg { flex-shrink: 0; color: hsl(var(--primary)); }
.nav-panel__nav .nav-panel__account-link:hover,
.nav-panel__nav .nav-panel__account-link:focus-visible { color: hsl(var(--primary)); }
.nav-panel__nav .nav-panel__account-link--logout { font-weight: 600; font-size: .95rem; }

body.woocommerce-account .entry-content { max-width: 1100px; margin-inline: auto; }
body.woocommerce-account .entry-content > .woocommerce { margin-top: .6rem; }
body.woocommerce-account .woocommerce a:not(.button) { color: hsl(var(--nopal)); }
body.woocommerce-account .woocommerce a:not(.button):hover { color: hsl(var(--primary)); }
body.woocommerce-account .woocommerce:after,
body.woocommerce-account .woocommerce:before { content: none; }

/* Customer account two-column layout; guest login/registration stays independent. */
body.logged-in.woocommerce-account .entry-content > .woocommerce {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  align-items: start; gap: 1.5rem;
}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content {
  float: none; width: auto; min-width: 0;
}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation {
  background: hsl(var(--butter));
  border: 1px solid hsl(var(--border));
  border-radius: 1.25rem; padding: .8rem;
  box-shadow: 0 5px 24px hsl(var(--foreground) / .04);
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: flex; flex-direction: column; gap: .2rem;
  margin: 0; padding: 0; list-style: none;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; list-style: none; }
body.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: flex; align-items: center;
  padding: .7rem .9rem; min-height: 44px;
  border-radius: .75rem;
  font-size: .95rem; font-weight: 700;
  color: hsl(var(--foreground));
  transition: color .2s, background .2s;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background: hsl(var(--secondary));
  color: hsl(var(--nopal));
}
body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a {
  color: hsl(var(--nopal)); border-top: 1px solid hsl(var(--border));
  border-radius: .2rem; margin-top: .4rem;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:focus-visible,
body.woocommerce-account .jss-account-quicklinks__tile:focus-visible { outline: 3px solid hsl(var(--accent)); outline-offset: 2px; }
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content,
body.woocommerce-account .woocommerce #customer_login > .col-1,
body.woocommerce-account .woocommerce #customer_login > .col-2 {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 1.3rem;
  padding: clamp(1.1rem, 3vw, 2rem);
  box-shadow: 0 5px 24px hsl(var(--foreground) / .04);
}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content > p { margin-top: 0; line-height: 1.7; }
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce #customer_login h2,
body.woocommerce-account .woocommerce .addresses .title h3 {
  font-family: var(--font-display); color: hsl(var(--foreground));
  font-size: clamp(1.2rem, 2.2vw, 1.6rem); margin: 0 0 1rem;
}
body.woocommerce-account .woocommerce .woocommerce-notices-wrapper { grid-column: 1 / -1; }
body.woocommerce-account .woocommerce .woocommerce-message,
body.woocommerce-account .woocommerce .woocommerce-info,
body.woocommerce-account .woocommerce .woocommerce-error {
  border-radius: .9rem; border: 1px solid hsl(var(--border));
  background: hsl(var(--butter)); color: hsl(var(--foreground));
  padding: 1rem 1.2rem 1rem 3rem; margin-bottom: 1.25rem;
}
body.woocommerce-account .woocommerce #customer_login { display: flex; flex-wrap: wrap; gap: 1.5rem; }
body.woocommerce-account .woocommerce #customer_login > .col-1,
body.woocommerce-account .woocommerce #customer_login > .col-2 {
  float: none; width: auto; flex: 1 1 290px; min-width: 0;
}
body.woocommerce-account .woocommerce form.login,
body.woocommerce-account .woocommerce form.register,
body.woocommerce-account .woocommerce form.edit-account,
body.woocommerce-account .woocommerce form.edit-address {
  margin: 0; border: 0; padding: 0; background: transparent;
}
body.woocommerce-account .woocommerce form .form-row { margin-bottom: .8rem; }
body.woocommerce-account .woocommerce form .form-row label {
  display: block; margin-bottom: .3rem; font-size: .92rem; font-weight: 700;
  color: hsl(var(--foreground));
}
body.woocommerce-account .woocommerce input.input-text,
body.woocommerce-account .woocommerce input[type="email"],
body.woocommerce-account .woocommerce input[type="password"],
body.woocommerce-account .woocommerce select,
body.woocommerce-account .woocommerce textarea {
  width: 100%; max-width: 100%; min-height: 46px;
  border: 1px solid hsl(var(--border)); border-radius: .65rem;
  background: #fff; color: hsl(var(--foreground));
  padding: .7rem .9rem; outline-offset: 2px;
}
body.woocommerce-account .woocommerce input:focus-visible,
body.woocommerce-account .woocommerce select:focus-visible,
body.woocommerce-account .woocommerce textarea:focus-visible {
  outline: 2px solid hsl(var(--primary));
}
body.woocommerce-account .woocommerce .button,
body.woocommerce-account .woocommerce button.button,
body.woocommerce-account .woocommerce input.button {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 44px; border-radius: 999px;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  border: 0; padding: .75rem 1.5rem; font-family: var(--font-body); font-weight: 800;
  cursor: pointer;
}
body.woocommerce-account .woocommerce .button:hover { filter: brightness(.95); }
body.woocommerce-account .woocommerce .woocommerce-form-login__rememberme {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-right: .8rem;
}
body.woocommerce-account .woocommerce .woocommerce-form-login__rememberme input { width: auto; }
body.woocommerce-account .woocommerce table.shop_table { max-width: 100%; }
body.woocommerce-account .woocommerce table.shop_table td,
body.woocommerce-account .woocommerce table.shop_table th { overflow-wrap: anywhere; }
body.woocommerce-account .woocommerce .woocommerce-Addresses { display: flex; flex-wrap: wrap; gap: 1rem; }
body.woocommerce-account .woocommerce .woocommerce-Addresses > div { float: none; flex: 1 1 220px; min-width: 0; }
body.woocommerce-account .woocommerce .woocommerce-Address { line-height: 1.6; }

/* Optional quick links appear on the dashboard, not checkout or login. */
body.woocommerce-account .jss-account-quicklinks {
  margin-top: 1.7rem; padding: 1.4rem;
  border-radius: 1rem; background: hsl(var(--butter));
  border: 1px solid hsl(var(--border));
}
.jss-account-quicklinks__eyebrow {
  font: 800 .75rem/1.4 var(--font-body); letter-spacing: .13em;
  text-transform: uppercase; color: hsl(var(--nopal));
}
body.woocommerce-account .jss-account-quicklinks__heading h2 {
  margin: .35rem 0 1.25rem;
  font: 600 clamp(1.2rem, 3vw, 1.5rem)/1.25 var(--font-display);
}
.jss-account-quicklinks__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
body.woocommerce-account .jss-account-quicklinks__tile {
  position: relative; display: flex; flex-direction: column; gap: .25rem;
  padding: 1rem .9rem 1.5rem; min-width: 0;
  background: hsl(var(--background)); border: 1px solid hsl(var(--border));
  border-radius: .85rem; transition: transform .2s, border-color .2s;
  color: hsl(var(--foreground));
}
body.woocommerce-account .jss-account-quicklinks__tile:hover {
  border-color: hsl(var(--primary)); transform: translateY(-2px);
}
.jss-account-quicklinks__tile strong { font-size: .95rem; }
.jss-account-quicklinks__tile > span:not(.jss-account-quicklinks__arrow) { color: hsl(var(--muted-foreground)); font-size: .78rem; }
.jss-account-quicklinks__arrow { position: absolute; bottom: .35rem; right: .7rem; color: hsl(var(--primary)); }
@media (max-width: 900px) {
  .jss-account-quicklinks__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  body.logged-in.woocommerce-account .entry-content > .woocommerce { grid-template-columns: minmax(0,1fr); gap: 1.1rem; }
  body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation { padding: .6rem; }
  body.woocommerce-account .woocommerce-MyAccount-navigation ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .15rem; }
  body.woocommerce-account .woocommerce-MyAccount-navigation li a { font-size: .83rem; padding: .55rem .55rem; }
  body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { margin: 0; border-top: 0; }
  .jss-account-quicklinks__grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .site-header__side--right { gap: .35rem; }
  .site-header__account-btn, .site-header__cart-btn { width: 2.25rem; height: 2.25rem; flex-basis: 2.25rem; }
  body.woocommerce-account .woocommerce-MyAccount-navigation ul { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .jss-account-quicklinks__tile, .site-header__account-btn { transition: none; }
}

/* Justice Served Sweet: required account-registration fields (v1.0.35). */
body.woocommerce-account .woocommerce form.register .jss-registration-intro {
  margin: 0 0 1.15rem;
  color: hsl(var(--muted-foreground)); font-size: .93rem; line-height: 1.6;
}
body.woocommerce-account .woocommerce form.register .jss-registration-field { clear: both; float: none; width: 100%; }
body.woocommerce-account .woocommerce form.register .jss-registration-field input { width: 100%; }
body.woocommerce-account .woocommerce form.register .required { color: hsl(var(--primary)); }
body.woocommerce-account .woocommerce form.register #jss_password_confirmation { margin-bottom: .3rem; }
.jss-checkout-account-note {
  max-width: 1150px; margin: 0 auto 1.2rem; padding: 1rem 1.15rem;
  border: 1px solid hsl(var(--border)); border-radius: .9rem;
  background: hsl(var(--butter)); color: hsl(var(--foreground));
  font-family: var(--font-body); font-size: .92rem; line-height: 1.55;
}
.jss-checkout-account-note a { color: hsl(var(--nopal)); text-decoration: underline; font-weight: 800; text-underline-offset: 2px; }
.jss-checkout-account-note a:hover { color: hsl(var(--primary)); }
.jss-checkout-account-note a:focus-visible { outline: 2px solid hsl(var(--primary)); outline-offset: 3px; }

/* Sweet Account email confirmation + older guest order claims (v1.0.36). */
body.woocommerce-account .jss-email-notice {
  border-left: 4px solid hsl(var(--primary)); background: hsl(var(--muted));
  color: hsl(var(--foreground)); padding: 1rem 1.1rem; margin: 0 0 1.4rem;
  border-radius: .45rem; line-height: 1.55;
}
body.woocommerce-account .jss-email-resend { margin: 0 0 1.5rem; }
body.woocommerce-account .jss-email-resend details,
body.woocommerce-account .jss-email-claim,
body.woocommerce-account .jss-email-confirmation {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: .75rem; padding: 1.2rem; box-shadow: 0 3px 16px rgba(0,0,0,.035);
}
body.woocommerce-account .jss-email-resend summary { cursor: pointer; font-weight: 700; color: hsl(var(--primary)); }
body.woocommerce-account .jss-email-resend form { display: flex; flex-wrap: wrap; align-items: end; gap: .65rem; margin-top: 1rem; }
body.woocommerce-account .jss-email-resend label { flex-basis: 100%; font-weight: 700; }
body.woocommerce-account .jss-email-resend input[type=email] { flex: 1 1 220px; min-width: 0; }
body.woocommerce-account .jss-email-claim { margin-top: 1.3rem; }
body.woocommerce-account .jss-email-claim h2,
body.woocommerce-account .jss-email-confirmation h2 { font-size: clamp(1.3rem,3vw,1.8rem); margin: .2rem 0 .65rem; }
body.woocommerce-account .jss-email-claim p,
body.woocommerce-account .jss-email-confirmation p { line-height: 1.6; margin-bottom: 1rem; }
body.woocommerce-account .jss-email-confirmation { max-width: 650px; margin: 2rem auto; }
@media (max-width: 600px) {
  body.woocommerce-account .jss-email-resend form { display: block; }
  body.woocommerce-account .jss-email-resend input[type=email],
  body.woocommerce-account .jss-email-resend button { width: 100%; margin-top: .65rem; }
}

/* Optional Sweet List opt-in on My Account registration (v1.0.37). */
body.woocommerce-account .woocommerce form.register .jss-sweet-list-choice { clear:both;float:none;width:100%;margin:1.1rem 0 1.25rem; }
body.woocommerce-account .woocommerce form.register .jss-sweet-list-choice__label { display:flex;align-items:flex-start;gap:.8rem;padding:1rem;border:1px solid hsl(var(--border));background:hsl(var(--butter));border-radius:1rem;cursor:pointer;line-height:1.45; }
body.woocommerce-account .woocommerce form.register .jss-sweet-list-choice__label input[type="checkbox"] { appearance:auto;-webkit-appearance:checkbox;flex:none;width:19px;min-width:19px;height:19px;min-height:19px;margin:.1rem 0 0;accent-color:hsl(var(--primary)); }
body.woocommerce-account .woocommerce form.register .jss-sweet-list-choice__label strong { display:block;color:hsl(var(--foreground));font-size:.96rem;margin-bottom:.3rem; }
body.woocommerce-account .woocommerce form.register .jss-sweet-list-choice__description { display:block;color:hsl(var(--muted-foreground));font-size:.85rem;line-height:1.5;font-weight:400; }
body.woocommerce-account .woocommerce form.register .jss-sweet-list-choice__label:focus-within { outline:2px solid hsl(var(--primary));outline-offset:3px; }


/* Sweet List account-center card (v1.0.38). */
body.woocommerce-account .jss-sweet-list-card {
  margin:1.35rem 0 0; padding:1.4rem; background:hsl(var(--butter));
  border:1px solid hsl(var(--border)); border-radius:1rem;
}
body.woocommerce-account .jss-sweet-list-card h2 {
  margin:.3rem 0 .75rem; font:600 clamp(1.25rem,3vw,1.55rem)/1.25 var(--font-display);
  color:hsl(var(--foreground));
}
body.woocommerce-account .jss-sweet-list-card p { max-width:670px; margin:.55rem 0 1rem; line-height:1.55; }
body.woocommerce-account .jss-sweet-list-card__button {
  display:inline-flex; align-items:center; justify-content:center; min-height:44px;
  background:hsl(var(--primary)); color:hsl(var(--primary-foreground)); border-radius:.6rem;
}
body.woocommerce-account .jss-sweet-list-card__button:focus-visible { outline:3px solid hsl(var(--nopal)); outline-offset:3px; }
body.woocommerce-account .jss-sweet-list-card .jss-sweet-list-card__joined {
  font-weight:800; color:hsl(var(--nopal));
}
body.woocommerce-account .jss-sweet-list-card .jss-sweet-list-card__notice {
  padding:.65rem .85rem; background:hsl(var(--card)); border-left:4px solid hsl(var(--primary)); border-radius:.4rem;
}
body.woocommerce-account .jss-sweet-list-card .jss-sweet-list-card__fine-print {
  margin-top:.8rem; font-size:.82rem; color:hsl(var(--muted-foreground));
}
@media (max-width:480px) {
  body.woocommerce-account .jss-sweet-list-card { padding:1.1rem; }
  body.woocommerce-account .jss-sweet-list-card__button { width:100%; }
}
