/* ═══════════════════════════════════════════════════════════════
   La Cheffe Bakes — Premium Motion & Polish Layer
   Layered on top of styles.css — does not override existing rules
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   PWA — Install banner & iOS hint
   ═══════════════════════════════════════════════════════════════ */
#hcb-install-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 980;
  background: #fff;
  border: 1px solid rgba(16, 38, 26, 0.20);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(30, 42, 34, 0.22), 0 4px 12px rgba(30, 42, 34, 0.10);
  opacity: 0;
  transform: translateY(140%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}
#hcb-install-banner.is-visible { opacity: 1; transform: translateY(0); }
.hcb-install-banner__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}
.hcb-install-banner__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  background: #fbf7ee;
}
.hcb-install-banner__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.hcb-install-banner__text strong {
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
}
.hcb-install-banner__text span {
  font-size: 12px;
  color: var(--ink-soft);
}
.hcb-install-banner__btn {
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 100px;
  background: linear-gradient(135deg, #C9A97C 0%, #10261a 100%);
  color: #fff;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 38, 26, 0.30);
  -webkit-tap-highlight-color: transparent;
}
.hcb-install-banner__close {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: transparent;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 50%;
  display: grid;
  place-items: center;
  -webkit-tap-highlight-color: transparent;
}
.hcb-install-banner__close:hover { background: rgba(0,0,0,0.05); }

[data-theme="dark"] #hcb-install-banner {
  background: #112218;
  border-color: rgba(16, 38, 26, 0.35);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
}

/* iOS hint — bottom toast pointing at Share button */
#hcb-ios-hint {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 980;
  background: rgba(20,8,14, 0.92);
  color: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.35);
  opacity: 0;
  transform: translateY(140%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
#hcb-ios-hint.is-visible { opacity: 1; transform: translateY(0); }
.hcb-ios-hint__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
}
.hcb-ios-hint__inner strong { color: #dccfb4; }
#hcb-ios-hint-close {
  flex-shrink: 0;
  background: transparent;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  width: 26px; height: 26px;
  -webkit-tap-highlight-color: transparent;
}

/* When the app is launched in standalone mode (already installed),
   leave a tiny bottom safe-area for the home indicator on iOS */
.hcb-pwa-installed body { padding-bottom: env(safe-area-inset-bottom); }

/* ── Performance: tell the browser to skip rendering off-screen
   sections until they're needed. Massive win on long pages where
   the GPU is busy compositing many transforms & filters. ───────── */
.section,
.hcb-south-section,
.features-strip,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
/* GPU-promote items the browser animates constantly so they don't
   re-layer on every paint. */
.hero__title, .hero__subtitle, .hero__actions, .hero__badges,
.scroll-progress, .features-strip__inner {
  will-change: transform;
  backface-visibility: hidden;
}
/* Mobile: kill heavy blurs and reduce animation count. Saves the
   GPU & main-thread budget where touch devices need it most. */
