/* VanDough Bakery Design System - Warm, inviting Dutch bakery theme */

/* CSS Variables */
:root {
  /* Core Colors - Warm bakery palette */
  --background: hsl(45, 65%, 96%);
  --foreground: hsl(25, 40%, 15%);

  --card: hsl(45, 70%, 98%);
  --card-foreground: hsl(25, 40%, 15%);

  --popover: hsl(45, 70%, 98%);
  --popover-foreground: hsl(25, 40%, 15%);

  /* Primary - Logo brown */
  --primary: hsl(25, 60%, 35%);
  --primary-foreground: hsl(45, 50%, 95%);

  /* Secondary - Cream tones */
  --secondary: hsl(45, 45%, 88%);
  --secondary-foreground: hsl(25, 40%, 20%);

  /* Muted - Soft neutrals */
  --muted: hsl(45, 35%, 92%);
  --muted-foreground: hsl(25, 25%, 35%);

  /* Accent - Apple red */
  --accent: hsl(5, 75%, 55%);
  --accent-foreground: hsl(45, 90%, 95%);

  /* VanDough logo colors */
  --apple-red: hsl(5, 75%, 55%);
  --cinnamon: hsl(25, 60%, 35%);
  --golden-crust: hsl(45, 85%, 65%);
  --warm-cream: hsl(45, 50%, 95%);
  --dutch-orange: hsl(20, 70%, 50%);
  --logo-rust: hsl(20, 70%, 50%);
  --logo-cream: hsl(45, 50%, 95%);
  --whatsapp: #0d7a6e;
  --whatsapp-dark: #075E54;
  --whatsapp-foreground: #ffffff;
  --instagram: #E1306C;
  --instagram-dark: #C13584;
  --instagram-foreground: #ffffff;
  --instagram-gradient: linear-gradient(45deg,#F58529,#DD2A7B,#8134AF,#515BD4);
  --instagram-gradient-hover: linear-gradient(45deg,#F2701A,#CC2470,#6D2797,#3F49C7);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, var(--cinnamon), var(--golden-crust));
  --gradient-card: linear-gradient(180deg, var(--warm-cream), var(--card));
  --gradient-accent: linear-gradient(135deg, var(--cinnamon), var(--golden-crust));

  /* Shadows — one warm light source (hsl(25,60%,*)) across the whole scale.
     shadow-card/shadow-warm keep their original names since they're
     referenced widely; shadow-1/shadow-4 fill in the subtle and deep ends. */
  --shadow-1: 0 2px 8px -2px hsl(25, 60%, 25%, 0.12);
  --shadow-card: 0 4px 20px -4px hsl(25, 60%, 35%, 0.15);
  --shadow-warm: 0 10px 30px -10px hsl(25, 60%, 35%, 0.3);
  --shadow-4: 0 20px 50px -12px hsl(25, 60%, 20%, 0.35);
  --shadow-glow: 0 0 40px hsl(45, 85%, 65%, 0.4);

  /* Motion system — one set of curves/durations used everywhere instead of
     ad hoc per-component values. ease-out is used for anything entering or
     lifting (never ease-in on entrances); ease-standard for simple state
     changes (color/background swaps). */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 160ms;
  --duration-base: 280ms;
  --duration-slow: 450ms;

  --destructive: hsl(0, 84.2%, 60.2%);
  --destructive-foreground: hsl(210, 40%, 98%);

  --border: hsl(45, 30%, 85%);
  --input: hsl(45, 35%, 90%);
  --ring: hsl(25, 60%, 35%);

  --radius: 0.75rem;

  /* Warm display serif for headings — pairs with the hand-drawn logo mark.
     Body copy stays on Inter for readability; Georgia is a close-enough
     fallback so pages that don't load Fraunces (legal pages) still get a
     serif heading instead of silently falling back to sans. */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
}


/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

/* Media defaults for images and anchors */
img, picture {
  max-width: 100%;
  display: block;
}
img { height: auto; }

/* Offset for sticky header with hash links */
[id] { scroll-margin-top: 6rem; }

/* Accessible skip link — transform instead of `top` so the reveal is
   compositor-only, not a layout-triggering animation. */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--golden-crust);
  color: var(--foreground);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  z-index: 1000;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform var(--duration-base) var(--ease-out);
}
.skip-link:focus { transform: translateY(0.5rem); }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: 3rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 { font-size: 2.5rem; letter-spacing: -0.015em; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

em { font-family: var(--font-display); font-style: italic; color: var(--cinnamon); }
strong { font-weight: 600; color: var(--cinnamon); }
strong.dutch-orange { color: var(--dutch-orange); }

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .animate-float,
  .animate-pulse { animation: none !important; }
}

