/* =============================================
   STUMBLE – Main Stylesheet
   Orange-forward, bold, Wellington café vibes
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&family=DM+Serif+Display:ital@0;1&display=swap');

/* ---- TOKENS ---- */
:root {
  --orange:        #F4600C;
  --orange-light:  #FF7A2F;
  --orange-dark:   #C94D08;
  --orange-pale:   #FFF0E8;
  --orange-mid:    #FFDBCA;

  --black:         #0F0D0B;
  --ink:           #1A1713;
  --charcoal:      #2E2923;
  --muted:         #7A6F66;
  --border:        #E8E0D8;
  --bg:            #FDFAF7;
  --white:         #FFFFFF;

  --font-display:  'Bebas Neue', sans-serif;
  --font-serif:    'DM Serif Display', serif;
  --font-body:     'DM Sans', sans-serif;

  --radius:        12px;
  --radius-sm:     8px;
  --radius-lg:     20px;
  --shadow:        0 4px 24px rgba(15,13,11,0.10);
  --shadow-lg:     0 12px 48px rgba(15,13,11,0.16);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; }
input, select { font-family: var(--font-body); }

/* ---- NAV ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 32px;
  padding: 0 40px;
  height: 64px;
  background: rgba(253,250,247,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--orange);
  flex-shrink: 0;
}
.dot { color: var(--black); }
.nav-links {
  display: flex; gap: 8px;
  flex: 1;
}
.nav-link {
  font-size: 14px; font-weight: 500;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--orange);
  background: var(--orange-pale);
}
.nav-right { display: flex; gap: 10px; align-items: center; }

.btn-ghost {
  font-size: 14px; font-weight: 500;
  color: var(--charcoal);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

.btn-primary {
  font-size: 14px; font-weight: 600;
  color: var(--white);
  background: var(--orange);
  padding: 8px 20px;
  border-radius: 20px;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* ---- HERO ---- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 520px;
  padding: 80px 40px 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.blob-1 {
  width: 600px; height: 600px;
  background: var(--orange);
  top: -200px; right: -100px;
}
.blob-2 {
  width: 400px; height: 400px;
  background: #FF7A2F;
  bottom: -100px; left: 20%;
}
.grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero-content { position: relative; z-index: 1; }
.hero-tag {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange-dark);
  background: var(--orange-pale);
  border: 1px solid var(--orange-mid);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.05;
  color: var(--black);
  margin-bottom: 16px;
}
.hero-title em {
  font-style: italic;
  color: var(--orange);
}
.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.search-bar {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
  transition: border-color 0.2s;
}
.search-bar:focus-within { border-color: var(--orange); }
.search-icon { font-size: 20px; color: var(--muted); margin-right: 8px; }
.search-bar input {
  flex: 1; border: none; outline: none;
  font-size: 15px; color: var(--ink);
  background: transparent;
}
.search-btn {
  background: var(--orange);
  color: var(--white);
  font-size: 14px; font-weight: 600;
  padding: 10px 24px;
  border-radius: 40px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.search-btn:hover { background: var(--orange-dark); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag-pill {
  font-size: 13px; font-weight: 500;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.2s;
}
.tag-pill:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-pale); }

/* Hero float card */
.hero-image {
  position: relative; z-index: 1;
  display: flex; justify-content: center; align-items: center;
}
.hero-card-float {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 260px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.hf-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--orange); margin-bottom: 8px; }
.hf-name { font-family: var(--font-serif); font-size: 22px; color: var(--black); margin-bottom: 4px; }
.hf-sub { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.hf-stars { color: var(--orange); font-size: 16px; }

/* ---- SPECIALS BAR — quiet editorial style ---- */
.specials-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.specials-bar-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px;
  display: flex; align-items: center; gap: 20px;
  height: 44px;
}
.specials-bar-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange);
  flex-shrink: 0;
  white-space: nowrap;
}
.specials-bar-items {
  display: flex; align-items: center; gap: 16px;
  overflow: hidden;
  flex: 1;
}
.specials-bar-item {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.specials-bar-item:hover { opacity: 0.7; }
.specials-bar-cafe {
  font-size: 12px; font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
}
.specials-bar-offer {
  font-size: 12px; font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
}
.specials-bar-sep {
  color: var(--border);
  font-size: 14px;
  flex-shrink: 0;
}

/* ---- MAIN CONTENT ---- */
.main-content { padding: 40px; max-width: 1200px; margin: 0 auto; }

/* ---- FILTER BAR ---- */
.filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap; gap: 12px;
}
.filter-left { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  font-size: 14px; font-weight: 500;
  color: var(--muted);
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 8px 18px;
  border-radius: 20px;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}
