/* O Pito — Portuguese Takeaway | Premium Restaurant Theme */
:root {
  --green: #1a3d2e;
  --green-dark: #0f2419;
  --terracotta: #c44e2c;
  --terracotta-dark: #9c3a1c;
  --gold: #d4a548;
  --cream: #fff8e7;
  --cream-warm: #faf3e0;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e8e0cc;
  --shadow: 0 20px 60px -20px rgba(26,61,46,0.25);
  --shadow-sm: 0 4px 20px -8px rgba(26,61,46,0.15);
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --r: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* TYPOGRAPHY */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--green); margin-bottom: 0.4em; }
h2 em { color: var(--terracotta); font-style: italic; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terracotta); font-weight: 600; margin-bottom: 14px;
  padding: 6px 14px; border: 1px solid var(--terracotta); border-radius: 100px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-sub { color: var(--muted); font-size: 1.1rem; margin-top: 12px; }

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,248,231,0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.navbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 20px rgba(0,0,0,0.04); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; background: var(--green); color: var(--gold);
  border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.7rem; font-weight: 700;
  border: 2px solid var(--gold);
}
.brand-text { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--green); display: flex; flex-direction: column; line-height: 1; }
.brand-text small { font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--terracotta); margin-top: 4px; font-weight: 500; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { font-size: 0.93rem; font-weight: 500; color: var(--green); position: relative; padding: 8px 0; }
.nav-links a:hover { color: var(--terracotta); }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--terracotta); transition: width 0.3s; }
.nav-links a:hover::after { width: 100%; }
.cart-btn {
  position: relative; background: var(--green); color: var(--cream);
  border: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; transition: all 0.2s;
}
.cart-btn:hover { background: var(--terracotta); transform: scale(1.05); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  background: var(--gold); color: var(--green-dark);
  font-size: 0.7rem; font-weight: 700;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--cream);
}
@media (max-width: 880px) { .nav-links { display: none; } }

/* HERO */
.hero {
  position: relative; min-height: 100vh; display: grid; place-items: center;
  overflow: hidden; padding-top: 78px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(196,78,44,0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(212,165,72,0.3) 0%, transparent 50%),
    linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, #2a5a42 100%);
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 60px, rgba(255,248,231,0.02) 60px 61px),
    repeating-linear-gradient(-45deg, transparent 0 60px, rgba(255,248,231,0.02) 60px 61px);
}
.hero-photo {
  position: absolute; inset: 0;
  background-image: url('/images/bacalhau.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.32;
  mix-blend-mode: luminosity;
  filter: contrast(1.1) saturate(1.1);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,36,25,0.55) 0%, rgba(15,36,25,0.35) 50%, rgba(15,36,25,0.85) 100%),
    radial-gradient(ellipse at center, transparent 20%, rgba(15,36,25,0.6) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; color: var(--cream); padding: 60px 24px; }
.hero-flag { font-size: 3rem; margin-bottom: 20px; animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-title {
  font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 5.2rem);
  font-weight: 600; line-height: 1.05; margin-bottom: 24px;
}
.hero-title em { color: var(--gold); font-style: italic; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); opacity: 0.92; max-width: 620px; margin: 0 auto 40px; font-weight: 300; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-badges { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.badge {
  background: rgba(255,248,231,0.08); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,248,231,0.2);
  padding: 14px 22px; border-radius: 12px; min-width: 130px;
}
.badge strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--gold); }
.badge span { font-size: 0.78rem; opacity: 0.8; letter-spacing: 0.05em; }
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 40px; border: 2px solid rgba(255,248,231,0.5); border-radius: 12px;
}
.hero-scroll span {
  display: block; width: 4px; height: 8px; background: var(--gold);
  border-radius: 2px; margin: 6px auto; animation: scroll 2s ease-in-out infinite;
}
@keyframes scroll { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(14px); opacity: 0; } }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 32px; border-radius: 100px; font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer; transition: all 0.25s; text-align: center;
  font-family: var(--sans);
}
.btn-primary { background: var(--terracotta); color: var(--cream); }
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(196,78,44,0.5); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--cream); border: 2px solid rgba(255,248,231,0.4); }
.btn-ghost:hover { background: rgba(255,248,231,0.1); border-color: var(--cream); }
.btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-outline:hover { background: var(--green); color: var(--cream); }
.btn-block { width: 100%; }

