/* ============================================
   Spice Haus — Bhuna Gosht by Kilo
   Brand palette: teal + cream + brass
   ============================================ */

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.75rem, 1.5rem + 4vw, 5rem);
  --text-hero: clamp(2.75rem, 1rem + 6vw, 6rem);

  /* Spacing (4px base) */
  --space-1: .25rem;  --space-2: .5rem;  --space-3: .75rem;
  --space-4: 1rem;    --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem;    --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem;   --space-20: 5rem;  --space-24: 6rem;
  --space-32: 8rem;

  /* Brand colors (from real logo) */
  --teal-900: #1F4341;
  --teal-800: #284f4d;
  --teal-700: #2D5F5D;   /* primary brand */
  --teal-600: #3a7472;
  --teal-500: #538b89;

  --cream-50:  #FAF6EE;   /* paper */
  --cream-100: #F2EBDB;
  --cream-200: #E6DCC4;
  --cream-300: #d4c6a7;

  --brass-500: #C99A4B;   /* accent */
  --brass-600: #b3863a;
  --brass-700: #8e6926;

  --maroon-700: #6E2A1C;  /* deep meat-sauce */

  --wa-green: #25D366;
  --wa-green-dark: #1ebd5a;

  --ink-900: #16201f;
  --ink-700: #2a3937;
  --ink-500: #5a6d6b;
  --ink-300: #98a8a6;

  /* Surfaces (default = teal page) */
  --color-bg: var(--teal-700);
  --color-surface: var(--teal-800);
  --color-surface-2: var(--teal-900);
  --color-text: var(--cream-50);
  --color-text-muted: rgba(250,246,238,0.72);
  --color-text-faint: rgba(250,246,238,0.5);
  --color-border: rgba(250,246,238,0.18);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition: 220ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 2px 8px rgba(0,0,0,.18);
  --shadow-md: 0 12px 36px rgba(0,0,0,.28);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.36);

  --content-narrow: 640px;
  --content-default: 1120px;
  --content-wide: 1400px;

  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* Cream section surface */
.surface-cream {
  --color-bg: var(--cream-50);
  --color-surface: #fff;
  --color-text: var(--ink-900);
  --color-text-muted: var(--ink-500);
  --color-text-faint: var(--ink-300);
  --color-border: rgba(45, 95, 93, 0.18);
  background: var(--cream-50);
  color: var(--ink-900);
}

/* ============================================
   Reset
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background: var(--teal-700);
}
body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--cream-50);
  background: var(--teal-700);
  overflow-x: hidden;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; background: none; border: none; color: inherit; font: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  text-wrap: balance;
  letter-spacing: -0.015em;
}

p { text-wrap: pretty; max-width: 62ch; }

::selection { background: var(--brass-500); color: var(--ink-900); }

:focus-visible {
  outline: 2px solid var(--brass-500);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

a, button, [role="button"], input, textarea, select {
  transition: color var(--transition),
              background var(--transition),
              border-color var(--transition),
              transform var(--transition),
              box-shadow var(--transition);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   Utilities
   ============================================ */
.container {
  width: 100%;
  max-width: var(--content-default);
  margin: 0 auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-16));
}
.container--wide { max-width: var(--content-wide); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-500);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--brass-500);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  border: 2px solid var(--brass-500);
  white-space: nowrap;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(201, 154, 75, 0.18);
  transition: all 200ms ease;
}
.btn-wa {
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(201, 154, 75, 0.18), 0 10px 24px rgba(37, 211, 102, 0.32);
}
.btn-wa:hover {
  background: var(--wa-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(201, 154, 75, 0.25), 0 16px 32px rgba(37, 211, 102, 0.4);
  border-color: var(--brass-600);
}

.btn-primary {
  background: var(--brass-500);
  color: var(--ink-900);
  border-color: var(--brass-600);
}
.btn-primary:hover {
  background: var(--brass-600);
  color: #fff;
  transform: translateY(-2px);
  border-color: var(--brass-500);
}

.btn-ghost {
  background: transparent;
  border-color: var(--brass-500);
  color: inherit;
  opacity: 0.9;
}
.btn-ghost:hover { opacity: 1; border-color: var(--brass-600); }

.btn-lg { padding: var(--space-5) var(--space-8); font-size: var(--text-base); }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: var(--space-4);
  background: rgba(45, 95, 93, 0.4);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: padding .3s ease, background .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  padding-block: var(--space-3);
  background: rgba(31, 67, 65, 0.95);
  border-bottom-color: var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream-50);
  text-decoration: none;
}
.brand-mark {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  padding: 2px 0 4px;
}
.brand-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  line-height: 1;
}
.brand-name {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--cream-50);
  line-height: 1;
}
.brand-tag {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-500);
  font-weight: 700;
  line-height: 1;
}
@media (max-width: 640px) {
  .brand { gap: 10px; }
  .brand-mark { height: 36px; padding: 2px 0 3px; }
  .brand-name { font-size: 19px; }
  .brand-tag { font-size: 9px; letter-spacing: 0.22em; }
}

