/* =========================================================
   NAMI • ნამი — Sushi Bar Website
   ========================================================= */

:root {
  --ink: #11241c;
  --ink-soft: #24382d;
  --paper: #f6f6ef;
  --paper-dim: #eceee0;
  --cream: #fbfbf4;
  --green: #4f7a5c;
  --green-light: #93bb9e;
  --green-deep: #2c4436;
  --gold: #b7a369;
  --gold-light: #ddc98d;
  --red: #a8342a;
  --muted: #6d766d;
  --border: rgba(17, 36, 28, 0.1);
  --shadow: 0 20px 50px rgba(17, 36, 28, 0.14);
  --radius: 18px;
  --radius-sm: 10px;
  --font-head: 'Cormorant Garamond', 'Noto Sans Georgian', serif;
  --font-body: 'Jost', 'Noto Sans Georgian', sans-serif;
  --font-ka: 'Noto Sans Georgian', sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
}

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }

.font-ka { font-family: var(--font-ka); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  color: var(--cream);
  box-shadow: 0 10px 25px rgba(47, 74, 58, .35);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(47, 74, 58, .45); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--ink); }

.hero .btn-ghost {
  color: var(--cream);
  border-color: rgba(250, 246, 239, .35);
}
.hero .btn-ghost:hover { border-color: var(--cream); }

.btn-outline {
  background: transparent;
  color: var(--green-light);
  border-color: var(--green);
}
.btn-outline:hover { background: var(--green); color: var(--cream); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(17, 36, 28, 0.0);
  backdrop-filter: blur(0px);
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.site-header.scrolled {
  background: rgba(17, 36, 28, 0.92);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  white-space: nowrap;
}
.logo-img { height: 48px; width: auto; }

.main-nav ul {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  color: rgba(250, 246, 239, .85);
  font-size: .95rem;
  letter-spacing: .03em;
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--green-light);
  transition: width .25s ease;
}
.nav-link:hover, .nav-link.active-link { color: var(--green-light); }
.nav-link:hover::after, .nav-link.active-link::after { width: 100%; }

.lang-switch {
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(250, 246, 239, .2);
  background: rgba(250, 246, 239, .05);
  flex-shrink: 0;
}
.lang-btn {
  padding: 5px 11px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(250, 246, 239, .65);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.lang-btn:hover { color: var(--cream); }
.lang-btn.active { background: var(--green); color: var(--cream); }

.nav-reserve { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
  background:
    radial-gradient(circle at 15% 20%, rgba(147,187,158,.16), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(44,68,54,.45), transparent 50%),
    linear-gradient(160deg, #172e23 0%, #11241c 55%, #0b1a14 100%);
  overflow: hidden;
}

.hero-artwork {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-great-wave.jpg');
  background-size: cover;
  background-position: center 42%;
  opacity: .14;
  pointer-events: none;
}
.hero-artwork::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 48%, rgba(11,26,20,.65) 0%, rgba(11,26,20,.25) 55%, transparent 80%);
}

.hero-content { position: relative; z-index: 2; max-width: 760px; }

.eyebrow, .section-eyebrow {
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: .75rem;
  color: var(--green-light);
  font-weight: 500;
  margin-bottom: 16px;
}

.hero h1 {
  color: var(--cream);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--green-light); }

.hero-sub {
  color: rgba(250, 246, 239, .78);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 46px;
  border: 2px solid rgba(250,246,239,.4);
  border-radius: 20px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  background: var(--green-light);
  border-radius: 50%;
  animation: scrollDot 1.8s ease infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 0; }
}

/* ---------- Section shared ---------- */
section { padding: 110px 0; }
.section-title { font-size: clamp(2rem, 4vw, 2.7rem); }
.section-lead { max-width: 620px; color: var(--muted); font-size: 1.05rem; }
.menu-section .section-eyebrow, .menu-section .section-title, .menu-section .section-lead,
.blog-section .section-eyebrow, .blog-section .section-title, .blog-section .section-lead { text-align: center; margin-left: auto; margin-right: auto; }
.menu-section .section-lead, .blog-section .section-lead { text-align: center; }

/* ---------- Menu ---------- */
.menu-section { background: var(--paper); }

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 40px 0 50px;
}
.menu-tabs[hidden] { display: none; }
.menu-tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--cream);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: .9rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all .25s ease;
}
.menu-tab:hover { border-color: var(--green); color: var(--ink); }
.menu-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--green-light);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.menu-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  animation: fadeUp .5s ease both;
}
.menu-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(79,122,92,.5);
}

