/* ============================================================
   CITY CAFÉ BAKERY — style.css
   ============================================================ */

/* ---- BRAND TOKENS ---- */
:root {
  --green-light: #B8D8B0;
  --green-mid: #7DB87A;
  --green-deep: #4A8C5C;
  --cream: #F5F0E8;
  --warm-white: #FDFAF5;
  --charcoal: #2C2A27;
  --amber: #D4956A;
  --amber-light: #EFC99A;
  --text-primary: #2C2A27;
  --text-muted: #6B6860;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 2px 16px rgba(44,42,39,0.08);
  --transition: 0.2s ease;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--warm-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }
ul, ol { list-style: none; }

/* ---- FOCUS ---- */
:focus-visible { outline: 2px solid var(--green-mid); outline-offset: 2px; }

/* ---- NAV ---- */
#nav-root { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-nav.scrolled {
  background: white;
  box-shadow: 0 2px 12px rgba(44,42,39,0.08);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}
.logo-svg {
  height: 30px;
  width: auto;
  display: block;
}
/* Scrolled: cream blocks → pure white, invisible on white nav — only charcoal letters show */
.site-nav.scrolled .logo-svg:not(.footer-logo-svg) .cls-1 { fill: #ffffff; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.95rem;
  color: var(--cream);
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: white; }
.site-nav.scrolled .nav-links a { color: var(--charcoal); }
.site-nav.scrolled .nav-links a:hover { color: var(--green-deep); }
.nav-cta {
  background: var(--amber) !important;
  color: var(--charcoal) !important;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--amber-light) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 1001;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}
.site-nav.scrolled .nav-hamburger span { background: var(--charcoal); }

.nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: white;
  box-shadow: -4px 0 24px rgba(44,42,39,0.12);
  z-index: 999;
  flex-direction: column;
  padding: 5rem 2rem 2rem;
  gap: 1.5rem;
  transition: right 0.3s ease;
}
.nav-drawer.open { right: 0; }
.nav-drawer a {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--cream);
}
.nav-drawer .nav-cta {
  display: inline-block;
  text-align: center;
  margin-top: 0.5rem;
  border-radius: var(--radius-sm) !important;
  padding: 0.75rem 1.5rem !important;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(44,42,39,0.4);
  z-index: 998;
}
.nav-overlay.open { display: block; }

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer { display: flex; }
  .logo-svg { height: 24px; }
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--green-deep);
  color: var(--cream);
  padding: 3rem 2rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 2.5rem;
}
.footer-logo {
  display: inline-block;
  line-height: 0;
  margin-bottom: 0.75rem;
}
.footer-logo-svg {
  height: 26px;
  width: auto;
  display: block;
}
.footer-logo-svg .cls-1 { fill: var(--green-deep); }
.footer-logo-svg .cls-2 { fill: var(--cream); }
.footer-tagline { font-size: 0.9rem; color: var(--green-light); line-height: 1.6; }
.footer-location {
  margin-bottom: 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(184,216,176,0.15);
}
.footer-loc-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-light);
  margin-bottom: 0.15rem;
  letter-spacing: 0.02em;
}
.footer-hours { margin-top: 0.75rem; }
.footer-hours-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(184,216,176,0.12);
  color: var(--green-light);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  border: 1px solid rgba(184,216,176,0.2);
  margin-bottom: 0.4rem;
}
.footer-hours p { font-size: 0.82rem; color: rgba(245,240,232,0.65); margin-top: 0.3rem; }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-light);
  margin-bottom: 0.75rem;
}
.footer-col p, .footer-col a {
  font-size: 0.9rem;
  color: var(--cream);
  line-height: 1.7;
  display: block;
}
.footer-col a:hover { color: var(--amber-light); }
.footer-note { font-size: 0.8rem; color: var(--green-light); margin-top: 0.5rem; font-style: italic; }
.footer-bar {
  border-top: 1px solid rgba(184,216,176,0.2);
  margin: 0 -2rem;
  padding: 1rem 2rem;
  text-align: center;
  background: rgba(0,0,0,0.1);
  font-size: 0.85rem;
  color: var(--green-light);
}
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ---- WAVE DIVIDERS ---- */
.wave-divider {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
}