.nav-links {
  display: flex;
  gap: var(--space-8);
  align-items: center;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(250,246,238,0.78);
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--cream-50); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--brass-500);
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 880px) {
  .nav-links, .nav .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--teal-900);
    padding: var(--space-6);
    gap: var(--space-5);
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
  }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  padding-top: 100px;
  padding-bottom: var(--space-16);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(201, 154, 75, 0.18), transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(110, 42, 28, 0.22), transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-left: clamp(var(--space-5), 5vw, var(--space-16));
  max-width: 640px;
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: 0.98;
  margin-block: var(--space-5) var(--space-5);
}
.hero h1 em {
  font-style: italic;
  color: var(--brass-500);
  font-weight: 400;
}

.hero-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 54ch;
  margin-bottom: var(--space-8);
}

.hero-meta {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.hero-meta .stat .label {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--brass-500);
  display: block;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}
.hero-meta .stat .num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-top: var(--space-2);
  display: block;
}
.hero-meta .stat .num small {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-faint);
  letter-spacing: 0.18em;
  margin-left: 2px;
  text-transform: uppercase;
}

.hero-ctas { display: flex; gap: var(--space-3); flex-wrap: wrap; }

.hero-media {
  position: relative;
  z-index: 2;
  padding-right: clamp(var(--space-5), 5vw, var(--space-16));
}
.hero-video {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: var(--teal-900);
}
.hero-video video, .hero-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(31, 67, 65, 0.5) 100%);
  pointer-events: none;
}

.hero-price-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--cream-50);
  color: var(--teal-900);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  box-shadow: var(--shadow-md);
  z-index: 3;
}
.hero-price-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brass-500); }

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 120px;
    min-height: auto;
  }
  .hero-content, .hero-media { padding-inline: clamp(var(--space-5), 5vw, var(--space-10)); }
  .hero-video { aspect-ratio: 3/4; }
}

/* ============================================
   Sections
   ============================================ */
section { padding-block: clamp(var(--space-16), 10vw, var(--space-32)); position: relative; }

.section-header { margin-bottom: var(--space-12); max-width: 640px; }
.section-header h2 {
  font-size: var(--text-2xl);
  margin-block: var(--space-4) var(--space-5);
  letter-spacing: -0.02em;
}
.section-intro {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 56ch;
}

/* ============================================
   The Dish
   ============================================ */
.dish-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: start;
}

.dish-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--teal-700);
}
.dish-image img { width: 100%; height: 100%; object-fit: cover; }

.dish-points {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-8);
}
.dish-point {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}
.dish-point:last-child { border-bottom: none; }
.dish-point .icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(201, 154, 75, 0.15);
  color: var(--brass-500);
}
.dish-point .icon svg { width: 22px; height: 22px; }
.dish-point h4 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-text);
}
.dish-point p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 880px) {
  .dish-grid { grid-template-columns: 1fr; }
  .dish-image { aspect-ratio: 4/3; }
}

