:root {
  --crimson: #b81d24;
  --crimson-dark: #8e1319;
  --gold: #f5b41a;
  --gold-soft: #fff3d1;
  --cream: #fffdf7;
  --cream-alt: #f8f3e8;
  --ink: #1f1a17;
  --muted: #5f564f;
  --border: #e6dccb;
  --wa-green: #25d366;
  --grab-green: #00b14f;
  --panda-pink: #d70f64;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
}
.container { width: min(1160px, 92%); margin: 0 auto; }

/* Top Bar */
.top-bar { background: var(--crimson-dark); color: #fff; font-size: 0.85rem; padding: 0.45rem 0; }
.top-bar-flex { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }
.lang-btn {
  background: rgba(255,255,255,0.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

/* Navbar & Brand Medallions */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 247, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.nav-flex { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--ink); }
.medallions { display: flex; gap: 0.25rem; }
.medallions span {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--crimson); color: var(--gold);
  border: 2px solid var(--gold);
  display: grid; place-items: center;
  font-weight: 900; font-size: 0.95rem;
}
.brand-text strong { display: block; font-size: 1.1rem; line-height: 1.1; color: var(--crimson-dark); }
.brand-text small { font-size: 0.78rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.nav-links { display: flex; gap: 1.4rem; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--crimson); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.72rem 1.25rem; border-radius: 10px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  border: none; cursor: pointer; transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.94; }
.btn-sm { padding: 0.48rem 0.9rem; font-size: 0.85rem; }
.btn-full { width: 100%; }
.btn-primary { background: var(--crimson); color: #fff; }
.btn-gold { background: var(--gold); color: #2b1800; }
.btn-wa { background: var(--wa-green); color: #072911; }
.btn-outline { background: #fff; color: var(--crimson); border: 1.5px solid var(--crimson); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.6); }

/* Hero */
.hero {
  background: radial-gradient(circle at top right, #ffe6a3 0%, #fff8e7 55%, #fffdf7 100%);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
}
.hero-content { max-width: 720px; }
.hero-medallions { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.hero-medallions span {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--crimson); color: var(--gold);
  border: 3px solid var(--gold);
  display: grid; place-items: center;
  font-size: 1.4rem; font-weight: 900;
  box-shadow: 0 4px 12px rgba(184, 29, 36, 0.25);
}
.hero h1 { font-size: clamp(1.9rem, 4vw, 2.85rem); line-height: 1.18; color: var(--crimson-dark); margin-bottom: 0.9rem; }
.hero p { font-size: 1.05rem; color: var(--muted); margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.5rem; }

.delivery-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem;
  padding-top: 1rem; border-top: 1px dashed var(--border);
}
.strip-label { font-size: 0.88rem; font-weight: 600; color: var(--muted); }
.partner-pill {
  padding: 0.35rem 0.85rem; border-radius: 999px;
  font-size: 0.84rem; font-weight: 700; text-decoration: none; color: #fff;
}
.partner-pill.grab { background: var(--grab-green); }
.partner-pill.panda { background: var(--panda-pink); }
.partner-pill.fb { background: #1877f2; }

/* Sections */
.section { padding: 3.5rem 0; }
.bg-cream { background: var(--cream-alt); }
.bg-festive { background: linear-gradient(180deg, #fff5db 0%, #fffdf7 100%); border-bottom: 1px solid var(--border); }
.section-header { text-align: center; max-width: 650px; margin: 0 auto 2rem; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--crimson); background: var(--gold-soft);
  padding: 0.25rem 0.7rem; border-radius: 999px; margin-bottom: 0.5rem;
}
.section-header h2 { font-size: 1.95rem; color: var(--crimson-dark); margin-bottom: 0.4rem; }
.section-header p { color: var(--muted); font-size: 0.95rem; }

/* Festive Packages */
.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.pkg-card {
  background: #fff; border: 2px solid var(--gold); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 8px 20px rgba(184, 29, 36, 0.06);
}
.pkg-badge {
  display: inline-block; background: var(--crimson); color: var(--gold);
  font-size: 0.75rem; font-weight: 800; padding: 0.2rem 0.6rem; border-radius: 6px; margin-bottom: 0.5rem;
}
.pkg-title { font-size: 1.25rem; font-weight: 800; color: var(--crimson-dark); }
.pkg-zh { font-size: 1rem; font-weight: 700; color: var(--muted); margin-bottom: 0.5rem; }
.pkg-price { font-size: 1.5rem; font-weight: 900; color: var(--crimson); margin: 0.5rem 0; }
.pkg-items { list-style: none; margin: 0.75rem 0 1.25rem; display: grid; gap: 0.35rem; font-size: 0.92rem; }
.pkg-items li::before { content: "✦ "; color: var(--crimson); font-weight: 700; }

/* Menu Controls & Cards */
.menu-controls {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 0.85rem; margin-bottom: 1.1rem;
}
.search-box { flex: 1 1 280px; }
.search-box input {
  width: 100%; padding: 0.68rem 0.95rem; border: 1.5px solid var(--border);
  border-radius: 10px; font-size: 0.95rem; background: #fff;
}
.diet-filters { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.chip {
  padding: 0.42rem 0.8rem; border-radius: 999px; border: 1px solid var(--border);
  background: #fff; font-size: 0.84rem; font-weight: 600; cursor: pointer;
}
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.category-tabs {
  display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.5rem; margin-bottom: 1rem;
}
.tab-btn {
  padding: 0.55rem 1.05rem; border-radius: 10px; border: 1px solid var(--border);
  background: #fff; font-weight: 700; font-size: 0.9rem; white-space: nowrap; cursor: pointer;
}
.tab-btn.active { background: var(--crimson); color: #fff; border-color: var(--crimson); }
.menu-count { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; font-weight: 600; }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.1rem; }
.menu-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.1rem; display: flex; flex-direction: column; justify-content: space-between;
  transition: box-shadow 0.15s ease;
}
.menu-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
.menu-card.sold-out { opacity: 0.6; }
.dish-img {
  width: 100%; height: 175px; object-fit: cover;
  border-radius: 10px; margin-bottom: 0.85rem; background: var(--cream-alt);
}
.code-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.35rem; }
.dish-code {
  font-size: 0.76rem; font-weight: 800; background: var(--gold-soft);
  color: var(--crimson-dark); padding: 0.15rem 0.5rem; border-radius: 6px;
}
.dish-zh { font-size: 1.08rem; font-weight: 800; color: var(--ink); }
.dish-en { font-size: 0.92rem; font-weight: 600; color: var(--muted); margin-bottom: 0.65rem; }

.price-box {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  padding-top: 0.6rem; border-top: 1px dashed var(--border); margin-top: auto;
}
.price-pill {
  font-size: 0.85rem; font-weight: 800; color: var(--crimson-dark);
  background: #fdf6f6; border: 1px solid #f2d5d7;
  padding: 0.22rem 0.55rem; border-radius: 7px;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.6rem; }
.tag { font-size: 0.74rem; font-weight: 700; padding: 0.16rem 0.5rem; border-radius: 6px; }
.tag.vegan { background: #e8f5e9; color: #1b5e20; }
.tag.spicy { background: #ffebee; color: #b71c1c; }
.tag.egg { background: #fff8e1; color: #8d6e00; }
.tag.preorder { background: #ede7f6; color: #4527a0; }
.tag.soldout { background: #eceff1; color: #37474f; }

/* Booking & Location */
.booking-grid, .footer-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.2rem; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; margin-top: 1.25rem; }
.mini-card {
  background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 0.9rem;
}
.mini-card strong { display: block; font-size: 0.82rem; color: var(--muted); }
.mini-card a { font-size: 1.05rem; font-weight: 800; color: var(--crimson); text-decoration: none; }

.card-form {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1rem; }
.mode-btn {
  padding: 0.6rem; border-radius: 8px; border: 1.5px solid var(--border);
  background: var(--cream); font-weight: 700; cursor: pointer;
}
.mode-btn.active { background: var(--crimson); color: #fff; border-color: var(--crimson); }
.form-group { margin-bottom: 0.85rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
label { display: block; font-size: 0.84rem; font-weight: 700; margin-bottom: 0.28rem; }
input, select, textarea {
  width: 100%; padding: 0.6rem 0.75rem; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 0.94rem; font-family: inherit;
}

/* Footer */
.footer { background: var(--crimson-dark); color: #fff; padding: 3rem 0; }
.footer-brand strong, .footer-brand small { color: #fff; }
.footer-addr { margin: 1rem 0 0.6rem; color: rgba(255,255,255,0.88); font-size: 0.95rem; }
.footer-hours { margin-bottom: 1.2rem; color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.admin-link { color: rgba(255,255,255,0.65); font-size: 0.82rem; margin-left: 0.5rem; }
.map-box iframe { width: 100%; height: 270px; border: 0; border-radius: var(--radius); }

/* Modal & Floating WA */
.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  display: grid; place-items: center; z-index: 200; padding: 1rem;
}
.modal.hidden { display: none; }
.modal-card {
  background: #fff; width: min(460px, 100%); border-radius: var(--radius);
  padding: 1.5rem; position: relative;
}
.modal-close {
  position: absolute; top: 0.85rem; right: 1rem; background: none;
  border: none; font-size: 1.6rem; cursor: pointer;
}
.modal-price { font-weight: 800; color: var(--crimson); margin-bottom: 1rem; }
.floating-wa {
  position: fixed; bottom: 1.2rem; right: 1.2rem;
  background: var(--wa-green); color: #062810;
  font-weight: 800; padding: 0.78rem 1.15rem; border-radius: 999px;
  text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,0.22); z-index: 95;
}

/* Print / PDF Export Styles */
.print-only-header { display: none; }
@media print {
  .no-print { display: none !important; }
  .print-only-header {
    display: block; text-align: center;
    border-bottom: 2px solid #000; padding-bottom: 0.75rem; margin-bottom: 1rem;
  }
  body { background: #fff; color: #000; }
  .section { padding: 0.5rem 0; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .menu-card { break-inside: avoid; border: 1px solid #ccc; padding: 0.65rem; box-shadow: none; }
  .dish-img { height: 100px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .booking-grid, .footer-grid, .form-row, .contact-cards { grid-template-columns: 1fr; }
}
