/* ============================================================
   Qazzaz Coffee – main stylesheet
   Fonts: Inter (body), Playfair Display (headings)
   ============================================================ */

/* ── Custom properties ──────────────────────────────────────── */
:root {
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Brand */
  --brand-900: #130801;
  --brand-800: #2a1508;
  --brand-700: #3d2314;
  --brand-600: #4a2c1a;
  --brand-500: #6b4226;

  /* Accent */
  --caramel-600: #b8975d;
  --caramel-400: #d4b87a;
  --caramel-200: #ecdfc4;
  --caramel-100: #f5eddb;

  /* Surfaces */
  --bg:           #faf8f5;
  --surface:      #ffffff;
  --surface-warm: #fffcf8;
  --border:       rgba(184, 151, 93, 0.22);
  --border-mid:   rgba(184, 151, 93, 0.38);

  /* Text */
  --text:       #1e0e05;
  --text-mid:   #4a2c1a;
  --text-muted: #7a5c47;
  --text-faint: #a8896d;

  /* Easing */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* Coffee-specific (hero, overlays, accents) */
  --espresso:    #0d0501;
  --crema:       #c9a962;
  --roast-mid:   #5c3d2a;
  --cream:       #f5eddb;

  /* CTA accent (Order buttons, highlights) */
  --accent-gold: #c9a962;


  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(30, 14, 5, 0.05), 0 2px 8px rgba(30, 14, 5, 0.06);
  --shadow-md:  0 2px 4px rgba(30, 14, 5, 0.06), 0 8px 24px rgba(30, 14, 5, 0.08);
  --shadow-lg:  0 4px 8px rgba(30, 14, 5, 0.07), 0 16px 40px rgba(30, 14, 5, 0.11);
  --shadow-xl:  0 8px 16px rgba(30, 14, 5, 0.08), 0 24px 56px rgba(30, 14, 5, 0.14);
}

/* Grain texture overlay – use on sections for coffee-rich feel */
.grain-overlay {
  position: relative;
}

.grain-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  border-radius: inherit;
  z-index: 0;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

/*
 * Global scroll: one vertical scrollbar on the viewport only.
 * Avoid html { overflow-y: auto } together with main { overflow-x: hidden } — the latter
 * forces overflow-y to compute to auto on main (CSS overflow pairing), which creates a
 * second scrollbar under the sticky header on home/about.
 */
html {
  overflow-x: hidden;
  overflow-y: visible;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: visible;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 100% 40% at 50% 0%,
    rgba(184, 151, 93, 0.08) 0%, transparent 65%);
  -webkit-font-smoothing: antialiased;
  position: relative;
  z-index: 0;
}

/* Parallax background: fixed layer, image moves slower than scroll */
.site-parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.site-parallax-bg__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 140vh;
  background-image: url("../Images/BackgroundPic.jpeg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  will-change: transform;
}

.site-parallax-bg__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(250, 248, 245, 0.38) 0%,
    rgba(250, 248, 245, 0.50) 40%,
    rgba(250, 248, 245, 0.62) 100%
  );
  pointer-events: none;
}

/* Home page: show more of the parallax background in white-space areas */
.page-home .site-parallax-bg__overlay {
  background: linear-gradient(
    to bottom,
    rgba(250, 248, 245, 0.18) 0%,
    rgba(250, 248, 245, 0.30) 35%,
    rgba(250, 248, 245, 0.40) 100%
  );
}

.page-home .features-section,
.page-home .home-video-section {
  background: rgba(255, 255, 255, 0.52);
}

.page-home .about-split-section {
  background: linear-gradient(160deg, rgba(250, 248, 245, 0.5) 0%, rgba(245, 237, 219, 0.62) 100%);
}

.page-home .hours-location-section {
  background: rgba(255, 252, 248, 0.55);
}

.page-home .feature-card {
  background: rgba(250, 248, 245, 0.88);
}

.page-home .info-card {
  background: rgba(255, 255, 255, 0.9);
}

.page-home body {
  background-color: transparent;
  background-image: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover { text-decoration: underline; }

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--brand-800);
  margin-top: 0;
}

p { margin-top: 0; }

/* ── Falling coffee beans (home page) ────────────────────────── */
.beans-fall-container {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.8s ease-out;
}

.beans-fall-container.beans-fall-done {
  opacity: 0;
}

.bean-fall {
  position: absolute;
  top: -2rem;
  font-size: 1.25rem;
  line-height: 1;
  animation: bean-fall linear forwards;
  opacity: 0.85;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  --bean-rotate: 0deg;
}

@keyframes bean-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.85;
  }
  100% {
    transform: translateY(100vh) rotate(var(--bean-rotate));
    opacity: 0.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bean-fall { animation: none; opacity: 0; }
  .beans-fall-container { display: none; }
}

/* ── Focus ──────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--caramel-600);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background-color: rgba(26, 10, 2, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--bg);
  padding: 0 clamp(1rem, 1.25rem + 2vw, 2.25rem);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow:
    0 1px 0 rgba(184, 151, 93, 0.18),
    0 2px 24px rgba(19, 8, 1, 0.35);
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1rem;
  min-height: 4rem;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s var(--ease-in-out);
  flex-shrink: 0;
}

.logo:hover { text-decoration: none; opacity: 0.82; }

.logo-img {
  height: 4.125rem;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Tagline */
.tagline {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(250, 248, 245, 0.55);
  letter-spacing: 0.02em;
  flex-basis: 100%;
  order: 3;
  padding-bottom: 0.375rem;
}

/* Right-side group: nav + Order Coffee button (keeps button on the right) */
.header-right {
  display: flex;
  align-items: center;
  gap: 0 0.75rem;
  flex-shrink: 0;
}

/* Nav */
.site-nav {
  order: 4;
  flex-basis: 100%;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.125rem;
  justify-content: center;
}

/* Vertical separator between nav items */
.site-nav ul li {
  display: flex;
  align-items: center;
}

.site-nav ul li:not(:last-child)::after {
  content: '|';
  color: rgba(250, 248, 245, 0.35);
  font-size: 0.75rem;
  font-weight: 300;
  margin-left: 0.5rem;
  pointer-events: none;
  user-select: none;
}

.site-nav a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.75rem;
  color: rgba(250, 248, 245, 0.85);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 0.375rem;
  transition: color 0.2s var(--ease-in-out),
              background 0.2s var(--ease-in-out),
              font-weight 0.2s ease;
}

