/* ============================================================
   KSB — app.css
   Brand colours:
     #4D2E18  dark brown (primary)
     #FDBB15  yellow (accent)
     #B7A98A  tan (secondary)
     #F8FAF2  cream (background)
   Fonts: Cardo (headings) · Karla (body)
   Mobile-first.
   ============================================================ */

/* ── Brand tokens ── */
:root {
  --ksb-brown: #4D2E18;
  --ksb-yellow: #FDBB15;
  --ksb-tan: #B7A98A;
  --ksb-cream: #FAF6EE;
  --ksb-text: #1A1A1A;
  --ksb-muted: #6B6B6B;
}

/* ── Unified card system ── */
.ksb-card,
.bundle-pick-card,
.bundle-card,
.product-card,
.rec-bundle-option {
  background: #fff;
  border: 1.5px solid #e8e1d6;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ksb-card:hover,
.bundle-pick-card:hover,
.bundle-card:hover,
.product-card:hover,
.rec-bundle-option:hover {
  border-color: var(--ksb-tan);
  box-shadow: 0 6px 20px rgba(77,46,24,0.1);
  transform: translateY(-2px);
}

.ksb-card.selected,
.bundle-pick-card.bundle-pick-selected,
.rec-bundle-option.rec-bundle-selected {
  border-color: var(--ksb-yellow);
  box-shadow: 0 4px 16px rgba(253,187,21,0.15);
}

.ksb-card img,
.bundle-pick-card .bundle-pick-img,
.bundle-card img,
.product-card img {
  width: 100%;
  object-fit: cover;
}

.ksb-card .card-body,
.bundle-pick-card .bundle-pick-info,
.bundle-card .bundle-card-body,
.product-card .card-body {
  padding: 0.6rem 0.75rem;
}

.ksb-card .card-name,
.bundle-pick-card .bundle-pick-name,
.bundle-card-body h3,
.product-card .card-name {
  font-family: 'Cardo', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ksb-brown);
  line-height: 1.25;
}

.ksb-card .card-price,
.bundle-pick-card .bundle-pick-price,
.bundle-price,
.product-card .card-price {
  font-family: 'Cardo', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ksb-brown);
}

.ksb-card .card-meta,
.bundle-pick-card .bundle-pick-per,
.bundle-per-pax,
.product-card .card-meta {
  font-size: 0.72rem;
  color: var(--ksb-muted);
}

/* ── Reset / base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Karla', sans-serif;
  background-color: var(--ksb-cream);
  color: #2C1A0E;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: 'Cardo', serif;
  color: var(--ksb-brown);
  line-height: 1.2;
}

a { color: var(--ksb-brown); text-decoration: underline; }
a:hover { color: var(--ksb-yellow); }

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

/* ── Layout container ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ksb-tan);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  flex-wrap: wrap;
  /* Hidden on load — JS adds .is-visible after scrolling past hero */
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 300ms ease, transform 300ms ease;
  pointer-events: none;
}

.site-nav.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Non-home pages: nav always visible */
body:not(.page-home) .site-nav {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Homepage nav — hidden initially, revealed on scroll past hero via JS (.is-visible) */
.page-home .site-nav {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

/* Add top padding on non-home pages to account for fixed nav */
body:not(.page-home) main {
  padding-top: 56px;
}

/* Exit — "Looking for something else?" */
.flow-exit {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #ede8e0;
  text-align: center;
}

.flow-exit span {
  display: block;
  font-size: 0.78rem;
  color: var(--ksb-muted);
  margin-bottom: 0.4rem;
}

.flow-exit a {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ksb-brown);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 1.5px solid var(--ksb-tan);
  transition: border-color 0.15s ease;
}

.flow-exit a:hover {
  border-color: var(--ksb-brown);
}

/* Compact inline exit link (inside flow-options) */
.flow-exit-link {
  display: block;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ksb-brown);
  text-decoration: none;
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  transition: color 0.15s ease;
}
.flow-exit-link:hover {
  color: var(--ksb-brown);
}

.nav-logo {
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 56px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--ksb-brown);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--ksb-yellow); }
.nav-links a.nav-active {
  color: var(--ksb-yellow);
  font-weight: 700;
}

/* Mega menu */
.nav-mega-parent { position: relative; }
.nav-mega {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0.75rem;
  z-index: 100;
}
.nav-mega-parent:hover .nav-mega { display: block; }
.nav-mega-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: #fff;
  border: 1px solid #e0d9ce;
  border-radius: 10px;
  padding: 1.5rem 2rem;
  box-shadow: 0 8px 32px rgba(77,46,24,0.12);
  min-width: 420px;
}
.nav-mega-col h4 {
  font-family: 'Cardo', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ksb-brown);
  margin: 0 0 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #f0ebe3;
}
.nav-mega-col a {
  display: block;
  font-size: 0.82rem;
  color: var(--ksb-brown);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.15s;
}
.nav-mega-col a:hover {
  color: var(--ksb-yellow);
}

@media (max-width: 768px) {
  .nav-mega { display: none !important; }
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cart {
  color: var(--ksb-brown);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--ksb-tan);
  border-radius: 4px;
  transition: background 0.15s, border-color 0.15s;
}

.nav-cart:hover {
  background: rgba(253,187,21,0.15);
  border-color: var(--ksb-yellow);
  color: var(--ksb-brown);
}

.nav-whatsapp {
  background: #25D366;
  color: #fff !important;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  transition: background 0.15s;
}

.nav-whatsapp:hover { background: #1ebe5d; }

.nav-account {
  color: var(--ksb-brown);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--ksb-tan);
  border-radius: 4px;
  transition: background 0.15s, border-color 0.15s;
}
.nav-account:hover {
  background: rgba(253,187,21,0.15);
  border-color: var(--ksb-yellow);
  color: var(--ksb-brown);
}

/* ── Hamburger menu (mobile) ── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ksb-brown);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
    order: 3;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    order: 4;
    gap: 0;
    padding: 0.5rem 0;
    border-top: 1px solid #e8e1d6;
  }
  .nav-links.nav-links-open {
    display: flex;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 0.6rem 0.5rem;
    font-size: 0.95rem;
  }
  .site-nav {
    flex-wrap: wrap;
  }
  .nav-logo {
    order: 1;
  }
  .nav-right {
    order: 2;
    margin-left: auto;
  }
}

/* ============================================================
   MAIN
   ============================================================ */
main { min-height: 60vh; }
.page-home main { min-height: 0; }
.page-home .site-nav { display: none; }

/* ============================================================
   HERO
   ============================================================ */
/* ── Full-viewport hero ──────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  max-height: 1000px;
  overflow: hidden;
  background: var(--ksb-brown);
  --bottom-bar-h: 30px;
}

/* Hero trust — inline inside hero card copy */
.hero-trust-inline {
  margin-top: 0.4rem;
}

.hero-trust-label {
  font-family: 'Karla', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ksb-tan);
  margin-bottom: 0.2rem;
}

.hero-trust-logos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.hero-trust-logos a {
  display: flex;
  align-items: center;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.hero-trust-logos a:hover {
  opacity: 1;
}

.hero-trust-logos img {
  height: 15px;
  width: auto;
}

.hero-trust-google {
  gap: 0.25rem;
  font-family: 'Karla', sans-serif;
  font-size: 0.8rem;
  color: var(--ksb-brown);
}

.hero-trust-rating {
  font-weight: 700;
  font-size: 0.85rem;
}

.hero-trust-reviews {
  opacity: 0.6;
  font-size: 0.7rem;
}

@media (max-width: 768px) {
  .hero-trust-logos {
    gap: 0.65rem;
  }
  .hero-trust-logos img {
    height: 14px;
  }
  .hero-trust-google {
    font-size: 0.7rem;
  }
}

/* Hero bottom bar — pinned to bottom of viewport */
.hero-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.15rem;
  padding: 0.3rem 1rem;
  background: var(--ksb-brown);
  font-size: 0.7rem;
  color: #e0d9ce;
  z-index: 20;
}

.hero-bottom-bar a {
  color: var(--ksb-yellow);
  text-decoration: none;
}

.hero-bottom-bar a:hover { text-decoration: underline; }

.hero-bar-sep {
  color: var(--ksb-tan);
  margin: 0 0.2rem;
}

/* Slides cover entire hero */
.hero .hero-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Minimal bottom overlay — headline only, no widget */
.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 3rem 2.5rem;
  background: linear-gradient(to top, rgba(30,15,5,0.72) 0%, transparent 100%);
  z-index: 2;
}

.hero-overlay .hero-eyebrow {
  font-family: 'Cardo', Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.hero-overlay h1 {
  font-family: 'Cardo', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-scroll-hint {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: ksb-fade-in 1s ease both;
  animation-delay: 1.2s;
}

/* ── Hero pull-out drawer ─────────────────────────────────────── */

/* Drawer sits on right edge, 35% from top */
.hero-drawer {
  position: absolute;
  right: 0;
  top: 35%;
  z-index: 10;
  display: flex;
  align-items: flex-start;
}

/* Pulsing tab — the always-visible trigger */
.hero-drawer-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(77, 46, 24, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  border-radius: 10px 0 0 10px;
  padding: 1rem 0.7rem;
  cursor: pointer;
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  flex-direction: row;
  writing-mode: horizontal-tb;
  width: auto;
  min-width: 44px;
  flex-direction: column;
  transition: background 200ms ease;
}

.hero-drawer-tab:hover {
  background: rgba(77, 46, 24, 0.95);
}

.hero-drawer-tab-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.hero-drawer-tab-arrow {
  font-size: 1.2rem;
  color: var(--ksb-yellow);
  transition: transform 300ms ease;
  line-height: 1;
}

.hero-drawer-tab-arrow.is-open {
  transform: rotate(180deg);
}

/* Pulse ring around the tab */
.hero-drawer-pulse {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ksb-yellow);
  position: relative;
  flex-shrink: 0;
}

.hero-drawer-pulse::before,
.hero-drawer-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--ksb-yellow);
  opacity: 0;
  animation: hero-pulse 2.4s ease-out infinite;
}

.hero-drawer-pulse::after {
  animation-delay: 1.2s;
}

@keyframes hero-pulse {
  0%   { transform: scale(0.8); opacity: 0.8; }
  80%  { transform: scale(2.2); opacity: 0; }
  100% { opacity: 0; }
}

/* Panel — frosted glass, slides in from right */
.hero-drawer-panel {
  width: min(420px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px 0 0 14px;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.22);
  padding: 2rem 1.75rem 1.75rem;
}

/* Alpine transition helpers */
.drawer-enter       { transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1), opacity 250ms ease; }
.drawer-enter-start { transform: translateX(100%); opacity: 0; }
.drawer-enter-end   { transform: translateX(0);    opacity: 1; }
.drawer-leave       { transition: transform 280ms cubic-bezier(0.4, 0, 1, 1),    opacity 200ms ease; }
.drawer-leave-start { transform: translateX(0);    opacity: 1; }
.drawer-leave-end   { transform: translateX(100%); opacity: 0; }

/* Header inside panel */
.hero-drawer-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e8e1d8;
}

.hero-drawer-header .hero-eyebrow {
  font-family: 'Cardo', Georgia, serif;
  font-style: italic;
  font-size: 0.9rem;
  color: #9a7c5a;
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}

.hero-drawer-header h1 {
  font-family: 'Cardo', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ksb-brown);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero-drawer-header .hero-sub {
  font-size: 0.88rem;
  color: #6b5744;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.hero-drawer-header .halal-badge {
  font-size: 0.75rem;
}

/* Mobile: drawer becomes bottom sheet */
@media (max-width: 699px) {
  .hero-drawer {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .hero-drawer-tab {
    border-radius: 10px 10px 0 0;
    flex-direction: row;
    writing-mode: horizontal-tb;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    width: 100%;
  }

  .hero-drawer-panel {
    width: 100%;
    border-radius: 16px 16px 0 0;
    max-height: 75vh;
  }

  .drawer-enter-start { transform: translateY(100%); opacity: 0; }
  .drawer-enter-end   { transform: translateY(0);    opacity: 1; }
  .drawer-leave-start { transform: translateY(0);    opacity: 1; }
  .drawer-leave-end   { transform: translateY(100%); opacity: 0; }
}

.hero h1 {
  font-family: 'Cardo', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--ksb-cream);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.05rem;
  color: #e0d9ce;
  margin-bottom: 1.25rem;
  line-height: 1.65;
  max-width: 420px;
}

.halal-badge {
  display: inline-block;
  background: var(--ksb-yellow);
  color: var(--ksb-brown);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-tagline {
  font-family: 'Cardo', serif;
  font-style: italic;
  font-size: 1rem;
  color: rgba(248,250,242,0.7);
  margin-top: 0.75rem;
  letter-spacing: 0.03em;
}

/* ============================================================
   GUIDED FLOW
   ============================================================ */
.guided-flow {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  /* no background/shadow — it lives inside .hero-card */
}

@media (max-width: 899px) {
  .guided-flow { max-width: 100%; }
}

/* Nav row — back link left, progress dots right */
.flow-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.5rem 0.25rem;
  flex-shrink: 0;
}

.flow-back-link {
  font-family: 'Karla', sans-serif;
  font-size: 0.78rem;
  color: var(--ksb-tan);
  text-decoration: none;
}

.flow-back-link:hover {
  color: var(--ksb-brown);
}

.flow-dots-right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.flow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e0d9ce;
  transition: background 0.2s;
}

.flow-dot.active { background: var(--ksb-yellow); }
.flow-dot.done   { background: var(--ksb-brown); }

/* Cards — each step has its own padding */
.flow-card {
  width: 100%;
  padding: 0.75rem 1.5rem 1rem;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* Expanded state: flow-card direct child div fills remaining space */
/* Exclude .bundle-detail-view — it needs row direction (image left, info right) */
.flow-expanded .flow-card > div:not(.bundle-detail-view) {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.flow-expanded .flow-card > .bundle-detail-view {
  flex: 1 1 auto;
  min-height: 0;
}

.flow-question {
  font-family: 'Cardo', serif;
  font-size: 1.3rem;
  color: var(--ksb-brown);
  margin-bottom: 0.4rem;
}

.flow-sub {
  font-size: 0.88rem;
  color: #7a6a58;
  margin-bottom: 1rem;
}

/* Option grid */
.flow-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.flow-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

/* Option buttons */
.option-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.75rem 1rem;
  border: 2px solid #e0d9ce;
  border-radius: 8px;
  background: var(--ksb-cream);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-align: left;
  font-family: 'Karla', sans-serif;
}

.option-btn:hover {
  border-color: var(--ksb-tan);
  background: #f4f0e8;
}

.option-btn.selected {
  border-color: var(--ksb-yellow);
  background: #fffbee;
}

.option-btn.prominent {
  border-color: var(--ksb-tan);
}

.option-btn.prominent.selected {
  border-color: var(--ksb-yellow);
  background: #fffbee;
}

.option-btn-wide {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  padding: 0.75rem 1.25rem;
  width: 100%;
  gap: 1rem;
}

.option-btn-wide .option-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.option-btn-wide .option-text {
  flex: 1;
}

.option-btn-wide .option-label {
  font-weight: 600;
  font-size: 1rem;
  display: block;
}

.option-btn-wide .option-sub {
  font-size: 0.78rem;
  color: var(--ksb-muted);
  display: block;
  margin-top: 0.15rem;
}

.option-icon {
  font-size: 1.5rem;
  line-height: 1;
}
.option-icon-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
}

.option-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ksb-brown);
}

.option-sub {
  font-size: 0.78rem;
  color: #7a6a58;
}

/* Flow skip link */
.flow-skip {
  display: block;
  font-size: 0.82rem;
  color: var(--ksb-tan);
  text-align: center;
  margin-top: 0.75rem;
  text-decoration: none;
}

.flow-skip:hover { color: var(--ksb-brown); text-decoration: underline; }

/* Flow action row */
.flow-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Inquiry inline (large orders) */
.inquiry-inline {
  margin-top: 0.75rem;
  padding: 1rem;
  background: #f4f0e8;
  border-radius: 8px;
  font-size: 0.9rem;
}

.inquiry-inline p { margin-bottom: 0.5rem; }

.input-inline {
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 2px solid var(--ksb-tan);
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Karla', sans-serif;
  background: #fff;
  margin-bottom: 0.5rem;
  outline: none;
  transition: border-color 0.15s;
}

.input-inline:focus { border-color: var(--ksb-yellow); }

.btn-whatsapp {
  display: inline-block;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 5px;
  margin-top: 0.25rem;
  transition: background 0.15s;
}

.btn-whatsapp:hover { background: #1ebe5d; color: #fff; }

/* ============================================================
   RECOMMENDATION CARD
   ============================================================ */
.rec-card { }

.rec-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rec-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ksb-tan);
}

.rec-bundle-img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.rec-contents {
  font-size: 0.85rem;
  color: var(--ksb-muted);
  line-height: 1.4;
}

.rec-name {
  font-family: 'Cardo', serif;
  font-size: 1.6rem;
  color: var(--ksb-brown);
}

.rec-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.88rem;
  color: var(--ksb-brown);
}

.rec-includes span { display: flex; align-items: center; gap: 0.3rem; }

.rec-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.25rem 0;
}

.price-main {
  font-family: 'Cardo', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ksb-brown);
}

.price-per {
  font-size: 0.85rem;
  color: #7a6a58;
}

.rec-leadtime {
  font-size: 0.82rem;
  color: #7a6a58;
}

.btn-order {
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--ksb-yellow);
  color: var(--ksb-brown);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Karla', sans-serif;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.15s, transform 0.1s;
}

.btn-order:hover {
  background: #e6a800;
  transform: translateY(-1px);
}

.btn-order:active { transform: translateY(0); }

.rec-secondary-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 0.25rem;
}

.rec-mini-link {
  margin-top: 0.75rem;
  text-align: center;
}

.rec-mini-link .link-btn {
  font-size: 0.82rem;
  color: var(--ksb-brown);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.link-btn {
  background: none;
  border: none;
  color: var(--ksb-tan);
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
  font-family: 'Karla', sans-serif;
  padding: 0;
  transition: color 0.15s;
}

.link-btn:hover { color: var(--ksb-brown); }

/* ── Bundle picker (multi-recommendation) ────────────────────── */
.rec-bundle-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.rec-bundle-option {
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem;
  border: 2px solid #e0d9ce;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #fff;
}

.rec-bundle-option:hover {
  border-color: var(--ksb-tan);
}

.rec-bundle-selected {
  border-color: var(--ksb-yellow);
  box-shadow: 0 2px 12px rgba(253,187,21,0.15);
}

/* Gallery within each bundle option */
.rec-gallery {
  flex: 0 0 140px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.rec-gallery-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.rec-gallery-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.rec-gallery-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
}

.rec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s;
}

.rec-dot.active {
  background: #fff;
}

.rec-gallery-prev,
.rec-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.rec-gallery-prev:hover,
.rec-gallery-next:hover {
  background: rgba(0,0,0,0.5);
}

.rec-gallery-prev { left: 4px; }
.rec-gallery-next { right: 4px; }

/* Option body text */
.rec-option-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  justify-content: center;
}

.rec-option-name {
  font-family: 'Cardo', serif;
  font-size: 1rem;
  color: var(--ksb-brown);
  line-height: 1.2;
}

.rec-option-desc {
  font-size: 0.78rem;
  color: var(--ksb-muted);
  line-height: 1.3;
}

.rec-option-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.rec-option-total {
  font-family: 'Cardo', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ksb-brown);
}

.rec-option-per {
  font-size: 0.78rem;
  color: #7a6a58;
}

/* Checkout strip (price breakdown + CTA) */
.rec-checkout-strip {
  padding: 0.75rem 0;
  border-top: 1px solid #ede8e0;
}

.rec-price-breakdown {
  margin-bottom: 0.75rem;
}

.rec-price-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--ksb-muted);
  padding: 0.15rem 0;
}

.rec-price-total {
  font-weight: 700;
  color: var(--ksb-brown);
  font-size: 0.95rem;
  border-top: 1px solid #ede8e0;
  padding-top: 0.4rem;
  margin-top: 0.25rem;
}

