/* ============================================================
   GOLDEN PIZZA CAFE — MAIN STYLESHEET
   ------------------------------------------------------------
   Design language: dark stone-and-embers backdrop (drawn from
   the restaurant's own poster art), a bold condensed display
   face for headings, and a "torn paper" zig-zag divider lifted
   directly from the Menu B/C poster graphics as the site's
   signature structural motif. Prices are set in a receipt-style
   monospace to reinforce "this is a real order, not a brochure".
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Work+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  /* ---- Color tokens ---- */
  --ink:        #140e0c;
  --bg:         #17100e;
  --bg-alt:     #1e1512;
  --surface:    #241914;
  --surface-2:  #2c1e18;
  --maroon:     #7c1420;
  --maroon-deep:#3d0a10;
  --maroon-glow:#a01e2b;
  --gold:       #e8a33d;
  --gold-deep:  #b8791f;
  --yellow:     #ffd447;
  --cream:      #fdf8f0;
  --cream-dim:  #e9dcc9;
  --text-muted: #c9b7a8;
  --line:       rgba(232,163,61,0.22);
  --shadow-lg:  0 24px 60px rgba(0,0,0,0.45);
  --shadow-md:  0 10px 28px rgba(0,0,0,0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Work Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--cream);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-head {
  margin-bottom: 34px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-top: 10px;
}
.section-head p {
  color: var(--text-muted);
  max-width: 560px;
  margin-top: 10px;
}

/* ---- Signature motif: torn-paper zig-zag divider ---- */
.torn-divider {
  height: 22px;
  width: 100%;
  background: var(--gold);
  clip-path: polygon(
    0% 100%, 4% 0%, 8% 100%, 12% 0%, 16% 100%, 20% 0%, 24% 100%, 28% 0%,
    32% 100%, 36% 0%, 40% 100%, 44% 0%, 48% 100%, 52% 0%, 56% 100%, 60% 0%,
    64% 100%, 68% 0%, 72% 100%, 76% 0%, 80% 100%, 84% 0%, 88% 100%, 92% 0%,
    96% 100%, 100% 0%, 100% 100%
  );
  opacity: 0.9;
}
.torn-divider.dark { background: var(--maroon); }
.torn-divider.thin { height: 12px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(232,163,61,0.28);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(232,163,61,0.4); transform: translateY(-1px); }

.btn-dark {
  background: var(--maroon);
  color: var(--cream);
  box-shadow: 0 10px 24px rgba(124,20,32,0.35);
}
.btn-dark:hover { background: var(--maroon-glow); }

.btn-outline {
  background: transparent;
  border-color: rgba(253,248,240,0.35);
  color: var(--cream);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-whatsapp {
  background: #25D366;
  color: #06210f;
}
.btn-whatsapp:hover { filter: brightness(1.08); }

.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 12px; }