.menu-item-photo-wrap {
  width: 100%;
  margin-bottom: 4px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--cream);
}
.menu-item-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.4);
}

.menu-item-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}
.menu-item-name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; }
.menu-item-price {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--green);
  font-size: 1.15rem;
  white-space: nowrap;
}
.menu-item-desc { color: var(--muted); font-size: .92rem; margin: 0; }
.menu-item-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.tag {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper-dim);
  color: var(--muted);
}
.tag.spicy { background: rgba(168,52,42,.12); color: var(--red); }
.tag.veg { background: rgba(79,122,92,.14); color: var(--green); }
.tag.new { background: rgba(183,163,105,.2); color: #8a6d1f; }
.tag.popular { background: rgba(183,163,105,.28); color: #8a6d1f; font-weight: 600; }
.menu-item:has(.tag.popular) { border-color: var(--gold); box-shadow: 0 8px 24px rgba(183,163,105,.2); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
  grid-column: 1 / -1;
}

/* ---------- Blog ---------- */
.blog-section { background: var(--paper-dim); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.blog-thumb {
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
}
.blog-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.25) 100%);
}

.blog-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-meta {
  display: flex;
  gap: 12px;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--green);
  font-weight: 600;
}
.blog-title { font-size: 1.3rem; margin: 0; }
.blog-excerpt { color: var(--muted); font-size: .92rem; flex: 1; }
.blog-readmore {
  font-size: .85rem;
  font-weight: 600;
  color: var(--green-deep);
  align-self: flex-start;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.blog-readmore:hover { border-color: var(--green-deep); }

.blog-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.blog-modal[hidden] { display: none; }
.blog-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 36, 28, .65);
}
.blog-modal-panel {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius);
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
  animation: blogModalIn .25s ease;
}
@keyframes blogModalIn {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.blog-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-modal-close:hover { background: #fff; }
.blog-modal-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-modal-body { padding: 28px 32px 34px; display: flex; flex-direction: column; gap: 14px; }
.blog-modal-title { font-size: 1.7rem; margin: 0; }
.blog-modal-content { color: var(--ink-soft); font-size: .98rem; line-height: 1.7; display: flex; flex-direction: column; gap: 14px; }
.blog-modal-content strong { color: var(--green-deep); }

.dish-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.dish-modal[hidden] { display: none; }
.dish-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 36, 28, .65);
}
.dish-modal-panel {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius);
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
  animation: blogModalIn .25s ease;
}
.dish-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dish-modal-close:hover { background: #fff; }
.dish-modal-photo-wrap img { width: 100%; height: auto; display: block; }
.dish-modal-body { padding: 26px 30px 32px; display: flex; flex-direction: column; gap: 12px; }
.dish-modal-top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.dish-modal-name { font-family: var(--font-head); font-size: 1.5rem; margin: 0; }
.dish-modal-price { font-family: var(--font-head); font-weight: 600; color: var(--green); font-size: 1.25rem; white-space: nowrap; }
.dish-modal-desc { color: var(--ink-soft); font-size: .96rem; line-height: 1.6; margin: 0; }

.post-figure {
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.post-figure img {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}
.post-figure figcaption {
  margin-top: 4px;
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- About & Hours ---------- */
.about-section { background: var(--paper); }
.about-inner {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 60px;
  align-items: start;
}

.about-stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--green); }
.stat-label { font-size: .82rem; color: var(--muted); max-width: 140px; }

.hours-card {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 36px;
  position: sticky;
  top: 110px;
}
.hours-card h3 {
  color: var(--green-light);
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.hours-list { list-style: none; margin: 0 0 20px; padding: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(250,246,239,.1);
  font-size: .95rem;
  color: rgba(250,246,239,.85);
}
.hours-list li:last-child { border-bottom: none; }
.hours-list li.today { color: var(--green-light); font-weight: 600; }
.hours-list li[data-closed="true"] span:last-child { color: var(--gold-light); font-style: italic; }
.hours-note {
  font-size: .82rem;
  color: rgba(250,246,239,.6);
  margin: 0;
  padding-top: 4px;
  border-top: 1px dashed rgba(250,246,239,.15);
}

/* ---------- Contact ---------- */
.contact-section { background: var(--paper-dim); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.info-list { list-style: none; margin: 30px 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  font-size: 1.1rem;
  border: 1px solid var(--border);
}
.info-list strong { display: block; font-size: .95rem; margin-bottom: 2px; }
.info-list p { margin: 0; color: var(--muted); font-size: .92rem; }
.info-list a:hover { color: var(--green-deep); }

.socials { display: flex; gap: 12px; margin-bottom: 30px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  transition: transform .25s ease, background .25s ease;
}
.socials a:hover { transform: translateY(-3px); background: var(--green-deep); color: var(--cream); }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 260px;
  filter: saturate(.9);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.contact-form {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 1.5rem; margin-bottom: 20px; }
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.form-row input, .form-row textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(79,122,92,.18);
}
.form-row.error input, .form-row.error textarea { border-color: var(--red); }
.form-error {
  font-size: .78rem;
  color: var(--red);
  min-height: 1em;
  display: block;
}
.form-submit { width: 100%; margin-top: 6px; }
.form-success {
  margin: 14px 0 0;
  font-size: .9rem;
  color: var(--green-deep);
  text-align: center;
  min-height: 1.2em;
}
.form-success.is-error { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); padding: 50px 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-logo .logo-img { height: 40px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: rgba(250,246,239,.7); font-size: .9rem; transition: color .2s ease; }
.footer-nav a:hover { color: var(--green-light); }
.footer-copy { color: rgba(250,246,239,.45); font-size: .8rem; margin: 0; width: 100%; text-align: center; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--green-light);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  z-index: 900;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--green-deep); color: var(--cream); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .hours-card { position: static; }
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--ink);
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform .35s ease;
    box-shadow: -20px 0 40px rgba(0,0,0,.3);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 26px; }
  .nav-link { font-size: 1.05rem; }
  .nav-reserve { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 600px) {
  section { padding: 80px 0; }
  .hero { padding-top: 120px; }
  .contact-form { padding: 26px; }
  .hours-card { padding: 26px; }
  .logo-img { height: 38px; }
  .lang-btn { padding: 5px 8px; font-size: .72rem; }
}