.site-nav a:hover {
  color: var(--bg);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

/* Current page: highlight and emphasize */
.site-nav a.current {
  color: var(--caramel-100);
  font-weight: 700;
  font-size: 1.0625rem;
}

.site-nav a.current:hover {
  color: var(--bg);
  background: rgba(212, 184, 122, 0.2);
}

/* Sliding underline (not on current so the bar is enough) */
.site-nav a:not(.current)::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--caramel-400);
  border-radius: 9999px;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.25s var(--ease-out);
}

.site-nav a:not(.current):hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Current page: persistent underline bar */
.site-nav a.current::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--caramel-400);
  border-radius: 9999px;
  transform: scaleX(1);
}

/* Header Order Coffee CTA – right side, big and flashy */
.header-order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
  padding: 0.6rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brand-900);
  background: linear-gradient(135deg, var(--caramel-400) 0%, var(--caramel-600) 100%);
  border: none;
  border-radius: 9999px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.header-order-btn:hover {
  color: var(--brand-900);
  text-decoration: none;
  background: linear-gradient(135deg, #e8d08a 0%, var(--caramel-400) 100%);
  box-shadow:
    0 4px 16px rgba(212, 184, 122, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  transform: translateY(-2px);
}

.header-order-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* On Order page: "you're here" state – still prominent */
.header-order-btn.current {
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.3),
    0 0 0 2px rgba(255, 255, 255, 0.4) inset,
    0 0 0 3px var(--caramel-400);
}

.header-order-btn.current:hover {
  box-shadow:
    0 4px 16px rgba(212, 184, 122, 0.5),
    0 0 0 2px rgba(255, 255, 255, 0.3) inset,
    0 0 0 3px var(--caramel-400);
}

/* Plain text button / link reset (forms, account page, etc.) */
.btn-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-link:hover { opacity: 0.8; }

/* Hamburger toggle */
.nav-toggle {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  order: 2;
  flex-shrink: 0;
}

.nav-toggle::before,
.nav-toggle::after,
.nav-toggle span {
  content: "";
  display: block;
  position: absolute;
  left: 0.375rem;
  right: 0.375rem;
  height: 1.5px;
  background: rgba(250, 248, 245, 0.9);
  border-radius: 9999px;
  transition: transform 0.22s var(--ease-out), opacity 0.18s;
}

.nav-toggle::before { top: 0.625rem; }
.nav-toggle span    { top: 50%; transform: translateY(-50%); }
.nav-toggle::after  { bottom: 0.625rem; }

.site-header.is-open .nav-toggle::before {
  transform: translateY(0.44rem) rotate(45deg);
}
.site-header.is-open .nav-toggle span { opacity: 0; }
.site-header.is-open .nav-toggle::after {
  transform: translateY(-0.44rem) rotate(-45deg);
}

/* Mobile: header-right becomes "contents" so nav + button join header-inner flex;
   button gets order 2 to sit in first row; nav stays order 4 in expanded row */
@media (max-width: 767px) {
  .header-right {
    display: contents;
  }

  .header-order-btn {
    order: 2;
    margin-left: auto;
    margin-right: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

/* Mobile nav */
@media (max-width: 767px) {
  .site-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s var(--ease-out);
  }

  .site-header.is-open .site-nav { max-height: 22rem; }

  .site-nav ul {
    flex-direction: column;
    padding: 0.5rem 0 0.75rem;
    gap: 0.125rem;
  }

  .site-nav ul li:not(:last-child)::after {
    display: none;
  }

  .site-nav a {
    padding: 0.5rem 0.75rem;
    font-size: 1.05rem;
  }

  .site-nav a.current {
    font-size: 1.1rem;
  }
}

/* Desktop nav – logo left; nav + CTA on the right */
@media (min-width: 768px) {
  .site-header {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .nav-toggle { display: none; }

  .header-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem 1rem;
  }

  .logo {
    flex-shrink: 0;
  }

  .header-right {
    order: unset;
    flex-shrink: 0;
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem 0.75rem;
  }

  .site-nav {
    flex-basis: auto;
    order: unset;
  }

  .site-nav ul { justify-content: flex-end; gap: 0.125rem; }
}

/* ============================================================
   MAIN LAYOUT
   ============================================================ */
main {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
  min-height: 55vh;
}

main > h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  margin-bottom: 0.5rem;
}

main > p[style] {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Coming Soon banner (retail / order not ready yet) */
.coming-soon-banner {
  display: block;
  width: 100%;
  margin: 0 -1.25rem 2rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(255,252,248,0.96) 0%, var(--caramel-200) 50%, rgba(212,184,122,0.16) 100%);
  border: 1px solid rgba(212, 184, 122, 0.40);
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(30, 14, 5, 0.12);
  text-align: center;
}

.coming-soon-banner__label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--caramel-600);
  margin-bottom: 0.35rem;
}

.coming-soon-banner__text {
  font-size: 1rem;
  color: rgba(42, 21, 8, 0.80);
  margin: 0;
  line-height: 1.4;
}