/* ─── Touch-safe hover scoping ────────────────────────────────────────────────
   Card lift, image zoom, and the WhatsApp float's hover state are gated to
   devices that actually support a persistent pointer (mouse/trackpad).
   Without this, tapping any of these on a touch device can leave the
   element visually "stuck" hovered/zoomed until the next unrelated tap.
   Base classes still declare their resting transition (see each component's
   own block above); only the :hover *values* live here. */
@media (hover: hover) and (pointer: fine) {
  .value-card:hover { box-shadow: var(--shadow-warm); transform: translateY(-4px); }
  .product-card:hover { box-shadow: var(--shadow-warm); transform: translateY(-4px); }
  .product-card:hover .product-image { transform: scale(1.05); }
  .contact-card:hover { box-shadow: var(--shadow-warm); transform: translateY(-4px); }
  .social-card:hover { box-shadow: var(--shadow-warm); transform: translateY(-4px); }
  .review-card:hover { box-shadow: var(--shadow-warm); transform: translateY(-2px); }
  .wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.55); }
}

/* Touch equivalent: a brief press-down instead of a lift, since these
   devices never receive the :hover state above. */
@media (hover: none) {
  .value-card:active,
  .product-card:active,
  .contact-card:active,
  .social-card:active,
  .review-card:active {
    box-shadow: var(--shadow-warm);
    transform: scale(0.98);
    transition-duration: var(--duration-fast);
  }
  .product-card:active .product-image { transform: scale(1.03); }
  .wa-float:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(37,211,102,0.4);
  }
}

/* Button Base Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-standard);
  text-decoration: none;
  outline: none;
  position: relative;
}
.btn:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.btn:disabled { pointer-events: none; opacity: 0.5; }

/* Focus rings for every remaining interactive element (previously several of
   these had no visible focus indicator at all, or relied on a JS focusin/
   focusout hack that couldn't distinguish keyboard from mouse focus).
   var(--ring) reads on light surfaces; the dark header/footer get the
   golden-crust variant instead so the ring stays visible. */
.cart-close:focus-visible,
.cart-item-remove:focus-visible,
.qty-btn:focus-visible,
.order-modal-close:focus-visible,
.wa-float:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
.mobile-menu-btn:focus-visible,
.lang-btn:focus-visible,
.nav-link:focus-visible,
.footer-link:focus-visible,
.footer-link-btn:focus-visible {
  outline: 2px solid var(--golden-crust);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Button Variants */
.btn-default { background-color: var(--primary); color: var(--primary-foreground); }
.btn-default:hover { background-color: var(--primary); opacity: 0.9; }

.btn-outline { border: 1px solid var(--border); background-color: var(--background); color: var(--foreground); }
.btn-outline:hover { background-color: var(--accent); color: var(--accent-foreground); }

/* Ghost buttons sit on light surfaces everywhere they are used (cart panel #fff,
   cookie banner --card), so the foreground must be the dark text colour. It was
   --primary-foreground (near-white), which rendered at ~1.06 contrast — invisible.
   The Instagram icon button also carries .btn-ghost but .instagram-btn is defined
   later and overrides the colour, so it is unaffected. */
.btn-ghost { background-color: transparent; color: var(--foreground); }
.btn-ghost:hover { background-color: var(--accent); color: var(--accent-foreground); }

/* Gradient + inset top sheen give filled buttons a "baked" look instead of a
   flat fill. background-color stays as a fallback/base so brand-color
   overrides below only need to blank background-image, not re-derive a flat
   color. */
.btn-warm {
  background-color: var(--golden-crust);
  background-image: linear-gradient(180deg, hsl(45, 90%, 76%) 0%, var(--golden-crust) 100%);
  color: var(--foreground);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-warm:hover { background-image: linear-gradient(180deg, hsl(45, 90%, 80%) 0%, hsl(45, 85%, 58%) 100%); }

/* Gradient never goes lighter than the base --dutch-orange (only darker
   toward the bottom) — white text on the base color alone is already a
   marginal ~3.7:1, so the sheen must not push it lower. font-weight 700
   (vs. the 600 used elsewhere) is the other lever available without
   touching the brand color itself. */
.btn-order {
  background-color: var(--dutch-orange);
  background-image: linear-gradient(180deg, var(--dutch-orange) 0%, hsl(20, 75%, 42%) 100%);
  color: white;
  box-shadow: var(--shadow-warm), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  font-weight: 700;
}
.btn-order:hover { background-image: linear-gradient(180deg, hsl(20, 72%, 46%) 0%, hsl(20, 75%, 38%) 100%); }

/* WhatsApp brand button overrides */
.whatsapp-btn,
.contact-whatsapp {
  background-color: var(--whatsapp);
  background-image: none;
  color: var(--whatsapp-foreground);
  border-color: var(--whatsapp);
}
.whatsapp-btn:hover,
.contact-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  background-image: none;
  color: var(--whatsapp-foreground);
}

/* Force outline variant to WhatsApp brand */
.btn-outline.social-whatsapp {
  background-color: var(--whatsapp);
  color: var(--whatsapp-foreground);
  border-color: var(--whatsapp);
}
.btn-outline.social-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  color: var(--whatsapp-foreground);
}