.rec-free-delivery {
  font-size: 0.8rem;
  color: #27ae60;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Mini upsell strip */
.rec-mini-upsell {
  padding: 0.75rem 0;
  border-top: 1px solid #ede8e0;
  text-align: center;
}

.rec-mini-pitch {
  font-size: 0.88rem;
  color: var(--ksb-brown);
}

.rec-mini-sub {
  font-size: 0.78rem;
  color: var(--ksb-muted);
  margin-top: 0.15rem;
}

.rec-mini-panel {
  padding: 1rem 0;
  border-top: 1px solid #ede8e0;
}

/* ============================================================
   BUTTONS (global)
   ============================================================ */
/* NOTE: this INTENTIONALLY overrides ksb-ui.css's brown .btn-primary on the customer
   site only (customer pages load ksb-ui.css + this file; app.css wins as it loads last).
   BOS / staff-portal / QR pages load ksb-ui.css alone and keep the brown button.
   Same class, two apps — by design, not a duplicate to "clean up". (2026-06 sweep.) */
.btn-primary {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  background: var(--ksb-yellow);
  color: var(--ksb-brown);
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Karla', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  text-align: center;
}

.btn-primary:hover {
  background: #e6a800;
  color: var(--ksb-brown);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background: #e0d9ce;
  color: var(--ksb-tan);
  cursor: not-allowed;
  transform: none;
}
.btn-primary.btn-error {
  background: #c0392b;
  color: #fff;
}

.btn-ghost {
  display: inline-block;
  padding: 0.65rem 1.2rem;
  background: transparent;
  color: var(--ksb-brown);
  border: 2px solid var(--ksb-tan);
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: 'Karla', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.btn-ghost:hover {
  border-color: var(--ksb-brown);
  background: #f4f0e8;
  color: var(--ksb-brown);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: center;
  padding: 1rem 1.5rem;
  background: var(--ksb-yellow);
  border-top: 2px solid rgba(77,46,24,0.15);
  border-bottom: 2px solid rgba(77,46,24,0.15);
}

.trust-item {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ksb-brown);
}

.trust-item:not(:last-child)::after {
  content: "·";
  margin-left: 2rem;
  opacity: 0.5;
}

/* ============================================================
   LOCATION STRIP
   ============================================================ */
.location-strip {
  text-align: center;
  padding: 0.75rem 1.5rem;
  background: #f4f0e8;
  font-size: 0.88rem;
  color: var(--ksb-brown);
  border-bottom: 1px solid #e0d9ce;
}

.location-strip a {
  color: var(--ksb-brown);
  font-weight: 600;
}

.location-strip a:hover { color: var(--ksb-yellow); }

/* ============================================================
   FEATURED BUNDLES
   ============================================================ */
.featured-section {
  padding: 3rem 1.5rem;
  background: linear-gradient(to bottom, var(--ksb-cream), #f0ede4);
}

.featured-section > .bundle-grid,
.featured-section > h2,
.featured-section > p,
.featured-section > .view-all-link {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.featured-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: -0.01em;
  position: relative;
}

.featured-section h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--ksb-yellow);
  margin: 0.5rem auto 0;
}

.bundle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .bundle-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .bundle-grid { grid-template-columns: repeat(3, 1fr); }
}

.bundle-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e0d9ce;
  transition: box-shadow 0.2s;
}

.bundle-card:hover {
  box-shadow: 0 6px 24px rgba(77,46,24,0.1);
}