/* =========================================================
   Table ordering (order.html)
   ========================================================= */
body.order-page { padding-bottom: 90px; }

.order-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--ink);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.order-header-inner { padding: 12px 24px; gap: 16px; }
.order-header .logo-img { height: 38px; }

.order-table-badge {
  background: var(--green);
  color: var(--cream);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
}

.order-gate {
  max-width: 440px;
  text-align: center;
  padding-top: 70px;
}
.order-gate .section-title { margin-bottom: 10px; }
.order-gate-form { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.order-gate-form input[type="number"] {
  width: 100%;
  max-width: 200px;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1.6rem;
  text-align: center;
}
.order-gate-error {
  color: var(--red);
  font-size: .88rem;
  margin-top: 14px;
}

.order-menu { padding-top: 28px; padding-bottom: 40px; }
.order-menu .menu-tabs { margin: 0 0 32px; }
.order-menu-grid .menu-item { cursor: default; }
.order-menu-grid .menu-item:hover { transform: none; box-shadow: none; border-color: var(--border); }

.qty-stepper { display: flex; align-items: center; gap: 12px; margin-top: 4px; flex-wrap: wrap; }
.qty-btn {
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.qty-btn:hover { border-color: var(--green); background: var(--cream); }
.qty-value { min-width: 20px; text-align: center; font-weight: 600; }

.order-cart-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  padding: 12px 20px;
  background: var(--ink);
  box-shadow: 0 -6px 20px rgba(0,0,0,.2);
}
.order-cart-bar button {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--green);
  color: var(--cream);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 22px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background .2s ease;
}
.order-cart-bar button:hover { background: var(--green-deep); }

.order-cart-modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: flex-end; justify-content: center; }
.order-cart-modal[hidden] { display: none; }
.order-cart-backdrop { position: absolute; inset: 0; background: rgba(11,26,20,.6); }
.order-cart-panel {
  position: relative;
  background: var(--cream);
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 30px 26px 26px;
  box-shadow: 0 -10px 40px rgba(0,0,0,.25);
}
.order-cart-panel h3 { margin-bottom: 16px; }
.order-cart-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.order-cart-row-remove {
  background: none; border: none;
  color: var(--red);
  font-size: .78rem;
  cursor: pointer;
  padding: 0 0 0 4px;
}
.order-cart-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  padding-top: 14px;
}
#orderNote {
  width: 100%;
  margin-top: 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--paper);
  padding: 12px;
  font-family: var(--font-body);
  font-size: .92rem;
  resize: vertical;
}

.order-success { max-width: 480px; text-align: center; padding-top: 90px; }
.order-success .success-icon { font-size: 3.2rem; margin-bottom: 8px; }
.order-success-recap { position: static; box-shadow: none; border: 1px solid var(--border); margin: 26px auto; padding: 20px 24px; max-height: none; }

@media (max-width: 480px) {
  .order-gate { padding-top: 40px; }
  .order-success { padding-top: 50px; }
}