@media (max-width: 767px) {
  /* The mouse glow & magnetic cursor are desktop-only — disable here
     defensively in case any global rule paints them. */
  .mouse-glow { display: none !important; }

  /* Smoother native scrolling on iOS/Android */
  html, body { -webkit-overflow-scrolling: touch; }

  /* Prefer simple transforms over filter blurs which can cost
     a lot to composite. */
  .hcb-glass-menu { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .hcb-glass-card { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}

/* ── Scroll Progress Bar ─────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm), var(--gold), var(--accent-warm));
  background-size: 200% 100%;
  z-index: 10000;
  border-radius: 0 2px 2px 0;
  pointer-events: none;
  animation: shimmerGradient 3s linear infinite;
  will-change: width;
}
@keyframes shimmerGradient {
  0%   { background-position: 0%   50%; }
  100% { background-position: 200% 50%; }
}

/* ── Mouse Glow (desktop only) ───────────────────────────────── */
.mouse-glow {
  position: fixed;
  pointer-events: none;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(16, 38, 26, 0.055) 0%,
    rgba(143,18,56, 0.03) 40%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  z-index: 0;
  will-change: left, top;
  transition: left 1s cubic-bezier(0.16, 1, 0.3, 1),
              top  1s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 767px) { .mouse-glow { display: none; } }

/* ── Hero Orbs (JS-injected) ─────────────────────────────────── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: orbAppear 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
}
.hero-orb--1 {
  width: 480px; height: 480px;
  top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(16, 38, 26, 0.10) 0%, transparent 65%);
  filter: blur(50px);
  animation-delay: 0.1s;
}
.hero-orb--2 {
  width: 340px; height: 340px;
  bottom: -60px; left: 5%;
  background: radial-gradient(circle, rgba(220, 207, 180, 0.09) 0%, transparent 65%);
  filter: blur(36px);
  animation-delay: 0.3s;
}
.hero-orb--3 {
  width: 220px; height: 220px;
  top: 40%; right: 18%;
  background: radial-gradient(circle, rgba(143,18,56, 0.07) 0%, transparent 65%);
  filter: blur(24px);
  animation-delay: 0.5s;
}
@keyframes orbAppear {
  from { opacity: 0; transform: scale(0.75); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── Hero Content — Staggered Entrance ───────────────────────── */
.hero__eyebrow {
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}
.hero__title {
  animation: fadeSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}
.hero__subtitle {
  animation: fadeSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.30s both;
}
.hero__actions {
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.42s both;
}
.hero__badges {
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.54s both;
}
.hero__note {
  animation: fadeSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.64s both;
}
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gradient italic text in hero title */
.hero__title em {
  background: linear-gradient(
    135deg,
    var(--accent)      0%,
    var(--accent-warm) 45%,
    var(--gold)        100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

/* ── Badge Float on Hover ────────────────────────────────────── */
.hero__badge {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease;
  cursor: default;
}
.hero__badge:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(16, 38, 26, 0.2);
}

/* ── Header Scroll State ─────────────────────────────────────── */
.header {
  transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease,
              height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.header--scrolled {
  box-shadow: 0 6px 40px rgba(30, 42, 34, 0.13);
  background: rgba(255,250,247, 0.98) !important;
}
.header--scrolled .header__inner {
  height: 60px;
}

/* ── Reveal Animation System ─────────────────────────────────── */
.hcb-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity   0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.hcb-reveal.hcb-from-left  { transform: translateX(-32px); }
.hcb-reveal.hcb-from-right { transform: translateX(32px); }
.hcb-reveal.hcb-scale      { transform: scale(0.93) translateY(18px); }

.hcb-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.hcb-d1 { transition-delay: 0.05s; }
.hcb-d2 { transition-delay: 0.12s; }
.hcb-d3 { transition-delay: 0.19s; }
.hcb-d4 { transition-delay: 0.26s; }
.hcb-d5 { transition-delay: 0.33s; }
.hcb-d6 { transition-delay: 0.40s; }

/* ── Card GPU Optimization ───────────────────────────────────── */
.card {
  will-change: transform;
  transition:
    transform  0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease;
}

/* ── Button Ripple Keyframe ──────────────────────────────────── */
@keyframes rippleAnim {
  from { transform: scale(0); opacity: 1; }
  to   { transform: scale(4); opacity: 0; }
}

/* ── Button Active Press ─────────────────────────────────────── */
.btn:active {
  transform: translateY(0) scale(0.97) !important;
}

/* ── Section Eyebrow Shine ───────────────────────────────────── */
.section__eyebrow {
  transition: letter-spacing 0.4s ease;
}
.section__eyebrow.is-visible {
  letter-spacing: 3px;
}

/* ══════════════════════════════════════════════════════════════
   SHAKURO FX — added by shakuro-fx.js
   ══════════════════════════════════════════════════════════════ */

/* ── Split-text word mask ────────────────────────────────────── */
.hero__title.hcb-split-done {
  animation: none !important;
}
.hcb-ww {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.hcb-w {
  display: inline-block;
}

/* ── Magnetic cursor (desktop / pointer only) ────────────────── */
#hcb-cur-dot {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100001;
  mix-blend-mode: multiply;
  will-change: transform;
}
#hcb-cur-ring {
  position: fixed;
  top: 0; left: 0;
  width: 44px; height: 44px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transition:
    width  0.32s cubic-bezier(0.22,1,0.36,1),
    height 0.32s cubic-bezier(0.22,1,0.36,1),
    background 0.25s ease,
    border-color 0.25s ease;
}
#hcb-cur-ring.is-hover {
  width: 72px; height: 72px;
  background: rgba(201,169,124,0.13);
}
#hcb-cur-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  pointer-events: none;
  white-space: nowrap;
}
[data-theme="dark"] #hcb-cur-ring.is-hover {
  background: rgba(201,169,124,0.22);
}
@media (max-width: 767px), (hover: none) {
  #hcb-cur-dot, #hcb-cur-ring { display: none !important; }
}

/* ── Infinite marquee ticker ─────────────────────────────────── */
.hcb-marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  width: max-content;
  animation: hcbMarquee 30s linear infinite;
}
.features-strip:hover .hcb-marquee-track {
  animation-play-state: paused;
}
@keyframes hcbMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Stats section ───────────────────────────────────────────── */
.hcb-stats-section {
  background: linear-gradient(135deg, #1e2a22 0%, #4a3530 60%, #1A3123 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.hcb-stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hcb-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
@media (max-width: 767px) {
  .hcb-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.hcb-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hcb-stat-card:last-child { border-right: none; }
@media (max-width: 767px) {
  .hcb-stat-card { border-right: none; padding: 22px 12px; }
  .hcb-stat-card:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,0.08); }
  .hcb-stat-card:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
}
.hcb-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--accent-warm, #DCC29A), var(--gold, #C9A97C));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hcb-stat-lbl {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(248,233,238,0.58);
}
@media (max-width: 767px) {
  .hcb-stat-num { font-size: 38px; }
}

/* ── Page Load Fade ──────────────────────────────────────────── */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body {
  animation: pageFadeIn 0.45s ease both;
}