/* ============================================
   How it works
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}
.step {
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: rgba(31, 67, 65, 0.45);
  border: 1px solid var(--color-border);
  position: relative;
}
.surface-cream .step {
  background: #fff;
  border-color: rgba(45,95,93,0.12);
  box-shadow: var(--shadow-sm);
}
.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--brass-500);
  font-style: italic;
  margin-bottom: var(--space-4);
}
.step h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.step p { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; }

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

/* ============================================
   About
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}
.about-text p { color: var(--color-text-muted); margin-bottom: var(--space-4); }
.about-text p strong { color: var(--color-text); font-weight: 600; }
.about-card {
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--teal-800);
  color: var(--cream-50);
  border: 1px solid var(--teal-600);
}
.about-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--brass-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.about-card-list { display: grid; gap: var(--space-4); margin-top: var(--space-4); }
.about-card-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--space-4);
  padding-block: var(--space-2);
  border-bottom: 1px dashed rgba(250,246,238,0.15);
  font-size: var(--text-sm);
}
.about-card-item:last-child { border-bottom: none; }
.about-card-item .key { color: rgba(250,246,238,0.65); letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; font-weight: 600; align-self: center; }
.about-card-item .val { color: var(--cream-50); font-weight: 500; }

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

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  margin-top: var(--space-10);
  border-top: 1px solid var(--color-border);
}
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  font-weight: 500;
}
.faq-q .ico {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(201, 154, 75, 0.18);
  color: var(--brass-500);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-a { max-height: 1200px; }
.faq-a-inner {
  padding-bottom: var(--space-6);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 64ch;
}
.faq-a-inner p { margin: 0 0 var(--space-4) 0; }

/* Supplier card (Meat One inside FAQ) */
.supplier-card {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  padding: 12px 20px 12px 12px;
  margin-top: var(--space-3);
  background: rgba(250, 246, 238, 0.05);
  border: 1px solid rgba(250, 246, 238, 0.12);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
  max-width: 100%;
}
.supplier-card:hover {
  background: rgba(250, 246, 238, 0.09);
  border-color: rgba(201, 154, 75, 0.5);
  transform: translateY(-1px);
}
.supplier-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
}
.supplier-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
  min-width: 0;
}
.supplier-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-500, #C99A4B);
}
.supplier-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--cream-50, #FAF6EE);
}
@media (max-width: 480px) {
  .supplier-card { padding: 10px 16px 10px 10px; gap: 12px; }
  .supplier-card img { width: 48px; height: 48px; }
  .supplier-card-name { font-size: 13px; }
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding-block: var(--space-16) var(--space-8);
  background: var(--teal-900);
  border-top: 1px solid var(--color-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-500);
  margin-bottom: var(--space-5);
}
.footer p, .footer li, .footer a { font-size: var(--text-sm); color: rgba(250,246,238,0.72); }
.footer li { margin-bottom: var(--space-2); }
.footer a:hover { color: var(--cream-50); }
.footer-brand { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); color: var(--cream-50); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  font-size: 12px;
  color: rgba(250,246,238,0.4);
  letter-spacing: 0.04em;
}
.footer-socials { display: flex; gap: var(--space-3); }
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(250,246,238,0.72);
}
.footer-socials a:hover { color: var(--brass-500); border-color: var(--brass-500); transform: translateY(-2px); }
.footer-socials svg { width: 18px; height: 18px; }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* ============================================
   Floating WhatsApp
   ============================================ */
.fab-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 80;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  display: inline-flex;
  align-items: center; justify-content: center;
  border: 2px solid var(--brass-500);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.45);
  transition: all 200ms ease;
}
.fab-wa:hover { transform: translateY(-3px) scale(1.05); background: var(--wa-green-dark); }
.fab-wa svg { width: 30px; height: 30px; }

/* ============================================
   ORDER MODAL
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: rgba(15, 30, 29, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal.open { display: flex; }
.modal-dialog {
  background: var(--cream-50);
  color: var(--ink-900);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalIn 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.modal-head {
  padding: var(--space-6) var(--space-8) var(--space-4);
  border-bottom: 1px solid rgba(45,95,93,0.12);
  position: sticky;
  top: 0;
  background: var(--cream-50);
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}
.modal-head h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--teal-700);
  margin-bottom: 4px;
}
.modal-head p { font-size: var(--text-sm); color: var(--ink-500); margin: 0; }

/* Reserve horizontal space for the charity seal so the title/subtitle
   never crash into it on desktop. The seal lives ~110px wide + ~64px from
   the right edge of the modal, so we cap the title block at ~60% width. */