/* ============ NAVBAR ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(20,14,12,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 46px; width: 46px; border-radius: 50%; }
.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--cream);
}
.brand-name span { display: block; font-size: 10px; letter-spacing: 0.18em; color: var(--gold); font-family: var(--font-mono); text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--cream-dim);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.2s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-icon-btn {
  position: relative;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--cream);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.nav-icon-btn:hover { border-color: var(--gold); }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  background: var(--maroon-glow);
  color: var(--cream);
  font-size: 10px;
  font-family: var(--font-mono);
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--bg);
}
.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
}
.nav-search input {
  background: transparent;
  border: none;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 13px;
  width: 150px;
  outline: none;
}
.nav-search input::placeholder { color: var(--text-muted); }

.hamburger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.hamburger span { width: 18px; height: 2px; background: var(--cream); display: block; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 20px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 6px;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--cream-dim);
}
.mobile-menu a:hover { color: var(--gold); }

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(124,20,32,0.5), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(232,163,61,0.18), transparent 45%),
    linear-gradient(160deg, #1c1210 0%, #100b0a 60%, #0c0807 100%);
  padding: 76px 0 60px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(232,163,61,0.1);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 3px rgba(61,220,132,0.2);
}
.hero h1 {
  font-size: clamp(42px, 6.4vw, 74px);
  line-height: 0.98;
  color: var(--cream);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold), var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .sub {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 21px);
  color: var(--cream-dim);
  text-transform: none;
  letter-spacing: 0.01em;
  margin-top: 14px;
}
.hero p.desc {
  color: var(--text-muted);
  max-width: 480px;
  margin-top: 16px;
  font-size: 15.5px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-hours {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}
.hero-hours strong { color: var(--gold); }

.hero-visual {
  position: relative;
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}
.hero-card img { border-radius: var(--radius-md); }
.hero-chip {
  position: absolute;
  bottom: -18px; left: -18px;
  background: var(--maroon);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  transform: rotate(-4deg);
  font-family: var(--font-display);
  text-transform: uppercase;
}
.hero-chip .big { font-size: 26px; color: var(--yellow); display: block; line-height: 1; }
.hero-chip .small { font-size: 11px; letter-spacing: 0.1em; color: var(--cream-dim); font-family: var(--font-mono); text-transform: uppercase; }

/* ============ STRIP / MARQUEE ============ */
.info-strip {
  background: var(--maroon);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 12px 0;
  overflow: hidden;
}
.info-strip-inner {
  display: flex;
  gap: 46px;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ SECTIONS ============ */
section { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }

/* ============ CATEGORY PILLS ============ */
.category-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scrollbar-width: none;
}
.category-bar::-webkit-scrollbar { display: none; }
.pill {
  flex: none;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--cream-dim);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.15s ease;
}
.pill:hover { border-color: var(--gold); color: var(--gold); }
.pill.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--ink);
  border-color: transparent;
}

.search-row {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.search-box {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
}
.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--cream);
  font-size: 14px;
  width: 100%;
  font-family: var(--font-body);
}
.search-box input::placeholder { color: var(--text-muted); }

/* ============ PRODUCT CARDS (ticket style) ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.product-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface-2);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.veg-dot {
  position: absolute;
  top: 12px; left: 12px;
  width: 22px; height: 22px;
  border: 2px solid #3ddc84;
  border-radius: 4px;
  display: grid; place-items: center;
  background: rgba(10,10,10,0.6);
}
.veg-dot::after { content:""; width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; }
.featured-tag {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 9px;
  border-radius: 6px;
  font-weight: 700;
}
.product-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.product-name {
  font-family: var(--font-display);
  font-size: 16.5px;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--cream);
}
.product-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  flex: 1;
}
.ticket-divider {
  border: none;
  border-top: 1.5px dashed var(--line);
  margin: 2px 0;
}
.size-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.size-opt {
  flex: 1;
  min-width: 64px;
  text-align: center;
  padding: 7px 4px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--cream-dim);
  transition: all 0.15s ease;
}
.size-opt .lbl { display: block; text-transform: uppercase; font-size: 9px; color: var(--text-muted); letter-spacing: 0.06em; margin-bottom: 2px; }
.size-opt.active { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.price-tag {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 19px;
  color: var(--yellow);
}
.price-tag small { font-size: 11px; color: var(--text-muted); font-weight: 500; }
.product-actions { display: flex; gap: 8px; }
.icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--cream);
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.add-btn {
  background: var(--maroon);
  color: var(--cream);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
}
.add-btn:hover { background: var(--maroon-glow); }
.no-results { text-align: center; padding: 60px 20px; color: var(--text-muted); }

/* ============ FULL MENU GRAPHICS ============ */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.poster-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
  background: var(--surface);
  position: relative;
}
.poster-card img { width: 100%; height: auto; display: block; }
.poster-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 12px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(8,5,4,0.94);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(900px, 92vw); max-height: 88vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 22px; right: 26px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--cream); font-size: 20px; display: grid; place-items: center;
}