.bundle-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.bundle-card-body {
  padding: 1.1rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.bundle-card-body h3 {
  font-size: 1.1rem;
  color: var(--ksb-brown);
}

.bundle-packs {
  font-size: 0.82rem;
  color: var(--ksb-tan);
  font-weight: 500;
}

.bundle-price {
  font-family: 'Cardo', serif;
  font-size: 1.4rem;
  color: var(--ksb-brown);
  font-weight: 700;
  margin-bottom: 0;
}

.bundle-per-pax {
  font-size: 0.8rem;
  color: var(--ksb-muted);
  margin-bottom: 0.25rem;
}

.bundle-desc {
  font-size: 0.82rem;
  color: var(--ksb-muted);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.bundle-pack-toggle {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.pack-pill {
  padding: 0.3rem 0.75rem;
  border: 1.5px solid var(--ksb-tan);
  border-radius: 20px;
  background: transparent;
  color: var(--ksb-brown);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pack-pill.selected {
  background: var(--ksb-brown);
  border-color: var(--ksb-brown);
  color: #fff;
}

.pack-pill:hover:not(.selected) {
  border-color: var(--ksb-brown);
}

.view-all-link {
  text-align: center;
  margin-top: 1.75rem;
  font-size: 0.95rem;
}

.view-all-link a {
  color: var(--ksb-brown);
  font-weight: 600;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--ksb-brown);
  padding: 3rem 1.5rem;
  color: var(--ksb-cream);
}

.testimonials h2 {
  color: var(--ksb-yellow);
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.testimonials h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--ksb-yellow);
  margin: 0.5rem auto 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Premium card style — replaces border-left treatment */
.testimonial-grid blockquote {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(253,187,21,0.25);
  border-radius: 10px;
  padding: 1.5rem;
  position: relative;
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Decorative opening quote mark */
.testimonial-grid blockquote::before {
  content: '\201C';
  font-family: 'Cardo', serif;
  font-size: 4rem;
  color: var(--ksb-yellow);
  opacity: 0.4;
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  line-height: 1;
}

.testimonial-grid blockquote p {
  color: #e0d9ce;
  margin-bottom: 0.75rem;
  font-style: italic;
  padding-top: 1.5rem;
}

.testimonial-grid cite {
  font-size: 0.78rem;
  color: var(--ksb-tan);
  font-style: normal;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 3rem 1.5rem;
  background: var(--ksb-cream);
}

.faq > * {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.faq h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.faq details {
  border-bottom: 1px solid #e0d9ce;
  padding: 0.75rem 0;
}

.faq summary {
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  color: var(--ksb-brown);
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2rem;
  color: var(--ksb-tan);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  padding: 0.6rem 0 0.25rem;
  font-size: 0.92rem;
  color: #4a3626;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 11;
  background: var(--ksb-brown);
  border-top: 3px solid var(--ksb-yellow);
  color: #d5cfc5;
  padding: 3rem 2rem 1.5rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-logo {
  width: 120px;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-family: 'Cardo', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ksb-tan);
  margin: 0;
}
.footer-notice {
  font-family: 'Karla', sans-serif;
  font-style: normal;
  font-size: 0.78rem;
  margin-top: 0.5rem;
  opacity: 0.85;
}
.footer-notice a {
  color: var(--ksb-yellow);
  text-decoration: underline;
}
.footer-col h4 {
  font-family: 'Cardo', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ksb-yellow);
  margin: 0 0 0.75rem;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.82rem;
  color: #d5cfc5;
  text-decoration: none;
  line-height: 1.5;
  margin: 0;
}
.footer-col a:hover { color: var(--ksb-yellow); }
.footer-bottom {
  max-width: 960px;
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.75rem;
  color: var(--ksb-tan);
}
.footer-bottom a { color: var(--ksb-tan); text-decoration: underline; }
.footer-bottom a:hover { color: var(--ksb-yellow); }
.footer-sep {
  color: var(--ksb-tan);
  margin: 0 0.25rem;
}
@media (max-width: 700px) {
  .site-footer { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}


/* ============================================================
   UTILITIES
   ============================================================ */
[x-cloak] { display: none !important; }

/* Hide Alpine transitions before JS loads */
[x-transition] { }

/* ── Checkout ─────────────────────────────────────────────────── */
.checkout-wrap { max-width: 900px; margin: 3rem auto; padding: 0 1.5rem; }
.checkout-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; margin-top: 2rem; }
.order-summary { background: white; padding: 1.5rem; border-radius: var(--radius, 8px); border: 1px solid #e0d9ce; position: sticky; top: 80px; align-self: start; }
@media (max-width: 700px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}
.summary-line { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid #f0ede8; font-size: 0.95rem; }
.summary-line > span:first-child { min-width: 0; flex: 1; margin-right: 0.75rem; }
.summary-line > span:last-child  { flex-shrink: 0; white-space: nowrap; }
.summary-subtotal { display: flex; justify-content: space-between; padding: 0.75rem 0 0; font-weight: 700; }
.delivery-note { font-size: 0.85rem; color: var(--ksb-muted); margin-top: 0.75rem; }
.checkout-form { background: white; padding: 1.5rem 2rem 2rem; border-radius: var(--radius, 8px); border: 1px solid #e0d9ce; }
.checkout-form h2:first-child { margin-top: 0; }
.checkout-form h2 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.1rem; }
.summary-delivery-fee { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.9rem; color: var(--ksb-muted); border-bottom: 1px solid #f0ede8; }
.summary-delivery-fee .free-tag { color: #2E7D32; font-weight: 600; }
.summary-estimated-total { display: flex; justify-content: space-between; padding: 1rem 0 0.5rem; font-family: 'Cardo', serif; font-size: 1.2rem; font-weight: 700; color: var(--ksb-brown); }
.summary-minimum-note { font-size: 0.78rem; color: #C62828; margin-top: 0.25rem; }
.field-group { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .field-group { grid-template-columns: 1fr; } }
.checkout-form label { display: flex; flex-direction: column; gap: 0.3rem; font-weight: 500; font-size: 0.9rem; }
.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form input[type="tel"],
.checkout-form textarea {
  padding: 0.6rem 0.8rem; border: 1px solid #ccc; border-radius: 4px;
  font-family: 'Karla', sans-serif; font-size: 1rem; width: 100%;
}
.radio-group { display: flex; gap: 2rem; margin-bottom: 1rem; }
.radio-group label { flex-direction: row; align-items: center; gap: 0.5rem; font-weight: 400; }
.pickup-fields .radio-group { flex-direction: column; gap: 0.75rem; }
.pickup-option { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.75rem 1rem; border: 1px solid #e0d6c8; border-radius: 6px; cursor: pointer; transition: border-color 0.15s; }
.pickup-option:has(input:checked) { border-color: var(--ksb-brown, #4D2E18); background: #faf6f0; }
.pickup-option input[type="radio"] { margin-top: 0.25rem; }
.pickup-option strong { font-size: 0.92rem; }
.pickup-option small { color: var(--ksb-muted, #8a7a6a); font-size: 0.82rem; }
.error-box { background: #fff0f0; border: 1px solid #ffcccc; padding: 1rem; border-radius: 4px; margin-bottom: 1.5rem; }
.error-box p { margin: 0.25rem 0; color: #cc0000; }
.btn-checkout { width: 100%; margin-top: 1.5rem; font-size: 1.1rem; }
.checkout-secure { text-align: center; font-size: 0.85rem; color: var(--ksb-muted); margin-top: 0.75rem; }
.confirm-wrap { max-width: 600px; margin: 4rem auto; padding: 0 1.5rem; text-align: center; }
.confirm-wrap h1 { font-size: 2rem; margin-bottom: 1rem; }
.confirm-wrap p { margin-bottom: 1rem; }

/* ═══ Shop page (catalog rebuild) ═══ */

/* Intro header */
.shop-intro {
  text-align: center;
  padding: 3rem 2rem 1.5rem;
  position: relative;
  background: linear-gradient(to bottom, #f0ede4, var(--ksb-cream));
  border-bottom: none;
}
.shop-intro h1 {
  font-family: 'Cardo', serif;
  font-size: 2.2rem;
  color: var(--ksb-brown);
  margin-bottom: 0.4rem;
}
.shop-intro p {
  color: var(--ksb-muted);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 1rem;
}
.shop-help-link {
  font-size: 0.88rem;
  color: var(--ksb-tan);
}
.shop-help-link a {
  color: var(--ksb-brown);
  font-weight: 600;
}

/* Catalog section */
.shop-catalog-section {
  padding: 2rem 2rem 2.5rem;
  border-bottom: 1px solid #ede8e0;
}

.shop-section-header {
  margin-bottom: 1.25rem;
}
.shop-section-header h2 {
  font-family: 'Cardo', serif;
  font-size: 1.8rem;
  color: var(--ksb-brown);
  margin-bottom: 0.2rem;
}
.shop-section-sub {
  font-size: 0.9rem;
  color: var(--ksb-muted);
  margin-bottom: 0.75rem;
}
.shop-section-header .pax-filter {
  margin-top: 0.5rem;
}

/* Full-width slider (not constrained by hero card) */
.shop-slider-wrap {
  position: relative;
}
.shop-slider-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem 2.5rem 1rem;
}
.shop-slider-grid::-webkit-scrollbar { display: none; }
.shop-slider-grid .bundle-pick-card {
  flex: 0 0 280px;
  height: 360px;
}
.shop-slider-grid .bundle-pick-img {
  height: 240px;
}

/* Detail view — full page width (image left, info right) */
.shop-detail-view {
  display: flex;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  min-height: 420px;
}
.shop-detail-img {
  flex: 0 0 45%;
  border-radius: 12px;
  overflow: hidden;
}
.shop-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-detail-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.5rem 0;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
  scrollbar-width: none;
  position: relative;
}

.detail-cart-btn {
  position: absolute;
  top: 0.5rem;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  background: var(--ksb-brown);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Karla', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s;
  z-index: 2;
}

.detail-cart-btn:hover {
  background: #3a2112;
}

.detail-cart-btn svg {
  stroke: #fff;
}
.shop-detail-info::-webkit-scrollbar { display: none; }

@media (max-width: 700px) {
  .shop-detail-view {
    flex-direction: column;
    min-height: auto;
  }
  .shop-detail-info {
    max-height: none;
    overflow-y: visible;
  }
  .shop-detail-img {
    flex: none;
    height: 260px;
    max-height: 260px;
    width: 100%;
  }
  .shop-detail-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .shop-slider-grid .bundle-pick-card {
    flex: 0 0 220px;
    height: 300px;
  }
  .shop-slider-grid .bundle-pick-img {
    height: 180px;
  }
  .shop-intro h1 { font-size: 1.7rem; }
  .shop-catalog-section { padding: 1.5rem 1rem 2rem; }
  .shop-slider-grid { padding: 0.5rem 1rem 1rem; }
}

/* Individual products filter bar */
.shop-filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.shop-filter-bar .search-bar {
  flex: 1;
  min-width: 200px;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--ksb-tan);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: 'Karla', sans-serif;
}
.shop-filter-bar .category-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.shop-filter-bar .pill {
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--ksb-tan);
  background: white;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: 'Karla', sans-serif;
  transition: background 0.15s, border-color 0.15s;
}
.shop-filter-bar .pill:hover { background: #f4f0e8; border-color: var(--ksb-brown); }
.shop-filter-bar .pill.active { background: var(--ksb-brown); color: white; border-color: var(--ksb-brown); box-shadow: 0 2px 8px rgba(77,46,24,0.25); }

/* Legacy shop classes kept for backwards compat */
.page-shop .shop-header { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 2rem 2rem 1.5rem; background: linear-gradient(to bottom, #f0ede4, var(--ksb-cream)); border-bottom: 1px solid #e0d9ce; }
.page-shop .search-bar { flex: 1; min-width: 200px; padding: 0.5rem 0.8rem; border: 1px solid var(--ksb-tan); border-radius: var(--radius, 6px); font-size: 0.95rem; }
.page-shop .shop-section { padding: 2rem; }
.page-shop .shop-section h2 { font-family: 'Cardo', serif; font-size: 1.8rem; margin-bottom: 1.2rem; color: var(--ksb-brown); padding-bottom: 0.5rem; border-bottom: 2px solid var(--ksb-yellow); }
.page-shop .product-grid,
.page-shop-category .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.page-shop .shop-empty { color: var(--ksb-muted); font-size: 0.95rem; padding: 1rem 0; }
.product-card { background: white; border-radius: 10px; overflow: hidden; border: 1px solid #ede8df; box-shadow: 0 1px 4px rgba(0,0,0,.06); transition: box-shadow 0.2s, transform 0.2s; }
.product-card:hover { box-shadow: 0 6px 20px rgba(77,46,24,0.12); transform: translateY(-2px); }
.card-img-wrap { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--ksb-cream); display: block; }
.product-card img { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--ksb-cream); }
.product-card .card-img-placeholder { width: 100%; height: 100%; background: var(--ksb-cream); display: flex; align-items: center; justify-content: center; color: var(--ksb-tan); font-size: 2rem; }
.product-card .placeholder-logo { width: 60%; height: auto; aspect-ratio: auto; opacity: 0.25; object-fit: contain; }
.monthly-special-badge { position: absolute; top: 0.6rem; left: 0.6rem; background: #c0392b; color: #fff; font-size: 0.7rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 4px; letter-spacing: 0.04em; text-transform: uppercase; z-index: 2; pointer-events: none; }
.sor-hei-deal-badge { position: absolute; top: 0.6rem; right: 0.6rem; background: #FDBB15; color: #4D2E18; font-size: 0.68rem; font-weight: 700; padding: 0.25rem 0.55rem; border-radius: 4px; z-index: 2; pointer-events: none; line-height: 1.3; max-width: 120px; text-align: right; }
.product-card .card-body { padding: 0.85rem 1rem; }
.product-card .card-name { font-family: 'Cardo', serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--ksb-brown); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .card-meta { display: none; }
.product-card .card-price { font-family: 'Cardo', serif; font-size: 1.05rem; font-weight: 700; color: var(--ksb-brown); margin-bottom: 0.75rem; }
.product-card .btn-sm { padding: 0.35rem 0.8rem; font-size: 0.85rem; background: var(--ksb-brown); color: white; }
.product-card .btn-sm:hover { background: #3a2112; }
a.product-card-link { text-decoration: none; color: inherit; display: block; cursor: pointer; }
a.product-card-link:hover { text-decoration: none; color: inherit; }

@media (max-width: 768px) {
  .page-shop .product-grid,
  .page-shop-category .product-grid,
  .shop-catalog-section .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* (removed: shop-section-nav — replaced by category tile navigation) */

/* ═══ Whole Cakes promoted section ═══ */
.whole-cakes-section {
  background: linear-gradient(135deg, #faf6ee 0%, #f5efe3 100%);
  padding: 2.5rem 2rem 3rem;
}
.whole-cakes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.whole-cake-card {
  background: white; border-radius: 12px; overflow: hidden;
  border: 1.5px solid #ede8df;
  box-shadow: 0 2px 8px rgba(77,46,24,0.06);
  transition: box-shadow 0.25s, transform 0.25s;
  text-decoration: none; color: inherit; display: block;
}
.whole-cake-card:hover {
  box-shadow: 0 8px 24px rgba(77,46,24,0.14);
  transform: translateY(-3px);
}
.whole-cake-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.whole-cake-info { padding: 1rem 1.2rem; }
.whole-cake-name {
  font-family: 'Cardo', serif; font-size: 1.1rem; font-weight: 700;
  color: var(--ksb-brown); margin: 0 0 0.3rem;
}
.whole-cake-price { font-size: 0.95rem; color: var(--ksb-muted); margin: 0; }
@media (max-width: 768px) {
  .whole-cakes-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .whole-cakes-section { padding: 1.5rem 1rem 2rem; }
}

/* ═══ Whole Cakes guided flow grid ═══ */
.whole-cakes-flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  padding: 0.5rem 0;
  max-height: 60vh;
  overflow-y: auto;
}
.whole-cake-flow-card {
  background: white; border-radius: 10px; overflow: hidden;
  border: 1.5px solid #ede8df; text-decoration: none; color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
.whole-cake-flow-card:hover {
  box-shadow: 0 6px 20px rgba(77,46,24,0.12);
  transform: translateY(-2px);
}
.whole-cake-flow-card img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
}
.whole-cake-flow-info { padding: 0.75rem 1rem; }
.whole-cake-flow-info strong {
  font-family: 'Cardo', serif;
  font-size: 0.95rem; color: var(--ksb-brown); display: block;
}
.whole-cake-flow-price { font-size: 0.85rem; color: var(--ksb-muted); }

/* (removed: shop-divider — no longer used) */

/* (removed: old category-hero — replaced below with full-width hero + overlay) */

/* ═══ Product grid within catalog sections ═══ */
.shop-catalog-section .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* ═══ Global search bar in shop intro ═══ */
/* Legacy — hidden, replaced by collapsible search */
.shop-search-wrap { display: none; }
.shop-help-link { display: none; }

.shop-global-search {
  width: 100%;
  padding: 0.55rem 1rem;
  border: 1px solid var(--ksb-tan);
  border-radius: 999px;
  font-size: 0.95rem;
  font-family: 'Karla', sans-serif;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
}
.shop-global-search:focus { border-color: var(--ksb-yellow); }

/* ═══ Collapsible search — toggle button ═══ */
.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--ksb-brown);
  cursor: pointer;
  transition: background 0.15s;
}
.search-toggle:hover { background: #f4f0e8; }

/* ═══ Collapsible search — expandable overlay ═══ */
.shop-search-expand {
  position: fixed;
  top: 112px; /* 56px site-nav + 56px section-nav */
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.shop-search-expand .shop-global-search {
  flex: 1;
}
.search-expand-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--ksb-brown);
  cursor: pointer;
  transition: background 0.15s;
}
.search-expand-close:hover { background: #f4f0e8; }

/* Transition classes for search overlay */
.search-expand-enter { transition: opacity 0.15s ease, transform 0.15s ease; }
.search-expand-enter-start { opacity: 0; transform: translateY(-8px); }
.search-expand-enter-end { opacity: 1; transform: translateY(0); }
.search-expand-leave { transition: opacity 0.1s ease, transform 0.1s ease; }
.search-expand-leave-start { opacity: 1; transform: translateY(0); }
.search-expand-leave-end { opacity: 0; transform: translateY(-8px); }

/* Section hidden by search */
.shop-catalog-section.search-hidden { display: none; }
.product-card.search-hidden { display: none; }

/* ═══ Variant select dropdown ═══ */
.variant-select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 2px solid var(--ksb-tan);
  border-radius: 6px;
  font-family: 'Karla', sans-serif;
  font-size: 0.95rem;
  background: #fff;
  color: var(--ksb-brown);
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: border-color 0.15s;
}
.variant-select:focus { border-color: var(--ksb-yellow); outline: none; }

/* ═══ Product detail ═══ */
.page-product .product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 2rem; max-width: 900px; margin: 0 auto; }
@media (max-width: 640px) { .page-product .product-detail { grid-template-columns: 1fr; } }
.product-detail .product-image { border-radius: 12px; overflow: hidden; }
.product-detail .product-image img { width: 100%; border-radius: 12px; box-shadow: 0 4px 20px rgba(77,46,24,0.1); }
.product-detail .product-image .img-placeholder { width: 100%; aspect-ratio: 1; background: var(--ksb-cream); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.product-thumb-strip { display: flex; gap: 8px; margin-top: 10px; }
.product-thumb { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; padding: 0; background: none; flex-shrink: 0; transition: border-color .15s; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-thumb:hover { border-color: var(--ksb-tan); }
.product-thumb.active { border-color: var(--ksb-brown); }
.product-detail .product-info h1 { font-size: 2rem; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.product-detail .product-price { font-family: 'Cardo', serif; font-size: 1.5rem; font-weight: 700; color: var(--ksb-brown); margin: 0.75rem 0; }
.product-detail .product-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.product-detail .tag-pill { background: var(--ksb-cream); border: 1px solid var(--ksb-tan); padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.78rem; }
.product-detail .add-to-cart { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.5rem; }
.product-detail .add-to-cart .variant-select { flex: 0 0 100%; margin-bottom: 0; }
.product-detail .qty-input { width: 70px; padding: 0.5rem; border: 1px solid var(--ksb-tan); border-radius: var(--radius, 6px); text-align: center; font-size: 1rem; }
/* Dispenser details panel */
.dispenser-details-panel { background: #faf6f0; border: 1px solid #e0d6c8; border-radius: 8px; padding: 1.25rem; margin-bottom: 1.25rem; }
.dispenser-details-header { display: flex; align-items: center; margin-bottom: 0.75rem; }
.dispenser-includes { margin: 0 0 1rem; padding-left: 1.2rem; font-size: 0.9rem; line-height: 1.7; }
.dispenser-includes li { margin-bottom: 0.25rem; }
.dispenser-pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.dispenser-price-card { background: #fff; border: 2px solid #e0d6c8; border-radius: 8px; padding: 0.75rem; text-align: center; transition: border-color 0.15s, background-color 0.15s; cursor: pointer; }
.dispenser-price-card:hover { border-color: var(--ksb-yellow); }
.dispenser-price-card--active { border-color: var(--ksb-yellow); background-color: #FFF9E6; }
.dispenser-price-card--active .dispenser-price-tag { color: var(--ksb-brown); }
.dispenser-price-card strong { display: block; font-size: 0.9rem; margin-bottom: 0.25rem; }
.dispenser-price-tag { display: block; font-family: 'Cardo', serif; font-size: 1.15rem; font-weight: 700; color: var(--ksb-brown); margin-bottom: 0.15rem; }
.dispenser-price-card small { color: var(--ksb-muted); font-size: 0.78rem; }
/* Drink choice selector */
.dispenser-drink-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.75rem; }
.dispenser-drink-option { display: flex; flex-direction: column; align-items: center; padding: 0.75rem; border: 2px solid #e0d6c8; border-radius: 8px; cursor: pointer; text-align: center; transition: border-color 0.15s, background-color 0.15s; }
.dispenser-drink-option:hover { border-color: var(--ksb-yellow); }
.dispenser-drink-option--active { border-color: var(--ksb-yellow); background-color: #FFF9E6; }
.dispenser-drink-option strong { font-size: 0.95rem; }
/* Flavour picker */
.flavour-picker { margin-bottom: 1.25rem; }
.flavour-slot-label { font-size: 0.9rem; font-weight: 600; margin: 0.75rem 0 0.4rem; color: var(--ksb-brown); }
.flavour-pick-grid { display: flex; flex-direction: column; gap: 0.4rem; }
.flavour-pick-option { display: flex; flex-direction: column; padding: 0.65rem 0.9rem; border: 2px solid #e0d6c8; border-radius: 8px; cursor: pointer; transition: border-color 0.15s, background-color 0.15s; font-size: 0.9rem; }
.flavour-pick-option:hover:not(.flavour-pick-option--sold-out) { border-color: var(--ksb-yellow); }
.flavour-pick-option--active { border-color: var(--ksb-yellow); background-color: #FFF9E6; font-weight: 600; }
.flavour-pick-option--sold-out { opacity: 0.5; cursor: not-allowed; }
/* Milk add-on */
.dispenser-addon { display: flex; align-items: center; gap: 0.6rem; padding: 0.75rem 1rem; margin-top: 0.75rem; border: 2px solid #e0d6c8; border-radius: 8px; cursor: pointer; transition: border-color 0.15s, background-color 0.15s; }
.dispenser-addon:hover { border-color: var(--ksb-yellow); }
.dispenser-addon input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--ksb-brown); cursor: pointer; flex-shrink: 0; }
.dispenser-addon-text { display: flex; justify-content: space-between; align-items: center; flex: 1; font-size: 0.9rem; }
.dispenser-addon-price { font-family: 'Cardo', serif; font-weight: 700; color: var(--ksb-brown); }
/* Cake customisation */
.cake-customise { background: #faf6f0; border: 1px solid #e0d6c8; border-radius: 8px; padding: 1.25rem; margin-bottom: 1.25rem; }
.cake-field span { display: block; font-size: 0.9rem; margin-bottom: 0.25rem; }
.cake-field small { display: block; margin-top: 0.25rem; }

/* Cake sub-sections */
.cake-section-header { max-width: 1100px; margin: 2rem auto 0.75rem; padding: 0 1rem; }
.cake-section-header h2 { font-family: 'Cardo', serif; font-size: 1.5rem; color: var(--ksb-brown); margin-bottom: 0.25rem; }
.cake-section-header p { font-size: 0.9rem; color: var(--ksb-muted); margin: 0; }
.cake-section-divider { max-width: 1100px; margin: 2rem auto; border: none; border-top: 1px solid #e0d6c8; }

.related-products { padding: 2rem; }
.related-products h2 { font-family: 'Cardo', serif; font-size: 1.4rem; margin-bottom: 1rem; color: var(--ksb-brown); }
.related-products .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }

/* ═══ Cart page ═══ */
.page-cart .cart-wrap { max-width: 960px; margin: 3rem auto; padding: 0 1.5rem; }
.page-cart .cart-wrap h1 { font-size: 2rem; margin-bottom: 2rem; }

.cart-empty { text-align: center; padding: 3rem 0; }
.cart-empty-msg { font-size: 1.15rem; color: var(--ksb-muted); margin-bottom: 1.5rem; }

.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
.cart-layout > * { min-width: 0; }
@media (max-width: 780px) { .cart-layout { grid-template-columns: 1fr; } }

/* Cart rows */
.cart-items { display: flex; flex-direction: column; gap: 0; }
.cart-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #e0d9ce; flex-wrap: wrap;
}
.cart-row-img { width: 64px; height: 64px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: #f8f5ef; }
.cart-row-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 480px) { .cart-row-img { width: 52px; height: 52px; } }
.cart-row-info { flex: 1; min-width: 0; }
.cart-item-name { font-family: 'Cardo', serif; font-size: 1rem; font-weight: 700; color: var(--ksb-brown); margin-bottom: 0.2rem; }
.cart-item-meta { display: block; font-family: 'Karla', sans-serif; font-size: 0.8rem; color: var(--ksb-muted); font-weight: 400; }
.cart-item-price { font-size: 0.88rem; color: var(--ksb-muted); }

.cart-row-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.qty-controls { display: flex; align-items: center; gap: 0.5rem; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 4px; border: 1px solid var(--ksb-tan);
  background: var(--ksb-cream); color: var(--ksb-brown); font-size: 1rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1;
  transition: background 0.15s, border-color 0.15s;
}
.qty-btn:hover:not(:disabled) { background: #f4f0e8; border-color: var(--ksb-brown); }
.qty-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.qty-btn--minus { background: var(--ksb-cream); border-color: var(--ksb-tan); }
.qty-btn--minus:hover:not(:disabled) { background: #f4f0e8; border-color: var(--ksb-brown); }
.qty-btn--add { background: var(--ksb-yellow); border-color: var(--ksb-yellow); }
.qty-btn--add:hover:not(:disabled) { background: #e6a800; border-color: #e6a800; }
.qty-value { min-width: 24px; text-align: center; font-weight: 700; font-size: 1rem; }
.qty-input { width: 48px; padding: 2px 4px; border: 1px solid var(--ksb-tan); border-radius: 4px; background: #fff; -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input:focus { outline: 2px solid var(--ksb-yellow); border-color: var(--ksb-yellow); }
.cart-row-line-total { font-size: 0.88rem; color: var(--ksb-muted); white-space: nowrap; }

/* Cart summary sidebar */
.cart-summary {
  background: #fff; border: 1px solid #e0d9ce; border-radius: 8px;
  padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem;
  position: sticky; top: 80px;
}
.cart-summary h2 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.cart-summary .summary-line { display: flex; justify-content: space-between; font-size: 0.95rem; padding: 0.25rem 0; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 1.05rem; padding-top: 0.75rem; border-top: 2px solid var(--ksb-brown); margin-top: 0.25rem; }
.cart-total-row strong { font-family: 'Cardo', serif; font-size: 1.25rem; }

.btn-checkout-cta { width: 100%; text-align: center; padding: 0.85rem; font-size: 1rem; margin-top: 0.5rem; }
.btn-primary--disabled { background: #e0d9ce; color: var(--ksb-tan); pointer-events: none; }
.cart-continue-link { display: block; text-align: center; font-size: 0.88rem; color: var(--ksb-muted); text-decoration: none; margin-top: 0.25rem; }
.cart-continue-link:hover { color: var(--ksb-brown); text-decoration: underline; }

.cart-free-delivery-note { font-size: 0.85rem; color: #5a7a3a; background: #f0f7ea; padding: 0.5rem 0.75rem; border-radius: 4px; }
.cart-min-order-notice { font-size: 0.85rem; color: #8a3a00; background: #fff3e8; padding: 0.5rem 0.75rem; border-radius: 4px; }

/* Cart fulfilment options panel */
.cart-fulfilment-options { margin: 0.75rem 0 0.5rem; padding: 0.75rem; background: #fafaf7; border: 1px solid #e8e3d8; border-radius: 6px; }
.cart-fulfilment-title { font-size: 0.85rem; color: var(--ksb-muted); margin-bottom: 0.6rem; font-weight: 500; }
.cart-fulfilment-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.cart-fulfilment-card { padding: 0.65rem 0.6rem; background: #fff; border: 1px solid #e0dccf; border-radius: 5px; font-size: 0.82rem; line-height: 1.35; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s; user-select: none; }
.cart-fulfilment-card:hover { border-color: var(--ksb-brown); box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.cart-fulfilment-card:focus { outline: 2px solid var(--ksb-brown); outline-offset: 2px; }
.cart-fulfilment-card--selected { border-color: var(--ksb-brown); background: #fff8e8; box-shadow: 0 0 0 2px var(--ksb-brown) inset; }
.cart-fulfilment-card--disabled { opacity: 0.55; cursor: not-allowed; background: #f5f3ee; }
.cart-fulfilment-card--disabled:hover { border-color: #e0dccf; box-shadow: none; }
.cart-fulfilment-card strong { display: block; font-size: 0.9rem; margin-bottom: 0.25rem; color: var(--ksb-brown); }
.cart-fulfilment-card p { margin: 0.15rem 0; }
.cart-fulfilment-card--highlight { border-color: #5a7a3a; background: #f0f7ea; }
.cart-fulfilment-card--highlight strong { color: #2E7D32; }
.cart-fulfilment-note { font-size: 0.75rem; color: var(--ksb-muted); margin-top: 0.25rem !important; }
.cart-checkout-subnote { text-align: center; font-size: 0.78rem; color: var(--ksb-muted); margin-top: 0.4rem; margin-bottom: 0.25rem; }
@media (max-width: 480px) { .cart-fulfilment-row { grid-template-columns: 1fr; } }

/* Cart fulfilment pills */
.cart-fulfilment-pills-wrap { margin: 0.75rem 0 0.25rem; }
.cart-fulfilment-pills-title { font-size: 0.85rem; color: var(--ksb-muted); margin-bottom: 0.5rem; font-weight: 500; }
.cart-fulfilment-pills { display: flex; gap: 0.5rem; margin-bottom: 0.3rem; }
.fulfilment-pill {
  flex: 1; padding: 0.55rem 0.5rem; text-align: center;
  border: 1.5px solid var(--ksb-border); border-radius: 20px;
  background: #fff; cursor: pointer;
  font-family: 'Karla', sans-serif; font-size: 0.88rem; font-weight: 700;
  color: var(--ksb-brown); transition: border-color 0.15s, background 0.15s, color 0.15s;
  user-select: none; -webkit-user-select: none;
}
.fulfilment-pill:hover { border-color: var(--ksb-brown); }
.fulfilment-pill:focus { outline: 2px solid var(--ksb-brown); outline-offset: 2px; }
.fulfilment-pill--selected { border-color: var(--ksb-brown); background: var(--ksb-brown); color: #fff; }
.cart-fulfilment-pill-detail { font-size: 0.78rem; color: var(--ksb-muted); margin-bottom: 0.5rem; line-height: 1.4; min-height: 1rem; }

/* ═══ Content pages (about, contact) ═══ */
.content-section { max-width: 700px; margin: 3rem auto; padding: 1rem 2rem 0; }
.content-section h1 { font-size: 2.2rem; margin-bottom: 1rem; letter-spacing: -0.01em; line-height: 1.1; }
.content-section p { margin-bottom: 1rem; line-height: 1.7; }

/* ═══ About page ═══ */
.about-section {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 2rem 3rem;
}

.about-hero-band {
  background: var(--ksb-brown);
  background-image: radial-gradient(circle, rgba(253,187,21,0.06) 1px, transparent 1px);
  background-size: 18px 18px;
  color: var(--ksb-cream);
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: 3px solid var(--ksb-yellow);
  margin-bottom: 0;
}

.about-hero-band h1 {
  font-family: 'Cardo', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--ksb-cream);
  margin-bottom: 0.5rem;
}

.about-hero-band .tagline {
  font-family: 'Cardo', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(248,250,242,0.75);
  letter-spacing: 0.03em;
}

.about-block {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid #e0d9ce;
}

.about-block:last-child { border-bottom: none; }

.about-block h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.about-block h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--ksb-yellow);
  margin-top: 0.4rem;
}

.about-block p {
  line-height: 1.75;
  color: #3a2210;
  margin-bottom: 0.85rem;
  font-size: 1.02rem;
}

.about-cta {
  margin-top: 2.5rem;
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, #f4f0e8 0%, var(--ksb-cream) 100%);
  border-radius: 10px;
  border: 1px solid #e0d9ce;
}

.about-cta p {
  margin-bottom: 1.25rem;
  color: var(--ksb-brown);
  font-size: 1rem;
}

.about-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 1.25rem;
}

/* ═══ Contact page ═══ */
.contact-wrap {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 2rem 3rem;
}

.contact-wrap h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.contact-wrap .contact-intro {
  font-size: 1rem;
  color: var(--ksb-muted);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.contact-info-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ksb-tan);
  font-weight: 600;
}

.contact-info-value {
  font-size: 1rem;
  color: var(--ksb-brown);
  font-weight: 500;
}

.contact-info-value a {
  color: var(--ksb-brown);
  text-decoration: none;
  font-weight: 600;
}

.contact-info-value a:hover {
  color: var(--ksb-yellow);
}

.contact-inquiry-box {
  background: var(--ksb-brown);
  color: var(--ksb-cream);
  padding: 2rem;
  border-radius: 10px;
  border-top: 3px solid var(--ksb-yellow);
}

.contact-inquiry-box h2 {
  font-family: 'Cardo', serif;
  color: var(--ksb-yellow);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.contact-inquiry-box p {
  font-size: 0.95rem;
  color: #e0d9ce;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.btn-whatsapp-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: 0.02em;
}

.btn-whatsapp-lg:hover {
  background: #1ebe5d;
  color: #fff;
  transform: translateY(-1px);
}

.contact-map {
  margin-top: 3rem;
}

.contact-map h2 {
  font-family: 'Cardo', serif;
  font-size: 1.4rem;
  color: var(--ksb-brown);
  margin-bottom: 0.5rem;
}
.btn-map-toggle { padding: 0.5rem 1rem; border: 1px solid #e0d6c8; border-radius: 6px; background: #fff; font-family: 'Karla', sans-serif; font-size: 0.85rem; cursor: pointer; transition: all 0.15s; }
.btn-map-toggle.active { background: var(--ksb-brown); color: #fff; border-color: var(--ksb-brown); }
.btn-map-toggle:not(.active):hover { border-color: var(--ksb-brown); }

/* Mobile fix: nav wraps to multiple rows on small screens, increase top padding */
@media (max-width: 480px) {
  body:not(.page-home) main {
    padding-top: 90px;
  }
  .contact-wrap h1 {
    font-size: 1.8rem;
  }
}

/* Checkout select (time slot dropdown) */
.checkout-select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Karla', sans-serif;
  font-size: 1rem;
  background: #fff;
  color: var(--ksb-brown);
  appearance: auto;
}

/* ============================================================
   KSB HERO + ANIMATIONS
   ============================================================ */

/* ── Slideshow images ───────────────────────────────────────── */
.hero-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1200ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 7000ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
  /* Warm premium filter — craft bakery, not fast food */
  filter: sepia(15%) saturate(120%) brightness(103%);
}

/* First slide visible by default — no JS required */
.hero-bg-slide:first-child {
  opacity: 1;
  transform: scale(1);
}

.hero-bg-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-bg-slide.is-exiting {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1200ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 1200ms ease-in;
}

/* ── Hero logo overlay ──────────────────────────────────────── */
/* ── Full-height right panel inside sticky hero ──────────────── */
.hero-logo {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 12;
}

.hero-logo-img {
  width: 140px;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
  transition: filter 800ms ease;
}

/* Dark background → invert logo to white */
.hero-logo-img.logo-inverted {
  filter: brightness(0) invert(1);
  box-shadow: 0 2px 16px rgba(255,255,255,0.2);
}

.hero-card {
  position: absolute;
  right: 0;
  top: 0;
  bottom: var(--bottom-bar-h);
  width: 380px;
  max-width: 45vw;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px 0 0 16px;
  box-shadow: -8px 0 40px rgba(0,0,0,0.18);
  z-index: 10;
  transition: width 400ms ease-in-out, max-width 400ms ease-in-out;
}

/* Expand card after step 1 — 82% screen for bundle slider */
.hero-card:has(.flow-expanded) {
  width: 82vw;
  max-width: 82vw;
  border-radius: 16px 0 0 16px;
}

.hero-card-copy {
  flex-shrink: 0;
  padding: 1.25rem 2rem 0.75rem;
  border-bottom: 1px solid #ede8e0;
}

.hero-eyebrow {
  font-family: 'Cardo', Georgia, serif;
  font-style: italic;
  font-size: 0.88rem;
  color: #9a7c5a;
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
  display: block;
}

.hero-card-copy h1 {
  font-family: 'Cardo', serif;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  color: var(--ksb-brown);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.hero-card-copy .hero-sub {
  font-size: 0.82rem;
  color: #6b5744;
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.hero-card-widget {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

/* ── Step accordion / slide-up transitions ───────────────────── */
.step-enter      { transition: opacity 260ms ease, transform 260ms ease; }
.step-enter-from { opacity: 0; transform: translateY(18px); }
.step-enter-to   { opacity: 1; transform: translateY(0); }

.step-leave      { transition: opacity 180ms ease, transform 180ms ease;
                   position: absolute !important; /* leaves DOM flow — no height jump */
                   top: 0; left: 0; right: 0; }
.step-leave-from { opacity: 1; transform: translateY(0); }
.step-leave-to   { opacity: 0; transform: translateY(-14px); }

/* ── Step 1: Hover — inline sketch preview ───────────────── */
.option-btn-wrap {
  width: 100%;
}

.option-btn-wide.is-peeking {
  border-color: var(--ksb-yellow);
  background: #fffbee;
}

/* Sketch preview strip — expands below each button on hover */
.sketch-preview {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  max-height: 0;
  overflow: hidden;
  padding: 0;
  transition: max-height 300ms ease-out, padding 300ms ease-out;
}

.sketch-preview.sketch-open {
  max-height: 100px;
  padding: 0.5rem 0.5rem 0.75rem;
}

/* Each sketch item: squiggly line + illustration */
.sketch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  opacity: 0;
  transform: scale(0.6) translateY(8px);
  transition: opacity 250ms ease-out, transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sketch-item.sketch-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Exit: fast, no stagger */
.sketch-item:not(.sketch-visible) {
  transition-delay: 0ms !important;
  transition-duration: 150ms;
}

/* Squiggly connecting line */
.squiggle-line {
  width: 30px;
  height: 8px;
  opacity: 0.5;
}

/* Illustration thumbnail */
.sketch-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
}

/* Mobile: always show, no animation */
@media (max-width: 899px) {
  .sketch-preview {
    max-height: 80px !important;
    padding: 0.4rem 0.5rem !important;
  }
  .sketch-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .sketch-img {
    width: 44px;
    height: 44px;
  }
  .squiggle-line { display: none; }
}

/* ── Bundle pick header + pax filter ──────────────────────── */
.bundle-pick-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.5rem 0.4rem;
}

.bundle-pick-header .flow-question {
  margin-bottom: 0;
}

.pax-filter {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
}

.pax-pill {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid #e0d9ce;
  background: #fff;
  font-family: 'Karla', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ksb-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.pax-pill:hover {
  border-color: var(--ksb-tan);
  color: var(--ksb-brown);
}

.pax-pill.active {
  background: var(--ksb-brown);
  border-color: var(--ksb-brown);
  color: #fff;
}

/* ── Bundle pick grid (Step 2) ────────────────────────────── */
.bundle-pick-wrap {
  position: relative;
}

.bundle-pick-grid {
  display: flex;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 2.5rem 0.5rem;
}

.bundle-pick-grid::-webkit-scrollbar { display: none; }

/* Left/right navigation arrows */
.bundle-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 1px solid #e0d9ce;
  color: var(--ksb-brown);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bundle-slider-arrow:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.bundle-slider-prev { left: 0.25rem; }
.bundle-slider-next { right: 0.25rem; }

.bundle-pick-card {
  background: #fff;
  border: 2px solid #e0d9ce;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  flex: 0 0 280px;
  scroll-snap-align: start;
  min-height: 0;
}

.bundle-pick-card:hover {
  border-color: var(--ksb-tan);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(77,46,24,0.08);
}

.bundle-pick-selected {
  border-color: var(--ksb-yellow);
  box-shadow: 0 4px 16px rgba(253,187,21,0.15);
}

.bundle-pick-img {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  object-fit: cover;
}
.bundle-pick-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ksb-cream);
  object-fit: unset;
}
.bundle-pick-placeholder .placeholder-logo {
  width: 55%;
  height: auto;
  flex: none;
  opacity: 0.2;
  object-fit: contain;
}
.bundle-detail-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ksb-cream);
}
.bundle-detail-placeholder .placeholder-logo {
  width: 45%;
  height: auto;
  opacity: 0.2;
  object-fit: contain;
}

.bundle-pick-grid .bundle-pick-img {
  max-height: 296px;
}

.bundle-pick-info {
  padding: 0.4rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex-shrink: 0;
}

.bundle-pick-name {
  font-family: 'Cardo', serif;
  font-size: 0.78rem;
  color: var(--ksb-brown);
  line-height: 1.2;
}

.bundle-pick-price {
  font-family: 'Cardo', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ksb-brown);
}

.bundle-pick-per {
  font-size: 0.68rem;
  color: var(--ksb-muted);
}

/* ── Large group upsell row (below bundle slider) ───────── */
.large-group-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  padding: 0.6rem 0.5rem 0.25rem;
  border-top: 1px solid #ede8e0;
  margin-top: 0.5rem;
}

.large-group-label {
  font-family: 'Karla', sans-serif;
  font-size: 0.78rem;
  color: var(--ksb-muted);
  white-space: nowrap;
  margin-right: 0.25rem;
}

.large-group-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

/* ── Combination result — two-column layout ─────────────── */
.combo-result-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.combo-result-layout {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.combo-result-left {
  flex: 1 1 55%;
  min-width: 0;
  overflow-y: auto;
}

.combo-result-right {
  flex: 0 0 38%;
  min-width: 170px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* On desktop: show dispenser above minis upsell (minis is first in HTML for mobile order) */
.combo-result-right .dispenser-addon {
  order: -1;
}

.combo-result-footer {
  border-top: 1px solid #ede8e0;
  padding-top: 0.6rem;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* Bundle cards (no image — compact) */
.combo-bundle-cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.combo-bundle-card {
  border: 1px solid #ede8e0;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  background: #faf8f4;
}

.combo-bundle-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.combo-bundle-name {
  font-family: 'Cardo', serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ksb-brown);
  line-height: 1.25;
}

.combo-bundle-price {
  font-family: 'Cardo', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ksb-brown);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Horizontal item chips */
.combo-item-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.45rem;
}

.combo-item-chip {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.68rem;
  color: #5a4a3a;
  line-height: 1.3;
}

.combo-item-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Minis upsell card on right */
.combo-minis-upsell {
  border: 1px solid #ede8e0;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  background: #faf8f4;
}

.combo-addon-heading {
  font-family: 'Cardo', serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ksb-brown);
  display: block;
  margin-bottom: 0.2rem;
}

.flow-dietary-note {
  font-size: 0.75rem;
  color: #5a7a50;
  background: #f0f7ec;
  border: 1px solid #c6dfc0;
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
  margin: 0.35rem 0 0.1rem;
}

/* ── Bundle detail view: image left + info right ─────────── */
.bundle-detail-view {
  display: flex;
  gap: 1.5rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.bundle-detail-img {
  flex: 0 0 45%;
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
}

.bundle-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bundle-detail {
  flex: 1 1 50%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Scroll hint — gradient fade + bouncing pill at bottom of detail column */
.bundle-detail-scroll-hint {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 1.5rem 0 0.5rem;
  background: linear-gradient(to top, #fff 30%, transparent);
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.bundle-detail-scroll-hint.hidden {
  opacity: 0;
}

.scroll-hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.75rem;
  background: var(--ksb-brown);
  color: #fff;
  font-family: 'Karla', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 20px;
  animation: scrollHintBounce 1.8s ease-in-out infinite;
}

.scroll-hint-pill svg {
  width: 12px;
  height: 12px;
}

@keyframes scrollHintBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.bundle-detail-inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.bundle-detail-name {
  font-family: 'Cardo', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ksb-brown);
}

.bundle-detail-desc {
  font-size: 0.82rem;
  color: var(--ksb-muted);
  line-height: 1.45;
}

.bundle-detail-pax {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ksb-tan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bundle-detail-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.bundle-detail-total {
  font-family: 'Cardo', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ksb-brown);
}

.bundle-detail-per {
  font-size: 0.75rem;
  color: var(--ksb-muted);
}

/* Dispenser add-on (grid selector) */
.dispenser-addon {
  border-top: 1px solid #ede8e0;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

/* ── Dispenser toggle checkbox ── */
.dispenser-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.dispenser-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--ksb-brown);
  cursor: pointer;
  flex-shrink: 0;
}

.dispenser-toggle-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.dispenser-toggle-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.dispenser-toggle-label {
  font-family: 'Karla', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ksb-brown);
}

.dispenser-toggle-from {
  font-family: 'Karla', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--ksb-muted);
}

/* ── Dispenser grid ── */
.dispenser-addon {
  container-type: inline-size;
  container-name: dispenser;
}

.dispenser-grid-wrap {
  background: #f5efe5;
  border: 1.5px solid #e8e1d6;
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  overflow-x: auto;
}

.dispenser-grid {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Karla', sans-serif;
  font-size: 0.8rem;
}

.dispenser-grid th {
  font-weight: 600;
  color: var(--ksb-brown);
  padding: 0.2rem 0.15rem 0.3rem;
  text-align: center;
  white-space: nowrap;
  font-size: 0.82rem;
}

.dispenser-grid td {
  padding: 0.2rem 0.1rem;
  text-align: center;
  vertical-align: middle;
}

.dispenser-size-label {
  text-align: left !important;
  font-weight: 700;
  color: var(--ksb-brown);
  padding-right: 0.35rem !important;
  white-space: nowrap;
  font-size: 0.82rem;
}

.dispenser-serves {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--ksb-muted);
  line-height: 1.1;
}

.dispenser-milk-col {
  transition: opacity 0.2s ease, max-width 0.2s ease;
}

.dispenser-milk-cell {
  vertical-align: middle;
}

.dispenser-milk-note {
  display: block;
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--ksb-muted);
}

.dispenser-cell-price {
  font-family: 'Karla', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--ksb-tan);
  margin-top: 0.1rem;
}

/* Milo Hot/Cold serve-temperature toggle (guided-flow grid, per Milo cell) */
.milo-temp-toggle {
  display: inline-flex;
  margin-top: 0.25rem;
  border: 1px solid #d5cfc5;
  border-radius: 4px;
  overflow: hidden;
}
.milo-temp-btn {
  font-family: 'Karla', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.2rem 0.4rem;
  border: none;
  background: #fff;
  color: var(--ksb-brown);
  cursor: pointer;
}
.milo-temp-btn + .milo-temp-btn {
  border-left: 1px solid #d5cfc5;
}
.milo-temp-btn-active {
  background: var(--ksb-yellow);
  color: var(--ksb-brown);
}

/* Best value nudge on 5L row */
.dispenser-best-value {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--ksb-yellow);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* ── Qty stepper (shared) ── */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d5cfc5;
  border-radius: 4px;
  overflow: hidden;
}

.qty-stepper .qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: #f8f5ef;
  color: var(--ksb-brown);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.qty-stepper .qty-btn:hover {
  background: #ede8e0;
}

.qty-stepper .qty-value {
  width: 28px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ksb-brown);
}

/* Smaller stepper for grid cells */
.qty-stepper-sm .qty-btn {
  width: 24px;
  height: 24px;
  font-size: 0.9rem;
}

.qty-stepper-sm .qty-value {
  width: 22px;
  font-size: 0.75rem;
}

/* ── Milk add-on row ── */
.dispenser-milk-addon {
  border-top: 1px dashed #e8e1d6;
  margin-top: 0.4rem;
  padding-top: 0.45rem;
}

.dispenser-milk-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dispenser-milk-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

img.dispenser-milk-icon {
  border-radius: 4px;
}

.dispenser-milk-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.dispenser-milk-label {
  font-family: 'Karla', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ksb-brown);
}

.dispenser-milk-limit {
  font-family: 'Karla', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--ksb-muted);
}

.dispenser-milk-stepper {
  flex-shrink: 0;
}

.dispenser-milk-price {
  font-family: 'Karla', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--ksb-tan);
  min-width: 42px;
  text-align: right;
  margin-left: auto;
}

.dispenser-subtotal {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0 0.2rem;
  margin-top: 0.35rem;
  border-top: 1px solid #ede8e0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ksb-brown);
  letter-spacing: 0.01em;
}

/* Mobile: grid compress */
@media (max-width: 480px) {
  .dispenser-grid-wrap { padding: 0.4rem 0.35rem; }
  .dispenser-grid th,
  .dispenser-grid td { padding: 0.15rem 0.1rem; }
  .dispenser-grid th { font-size: 0.72rem; }
  .dispenser-toggle-icon { width: 30px; height: 30px; }
  .dispenser-toggle-from { font-size: 0.68rem; }
  .dispenser-serves { font-size: 0.62rem; }
  .dispenser-best-value { font-size: 0.55rem; }
  .dispenser-milk-icon { width: 30px; height: 30px; }
  .dispenser-milk-label { font-size: 0.78rem; }
  .qty-stepper-sm .qty-btn { width: 22px; height: 22px; font-size: 0.85rem; }
  .qty-stepper-sm .qty-value { width: 20px; font-size: 0.7rem; }
}

/* Container query: compact dispenser when container is narrow (e.g. bundle detail panel on desktop) */
@container dispenser (max-width: 520px) {
  .dispenser-grid-wrap { padding: 0.4rem 0.35rem; overflow-x: visible; }
  .dispenser-grid { table-layout: fixed; font-size: 0.72rem; }
  .dispenser-grid thead { display: none; }
  .dispenser-grid tbody { display: flex; flex-direction: column; gap: 0.5rem; }
  .dispenser-grid tr { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.35rem; padding: 0.35rem 0; border-bottom: 1px solid #e8e1d6; }
  .dispenser-grid tr:last-child { border-bottom: none; }
  .dispenser-size-label { grid-column: 1 / -1; text-align: center !important; font-size: 0.78rem; padding: 0 !important; margin-bottom: 0.15rem; }
  .dispenser-serves { display: inline; margin-left: 0.3rem; }
  .dispenser-best-value { display: inline; margin-left: 0.3rem; font-size: 0.6rem; }
  .dispenser-grid td:not(.dispenser-size-label)::before {
    content: attr(data-drink);
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--ksb-brown);
    margin-bottom: 0.15rem;
    text-align: center;
  }
  .dispenser-grid td { text-align: center; padding: 0.1rem 0; }
  .qty-stepper-sm { justify-content: center; gap: 0.15rem; }
  .qty-stepper-sm .qty-btn { width: 24px; height: 24px; font-size: 0.8rem; padding: 0; }
  .qty-stepper-sm .qty-value { font-size: 0.78rem; min-width: 18px; }
  .dispenser-cell-price { font-size: 0.65rem; }
  .dispenser-toggle-icon { width: 28px; height: 28px; }
  .dispenser-toggle-label { font-size: 0.85rem; }
  .dispenser-toggle-from { font-size: 0.68rem; }
}

/* Discount section in checkout */
.discount-section {
  margin: 0.75rem 0;
  padding-top: 0.5rem;
  border-top: 1px solid #ede8e0;
}

.discount-input-row {
  display: flex;
  gap: 0.4rem;
}

.discount-input {
  flex: 1;
  padding: 0.55rem 0.8rem;
  border: 1px solid #d5cfc5;
  border-radius: 6px;
  font-size: 0.88rem;
  font-family: 'Karla', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: border-color 0.15s;
}
.discount-input:focus {
  outline: none;
  border-color: var(--ksb-brown);
  box-shadow: 0 0 0 2px rgba(77,46,24,0.1);
}

.btn-discount-apply {
  padding: 0.55rem 1rem;
  background: var(--ksb-brown);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: 'Karla', sans-serif;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.btn-discount-apply:hover:not(:disabled) {
  background: #3a2112;
}

.btn-discount-apply:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.discount-msg {
  font-size: 0.75rem;
  margin-top: 0.3rem;
}

.discount-msg-ok {
  color: #2E7D32;
}

.discount-msg-err {
  color: #C62828;
}

/* Summary sub-lines (dispensers, fees) */
.summary-line-sub {
  font-size: 0.8rem;
  color: var(--ksb-muted);
}

.summary-line-fee {
  font-size: 0.82rem;
  color: var(--ksb-brown);
}

/* Mobile: dispenser accordion already stacks naturally */

/* Bundle contents list */
.bundle-contents {
  border-top: 1px solid #ede8e0;
  padding-top: 0.5rem;
  margin-top: 0.2rem;
}

.bundle-contents-heading {
  font-family: 'Cardo', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ksb-brown);
  margin-bottom: 0.3rem;
}

.bundle-contents-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bundle-contents-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  width: 72px;
  text-align: center;
}

.bundle-contents-item span {
  font-size: 0.62rem;
  color: var(--ksb-muted);
  line-height: 1.2;
}

.bundle-contents-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Action bar: Back + ORDER side by side */
.bundle-detail-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.bundle-detail-actions .bundle-change-btn {
  flex: 0 0 auto;
  font-size: 0.82rem;
  padding: 0.6rem 1rem;
  margin: 0;
  white-space: nowrap;
}
.bundle-detail-actions .btn-order {
  flex: 1;
}

/* Detail checkout strip */
.bundle-detail-checkout {
  border-top: 1px solid #ede8e0;
  padding-top: 0.6rem;
  margin-top: auto;
  position: sticky;
  bottom: 0;
  background: var(--ksb-cream);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
  z-index: 2;
  padding-bottom: 0.5rem;
}

/* GST note — used across guided flow, cart, checkout, shop category */
.gst-note {
  font-family: 'Karla', sans-serif;
  font-size: 0.72rem;
  color: var(--ksb-muted);
  text-align: center;
  margin: 0.25rem 0 0;
}

.bundle-detail-line-total {
  display: flex;
  justify-content: space-between;
  font-family: 'Cardo', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ksb-brown);
  margin-bottom: 0.5rem;
}

/* ── Minis two-column layout ─────────────────────────────── */
.minis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  flex: 1 1 auto;
  min-height: 0;
}

.mini-column-card {
  background: #fff;
  border: 1.5px solid #e8e1d6;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mini-column-card:hover {
  border-color: var(--ksb-tan);
  box-shadow: 0 6px 20px rgba(77,46,24,0.1);
}

.mini-column-active {
  border-color: var(--ksb-yellow);
  box-shadow: 0 4px 16px rgba(253,187,21,0.15);
}

.mini-hero-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
}

.mini-column-body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mini-column-body h3 {
  font-family: 'Cardo', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ksb-brown);
}

.mini-column-desc {
  font-size: 0.78rem;
  color: var(--ksb-muted);
  line-height: 1.4;
}

.mini-sizes {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.3rem;
}

.mini-size-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  border: 1.5px solid #e0d9ce;
  background: #fff;
  font-size: 0.8rem;
  color: var(--ksb-brown);
  cursor: pointer;
  transition: all 0.15s ease;
}

.mini-size-pill:hover {
  border-color: var(--ksb-tan);
  background: #faf8f5;
}

.mini-size-pill.active {
  border-color: var(--ksb-yellow);
  background: #fffdf5;
  font-weight: 600;
}

.mini-size-price {
  font-family: 'Cardo', serif;
  font-weight: 700;
}

@media (max-width: 700px) {
  .bundle-detail-view {
    flex-direction: column;
  }
  .bundle-detail-img {
    height: 250px;
    max-height: 250px;
    width: 100%;
    overflow: hidden;
  }
  .bundle-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .bundle-detail {
    flex: none;
  }
  .minis-grid {
    grid-template-columns: 1fr;
  }
}

/* Bottom bar — Back + hint + catalog link */
.bundle-pick-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.4rem 0;
  flex-shrink: 0;
}

.bundle-pick-hint {
  font-size: 0.78rem;
  color: var(--ksb-tan);
}

@media (max-width: 900px) {
  .bundle-pick-card {
    flex: 0 0 220px;
  }
}

@media (max-width: 500px) {
  .bundle-pick-card {
    flex: 0 0 200px;
  }
  .bundle-pick-grid {
    min-height: 0;
  }
}

/* ── Sprint 1: Pax pills (horizontal layout) ────────────────── */
.flow-options-inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.option-pill {
  flex: 0 1 auto;
  padding: 0.55rem 1.25rem;
  text-align: center;
  border-radius: 999px;
  align-items: center;
}

/* ── Sprint 1: Demote "No thanks" dispenser option ───────────── */
.option-demoted {
  background: transparent;
  border-color: #e0d9ce;
  opacity: 0.7;
}

.option-demoted .option-label {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--ksb-muted);
}

.option-demoted .option-sub { display: none; }

.option-demoted:hover {
  opacity: 1;
  border-color: var(--ksb-tan);
}

/* ── Sprint 1: Collapse hero copy after step 1 — top bar layout ── */
.hero-card:has(.flow-expanded) .hero-card-copy {
  padding: 0.6rem 1.5rem;
  border-bottom: 1px solid #ede8e0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.hero-card:has(.flow-expanded) .hero-eyebrow {
  display: none;
}

.hero-card:has(.flow-expanded) .hero-card-copy h1 {
  font-family: 'Cardo', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0;
  color: var(--ksb-brown);
  letter-spacing: -0.01em;
}

.hero-card:has(.flow-expanded) .hero-sub {
  display: none;
}

.hero-card:has(.flow-expanded) .halal-badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
}

/* ── Sprint 1: Loading text ──────────────────────────────────── */
.flow-loading {
  font-size: 0.88rem;
  color: var(--ksb-tan);
  font-style: italic;
}

/* Mobile: card drops below image */
@media (max-width: 699px) {
  .hero {
    height: auto;
    min-height: 0;
    background: #fff;
  }

  /* Must use .hero .hero-bg-slide to beat desktop specificity (.hero .hero-bg-slide at line 518) */
  .hero .hero-bg-slide {
    position: relative;
    height: 56vw;
    min-height: 220px;
    max-height: 340px;
    inset: auto;
    width: 100%;
    display: block;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero .hero-bg-slide:not(:first-child) { display: none; }

  .hero-logo {
    position: relative;
    top: auto;
    left: auto;
    padding: 1rem 1.25rem 0;
  }

  .hero-logo-img {
    width: 120px;
    filter: none;
  }

  .hero-card,
  .hero-card:has(.flow-expanded) {
    position: static;
    width: 100% !important;
    height: auto;
    max-width: 100% !important;
    border-radius: 0;
    box-shadow: none;
    border-top: none;
  }
}

/* ── Keyframes ───────────────────────────────────────────────── */
@keyframes ksb-fade-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes ksb-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-slide { transform: scale(1) !important; transition: opacity 400ms ease !important; }
}

/* ── Scroll-reveal system ────────────────────────────────────── */
[data-reveal] {
  transition-property: opacity, transform;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-duration: 550ms;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal="fade-up"]     { opacity: 0; transform: translateY(24px); }
[data-reveal="fade-in"]     { opacity: 0; transform: none; }
[data-reveal="slide-left"]  { opacity: 0; transform: translateX(-28px); }
[data-reveal="slide-right"] { opacity: 0; transform: translateX(28px); }
[data-reveal].is-revealed   { opacity: 1; transform: translate(0, 0); }

/* ── Product card hover enhanced ────────────────────────────── */
.product-card {
  transition: box-shadow 300ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 300ms ease;
}

.product-card:hover {
  box-shadow: 0 8px 28px rgba(77,46,24,0.15), 0 2px 8px rgba(77,46,24,0.08);
  border-color: var(--ksb-tan);
}

.product-card img {
  transition: transform 450ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
}

.product-card:hover .card-img-wrap img { transform: scale(1.045); }


.product-card .card-name { position: relative; display: inline-block; }

.product-card .card-name::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  height: 1.5px; width: 0;
  background: var(--ksb-yellow);
  transition: width 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .card-name::after { width: 100%; }

/* ── Bundle card hover ───────────────────────────────────────── */
.bundle-card {
  transition: box-shadow 300ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bundle-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(77,46,24,0.13);
}

.bundle-card img {
  transition: transform 450ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  object-position: center top;
}

.bundle-card:hover img { transform: scale(1.04); }

/* ── Testimonials background ─────────────────────────────────── */
.testimonials {
  background-image: url('/assets/img/products/party_bundles-3.webp');
  background-size: cover;
  background-position: center;
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(77,46,24,0.88);
  z-index: 0;
}

.testimonials > * { position: relative; z-index: 1; }

/* ── Product preview film strip ──────────────────────────────── */
.preview-strip {
  background: var(--ksb-cream);
  border-top: 1px solid #e0d9ce;
  border-bottom: 1px solid #e0d9ce;
  overflow: hidden;
}

.preview-strip-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.preview-strip-inner::-webkit-scrollbar { display: none; }

.preview-strip-inner a,
.preview-strip-inner > img {
  flex: 0 0 calc(100% / 3);
  display: block;
}

.preview-strip-inner img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: center;
  transition: transform 400ms cubic-bezier(0.22,1,0.36,1);
}

.preview-strip-inner img:hover { transform: scale(1.03); }

@media (min-width: 600px) {
  .preview-strip-inner a,
  .preview-strip-inner > img { flex: 0 0 calc(100% / 6); }
}

/* ── Section sub-heading ─────────────────────────────────────── */
.section-sub {
  text-align: center;
  color: var(--ksb-muted, #888);
  font-size: 0.95rem;
  margin-top: -1rem;
  margin-bottom: 1.75rem;
}

/* ── Category tile grid (shop page — 4:3 landscape) ──────── */
.category-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
  padding: 1rem 1rem 0;
}

.category-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.3s ease;
  text-decoration: none;
  display: block;
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(77,46,24,0.22);
}

.category-tile:hover img {
  transform: scale(1.05);
}

.category-tile-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}

.category-tile-name {
  font-family: 'Cardo', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.category-tile-count {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin: 0.2rem 0 0;
}

@media (max-width: 768px) {
  .category-tile-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  .category-tile {
    aspect-ratio: 3 / 4;
  }
  .category-tile:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }
  .category-tile-name {
    font-size: 1.1rem;
  }
}

/* ── Category breadcrumb ─────────────────────────────────── */
.category-breadcrumb {
  max-width: 1100px;
  margin: 2.5rem auto 0.75rem;
  padding: 0 1rem;
  font-size: 0.9rem;
  font-family: 'Karla', sans-serif;
  font-weight: 500;
}

.category-breadcrumb a {
  color: var(--ksb-brown);
  text-decoration: none;
}

.category-breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  margin: 0 0.4rem;
  color: var(--ksb-tan);
}

/* ── Category page hero + overlay ────────────────────────── */
.category-hero {
  position: relative;
  max-width: 1100px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.category-hero img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.category-hero-overlay {
  position: absolute;
  bottom: 0; left: 1rem; right: 1rem;
  padding: 2.5rem 2rem 2rem;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);
}

.category-hero-overlay h1 {
  font-family: 'Cardo', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.category-hero-overlay p {
  font-family: 'Karla', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin: 0.3rem 0 0;
}

@media (max-width: 768px) {
  .category-hero img {
    height: 220px;
    border-radius: 0;
  }
  .category-hero {
    padding: 0;
  }
  .category-hero-overlay {
    left: 0; right: 0;
    border-radius: 0;
    padding: 2rem 1.25rem 1.5rem;
  }
  .category-hero-overlay h1 {
    font-size: 1.8rem;
  }
}

/* ── Bundle card grid (category pages) ───────────────────── */
.bundle-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .bundle-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* ── Media trust bar ────────────────────────────────────── */
.media-trust-bar {
  text-align: center;
  padding: 3rem 1.5rem;
  margin: 2rem 0;
  border-top: 1px solid #e8e1d6;
  border-bottom: 1px solid #e8e1d6;
  background: #faf8f4;
  border-radius: 12px;
}

.media-trust-label {
  font-family: 'Karla', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ksb-brown, #4D2E18);
  margin-bottom: 1.5rem;
}

.media-trust-logos {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.media-trust-logos a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.media-trust-logos a:hover {
  opacity: 1;
}

.media-trust-logos img {
  height: 80px;
  width: auto;
  border-radius: 8px;
  filter: grayscale(20%);
  transition: filter 0.2s;
}

.media-trust-logos a:hover img {
  filter: grayscale(0%);
}

.media-trust-logos .media-link-text {
  font-size: 0.7rem;
  color: var(--ksb-tan, #8b7355);
  max-width: 120px;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .media-trust-logos {
    gap: 1.5rem;
  }
  .media-trust-logos img {
    height: 60px;
  }
}

/* ── Pagination ─────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.pagination-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-family: 'Karla', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ksb-brown);
  border: 1.5px solid var(--ksb-tan);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.pagination-btn:hover {
  background: var(--ksb-cream);
  border-color: var(--ksb-brown);
}

.pagination-info {
  font-family: 'Karla', sans-serif;
  font-size: 0.9rem;
  color: var(--ksb-muted);
}

/* ── Nav search dropdown ─────────────────────────────────── */
.nav-search-btn {
  background: none;
  border: none;
  color: var(--ksb-brown);
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

.nav-right {
  position: relative;
}

.nav-search-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 360px;
  background: #fff;
  border: 1.5px solid #e8e1d6;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(77,46,24,0.15);
  z-index: 1000;
  padding: 0.75rem;
}

.nav-search-input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid #e8e1d6;
  border-radius: 8px;
  font-family: 'Karla', sans-serif;
  font-size: 0.95rem;
  outline: none;
  box-sizing: border-box;
}

.nav-search-input:focus {
  border-color: var(--ksb-brown);
}

.nav-search-results {
  margin-top: 0.5rem;
  max-height: 360px;
  overflow-y: auto;
}

.nav-search-result {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.4rem;
  text-decoration: none;
  color: var(--ksb-text);
  border-radius: 8px;
  transition: background 0.15s;
}

.nav-search-result:hover,
.nav-search-result.highlighted {
  background: var(--ksb-cream);
}

.nav-search-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.nav-search-result-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nav-search-result-name {
  font-family: 'Cardo', serif;
  font-weight: 700;
  font-size: 0.9rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-search-result-cat {
  font-size: 0.75rem;
  color: var(--ksb-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-search-result-price {
  margin-left: auto;
  font-family: 'Cardo', serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ksb-brown);
  white-space: nowrap;
}

.nav-search-empty {
  padding: 1rem 0.4rem;
  font-size: 0.9rem;
  color: var(--ksb-muted);
  text-align: center;
}

@media (max-width: 768px) {
  .nav-search-dropdown {
    width: calc(100vw - 2rem);
    right: -0.5rem;
  }
}

/* ── Cart confirmation bottom sheet ─────────────────────── */
.cart-confirm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(77, 46, 24, 0.40);
  z-index: 998;
}

.cart-confirm-sheet {
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  background: #FEFBF6;
  border-radius: 20px;
  box-shadow: 0 -4px 24px rgba(77, 46, 24, 0.2),
              0 -1px 6px rgba(77, 46, 24, 0.08);
  padding: 0.75rem 1.5rem 1.5rem;
  z-index: 999;
  max-width: 520px;
  margin: 0 auto;
}

.cart-confirm-handle {
  width: 40px;
  height: 4px;
  background: #d4cbbf;
  border-radius: 2px;
  margin: 4px auto 0.75rem;
}

.cart-confirm-close {
  position: absolute;
  top: 0.65rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--ksb-brown);
  opacity: 0.45;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  line-height: 1;
  transition: opacity 0.15s;
}

.cart-confirm-close:hover { opacity: 1; }

.cart-confirm-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.cart-confirm-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--ksb-brown);
  color: #fff;
  border: 2px solid var(--ksb-yellow);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.cart-confirm-header h3 {
  font-family: 'Cardo', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ksb-brown);
  margin: 0;
}

.cart-confirm-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem;
  background: var(--ksb-cream);
  border-radius: 10px;
  border: 1.5px solid #e8e1d6;
}

.cart-confirm-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.cart-confirm-detail {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cart-confirm-detail strong {
  font-family: 'Cardo', serif;
  font-size: 0.95rem;
  color: var(--ksb-brown);
  line-height: 1.2;
}

.cart-confirm-price {
  font-family: 'Karla', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #6b4c2a;
}

.cart-confirm-divider {
  border: none;
  border-top: 1.5px solid #e8e1d6;
  margin: 1rem 0;
}

.cart-confirm-actions {
  display: flex;
  gap: 0.75rem;
}

.cart-confirm-btn {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  font-family: 'Karla', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cart-confirm-btn:active { transform: scale(0.97); }

.cart-confirm-btn--secondary {
  background: var(--ksb-cream);
  color: var(--ksb-brown);
  border: 1.5px solid #e8e1d6;
}

.cart-confirm-btn--secondary:hover { background: #f3ede2; }

.cart-confirm-btn--primary {
  flex: 1.3;
  background: var(--ksb-brown);
  color: #fff;
  box-shadow: 0 4px 12px rgba(77, 46, 24, 0.25);
  letter-spacing: 0.03em;
}

.cart-confirm-btn--primary:hover {
  background: #3a2212;
  box-shadow: 0 6px 16px rgba(77, 46, 24, 0.3);
}

/* Hide cart bar when sheet is open */
.cart-confirm-open .cart-sticky-bar { display: none; }

/* Hide drag handle on desktop */
@media (min-width: 769px) {
  .cart-confirm-handle { display: none; }
}

/* Transitions */
.confirm-backdrop-enter { transition: opacity 0.25s ease; }
.confirm-backdrop-leave { transition: opacity 0.2s ease; }
.confirm-backdrop-from { opacity: 0; }
.confirm-backdrop-to { opacity: 1; }
.confirm-sheet-enter { transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1); }
.confirm-sheet-leave { transition: transform 0.2s ease-in; }
.confirm-sheet-from { transform: translateY(100%); }
.confirm-sheet-to { transform: translateY(0); }

@media (max-width: 768px) {
  .cart-confirm-sheet {
    bottom: 0;
    max-width: none;
    padding: 0.5rem 1.25rem 1.25rem;
    border-radius: 16px 16px 0 0;
  }
  .cart-confirm-handle { display: block; }
  .cart-confirm-img { width: 60px; height: 60px; }
  .cart-confirm-btn { font-size: 0.82rem; padding: 0.8rem 0.75rem; }
}

/* ── Sticky cart bar ─────────────────────────────────────── */
.cart-sticky-bar {
  position: fixed;
  bottom: var(--bottom-bar-h, 30px);
  left: 0;
  right: 0;
  background: var(--ksb-yellow);
  color: var(--ksb-brown);
  padding: 0.2rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Karla', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  z-index: 15;
}

.cart-sticky-bar .btn-primary {
  background: var(--ksb-brown);
  color: #fff;
  font-size: 0.68rem;
  padding: 0.15rem 0.6rem;
  font-weight: 600;
}

@media (max-width: 699px) {
  .cart-sticky-bar {
    position: fixed;
    bottom: 0;
    padding: 0.65rem 1.25rem;
    font-size: 0.88rem;
    gap: 0.75rem;
    justify-content: space-between;
    border-top: 2px solid var(--ksb-brown);
    z-index: 20;
  }

  .cart-sticky-bar .btn-primary {
    font-size: 0.82rem;
    padding: 0.45rem 1rem;
    border-radius: 6px;
  }
}

/* When cart bar is showing on homepage, push hero card above both bars */
body.page-home.has-cart-items .hero {
  --bottom-bar-h: calc(30px + 20px);
}

/* ── Viewport height responsive — prevent hero card clipping ── */
/* Tier 1: medium-short desktops (750px tall and under) */
@media (min-width: 700px) and (max-height: 750px) {
  .hero-card-copy {
    padding: 0.75rem 1.5rem 0.5rem;
  }
  .hero-card-copy h1 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 0.25rem;
  }
  .hero-card-copy .hero-sub {
    font-size: 0.75rem;
    line-height: 1.35;
    margin-bottom: 0.3rem;
  }
  .hero-eyebrow {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
  }
  .halal-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
  }
  .hero-trust-inline {
    margin-top: 0.2rem;
  }
  .hero-trust-label {
    font-size: 0.6rem;
    margin-bottom: 0.1rem;
  }
  .hero-trust-logos {
    gap: 0.5rem;
  }
  .hero-trust-logos img {
    height: 13px;
  }
  .flow-card {
    padding: 0.5rem 1.25rem 0.75rem;
  }
  .flow-question {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
  }
  .flow-sub {
    font-size: 0.82rem;
    margin-bottom: 0.6rem;
  }
  .flow-options {
    gap: 0.45rem;
    margin-bottom: 0.6rem;
  }
  .option-btn {
    padding: 0.55rem 0.85rem;
  }
  .option-btn-wide {
    padding: 0.55rem 1rem;
    gap: 0.75rem;
  }
  .option-btn-wide .option-icon {
    font-size: 1.3rem;
  }
  .option-btn-wide .option-label {
    font-size: 0.92rem;
  }
  .option-btn-wide .option-sub {
    font-size: 0.72rem;
  }
  .option-icon {
    font-size: 1.3rem;
  }
  .flow-exit {
    margin-top: 0.75rem;
    padding-top: 0.6rem;
  }
  .flow-exit span {
    font-size: 0.72rem;
    margin-bottom: 0.25rem;
  }
  .flow-exit a {
    font-size: 0.82rem;
    padding: 0.3rem 0;
  }
}

/* Tier 2: short desktops (650px tall and under) — expand card width */
@media (min-width: 700px) and (max-height: 650px) {
  .hero-card {
    width: 420px;
    max-width: 50vw;
  }
  .hero-card-copy {
    padding: 0.5rem 1.25rem 0.35rem;
  }
  .hero-card-copy h1 {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    margin-bottom: 0.15rem;
    line-height: 1.15;
  }
  .hero-card-copy .hero-sub {
    font-size: 0.7rem;
    line-height: 1.3;
    margin-bottom: 0.2rem;
  }
  .hero-eyebrow {
    font-size: 0.75rem;
    margin-bottom: 0.15rem;
  }
  .halal-badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
  }
  .hero-trust-inline {
    margin-top: 0.15rem;
  }
  .hero-trust-label {
    display: none;
  }
  .hero-trust-logos img {
    height: 11px;
  }
  .hero-trust-google {
    font-size: 0.65rem;
  }
  .hero-trust-rating {
    font-size: 0.7rem;
  }
  .flow-card {
    padding: 0.35rem 1.25rem 0.5rem;
  }
  .flow-question {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }
  .flow-sub {
    font-size: 0.78rem;
    margin-bottom: 0.4rem;
  }
  .flow-options {
    gap: 0.35rem;
    margin-bottom: 0.5rem;
  }
  .option-btn {
    padding: 0.45rem 0.75rem;
  }
  .option-btn-wide {
    padding: 0.45rem 0.85rem;
    gap: 0.6rem;
  }
  .option-btn-wide .option-icon {
    font-size: 1.15rem;
  }
  .option-btn-wide .option-label {
    font-size: 0.85rem;
  }
  .option-btn-wide .option-sub {
    font-size: 0.68rem;
  }
  .option-icon {
    font-size: 1.15rem;
  }
  .flow-exit {
    margin-top: 0.5rem;
    padding-top: 0.4rem;
  }
  .flow-exit span {
    font-size: 0.68rem;
    margin-bottom: 0.15rem;
  }
  .flow-exit a {
    font-size: 0.78rem;
    padding: 0.2rem 0;
  }
}

/* Tier 3: Very short desktop viewports (half-screen, split-view) */
@media (min-width: 700px) and (max-height: 560px) {
  .hero {
    min-height: 0;
  }
  .hero-card {
    width: 440px;
    max-width: 55vw;
  }
  .hero-card-copy .hero-sub {
    display: none;
  }
  .halal-badge {
    display: none;
  }
  .hero-card-copy {
    padding: 0.4rem 1.25rem 0.3rem;
  }
  .hero-card-copy h1 {
    font-size: 1rem;
    margin-bottom: 0.1rem;
  }
  .hero-trust-inline {
    margin-top: 0.1rem;
  }
  .hero-trust-logos {
    gap: 0.4rem;
  }
  .hero-trust-logos img {
    height: 10px;
  }
  .hero-trust-google {
    font-size: 0.6rem;
  }
  .flow-card {
    padding: 0.25rem 1rem 0.4rem;
  }
  .flow-question {
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
  }
  .option-btn-wide {
    padding: 0.35rem 0.75rem;
    gap: 0.5rem;
  }
  .option-icon-img {
    width: 44px;
    height: 44px;
  }
  .option-btn-wide .option-label {
    font-size: 0.8rem;
  }
  .option-btn-wide .option-sub {
    font-size: 0.65rem;
  }
  .flow-exit {
    margin-top: 0.3rem;
    padding-top: 0.25rem;
  }
  .flow-exit span {
    font-size: 0.65rem;
    margin-bottom: 0.1rem;
  }
  .flow-exit a {
    font-size: 0.75rem;
  }
}

/* Desktop: hide mobile-only trust strip in logo bar */
.hero-logo-trust { display: none; }

/* ============================================================
   MOBILE OPTIMIZATION SPRINT — 23 Mar 2026
   Team: Mei (design) · Rex (CRO) · Dev (implementation)
   ============================================================ */

/* ── TASK 1: Homepage — guided flow visible above fold ────────
   On mobile (<699px), hero image takes ~45% of viewport height
   so the card with "What kind of spread?" is visible on load.
   ──────────────────────────────────────────────────────────── */
@media (max-width: 699px) {
  .hero .hero-bg-slide {
    height: 44vw;
    min-height: 180px;
    max-height: 280px;
  }

  .hero-logo {
    padding: 0.5rem 1.25rem;
    background: #fff;
    border-top: 3px solid var(--ksb-yellow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .hero-logo-img {
    width: 70px;
    flex-shrink: 0;
  }

  /* Card copy: compact headline, hide sub-text + old trust on mobile */
  .hero-card-copy {
    padding: 0.5rem 1.25rem 0.25rem;
    background: #fff;
  }

  .hero-card-copy h1 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 0;
  }

  .hero-card-copy .hero-sub,
  .hero-card-copy .halal-badge,
  .hero-card-copy .hero-trust-inline {
    display: none;
  }

  /* Trust logos sit next to logo in hero-logo bar (mobile only) */
  .hero-logo-trust {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-end;
    overflow: hidden;
  }

  .hero-logo-trust img {
    height: 13px;
    flex-shrink: 0;
    opacity: 0.75;
  }

  .hero-logo-trust a {
    flex-shrink: 0;
    text-decoration: none;
  }

  .hero-logo-trust .hero-trust-google {
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.1rem;
    flex-shrink: 0;
    white-space: nowrap;
    color: var(--ksb-brown);
  }

  .hero-logo-trust .hero-trust-rating {
    font-size: 0.72rem;
    font-weight: 700;
  }

  .hero-logo-trust .hero-trust-reviews {
    font-size: 0.6rem;
    opacity: 0.6;
  }

  /* Homepage = single screen: hero fills viewport */
  .page-home .hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
  }

  .page-home .hero-card {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .page-home .hero-card-widget {
    flex: 1;
  }

  .hero-bottom-bar {
    position: static;
    padding: 0.5rem 1rem;
    font-size: 0.72rem;
    gap: 0.25rem;
  }

  /* Fix white space below homepage footer */
  .page-home main {
    min-height: 0;
  }

  .page-home .hero {
    overflow: visible;
  }
}

/* ── TASK 3: Sticky Add to Cart bar on product pages ──────── */
.product-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  .product-sticky-bar {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border-top: 2px solid var(--ksb-yellow);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
    padding: 0.5rem 1rem 0.75rem;
    gap: 6px;
    transform: translateY(100%);
    transition: transform 300ms ease;
  }

  .product-sticky-bar.is-visible {
    transform: translateY(0);
  }

  .product-sticky-bar-scarcity {
    font-size: 0.72rem;
    font-weight: 700;
    color: #b45309;
    letter-spacing: 0.04em;
    text-align: center;
  }

  .product-sticky-bar-btn {
    width: 100%;
    background: var(--ksb-yellow);
    color: var(--ksb-brown);
    border: none;
    border-radius: 10px;
    padding: 0.85rem 1.25rem;
    font-family: 'Karla', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .product-sticky-bar-sep {
    opacity: 0.4;
    font-weight: 400;
  }

  /* Pad bottom of product page so sticky bar doesn't cover content */
  .page-product main {
    padding-bottom: 90px;
  }
}

/* ── TASK 4: Related products — horizontal carousel on mobile ── */
@media (max-width: 768px) {
  .related-products {
    padding: 1.5rem 0 1.5rem 1rem;
  }

  .related-products h2 {
    padding-right: 1rem;
  }

  .related-products .product-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    padding-right: 1rem;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .related-products .product-grid::-webkit-scrollbar {
    display: none;
  }

  .related-products .product-card {
    flex: 0 0 160px;
    scroll-snap-align: start;
  }

  .related-products .product-card img {
    aspect-ratio: 1 / 1;
  }

  .related-products .product-card .card-body {
    padding: 0.5rem 0.6rem;
  }

  .related-products .product-card .card-name {
    font-size: 0.82rem;
    -webkit-line-clamp: 2;
  }

  .related-products .product-card .card-price {
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
  }

  .related-products .product-card .btn-sm {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }
}

/* ── TASK 5: Nav bar — tighter mobile layout ──────────────── */
@media (max-width: 480px) {
  .site-nav {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }

  .nav-logo-img {
    height: 40px;
  }

  .nav-right {
    gap: 0.5rem;
  }

  .nav-cart {
    font-size: 0.78rem;
    padding: 0.25rem 0.5rem;
  }

  .nav-whatsapp {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }

  .nav-account {
    font-size: 0.78rem;
    padding: 0.25rem 0.5rem;
  }

  .nav-search-btn img {
    width: 16px;
    height: 16px;
  }

  /* No longer needs extra top padding — nav fits in one row now */
  body:not(.page-home) main {
    padding-top: 52px;
  }
}

/* ── TASK 6: Category tiles — stronger gradient overlay ───── */
@media (max-width: 768px) {
  .category-tile-overlay {
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.78) 0%,
      rgba(0,0,0,0.35) 50%,
      rgba(0,0,0,0) 100%
    );
    padding: 2rem 1rem 1rem;
  }

  .category-tile-name {
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  }

  .category-tile-count {
    color: rgba(255,255,255,0.85);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  }
}

/* ── TASK 7: Product card text truncation in grids ─────────── */
@media (max-width: 768px) {
  .page-shop-category .product-card .card-body {
    padding: 0.6rem 0.65rem;
  }

  .page-shop-category .product-card .card-name {
    font-size: 0.88rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.25;
  }

  .page-shop-category .product-card .card-price {
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
  }

  .page-shop-category .product-card .card-meta {
    display: block;
    font-size: 0.7rem;
  }

  .page-shop-category .product-card .btn-sm {
    display: none;
  }
}

/* ── TASK 8: Footer — 1-column on small phones ───────────── */
@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-col h4 {
    margin-bottom: 0.5rem;
  }

  .footer-col a,
  .footer-col p {
    font-size: 0.8rem;
  }

  .footer-bottom {
    font-size: 0.7rem;
  }
}

/* ── Bundle detail view (homepage flow) — mobile reorg ──────── */
@media (max-width: 699px) {
  /* Stack the detail view vertically */
  .bundle-detail-view {
    flex-direction: column;
  }

  .bundle-detail-img {
    max-height: none;
    background: var(--ksb-cream);
    border-radius: 10px;
    overflow: hidden;
  }

  .bundle-detail-img img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    aspect-ratio: 4 / 3;
  }

  /* Square/portrait images: contain so full product shows */
  .bundle-detail-img img.img-contain {
    object-fit: contain !important;
  }

  /* Reorder inside .bundle-detail-inner:
     name+price first, then dispenser, then Add to Cart, then What's Inside last */
  .bundle-detail-inner {
    display: flex;
    flex-direction: column;
  }

  .bundle-detail-name { order: 1; }
  .bundle-detail-pax { order: 2; }
  .bundle-detail-desc { order: 3; font-size: 0.82rem; margin-bottom: 0.5rem; }

  /* What's inside — above price */
  .bundle-contents { order: 4; }

  .bundle-detail-price { order: 5; }

  /* Dispenser addon — right after price */
  .bundle-detail-inner > .dispenser-addon { order: 6; }

  /* Total + Add to Cart — after dispenser */
  .bundle-detail-checkout { order: 7; }

  /* Dispenser addon: stack checkbox on top, grid below (full-width) */
  .dispenser-addon {
    display: block !important;
    padding: 0.5rem 0;
  }

  .dispenser-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    border: 1.5px solid #e0d6c8;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    background: #fff;
  }

  .dispenser-toggle:has(input:checked) {
    border-color: var(--ksb-yellow);
    background: #fdf8ed;
  }

  /* Grid gets its own bordered card */
  .dispenser-grid-wrap {
    border: 1.5px solid #e0d6c8 !important;
    border-radius: 8px !important;
    background: #faf6f0 !important;
    padding: 0.4rem !important;
  }

  /* Remove outer .dispenser-addon border (wraps both toggle + grid) */
  .dispenser-addon {
    border: none !important;
    border-top: none !important;
    padding-top: 0 !important;
  }

  .dispenser-toggle-icon {
    width: 28px !important;
    height: 28px !important;
  }

  .dispenser-toggle-label {
    font-size: 0.85rem !important;
  }

  .dispenser-toggle-from {
    font-size: 0.68rem !important;
  }

  /* Grid: full-width below checkbox, keep table but compact */
  .dispenser-grid-wrap {
    overflow-x: visible !important;
    padding: 0.4rem;
  }

  .dispenser-grid {
    width: 100% !important;
    table-layout: fixed !important;
    font-size: 0.72rem !important;
  }

  .dispenser-grid th {
    font-size: 0.72rem !important;
    padding: 0.15rem 0.05rem 0.25rem !important;
  }

  .dispenser-grid td {
    padding: 0.15rem 0.05rem !important;
  }

  .dispenser-size-label {
    font-size: 0.68rem !important;
    padding-right: 0.15rem !important;
    white-space: normal !important;
  }

  .dispenser-serves {
    font-size: 0.58rem !important;
  }

  /* Compact qty steppers in grid */
  .qty-stepper-sm {
    gap: 0.1rem;
  }

  .qty-stepper-sm .qty-btn {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.75rem !important;
    padding: 0 !important;
  }

  .qty-stepper-sm .qty-value {
    font-size: 0.75rem !important;
    min-width: 16px !important;
  }

  .dispenser-cell-price {
    font-size: 0.62rem !important;
  }

  .dispenser-best-value {
    font-size: 0.58rem !important;
  }

  /* What's inside — compact on mobile */
  .bundle-contents {
    margin-top: 0.25rem;
  }

  .bundle-contents-heading {
    font-size: 0.85rem;
  }

  .bundle-contents-icon {
    width: 36px;
    height: 36px;
  }

  .bundle-contents-item {
    font-size: 0.8rem;
  }

  /* Fix: when bundle detail is expanded, let hero grow beyond 100vh
     so all content (image, What's Inside, price, Add to Cart) is reachable */
  .page-home .flow-expanded ~ .hero-bottom-bar,
  .flow-expanded {
    /* ensure guided flow can grow */
  }

  .page-home .hero:has(.flow-expanded) {
    height: auto;
    max-height: none;
  }

  /* Cap bundle image height so it doesn't eat the viewport */
  .flow-expanded .bundle-detail-img {
    max-height: 280px;
  }

  /* Combo result — stack vertically on mobile */
  .combo-result-layout {
    flex-direction: column;
    overflow: visible;
  }

  .combo-result-left,
  .combo-result-right {
    flex: none;
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  /* Reset desktop order: minis upsell (first in HTML) appears above dispenser on mobile */
  .combo-result-right .dispenser-addon {
    order: 0;
  }

  /* Wrap uses natural column flow on mobile; footer needs margin */
  .combo-result-wrap {
    height: auto;
  }
}

/* ── Dispenser product page — mobile reorg ─────────────────── */
@media (max-width: 640px) {
  .dispenser-details-panel {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    margin-bottom: 0.75rem;
  }

  /* Reorder: drink choice first, then pricing, then milk, then includes/header last */
  .dispenser-details-header {
    order: 10;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e0d6c8;
    margin-bottom: 0.5rem;
  }

  .dispenser-details-header img {
    width: 36px !important;
  }

  .dispenser-details-header h3 {
    font-size: 0.88rem !important;
  }

  .dispenser-drink-grid {
    order: 1;
    gap: 0.6rem;
  }

  .dispenser-drink-option {
    padding: 0.85rem;
  }

  .dispenser-drink-option strong {
    font-size: 1rem;
  }

  .dispenser-pricing-grid {
    order: 2;
    gap: 0.6rem;
    margin-top: 0.5rem;
  }

  .dispenser-price-card {
    padding: 0.85rem 0.5rem;
  }

  .dispenser-price-tag {
    font-size: 1.25rem;
  }

  .dispenser-price-card small {
    font-size: 0.82rem;
    color: var(--ksb-tan);
  }

  .dispenser-addon {
    order: 3;
    margin-top: 0.6rem;
  }

  .dispenser-includes {
    order: 11;
    font-size: 0.82rem;
    margin-bottom: 0.5rem;
    color: var(--ksb-muted);
  }

  /* "Perfect for corporate events" fine print */
  .dispenser-details-panel > p:last-child {
    order: 12;
    font-size: 0.75rem;
    margin-top: 0.25rem;
  }

  /* "Choose your drink" label */
  .dispenser-details-panel > p[style*="font-weight:600"] {
    order: 0;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
  }
}

/* ── Product detail page — mobile improvements ─────────────── */
@media (max-width: 640px) {
  .product-detail {
    gap: 1.25rem;
    padding: 1rem;
  }

  .product-image img {
    border-radius: 10px;
  }

  .product-info h1 {
    font-size: 1.6rem;
  }

  .add-to-cart {
    position: relative;
  }

  .add-to-cart .btn-primary {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
    border-radius: 8px;
  }

  .add-to-cart .variant-select {
    font-size: 0.9rem;
  }

  .add-to-cart .qty-input {
    font-size: 1rem;
    width: 60px;
  }
}


/* ── Order type toggles (company + gift) ── */
.order-toggle-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.order-toggle-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #4D2E18;
  cursor: pointer;
  user-select: none;
}

.order-toggle-label input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #4D2E18;
  flex-shrink: 0;
  cursor: pointer;
}

/* Checkout order-type toggles — current HTML uses .order-toggle-*;
   .company-toggle-* kept as legacy alias. */
.company-toggle-wrap,
.order-toggle-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  background: #fffbee;
  border: 1px solid rgba(253, 187, 21, 0.45);
  border-radius: 8px;
}
.company-toggle-label,
.order-toggle-label,
.checkout-form .order-toggle-label,
.checkout-form .company-toggle-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: #4D2E18;
  cursor: pointer;
  user-select: none;
  line-height: 1.35;
  text-align: left;
  margin: 0;
}
.company-toggle-label input[type="checkbox"],
.order-toggle-label input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #4D2E18;
  flex-shrink: 0;
  cursor: pointer;
  margin: 0;
}
.company-toggle-label:hover span,
.order-toggle-label:hover span { color: #2d1a0d; }

/* =====================================================
   BLOG — Knowledge Hub (Editorial Redesign)
   ===================================================== */

/* ---- Masthead ---- */
.blog-masthead {
  padding: 56px 24px 48px;
  background: #FAF6EE;
  text-align: center;
  position: relative;
}
.blog-masthead::before,
.blog-masthead::after {
  content: '';
  display: block;
  height: 1px;
  background: #4D2E18;
  max-width: 680px;
  margin: 0 auto;
  opacity: 0.25;
}
.blog-masthead::before { margin-bottom: 20px; }
.blog-masthead::after  { margin-top: 20px; }
.blog-masthead-eyebrow {
  font-family: Karla, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B7A98A;
  margin: 0 0 10px;
}
.blog-masthead h1 {
  font-family: Cardo, serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-style: italic;
  color: #4D2E18;
  margin: 0 0 10px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.blog-masthead-sub {
  font-family: Karla, sans-serif;
  font-size: 0.95rem;
  color: #888;
  margin: 0;
  max-width: 400px;
  margin: 0 auto;
}

/* ---- Featured article (first, full-width) ---- */
.blog-featured-wrap {
  max-width: 900px;
  margin: 56px auto 0;
  padding: 0 24px;
}
.blog-featured {
  border-left: 4px solid #FDBB15;
  padding: 28px 0 28px 32px;
  position: relative;
}
.blog-tag {
  display: inline-block;
  font-family: Karla, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #FDBB15;
  color: #4D2E18;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.blog-featured h2 {
  font-family: Cardo, serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #4D2E18;
  margin: 0 0 14px;
  line-height: 1.2;
  max-width: 640px;
}
.blog-featured p {
  font-family: Karla, sans-serif;
  font-size: 1rem;
  color: #666;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 0 24px;
}
.blog-featured-cta {
  font-family: Karla, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #4D2E18;
  text-decoration: none;
  border-bottom: 2px solid #FDBB15;
  padding-bottom: 2px;
  transition: color 0.15s;
}
.blog-featured-cta:hover { color: #c8880a; }

/* ---- Divider between featured + grid ---- */
.blog-divider {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 24px;
  border: none;
  border-top: 1px solid rgba(77,46,24,0.12);
}

/* ---- Grid (article #2 onwards) ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0;
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 0 24px;
}
.blog-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  padding: 32px 0 32px 0;
  border-bottom: 1px solid rgba(77,46,24,0.1);
  padding-right: 32px;
  transition: background 0.15s;
}
.blog-card:nth-child(odd) { padding-right: 32px; }
.blog-card:last-child { border-bottom: none; }
.blog-card .blog-tag { margin-bottom: 10px; }
.blog-card h2 {
  font-family: Cardo, serif;
  font-size: 1.3rem;
  color: #4D2E18;
  margin: 0 0 10px;
  line-height: 1.35;
}
.blog-card p {
  font-family: Karla, sans-serif;
  font-size: 0.88rem;
  color: #777;
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}
.blog-card-arrow {
  font-family: Karla, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #B7A98A;
  transition: color 0.15s, transform 0.15s;
  display: inline-block;
}
.blog-card:hover .blog-card-arrow {
  color: #4D2E18;
  transform: translateX(4px);
}
.blog-card:hover h2 { text-decoration: underline; text-decoration-color: #FDBB15; }

/* ---- Empty state ---- */
.blog-empty {
  text-align: center;
  padding: 80px 24px;
  font-family: Karla, sans-serif;
  color: #aaa;
  font-size: 0.95rem;
  font-style: italic;
}

/* =====================================================
   ARTICLE PAGE
   ===================================================== */

/* Hero: cream zone, generous top padding, fades naturally into white page */
.page-blog-article .article-hero {
  background: #FAF6EE;
  padding: 56px 24px 48px;
}
.page-blog-article .article-hero > * {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
@media (min-width: 1100px) {
  .page-blog-article .article-hero {
    padding-left: 40px;
    padding-right: 40px;
  }
  .page-blog-article .article-hero > * {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
}
.article-breadcrumb {
  font-family: Karla, sans-serif;
  font-size: 0.78rem;
  color: #B7A98A;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.article-breadcrumb a {
  color: #B7A98A;
  text-decoration: none;
}
.article-breadcrumb a:hover { text-decoration: underline; }
.page-blog-article .article-hero h1 {
  font-family: Cardo, serif;
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-style: italic;
  color: #4D2E18;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.article-meta {
  font-family: Karla, sans-serif;
  font-size: 0.78rem;
  color: #B7A98A;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* Article Layout — single column mobile, two-column grid desktop */
.article-layout {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 600px) {
  .article-layout { padding: 0 16px; }
}

/* Alpine.js cloak */
[x-cloak] { display: none !important; }

/* Article TOC — mobile: collapsible toggle button */
.article-toc {
  max-width: 680px;
  margin: 32px auto 0;
  padding: 0;
  background: #FAF6EE;
  border-left: 3px solid #FDBB15;
  overflow: hidden;
}
/* Toggle button — mobile only */
.article-toc-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: Karla, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4D2E18;
  text-align: left;
}
.article-toc-toggle:hover { background: rgba(253,187,21,0.08); }
.article-toc-chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: #FDBB15;
  margin-left: 8px;
}
.article-toc-chevron.is-open { transform: rotate(180deg); }
/* Static title — hidden on mobile (toggle button replaces it) */
.article-toc-title { display: none; }
/* List */
.article-toc ol {
  margin: 0;
  padding: 4px 20px 16px 36px;
  list-style: decimal;
}
.article-toc li {
  margin-bottom: 8px;
  font-family: Karla, sans-serif;
  font-size: 0.88rem;
  line-height: 1.4;
}
.article-toc a {
  color: #4D2E18;
  text-decoration: none;
}
.article-toc a:hover {
  text-decoration: underline;
  text-decoration-color: #FDBB15;
}
@media (max-width: 600px) {
  .article-toc { margin: 24px 16px 0; }
}

/* Desktop: two-column grid — content left, TOC right */
@media (min-width: 1100px) {
  .article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    grid-template-rows: auto;
    gap: 0 48px;
    max-width: 1020px;
    padding: 0 40px;
    align-items: start;
  }
  .article-toc {
    grid-column: 2;
    grid-row: 1 / 100;
    position: sticky;
    top: 100px;
    align-self: start;
    float: none;
    width: auto;
    margin: 32px 0 0;
    background: transparent;
    border-left: 2px solid rgba(77,46,24,0.12);
    padding: 0 0 0 20px;
    overflow: visible;
  }
  .article-toc-toggle { display: none; }
  .article-toc-title {
    display: block;
    font-family: Karla, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #B7A98A;
    margin: 0 0 10px;
  }
  .article-toc ol {
    display: block !important;
    padding: 0;
    list-style: none;
  }
  .article-toc li {
    margin-bottom: 10px;
    font-size: 0.8rem;
    line-height: 1.35;
  }
  .article-toc a { color: #B7A98A; }
  .article-toc a:hover { color: #4D2E18; text-decoration: none; }
  .article-toc a.toc-active { color: #4D2E18; font-weight: 600; }
  .article-hero-image { grid-column: 1; margin-left: 0; }
  .article-body { grid-column: 1; }
  .article-faq { grid-column: 1; }
  .article-closer { grid-column: 1; }
}

/* Mobile/tablet: single column */
@media (max-width: 1099px) {
  .article-toc {
    position: static;
    float: none;
    width: auto;
  }
}
/* Hero image: full width of content column */
.article-hero-image {
  margin: 32px 0 0;
  overflow: hidden;
  border-radius: 6px;
}
.article-hero-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 50%;
  display: block;
}
@media (max-width: 600px) {
  .article-hero-image { margin-top: 24px; }
  .article-hero-image img { height: 220px; }
}
/* Article body: reading column, ample breathing room below the image */
.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 56px;
  font-family: Karla, sans-serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #43392f;
}
@media (max-width: 600px) {
  .article-body { padding: 36px 16px 48px; }
}
.article-body h2 {
  font-family: Cardo, serif;
  font-size: 1.6rem;
  font-style: italic;
  color: #4D2E18;
  margin: 2.6em 0 0.65em;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
/* h3: no pill — clean weight + a hair of left colour */
.article-body h3 {
  font-family: Karla, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #B7A98A;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 2em 0 0.5em;
  background: none;
  border-radius: 0;
  padding: 0;
  display: block;
}
/* Lede: Cardo italic, slightly larger — a display moment, no border */
.article-body > p:first-child {
  font-family: Cardo, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: #4D2E18;
  line-height: 1.65;
  margin-bottom: 1.8em;
  border-left: none;
  padding-left: 0;
  margin-left: 0;
}
.article-body p  { margin: 0 0 1.3em; }
.article-body ul,
.article-body ol { padding-left: 1.6em; margin: 0 0 1.3em; }
.article-body li { margin-bottom: 0.5em; }
.article-body strong { color: #4D2E18; font-weight: 600; }
.article-body a { color: #4D2E18; text-decoration: underline; text-decoration-color: #FDBB15; }
.article-body a:hover { color: #c8880a; }
.article-body blockquote {
  border-left: 3px solid #FDBB15;
  padding: 12px 20px;
  margin: 2em 0;
  background: #FAF6EE;
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: #666;
  font-size: 1rem;
}
/* Article illustrations — line-art spot accents */
.article-illustration {
  text-align: center;
  margin: 32px auto 8px;
  max-width: 140px;
}
.article-illustration img {
  width: 100%;
  height: auto;
  opacity: 0.85;
}
@media (max-width: 600px) {
  .article-illustration { max-width: 100px; margin: 24px auto 8px; }
}
/* Article FAQ */
.article-faq {
  background: #FAF6EE;
  border-top: 1px solid rgba(77,46,24,0.10);
  padding: 64px 24px 72px;
}
.article-faq h2 {
  font-family: Cardo, serif;
  font-size: 1.6rem;
  font-style: italic;
  color: #4D2E18;
  text-align: center;
  margin: 0 0 40px;
  letter-spacing: -0.01em;
}
.faq-item {
  max-width: 640px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(77,46,24,0.10);
}
/* On desktop: FAQ is inside the grid (grid-column:1), no background overflow needed */
@media (min-width: 1100px) {
  .article-faq {
    padding-left: 0;
    padding-right: 0;
  }
  .faq-item {
    max-width: none;
    margin: 0;
  }
  .article-faq h2 { text-align: left; }
}
.faq-item summary {
  font-family: Karla, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #4D2E18;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.1rem;
  color: #B7A98A;
  flex-shrink: 0;
  margin-left: 20px;
  font-weight: 400;
  transition: color 0.15s;
}
.faq-item[open] summary::after {
  content: '−';
  color: #FDBB15;
}
.faq-item p {
  font-family: Karla, sans-serif;
  font-size: 1rem;
  color: #43392f;
  padding: 0 0 20px;
  margin: 0;
  line-height: 1.8;
}
/* ═══ Catering Inquiry page ═══ */
.catering-inquiry-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}
.catering-inquiry-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}
.catering-inquiry-hero h1 {
  font-family: Cardo, serif;
  font-size: 2.2rem;
  color: var(--ksb-brown);
  margin-bottom: 0.5rem;
}
.catering-inquiry-sub {
  font-family: Karla, sans-serif;
  font-size: 1.05rem;
  color: var(--ksb-tan);
  margin: 0;
}
.catering-inquiry-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 820px) {
  .catering-inquiry-body { grid-template-columns: 1fr; }
}
/* Form column */
.catering-form {
  background: #fff;
  border: 1px solid #e0d9ce;
  border-radius: 10px;
  padding: 2rem;
}
.catering-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.25rem;
}
.catering-field label {
  font-family: Karla, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ksb-brown);
  letter-spacing: 0.01em;
}
.catering-field .req { color: #C62828; margin-left: 1px; }
.catering-optional { font-weight: 400; color: var(--ksb-muted); font-size: 0.82rem; }
.catering-field input[type="text"],
.catering-field input[type="email"],
.catering-field input[type="tel"],
.catering-field input[type="number"],
.catering-field input[type="date"],
.catering-field select,
.catering-field textarea {
  font-family: Karla, sans-serif;
  font-size: 0.97rem;
  color: var(--ksb-text);
  padding: 0.6rem 0.85rem;
  border: 1.5px solid #ccc;
  border-radius: 5px;
  background: var(--ksb-cream);
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.catering-field input:focus,
.catering-field select:focus,
.catering-field textarea:focus {
  outline: none;
  border-color: var(--ksb-brown);
  background: #fff;
}
.catering-field select { cursor: pointer; }
.catering-field textarea { resize: vertical; min-height: 90px; }
.catering-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .catering-field-row { grid-template-columns: 1fr; } }
/* Radio group */
.catering-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 0.5rem 0;
}
.catering-radio-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: Karla, sans-serif;
  font-size: 0.93rem;
  font-weight: 400;
  color: var(--ksb-text);
  cursor: pointer;
}
.catering-radio-label input[type="radio"] { accent-color: var(--ksb-brown); cursor: pointer; }
/* Submit button */
.btn-catering-submit {
  display: inline-block;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: var(--ksb-brown);
  color: #fff;
  font-family: Karla, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  margin-top: 0.5rem;
}
.btn-catering-submit:hover { background: #3a2112; transform: translateY(-1px); }
.btn-catering-submit:active { transform: translateY(0); }
/* Success + error states */
.catering-success-msg {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #f0f7f0;
  border: 1.5px solid #a5d6a7;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  font-family: Karla, sans-serif;
  font-size: 0.97rem;
  color: #2E7D32;
}
.catering-success-msg svg { flex-shrink: 0; margin-top: 2px; }
.catering-error-box {
  background: #fff0f0;
  border: 1px solid #ffcccc;
  border-radius: 6px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.5rem;
}
.catering-error-box p { margin: 0.2rem 0; color: #cc0000; font-family: Karla, sans-serif; font-size: 0.9rem; }
/* Trust sidebar */
.catering-trust-col {
  background: var(--ksb-cream);
  border: 1.5px solid #e0d9ce;
  border-radius: 10px;
  padding: 1.75rem;
}
.catering-trust-col h3 {
  font-family: Cardo, serif;
  font-size: 1.15rem;
  color: var(--ksb-brown);
  margin: 0 0 1.25rem;
}
.catering-trust-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.catering-trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: Karla, sans-serif;
  font-size: 0.93rem;
  color: #333;
  line-height: 1.5;
}
.catering-trust-list li svg { flex-shrink: 0; color: var(--ksb-yellow); margin-top: 2px; }
.catering-trust-wa {
  border-top: 1px solid #ddd5c6;
  padding-top: 1.25rem;
}
.catering-trust-wa p {
  font-family: Karla, sans-serif;
  font-size: 0.88rem;
  color: var(--ksb-muted);
  margin: 0 0 0.75rem;
}
.catering-trust-wa .btn-whatsapp-lg { display: block; text-align: center; }

/* Article closer — understated, lets the link carry the CTA */
.article-closer {
  text-align: left;
  padding: 48px 24px 80px;
  font-family: Cardo, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #B7A98A;
}
.article-closer a {
  color: #4D2E18;
  text-decoration: underline;
  text-decoration-color: #FDBB15;
  font-style: normal;
  font-family: Karla, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.article-closer a:hover { color: #c8880a; }

/* =========================================================
   Policy pages (privacy-policy, terms, etc.)
   ========================================================= */
.policy-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}
.policy-header {
  border-bottom: 2px solid #FDBB15;
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
}
.policy-header h1 {
  font-family: Cardo, serif;
  font-size: 2.25rem;
  color: #1a1a1a;
  margin: 0 0 0.35rem;
}
.policy-meta {
  font-family: Karla, sans-serif;
  font-size: 0.85rem;
  color: #888;
  margin: 0;
}
.policy-body {
  font-family: Karla, sans-serif;
  font-size: 1rem;
  color: #333;
  line-height: 1.75;
}
.policy-body p { margin: 0 0 1rem; }
.policy-body h2 {
  font-family: Cardo, serif;
  font-size: 1.35rem;
  color: #1a1a1a;
  margin: 2.25rem 0 0.75rem;
  border-left: 3px solid #FDBB15;
  padding-left: 0.75rem;
}
.policy-body ul {
  padding-left: 1.4rem;
  margin: 0 0 1rem;
}
.policy-body ul li { margin-bottom: 0.4rem; }
.policy-body a { color: #4D2E18; text-decoration: underline; text-decoration-color: #FDBB15; }
.policy-body a:hover { color: #c8880a; }
.policy-divider {
  border: none;
  border-top: 1px solid #e8e0d0;
  margin: 2rem 0;
}
.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 0.75rem 0 1.25rem;
}
.policy-table th {
  background: #f8f4ee;
  font-weight: 600;
  text-align: left;
  padding: 0.6rem 0.85rem;
  border: 1px solid #e0d8cc;
  font-family: Karla, sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #555;
}
.policy-table td {
  padding: 0.6rem 0.85rem;
  border: 1px solid #e0d8cc;
  vertical-align: top;
}
.policy-table tr:nth-child(even) td { background: #faf8f4; }
.policy-contact-box {
  background: #f8f4ee;
  border-left: 4px solid #FDBB15;
  padding: 1.25rem 1.5rem;
  border-radius: 4px;
  margin: 0.75rem 0 1.25rem;
}
.policy-contact-box p { margin: 0; }
@media (max-width: 600px) {
  .policy-header h1 { font-size: 1.7rem; }
  .policy-wrap { padding: 32px 16px 72px; }
  .policy-table { font-size: 0.82rem; }
  .policy-table th, .policy-table td { padding: 0.45rem 0.6rem; }
}

/* ================================================
   Customer accounts — login, forgot/set password, dashboard
   ================================================ */
.page-account { background: var(--ksb-cream); }

.account-shell {
  max-width: 460px;
  margin: 0 auto;
  padding: 8rem 1.25rem 4rem;
  min-height: calc(100vh - 320px);
}
.account-shell-wide { max-width: 920px; }

.account-header { margin-bottom: 1.5rem; }

.account-card {
  background: transparent;
  border: 1px solid rgba(183, 169, 138, 0.45);
  border-radius: 10px;
  padding: 2rem 1.75rem;
}
.account-card + .account-card { margin-top: 1.25rem; }

.account-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  gap: 0.75rem;
}
.account-card-head h2 {
  font-family: 'Cardo', serif;
  font-size: 1.25rem;
  color: var(--ksb-brown);
  margin: 0;
}
.account-card-meta { font-size: 0.88rem; color: var(--ksb-muted); }
.account-card-cart {
  border-color: var(--ksb-yellow);
}

.account-title {
  font-family: 'Cardo', serif;
  font-size: 1.85rem;
  color: var(--ksb-brown);
  margin: 0 0 0.4rem;
  line-height: 1.2;
}
.account-sub { color: var(--ksb-muted); font-size: 0.95rem; margin: 0 0 1.5rem; }

.account-tabs { display: block; }
.account-tab {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0.5rem 1rem 0.65rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ksb-muted);
  cursor: pointer;
  margin-right: 0.5rem;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.account-tab.active {
  color: var(--ksb-brown);
  border-bottom-color: var(--ksb-yellow);
  font-weight: 600;
}
.account-tab:hover { color: var(--ksb-brown); }

.account-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
}
.account-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--ksb-brown);
  font-weight: 500;
}
.account-label input[type="text"],
.account-label input[type="email"],
.account-label input[type="password"] {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--ksb-tan);
  border-radius: 6px;
  background: #faf7f2;
  color: var(--ksb-text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.account-label input:focus {
  outline: none;
  border-color: var(--ksb-yellow);
  box-shadow: 0 0 0 3px rgba(253, 187, 21, 0.15);
}
.account-btn { align-self: flex-start; margin-top: 0.25rem; }
.account-foot {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--ksb-muted);
  text-align: center;
}

.account-alert {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}
.account-alert-error { background: #fff0f0; border-color: #ffcccc; color: #8b1a1a; }
.account-alert-notice { background: #fffbee; border-color: var(--ksb-yellow); color: var(--ksb-brown); }
.account-alert-success { background: #ebf9ec; border-color: #a3d9a5; color: #1f6b30; }

/* Legacy tile classes kept for any other references */
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.25rem 0; }
.account-tile { text-align: center; padding: 1.5rem 1rem; }
.account-tile-num { font-family: 'Cardo', serif; font-size: 1.85rem; color: var(--ksb-brown); margin-bottom: 0.25rem; }
.account-tile-label { font-size: 0.85rem; color: var(--ksb-muted); text-transform: uppercase; letter-spacing: 0.04em; }

/* ── Stats bar (replaces grid tiles on dashboard) ── */
.account-stats-bar {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(183, 169, 138, 0.35);
  border-bottom: 1px solid rgba(183, 169, 138, 0.35);
  margin: 1rem 0 1.75rem;
}
.account-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.account-stat-num {
  font-family: 'Cardo', serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--ksb-brown);
}
.account-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ksb-muted);
}
.account-stat-sep {
  width: 1px;
  height: 44px;
  background: rgba(183, 169, 138, 0.45);
  flex-shrink: 0;
}

/* ── Shop strip ── */
.account-shop-strip {
  margin-bottom: 1.75rem;
}
.account-shop-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.account-shop-card {
  text-decoration: none;
  border: 1px solid rgba(183, 169, 138, 0.4);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.account-shop-card:hover {
  border-color: var(--ksb-yellow);
  transform: translateY(-3px);
}
.account-shop-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f0e8;
  flex-shrink: 0;
}
.account-shop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}
.account-shop-card:hover .account-shop-card-img img {
  transform: scale(1.05);
}
.account-shop-card-body {
  padding: 0.75rem 0.85rem;
}
.account-shop-card-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ksb-brown);
  margin: 0 0 0.2rem;
  line-height: 1.35;
}
.account-shop-card-price {
  font-size: 0.8rem;
  color: var(--ksb-muted);
  margin: 0;
}