/* ---- IMAGE PLACEHOLDERS ---- */
.img-placeholder {
  background: linear-gradient(135deg, var(--green-light), var(--green-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  opacity: 0.75;
  text-align: center;
  padding: 1rem;
}
.has-photo .img-placeholder { display: none; }

/* Real images in cards/sections */
.baked-card img,
.card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.location-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.oven-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.loc-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- LAYOUT UTILS ---- */
.section-inner { max-width: 1200px; margin: 0 auto; }
section { padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem); }
.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green-mid);
  margin-bottom: 0.75rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  border: none;
}
.btn-amber { background: var(--amber); color: var(--charcoal); }
.btn-amber:hover { background: var(--amber-light); }
.btn-green { background: var(--green-deep); color: var(--warm-white); }
.btn-green:hover { background: var(--green-mid); }

/* ---- MENU TEXT LINK ---- */
.menu-text-link {
  display: inline;
  color: var(--green-deep);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.menu-text-link:hover { color: var(--green-mid); }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* ---- PAGE HERO ---- */
.page-hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, #2d5e3a 60%, #1e3d26 100%);
  padding: 8rem clamp(1.5rem, 5vw, 4rem) 4rem;
}
.page-hero .inner { max-width: 760px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--warm-white);
  margin-bottom: 1rem;
}
.page-hero p { font-size: 1.1rem; color: var(--cream); max-width: 640px; line-height: 1.7; }

/* ---- MENU PAGE HERO ---- */
.menu-hero {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1509440159596-0249088772ff?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center 60%;
}
.menu-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,48,28,0.78) 0%, rgba(44,42,39,0.60) 100%);
}
.menu-hero .inner { position: relative; z-index: 1; }

/* ---- HOMEPAGE HERO ---- */
.hero {
  height: 100svh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  background-image: url('../images/hero-product.jpg');
  background-size: cover;
  background-position: 58% 100%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(18,12,6,0.84) 0%,
    rgba(18,12,6,0.60) 42%,
    rgba(18,12,6,0.18) 100%
  );
}
.hero-product { display: none; }
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding-left: clamp(1.5rem, 7vw, 8rem);
  padding-right: 2rem;
}
.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 1rem;
  display: block;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.5vw, 3.8rem);
  color: var(--warm-white);
  line-height: 1.12;
  font-weight: 700;
}
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--cream);
  max-width: 520px;
  margin-top: 1.5rem;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 1rem; align-items: center; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-cta {
  display: inline-block;
  background: var(--amber);
  color: var(--charcoal);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background var(--transition);
}
.hero-cta:hover { background: var(--amber-light); }
.hero-cta-secondary {
  display: inline-block;
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(245,240,232,0.5);
  transition: border-color var(--transition);
}
.hero-cta-secondary:hover { border-color: var(--cream); }
.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--amber-light);
  margin-top: 0.75rem;
  max-width: 440px;
}
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
  font-size: 0;
}

@media (max-width: 767px) {
  .hero-content { padding-left: 1.5rem; padding-right: 1.5rem; max-width: 100%; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 2.8rem); }
}

/* ---- HOW IT WORKS ---- */
.how-it-works { background: var(--green-light); }
.how-it-works h2 { font-family: var(--font-display); font-size: 2.5rem; color: var(--charcoal); margin-bottom: 1.5rem; }
.how-intro { font-size: 1rem; color: var(--text-muted); max-width: 640px; margin-bottom: 3rem; line-height: 1.7; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step-card {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid rgba(44,42,39,0.07);
}
.step-number {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--charcoal);
  background: var(--green-light);
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 1rem;
  right: 1rem;
  line-height: 1;
  pointer-events: none;
}
.step-icon { margin-bottom: 0.75rem; color: var(--green-deep); }
.step-title { font-family: var(--font-display); font-size: 1.05rem; color: var(--charcoal); margin-bottom: 0.4rem; }
.step-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

@media (max-width: 1024px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---- FROM THE OVEN ---- */
.from-the-oven {
  background: var(--warm-white);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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)' opacity='0.04'/%3E%3C/svg%3E");
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 5vw, 4rem);
}
.oven-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.oven-image { aspect-ratio: 3/4; }
.oven-content { padding-left: 3rem; }
.oven-content h2 { font-family: var(--font-display); font-size: 2.2rem; color: var(--charcoal); margin-bottom: 1.5rem; line-height: 1.2; }
.oven-content p { font-size: 1rem; color: var(--text-muted); line-height: 1.8; max-width: 640px; }
@media (max-width: 767px) {
  .oven-grid { grid-template-columns: 1fr; }
  .oven-content { padding-left: 0; padding-top: 2rem; }
}