.page-order .coming-soon-banner {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.page-retail .coming-soon-banner {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, #1a0a02 0%, #0e0501 100%);
  color: rgba(250, 248, 245, 0.8);
  padding: 2.5rem 1.25rem;
  margin-top: 5rem;
  border-top: 1px solid rgba(184, 151, 93, 0.14);
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.25rem;
}

.footer-nav a {
  color: rgba(250, 248, 245, 0.65);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.18s var(--ease-in-out);
}

.footer-nav a:hover {
  color: var(--caramel-400);
  text-decoration: none;
}

/* Public footer: do not surface admin login (bookmark /admin/login.html if needed) */
.footer-nav a[href="admin/login.html"] {
  display: none !important;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.875rem;
  margin-bottom: 1.125rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(184, 151, 93, 0.2);
  color: rgba(250, 248, 245, 0.65);
  transition: background 0.2s var(--ease-in-out),
              border-color 0.2s var(--ease-in-out),
              color 0.2s var(--ease-in-out),
              transform 0.18s var(--ease-out);
}

.footer-social-link:hover {
  background: rgba(184, 151, 93, 0.18);
  border-color: var(--caramel-400);
  color: var(--caramel-400);
  transform: translateY(-2px);
  text-decoration: none;
}

.copyright {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(250, 248, 245, 0.35);
  letter-spacing: 0.01em;
}

/* ============================================================
   PAGE – HOME
   ============================================================ */
.hero {
  text-align: center;
  padding: 4rem 0 5rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -3rem -3rem 0;
  background: radial-gradient(ellipse 90% 80% at 50% 10%,
    rgba(184, 151, 93, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--brand-800);
  margin: 0 0 1.25rem;
}

.hero-sub {
  margin: 0 auto;
  font-size: 1.1rem;
  max-width: 38rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.story {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.story h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.875rem;
}

.story p { color: var(--text-mid); }

.video-section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.video-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--caramel-100);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.cta-block {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.cta-block h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.625rem;
}

.cta-block > p {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.7rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  border-radius: 9999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background 0.2s var(--ease-in-out),
    color 0.2s var(--ease-in-out),
    border-color 0.2s var(--ease-in-out),
    box-shadow 0.2s var(--ease-in-out),
    transform 0.12s var(--ease-out);
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
}

.btn:hover { text-decoration: none; }

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

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

/* Primary */
.btn-primary {
  background: linear-gradient(135deg, var(--caramel-400) 0%, var(--caramel-600) 100%);
  color: var(--brand-900);
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(201,169,98,0.25);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #e8c97e 0%, var(--caramel-400) 100%);
  box-shadow: 0 4px 18px rgba(201,169,98,0.35);
  transform: translateY(-1px);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0) scale(0.97);
}

/* Secondary */
.btn-secondary {
  background: transparent;
  color: var(--brand-700);
  border-color: var(--brand-600);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--brand-800);
  color: #faf8f5;
  border-color: var(--brand-800);
  box-shadow: 0 4px 14px rgba(30, 14, 5, 0.22);
  transform: translateY(-1px);
}

/* Google */
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #3c4043;
  background: #fff;
  border: 1.5px solid #dadce0;
  border-radius: 9999px;
  cursor: pointer;
  transition:
    background 0.18s var(--ease-in-out),
    border-color 0.18s var(--ease-in-out),
    box-shadow 0.18s var(--ease-in-out);
}

.btn-google:hover {
  background: #f8f9fa;
  border-color: #bbbfc3;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.btn-google:active { background: #f1f3f4; }

.btn-google-icon { flex-shrink: 0; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 1.375rem; }

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--brand-800);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1.5px solid var(--caramel-200);
  border-radius: 0.625rem;
  background: var(--surface);
  color: var(--text);
  transition:
    border-color 0.18s var(--ease-in-out),
    box-shadow 0.18s var(--ease-in-out);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-faint);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--caramel-600);
}

.form-group textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-700);
  box-shadow: 0 0 0 3.5px rgba(42, 21, 8, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.field-error {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #c0392b;
}

.form-actions { margin-top: 1.75rem; }

.form-actions .btn { min-width: 10rem; }

/* Inline feedback */
.form-message {
  margin: 0 0 1.125rem;
  padding: 0.875rem 1rem;
  border-radius: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}

.form-message--error {
  background: #fdf2f2;
  color: #9b2335;
  border: 1.5px solid rgba(155, 35, 53, 0.18);
}

.form-message--success {
  background: #f0faf3;
  color: #276843;
  border: 1.5px solid rgba(39, 104, 67, 0.18);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--surface);
  border-radius: 0.875rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition:
    transform 0.28s var(--ease-out),
    box-shadow 0.28s var(--ease-out);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card h3 {
  margin: 0 0 0.625rem;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--brand-800);
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.cards-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

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

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

/* ============================================================
   ORDER & RETAIL LAYOUT
   ============================================================ */
.page-order main,
.page-retail main {
  max-width: 72rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.order-layout,
.retail-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .order-layout  { grid-template-columns: 1fr 23rem; }
  .retail-layout { grid-template-columns: 1fr 21rem; }
}

/* ============================================================
   MENU HERO BANNER (order page – Qazzaz_Animation.mp4)
   ============================================================ */
.menu-hero-section {
  position: relative;
  width: 100%;
  margin: 0 1rem 2rem;
  min-height: 28vh;
  max-height: 42vh;
  overflow: hidden;
  background: var(--espresso);
  border-radius: 12px;
  box-shadow:
    0 12px 40px rgba(101, 67, 33, 0.14),
    0 0 0 1px rgba(180, 140, 90, 0.25);
  border: 3px solid rgba(200, 165, 120, 0.35);
}

.menu-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ============================================================
   ORDER PAGE HEADER
   ============================================================ */
.order-page-header {
  padding: 2.5rem 0 0;
  margin-bottom: 0;
}

.order-page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.375rem;
}

.order-page-header p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0 0 1.5rem;
}

/* ============================================================
   MENU TOOLBAR (sticky search + category nav)
   ============================================================ */
.menu-toolbar {
  position: sticky;
  top: 3.75rem;
  z-index: 90;
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  margin: 0 -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-shadow: 0 2px 12px rgba(30, 14, 5, 0.06);
}

/* ── Search ── */
.menu-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 0.625rem;
}

.menu-search-icon {
  position: absolute;
  left: 0.875rem;
  color: var(--text-muted);
  pointer-events: none;
  flex-shrink: 0;
}

.menu-search-input {
  width: 100%;
  padding: 0.65rem 2.5rem 0.65rem 2.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  border: 1.5px solid var(--caramel-200);
  border-radius: 9999px;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.18s var(--ease-in-out), box-shadow 0.18s var(--ease-in-out);
  -webkit-appearance: none;
}

.menu-search-input:focus {
  outline: none;
  border-color: var(--brand-700);
  box-shadow: 0 0 0 3px rgba(42, 21, 8, 0.1);
}

/* Hide browser's native X in search inputs */
.menu-search-input::-webkit-search-cancel-button { display: none; }

.menu-search-clear {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: var(--text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background 0.15s;
}

.menu-search-clear:hover {
  color: var(--brand-800);
  background: rgba(0,0,0,0.06);
}

/* ── Category nav ── */
.menu-cat-nav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(to right, black 85%, transparent);
  mask-image: linear-gradient(to right, black 85%, transparent);
  padding-bottom: 2px;
}

.menu-cat-nav::-webkit-scrollbar { display: none; }

.menu-cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 9999px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.18s var(--ease-in-out),
              background 0.18s var(--ease-in-out),
              border-color 0.18s var(--ease-in-out);
  text-decoration: none;
}

.menu-cat-tab:hover {
  color: var(--brand-800);
  background: var(--caramel-100);
  border-color: var(--caramel-400);
  text-decoration: none;
}

.menu-cat-tab.active {
  color: var(--bg);
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(30, 14, 5, 0.2);
}