/* SECTIONS */
.section { padding: 110px 0; position: relative; }
.section-story { background: var(--cream-warm); }
.story-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.story-text p { color: var(--muted); font-size: 1.05rem; margin: 16px 0; max-width: 540px; }
.story-stats { display: flex; gap: 40px; margin-top: 36px; }
.story-stats div { text-align: center; }
.story-stats strong { display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--terracotta); }
.story-stats span { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.story-image { position: relative; min-height: 520px; }
.story-image .img-frame {
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5;
  position: relative; transform: rotate(-2deg);
  border: 8px solid #fff;
}
.story-image .img-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.story-image .img-frame:hover img { transform: scale(1.05); }
.story-image .img-frame-2 {
  position: absolute; bottom: -30px; right: -20px;
  width: 55%; aspect-ratio: 1/1;
  transform: rotate(4deg);
  z-index: 2;
  border: 8px solid #fff;
  box-shadow: 0 30px 60px -15px rgba(26,61,46,0.4);
}
@media (max-width: 880px) {
  .story-image { min-height: auto; }
  .story-image .img-frame-2 { width: 50%; bottom: -20px; right: -10px; }
}
@media (max-width: 880px) { .story-grid { grid-template-columns: 1fr; gap: 50px; } }

/* MENU */
.menu-tabs {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 50px;
  padding: 8px; background: var(--cream-warm); border-radius: 100px; max-width: max-content; margin-inline: auto;
}
.menu-tab {
  padding: 12px 24px; background: transparent; border: none; cursor: pointer;
  border-radius: 100px; font-weight: 500; font-size: 0.92rem; color: var(--muted);
  transition: all 0.2s;
}
.menu-tab.active { background: var(--green); color: var(--cream); }
.menu-tab:hover:not(.active) { color: var(--green); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.menu-card {
  background: #fff; border-radius: var(--r);
  border: 1px solid var(--line); transition: all 0.25s;
  display: flex; flex-direction: column; position: relative;
  overflow: hidden;
}
.menu-card:not(.has-image) { padding: 28px; gap: 14px; }
.menu-card.has-image .menu-card-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.menu-card-img {
  position: relative;
  height: 200px; overflow: hidden;
  background: var(--cream-warm);
}
.menu-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.menu-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--terracotta); }
.menu-card:hover .menu-card-img img { transform: scale(1.06); }
.menu-card.signature::before {
  content: '★ Signature'; position: absolute; top: 14px; right: 14px;
  background: var(--gold); color: var(--green-dark); padding: 5px 12px;
  border-radius: 100px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.menu-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.menu-card h3 { font-family: var(--serif); font-size: 1.45rem; color: var(--green); margin: 0; flex: 1; }
.menu-card .price { font-family: var(--serif); font-size: 1.4rem; color: var(--terracotta); font-weight: 600; white-space: nowrap; }
.menu-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; flex: 1; }
.menu-card-foot { display: flex; gap: 8px; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.menu-tags { display: flex; gap: 6px; }
.tag { font-size: 0.7rem; padding: 3px 8px; border-radius: 100px; background: var(--cream-warm); color: var(--muted); font-weight: 500; }
.tag.veg { background: #e8f5e9; color: #2e7d32; }
.tag.spicy { background: #ffebee; color: #c62828; }
.add-btn {
  background: var(--green); color: var(--cream); border: none; padding: 10px 18px;
  border-radius: 100px; cursor: pointer; font-weight: 600; font-size: 0.85rem; transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.add-btn:hover { background: var(--terracotta); }
.menu-loading { grid-column: 1/-1; text-align: center; padding: 60px; color: var(--muted); }

/* GALLERY */
.section-gallery { background: var(--green); color: var(--cream); }
.section-gallery .eyebrow { color: var(--gold); border-color: var(--gold); }
.section-gallery h2 { color: var(--cream); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 16px; }
.gallery-item {
  border-radius: 14px; position: relative; overflow: hidden; cursor: pointer;
  display: grid; place-items: end start; padding: 22px;
  transition: all 0.4s ease;
  background: var(--green-dark);
}
.gallery-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: 0;
  transition: transform 0.6s ease;
}
.gallery-item span {
  color: var(--cream); font-family: var(--serif); font-size: 1.45rem;
  position: relative; z-index: 2; font-weight: 500;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.gallery-item::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15,36,25,0.4) 65%, rgba(15,36,25,0.95) 100%);
  z-index: 1;
  transition: opacity 0.3s;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5); }
.gallery-item:hover img { transform: scale(1.08); }
.gi-1 { grid-row: span 2; }
.gi-5 { grid-row: span 2; }
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gi-1, .gi-5 { grid-row: span 1; }
}