/* ---- BAKED GOODS ---- */
.baked-goods { background: var(--warm-white); }
.baked-goods h2 { font-family: var(--font-display); font-size: 2.5rem; color: var(--charcoal); margin-bottom: 1.5rem; }
.baked-intro { font-size: 1rem; color: var(--text-muted); max-width: 640px; margin-bottom: 0.75rem; line-height: 1.7; }
.baked-meta { margin-bottom: 2.5rem; }
.baked-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 1024px) { .baked-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .baked-grid { grid-template-columns: 1fr; } }

/* ---- CARD SHARED (baked-card + menu card) ---- */
.baked-card, .card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.baked-card:hover, .card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(44,42,39,0.14); }
.card-body { padding: 1rem 1.25rem; }
.card-name { font-family: var(--font-display); font-size: 1.1rem; color: var(--charcoal); margin-bottom: 0.25rem; }
.card-price { font-size: 0.9rem; color: var(--green-mid); font-weight: 600; margin-bottom: 0.4rem; }
.card-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ---- LUNCH CTA BANNER ---- */
.lunch-cta { background: linear-gradient(135deg, #C8855A 0%, var(--amber) 50%, #DDA070 100%); padding: 0 clamp(1.5rem, 5vw, 4rem); margin: 0; text-align: center; }
.lunch-cta-inner { max-width: 640px; margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) 0; }
.lunch-cta h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--charcoal); margin-bottom: 1rem; line-height: 1.15; }
.lunch-cta-body { font-size: 1rem; color: var(--charcoal); opacity: 0.8; margin-bottom: 0.75rem; line-height: 1.7; }
.lunch-cta-sub { font-size: 0.9rem; color: var(--charcoal); opacity: 0.65; margin-bottom: 2rem; line-height: 1.6; }

/* ---- GALLERY STRIP ---- */
.gallery-strip { background: var(--green-light); padding: 3rem 0; overflow: hidden; }
.gallery-heading {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 0 2rem;
}
.gallery-outer { overflow: hidden; }
.gallery-inner {
  display: flex;
  gap: 1rem;
  padding: 0 2rem;
  animation: galleryScroll 35s linear infinite;
  width: max-content;
}
.gallery-inner:hover { animation-play-state: paused; }
@keyframes galleryScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.gallery-item {
  width: 280px;
  flex-shrink: 0;
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* ---- LOCATIONS PREVIEW (homepage) ---- */
.locations-preview { background: var(--warm-white); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1200px; margin: 0 auto; }
@media (max-width: 767px) { .location-grid { grid-template-columns: 1fr; } }
.location-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.location-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(44,42,39,0.12); }
.location-card-img { aspect-ratio: 16/9; }
.location-card-body { padding: 1.5rem; flex: 1; }
.location-card-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--charcoal); margin-bottom: 0.25rem; }
.location-card-tagline { font-family: var(--font-display); font-style: italic; color: var(--text-muted); font-size: 1rem; margin-bottom: 0.75rem; }
.location-card-address { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.location-card-hours { font-size: 0.9rem; color: var(--green-mid); font-weight: 600; margin-bottom: 1rem; }
.location-card-link { font-size: 0.9rem; color: var(--green-deep); font-weight: 500; border-bottom: 1px solid transparent; transition: border-color var(--transition); }
.location-card-link:hover { border-color: var(--green-deep); }

/* ---- MENU PAGE ---- */
.menu-subnav {
  position: sticky;
  top: 64px; /* measured mobile nav height (24px logo, 16px hamburger content, + 2×16px padding) */
  background: var(--cream);
  border-bottom: 1px solid var(--green-light);
  z-index: 100;
  padding: 0.75rem 2rem;
}
.menu-subnav-inner {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.menu-subnav-inner::-webkit-scrollbar { display: none; }
.menu-subnav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.menu-subnav a:hover { color: var(--green-deep); border-color: var(--green-deep); }
.menu-section { padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem); }
.menu-section:nth-child(even) { background: var(--cream); }
.menu-section h2 { font-family: var(--font-display); font-size: 2rem; color: var(--charcoal); margin-bottom: 1.5rem; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 1024px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .menu-grid { grid-template-columns: 1fr; } }
@media (min-width: 768px) { .menu-subnav { top: 76px; } } /* measured desktop nav height (43.5px CTA + 2×16px padding) */
.lunch-callout {
  background: var(--amber-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.lunch-callout p { font-size: 0.95rem; color: var(--charcoal); font-weight: 500; }

/* ---- ORDER PAGE ---- */
.order-hero { background: var(--green-deep); padding: 8rem clamp(1.5rem, 5vw, 4rem) 3rem; }
.order-hero h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--warm-white); margin-bottom: 0.75rem; }
.order-hero p { font-size: 1rem; color: var(--cream); max-width: 640px; line-height: 1.7; }

.order-form-wrap { max-width: 720px; margin: 0 auto; padding: 0 clamp(1rem, 3vw, 1.5rem) 5rem; }

.step-indicator { display: flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 2rem 0 1rem; }
.step-dot { width: 12px; height: 12px; border-radius: 50%; background: transparent; border: 2px solid var(--green-light); transition: all var(--transition); }
.step-dot.active { background: var(--green-deep); border-color: var(--green-deep); }
.step-dot.done { background: var(--green-mid); border-color: var(--green-mid); }

.steps-container { position: relative; overflow: hidden; }
.order-step { display: none; transition: transform 0.25s ease, opacity 0.25s ease; }
.order-step.active { display: block; }

.order-step h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--charcoal); margin-bottom: 1.5rem; }