.menu-cat-tab-count {
  font-size: 0.725rem;
  font-weight: 700;
  opacity: 0.7;
}

/* ── No results ── */
.menu-no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ============================================================
   MENU ITEMS – IMPROVED CARD STYLE
   ============================================================ */
.menu-categories {
  margin-bottom: 2.5rem;
}

.menu-categories h2 {
  font-size: 1.35rem;
  font-family: var(--font-serif);
  letter-spacing: -0.01em;
  color: var(--brand-800);
  padding-bottom: 0.625rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--caramel-200);
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
}

.menu-categories h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 2.5rem;
  height: 2px;
  background: var(--caramel-600);
  border-radius: 9999px;
}

.menu-item-count-badge {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-faint);
  background: var(--caramel-100);
  padding: 0.1rem 0.5rem;
  border-radius: 9999px;
  letter-spacing: 0;
  border: 1px solid var(--border);
}

/* Item card */
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 0.75rem 1rem;
  padding: 1rem 1rem;
  margin: 0 0 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  transition: background 0.15s var(--ease-in-out),
              border-color 0.2s var(--ease-in-out),
              box-shadow 0.2s var(--ease-in-out),
              transform 0.2s var(--ease-out);
}

.menu-item:hover {
  background: var(--surface-warm);
  border-color: var(--caramel-200);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.menu-item:last-child { margin-bottom: 0; }

.menu-item-info {
  min-width: 0;
}

.menu-item-info h3 {
  margin: 0 0 0.375rem;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--brand-800);
  line-height: 1.3;
}

.menu-item-info .price {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--accent-gold);
  background: rgba(184, 151, 93, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  letter-spacing: 0.01em;
  border: 1px solid rgba(184, 151, 93, 0.25);
}

/* Two-column menu items on large screens */
@media (min-width: 700px) {
  .menu-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1.25rem;
  }
  .menu-categories h2 {
    grid-column: 1 / -1;
  }
}

/* Hidden by search filter */
.menu-item[data-hidden="1"] { display: none; }
.menu-category-hidden        { display: none; }

/* Tab switch transition */
.order-menu-col {
  transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.order-menu-col.menu-tab-transitioning {
  opacity: 0.4;
}

/* ============================================================
   MOBILE FLOATING CART BUTTON
   ============================================================ */
.mobile-cart-btn {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.25rem;
  z-index: 200;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  color: #faf8f5;
  border: none;
  border-radius: 9999px;
  padding: 0.875rem 1.375rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(30, 14, 5, 0.35);
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
  align-items: center;
  gap: 0.5rem;
}

.mobile-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(30, 14, 5, 0.4);
}

.mobile-cart-count {
  background: var(--caramel-400);
  color: var(--brand-900);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.05rem 0.45rem;
  min-width: 1.25rem;
  text-align: center;
}

@media (max-width: 899px) {
  .mobile-cart-btn { display: inline-flex; }
}

/* ── Menu skeleton ───────────────────────────────────────────── */
.menu-skeleton { margin-bottom: 2.5rem; }

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

.skeleton-heading,
.skeleton-item {
  border-radius: 0.5rem;
  background: linear-gradient(
    90deg,
    rgba(184, 151, 93, 0.12) 25%,
    rgba(184, 151, 93, 0.26) 50%,
    rgba(184, 151, 93, 0.12) 75%
  );
  background-size: 120rem 100%;
  animation: shimmer 1.7s infinite linear;
}

.skeleton-heading {
  height: 1.4rem;
  width: 8rem;
  margin-bottom: 1.125rem;
}

.skeleton-item {
  height: 4.25rem;
  margin-bottom: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-heading,
  .skeleton-item {
    animation: none;
    background: rgba(184, 151, 93, 0.12);
  }
}

/* ── Menu messages ───────────────────────────────────────────── */
.menu-message {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0.5rem 0 1rem;
}

.menu-message.menu-error {
  color: #8b1e00;
  background: #fff3ef;
  border: 1.5px solid rgba(139, 30, 0, 0.14);
  border-radius: 0.625rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ── Menu categories & items ─────────────────────────────────── */
.menu-categories { margin-bottom: 3rem; }

.menu-categories h2 {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--brand-800);
  padding-bottom: 0.625rem;
  margin-bottom: 0.375rem;
  border-bottom: 2px solid var(--caramel-200);
  position: relative;
}

.menu-categories h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 2.5rem;
  height: 2px;
  background: var(--caramel-600);
  border-radius: 9999px;
}

.menu-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 0.75rem;
  margin: 0 -0.75rem;
  border-bottom: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: background 0.15s var(--ease-in-out);
}

.menu-item:hover { background: rgba(184, 151, 93, 0.07); }

.menu-item:last-child { border-bottom: none; }

.menu-item-info h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-sans);
  font-size: 0.9875rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--brand-800);
}

.menu-item-info .price {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--caramel-600);
  background: rgba(184, 151, 93, 0.1);
  padding: 0.1rem 0.5rem;
  border-radius: 9999px;
  letter-spacing: 0.01em;
}

.menu-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* ── Add to order button – compact pill ───────────────────────── */
.menu-item .add-btn,
.menu-item-actions .add-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.9375rem;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── Inline options panel ────────────────────────────────────── */
.item-options-panel {
  flex-basis: 100%;
  margin-top: 0.75rem;
  padding: 1rem 1.125rem;
  background: var(--surface-warm);
  border: 1.5px solid var(--border-mid);
  border-radius: 0.75rem;
}

.item-options-loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted, #8c7060);
  padding: 0.25rem 0;
}

.item-options-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--border-mid);
  border-top-color: var(--accent, #7c4f2f);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.item-options-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.item-option-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.item-option-row label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-800);
  white-space: nowrap;
}

.item-option-row select {
  padding: 0.35rem 0.625rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  border: 1.5px solid var(--caramel-200);
  border-radius: 0.5rem;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.15s;
}

.item-option-row select:focus {
  outline: none;
  border-color: var(--brand-700);
}

.item-options-total {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-800);
  margin: -0.25rem 0 0.75rem;
  min-height: 1.25rem;
}

/* Multi-select (checkbox) modifier group */
.item-option-row--multi {
  flex-basis: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.item-option-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-800);
}

.item-option-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}

.item-option-check-label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0.2rem 0;
}

.item-option-check-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-700, #7c4f2f);
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}