.modal-head > div:first-child {
  flex: 1 1 auto;
  max-width: calc(100% - 220px);
}
@media (max-width: 720px) {
  .modal-head > div:first-child { max-width: calc(100% - 170px); }
}
@media (max-width: 480px) {
  .modal-head > div:first-child { max-width: 100%; }
}

.modal-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-700);
  flex-shrink: 0;
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(250,246,238,0.85);
  z-index: 3;
}
.modal-close:hover { background: rgba(45,95,93,0.08); }

.modal-body { padding: var(--space-6) var(--space-8); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4) var(--space-4);
}
.form-field { display: grid; gap: var(--space-2); }
.form-field[hidden], [hidden] { display: none !important; }
.form-field.full { grid-column: 1 / -1; }
.form-field.half { grid-column: span 1; }
.form-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-700);
}
.form-field label .req { color: var(--maroon-700); }
.form-field input, .form-field select, .form-field textarea {
  background: #fff;
  border: 1.5px solid rgba(45,95,93,0.18);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--ink-900);
  font-family: var(--font-body);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--teal-700);
  box-shadow: 0 0 0 3px rgba(45, 95, 93, 0.15);
}
.form-field textarea { resize: vertical; min-height: 84px; }
.form-help {
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 2px;
}

/* Pre-fill hint (returning customer) */
.prefill-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 6px 10px;
  background: rgba(45, 95, 93, 0.08);
  border: 1px solid rgba(201, 154, 75, 0.45);
  border-radius: 999px;
  color: var(--teal-700, #1F4F4D);
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
  max-width: 100%;
}
.prefill-hint svg { color: var(--brass-500); flex-shrink: 0; }

/* Phone input with inline spinner */
.input-with-spinner { position: relative; }
.input-with-spinner input { padding-right: 42px; }
.input-spinner {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid rgba(45,95,93,0.18);
  border-top-color: var(--brass-500, #C99A4B);
  border-radius: 50%;
  animation: phone-spin 0.7s linear infinite;
  pointer-events: none;
}
.input-spinner[hidden] { display: none; }
@keyframes phone-spin { to { transform: translateY(-50%) rotate(360deg); } }

/* delivery toggle */
.toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  background: rgba(45,95,93,0.06);
  padding: 4px;
  border-radius: var(--radius-md);
}
.toggle-group input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-group label {
  text-align: center;
  padding: var(--space-3);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ink-700);
  letter-spacing: 0;
  text-transform: none;
}
.toggle-group input:checked + label {
  background: var(--teal-700);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* order summary */
.order-summary {
  margin-top: var(--space-6);
  padding: var(--space-5) var(--space-6);
  background: var(--teal-700);
  color: var(--cream-50);
  border-radius: var(--radius-md);
}
.order-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  padding-block: 4px;
}
.order-summary-row.total {
  border-top: 1px dashed rgba(250,246,238,0.3);
  margin-top: var(--space-2);
  padding-top: var(--space-3);
  font-size: var(--text-lg);
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--brass-500);
}

.modal-foot {
  padding: var(--space-4) var(--space-8) var(--space-6);
  display: flex;
  gap: var(--space-3);
  flex-direction: column;
}
.modal-foot .btn { width: 100%; }
.modal-foot .small {
  font-size: 11px;
  color: var(--ink-500);
  text-align: center;
  letter-spacing: 0.04em;
}

.form-error {
  display: none;
  background: #fff;
  border: 1px solid rgba(110, 42, 28, 0.3);
  color: var(--maroon-700);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
}
.form-error.show { display: block; }

.btn-loading {
  pointer-events: none;
  opacity: 0.85;
}
.btn-loading .btn-label { opacity: 0; }
.btn-loading::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn-wa { position: relative; }
@keyframes spin { to { transform: rotate(360deg); } }

/* reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================
   MOBILE — modal & form responsiveness
   ============================================ */