.filter-right { display: flex; gap: 10px; align-items: center; }
.filter-select {
  font-size: 14px; color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  outline: none;
}
.view-toggle {
  font-size: 13px; color: var(--muted);
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

/* ---- CAFÉ GRID ---- */
.cafe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cafe-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(15,13,11,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.cafe-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cafe-img {
  height: 180px;
  position: relative;
  display: flex; align-items: flex-start;
  padding: 14px;
  gap: 8px;
  flex-wrap: wrap;
}
.cafe-badge {
  font-size: 11px; font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.cafe-badge.preorder { background: var(--orange); color: white; }
.cafe-badge.open { background: rgba(255,255,255,0.9); color: #1a7a1a; }
.cafe-badge.new-badge { background: var(--black); color: white; }
.cafe-info { padding: 16px; }
.cafe-name { font-family: var(--font-serif); font-size: 20px; color: var(--black); margin-bottom: 4px; }
.cafe-sub { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.cafe-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cafe-stars { font-size: 13px; color: var(--orange); }
.cafe-count { color: var(--muted); font-size: 12px; }
.cafe-price { font-size: 13px; font-weight: 600; color: var(--charcoal); }
.cafe-specials-preview {
  font-size: 12px; font-weight: 500;
  color: var(--orange-dark);
  background: var(--orange-pale);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--orange);
}
.save-btn {
  position: absolute; top: 192px; right: 14px;
  font-size: 20px;
  color: var(--muted);
  background: var(--white);
  border: 1.5px solid var(--border);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  z-index: 2;
}
.save-btn:hover, .save-btn.saved { color: var(--orange); border-color: var(--orange); }
.save-btn.saved { background: var(--orange-pale); }

/* ---- FOOTER ---- */
.footer {
  margin-top: 80px;
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 40px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 24px; letter-spacing: 2px;
  color: var(--orange);
}
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 4px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ---- CAFÉ DETAIL PAGE ---- */
.cafe-detail-hero {
  height: 340px;
  background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 100%);
  position: relative;
  display: flex; align-items: flex-end;
  padding: 32px 40px;
}
.cafe-detail-hero-content { position: relative; z-index: 1; color: white; }
.cafe-detail-name { font-family: var(--font-serif); font-size: 48px; line-height: 1; margin-bottom: 8px; }
.cafe-detail-sub { font-size: 15px; opacity: 0.8; }
.cafe-detail-badges { display: flex; gap: 8px; margin-top: 12px; }
.detail-badge {
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
  background: rgba(255,255,255,0.2); color: white;
  letter-spacing: 0.8px; text-transform: uppercase;
}

/* ---- MENU SECTION ---- */
.menu-section { padding: 40px; max-width: 1000px; margin: 0 auto; }
.menu-category { margin-bottom: 40px; }
.menu-category-title {
  font-family: var(--font-serif);
  font-size: 26px; color: var(--black);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange-mid);
}
.menu-items { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Standard menu item — no photo */
.menu-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
  gap: 12px;
}
.menu-item:hover { border-color: var(--orange); }
.menu-item-name { font-weight: 500; font-size: 15px; color: var(--ink); }
.menu-item-desc { font-size: 12px; color: var(--muted); margin-top: 2px; }
.menu-item-price { font-weight: 700; color: var(--orange); font-size: 15px; flex-shrink: 0; }
.menu-item-add {
  background: var(--orange);
  color: white;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 18px; line-height: 28px;
  text-align: center;
  margin-left: 8px;
  flex-shrink: 0;
  transition: background 0.2s;
  cursor: pointer; border: none;
}
.menu-item-add:hover { background: var(--orange-dark); }

/* Photo menu item — shows image */
.menu-item-photo {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  grid-column: span 1;
}
.menu-item-photo:hover { border-color: var(--orange); box-shadow: 0 4px 16px rgba(244,96,12,0.10); }
.menu-item-photo-img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover;
  background: var(--orange-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--orange-mid);
  flex-shrink: 0;
}
.menu-item-photo-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.menu-item-photo-body {
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 4px; flex: 1;
}
.menu-item-photo-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

/* Wide photo item — spans full row, landscape image on side */
.menu-item-photo-wide {
  display: flex; flex-direction: row;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  grid-column: span 2;
  cursor: pointer;
}
.menu-item-photo-wide:hover { border-color: var(--orange); box-shadow: 0 4px 16px rgba(244,96,12,0.10); }
.menu-item-photo-wide-img {
  width: 160px; flex-shrink: 0;
  background: var(--orange-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
}
.menu-item-photo-wide-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.menu-item-photo-wide-body {
  padding: 16px;
  display: flex; flex-direction: column; justify-content: center; flex: 1;
}
.menu-item-photo-wide-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px;
}

/* Special badge on photo items */
.menu-special-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  background: var(--orange); color: white;
  padding: 2px 8px; border-radius: 20px;
  margin-bottom: 6px; align-self: flex-start;
}