.item-option-price {
  color: var(--text-muted, #8c7060);
  font-size: 0.8rem;
}

.item-options-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.item-options-actions .btn {
  min-width: 0;
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
}

/* ── Cart panel ──────────────────────────────────────────────── */
.cart-panel {
  background: var(--surface-warm);
  border-radius: 1rem;
  padding: 1.625rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  height: fit-content;
  position: sticky;
  top: 5.25rem;
}

.cart-panel h2 {
  font-family: var(--font-serif);
  margin: 0 0 1.125rem;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--brand-800);
  padding-bottom: 0.75rem;
  border-bottom: 1.5px solid var(--border-mid);
}

.cart-items {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.cart-items li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.cart-item-name {
  flex: 1;
  color: var(--text);
  font-weight: 500;
}

.cart-item-opts {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.cart-item-qty {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-item-price {
  font-weight: 700;
  color: var(--brand-700);
  white-space: nowrap;
  font-size: 0.9rem;
}

.cart-total {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-800);
  margin-bottom: 1.375rem;
  padding-top: 0.625rem;
  border-top: 2px solid var(--border-mid);
}

.cart-empty {
  color: var(--text-faint);
  font-size: 0.9rem;
  font-style: italic;
}

.cart-remove {
  background: none;
  border: none;
  padding: 0 0.25rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: var(--text-faint);
  transition: color 0.15s;
  flex-shrink: 0;
}

.cart-remove:hover { color: #c0392b; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 700px) {
  .contact-layout { grid-template-columns: 1fr 1fr; }
}

.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  height: fit-content;
}

.contact-info h2 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.625rem;
  border-bottom: 1.5px solid var(--border-mid);
}

.contact-info p {
  margin: 0 0 0.75rem;
  color: var(--text-mid);
  font-size: 0.95rem;
}

.contact-info .label {
  font-weight: 700;
  color: var(--brand-800);
  margin-right: 0.4rem;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
/* ── Scroll animations: fly in from bottom (slower, more visible) ─ */
[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(5rem);
  transition:
    opacity 1.15s var(--ease-out),
    transform 1.15s var(--ease-out);
}

[data-animate="fade-up"].animated-in {
  opacity: 1;
  transform: translateY(0);
}

/* Fly in from top when user is scrolling up */
[data-animate="fade-up"].enter-from-top {
  transform: translateY(-5rem);
}

[data-animate="fade-up"].enter-from-top.animated-in {
  transform: translateY(0);
}

/* ── Scroll animations: from top ─────────────────────────────── */
[data-animate="fade-down"] {
  opacity: 0;
  transform: translateY(-2rem);
  transition:
    opacity 1s var(--ease-out),
    transform 1s var(--ease-out);
}

[data-animate="fade-down"].animated-in {
  opacity: 1;
  transform: translateY(0);
}

/* ── Scroll animations: fade only ─────────────────────────────── */
[data-animate="fade-in"] {
  opacity: 0;
  transition: opacity 0.65s var(--ease-out);
}

[data-animate="fade-in"].animated-in {
  opacity: 1;
}

/* ── Scroll animations: slide from left ──────────────────────── */
[data-animate="slide-left"] {
  opacity: 0;
  transform: translateX(-3rem);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
}

[data-animate="slide-left"].animated-in {
  opacity: 1;
  transform: translateX(0);
}

/* ── Scroll animations: slide from right ─────────────────────── */
[data-animate="slide-right"] {
  opacity: 0;
  transform: translateX(3rem);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
}

[data-animate="slide-right"].animated-in {
  opacity: 1;
  transform: translateX(0);
}

/* ── Scroll animations: scale in ─────────────────────────────── */
[data-animate="scale-in"] {
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}

[data-animate="scale-in"].animated-in {
  opacity: 1;
  transform: scale(1);
}

/* ── Stagger: children animate with delay (set by JS) ─────────── */
[data-animate="fade-up-stagger"] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}

[data-animate="fade-up-stagger"].animated-in {
  opacity: 1;
  transform: translateY(0);
}

[data-animate].animated-in [data-animate] {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

[data-animate].animated-in [data-animate].animated-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-animate="fade-up"],
  [data-animate="fade-up"].enter-from-top,
  [data-animate="fade-down"],
  [data-animate="fade-in"],
  [data-animate="slide-left"],
  [data-animate="slide-right"],
  [data-animate="scale-in"],
  [data-animate="fade-up-stagger"] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  [data-animate].animated-in [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   CHECKOUT MODAL (retail page)
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(20, 10, 4, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: modal-fade-in 0.2s var(--ease-out);
}

.modal-backdrop[hidden] { display: none; }

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

.modal-card {
  background: var(--surface);
  border-radius: 1.25rem;
  box-shadow: 0 24px 64px rgba(42, 21, 8, 0.35);
  width: 100%;
  max-width: 32rem;
  max-height: 90dvh;
  overflow-y: auto;
  padding: 2rem 2rem 2.25rem;
  position: relative;
  animation: modal-slide-up 0.25s var(--ease-out);
}

@keyframes modal-slide-up {
  from { opacity: 0; transform: translateY(1.5rem); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.modal-close:hover {
  background: var(--surface-warm);
  color: var(--brand-900);
}

.modal-step-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-900);
  margin: 0 0 0.375rem;
}

.modal-step-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.modal-step { display: block; }
.modal-step[hidden] { display: none; }

/* ── Modal form grid ───────────────────────────────────────── */
.modal-form-grid {
  display: grid;
  gap: 0.875rem;
}

.modal-form-row {
  display: grid;
  gap: 0.875rem;
  grid-template-columns: 1fr 1fr;
}

/* ── Rate option cards ─────────────────────────────────────── */
.rate-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}

.rate-option {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 0.875rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: var(--surface);
}

.rate-option:hover {
  border-color: var(--caramel-300);
  background: var(--surface-warm);
}

.rate-option.selected {
  border-color: var(--brand-700);
  background: rgba(184, 151, 93, 0.08);
}

.rate-option input[type="radio"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--brand-700);
  flex-shrink: 0;
}

.rate-option-info {
  flex: 1;
  min-width: 0;
}

.rate-option-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rate-option-days {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
}

.rate-option-price {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--caramel-600);
  white-space: nowrap;
}

/* ── Order summary in rates step ───────────────────────────── */
.modal-order-summary {
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.modal-order-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  color: var(--text-mid);
}

.modal-order-summary-row.total {
  font-weight: 700;
  color: var(--brand-800);
  border-top: 1.5px solid var(--border-mid);
  padding-top: 0.5rem;
  margin-top: 0.25rem;
}