.location-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
@media (max-width: 480px) { .location-cards { grid-template-columns: 1fr; } }
.location-option {
  border: 2px solid var(--green-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  background: white;
}
.location-option:hover { border-color: var(--green-mid); }
.location-option.selected { border-color: var(--green-deep); background: var(--cream); }
.location-option h3 { font-family: var(--font-display); font-size: 1rem; color: var(--charcoal); margin-bottom: 0.25rem; }
.location-option p { font-size: 0.85rem; color: var(--text-muted); }

.date-toggles, .notify-toggles { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.toggle-btn {
  padding: 0.6rem 1.25rem;
  border: 2px solid var(--green-light);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--charcoal);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.toggle-btn:hover { border-color: var(--green-mid); }
.toggle-btn.selected { background: var(--green-deep); border-color: var(--green-deep); color: white; }

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--charcoal); margin-bottom: 0.5rem; }
.form-group select,
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--green-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--charcoal);
  background: white;
  transition: border-color var(--transition);
}
.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus { border-color: var(--green-mid); outline: none; }
.form-group.has-error select,
.form-group.has-error input,
.form-group.has-error textarea { border-color: #c0392b; }
.field-error { display: none; font-size: 0.8rem; color: #c0392b; margin-top: 0.35rem; }
.form-group.has-error .field-error { display: block; }
.char-count { font-size: 0.78rem; color: var(--text-muted); text-align: right; margin-top: 0.25rem; }

.order-items-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
@media (max-width: 480px) { .order-items-grid { grid-template-columns: 1fr; } }

.order-item-card {
  border: 2px solid var(--green-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  background: white;
}
.order-item-card.selected { border-color: var(--green-deep); background: var(--cream); }
.order-item-card h3 { font-family: var(--font-display); font-size: 1rem; color: var(--charcoal); margin-bottom: 0.2rem; }
.item-price { font-size: 0.9rem; color: var(--green-mid); font-weight: 600; margin-bottom: 0.35rem; }
.item-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }

.qty-row { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.75rem; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--green-mid);
  background: transparent; color: var(--green-deep);
  font-size: 1.1rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition);
  line-height: 1;
}
.qty-btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: white; }
.qty-display { font-size: 1rem; font-weight: 600; min-width: 20px; text-align: center; }

.side-radios { display: flex; gap: 0.5rem; margin-top: 0.5rem; flex-wrap: wrap; }
.side-radio {
  padding: 0.25rem 0.7rem;
  border: 1.5px solid var(--green-light);
  border-radius: var(--radius-sm);
  font-size: 0.8rem; font-weight: 500;
  cursor: pointer; transition: all var(--transition);
  background: white; color: var(--charcoal);
}
.side-radio.selected { background: var(--green-mid); border-color: var(--green-mid); color: white; }