/* ============ OFFERS ============ */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.offer-card {
  background: linear-gradient(160deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.offer-card::after {
  content: "";
  position: absolute; right: -30px; top: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(255,212,71,0.25), transparent 70%);
}
.offer-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.offer-card h3 { font-size: 19px; text-transform: none; margin-bottom: 8px; }
.offer-card p { color: var(--cream-dim); font-size: 13.5px; }

/* ============ CARDS: about / gallery / party ============ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.stat-row {
  display: flex;
  gap: 28px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--gold);
}
.stat span { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

.frame-img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.gallery-grid {
  columns: 3;
  column-gap: 18px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
}

.party-banner {
  background:
    linear-gradient(0deg, rgba(15,9,8,0.88), rgba(15,9,8,0.5)),
    var(--surface);
  border-radius: var(--radius-lg);
  padding: 50px 34px;
  text-align: center;
  border: 1px solid var(--line);
}
.party-banner h2 { font-size: clamp(26px,4vw,38px); }
.party-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 22px 0 26px;
  flex-wrap: wrap;
}
.party-tags span {
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--cream-dim);
  font-family: var(--font-mono);
}

/* ============ CONTACT / FORMS ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item .ic {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  flex: none;
  color: var(--gold);
}
.contact-item b { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 13px; letter-spacing: 0.04em; color: var(--cream); }
.contact-item span, .contact-item a { font-size: 14px; color: var(--text-muted); }
.contact-item a:hover { color: var(--gold); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 7px;
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--gold); }
.form-row textarea { resize: vertical; min-height: 90px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-error { color: #ff8a8a; font-size: 12px; margin-top: 5px; display: none; }
.field-error.show { display: block; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 10px; }

/* ============ FOOTER ============ */
footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 42px; width: 42px; border-radius: 50%; }
footer h4 {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 16px;
}
footer p, footer a { color: var(--text-muted); font-size: 13.5px; }
footer li { margin-bottom: 10px; }
footer a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ============ FLOATING BUTTONS ============ */
.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 150;
}
.fab {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  border: none;
}
.fab-whatsapp { background: #25D366; color: #06210f; }
.fab-call { background: var(--gold); color: var(--ink); }

/* ============ CART DRAWER ============ */
.overlay {
  position: fixed; inset: 0;
  background: rgba(8,5,4,0.6);
  z-index: 300;
  display: none;
}
.overlay.open { display: block; }
.cart-drawer {
  position: fixed;
  top: 0; right: -420px;
  width: 100%; max-width: 420px;
  height: 100%;
  background: var(--bg-alt);
  border-left: 1px solid var(--line);
  z-index: 301;
  transition: right 0.28s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { right: 0; }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px; border-bottom: 1px solid var(--line);
}
.cart-items { flex: 1; overflow-y: auto; padding: 12px 20px; }
.cart-line {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cart-line img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.cart-line .nm { font-family: var(--font-display); font-size: 14px; text-transform: none; }
.cart-line .meta { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); }
.qty-ctrl { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-ctrl button {
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--cream);
}
.cart-price { font-family: var(--font-mono); color: var(--yellow); font-size: 13px; text-align: right; }
.remove-line { color: #ff8a8a; font-size: 11px; margin-top: 6px; display: inline-block; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.cart-summary { padding: 18px 20px 22px; border-top: 1px solid var(--line); }
.summary-row {
  display: flex; justify-content: space-between;
  font-size: 13.5px; color: var(--cream-dim);
  margin-bottom: 8px; font-family: var(--font-mono);
}
.summary-row.total { font-size: 17px; color: var(--cream); border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 6px; }
.summary-row.total b { color: var(--yellow); }

/* ============ BADGES / STATUS ============ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-free { background: rgba(61,220,132,0.14); color: #3ddc84; border: 1px solid rgba(61,220,132,0.35); }
.badge-pending { background: rgba(232,163,61,0.14); color: var(--gold); border: 1px solid var(--line); }
.badge-paid { background: rgba(61,220,132,0.14); color: #3ddc84; border: 1px solid rgba(61,220,132,0.35); }
.badge-cod { background: rgba(255,255,255,0.08); color: var(--cream-dim); border: 1px solid var(--line); }

/* ============ AUTH / EMPTY / GENERIC CARD ============ */
.auth-wrap {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 20px;
}
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.auth-card .brand { justify-content: center; margin-bottom: 18px; }
.auth-card h2 { text-align: center; font-size: 24px; }
.auth-card .switch { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--text-muted); }
.auth-card .switch a { color: var(--gold); font-weight: 600; }

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}
.empty-state .ic { font-size: 40px; margin-bottom: 14px; }