@media (max-width: 640px) {
  .modal { padding: var(--space-3); align-items: flex-start; padding-top: var(--space-6); }
  .modal-dialog { max-height: 94vh; }
  .modal-head { padding: var(--space-5) var(--space-5) var(--space-4); }
  .modal-body { padding: var(--space-5); }
  .modal-foot { padding: var(--space-4) var(--space-5) var(--space-5); }
  .form-grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .form-field.full { grid-column: auto; }
  .toggle-group label { padding: var(--space-3) var(--space-2); font-size: var(--text-sm); }
}

/* ============================================
   CHARITY SEAL & NOTE — 10% to those in need
   ============================================ */
.modal-head { position: relative; }

.charity-seal {
  position: absolute;
  top: 50%;
  right: 64px;            /* leave room for the close button */
  transform: translateY(-50%);
  width: 130px;
  height: 130px;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(201,154,75,0.25));
}
.charity-seal svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.charity-seal .seal-ring {
  animation: charity-spin 28s linear infinite;
  transform-origin: 50% 50%;
}
.charity-seal .seal-center { animation: none; }

@keyframes charity-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .charity-seal .seal-ring { animation: none; }
}

.charity-note {
  margin-top: var(--space-3, 12px);
  padding: var(--space-3, 12px) var(--space-4, 16px);
  border-radius: 12px;
  /* Stronger contrast for placement inside the dark teal order summary */
  background: rgba(201, 154, 75, 0.18);
  border: 1px solid rgba(201, 154, 75, 0.55);
  color: var(--cream-50, #FAF6EE);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.45;
}
.charity-note svg {
  color: var(--brass, #C99A4B);
  flex-shrink: 0;
  margin-top: 2px;
}
.charity-note .charity-hands {
  width: 34px;
  height: 34px;
  margin-top: 0;
}
.charity-note strong { color: var(--brass, #C99A4B); font-weight: 700; }
.charity-note em { font-style: italic; opacity: 0.9; color: var(--cream-50, #FAF6EE); }

@media (max-width: 720px) {
  .charity-seal {
    width: 92px;
    height: 92px;
    right: 56px;
  }
}
@media (max-width: 480px) {
  .charity-seal {
    /* Stay anchored top-right on mobile, smaller, so the title sits beside it */
    position: absolute;
    top: 14px;
    right: 54px;
    transform: none;
    margin: 0;
    width: 72px;
    height: 72px;
  }
  .modal-head {
    /* keep flex row so title aligns; reserve right-side room for seal+close */
    flex-direction: row;
    align-items: flex-start;
    padding-right: 140px;
  }
  .modal-head > div:first-child {
    max-width: 100%;
  }
  .modal-head h3 { font-size: 1.05rem; line-height: 1.25; }
  .modal-head p  { font-size: 0.8rem; }
}

/* ----- Cookie consent banner ----- */
.sh-cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 9999;
  background: var(--teal-dark, #2D5F5D);
  color: var(--cream-50, #FAF6EE);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  font-size: 0.92rem;
  line-height: 1.45;
}
.sh-cookie-banner[hidden] { display: none !important; }
.sh-cookie-text { margin: 0; flex: 1 1 280px; }
.sh-cookie-text a {
  color: var(--brass-500, #C99A4B);
  text-decoration: underline;
  margin-left: 4px;
}
.sh-cookie-actions {
  display: flex; gap: 8px; flex: 0 0 auto;
  margin-left: auto;
}
.sh-cookie-btn {
  font: inherit;
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 120ms, color 120ms;
}
.sh-cookie-btn.primary {
  background: var(--brass-500, #C99A4B);
  color: #1a1a1a;
}
.sh-cookie-btn.primary:hover { background: #d6a85a; }
.sh-cookie-btn.ghost {
  background: transparent;
  color: var(--cream-50, #FAF6EE);
  border-color: rgba(250,246,238,0.4);
}
.sh-cookie-btn.ghost:hover { background: rgba(250,246,238,0.08); }
@media (max-width: 600px) {
  .sh-cookie-banner { flex-direction: column; align-items: stretch; padding: 14px; }
  .sh-cookie-actions { margin-left: 0; justify-content: flex-end; }
}