@media (max-width: 640px) {
  .account-stats-bar { gap: 1.5rem; }
  .account-stat-num { font-size: 1.6rem; }
  .account-shop-cards { grid-template-columns: repeat(2, 1fr); }
}

.account-orders { list-style: none; padding: 0; margin: 0; }
.account-orders li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(183, 169, 138, 0.25);
  font-size: 0.9rem;
}
.account-orders li:last-child { border-bottom: 0; }
.account-orders .account-order-num  { flex: 0 0 100px; }
.account-orders .account-order-date { flex: 1 1 auto; min-width: 0; }
.account-orders .account-order-status { flex: 0 0 90px; display: block; box-sizing: border-box; text-align: center; }
.account-orders .account-order-total { flex: 0 0 70px; text-align: right; }
.account-status-pending   { background: #fffbee; color: #8a6d00; border: 1px solid rgba(253,187,21,0.6); }
.account-status-confirmed { background: #ebf9ec; color: #1f6b30; border: 1px solid #a3d9a5; }
.account-status-cancelled { background: #fff0f0; color: #8b1a1a; border: 1px solid #ffcccc; }
.account-status-completed { background: #f5f0e8; color: #8a7560; border: 1px solid var(--ksb-tan); }
.account-status-fulfilled { background: #f5f0e8; color: #8a7560; border: 1px solid var(--ksb-tan); }
.account-status-credit    { background: #fffbee; color: var(--ksb-brown); border: 1px solid var(--ksb-yellow); font-weight: 600; }

/* Store credit card on dashboard */
.account-card-credit { border-color: var(--ksb-yellow); }
.account-credit-amount {
  font-family: 'Cardo', serif;
  font-size: 2rem;
  color: var(--ksb-brown);
  line-height: 1;
  margin: 0.25rem 0 0.4rem;
}
.account-credit-note {
  font-size: 0.85rem;
  color: var(--ksb-muted);
  margin: 0;
}

.account-empty { color: var(--ksb-muted); font-style: italic; font-size: 0.92rem; }
.account-link { font-size: 0.88rem; color: var(--ksb-brown); text-decoration: underline; }

.account-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.92rem;
  position: sticky;
  top: 56px;
  z-index: 99;
  background: var(--ksb-cream);
  margin-top: 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(183, 169, 138, 0.4);
}
.account-nav-link {
  color: var(--ksb-brown);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.15s;
}
.account-nav-link:hover { color: var(--ksb-yellow); }
.account-nav-logout { margin-left: auto; color: var(--ksb-muted); }

@media (max-width: 600px) {
  .account-shell { padding: 6rem 1rem 3rem; }
  .account-card { padding: 1.5rem 1.25rem; }
  .account-title { font-size: 1.55rem; }
  .account-orders li { grid-template-columns: 1fr 1fr; gap: 0.4rem 0.75rem; }
  .account-grid { grid-template-columns: 1fr; }
  .account-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0 1.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: -0.25rem;
  }
  .account-nav::-webkit-scrollbar { display: none; }
  .account-nav-link { white-space: nowrap; flex-shrink: 0; }
  .account-nav-logout { margin-left: 0; }
}

@media (max-width: 480px) {
  .account-nav { top: 90px; }
}

/* ── Account sub-page additions ── */

.account-back {
  display: inline-block;
  font-size: 0.88rem;
  color: var(--ksb-muted);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.15s;
}
.account-back:hover { color: var(--ksb-brown); }

.account-nav-link.active {
  color: var(--ksb-brown);
  font-weight: 600;
  border-bottom: 2px solid var(--ksb-yellow);
  padding-bottom: 0.15rem;
}

.account-help {
  font-size: 0.88rem;
  color: var(--ksb-muted);
  margin: 0.5rem 0 0;
}
.account-help a { color: var(--ksb-brown); }

/* ── Account home navigation tiles ── */
.account-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}
.account-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 10px;
  background: var(--ksb-cream, #F8FAF2);
  border: 1.5px solid rgba(183,169,138,0.4);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ksb-brown, #4D2E18);
  font-family: 'Karla', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  transition: border-color 0.15s, transform 0.15s, background 0.15s;
}
.account-tile:hover {
  border-color: var(--ksb-yellow, #FDBB15);
  transform: translateY(-2px);
}
.account-tile-icon { font-size: 22px; line-height: 1; }
.account-tile-label { line-height: 1.3; }
.account-tile--loyalty {
  background: #fffbe6;
  border-color: #FDBB15;
  font-family: 'Cardo', serif;
  font-size: 14px;
}
.account-tile--loyalty:hover { background: #fff8d6; }
.account-tile--logout { border-style: dashed; }
@media (max-width: 480px) {
  .account-tiles { grid-template-columns: repeat(2, 1fr); }
}

.account-field-note {
  font-size: 0.8rem;
  color: var(--ksb-muted);
  font-weight: 400;
  margin-top: 0.1rem;
}

/* Extend input styles to phone and textarea */
.account-label input[type="tel"],
.account-label textarea,
.account-label select {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--ksb-tan);
  border-radius: 6px;
  background: #faf7f2;
  color: var(--ksb-text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.account-label input[type="tel"]:focus,
.account-label textarea:focus,
.account-label select:focus {
  outline: none;
  border-color: var(--ksb-yellow);
  box-shadow: 0 0 0 3px rgba(253, 187, 21, 0.15);
}
.account-label input[disabled] {
  background: #f7f5f0;
  color: var(--ksb-muted);
  cursor: not-allowed;
}

/* Marketing opt-in checkbox row */
.account-check-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--ksb-brown);
  cursor: pointer;
  line-height: 1.4;
}
.account-check-row input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--ksb-yellow);
  cursor: pointer;
}
.account-check-note {
  font-size: 0.82rem;
  color: var(--ksb-muted);
}

/* ── Verified / unverified badges ── */
.account-verified-badge {
  font-size: 0.82rem;
  padding: 0.2rem 0.6rem;
  background: #ebf9ec;
  border: 1px solid #a3d9a5;
  color: #1f6b30;
  border-radius: 12px;
}
.account-unverified-badge {
  font-size: 0.82rem;
  padding: 0.2rem 0.6rem;
  background: #fffbee;
  border: 1px solid var(--ksb-yellow);
  color: #8a6d00;
  border-radius: 12px;
}

/* ── Address cards ── */
/* ── Account toast (fixed bottom confirmation) ── */
.account-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ksb-brown);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(77, 46, 24, 0.25);
  z-index: 9999;
  white-space: nowrap;
  animation: toastIn 0.2s ease-out, toastOut 0.3s ease-in 2.7s forwards;
}
@keyframes toastIn  { from { opacity: 0; transform: translateX(-50%) translateY(8px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; } }

.account-dashboard-cta {
  font-size: 0.9rem;
  color: var(--ksb-muted);
  margin: 0.25rem 0 1.25rem;
}

.account-section-divider {
  border: 0;
  border-top: 1px solid rgba(183, 169, 138, 0.4);
  margin: 1.5rem 0;
}

.account-security-section { }

.account-security-email {
  font-size: 0.95rem;
  color: var(--ksb-brown);
  margin: 0.25rem 0 0;
}

.account-addr-toolbar {
  margin-bottom: 1rem;
}

.account-addr-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.account-addr-card {
  background: transparent;
  border: 1px solid rgba(183, 169, 138, 0.45);
  border-radius: 10px;
  padding: 1.25rem 1.25rem 1rem;
}

.account-addr-header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.account-addr-label-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  background: #f5f0e8;
  border: 1px solid var(--ksb-tan);
  border-radius: 10px;
  color: var(--ksb-brown);
}