.order-summary-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 2px solid var(--green-light);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 -4px 20px rgba(44,42,39,0.08);
  flex-wrap: wrap;
  z-index: 200;
}
.summary-items { font-size: 0.88rem; color: var(--text-muted); }
.summary-total { font-family: var(--font-display); font-size: 1.1rem; color: var(--charcoal); font-weight: 700; }

.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--green-light);
}

.consent-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}
.consent-row input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--green-deep); }
.consent-row label { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; cursor: pointer; }

/* Review step */
.review-block { background: var(--cream); border-radius: var(--radius-md); padding: 1.5rem; margin-bottom: 1.5rem; }
.review-row { display: flex; justify-content: space-between; align-items: baseline; padding: 0.45rem 0; border-bottom: 1px solid rgba(125,184,122,0.2); font-size: 0.95rem; }
.review-row:last-child { border-bottom: none; }
.review-label { color: var(--text-muted); }
.review-val { color: var(--charcoal); font-weight: 500; }
.review-total-row { display: flex; justify-content: space-between; font-family: var(--font-display); font-size: 1.4rem; color: var(--charcoal); padding-top: 1rem; margin-top: 0.5rem; border-top: 2px solid var(--green-light); }
.review-info { background: white; border-radius: var(--radius-md); padding: 1rem 1.25rem; margin-bottom: 1.5rem; border: 1px solid var(--green-light); font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.review-info strong { color: var(--charcoal); }

.payment-stub-notice {
  background: var(--cream);
  border: 1.5px dashed var(--green-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.payment-stub-notice p { font-size: 0.9rem; color: var(--text-muted); }
.payment-stub-notice p + p { margin-top: 0.35rem; font-size: 0.8rem; }

.btn-pay {
  width: 100%; padding: 1rem;
  background: var(--green-deep); color: var(--warm-white);
  border: none; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  cursor: pointer; transition: background var(--transition);
}
.btn-pay:hover:not(:disabled) { background: var(--green-mid); }
.btn-pay:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-back {
  padding: 0.7rem 1.5rem;
  border: 2px solid var(--green-light);
  border-radius: var(--radius-sm);
  background: transparent; color: var(--charcoal);
  font-size: 0.95rem; font-weight: 500;
  cursor: pointer; transition: all var(--transition);
}
.btn-back:hover { border-color: var(--green-mid); }

.btn-next {
  padding: 0.7rem 1.75rem;
  background: var(--green-deep); color: white;
  border: none; border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: background var(--transition);
}
.btn-next:hover:not(:disabled) { background: var(--green-mid); }
.btn-next:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---- ORDER CONFIRMATION ---- */
.confirmation-page { min-height: 100vh; padding-top: 80px; background: var(--warm-white); }
.confirmation-inner { max-width: 560px; margin: 0 auto; padding: 4rem 1.5rem; text-align: center; }
.check-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--green-mid); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.confirmation-inner h1 { font-size: 2rem; color: var(--charcoal); margin-bottom: 1rem; }
.conf-message { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.conf-order-id { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 2rem; }
.conf-summary { background: var(--cream); border-radius: var(--radius-md); padding: 1.25rem; text-align: left; margin-bottom: 1.5rem; }
.conf-row { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 0.4rem 0; border-bottom: 1px solid rgba(125,184,122,0.15); color: var(--charcoal); }
.conf-row:last-child { border-bottom: none; }
.conf-total { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; display: flex; justify-content: space-between; padding-top: 0.75rem; margin-top: 0.5rem; border-top: 2px solid var(--green-light); }
.conf-pickup { background: var(--green-deep); color: var(--cream); border-radius: var(--radius-md); padding: 1.25rem; text-align: left; margin-bottom: 1.5rem; font-size: 0.95rem; line-height: 1.8; }
.conf-pickup strong { color: var(--warm-white); }
.conf-link { color: var(--green-mid); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color var(--transition); }
.conf-link:hover { border-color: var(--green-mid); }
.conf-not-found { text-align: center; padding: 4rem 1.5rem; }

/* ---- STAFF DASHBOARD ---- */
body.staff-body { background: var(--cream); }
body.staff-body #nav-root { display: none; }
body.staff-body #footer-root { display: none; }

.password-gate { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--cream); }
.password-card {
  max-width: 380px; width: 100%;
  background: white; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: 3rem 2.5rem; text-align: center;
}
.card-logo { font-family: var(--font-display); font-size: 1.4rem; color: var(--green-deep); margin-bottom: 0.5rem; display: block; }
.password-card h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--charcoal); margin-bottom: 2rem; }
.password-card .form-group { text-align: left; }
.pw-error { display: none; font-size: 0.85rem; color: #c0392b; margin-top: 0.75rem; text-align: center; }
.btn-enter {
  width: 100%; padding: 0.8rem;
  background: var(--green-deep); color: white;
  border: none; border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: background var(--transition);
}
.btn-enter:hover { background: var(--green-mid); }

.dashboard { display: none; }
.dashboard-header {
  background: var(--green-deep); color: var(--cream);
  padding: 1.25rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.dashboard-header h1 { font-family: var(--font-display); font-size: 1.4rem; color: var(--warm-white); }
.dash-date { font-size: 0.82rem; color: var(--green-light); margin-top: 0.1rem; }
.dash-controls { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.dash-controls select {
  padding: 0.4rem 0.75rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--green-mid); background: transparent;
  color: var(--cream); font-size: 0.85rem; cursor: pointer;
}
.dash-controls select option { color: var(--charcoal); background: white; }
.refresh-label { font-size: 0.82rem; color: var(--green-light); display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.pill-toggle { position: relative; width: 40px; height: 22px; flex-shrink: 0; }
.pill-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.pill-slider { position: absolute; inset: 0; background: rgba(184,216,176,0.3); border-radius: 22px; cursor: pointer; transition: background var(--transition); }
.pill-slider::before { content: ''; position: absolute; height: 16px; width: 16px; left: 3px; top: 3px; background: white; border-radius: 50%; transition: transform var(--transition); }
.pill-toggle input:checked + .pill-slider { background: var(--green-mid); }
.pill-toggle input:checked + .pill-slider::before { transform: translateX(18px); }
.refresh-time { font-size: 0.75rem; color: var(--green-light); }

.kanban-board {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem; padding: 1.5rem 2rem;
  align-content: start; min-height: calc(100vh - 74px);
}
@media (max-width: 1024px) { .kanban-board { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .kanban-board { grid-template-columns: 1fr; padding: 1rem; } }

.kanban-col { min-width: 0; }
.kanban-col-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--green-light); }
.col-title { font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.col-badge { font-size: 0.72rem; font-weight: 600; padding: 0.15rem 0.6rem; border-radius: 100px; }
.col-awaiting .col-title { color: var(--text-muted); }
.col-awaiting .col-badge { background: #eee; color: var(--text-muted); }
.col-received .col-title { color: var(--green-deep); }
.col-received .col-badge { background: var(--green-light); color: var(--green-deep); }
.col-ready .col-title { color: var(--charcoal); }
.col-ready .col-badge { background: var(--amber); color: var(--charcoal); }
.col-pickedup .col-title { color: var(--green-deep); }
.col-pickedup .col-badge { background: var(--green-deep); color: var(--cream); }

.order-card {
  background: white; border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); padding: 1rem; margin-bottom: 0.75rem;
  transition: box-shadow var(--transition);
}
.order-card:hover { box-shadow: 0 4px 24px rgba(44,42,39,0.12); }
.order-card.pickedup { opacity: 0.6; }
.oc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.oc-id { font-size: 0.75rem; color: var(--text-muted); }
.oc-time { font-size: 0.78rem; font-weight: 600; background: var(--amber-light); color: var(--charcoal); padding: 0.2rem 0.6rem; border-radius: 100px; }
.oc-name { font-family: var(--font-display); font-size: 1rem; color: var(--charcoal); margin-bottom: 0.4rem; }
.oc-items { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 0.6rem; }
.oc-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }
.badge-loc { font-size: 0.7rem; padding: 0.15rem 0.5rem; background: var(--green-light); color: var(--green-deep); border-radius: 100px; font-weight: 600; }
.badge-notify { font-size: 0.7rem; padding: 0.15rem 0.5rem; border: 1px solid var(--green-mid); color: var(--green-mid); border-radius: 100px; font-weight: 600; }
.oc-contact { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.oc-total { font-size: 0.9rem; font-weight: 600; color: var(--charcoal); margin-bottom: 0.75rem; }
.btn-action {
  width: 100%; padding: 0.5rem; border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 600; cursor: pointer; border: none;
  transition: background var(--transition);
}
.btn-action.mark-ready { background: var(--amber); color: var(--charcoal); }
.btn-action.mark-ready:hover { background: var(--amber-light); }
.btn-action.mark-pickedup { background: var(--green-deep); color: var(--cream); }
.btn-action.mark-pickedup:hover { background: var(--green-mid); }

.toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  background: var(--green-deep); color: white;
  padding: 0.75rem 1.25rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; z-index: 9999;
  transform: translateY(80px); opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  box-shadow: var(--shadow-card);
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ---- LOCATIONS PAGE ---- */
.loc-section { padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem); }
.loc-section:nth-child(odd) { background: var(--warm-white); }
.loc-section:nth-child(even) { background: var(--cream); }
.loc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.loc-split-img { height: 480px; border-radius: var(--radius-lg); overflow: hidden; }
.loc-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--green-mid); display: block; margin-bottom: 0.5rem; }
.loc-name { font-family: var(--font-display); font-size: 2.2rem; color: var(--charcoal); margin-bottom: 0.25rem; }
.loc-tagline { font-family: var(--font-display); font-style: italic; color: var(--text-muted); margin-bottom: 1.25rem; font-size: 1.05rem; display: block; }
.loc-detail { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 0.35rem; }
.loc-hours { font-size: 0.95rem; color: var(--green-mid); font-weight: 600; margin-bottom: 0.2rem; }
.loc-lunch { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.75rem; }
.btn-directions {
  display: inline-block; padding: 0.8rem 1.75rem;
  background: var(--green-deep); color: var(--warm-white);
  border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem;
  transition: background var(--transition);
}
.btn-directions:hover { background: var(--green-mid); }
.loc-contact { background: var(--cream); padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem); text-align: center; }
.loc-contact p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.loc-contact a { color: var(--green-deep); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color var(--transition); }
.loc-contact a:hover { border-color: var(--green-deep); }
@media (max-width: 767px) {
  .loc-split { grid-template-columns: 1fr; gap: 2rem; }
  .loc-split-img { height: 260px; }
}