/* ---- AUTH PAGE ---- */
.auth-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--orange-pale) 0%, var(--bg) 100%);
  padding: 40px;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 420px; width: 100%;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.auth-logo { font-family: var(--font-display); font-size: 32px; color: var(--orange); margin-bottom: 8px; letter-spacing: 2px; }
.auth-title { font-family: var(--font-serif); font-size: 28px; color: var(--black); margin-bottom: 4px; }
.auth-sub { font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.auth-tabs { display: flex; gap: 0; margin-bottom: 28px; border-bottom: 2px solid var(--border); }
.auth-tab {
  font-size: 14px; font-weight: 600;
  padding: 10px 20px;
  color: var(--muted);
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.auth-tab.active { color: var(--orange); border-bottom-color: var(--orange); }
.form-group { margin-bottom: 20px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--charcoal); display: block; margin-bottom: 6px; }
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--orange); background: var(--white); }
.form-submit {
  width: 100%;
  background: var(--orange);
  color: white;
  font-size: 15px; font-weight: 700;
  padding: 14px;
  border-radius: var(--radius);
  transition: background 0.2s;
  margin-top: 8px;
}
.form-submit:hover { background: var(--orange-dark); }
.form-divider { text-align: center; color: var(--muted); font-size: 13px; margin: 16px 0; }
.btn-google {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px; font-weight: 600; color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.2s;
}
.btn-google:hover { border-color: var(--orange); }

/* ---- DASHBOARD ---- */
.dashboard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--black);
  padding: 32px 0;
  position: sticky; top: 0; height: 100vh;
  overflow-y: auto;
}
.sidebar-logo {
  font-family: var(--font-display);
  font-size: 26px; letter-spacing: 2px;
  color: var(--orange);
  padding: 0 24px;
  margin-bottom: 32px;
}
.sidebar-section { margin-bottom: 24px; }
.sidebar-label {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: rgba(255,255,255,0.3);
  padding: 0 24px;
  margin-bottom: 8px;
}
.sidebar-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 24px;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}
.sidebar-link:hover, .sidebar-link.active {
  color: var(--white);
  background: rgba(244,96,12,0.15);
  border-left: 3px solid var(--orange);
  padding-left: 21px;
}
.sidebar-link .icon { font-size: 16px; }