/* Ensure SVG icons inside WhatsApp buttons inherit the correct color */
.whatsapp-btn .icon,
.contact-whatsapp .icon,
.social-whatsapp .icon {
  color: currentColor;
}

/* Instagram brand button overrides */
  .instagram-btn,
  .contact-instagram {
    background: var(--instagram-gradient);
    color: var(--instagram-foreground);
    border-color: transparent;
    box-shadow: var(--shadow-card);
  }
  .instagram-btn:hover,
  .contact-instagram:hover {
    background: var(--instagram-gradient-hover);
    color: var(--instagram-foreground);
  }

/* Force outline variant to Instagram brand */
  .btn-outline.social-instagram {
    background: var(--instagram-gradient);
    color: var(--instagram-foreground);
    border-color: transparent;
    box-shadow: var(--shadow-card);
  }
  .btn-outline.social-instagram:hover {
    background: var(--instagram-gradient-hover);
    color: var(--instagram-foreground);
  }

/* Ensure SVG icons inside Instagram buttons inherit the correct color */
.instagram-btn .icon,
.contact-instagram .icon,
.social-instagram .icon {
  color: currentColor;
}

/* Button Sizes */
.btn-sm { height: 2.25rem; padding: 0 0.75rem; border-radius: calc(var(--radius) - 2px); }
.btn-lg { height: 2.75rem; padding: 0 2rem; border-radius: calc(var(--radius) - 2px); }
.btn-xl { height: 3.5rem; padding: 0 2.5rem; font-size: 1.125rem; border-radius: calc(var(--radius) + 2px); }
.btn-icon { height: 2.5rem; width: 2.5rem; padding: 0; }

/* Icons */
.icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.heart-icon { width: 1rem; height: 1rem; color: var(--apple-red); }

/* Header */
.header {
  background: var(--gradient-hero);
  box-shadow: var(--shadow-warm);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow var(--duration-base) var(--ease-standard);
}
/* JS toggles this once the page scrolls past the hero. Only box-shadow
   (paint) and the logo's transform (compositor) change here — deliberately
   not padding/height, which would force a layout reflow on every scroll
   threshold crossing. The header's box size stays constant; the "shrink" is
   a purely visual scale-down of the logo plus a deeper shadow. */
.header.scrolled { box-shadow: var(--shadow-4); }
.header-content { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.logo-section { display: flex; align-items: center; gap: 0.75rem; }
.logo { height: 3rem; width: auto; transform-origin: left center; transition: transform var(--duration-base) var(--ease-standard); }
.header.scrolled .logo { transform: scale(0.85); }
.navigation { display: none; align-items: center; gap: 2rem; }
.nav-link { position: relative; color: var(--primary-foreground); text-decoration: none; transition: color var(--duration-base) var(--ease-standard); }
.nav-link:hover { color: var(--golden-crust); }
/* Scroll-spy sets this via IntersectionObserver in script.js so the nav
   reflects which section is actually in view. */
.nav-link.active { color: var(--golden-crust); }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 1px;
  background: var(--golden-crust);
}
.navigation.mobile-open .nav-link.active::after { display: none; }
.contact-buttons { display: flex; align-items: center; gap: 0.5rem; }
.whatsapp-btn { display: none; }