/* ── Features Strip Subtle Entrance ─────────────────────────── */
.features-strip {
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

/* ── Footer Reveal ───────────────────────────────────────────── */
.footer {
  transition: opacity 0.6s ease;
}

/* ── Page Color Refinement — Remove dot grain texture ───────── */
body {
  background-image: none !important;
}
.background-image {
  background:
    radial-gradient(ellipse 70% 45% at 95% 0%,  rgba(16, 38, 26,0.07)  0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 0%  100%, rgba(220, 207, 180,0.05) 0%, transparent 55%),
    linear-gradient(160deg, #fcf9f2 0%, #f8f5ee 50%, #fcf9f2 100%);
  z-index: -1;
}

/* ── Apple-style Hover Mega Menu ─────────────────────────────── */
.hcb-mega {
  position: fixed;
  top: 72px;
  left: 0; right: 0;
  z-index: 500;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.hcb-mega.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
.hcb-mega__backdrop {
  position: fixed;
  inset: 0;
  top: 72px;
  background: rgba(20,8,14, 0.22);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: none;
}
.hcb-mega__panel {
  position: relative;
  background: rgba(255,250,247, 0.97);
  backdrop-filter: blur(40px) saturate(160%);
  -webkit-backdrop-filter: blur(40px) saturate(160%);
  border-bottom: 1px solid rgba(230, 223, 207, 0.6);
  box-shadow: 0 12px 48px rgba(30, 42, 34, 0.14);
  padding: 26px 0 30px;
  transform: translateY(-10px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.hcb-mega.is-open .hcb-mega__panel {
  transform: translateY(0);
}
.hcb-mega__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.hcb-mega__label {
  font-family: "Playfair Display", serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.2px;
}
.hcb-mega__see-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 5px 14px;
  border: 1.5px solid currentColor;
  border-radius: 20px;
  transition: background 0.2s ease, color 0.2s ease;
}
.hcb-mega__see-all:hover {
  background: var(--accent);
  color: #fff;
}
.hcb-mega__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.hcb-mega-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  border: 1.5px solid transparent;
  transition:
    background  0.18s ease,
    border-color 0.18s ease,
    transform   0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hcb-mega-item:hover {
  background: rgba(16, 38, 26, 0.07);
  border-color: rgba(16, 38, 26, 0.2);
  transform: translateY(-2px);
}
.hcb-mega-item.is-active {
  background: rgba(16, 38, 26, 0.10);
  border-color: rgba(16, 38, 26, 0.28);
}
.hcb-mega-item__img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-alt);
  border: 1px solid rgba(230, 223, 207, 0.5);
}
.hcb-mega-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.32s ease;
}
.hcb-mega-item:hover .hcb-mega-item__img img {
  transform: scale(1.08);
}
.hcb-mega-item__text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.hcb-mega-item__text small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.3;
}

/* Hide old dropdown on desktop; hide mega on mobile */
@media (min-width: 768px) {
  .nav-menu-dropdown { display: none !important; }
}
@media (max-width: 767px) {
  .hcb-mega { display: none !important; }
}

/* ── Accessibility: Reduce Motion ────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .scroll-progress,
  .hero-orb,
  .mouse-glow { display: none !important; }

  .hero__eyebrow, .hero__title, .hero__subtitle,
  .hero__actions, .hero__badges, .hero__note {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hcb-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   SOUTH INDIA DELIVERY SECTION — dark showcase panel
   ═══════════════════════════════════════════════════════════════ */