/* ── Payment notice ────────────────────────────────────────── */
.payment-notice {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(184, 151, 93, 0.1);
  border: 1px solid var(--caramel-200);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--caramel-600);
  margin-bottom: 1.375rem;
}

.payment-notice svg {
  flex-shrink: 0;
  opacity: 0.75;
}

/* ── Confirmation step ─────────────────────────────────────── */
.modal-confirm-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(88, 130, 95, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.tracking-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--brand-700);
  background: rgba(184, 151, 93, 0.12);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1.5px solid var(--caramel-200);
  margin: 0.5rem 0 1rem;
  word-break: break-all;
}

/* ── Loading spinner inside modal ──────────────────────────── */
.modal-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.modal-spinner::before {
  content: '';
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid var(--border);
  border-top-color: var(--brand-700);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.modal-error {
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.3);
  border-radius: 0.625rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #c0392b;
  margin-bottom: 1rem;
}

/* ── Modal footer row ──────────────────────────────────────── */
.modal-footer {
  display: flex;
  gap: 0.625rem;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 560px) {
  .modal-card {
    padding: 1.5rem 1.25rem 1.75rem;
    border-radius: 1rem 1rem 0 0;
    max-height: 95dvh;
    margin-top: auto;
  }

  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .modal-form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   RETAIL PRODUCTS GRID
   ============================================================ */
.retail-layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .retail-layout { grid-template-columns: 1fr 300px; }
}

.retail-products-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.retail-category-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--brand-800);
  margin: 0 0 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-mid);
}

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

@media (min-width: 520px) {
  .retail-products-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 860px) {
  .retail-products-grid { grid-template-columns: 1fr; }
}

@media (min-width: 1100px) {
  .retail-products-grid { grid-template-columns: 1fr 1fr; }
}

.retail-product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.125rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem;
}

.retail-product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--caramel-200);
  transform: translateY(-2px);
}

.retail-product-header {
  flex: 1 1 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.retail-product-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand-900);
  line-height: 1.3;
}

.retail-product-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  line-height: 1.4;
}

.retail-product-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--caramel-600);
  background: rgba(184, 151, 93, 0.1);
  padding: 0.1rem 0.5rem;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.retail-product-actions {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.retail-product-actions .btn {
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
}

/* ── Retail inline options panel (same pattern as order page) ── */
.retail-options-panel {
  flex-basis: 100%;
  margin-top: 0.625rem;
  padding: 1rem 1.125rem;
  background: var(--surface-warm);
  border: 1.5px solid var(--border-mid);
  border-radius: 0.75rem;
}

.retail-options-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}

.retail-option-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.retail-option-row label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-800);
  white-space: nowrap;
}

.retail-option-row select {
  padding: 0.35rem 0.625rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  border: 1.5px solid var(--caramel-200);
  border-radius: 0.5rem;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.15s;
}

.retail-option-row select:focus {
  outline: none;
  border-color: var(--brand-700);
}

.retail-options-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.retail-options-actions .btn {
  min-width: 0;
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
}

/* ── Address suggestion card (checkout modal step 1) ──────────── */
.addr-suggestion-card {
  background: rgba(184, 151, 93, 0.08);
  border: 1.5px solid var(--caramel-200);
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  margin-bottom: 1rem;
}

.addr-suggestion-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--caramel-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
}

.addr-suggestion-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-900);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  margin: 0 0 0.875rem;
  white-space: pre-line;
  line-height: 1.5;
}