/* REVIEWS */
.section-reviews { background: var(--cream-warm); }
.reviews-summary { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 16px; }
.reviews-summary .big-rating { font-family: var(--serif); font-size: 3rem; color: var(--terracotta); font-weight: 600; }
.reviews-summary .stars { color: var(--gold); font-size: 1.4rem; letter-spacing: 0.1em; }
.reviews-summary small { color: var(--muted); display: block; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-bottom: 40px; }
.review-card {
  background: #fff; border-radius: var(--r); padding: 28px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.review-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 8px; letter-spacing: 0.08em; }
.review-card h4 { font-family: var(--serif); font-size: 1.2rem; color: var(--green); margin-bottom: 10px; }
.review-card p { color: #444; font-size: 0.94rem; line-height: 1.6; margin-bottom: 14px; }
.review-meta { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); }
.review-cta { text-align: center; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-block { margin: 24px 0; }
.contact-block strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--terracotta); margin-bottom: 6px; }
.contact-block p, .contact-block a { color: var(--ink); font-size: 1.05rem; line-height: 1.6; }
.contact-block a:hover { color: var(--terracotta); }
.hours-list { list-style: none; }
.hours-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hours-list li:last-child { border: none; }
.hours-list .day { font-weight: 500; }
.hours-list .closed { color: var(--terracotta); }
.contact-map { border-radius: var(--r); overflow: hidden; height: 460px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-map iframe { width: 100%; height: 100%; border: none; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* FOOTER */
.footer { background: var(--green-dark); color: var(--cream); padding: 50px 0 30px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.3rem; }
.footer p { font-size: 0.85rem; opacity: 0.65; }
.footer a { color: var(--gold); }

/* CART DRAWER */
.cart-drawer {
  position: fixed; top: 0; right: -440px; width: 420px; max-width: 92vw; height: 100vh;
  background: var(--cream); z-index: 200; box-shadow: -20px 0 60px rgba(0,0,0,0.15);
  display: flex; flex-direction: column; transition: right 0.3s ease;
}
.cart-drawer.open { right: 0; }
.cart-head { padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-family: var(--serif); font-size: 1.6rem; color: var(--green); }
.cart-close { background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--muted); line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 28px; }
.cart-empty { text-align: center; padding: 40px 0; color: var(--muted); }
.cart-line { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.cart-line-info { flex: 1; }
.cart-line-info h4 { font-family: var(--serif); font-size: 1.05rem; color: var(--green); margin-bottom: 4px; }
.cart-line-info .price { color: var(--terracotta); font-weight: 600; font-size: 0.92rem; }
.qty-ctrl { display: flex; align-items: center; gap: 8px; }
.qty-ctrl button { width: 28px; height: 28px; border: 1px solid var(--line); background: #fff; border-radius: 50%; cursor: pointer; font-weight: 700; color: var(--green); }
.qty-ctrl button:hover { background: var(--green); color: var(--cream); }
.qty-ctrl span { min-width: 24px; text-align: center; font-weight: 600; }
.cart-foot { padding: 24px 28px; border-top: 1px solid var(--line); background: var(--cream-warm); }
.cart-totals div { display: flex; justify-content: space-between; padding: 6px 0; }
.cart-totals strong { font-family: var(--serif); font-size: 1.3rem; color: var(--green); }
.cart-min { font-size: 0.82rem; color: var(--terracotta); }
.cart-foot .btn { margin-top: 14px; }

/* OVERLAY + MODAL */
.overlay { position: fixed; inset: 0; background: rgba(15,36,25,0.5); z-index: 150; opacity: 0; pointer-events: none; transition: opacity 0.3s; backdrop-filter: blur(3px); }
.overlay.active { opacity: 1; pointer-events: auto; }
.modal { position: fixed; inset: 0; z-index: 250; display: none; place-items: center; padding: 20px; }
.modal.active { display: grid; }
.modal-card { background: var(--cream); border-radius: var(--r); padding: 36px; max-width: 480px; width: 100%; position: relative; box-shadow: var(--shadow); max-height: 90vh; overflow-y: auto; }
.modal-card h3 { font-family: var(--serif); font-size: 1.8rem; color: var(--green); margin-bottom: 20px; }
.modal-close { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 1.8rem; cursor: pointer; color: var(--muted); }
.modal label { display: block; margin-bottom: 16px; font-size: 0.85rem; color: var(--green); font-weight: 500; }
.modal input, .modal textarea, .modal select {
  width: 100%; padding: 12px 14px; margin-top: 6px; border: 1px solid var(--line);
  border-radius: 8px; font-family: var(--sans); font-size: 0.95rem; background: #fff;
}
.modal input:focus, .modal textarea:focus, .modal select:focus { outline: none; border-color: var(--terracotta); }
.star-input { display: flex; gap: 4px; font-size: 1.8rem; color: var(--line); margin-top: 4px; cursor: pointer; }
.star-input span { transition: color 0.15s; }
.star-input span.active, .star-input span:hover, .star-input span:hover ~ span { color: var(--gold); }
.star-input:hover span { color: var(--gold); }
.star-input:hover span:hover ~ span { color: var(--line); }

/* CHECKOUT PAGE */
.checkout-wrap { padding: 120px 0 80px; min-height: 100vh; }
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; }
.checkout-form { background: #fff; padding: 40px; border-radius: var(--r); border: 1px solid var(--line); }
.checkout-form h2 { margin-bottom: 24px; }
.checkout-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-form label { display: block; margin-bottom: 16px; font-size: 0.85rem; color: var(--green); font-weight: 500; }
.checkout-form input, .checkout-form textarea, .checkout-form select { width: 100%; padding: 14px; margin-top: 6px; border: 1px solid var(--line); border-radius: 8px; font-size: 0.95rem; font-family: var(--sans); }
.checkout-form input:focus, .checkout-form textarea:focus { outline: none; border-color: var(--terracotta); }
.delivery-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.delivery-toggle label { background: var(--cream-warm); padding: 18px; border-radius: 10px; text-align: center; cursor: pointer; border: 2px solid transparent; margin: 0; font-weight: 600; }
.delivery-toggle input { display: none; }
.delivery-toggle label:has(input:checked) { border-color: var(--terracotta); background: #fff; color: var(--terracotta); }
.checkout-summary { background: var(--cream-warm); padding: 36px; border-radius: var(--r); position: sticky; top: 100px; height: max-content; }
.checkout-summary h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--green); margin-bottom: 20px; }
.summary-line { display: flex; justify-content: space-between; padding: 10px 0; font-size: 0.92rem; }
.summary-line.total { border-top: 2px solid var(--green); padding-top: 16px; margin-top: 12px; font-family: var(--serif); font-size: 1.4rem; color: var(--green); font-weight: 600; }
@media (max-width: 880px) { .checkout-grid { grid-template-columns: 1fr; } .checkout-form .row { grid-template-columns: 1fr; } .checkout-summary { position: static; } }

/* SUCCESS */
.center-page { min-height: 100vh; display: grid; place-items: center; padding: 100px 24px; text-align: center; }
.center-page .icon { font-size: 5rem; margin-bottom: 20px; }
.center-page h1 { font-family: var(--serif); font-size: 2.8rem; color: var(--green); margin-bottom: 16px; }
.center-page p { color: var(--muted); margin-bottom: 30px; max-width: 500px; }

/* ADMIN */
.admin-wrap { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side { background: var(--green-dark); color: var(--cream); padding: 30px 0; }
.admin-side .brand { padding: 0 24px 24px; }
.admin-side .brand-text { color: var(--cream); }
.admin-nav { list-style: none; padding: 0; }
.admin-nav li a { display: block; padding: 14px 24px; color: rgba(255,248,231,0.7); border-left: 3px solid transparent; cursor: pointer; }
.admin-nav li a:hover, .admin-nav li a.active { background: rgba(255,255,255,0.05); color: var(--cream); border-color: var(--gold); }
.admin-main { padding: 40px; background: #f5f1e4; }
.admin-card { background: #fff; padding: 28px; border-radius: 12px; margin-bottom: 24px; border: 1px solid var(--line); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.stat-card { background: #fff; padding: 24px; border-radius: 12px; border: 1px solid var(--line); }
.stat-card .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.stat-card .value { font-family: var(--serif); font-size: 2rem; color: var(--green); margin-top: 8px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
th { background: var(--cream-warm); font-weight: 600; color: var(--green); }
.status-pill { padding: 4px 12px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; display: inline-block; }
.s-pending { background: #fff3cd; color: #856404; }
.s-confirmed { background: #d4edda; color: #155724; }
.s-preparing { background: #cce5ff; color: #004085; }
.s-ready { background: #d1ecf1; color: #0c5460; }
.s-delivered { background: #c3e6cb; color: #155724; }
.s-cancelled { background: #f8d7da; color: #721c24; }
.login-page { min-height: 100vh; display: grid; place-items: center; background: var(--green); }
.login-card { background: var(--cream); padding: 50px 40px; border-radius: var(--r); width: 100%; max-width: 380px; box-shadow: var(--shadow); }
@media (max-width: 720px) { .admin-wrap { grid-template-columns: 1fr; } .admin-side { display: none; } .stat-grid { grid-template-columns: repeat(2, 1fr); } }

/* RESPONSIVE */
@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .nav-inner { height: 64px; }
  .hero { min-height: 90vh; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 280px; }
  .menu-grid { grid-template-columns: 1fr; }
  .story-stats { gap: 20px; }
  .story-stats strong { font-size: 1.8rem; }
}