.account-addr-default-badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  background: #fffbee;
  border: 1px solid var(--ksb-yellow);
  border-radius: 10px;
  color: #8a6d00;
}

.account-addr-name {
  font-weight: 600;
  color: var(--ksb-brown);
  font-size: 0.95rem;
  margin: 0 0 0.3rem;
}

.account-addr-detail {
  font-size: 0.88rem;
  color: var(--ksb-muted);
  margin: 0 0 0.2rem;
}

.account-addr-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(183, 169, 138, 0.3);
}

.account-addr-btn {
  background: none;
  border: 1px solid var(--ksb-tan);
  color: var(--ksb-brown);
  font-family: inherit;
  font-size: 0.82rem;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.account-addr-btn:hover {
  background: rgba(253,187,21,0.12);
  border-color: var(--ksb-yellow);
}
.account-addr-btn-danger {
  color: #8b1a1a;
  border-color: #ffcccc;
}
.account-addr-btn-danger:hover {
  background: #fff0f0;
  border-color: #ffcccc;
}

.account-addr-form-panel {
  margin-top: 1rem;
}

/* ── Expandable order rows ── */
.account-orders-list {
  padding: 0;
  overflow: hidden;
}
.account-orders-list .account-order-row {
  border-bottom: 1px solid rgba(183, 169, 138, 0.25);
}
.account-orders-list .account-order-row:last-child {
  border-bottom: 0;
}

.account-orders-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.5rem 0;
  padding: 0.7rem 1.75rem;
  background: #f0ebe2;
  border-radius: 0;
  border-bottom: 1px solid rgba(183, 169, 138, 0.4);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ksb-brown);
}
.account-orders-header span:nth-child(1) { flex: 0 0 52px; }          /* thumb */
.account-orders-header span:nth-child(2) { flex: 0 0 90px; }          /* order# */
.account-orders-header span:nth-child(3) { flex: 0 0 92px; }          /* channel */
.account-orders-header span:nth-child(4) { flex: 1 1 auto; }          /* for */
.account-orders-header span:nth-child(5) { flex: 0 0 95px; text-align: center; } /* status */
.account-orders-header span:nth-child(6) { flex: 0 0 75px; text-align: right; }  /* total */
.account-orders-header span:nth-child(7) { flex: 0 0 28px; }          /* toggle */