.addr-suggestion-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.addr-suggestion-actions .btn {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

/* ============================================================
   HOME PAGE – DARK HERO
   ============================================================ */
.hero-dark {
  background: linear-gradient(160deg, #fff7ea 0%, #ffe8c7 45%, #f7d2c2 100%);
  color: var(--brand-800);
  text-align: center;
  padding: 0;
  position: relative;
  /* Clip horizontally only — do not create an in-section vertical scroll trap */
  overflow-x: hidden;
  overflow-y: visible;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 calc(-1.25rem);
}

/* Radial glow layers */
.hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%,  rgba(212,184,122,0.40) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 80%,  rgba(212,184,122,0.20) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%,  rgba(42,21,8,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero-dark-inner {
  position: relative;
  z-index: 1;
  padding: 6rem 1.5rem 5rem;
  max-width: 52rem;
  width: 100%;
  flex-shrink: 0;
  overflow: visible;
}

.hero-dark h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--brand-900);
  margin: 0 0 1.5rem;
}

.hero-dark h1 em {
  font-style: italic;
  color: var(--caramel-400);
}

.hero-dark .hero-sub {
  color: rgba(42,21,8,0.72);
  font-size: 1.15rem;
  max-width: 34rem;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-dark-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn-primary-light {
  background: linear-gradient(135deg, var(--caramel-400) 0%, var(--caramel-600) 100%);
  color: var(--brand-900);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(212,184,122,0.35);
}

.btn-primary-light:hover:not(:disabled) {
  background: linear-gradient(135deg, #e8c97e 0%, var(--caramel-400) 100%);
  box-shadow: 0 6px 28px rgba(212,184,122,0.45);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-outline-light {
  background: transparent;
  color: rgba(42,21,8,0.72);
  border-color: rgba(42,21,8,0.22);
}

.btn-outline-light:hover:not(:disabled) {
  background: rgba(42,21,8,0.07);
  border-color: rgba(42,21,8,0.35);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ── Steam animation ─────────────────────────────────────── */
.steam-container {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  align-items: flex-end;
  height: 6rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.coffee-cup-icon {
  font-size: 3.5rem;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(184,151,93,0.4));
}

.steam-puff {
  position: absolute;
  bottom: 3.5rem;
  width: 0.35rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: linear-gradient(to top, rgba(250,248,245,0.5), transparent);
  animation: steam-rise 2.4s ease-in-out infinite;
}

.steam-puff:nth-child(1) {
  left: calc(50% - 0.6rem);
  animation-delay: 0s;
}

.steam-puff:nth-child(2) {
  left: calc(50% + 0.25rem);
  animation-delay: 0.8s;
}

.steam-puff:nth-child(3) {
  left: calc(50% - 1.4rem);
  animation-delay: 1.6s;
}

@keyframes steam-rise {
  0%   { transform: translateY(0) scaleX(1); opacity: 0; }
  15%  { opacity: 0.6; }
  60%  { transform: translateY(-3rem) scaleX(1.6); opacity: 0.25; }
  100% { transform: translateY(-5.5rem) scaleX(0.7); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .steam-puff { animation: none; opacity: 0; }
}

/* Floating coffee beans decorative background */
.hero-beans {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bean {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.06;
  animation: bean-float 12s ease-in-out infinite;
}

.hero-bean:nth-child(1)  { top: 8%;  left: 7%;  animation-delay: 0s;   font-size: 2rem; }
.hero-bean:nth-child(2)  { top: 18%; right: 9%; animation-delay: 2s;   font-size: 1.2rem; }
.hero-bean:nth-child(3)  { top: 55%; left: 4%;  animation-delay: 4s;   font-size: 1.8rem; }
.hero-bean:nth-child(4)  { top: 70%; right: 6%; animation-delay: 1s;   font-size: 1.4rem; }
.hero-bean:nth-child(5)  { top: 35%; left: 14%; animation-delay: 3s;   font-size: 1rem; }
.hero-bean:nth-child(6)  { top: 82%; left: 22%; animation-delay: 5s;   font-size: 2.2rem; }
.hero-bean:nth-child(7)  { top: 12%; right: 22%;animation-delay: 1.5s; font-size: 1.6rem; }
.hero-bean:nth-child(8)  { top: 65%; right: 18%;animation-delay: 3.5s; font-size: 1.3rem; }

@keyframes bean-float {
  0%, 100% { transform: translateY(0)    rotate(0deg); }
  33%       { transform: translateY(-8px) rotate(6deg); }
  66%       { transform: translateY(5px)  rotate(-4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bean { animation: none; }
}

/* ── Hero logo ───────────────────────────────────────────── */
.hero-logo-wrap {
  margin-bottom: 2rem;
}

.hero-logo-img {
  height: clamp(8rem, 18vw, 12rem);
  width: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* Signup page brand panel logo */
.signup-logo-img {
  height: 3.5rem;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ── Hero scroll indicator ───────────────────────────────── */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  color: rgba(42,21,8,0.32);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: scroll-hint-pulse 3s ease-in-out infinite;
}

.hero-scroll-hint::after {
  content: '';
  width: 1.5px;
  height: 2rem;
  background: linear-gradient(to bottom, rgba(42,21,8,0.36), transparent);
  border-radius: 9999px;
}

@keyframes scroll-hint-pulse {
  0%, 100% { opacity: 0.35; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0.7;  transform: translateX(-50%) translateY(4px); }
}

/* ============================================================
   HOME PAGE – FEATURES SECTION
   ============================================================ */
.features-section {
  padding: 5rem 1.25rem;
  background: var(--surface);
  margin: 0 calc(-1.25rem);
  border-bottom: 1px solid var(--border);
}

.features-section-inner {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caramel-600);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--brand-800);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto 3.5rem;
  line-height: 1.75;
}

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

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

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--caramel-200);
}

.feature-icon {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--brand-800);
  margin: 0 0 0.625rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   HOME PAGE – ABOUT TEASER / SPLIT SECTION
   ============================================================ */
.about-split-section {
  padding: 5rem 1.25rem;
  margin: 0 calc(-1.25rem);
  background: linear-gradient(160deg, var(--bg) 0%, var(--caramel-100) 100%);
  border-bottom: 1px solid var(--border);
}

.about-split {
  max-width: 52rem;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 768px) {
  .about-split { grid-template-columns: 1fr 1fr; }
}

.about-split-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--brand-800);
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

.about-split-text p {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 0 1rem;
}

.about-split-text .btn { margin-top: 1rem; }

.about-split-visual {
  position: relative;
}

.about-visual-card {
  background: linear-gradient(145deg, rgba(255,252,248,0.98) 0%, var(--caramel-100) 48%, rgba(212,184,122,0.20) 100%);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  color: var(--brand-900);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.about-visual-card::before {
  content: '☕';
  position: absolute;
  font-size: 8rem;
  right: -1rem;
  bottom: -1.5rem;
  opacity: 0.05;
  line-height: 1;
}

.about-visual-card-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--caramel-400);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.about-visual-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--brand-900);
  margin: 0 0 1.25rem;
  line-height: 1.3;
}

.about-visual-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.about-stat-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--caramel-400);
  line-height: 1;
}

.about-stat-label {
  font-size: 0.8rem;
  color: rgba(245,237,219,0.6);
  letter-spacing: 0.03em;
}

/* (Signature drinks ticker removed — home uses .home-traditions-section in home-showcase.css) */

/* ============================================================
   HOME PAGE – HOURS & LOCATION
   ============================================================ */
.hours-location-section {
  padding: 5rem 1.25rem;
  margin: 0 calc(-1.25rem);
  background: var(--surface-warm);
  border-bottom: 1px solid var(--border);
}

.hours-location-inner {
  max-width: 52rem;
  margin: 0 auto;
}

.hours-location-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .hours-location-grid { grid-template-columns: 1fr 1fr; }
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--brand-800);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1.5px solid var(--border-mid);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }

.hours-table td {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 500;
  color: var(--brand-800);
}

.hours-table tr.weekend td { color: var(--caramel-600); }
.hours-table tr.weekend td:last-child { color: var(--caramel-600); }

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text-mid);
}

.location-detail:last-child { margin-bottom: 0; }

.location-detail-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
  line-height: 1;
}

.location-detail a {
  color: var(--caramel-600);
  font-weight: 500;
}

.location-detail a:hover {
  text-decoration: underline;
  color: var(--brand-700);
}

/* ============================================================
   HOME PAGE – CTA STRIP
   ============================================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--brand-800) 0%, var(--brand-900) 100%);
  padding: 5rem 1.25rem;
  text-align: center;
  margin: 0 calc(-1.25rem);
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(184,151,93,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-strip-inner {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  margin: 0 auto;
}

.cta-strip h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--caramel-100);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.cta-strip p {
  color: rgba(245,237,219,0.65);
  font-size: 1.05rem;
  margin: 0 0 2.5rem;
  line-height: 1.75;
}

/* ============================================================
   PAGE SECTION WRAPPER (reusable)
   ============================================================ */
.page-section {
  padding: 5rem 1.25rem;
}

.page-section-inner {
  max-width: 52rem;
  margin: 0 auto;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  background: linear-gradient(160deg, #0e0501 0%, #1a0a02 50%, #2a1508 100%);
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  /* Match home .hero-dark: clip X only, no nested vertical scroll container */
  overflow-x: hidden;
  overflow-y: visible;
  margin: 0 calc(-1.25rem);
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(184,151,93,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto;
}

.about-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--caramel-100);
  margin: 0 0 1.25rem;
  line-height: 1.1;
}