.hcb-south-section {
  padding: 80px 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(74,114,200,0.08) 0%, transparent 60%),
    linear-gradient(180deg, #1a1d2c 0%, #161929 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Heading block */
.hcb-south-head {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}
.hcb-south-head .section__eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #D9CDB2;
}
.hcb-south-title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 0 0 14px;
  color: #fff;
}
.hcb-south-title em {
  background: linear-gradient(120deg, #dccfb4 0%, #dccfb4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 700;
}
.hcb-south-head .section__divider {
  margin: 18px auto;
  background: linear-gradient(90deg, #dccfb4, #c25151);
}
.hcb-south-lead {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
  margin: 0 auto;
  max-width: 580px;
}

/* === Map card === */
.hcb-south-map-card {
  position: relative;
  max-width: 540px;
  margin: 36px auto 24px;
  background:
    radial-gradient(circle at 75% 30%, rgba(74,114,200,0.12) 0%, transparent 55%),
    linear-gradient(160deg, #1f2333 0%, #131725 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 28px;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.05);
  padding: 22px 18px 18px;
  aspect-ratio: 600 / 700;
}
.hcb-south-truck {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(220, 207, 180,0.18);
  border: 1px solid rgba(220, 207, 180,0.36);
  color: #dccfb4;
  display: grid;
  place-items: center;
  z-index: 5;
  pointer-events: none;
}
.hcb-south-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hcb-state {
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.hcb-south-ocean-lbl-svg {
  fill: rgba(255,255,255,0.18);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.4px;
}
.hcb-pudu-lbl {
  fill: rgba(255,255,255,0.75);
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.hcb-pin { transform-box: fill-box; transform-origin: center; }
.hcb-pin-pulse {
  opacity: 0.32;
  transform-origin: center;
  animation: hcbPinPulse 2.2s ease-out infinite;
}
.hcb-pin-dot {
  stroke: rgba(255,255,255,0.85);
  stroke-width: 1.6;
}
.hcb-pin-lbl {
  fill: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  paint-order: stroke;
  stroke: rgba(15,18,30,0.85);
  stroke-width: 3px;
  stroke-linejoin: round;
}
@keyframes hcbPinPulse {
  0%   { transform: scale(0.5); opacity: 0.55; }
  70%  { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* === Stat tiles === */
.hcb-south-stats {
  max-width: 540px;
  margin: 0 auto 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hcb-south-stat {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hcb-south-stat__num {
  font-family: 'DM Sans', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.2px;
  line-height: 1.15;
}
.hcb-south-stat__lbl {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
}

/* === State list cards === */
.hcb-south-states-list {
  max-width: 540px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hcb-south-state-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background:
    linear-gradient(155deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  transition: transform 0.25s ease, background 0.25s ease;
}
.hcb-south-state-card:hover {
  background: rgba(255,255,255,0.06);
  transform: translateX(2px);
}
.hcb-south-state-card__ico {
  font-size: 24px;
  width: 38px;
  flex-shrink: 0;
  text-align: center;
  line-height: 1;
}
.hcb-south-state-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hcb-south-state-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hcb-south-state-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hcb-south-state-card__name {
  font-family: 'DM Sans', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.1px;
}
.hcb-south-state-card__cities {
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}
.hcb-south-state-card__badge {
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #4ade80;
  background: rgba(74,222,128,0.10);
  border: 1px solid rgba(74,222,128,0.25);
}

/* Legacy classes from earlier iteration — hide if anything lingers */
.hcb-south-grid, .hcb-south-copy, .hcb-south-map, .hcb-south-list, .hcb-south-foot {
  display: none !important;
}

/* Dark mode just deepens the same panel */
[data-theme="dark"] .hcb-south-section {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(74,114,200,0.10) 0%, transparent 60%),
    linear-gradient(180deg, #14172a 0%, #0e1122 100%);
}

@media (max-width: 767px) {
  .hcb-south-section { padding: 56px 0; }
  .hcb-south-head { margin-bottom: 28px; }
  .hcb-south-lead { font-size: 14.5px; }
  .hcb-south-map-card { padding: 18px 14px 14px; border-radius: 22px; }
  .hcb-south-truck { width: 34px; height: 34px; top: 12px; right: 12px; }
  .hcb-south-stats {
    gap: 8px;
    /* Nudge the row in from the screen edges so the trio reads as a centered cluster. */
    max-width: 440px;
    padding: 0 6px;
  }
  .hcb-south-stat {
    padding: 14px 12px;
    text-align: center;     /* Centre the number + label inside each tile */
    align-items: center;
  }
  .hcb-south-stat__num { font-size: 15.5px; }
  .hcb-south-stat__lbl { font-size: 10.5px; }

  .hcb-south-states-list {
    /* Narrower track on mobile so the row of icon+text+badge sits as a
       balanced, centered cluster rather than spanning edge-to-edge. */
    max-width: 440px;
    padding: 0 6px;
  }
  .hcb-south-state-card {
    padding: 12px 14px;
    gap: 12px;
    justify-content: center;
  }
  .hcb-south-state-card__ico { font-size: 22px; width: 30px; }
  .hcb-south-state-card__body {
    /* Centre the title row & cities visually inside the available space */
    align-items: center;
    text-align: center;
  }
  .hcb-south-state-card__head { justify-content: center; }
  .hcb-south-state-card__name { font-size: 14.5px; }
  .hcb-south-state-card__cities { font-size: 12px; }
  .hcb-south-state-card__badge { padding: 4px 10px; font-size: 10px; }
}

/* ═══════════════════════════════════════════════════════════════
   FAB DOCK MENU — horizontal pill, slides up from bottom
   Reference: floating dock with circular icon chips inside a pill.
   ═══════════════════════════════════════════════════════════════ */
.hcb-dock {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 130%);
  z-index: 900;
  width: calc(100% - 32px);
  max-width: 460px;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.35s ease;
}
.hcb-dock.is-open {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
.hcb-dock-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 14px;
  background: rgba(255,250,247, 0.92);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(217,205,178, 0.35);
  border-radius: 100px;
  box-shadow:
    0 20px 50px rgba(30, 42, 34, 0.25),
    0 4px 14px rgba(30, 42, 34, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.7);
}
.hcb-dock-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #112218;
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.28);
  transition: transform 0.18s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.hcb-dock-close:active { transform: scale(0.92); }
.hcb-dock-scroller {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 2px 6px 2px 2px;
  scrollbar-width: none;
  flex: 1;
}
.hcb-dock-scroller::-webkit-scrollbar { display: none; }
.hcb-dock-chip {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  scroll-snap-align: start;
  transition: transform 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.hcb-dock-chip:active { transform: scale(0.92); }
.hcb-dock-chip__img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #fbf7ee;
  border: 2px solid rgba(255,255,255,0.95);
  box-shadow: 0 3px 10px rgba(30, 42, 34,0.18);
  display: block;
}
.hcb-dock-chip__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hcb-dock-chip__lbl {
  font-family: 'DM Sans', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  color: #1e2a22;
  white-space: nowrap;
  max-width: 56px;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.1px;
}

/* Stagger chip entry */
.hcb-dock.is-open .hcb-dock-chip {
  animation: hcbDockChipIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.hcb-dock.is-open .hcb-dock-chip:nth-child(1) { animation-delay: 0.10s; }
.hcb-dock.is-open .hcb-dock-chip:nth-child(2) { animation-delay: 0.16s; }
.hcb-dock.is-open .hcb-dock-chip:nth-child(3) { animation-delay: 0.22s; }
.hcb-dock.is-open .hcb-dock-chip:nth-child(4) { animation-delay: 0.28s; }
.hcb-dock.is-open .hcb-dock-chip:nth-child(5) { animation-delay: 0.34s; }
.hcb-dock.is-open .hcb-dock-chip:nth-child(6) { animation-delay: 0.40s; }
.hcb-dock.is-open .hcb-dock-chip:nth-child(7) { animation-delay: 0.46s; }
.hcb-dock.is-open .hcb-dock-chip:nth-child(8) { animation-delay: 0.52s; }
@keyframes hcbDockChipIn {
  from { opacity: 0; transform: translateY(20px) scale(0.6); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

[data-theme="dark"] .hcb-dock-pill {
  background: rgba(34,14,24, 0.92);
  border-color: rgba(217,205,178, 0.28);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.55),
    0 4px 14px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
[data-theme="dark"] .hcb-dock-close {
  background: var(--accent);
  color: #0D1C13;
}
[data-theme="dark"] .hcb-dock-chip__lbl { color: #f1ece0; }
[data-theme="dark"] .hcb-dock-chip__img {
  border-color: rgba(255,255,255,0.15);
  background: #2f201d;
}

/* ═══════════════════════════════════════════════════════════════
   GLASSMORPHISM 3D COVER-FLOW MENU
   Full-screen overlay with morphing blob backdrop, glass cards
   arranged on a horizontal 3D curve, spring-eased transitions.
   ═══════════════════════════════════════════════════════════════ */
.hcb-glass-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(16, 38, 26,0.20), transparent 70%),
    rgba(12,5,8, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow: hidden;
}
.hcb-glass-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ── Close button (top-right) ──────────────────────────────────── */
.hcb-glass-close {
  position: absolute;
  top: 22px; right: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.14);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 20;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: transform 0.22s ease, background 0.22s ease;
  opacity: 0;
  transform: scale(0.7);
  -webkit-tap-highlight-color: transparent;
}
.hcb-glass-menu.is-open .hcb-glass-close {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.15s;
}
.hcb-glass-close:active { transform: scale(0.92); background: rgba(255,255,255,0.22); }

/* ── Heading (top-center) ──────────────────────────────────────── */
.hcb-glass-heading {
  position: absolute;
  top: 34px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  text-align: center;
  z-index: 15;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hcb-glass-menu.is-open .hcb-glass-heading {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0.2s;
}
.hcb-glass-eyebrow {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.hcb-glass-title-h {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 6px 0 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* ── Card stage ────────────────────────────────────────────────── */
.hcb-glass-stage {
  position: absolute;
  inset: 0;
  z-index: 10;
  overflow: hidden;
  pointer-events: none;
}

/* ── Individual glass card ─────────────────────────────────────── */
.hcb-glass-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 296px;
  margin: 0;
  padding: 28px 18px 22px;
  border-radius: 32px;
  background: linear-gradient(155deg,
              rgba(251, 247, 238,0.22) 0%,
              rgba(251, 247, 238,0.06) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.30);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-decoration: none;
  color: #fff;
  transform: translate(-50%, -50%);
  transition: transform 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.22s ease;
  will-change: transform, opacity;
  -webkit-tap-highlight-color: transparent;
}

.hcb-glass-card__glow {
  position: absolute;
  inset: -4px;
  border-radius: 36px;
  background: linear-gradient(135deg, #dccfb4 0%, #10261a 100%);
  z-index: -1;
  opacity: 0;
  filter: blur(18px);
  transition: opacity 0.6s ease;
}
.hcb-glass-card.is-active .hcb-glass-card__glow { opacity: 0.75; }

.hcb-glass-card__img {
  width: 120px; height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.55);
  box-shadow: 0 12px 24px rgba(0,0,0,0.38);
  background: #fbf7ee;
  display: block;
}
.hcb-glass-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hcb-glass-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
  max-width: 190px;
  letter-spacing: 0.2px;
}
.hcb-glass-card__cta {
  padding: 7px 16px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease;
}
.hcb-glass-card.is-active .hcb-glass-card__cta {
  background: #fff;
  color: #1e2a22;
  border-color: #fff;
}

/* ── Dots & swipe hint ─────────────────────────────────────────── */
.hcb-glass-dots {
  position: absolute;
  bottom: 94px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 15;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hcb-glass-menu.is-open .hcb-glass-dots {
  opacity: 1;
  transition-delay: 0.35s;
}
.hcb-glass-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.32);
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  -webkit-tap-highlight-color: transparent;
}
.hcb-glass-dot.is-active {
  background: #fff;
  width: 22px;
  border-radius: 6px;
}
.hcb-glass-hint {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
  z-index: 15;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hcb-glass-menu.is-open .hcb-glass-hint {
  opacity: 1;
  transition-delay: 0.45s;
}


/* ═══════════════════════════════════════════════════════════════
   TASTE-MATCHING CHATBOT
   Bottom-LEFT, deliberately opposite the bottom-right MENU FAB so
   the two floating buttons never overlap each other or page content.
   ═══════════════════════════════════════════════════════════════ */
#hcb-chat-wrap {
  position: fixed;
  left: 16px;
  bottom: 20px;
  z-index: 860;
}

#hcb-chat-bubble {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 18px 0 14px;
  border-radius: 100px;
  border: none;
  background: linear-gradient(135deg, var(--accent-warm) 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 6px 22px rgba(16, 38, 26,0.40), 0 2px 6px rgba(0,0,0,0.15);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
#hcb-chat-bubble:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(16, 38, 26,0.45); }
#hcb-chat-bubble:active { transform: scale(0.96); }
#hcb-chat-bubble.is-open { background: var(--ink); }
.hcb-chat-bubble__label { white-space: nowrap; }
@media (max-width: 480px) {
  #hcb-chat-bubble { padding: 0; width: 50px; justify-content: center; }
  .hcb-chat-bubble__label { display: none; }
}

#hcb-chat-panel {
  position: absolute;
  left: 0;
  bottom: 62px;
  width: min(340px, calc(100vw - 32px));
  max-height: min(480px, 70vh);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(30, 42, 34,0.25), 0 6px 18px rgba(30, 42, 34,0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  pointer-events: none;
  transform-origin: bottom left;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
#hcb-chat-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.hcb-chat-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--accent-warm) 0%, var(--accent) 100%);
  color: #fff;
}
.hcb-chat-panel__head strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 15.5px;
  font-weight: 700;
}
.hcb-chat-panel__head span {
  display: block;
  font-size: 11.5px;
  color: rgba(255,255,255,0.88);
  margin-top: 3px;
  line-height: 1.35;
}
#hcb-chat-close {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: none;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#hcb-chat-close:hover { background: rgba(255,255,255,0.3); }

#hcb-chat-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 14px 14px 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
}
.hcb-chat-msg {
  max-width: 86%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  word-wrap: break-word;
}
.hcb-chat-msg--assistant {
  align-self: flex-start;
  background: var(--bg-alt);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.hcb-chat-msg--user {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.hcb-chat-msg--thinking { background: transparent; padding: 4px 13px; }

.hcb-chat-typing { display: inline-flex; gap: 4px; }
.hcb-chat-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-soft);
  opacity: 0.5;
  animation: hcbChatTyping 1s ease-in-out infinite;
}
.hcb-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.hcb-chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes hcbChatTyping {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%      { transform: translateY(-4px); opacity: 1; }
}

.hcb-chat-suggestions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 100%;
}
.hcb-chat-suggest-card {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.hcb-chat-suggest-card:hover { border-color: var(--accent); background: var(--accent-light); }
.hcb-chat-suggest-card__name { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.hcb-chat-suggest-card__cat  { font-size: 10.5px; color: var(--ink-soft); }
.hcb-chat-suggest-card__cta  { font-size: 10.5px; font-weight: 700; color: var(--accent-dark); margin-top: 2px; }

#hcb-chat-form {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
}
#hcb-chat-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 9px 14px;
  font-size: 13px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg-alt);
}
#hcb-chat-input:focus { outline: none; border-color: var(--accent); }
#hcb-chat-send {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
#hcb-chat-send:hover { background: var(--accent-dark); }

[data-theme="dark"] #hcb-chat-input { background: #2f201d; border-color: #2A4433; }
[data-theme="dark"] .hcb-chat-suggest-card { background: #112218; border-color: #2A4433; }

@media (max-width: 480px) {
  #hcb-chat-wrap { left: 12px; bottom: 16px; }
  #hcb-chat-panel { bottom: 60px; }
}

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE PRODUCT SLIDESHOW — vertical 9:16, auto-advancing
   Stays hidden until at least one slide is uploaded via Admin Console.
   ═══════════════════════════════════════════════════════════════ */
.hcb-home-slides {
  padding: 64px 0;
  background: var(--bg-alt);
}
.hcb-home-slides__inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: center;
}
.hcb-home-slides__copy .section__eyebrow { display: block; margin-bottom: 10px; }
.hcb-home-slides__lead {
  margin: 16px 0 26px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 460px;
}

.hcb-home-slides__frame {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
.hcb-home-slides__track {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(30, 42, 34,0.28), 0 6px 16px rgba(30, 42, 34,0.14);
  background: var(--bg-deep);
}
.hcb-home-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hcb-home-slide.is-active { opacity: 1; }

.hcb-home-slides__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}
.hcb-home-slides__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.hcb-home-slides__dot.is-active {
  background: var(--accent);
  width: 20px;
  border-radius: 6px;
}

@media (max-width: 900px) {
  .hcb-home-slides__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .hcb-home-slides__copy { display: flex; flex-direction: column; align-items: center; }
  .hcb-home-slides__lead { max-width: 100%; }
  .hcb-home-slides__frame { max-width: 240px; }
}

/* ═══════════════════════════════════════════════════════════════
   DELIVERY ELIGIBILITY BADGE (product & menu pages)
   ═══════════════════════════════════════════════════════════════ */
.hcb-deliv {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}
.hcb-deliv--both {
  color: #1f7a4d;
  background: rgba(31,122,77,0.10);
  border: 1px solid rgba(31,122,77,0.25);
}
.hcb-deliv--local {
  color: #10261a;
  background: rgba(16, 38, 26,0.10);
  border: 1px solid rgba(16, 38, 26,0.25);
}
/* Per-size / per-flavour rate rows on menu cards */
.menu-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.menu-tier {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px 9px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  line-height: 1.2;
}
.menu-tier__lbl { color: var(--ink-soft); font-weight: 600; }
.menu-tier__price { color: var(--accent-dark); font-weight: 800; }
.menu-tier__note { margin: 8px 0 0; font-size: 11.5px; color: var(--ink-soft); font-style: italic; }

/* ── Brand-style "order online" block on priced menu cards ── */
.menu-card--buy { display: flex; flex-direction: column; }
.menu-buy {
  margin-top: auto;
  padding: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 5%, transparent));
}
/* Selectable size / flavour pills */
.menu-buy__pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  gap: 8px;
}
.menu-buy__pills.is-single { grid-template-columns: 1fr; }
.menu-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 9px 8px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .12s ease, box-shadow .16s ease;
}
.menu-pill:hover { border-color: var(--accent); transform: translateY(-1px); }
.menu-pill.is-active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--bg));
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 22%, transparent);
}
.menu-pill__lbl { font-family: 'DM Sans', sans-serif; font-size: 12.5px; font-weight: 700; color: var(--ink); line-height: 1.15; text-align: center; }
.menu-pill__price { font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 800; color: var(--accent-dark); }
.menu-pill.is-active .menu-pill__price { color: var(--accent-dark); }
.menu-buy__note { margin: 0; font-size: 11.5px; color: var(--ink-soft); font-style: italic; }
.menu-buy__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.menu-buy__min {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--ink-soft);
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 4px 10px;
}
.menu-buy__min.is-flash { animation: hcbMinFlash 0.6s ease; }
@keyframes hcbMinFlash {
  0%, 100% { background: var(--bg-alt); color: var(--ink-soft); transform: none; }
  20% { background: var(--accent); color: #fff; transform: scale(1.08); }
  60% { background: var(--accent); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { .menu-buy__min.is-flash { animation: none; } }
/* Quantity stepper (shared) */
.menu-atc__qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 auto;
}
.menu-atc__qbtn {
  width: 38px;
  height: 40px;
  border: none;
  background: var(--bg-alt);
  color: var(--ink);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.menu-atc__qbtn:hover { background: var(--accent); color: #fff; }
.menu-atc__qval {
  min-width: 40px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 15px;
}
/* Add-to-cart button with live line total */
.menu-buy__add {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background .16s ease, transform .12s ease, box-shadow .16s ease;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 28%, transparent);
}
.menu-buy__add:hover { background: var(--accent-dark); transform: translateY(-1px); }
.menu-buy__add:active { transform: translateY(0); }
.menu-buy__add-total {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 3px 11px;
  font-weight: 800;
}
.menu-buy__add.is-added { background: #1f9d55; box-shadow: 0 6px 18px rgba(31, 157, 85, 0.3); }

.menu-card .hcb-deliv {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  margin-top: 10px;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 8px;
  text-align: center;
  line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════════════
   LEGAL / BUSINESS FOOTER (injected on every page)
   ═══════════════════════════════════════════════════════════════ */
/* The footer background is always dark (both themes), so legal text is always
   light — do NOT use --ink/--ink-soft here (they're dark in light mode). */
.footer__legal {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(241, 236, 224,0.16);
  padding: 34px 0 10px;
  margin-top: 8px;
}
.footer__legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 26px;
}
.footer__legal-col { display: flex; flex-direction: column; gap: 5px; }
.footer__legal-col strong {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: rgba(241, 236, 224,0.95);
  margin-bottom: 4px;
}
.footer__legal-col p,
.footer__legal-col a {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(241, 236, 224,0.72);
  margin: 0;
  text-decoration: none;
}
.footer__legal-col a:hover { color: #fff; text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   INFO / DELIVERY CONTENT PAGES (shipping, delivery/pollachi)
   ═══════════════════════════════════════════════════════════════ */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin: 8px 0 30px;
}
.info-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.info-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin: 0 0 12px;
  color: var(--ink);
}
.info-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; margin: 0 0 12px; }
.info-card ul { margin: 0 0 18px; padding-left: 20px; color: var(--ink); font-size: 14.5px; line-height: 1.9; }
.info-block {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 24px;
  margin-top: 8px;
}
.info-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin: 0 0 14px;
  color: var(--ink);
}
.info-block ul { margin: 0 0 20px; padding-left: 20px; color: var(--ink); font-size: 14.5px; line-height: 1.9; }
.info-block p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; margin: 0 0 16px; }