.dashboard-main { background: var(--bg); padding: 40px; overflow-y: auto; }
.dashboard-header { margin-bottom: 32px; }
.dashboard-title { font-family: var(--font-serif); font-size: 36px; color: var(--black); }
.dashboard-sub { font-size: 15px; color: var(--muted); margin-top: 4px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.stat-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 8px; }
.stat-value { font-family: var(--font-display); font-size: 36px; color: var(--black); }
.stat-change { font-size: 12px; color: #2a9d2a; margin-top: 4px; }
.stat-card.highlight { background: var(--orange); border-color: var(--orange); }
.stat-card.highlight .stat-label, .stat-card.highlight .stat-value, .stat-card.highlight .stat-change { color: white; }

.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dash-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.dash-card-title { font-family: var(--font-serif); font-size: 20px; margin-bottom: 16px; color: var(--black); }

/* Order rows */
.order-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.order-row:last-child { border-bottom: none; }
.order-name { font-weight: 500; font-size: 14px; }
.order-time { font-size: 12px; color: var(--muted); }
.order-total { font-weight: 700; color: var(--orange); }
.order-status {
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.status-new { background: var(--orange-pale); color: var(--orange-dark); }
.status-ready { background: #e8f8e8; color: #1a7a1a; }
.status-done { background: var(--border); color: var(--muted); }

/* Specials form */
.special-form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---- REVIEW SECTION ---- */
.reviews-section { padding: 40px; max-width: 800px; margin: 0 auto; }
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.reviewer-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: white;
}
.reviewer-name { font-weight: 600; font-size: 14px; }
.reviewer-meta { font-size: 12px; color: var(--muted); }
.review-stars { color: var(--orange); }
.review-text { font-size: 14px; color: var(--charcoal); line-height: 1.7; }

/* ---- ORDER CART ---- */
.cart-drawer {
  position: fixed; right: 0; top: 64px; bottom: 0;
  width: 340px;
  background: var(--white);
  border-left: 1px solid var(--border);
  box-shadow: -8px 0 32px rgba(15,13,11,0.10);
  transform: translateX(100%);
  transition: transform 0.3s;
  z-index: 200;
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.cart-title { font-family: var(--font-serif); font-size: 22px; }
.cart-close { font-size: 24px; color: var(--muted); background: none; border: none; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.cart-item-name { font-size: 14px; font-weight: 500; }
.cart-item-qty { font-size: 12px; color: var(--muted); }
.cart-item-price { font-weight: 700; color: var(--orange); }
.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}
.cart-total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.cart-checkout {
  width: 100%;
  background: var(--orange); color: white;
  font-size: 15px; font-weight: 700;
  padding: 14px; border-radius: var(--radius);
  transition: background 0.2s;
}
.cart-checkout:hover { background: var(--orange-dark); }
.cart-note {
  font-size: 11px; color: var(--muted);
  text-align: center; margin-top: 10px;
}

/* ---- SAVED PAGE ---- */
.page-header { padding: 40px 40px 0; }
.page-title { font-family: var(--font-serif); font-size: 40px; color: var(--black); }
.page-sub { font-size: 15px; color: var(--muted); margin-top: 6px; }

/* ---- MAP PAGE ---- */
.map-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  height: calc(100vh - 64px);
}
.map-sidebar {
  background: var(--white);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  padding: 20px;
}
.map-placeholder {
  background: linear-gradient(135deg, var(--orange-pale) 0%, var(--orange-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 16px;
}
.map-placeholder-text { font-family: var(--font-serif); font-size: 28px; color: var(--orange-dark); text-align: center; }
.map-placeholder-sub { font-size: 14px; color: var(--muted); }
.map-cta {
  background: var(--orange); color: white;
  font-size: 14px; font-weight: 700;
  padding: 12px 24px; border-radius: var(--radius);
  transition: background 0.2s;
}
.map-cta:hover { background: var(--orange-dark); }

/* ---- MOBILE BOTTOM NAV ---- */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  z-index: 200;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-nav-inner {
  display: flex;
  align-items: stretch;
  height: 56px;
}
.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  transition: color 0.15s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.mobile-nav-item.active,
.mobile-nav-item:hover { color: var(--orange); }
.mobile-nav-icon { width: 22px; height: 22px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 48px 20px 40px; }
  .hero-image { display: none; }
  .main-content { padding: 24px 20px 80px; }
  .cafe-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .map-layout { grid-template-columns: 1fr; }
  .menu-items { grid-template-columns: 1fr; }
  .mobile-nav { display: block; }
  .toast { bottom: 72px; }
}

/* ---- TOAST ---- */
.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%);
  background: var(--black); color: white;
  font-size: 14px; font-weight: 500;
  padding: 12px 24px;
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.toast.show { opacity: 1; }

/* ---- PREORDER BADGE (global) ---- */
.preorder-strip {
  background: var(--orange);
  color: white;
  text-align: center;
  font-size: 13px; font-weight: 600;
  padding: 10px;
  letter-spacing: 0.5px;
}
.preorder-strip span { background: rgba(255,255,255,0.2); padding: 2px 10px; border-radius: 20px; margin-left: 8px; }