/* Mobile menu button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--primary-foreground);
  cursor: pointer;
  padding: 0.65rem;
  border-radius: var(--radius);
  transition: background-color var(--duration-fast) var(--ease-standard);
}
.mobile-menu-btn:hover { background-color: rgba(255,255,255,0.15); }
.mobile-menu-btn .icon { width: 1.5rem; height: 1.5rem; }

/* Mobile nav open state */
.navigation.mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--gradient-hero);
  padding: 0.5rem 0;
  z-index: 40;
  box-shadow: var(--shadow-warm);
  animation: slideDown 0.2s ease-out;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.navigation.mobile-open .nav-link {
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.navigation.mobile-open .nav-link:last-child { border-bottom: none; }

/* FAQ details/summary */
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  padding: 0;
  overflow: hidden;
}
.faq summary {
  font-weight: 600;
  font-size: 1rem;
  color: var(--cinnamon);
  padding: 1.125rem 1.25rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--muted-foreground);
  transition: transform var(--duration-fast) var(--ease-standard);
}
.faq details[open] summary::after { content: '−'; }
.faq details p {
  padding: 0 1.25rem 1.125rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.7;
}

.faq-cta-section { margin-top: 3rem; text-align: center; }
.faq-cta-section .info-card p { color: var(--muted-foreground); margin-bottom: 1.5rem; }
.faq-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
@media (max-width: 639px) {
  .faq-cta-buttons { flex-direction: column; }
  .faq-cta-buttons .btn { width: 100%; }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--background), var(--warm-cream));
  overflow: hidden;
}
.hero-background-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
}
.hero-content { display: grid; gap: 3rem; align-items: center; padding: 5rem 0; }
.hero-text { display: flex; flex-direction: column; gap: 2rem; }
.hero-title h1 { font-size: 2.5rem; font-weight: 700; line-height: 1.1; margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.25rem; color: var(--muted-foreground); max-width: 32rem; text-wrap: pretty; }
.hero-buttons { display: flex; flex-direction: column; gap: 1rem; }

.trust-indicators { display: flex; align-items: center; gap: 2rem; padding-top: 2rem; }
.trust-item { text-align: center; }
.trust-value { font-size: 1.5rem; font-weight: 700; color: var(--cinnamon); }
.trust-label { font-size: 0.875rem; color: var(--muted-foreground); }

/* Staggered entrance on load — the hero is the one section that never gets
   the scroll-triggered fade-in the rest of the page uses, so it used to cut
   in instantly. animation-fill-mode:both holds the "from" state pre-paint,
   and the global prefers-reduced-motion rule above already zeroes this out. */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-title h1 { animation: heroFadeUp var(--duration-slow) var(--ease-out) both; animation-delay: 0.05s; }
.hero-subtitle { animation: heroFadeUp var(--duration-slow) var(--ease-out) both; animation-delay: 0.18s; }
.hero-buttons { animation: heroFadeUp var(--duration-slow) var(--ease-out) both; animation-delay: 0.3s; }
.trust-indicators { animation: heroFadeUp var(--duration-slow) var(--ease-out) both; animation-delay: 0.42s; }

.hero-image-container { position: relative; animation: heroFadeUp 550ms var(--ease-out) both; animation-delay: 0.15s; }

.hero-image-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-4);
  contain: content;
}
.hero-image-wrapper.animate-float { animation: float 6s ease-in-out infinite; }

/* Reserve aspect-ratio to cut CLS */
.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
}

.floating-element {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 4.5rem;
  min-height: 4.5rem;
  padding: 0.5rem;
  border-radius: 50%;
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: var(--shadow-warm);
}
.floating-element.fresh {
  top: -1rem;
  right: -1rem;
  background-color: var(--dutch-orange);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.floating-element.pie {
  bottom: -1rem;
  left: -1rem;
  background-color: var(--golden-crust);
  color: var(--foreground);
  font-size: 1.75rem;
}

/* Section Styles */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 700; color: var(--foreground); margin-bottom: 1rem; }
.section-subtitle { font-size: 1.25rem; color: var(--muted-foreground); max-width: 42rem; margin: 0 auto; text-wrap: pretty; }
.section-content { max-width: 64rem; margin: 0 auto; }

/* About Section */
.about { padding: 5rem 0; background: var(--gradient-card); }
.story-card {
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 3rem;
  margin-bottom: 3rem;
}
.story-content { display: grid; gap: 2rem; align-items: start; }
.story-text { display: flex; flex-direction: column; gap: 1.5rem; text-align: left; }
.story-text h3 { font-size: 1.5rem; font-weight: 700; color: var(--cinnamon); }
.story-text p { color: var(--card-foreground); line-height: 1.7; text-wrap: pretty; }