.breadcrumb {
  padding: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.breadcrumb span { color: var(--gold); }

.page-hero {
  padding: 50px 0 30px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(124,20,32,0.25), transparent);
}
.page-hero h1 { font-size: clamp(30px,5vw,48px); }
.page-hero p { color: var(--text-muted); margin-top: 10px; max-width: 520px; }

/* ============ STEPS (location / distance / payment) ============ */
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.step-card h3 { font-size: 16px; text-transform: none; margin-bottom: 14px; display:flex; align-items:center; gap:10px; }
.step-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  display: grid; place-items: center; flex: none;
}
.distance-box {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--surface-2); border: 1px dashed var(--line);
  border-radius: 12px; padding: 16px 18px; margin-top: 12px;
}
.distance-box .lbl { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--text-muted); }
.distance-box .val { font-family: var(--font-display); font-size: 20px; color: var(--cream); }
.payment-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.payment-opt {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
}
.payment-opt.active { border-color: var(--gold); background: rgba(232,163,61,0.08); }
.payment-opt .ttl { font-family: var(--font-display); text-transform: uppercase; font-size: 13px; margin-top: 8px; }
.upi-box {
  background: var(--surface-2);
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 16px;
  display: none;
  margin-top: 14px;
}
.upi-box.show { display: block; }
.upi-id-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 13px;
  background: var(--surface); padding: 10px 12px; border-radius: 8px; margin: 10px 0;
}

/* ============ TABLES (orders/admin) ============ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 13px 16px; font-size: 13.5px; border-bottom: 1px solid var(--line); }
th { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--gold); background: var(--surface); }
td { color: var(--cream-dim); }
tr:last-child td { border-bottom: none; }

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 96px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface);
  border: 1px solid var(--gold);
  color: var(--cream);
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-md);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ sticky "view cart" bar ============ */
.sticky-cart-bar {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(140%);
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(560px, calc(100% - 32px));
  background: linear-gradient(100deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  border: 1px solid var(--gold);
  color: var(--cream);
  padding: 15px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  font-family: var(--font-body);
  z-index: 210;
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1);
}
.sticky-cart-bar.show { transform: translateX(-50%) translateY(0); }
.sticky-cart-bar .sticky-cart-count {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--yellow);
  white-space: nowrap;
}
.sticky-cart-bar .sticky-cart-total {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-right: auto;
}
.sticky-cart-bar .sticky-cart-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .sticky-cart-bar { bottom: calc(76px + env(safe-area-inset-bottom)); left: 12px; right: 84px; width: auto; transform: translateY(140%); gap: 10px; padding: 12px 14px; }
  .sticky-cart-bar.show { transform: translateY(0); }
  .sticky-cart-bar .sticky-cart-total { font-size: 15px; }
  .sticky-cart-bar .sticky-cart-cta { padding: 7px 10px; font-size: 11px; }
}

/* ============ order confirmation ============ */
.confirm-wrap { max-width: 620px; margin: 0 auto; text-align: center; }
.confirm-check {
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(61,220,132,0.12); border: 1px solid rgba(61,220,132,0.4);
  display: grid; place-items: center; margin: 0 auto 20px; font-size: 36px; color: #3ddc84;
}
.receipt {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: left;
  margin-top: 30px;
}
.receipt-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.receipt-row:last-child { border-bottom: none; }
.receipt-row span:first-child { color: var(--text-muted); }
.receipt-row.big { font-family: var(--font-display); font-size: 18px; }
.receipt-row.big span:last-child { color: var(--yellow); }