/* ---- LOCATIONS PREVIEW HEADING ---- */
.locations-preview-heading {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

/* ---- PROOF STRIP ---- */
.proof-strip { background: var(--green-deep); padding: clamp(3rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
@media (max-width: 1024px) { .proof-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .proof-grid { grid-template-columns: 1fr; } }
.proof-card {
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid rgba(184,216,176,0.15);
}
.proof-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--warm-white);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.proof-cite { font-size: 0.82rem; color: var(--green-light); font-weight: 600; display: block; }

/* ---- BAGEL PROCESS ---- */
.bagel-process { background: var(--cream); padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 5vw, 4rem); }
.bagel-process h2 { font-family: var(--font-display); font-size: 2.2rem; color: var(--charcoal); margin-bottom: 2.5rem; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1200px;
}
@media (max-width: 1024px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { padding: 1.5rem 0; border-top: 2px solid var(--green-light); }
.process-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.process-title { font-family: var(--font-display); font-size: 1.1rem; color: var(--charcoal); margin-bottom: 0.4rem; }
.process-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ---- PATIO NOTE ---- */
.patio-note { background: var(--green-light); padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem); }
.patio-inner { max-width: 720px; }
.patio-text { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.4rem); font-style: italic; color: var(--charcoal); line-height: 1.6; }

/* ---- ORDER NOTICE ---- */
.order-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.25rem;
  background: rgba(184,216,176,0.15);
  border: 1px solid rgba(184,216,176,0.3);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--cream);
  line-height: 1.5;
  max-width: 640px;
}
.order-notice svg { flex-shrink: 0; margin-top: 2px; }

/* ---- FOOTER ABOUT ---- */
.footer-about { font-size: 0.82rem; color: rgba(184,216,176,0.7); line-height: 1.6; margin-top: 0.5rem; max-width: 240px; }