.tradition-card { background-color: var(--warm-cream); border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-warm); text-align: center; }
.tradition-icon { font-size: 4rem; margin-bottom: 1rem; }
.tradition-title { font-size: 1.125rem; font-weight: 600; color: var(--cinnamon); margin-bottom: 0.5rem; }
.tradition-description { font-size: 0.875rem; color: var(--card-foreground); margin: 0; }

.values-grid { display: grid; gap: 1.5rem; }
.value-card {
  box-shadow: var(--shadow-card);
  border: none;
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-out);
}
.value-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.15), inset 0 2px 2px rgba(255, 255, 255, 0.35);
}
.value-icon.passion { background: radial-gradient(circle at 35% 30%, hsl(5, 80%, 65%), var(--apple-red)); }
.value-icon.gezelligheid { background: radial-gradient(circle at 35% 30%, hsl(20, 75%, 60%), var(--dutch-orange)); }
.value-icon.quality { background: radial-gradient(circle at 35% 30%, hsl(45, 90%, 75%), var(--golden-crust)); }
.value-icon svg { width: 1.5rem; height: 1.5rem; }
.value-card h4 { font-size: 1.25rem; font-weight: 700; color: var(--cinnamon); margin-bottom: 1rem; }
.value-card p { color: var(--muted-foreground); margin: 0; }

/* Products Section */
.products { padding: 5rem 0; background-color: var(--background); }
.products-grid { display: grid; gap: 2rem; max-width: 96rem; margin: 0 auto; }
.product-card {
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-out);
}
.product-image-container { position: relative; }

/* Reserve aspect-ratio to cut CLS */
.product-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: hsl(20, 70%, 40%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.product-badge.special { background-color: hsl(5, 75%, 45%); }

.product-price {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--golden-crust);
  color: var(--foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.product-content { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.product-info h3 { font-size: 1.5rem; font-weight: 700; color: var(--cinnamon); margin-bottom: 0.5rem; }
.product-info p { color: var(--muted-foreground); margin: 0; text-wrap: pretty; }
.product-options { display: flex; flex-direction: column; gap: 1rem; }
.option-label { font-size: 0.875rem; font-weight: 500; color: var(--foreground); }

.select-wrapper { position: relative; }
.product-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
  appearance: none;
  cursor: pointer;
}
.product-select:focus { outline: 2px solid var(--ring); outline-offset: 2px; }
.select-wrapper::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--muted-foreground);
  pointer-events: none;
}

.option-description {
  padding: 1rem;
  background-color: var(--warm-cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.option-description p { font-size: 0.875rem; color: var(--card-foreground); margin: 0; }
.option-name { color: var(--cinnamon); }

.product-order-btn { width: 100%; margin-top: 0.25rem; }

.order-info { margin-top: 4rem; text-align: center; }

.info-card {
  background: var(--gradient-card);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  max-width: 64rem;
  margin: 0 auto;
}
.info-card h3 { font-size: 1.5rem; font-weight: 700; color: var(--cinnamon); margin-bottom: 1rem; }

.info-grid { display: grid; gap: 1.5rem; }
.info-item { text-align: center; }
.info-title { font-weight: 600; color: var(--foreground); margin-bottom: 0.5rem; }
.info-item p { font-size: 0.875rem; color: var(--muted-foreground); margin: 0; }

/* Contact Section */
.contact { padding: 5rem 0; background: var(--gradient-card); }
.contact-content { display: grid; gap: 2rem; max-width: 64rem; margin: 0 auto; }
.contact-methods { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-card {
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-out);
}
.contact-card h3 { font-size: 1.5rem; font-weight: 700; color: var(--cinnamon); margin-bottom: 1.5rem; }
.contact-buttons-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-buttons-list .btn { justify-content: flex-start; }
.tip-card { margin-top: 1.5rem; padding: 1rem; background-color: var(--warm-cream); border-radius: var(--radius); }
.tip-card p { font-size: 0.875rem; color: var(--card-foreground); margin: 0; }

.info-list { display: flex; flex-direction: column; gap: 1rem; }
.info-list .info-item { display: flex; align-items: flex-start; gap: 0.75rem; text-align: left; }
.info-icon { width: 1.25rem; height: 1.25rem; color: var(--dutch-orange); margin-top: 0.25rem; flex-shrink: 0; }
.info-list .info-title { font-weight: 600; color: var(--foreground); margin-bottom: 0.25rem; }
.info-desc { font-size: 0.875rem; color: var(--muted-foreground); }

.cta-section { display: flex; flex-direction: column; gap: 1.5rem; }
.cta-card {
  box-shadow: var(--shadow-card);
  border: none;
  background: var(--gradient-accent);
  color: white;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  overflow: hidden;
}
.cta-icon { font-size: 4rem; margin-bottom: 1.5rem; }
.cta-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.cta-card p { color: rgba(255, 255, 255, 0.9); margin-bottom: 1.5rem; }

.social-card {
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-out);
}
.social-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--cinnamon); margin-bottom: 1rem; }
.social-card p { color: var(--muted-foreground); margin-bottom: 1rem; }
.social-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