.about-hero h1 em {
  font-style: italic;
  color: var(--caramel-400);
}

.about-hero p {
  color: rgba(250,248,245,0.7);
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 36rem;
  margin: 0 auto;
}

/* Story section */
.about-story-section {
  padding: 5rem 1.25rem;
  margin: 0 calc(-1.25rem);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.about-story-inner {
  max-width: 52rem;
  margin: 0 auto;
  display: grid;
  gap: 3.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .about-story-inner { grid-template-columns: 3fr 2fr; align-items: start; }
}

.about-story-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: var(--brand-800);
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

.about-story-text p {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin: 0 0 1.25rem;
}

.about-story-text p:last-child { margin-bottom: 0; }

.about-pull-quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--brand-700);
  border-left: 3px solid var(--caramel-400);
  padding: 1rem 1.25rem;
  background: rgba(184,151,93,0.07);
  border-radius: 0 0.75rem 0.75rem 0;
  line-height: 1.6;
  margin: 0;
}

/* Values section */
.about-values-section {
  padding: 5rem 1.25rem;
  margin: 0 calc(-1.25rem);
  background: linear-gradient(160deg, var(--bg) 0%, var(--caramel-100) 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.about-values-inner {
  max-width: 52rem;
  margin: 0 auto;
}

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

@media (min-width: 500px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
}

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

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  font-size: 2.25rem;
  margin-bottom: 0.875rem;
  display: block;
}

.value-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--brand-800);
  margin: 0 0 0.5rem;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Signature drinks showcase (about page) */
.about-drinks-section {
  padding: 5rem 1.25rem;
  margin: 0 calc(-1.25rem);
  background: var(--brand-900);
  border-bottom: 1px solid rgba(184,151,93,0.15);
}

.about-drinks-inner {
  max-width: 52rem;
  margin: 0 auto;
}

.about-drinks-section .section-title { color: var(--caramel-100); }
.about-drinks-section .section-eyebrow { color: var(--caramel-400); }
.about-drinks-section .section-subtitle { color: rgba(245,237,219,0.6); }

.drinks-showcase-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-top: 3rem;
}

@media (min-width: 600px) {
  .drinks-showcase-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .drinks-showcase-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.drink-showcase-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(184,151,93,0.2);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  transition: background 0.2s, border-color 0.2s, transform 0.28s var(--ease-out);
}

.drink-showcase-card:hover {
  background: rgba(184,151,93,0.1);
  border-color: rgba(184,151,93,0.45);
  transform: translateY(-3px);
}

.drink-showcase-icon {
  font-size: 2.25rem;
  margin-bottom: 0.875rem;
  display: block;
}

.drink-showcase-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--caramel-200);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.drink-showcase-card p {
  font-size: 0.875rem;
  color: rgba(245,237,219,0.55);
  line-height: 1.65;
  margin: 0;
}

/* Atmosphere section (about page) */
.about-atmosphere-section {
  padding: 5rem 1.25rem;
  margin: 0 calc(-1.25rem);
  background: var(--surface-warm);
  border-bottom: 1px solid var(--border);
}

.about-atmosphere-inner {
  max-width: 52rem;
  margin: 0 auto;
}

.atmosphere-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.atmosphere-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--text-mid);
  font-weight: 500;
}

.atmosphere-chip-icon { font-size: 1.1rem; }

/* ============================================================
   CONTACT PAGE – ENHANCED
   ============================================================ */
.contact-map-wrap {
  margin-top: 1.5rem;
  border-radius: 0.875rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-map-wrap iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: none;
}

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}

.hours-list li:last-child { border-bottom: none; }

.hours-list li span:last-child {
  font-weight: 600;
  color: var(--brand-800);
}

.hours-list li.weekend span { color: var(--caramel-600); }
.hours-list li.weekend span:last-child { color: var(--caramel-600); }

/* ============================================================
   FRANCHISE APPLICATION FORM
   ============================================================ */

.franchise-section-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-800);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

/* Two-column grid for personal info / financial fields */
.franchise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
}

/* Allow specific items to span full width inside the grid */
.franchise-grid-full {
  grid-column: 1 / -1;
}

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

/* Yes / No question rows */
.franchise-yn-row {
  flex-direction: column !important;
  gap: 0.5rem;
  padding: 1rem 1.125rem;
  background: var(--surface-warm);
  border: 1.5px solid var(--border);
  border-radius: 0.75rem;
  margin-bottom: 0.875rem;
}

.franchise-yn-row.franchise-yn-error {
  border-color: #e05a5a;
  background: #fff8f8;
}

.franchise-yn-label {
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.5;
}

.franchise-yn-options {
  display: flex;
  gap: 2rem;
  margin-top: 0.25rem;
}

.franchise-yn-options label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 400;
  color: var(--text-mid);
  font-size: 0.975rem;
}

.franchise-yn-options input[type="radio"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--caramel-600, #7c4f2f);
  cursor: pointer;
}

/* ============================================================
   FOUNDER PHOTO
   ============================================================ */
.founder-photo-wrap {
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  background: var(--brand-900);
}

.founder-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: cover;
  object-position: center top;
}

.founder-caption {
  padding: 0.875rem 1.25rem;
  background: var(--brand-900);
  color: var(--caramel-200);
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: center;
  border-top: 1px solid rgba(184,151,93,0.2);
}

.founder-caption strong {
  color: var(--caramel-400);
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-bottom: 0.125rem;
}

/* ============================================================
   VIDEO SECTION (home + about)
   ============================================================ */
.home-video-section {
  padding: 5rem 1.25rem;
  margin: 0 calc(-1.25rem);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.home-video-inner {
  max-width: 52rem;
  margin: 0 auto;
}

.home-video-frame {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(201,169,98,0.25);
  background: var(--brand-900);
  margin-top: 0.5rem;
  border: 1px solid var(--border);
}

.home-video-player {
  display: block;
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  background: #000;
}

/* ── Fix: sections break out of main's max-width ─────────────── */
.page-home main {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  overflow-x: clip;
  overflow-y: visible;
  max-width: 100%;
}

.page-about main {
  padding-left: 0;
  padding-right: 0;
  overflow-x: clip;
  overflow-y: visible;
  max-width: 100%;
}

.page-order main {
  overflow-x: clip;
  overflow-y: visible;
}

/* @keyframes spin (shared with modal) */
@keyframes spin {
  to { transform: rotate(360deg); }
}