.account-order-row-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.75rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.9rem;
  transition: background 0.15s;
}
.account-order-row-head:hover { background: rgba(253,187,21,0.08); }
.account-order-row-head.is-open {
  background: rgba(253,187,21,0.06);
  border-radius: 6px 6px 0 0;
}

/* Thumbnail */
.account-order-thumb {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  background: #f0ebe2;
  flex-shrink: 0;
}
.account-order-thumb img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  display: block;
}
.account-order-thumb-logo {
  object-fit: contain;
  padding: 6px;
  opacity: 0.4;
}

/* Fixed widths — must match header columns */
.account-order-num   { flex: 0 0 90px; font-weight: 600; color: var(--ksb-brown); }
.account-order-channel { flex: 0 0 92px; }
.account-channel-pill {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: #efe7d8;
  color: var(--ksb-brown);
  white-space: nowrap;
}
.account-channel-pill.account-channel-qr,
.account-channel-pill.account-channel-qr-counter { background: #e7eef0; color: #2c5a66; }
.account-channel-pill.account-channel-in-store    { background: #f3e3df; color: #7a3b2e; }
.account-channel-pill.account-channel-same-day    { background: #fff0d6; color: #8a5a00; }
.account-order-item-mods { display: block; color: var(--ksb-muted); font-size: 0.78rem; font-weight: 400; }
.account-order-refund-banner { display:inline-block; font-weight:800; letter-spacing:.04em; color:#b91c1c; background:#fef2f2; border:1px solid #fecaca; border-radius:6px; padding:3px 8px; margin-bottom:6px; font-size:.78rem; }
.account-order-item-refunded { color:#b91c1c; background:#fef2f2; border:1px solid #fecaca; border-radius:9999px; padding:0 6px; margin-left:6px; font-size:.7rem; font-weight:700; }
.account-order-detail-pay,
.account-order-detail-stamps { color: var(--ksb-muted); }
.account-order-date  { display: none; } /* removed — kept for compatibility */
.account-order-ff    { flex: 1 1 auto; min-width: 0; color: var(--ksb-muted); font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-order-status {
  flex: 0 0 95px;
  display: block;
  text-align: center;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  text-transform: capitalize;
  white-space: nowrap;
  box-sizing: border-box;
}
.account-order-total  { flex: 0 0 75px; text-align: right; font-weight: 600; color: var(--ksb-brown); }
.account-order-toggle {
  flex: 0 0 28px;
  text-align: right;
  font-size: 1rem;
  color: var(--ksb-muted);
  line-height: 1;
  font-weight: 300;
  user-select: none;
}

.account-order-detail {
  padding: 0.75rem 1.75rem 1.25rem;
  border-top: 1px solid rgba(183, 169, 138, 0.25);
  background: rgba(253,187,21,0.04);
}

.account-order-items {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
}
.account-order-items li {
  display: flex;
  gap: 0.75rem;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(183, 169, 138, 0.15);
}
.account-order-items li:last-child { border-bottom: 0; }

.account-order-item-qty {
  color: var(--ksb-muted);
  min-width: 28px;
}
.account-order-item-name {
  flex: 1;
  color: var(--ksb-text);
}
.account-order-item-price {
  color: var(--ksb-brown);
  font-weight: 600;
  white-space: nowrap;
}

.account-order-detail-totals {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  margin-top: 0.5rem;
}
.account-order-detail-line {
  font-size: 0.88rem;
  color: var(--ksb-muted);
  margin: 0;
}
.account-order-detail-total {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ksb-brown);
}
.account-order-track {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ksb-brown);
  text-decoration: underline;
}

/* ── Fix: cart account banner to brand warm yellow (not generic green) ── */
.cart-account-banner--saved {
  background: #fffbee;
  color: var(--ksb-brown);
  border-color: var(--ksb-yellow);
}

@media (max-width: 640px) {
  .account-addr-list { grid-template-columns: 1fr; }

  .account-orders-header { display: none; }

  /* Mobile: thumb | order# | status | total | toggle — ff wraps below */
  .account-order-row-head { flex-wrap: wrap; gap: 0.4rem 0.6rem; align-items: center; }
  .account-order-thumb  { flex: 0 0 40px; height: 40px; }
  .account-order-thumb img { width: 40px; height: 40px; }
  .account-order-num    { flex: 0 0 auto; font-size: 0.88rem; }
  .account-order-ff     { flex: 1 0 100%; order: 5; font-size: 0.8rem; white-space: normal; padding-left: 46px; color: var(--ksb-muted); }
  .account-order-status { flex: 0 0 auto; margin-left: auto; }
  .account-order-total  { flex: 0 0 auto; }
  .account-order-toggle { flex: 0 0 auto; }
}

/* ================================================
   Global branded alert modal (replaces native alert())
   ================================================ */
[x-cloak] { display: none !important; }

.ksb-alert-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 26, 13, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  padding: 1rem;
  animation: ksbAlertFadeIn 0.18s ease-out;
}
@keyframes ksbAlertFadeIn { from { opacity: 0; } to { opacity: 1; } }

.ksb-alert-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  padding: 1.75rem 1.75rem 1.5rem;
  max-width: 420px;
  width: 100%;
  text-align: left;
  border-top: 4px solid var(--ksb-yellow);
  animation: ksbAlertSlideIn 0.22s cubic-bezier(0.2, 0.7, 0.35, 1);
}
@keyframes ksbAlertSlideIn { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.ksb-alert-card.ksb-alert-error  { border-top-color: #c64a3b; }
.ksb-alert-card.ksb-alert-info   { border-top-color: var(--ksb-yellow); }

.ksb-alert-title {
  font-family: 'Cardo', serif;
  font-size: 1.25rem;
  color: var(--ksb-brown);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}
.ksb-alert-msg {
  font-size: 0.95rem;
  color: var(--ksb-text);
  margin: 0 0 1.25rem;
  line-height: 1.45;
}
.ksb-alert-btn {
  min-width: 110px;
  margin-left: auto;
  display: block;
}

/* ── Phase 1: Mobile PDP Hero & Gallery ────────────────────── */

@keyframes pdp-kenburns {
  from { transform: scale(1.0); }
  to   { transform: scale(1.07) translate(-1.5%, -0.5%); }
}

/* Hero overlay elements — hidden on desktop, shown on mobile */
.pdp-hero-gradient,
.pdp-img-counter,
.pdp-hero-text,
.pdp-gallery-dots {
  display: none;
}

@media (max-width: 768px) {

  /* Break image out of grid — full-bleed */
  .page-product .product-detail {
    display: block;
    padding: 0;
    max-width: 100%;
  }

  .page-product .product-detail .product-image {
    position: relative;
    height: 420px;
    border-radius: 0;
    overflow: hidden;
    margin: 0;
    width: 100%;
  }

  .page-product .product-detail .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
    display: block;
    transform-origin: 55% 50%;
  }

  /* Ken Burns only on frame 1 */
  .page-product .product-detail .product-image img.pdp-kb-active {
    animation: pdp-kenburns 8s ease-in-out infinite alternate;
  }

  @media (prefers-reduced-motion: reduce) {
    .page-product .product-detail .product-image img.pdp-kb-active {
      animation: none;
    }
  }

  /* Gradient overlay */
  /* Deeper gradient — covers name text at bottom */
  .pdp-hero-gradient {
    display: block;
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 220px;
    background: linear-gradient(to top, rgba(30,12,4,.88) 0%, rgba(30,12,4,.18) 60%, transparent 100%);
    pointer-events: none;
  }

  /* Hide h1 on mobile — name is on the image instead */
  .page-product .product-detail .product-info h1 {
    display: none;
  }

  /* Image counter pill — top right, immediately signals 2 images */
  .pdp-img-counter {
    display: block;
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(0,0,0,.42);
    color: white;
    font-family: 'Karla', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  /* Hero text block — name + dots, anchored to bottom of image */
  .pdp-hero-text {
    display: block;
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 16px 20px 20px;
  }

  /* Dot row — in flow above the name */
  .pdp-gallery-dots {
    display: flex;
    gap: 0;
    align-items: center;
    margin-bottom: 8px;
  }

  /* Button = 44×44px tap target */
  .pdp-dot {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
  }

  /* Visual bar via ::after */
  .pdp-dot::after {
    content: '';
    display: block;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,.45);
    width: 8px;
    transition: width .2s ease, background .2s ease;
  }

  .pdp-dot.is-active::after {
    width: 22px;
    background: white;
  }

  /* Product name on hero image */
  .pdp-hero-name {
    font-family: 'Cardo', serif;
    font-weight: 700;
    font-size: 2.1rem;
    line-height: 1.0;
    color: white;
    letter-spacing: -0.01em;
  }

  /* Thumbnail strip: hidden on mobile — dots replace it */
  .product-thumb-strip {
    display: none;
  }

  /* Restore padding for info section below hero */
  .page-product .product-detail .product-info {
    padding: 16px 20px 8px;
  }

  /* Breadcrumb gets padding since product-detail no longer has it */
  .page-product .category-breadcrumb {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Cart account banner */
.cart-account-banner {
  font-size: .85rem;
  padding: .55rem .9rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: #f5f0e8;
  color: #5a4a35;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.cart-account-banner a { color: #b5862a; font-weight: 600; text-decoration: underline; }
.cart-account-banner--saved { background: #e8f5e9; color: #2e7d32; }

/* Checkout login nudge */
.checkout-login-nudge {
  font-size: .85rem;
  background: #f5f0e8;
  color: #5a4a35;
  padding: .55rem .9rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.checkout-login-nudge a { color: #b5862a; font-weight: 600; text-decoration: underline; }

/* Post-order save CTA */
.order-confirm-save-cta {
  background: #fffbf0;
  border: 1.5px solid #FDBB15;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin: 1.2rem 0;
}
.order-confirm-save-cta strong { display: block; margin-bottom: .3rem; font-size: 1rem; }

/* ── Early Bird Incentive System ──────────────────────────────────────────── */

.eb-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: #FDBB15;
  border-radius: 10px;
  padding: 0.8rem 1.25rem;
  margin: 0 auto 1.5rem;
  max-width: 680px;
}

.eb-pill--scarcity {
  background: #fff7ed;
  border: 1.5px solid #fdba74;
}

.eb-pill--scarcity .eb-pill__text { color: #c2410c; }

.eb-pill--scarcity .eb-pill__cta {
  background: #fdba74;
  color: #7c2d12;
}

/* Compact variant — guided flow widget, tighter vertical rhythm */
.eb-pill--compact {
  padding: 0.55rem 1rem;
  gap: 0.5rem;
}

.eb-pill--compact .eb-pill__text { font-size: 0.83rem; }

.eb-pill--compact .eb-pill__cta {
  min-height: 32px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
}

@media (max-width: 500px) {
  /* Compact pills stay in a row on mobile — don't stack full-width */
  .eb-pill--compact .eb-pill__cta {
    width: auto;
    min-height: 36px;
  }
}

.eb-pill__text {
  font-family: 'Karla', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4D2E18;
  flex: 1;
  min-width: 0;
}

.eb-pill__cta {
  font-family: 'Karla', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #4D2E18;
  text-decoration: none;
  background: rgba(255,255,255,0.4);
  padding: 0.55rem 1rem;
  border-radius: 6px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.eb-pill__confirm {
  font-family: 'Karla', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #4D2E18;
}

.eb-pill__subtext {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.75;
  margin-top: 0.2rem;
}

/* Cart early bird reminder */
.eb-cart-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  background: #fffbe6;
  border: 1px solid #FDBB15;
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  margin: 0.75rem 0 0.25rem;
  font-family: 'Karla', sans-serif;
  font-size: 0.85rem;
  color: #4D2E18;
  font-weight: 600;
  line-height: 1.4;
}

.eb-cart-pill__link {
  font-weight: 700;
  color: #4D2E18;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.45rem 0.85rem;
  background: #FDBB15;
  border-radius: 5px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

/* Checkout tier signals */
.eb-signal {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-family: 'Karla', sans-serif;
  font-size: 0.85rem;
  margin: 0.75rem 0;
  line-height: 1.45;
}

.eb-signal--incentive {
  background: #fffbe6;
  border: 1px solid #FDBB15;
  color: #4D2E18;
}

.eb-signal--nudge {
  background: #fff8e1;
  border: 1px solid #FDBB15;
  color: #7D5A00;
}

.eb-signal--scarcity-low {
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #c2410c;
}

.eb-signal--scarcity-high {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* Store credit banner (checkout) */
.credit-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: #f0faf4;
  border: 1px solid #6dbb8a;
  border-radius: 7px;
  padding: 0.6rem 0.85rem;
  margin: 0.75rem 0;
  font-size: 0.88rem;
}
.credit-banner-icon { font-size: 1.1rem; flex-shrink: 0; }
.credit-banner-text { line-height: 1.35; }
.credit-banner-amount { font-weight: 700; color: #1a7a40; }
.credit-banner-note  { font-size: 0.78rem; color: #3a7a56; margin-top: 0.1rem; }

/* Mobile overrides */
@media (max-width: 500px) {
  .eb-pill {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .eb-pill__cta {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .eb-cart-pill {
    flex-direction: column;
    align-items: flex-start;
  }

  .eb-cart-pill__link {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  /* Calendar badges: shrink to 7px readable label on mobile */
  .slot-badge--incentive,
  .slot-badge--scarcity {
    font-size: 7px;
    padding: 0 2px;
    border-radius: 2px;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }

  .slot-badge--incentive { background: #fffbe6; color: #4D2E18; }
  .slot-badge--scarcity  { background: #fff7ed; color: #c2410c; }
}
.order-confirm-save-cta p { font-size: .87rem; color: #666; margin: 0 0 .75rem; }

/* ── Mr Sor Hei Programme B — cart strip ──────────────────────────────────── */
/* x-cloak hides Alpine-controlled elements before init — no layout flash */
[x-cloak] { display: none !important; }
.sh-outer { }

.sh-avatar {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  mix-blend-mode: darken;
}
.sh-avatar--sm {
  width: 36px;
  height: 36px;
}

/* Strip */
.sh-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fffbe6;
  border: 1px solid #FDBB15;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}
.sh-strip--high {
  border-width: 2px;
}
.sh-strip--removed {
  background: #fff7ed;
  border-color: #fdba74;
}
.sh-strip__body {
  flex: 1;
  min-width: 0;
}
.sh-strip__msg {
  font-family: 'Karla', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #4D2E18;
  margin: 0 0 0.2rem;
  line-height: 1.4;
}
.sh-strip__sub {
  font-family: 'Karla', sans-serif;
  font-size: 0.78rem;
  color: #a89070;
  margin: 0;
  line-height: 1.4;
}

/* Progress bar */
.sh-progress-wrap { margin-top: 0.4rem; }
.sh-progress-bar {
  height: 4px;
  background: #f0e8d4;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.25rem;
}
.sh-progress-fill {
  height: 100%;
  background: #FDBB15;
  border-radius: 2px;
  transition: width 0.4s ease;
}
.sh-progress-label {
  font-family: 'Karla', sans-serif;
  font-size: 0.75rem;
  color: #a89070;
  margin: 0;
}

/* Reveal button */
.sh-reveal-btn {
  flex-shrink: 0;
  background: #4D2E18;
  color: #FDBB15;
  border: none;
  border-radius: 4px;
  font-family: 'Karla', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.sh-reveal-btn:hover:not(:disabled) { background: #3a2010; }
.sh-reveal-btn:disabled { opacity: 0.6; cursor: default; }

/* ── Mr Sor Hei shop banner (replaces eb-pill on shop page) ───────────────── */
.sh-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #fffbe6;
  border-bottom: 1px solid #FDBB15;
  padding: 0.3rem 1.25rem;
  margin-top: 24px;
}
.sh-banner__avatar {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  mix-blend-mode: darken;
}
.sh-banner__text {
  font-family: 'Karla', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4D2E18;
  white-space: nowrap;
}
.sh-banner__cta {
  font-family: 'Karla', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #4D2E18;
  text-decoration: underline;
  white-space: nowrap;
}
.sh-banner__cta:hover { color: #a0601a; }
@media (max-width: 500px) {
  /* Mobile nav wraps to 2 rows = 95px. main padding-top is 56px, so 44px extra clears it. */
  .sh-banner { padding: 0.3rem 1rem; gap: 0.4rem; margin-top: 44px; }
  .sh-banner__text { font-size: 0.78rem; }
}

/* Prize item row */
.sh-prize-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fffbe6;
  border: 1px solid #FDBB15;
  border-radius: 6px;
  padding: 0.6rem 1rem;
  margin-bottom: 0.75rem;
}
.sh-prize-row__info {
  flex: 1;
  min-width: 0;
}
.sh-prize-row__name {
  display: block;
  font-family: 'Karla', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: #4D2E18;
}
.sh-prize-row__sub {
  display: block;
  font-family: 'Karla', sans-serif;
  font-size: 0.76rem;
  color: #a89070;
}
.sh-prize-row__price {
  font-family: 'Karla', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  color: #4D2E18;
  flex-shrink: 0;
}

@media (max-width: 500px) {
  .sh-strip { flex-wrap: wrap; }
  .sh-reveal-btn { width: 100%; text-align: center; margin-top: 0.25rem; }
}

/* Strip celebrate pulse */
@keyframes sh-celebrate {
  0%   { border-color: #FDBB15; box-shadow: none; }
  30%  { border-color: #4D2E18; box-shadow: 0 0 0 4px rgba(253,187,21,0.25); }
  70%  { border-color: #FDBB15; box-shadow: 0 0 0 2px rgba(253,187,21,0.15); }
  100% { border-color: #FDBB15; box-shadow: none; }
}
.sh-strip--celebrate {
  animation: sh-celebrate 0.7s ease;
}

/* Avatar bounce on reveal */
@keyframes sh-bounce {
  0%,100% { transform: translateY(0) scale(1); }
  35%      { transform: translateY(-8px) scale(1.1); }
  65%      { transform: translateY(-4px) scale(1.05); }
}
.sh-avatar--bounce {
  animation: sh-bounce 0.7s cubic-bezier(.36,.07,.19,.97);
}

/* Prize row slide-in transition classes (used with x-transition) */
.sh-slide-enter       { transition: opacity 0.35s ease, transform 0.35s ease; }
.sh-slide-enter-start { opacity: 0; transform: translateY(-6px); }
.sh-slide-enter-end   { opacity: 1; transform: translateY(0); }

/* Mr Sor Hei Thank-You gacha card-pick UI */
.ty-gacha{margin:1.25rem 0;padding:1rem;border:1px solid #B7A98A;border-radius:12px;background:#F8FAF2;text-align:center}
.ty-gacha__hd{font-family:'Cardo',serif;font-size:1.15rem;color:#4D2E18;margin:.25rem 0}
.ty-gacha__sub{font-family:'Karla',sans-serif;font-size:.9rem;color:#4D2E18}
.ty-gacha__cards{display:flex;gap:.75rem;justify-content:center;margin:.75rem 0}
.ty-card{font-size:2.5rem;background:#FDBB15;border:none;border-radius:10px;padding:.5rem .9rem;cursor:pointer;transition:transform .12s}
.ty-card:hover:not(:disabled){transform:translateY(-4px)}
.ty-card:disabled{opacity:.6;cursor:default}

/* ── Phone-capture banner (account pages incl. loyalty) ──────────────────── */
.pc-banner{background:#FDBB15;color:#4D2E18;border-radius:8px;padding:.6rem .8rem;margin:0 0 1rem;font-size:.95rem}
.pc-banner-form{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.pc-banner-text{flex:1 1 220px}
.pc-banner-input{padding:.35rem .5rem;border:1px solid #4D2E18;border-radius:6px;min-width:130px}
.pc-banner-save{background:#4D2E18;color:#fff;border:0;border-radius:6px;padding:.4rem .8rem;cursor:pointer}
.pc-banner-save:disabled{opacity:.6;cursor:default}
.pc-banner-dismiss{background:none;border:0;font-size:1.2rem;line-height:1;color:#4D2E18;cursor:pointer}
.pc-banner-error{color:#8a1f1f;margin:.4rem 0 0;font-size:.85rem}
.pc-banner-done{margin:.4rem 0 0;font-size:.9rem}
.mo-banner{background:#FDBB15;color:#4D2E18;border-radius:8px;padding:.6rem .8rem;margin:0 0 1rem;font-size:.95rem}
.mo-banner-row{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.mo-banner-text{flex:1 1 220px}
.mo-banner-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.mo-banner-yes{background:#4D2E18;color:#fff;border:0;border-radius:6px;padding:.4rem .8rem;cursor:pointer}
.mo-banner-no{background:none;color:#4D2E18;border:1px solid #4D2E18;border-radius:6px;padding:.4rem .8rem;cursor:pointer}
.mo-banner-yes:disabled,.mo-banner-no:disabled{opacity:.6;cursor:default}
.mo-banner-dismiss{background:none;border:0;font-size:1.2rem;line-height:1;color:#4D2E18;cursor:pointer}
.mo-banner-error{color:#8a1f1f;margin:.4rem 0 0;font-size:.85rem}
.mo-banner-done{margin:.4rem 0 0;font-size:.9rem}
