@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   Starbucks-inspired theme layer
   Re-maps the site's design tokens to the Starbucks system:
   warm-cream canvas, four-tier green palette, gold for accents,
   full-pill buttons, 12px cards, Inter (SoDoSans substitute).
   ============================================================ */
:root,
:host {
  /* Green brand system */
  --color-brand-red: #00754a !important;        /* Green Accent — CTAs & accents */
  --color-brand-red-hover: #00583a !important;  /* darker green on hover */
  --color-brand-gold: #cba258 !important;        /* Starbucks Gold */
  --color-brand-gold-light: #dfc49d !important;

  /* Warm-neutral surfaces */
  --color-bg-warm: #f2f0eb !important;           /* Neutral Warm — page canvas */
  --color-bg-cream: #edebe9 !important;          /* Ceramic — zone separators */
  --color-ink: #1e3932 !important;               /* House Green — dark bands/header/footer */

  /* Text */
  --color-text-dark: #1a1a1a !important;         /* Text Black (warm near-black) */
  --color-text-muted: #5d574e !important;        /* Text Black Soft */
  --color-line: #e4e2dc !important;
  --color-line-strong: #d5d2ca !important;

  /* Body canvas tokens */
  --background: #f2f0eb !important;
  --foreground: #1a1a1a !important;

  /* Rounded geometry: full-pill buttons, 12px cards */
  --radius-card: 12px !important;
  --radius-btn: 9999px !important;
  --radius: 0.75rem !important;

  /* Inter as the universal voice (SoDoSans substitute) */
  --font-sans: "Inter", "Google Sans", ui-sans-serif, system-ui, sans-serif !important;
  --font-display: "Inter", "Google Sans", ui-sans-serif, system-ui, sans-serif !important;
}

/* Tight, confident tracking across the system */
body {
  letter-spacing: -0.01em;
}
.font-display,
h1, h2, h3 {
  letter-spacing: -0.02em;
}

/* Filled green CTAs → full pill + signature scale(0.95) press */
a[class*="bg-brand-red"],
button[class*="bg-brand-red"] {
  border-radius: 9999px !important;
}
button,
a[class*="bg-"] {
  transition: transform 0.2s ease, background-color 0.2s ease;
}
button:active,
a[class*="bg-"]:active {
  transform: scale(0.95);
}

/* Menu cards: white on cream, 12px radius, whisper-soft layered shadow */
[data-category-section] article {
  background: #ffffff !important;
  border-radius: 12px !important;
  border-color: transparent !important;
  box-shadow: 0 0 0.5px rgba(0, 0, 0, 0.14), 0 1px 1px rgba(0, 0, 0, 0.24);
}

/* White backdrop under the dish photo (image sits on top of it) */
[data-category-section] article .aspect-square {
  background: #ffffff !important;
}

/* Frap — floating circular call button (Starbucks signature elevation) */
.frap {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #00754a;
  color: #ffffff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.24), 0 8px 12px rgba(0, 0, 0, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.frap:active {
  transform: scale(0.95);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.24), 0 8px 12px rgba(0, 0, 0, 0);
}
.frap svg {
  width: 24px;
  height: 24px;
}

/* Mobile header: phone number centered in the bar (Tailwind's positioning
   utilities aren't in this pre-built CSS, so define them here) */
.mobile-phone {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Separate each menu category block with 80px of top padding */
[data-category-section] {
  padding-top: 80px;
}

/* Menu category tabs — only the active category's items are shown */
.menu-tabs {
  position: sticky;
  top: 64px;
  z-index: 30;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0;
  background: #f2f0eb;
  border-bottom: 1px solid #e4e2dc;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 1024px) {
  .menu-tabs { top: 80px; }
}
.menu-tabs::-webkit-scrollbar { height: 0; }
.menu-tab {
  flex: 0 0 auto;
  border: 0;
  background: #e8e5dd; /* subtle fill, a touch darker than the page bg */
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5d574e;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.menu-tab:hover { background: #e0ddd3; color: #00754a; }
.menu-tab.active { background: #00754a; color: #fff; }
/* first visible panel already has 80px top padding from the section */
.menu-panel > [data-category-section] { padding-top: 40px; }

/* Without hydration JS, images used to fade in onLoad — show them immediately */
img.opacity-0 {
  opacity: 1 !important;
}

/* Hide the never-resolving loading spinner overlays */
span:has(> span[role="status"]),
span[role="status"] {
  display: none !important;
}

/* Solid header background once the page is scrolled (homepage has a transparent header) */
header.hdr-solid {
  background: #16130f !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Simple mobile navigation panel (replaces the hydrated burger menu) */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  background: #16130f;
  color: #faf6ee;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
}
.mobile-nav a {
  color: inherit;
}
.mobile-nav .mobile-nav-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2rem;
  line-height: 1;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
}