/* ── Homepage birthday-cakes CTA ─────────────────────────────── */
.birthday-cta__card {
  background: linear-gradient(135deg, rgba(16, 38, 26,0.10), rgba(220, 207, 180,0.10));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 44px 32px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.birthday-cta__lead {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 560px;
  margin: 12px auto 22px;
}

/* ── Homepage FAQ (accordion) ────────────────────────────────── */
.hcb-faq__list {
  max-width: 760px;
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hcb-faq__item {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.hcb-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 30px 18px 0;
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.hcb-faq__item summary::-webkit-details-marker { display: none; }
.hcb-faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.25s ease;
}
.hcb-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.hcb-faq__item p {
  margin: 0;
  padding: 0 0 20px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ── Final "Craving something sweet?" CTA band ───────────────── */
.hcb-final-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 60px 0;
  text-align: center;
}
.hcb-final-cta__inner { max-width: 640px; }
.hcb-final-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 4vw, 38px);
  color: #fff;
  margin: 0 0 10px;
}
.hcb-final-cta p {
  color: rgba(255,255,255,0.9);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.hcb-final-cta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hcb-final-cta .btn--primary {
  background: #fff;
  color: var(--accent-dark);
  border-color: #fff;
}
.hcb-final-cta .btn--primary:hover { background: #fbf7ee; }

/* ── "How it works" steps ────────────────────────────────────── */
.hcb-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 900px;
  margin: 30px auto 0;
}
.hcb-step {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.hcb-step__num {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-warm), var(--accent));
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 14px;
}
.hcb-step h3 { font-family: 'Playfair Display', serif; font-size: 18px; margin: 0 0 8px; color: var(--ink); }
.hcb-step p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; margin: 0; }
@media (max-width: 720px) { .hcb-steps { grid-template-columns: 1fr; gap: 14px; } }

