/* ═════════════════════════════════════════════════════════════════════
   BIG BUNS DELI — main stylesheet
   ═════════════════════════════════════════════════════════════════════ */

/* ── Local brand fonts ─────────────────────────────────────────────── */
@font-face {
  font-family: "Sansita Swashed";
  src: url("../Assets/Fonts/Sansita_Swashed/SansitaSwashed-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Secular One";
  src: url("../Assets/Fonts/Secular_One/SecularOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ── Design tokens (dark theme) ────────────────────────────────────── */
:root {
  --orange: #f15924;
  --orange-deep: #d6411a;

  /* Light/cream accents — now used as TEXT and small accents on dark */
  --cream: #fbf3e4;
  --cream-soft: #f5ead0;

  /* Dark surfaces */
  --bg: #0c0907;          /* body */
  --bg-elevated: #15110d; /* hero / menu / visit / footer */
  --paper: #1a1612;       /* cards */
  --ink: #060504;         /* deepest accent (newsletter, marquee) */
  --ink-soft: #c9bba5;    /* secondary text */
  --muted: #8a7e72;
  --line: #2a221b;        /* dark borders */

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 14px 32px -8px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);

  --font-display: "Sansita Swashed", "Georgia", serif;
  --font-head: "Secular One", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;
}

/* ── Reset & base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; /* guard against any horizontal overflow on small screens */
}

img, svg { display: block; max-width: 100%; height: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover { color: var(--orange); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  color: var(--cream);
}

h1 { font-size: clamp(2.5rem, 6vw + 1rem, 5.5rem); }
h2 { font-size: clamp(2rem, 3vw + 1rem, 3.5rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; }

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

em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--orange);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 1rem;
}
.eyebrow-light { color: var(--cream); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: var(--orange);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 1000;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 14px 26px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); color: #fff; }

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

.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--orange-deep); }

.btn-ghost-light { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-ghost-light:hover { background: var(--cream); color: var(--orange-deep); }

/* ═══════════════════════════════════════════════════════════════════
   HEADER / NAV
   ═══════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 9, 7, 0.78);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--cream);
}
.brand:hover { color: var(--cream); }
.brand-buns { height: 56px; width: auto; }
.brand-wordmark { height: 44px; width: auto; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-head);
  font-size: 0.95rem;
}
.primary-nav a:not(.btn) {
  position: relative;
  padding: 6px 0;
}
.primary-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.primary-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 7px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 800px) {
  .brand-wordmark { display: none; }
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
  }
  .primary-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .primary-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .primary-nav .btn { margin-top: 12px; align-self: start; }
}

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--bg-elevated);
  overflow: hidden;
  padding-top: 12px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
}
.blob-1 {
  width: 380px; height: 380px;
  background: var(--orange);
  top: -120px; right: -80px;
  opacity: 0.32;
}
.blob-2 {
  width: 300px; height: 300px;
  background: var(--orange-deep);
  bottom: -100px; left: -100px;
  opacity: 0.22;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-block: 24px 90px;
}

.hero-title {
  margin-top: 0.4em;
}
.hero-title .line-1,
.hero-title .line-2 {
  display: block;
}
.hero-title em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--orange);
  font-weight: 700;
}

.hero-sub {
  font-size: 1.15rem;
  max-width: 48ch;
  margin-block: 0.5em 1.8em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 2.5em;
}

.hero-meta {
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.hero-meta strong { color: var(--cream); font-weight: 600; }
.hero-meta { color: var(--ink-soft); }

/* hero art column */
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-inline: auto;
  width: 100%;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
}

.hero-logo-circle {
  position: absolute;
  width: 38%;
  bottom: -4%;
  right: -4%;
  background: var(--ink);
  border-radius: 50%;
  padding: 14px;
  box-shadow: 0 18px 40px -10px rgba(241, 89, 36, 0.5);
  transform: rotate(8deg);
  z-index: 2;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-block: 16px 70px;
  }
  .hero-art { max-width: 380px; }
}