/* Footer */
.footer { background-color: var(--primary); color: var(--primary-foreground); padding: 3rem 0; }
.footer-content { display: grid; gap: 2rem; margin-bottom: 2rem; }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo {
  height: auto;
  width: 140px;
  max-width: 100%;
  object-fit: contain;
  aspect-ratio: 160 / 48;
}
.footer-description { color: rgba(255, 255, 255, 0.95); font-size: 0.875rem; margin: 0; }

.footer-links h3,
.footer-contact h3 { font-weight: 600; margin-bottom: 1rem; }

.link-list,
.contact-list { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-link { color: rgba(255, 255, 255, 0.95); text-decoration: none; font-size: 0.875rem; transition: color var(--duration-base) var(--ease-standard); }
.footer-link:hover { color: var(--golden-crust); }
/* Cookie settings is an action, not navigation, so it is a <button>; strip the
   UA button chrome so it sits flush with the sibling links. */
.footer-link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
}
.contact-list p { color: rgba(255, 255, 255, 0.95); font-size: 0.875rem; margin: 0; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 2rem; text-align: center; }
.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
}
.separator { margin: 0 0.5rem; }

/* Responsive Design */
@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; }
  .whatsapp-btn { display: flex; }
  .hero-title h1 { font-size: 2.75rem; }
  .trust-indicators { gap: 2rem; }
  .story-content { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr 1fr; }
  .contact-content { grid-template-columns: 1fr 1fr; }
  .contact-methods { flex-direction: column; }
  .cta-section { flex-direction: column; }
}

@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
  .navigation { display: flex; }
  .logo { height: 4rem; }
  .hero-title h1 { font-size: 3.25rem; }
  .hero-content { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .contact-methods { flex-direction: row; gap: 2rem; }
  .contact-methods > * { flex: 1; }
  .footer-content { grid-template-columns: 1fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .hero-title h1 { font-size: 3.75rem; }
  .section-header h2 { font-size: 3rem; }
}

@media (max-width: 639px) {
  .hero { min-height: auto; }
  .hero-content { padding: 3rem 0; }
  .hero-title h1 { font-size: 2rem; }
  .about, .products, .contact, .testimonials { padding: 3rem 0; }
  .products-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .trust-indicators { gap: 1rem; }
  .trust-value { font-size: 1.25rem; }
  .trust-label { font-size: 0.75rem; }
  .story-card { padding: 1.5rem; }
  .values-grid { gap: 1rem; }
  .footer-copyright { flex-direction: column; gap: 0.25rem; }
  .separator { display: none; }
  .contact-buttons-list .btn { font-size: 0.8rem; padding: 0 1rem; }
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background-color: var(--background);
}

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

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

.review-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.25rem;
  transition: box-shadow var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-out);
}

.review-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  object-fit: cover;
  background: var(--muted);
}

.reviewer strong {
  color: var(--cinnamon);
  font-weight: 700;
  display: block;
  line-height: 1.2;
}