/* ── Liquid-glass bottom navigation (mobile only) ────────────── */
.hcb-bottomnav { display: none; }
@media (max-width: 767px) {
  .hcb-bottomnav {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    position: fixed;
    left: 10px; right: 10px; bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 946;
    padding: 8px 4px;
    border-radius: 22px;
    background: rgba(255,249,246,0.62);
    -webkit-backdrop-filter: blur(26px) saturate(180%);
    backdrop-filter: blur(26px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.55);
    box-shadow: 0 10px 34px rgba(30, 42, 34,0.20), inset 0 1px 0 rgba(255,255,255,0.6);
  }
  .hcb-bottomnav .hcb-bn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: var(--ink-soft);
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 600;
    padding: 5px 0 3px;
    border-radius: 14px;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease, background 0.2s ease;
  }
  .hcb-bottomnav .hcb-bn svg { width: 22px; height: 22px; }
  .hcb-bottomnav .hcb-bn.is-active { color: var(--accent-dark); background: rgba(16, 38, 26,0.12); }
  .hcb-bottomnav .hcb-bn.is-active svg { stroke: var(--accent); }
  .hcb-bn__cart { position: relative; display: inline-flex; }
  .hcb-bn__badge {
    position: absolute;
    top: -5px; right: -8px;
    min-width: 15px; height: 15px;
    padding: 0 3px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 15px;
    text-align: center;
  }

  /* Remove the old top hamburger nav + homepage FAB on mobile */
  .nav-toggle { display: none !important; }
  .nav { display: none !important; }
  #hcb-mob-fab-wrap, #hcb-mob-arc-backdrop { display: none !important; }

  /* Keep content & chatbot clear of the bottom bar */
  body.has-bottomnav { padding-bottom: 76px; }
  body.has-bottomnav #hcb-chat-wrap { bottom: 88px; }
}
[data-theme="dark"] .hcb-bottomnav {
  background: rgba(32,13,22,0.62);
  border-color: rgba(255,255,255,0.10);
}