/* marquee strip */
.marquee {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding-block: 18px;
  border-top: 4px solid var(--orange);
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee-track span { display: inline-block; }
.marquee-track span:nth-child(odd) { color: var(--orange); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════════ */
.about {
  padding-block: 110px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-art {
  position: relative;
  aspect-ratio: 1 / 1.05;
}
.about-photo {
  position: absolute;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
}
.about-photo-1 {
  inset: 0 30% 28% 0;
  background-image: url("../Assets/photos/chicken-avo.jpg");
  background-color: var(--ink);
  transform: rotate(-2deg);
}
.about-photo-2 {
  inset: 38% 0 0 32%;
  background-image: url("../Assets/photos/reuben.jpg");
  background-color: var(--ink);
  transform: rotate(3deg);
}
.about-floating-mark {
  position: absolute;
  width: 180px;
  bottom: 18%;
  left: 14%;
  background: var(--cream);
  border-radius: 50%;
  padding: 14px;
  box-shadow: var(--shadow-md);
  transform: rotate(-12deg);
  z-index: 2;
}

.about-copy h2 { max-width: 14ch; }
.about-copy .lead {
  font-size: 1.2rem;
  color: var(--cream);
  font-weight: 500;
  margin-bottom: 1em;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.about-stats > div { display: flex; flex-direction: column; gap: 4px; }
.about-stats strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--orange);
  line-height: 1;
}
.about-stats span {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 900px) {
  .about { padding-block: 70px; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-art { max-width: 480px; margin-inline: auto; width: 100%; }
}
@media (max-width: 460px) {
  .about-stats { gap: 10px; }
  .about-stats strong { font-size: 1.9rem; }
  .about-stats span { font-size: 0.72rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   MENU
   ═══════════════════════════════════════════════════════════════════ */
.menu {
  background: var(--bg-elevated);
  padding-block: 110px;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}
.section-head .eyebrow { display: block; }
.section-head .section-sub {
  font-size: 1.08rem;
  margin-top: 0.5em;
}

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

.menu-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.menu-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink);
}
.menu-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menu-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.30), transparent 45%);
  pointer-events: none;
}

.menu-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.menu-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}
.menu-card-top h3 { margin: 0; }
.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--orange);
}
.menu-card p { font-size: 0.95rem; flex: 1; margin-bottom: 16px; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tags li {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.03);
}

.menu-foot {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 60px;
}

@media (max-width: 700px) {
  .menu { padding-block: 70px; }
}

/* ═══════════════════════════════════════════════════════════════════
   PRESS / SOCIAL PROOF
   ═══════════════════════════════════════════════════════════════════ */
.press {
  background: var(--bg);
  padding-block: 84px;
  text-align: center;
}
.press-inner { max-width: 680px; margin-inline: auto; }
.press .eyebrow { display: block; }
.press-quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  color: var(--cream);
  margin: 0.2em 0 0.7em;
}
.press-quote em { color: var(--orange); font-style: italic; }
.press-attr { color: var(--ink-soft); margin-bottom: 1.8em; }
.press-attr a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.press-attr a:hover { color: var(--orange); }

/* ═══════════════════════════════════════════════════════════════════
   ORDER STRIP
   ═══════════════════════════════════════════════════════════════════ */
.order-strip {
  background:
    linear-gradient(135deg, rgba(241, 89, 36, 0.85), rgba(214, 65, 26, 0.7)),
    var(--bg);
  color: #fff;
  padding-block: 80px;
}
.order-strip h2 { color: #fff; }
.order-strip p { color: rgba(255,255,255,0.92); max-width: 50ch; }
.order-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}
@media (max-width: 800px) {
  .order-grid { grid-template-columns: 1fr; }
  .order-actions { justify-content: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════════
   VISIT
   ═══════════════════════════════════════════════════════════════════ */
.visit {
  padding-block: 110px;
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
}
.visit-info h2 { max-width: 12ch; }

.visit-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.visit-block h3 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-family: var(--font-head);
}
.visit-block p, .visit-block a { color: var(--cream); }
.visit-block a:hover { color: var(--orange); }

.hours {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hours li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.98rem;
}
.hours li span:first-child { color: var(--cream); font-weight: 500; }
.hours li span:last-child { color: var(--ink-soft); }

.visit-map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-elevated);
}
.visit-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* nudge Google's light map toward the dark theme */
  filter: invert(0.9) hue-rotate(180deg) brightness(0.95) contrast(0.9);
}