.reviewer .meta {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.stars {
  display: inline-flex;
  gap: 2px;
}

.star {
  width: 18px;
  height: 18px;
  fill: var(--border);
}

.star.on {
  fill: var(--golden-crust);
}

.review-text {
  color: var(--foreground);
  margin: 0.25rem 0 0.75rem 0;
  line-height: 1.6;
  text-wrap: pretty;
}

.review-footer {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Mobile tweaks */
@media (max-width: 639px) {
  .reviews-grid { gap: 0.75rem; }
}

/* ─── Language Switcher ───────────────────────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}

.lang-btn {
  background: transparent;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0.625rem;
  opacity: 0.6;
  transition: all var(--duration-fast) var(--ease-standard);
}

.lang-btn:hover {
  opacity: 1;
  background: rgba(255,255,255,0.15);
}

.lang-btn.active {
  opacity: 1;
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.2);
}

@media (max-width: 767px) {
  .lang-switcher {
    order: -1;
    margin-left: 0;
    margin-right: auto;
  }
}

/* ─── Spacing for fixed bottom elements ──────────────────────────────────── */
body {
  padding-bottom: 5rem;
}

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

/* ─── WhatsApp Float Button ───────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  background: #25d366;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-standard);
  color: #fff;
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

/* ─── Cookie Banner ───────────────────────────────────────────────────────── */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--card, #fff);
  border-top: 1px solid var(--border, #e5e7eb);
  box-shadow: 0 -4px 16px hsl(25, 60%, 20%, 0.1);
  padding: 1rem 1.5rem;
}

.cookie-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 200px;
  font-size: 0.875rem;
  color: var(--card-foreground, #374151);
  margin: 0;
}

/* Reject must be as legible and as prominent as accept (EDPB guidance on consent
   dark patterns), so it gets the same footprint as the accept button with a
   visible border. The readable label colour now comes from .btn-ghost itself. */
.cookie-banner .btn-ghost {
  background-color: var(--card);
  border-color: var(--foreground);
  font-weight: 600;
}

.cookie-banner .btn-ghost:hover {
  background-color: var(--secondary);
  color: var(--foreground);
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-link {
  font-size: 0.8rem;
  color: var(--muted-foreground, #6b7280);
  text-decoration: underline;
}

.cookie-link:hover {
  color: var(--foreground, #111827);
}

@media (max-width: 600px) {
  .cookie-content { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .cookie-actions { width: 100%; }
}

/* ─── Shopping Cart ───────────────────────────────────────────────────────── */
.cart-trigger {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 98;
  border-radius: 2rem;
  box-shadow: var(--shadow-warm);
}

.cart-trigger-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  background: var(--cinnamon, #8B4513);
  border: none;
  border-radius: 2rem;
  color: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.cart-count {
  background: #fff;
  color: var(--cinnamon, #8B4513);
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0 4px;
}

.cart-trigger-total {
  opacity: 0.9;
}

.cart-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: #fff;
  border-top: 2px solid var(--border, #e5e7eb);
  box-shadow: 0 -8px 32px hsl(25, 60%, 20%, 0.16);
  max-height: 80vh;
  overflow-y: auto;
  padding: 1.25rem 1.25rem 1.5rem;
}

@media (min-width: 640px) {
  .cart-panel {
    left: 1.5rem;
    right: auto;
    bottom: 5.5rem;
    width: 360px;
    border-radius: 1rem;
    border: 1px solid var(--border, #e5e7eb);
    border-top: 1px solid var(--border, #e5e7eb);
    box-shadow: 0 8px 32px hsl(25, 60%, 20%, 0.16);
    max-height: 70vh;
  }
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border, #e5e7eb);
}

.cart-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cinnamon, #8B4513);
}

.cart-close {
  position: relative;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: var(--muted-foreground, #6b7280);
  padding: 0.25rem;
  line-height: 1;
}
.cart-close::before { content: ''; position: absolute; inset: -10px; }

.cart-items { margin-bottom: 1rem; min-height: 40px; }

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border, #f3f4f6);
}

.cart-item-name { font-weight: 600; font-size: 0.8rem; }
.cart-item-variant { font-size: 0.75rem; color: var(--muted-foreground, #6b7280); }

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.qty-btn {
  background: var(--warm-cream, #fef9f0);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 4px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-price {
  font-weight: 600;
  font-size: 0.8rem;
  min-width: 44px;
  text-align: right;
}

.cart-item-remove {
  position: relative;
  background: none;
  border: none;
  color: var(--muted-foreground, #9ca3af);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0.125rem;
  line-height: 1;
  transition: color var(--duration-fast) var(--ease-standard);
}
.cart-item-remove::before { content: ''; position: absolute; inset: -14px; }

.cart-item-remove:hover { color: #ef4444; }

.cart-empty {
  text-align: center;
  color: var(--muted-foreground, #6b7280);
  padding: 1rem 0;
  font-size: 0.875rem;
  margin: 0;
}

.cart-footer { border-top: 1px solid var(--border, #e5e7eb); padding-top: 0.875rem; }

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.875rem;
  font-size: 0.9rem;
}

.cart-total-row strong { font-size: 1.15rem; }

.cart-whatsapp-btn { width: 100%; margin-bottom: 0.5rem; justify-content: center; }
.cart-continue-btn { width: 100%; justify-content: center; }

/* ─── Allergen Info ───────────────────────────────────────────────────────── */
.allergens {
  margin-top: 0.75rem;
  padding-top: 0.625rem;
  border-top: 1px solid var(--border, #f3f4f6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}

.allergen-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted-foreground, #6b7280);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 0.1rem;
}

.allergen-tag {
  font-size: 0.72rem;
  background: var(--warm-cream, #fef9f0);
  border: 1px solid var(--golden-crust, #f59e0b);
  border-radius: 99px;
  padding: 1px 7px;
  color: var(--card-foreground, #374151);
  white-space: nowrap;
}

.allergen-note {
  width: 100%;
  font-size: 0.68rem;
  color: var(--muted-foreground, #9ca3af);
  margin-top: 0.2rem;
  font-style: italic;
}
/* ─── Order Modal ─────────────────────────────────────────────────────────── */
.order-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.order-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.order-modal-dialog {
  position: relative;
  background: var(--background, #fdf8f0);
  border-radius: 1.25rem;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px hsl(25, 60%, 20%, 0.28);
}

.order-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border, #e8dcc8);
  position: sticky;
  top: 0;
  background: var(--background, #fdf8f0);
  border-radius: 1.25rem 1.25rem 0 0;
  z-index: 1;
}

.order-modal-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.order-modal-close {
  position: relative;
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--muted-foreground);
  padding: 0.3rem 0.6rem;
  border-radius: 0.4rem;
  transition: background var(--duration-fast) var(--ease-standard);
  line-height: 1;
}
.order-modal-close::before { content: ''; position: absolute; inset: -10px; }

.order-modal-close:hover {
  background: var(--muted, #f0e8d8);
  color: var(--foreground);
}

.order-modal-body {
  padding: 1.5rem;
}

.order-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .order-layout { grid-template-columns: 1fr; }
}

/* Reclaim horizontal space for form fields on the smallest phones. */
@media (max-width: 479px) {
  .order-modal-body { padding: 1rem; }
  .order-summary-card,
  .order-form-card { padding: 1rem; }
}

.order-summary-card,
.order-form-card {
  background: var(--card, #fffdf7);
  border: 1px solid var(--border, #e8dcc8);
  border-radius: 1rem;
  padding: 1.5rem;
}

.order-summary-card h2,
.order-summary-card h3,
.order-form-card h2,
.order-form-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border, #e8dcc8);
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--muted, #f0e8d8);
  gap: 0.5rem;
}

.order-item:last-of-type { border-bottom: none; }

.order-item-info { flex: 1; }
.order-item-name { font-weight: 600; font-size: 0.9rem; }
.order-item-variant { font-size: 0.8rem; color: var(--muted-foreground); }

.order-item-right { text-align: right; white-space: nowrap; }
.order-item-qty { font-size: 0.8rem; color: var(--muted-foreground); }
.order-item-price { font-weight: 700; font-size: 0.95rem; }

.order-total-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0 0;
  margin-top: 0.5rem;
  border-top: 2px solid var(--primary, #7a3b1e);
  font-weight: 700;
  font-size: 1.05rem;
}

.order-back-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  text-decoration: none;
}
.order-back-link:hover { color: var(--primary); }

.order-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted-foreground);
}
.order-empty-state p { margin-bottom: 1.5rem; font-size: 1.05rem; }

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.4rem;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border, #e8dcc8);
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--foreground);
  background: var(--background, #fdf8f0);
  transition: border-color var(--duration-fast) var(--ease-standard);
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary, #7a3b1e);
}

.form-group textarea { resize: vertical; min-height: 80px; }

.form-group small {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: var(--muted-foreground);
}

.form-consent { margin-bottom: 1.25rem; }

/* Needs to outrank `.form-group label` (0,1,1), which forces block/600 —
   consent copy is not a field label. Hence label.consent-label, not .consent-label. */
.form-group label.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted-foreground);
  margin-bottom: 0;
  cursor: pointer;
}

.form-group label.consent-label input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.1rem;
  accent-color: var(--cinnamon);
  cursor: pointer;
}

.form-group label.consent-label a {
  color: var(--cinnamon);
  text-decoration: underline;
}

.form-group label.consent-label input[aria-invalid="true"] {
  outline: 2px solid var(--destructive);
  outline-offset: 2px;
}

.form-error {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--destructive);
}

.order-submit-btn {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 1rem;
  padding: 0.9rem;
}