/* ── "You may also like" related products (product pages) ────── */
.related-products { border-top: 1px solid var(--border); padding-top: 40px; margin-top: 24px; }
.related-products__grid { max-width: 900px; margin: 24px auto 0; }

/* Anchor links land below the sticky header instead of under it */
html { scroll-padding-top: 78px; }
section[id], [id].section { scroll-margin-top: 78px; }

/* ── Birthday & Party cakes page ─────────────────────────────── */
.hcb-bday-slides { max-width: 620px; margin: 8px auto 30px; }
.hcb-bday-slides__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-alt);
}
.hcb-bday-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hcb-bday-slide.is-active { opacity: 1; }
.hcb-bday-slides__dots {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
}
.hcb-bday-slides__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.hcb-bday-slides__dot.is-active { background: #fff; width: 20px; border-radius: 6px; }

.hcb-bday-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 8px 0 26px;
}
@media (max-width: 640px) { .hcb-bday-cats { grid-template-columns: 1fr; } }
.hcb-bday-cat {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.hcb-bday-cat__emoji { font-size: 34px; display: block; margin-bottom: 8px; }
.hcb-bday-cat h2 { font-family: 'Playfair Display', serif; font-size: 21px; margin: 0 0 8px; color: var(--ink); }
.hcb-bday-cat p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; margin: 0; }

.hcb-bday-note {
  background: linear-gradient(135deg, rgba(16, 38, 26,0.08), rgba(220, 207, 180,0.08));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.hcb-bday-note p { color: var(--ink); font-size: 15px; line-height: 1.6; margin: 0 0 18px; }