@media (max-width: 900px) {
  .visit { padding-block: 70px; }
  .visit-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ═══════════════════════════════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════════════════════════════ */
.newsletter {
  background: var(--ink);
  color: var(--cream);
  padding-block: 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before,
.newsletter::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: var(--orange);
  filter: blur(80px);
  opacity: 0.25;
}
.newsletter::before { top: -120px; left: -80px; }
.newsletter::after { bottom: -120px; right: -80px; opacity: 0.2; }

.newsletter-inner { position: relative; max-width: 620px; margin-inline: auto; }
.newsletter h2 { color: var(--cream); font-size: clamp(2rem, 4vw, 3rem); }
.newsletter h2 em { color: var(--orange); }
.newsletter p { color: rgba(251, 243, 228, 0.75); margin-bottom: 2em; }

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.newsletter-form input {
  flex: 1;
  min-width: 240px;
  max-width: 360px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 999px;
  border: 2px solid rgba(251, 243, 228, 0.2);
  background: rgba(251, 243, 228, 0.06);
  color: var(--cream);
}
.newsletter-form input::placeholder { color: rgba(251, 243, 228, 0.5); }
.newsletter-form input:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(251, 243, 228, 0.1);
}
.form-msg {
  flex-basis: 100%;
  margin: 12px 0 0;
  color: var(--orange);
  font-family: var(--font-head);
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-elevated);
  padding: 70px 0 30px;
  color: var(--ink-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}
.footer-mark { width: 240px; margin-bottom: 24px; }
.footer-tag {
  font-family: var(--font-head);
  color: var(--cream);
  line-height: 1.4;
  max-width: 22ch;
}
.site-footer h4 {
  color: var(--cream);
  margin-bottom: 14px;
}
.site-footer p { margin: 0; line-height: 1.7; }

.socials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.socials a { color: var(--cream); }
.socials a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.85rem;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   ORDER MODAL
   ═══════════════════════════════════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.modal.open {
  pointer-events: auto;
  opacity: 1;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px);
  transition: transform 0.3s ease;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.modal.open .modal-card { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  color: var(--cream);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  padding: 0;
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--orange);
}

.modal h3 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 6px 0 8px;
}
.modal p {
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 0;
}
.order-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.order-form .field > span {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.order-form select,
.order-form input[type="number"] {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--paper);
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.order-form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23fbf3e4' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}
.order-form select:focus,
.order-form input:focus {
  border-color: var(--orange);
}

.qty-btn {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--cream);
  font-size: 1.1rem;
  font-family: var(--font-head);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
}
.qty-btn:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* line-item cart */
.order-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.order-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  animation: order-item-in 0.18s ease-out;
}
@keyframes order-item-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.oi-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.oi-name {
  font-family: var(--font-head);
  color: var(--cream);
  font-size: 0.98rem;
  line-height: 1.2;
}
.oi-price {
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.oi-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.oi-qty-num {
  min-width: 22px;
  text-align: center;
  font-family: var(--font-head);
  color: var(--cream);
  font-size: 0.95rem;
}
.oi-line-total {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--orange);
  min-width: 48px;
  text-align: right;
}
.order-empty {
  margin: 0 !important;
  padding: 14px 16px;
  font-size: 0.9rem !important;
  color: var(--ink-soft) !important;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  text-align: center;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0 4px;
  border-top: 1px solid var(--line);
}
.order-total span {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.order-total strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--orange);
}

.order-form .btn {
  margin-top: 4px;
  width: 100%;
  justify-content: center;
}
.order-msg {
  margin: 10px 0 0;
  color: var(--orange);
  font-family: var(--font-head);
  text-align: center;
}

@media (max-width: 480px) {
  .modal-card { padding: 32px 22px 24px; }
}

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