/* ── Reset ────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

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

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

/* ── Tokens ───────────────────────────────────────────────────────────────── */

:root {
  --cream:     #F5F0E8;
  --cream-dark:#EDE6D6;
  --black:     #1A1612;
  --amber:     #E8A020;
  --amber-dark:#C4821A;
  --amber-pale:#FDF3DC;
  --white:     #FFFFFF;
  --gray:      #6B6560;
  --gray-light:#D4CFC8;

  --font-display: 'Oswald', sans-serif;
  --font-body:    'Inter', sans-serif;
}

/* ── Base ─────────────────────────────────────────────────────────────────── */

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--cream);
  color: var(--black);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* ── Typography ───────────────────────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

p { line-height: 1.7; font-size: 0.95rem; }

/* ── Layout ───────────────────────────────────────────────────────────────── */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.btn:active { transform: scale(0.98); }

.btn-amber {
  background: var(--amber);
  color: var(--black);
}

.btn-amber:hover { background: var(--amber-dark); color: var(--black); text-decoration: none; }

.btn-black {
  background: var(--black);
  color: var(--white);
}

.btn-black:hover { background: #2e2820; color: var(--white); text-decoration: none; }

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}

.btn-outline:hover { background: var(--black); color: var(--white); text-decoration: none; }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-white:hover { background: var(--white); color: var(--black); text-decoration: none; }

/* ── Nav ──────────────────────────────────────────────────────────────────── */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 2px solid var(--black);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  height: 125px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1;
}

.logo-sub {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--amber);
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  transition: color 0.15s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width 0.2s;
}

nav a:hover { color: var(--amber-dark); text-decoration: none; }
nav a:hover::after,
nav a.active::after { width: 100%; }
nav a.active { color: var(--black); font-weight: 700; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero {
  background: var(--cream);
  overflow: hidden;
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url('../images/hero-bg.png');
  opacity: 0.18;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--amber);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 16px;
}
  display: inline-block;
  background: var(--amber);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 16px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.hero-headline .accent { color: var(--amber); }

.hero-sub {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 420px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-sms-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--black);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 2px;
}

.hero-sms-icon {
  width: 32px;
  height: 32px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-sms-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-light);
  display: block;
}

.hero-sms-number {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--amber);
}

.hero-handwriting {
  display: block;
  margin-top: 16px;
}

.hero-handwriting img {
  height: 132px;
  width: auto;
  transform: rotate(-25deg);
  transform-origin: left center;
}

.hero-right {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
}

.hero-video {
  flex: 1;
  background: var(--black);
  aspect-ratio: 16/10;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  max-width: 340px;
}

.hero-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero-video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a2010 0%, #1a1612 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  width: 56px;
  height: 56px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.15s, background 0.15s;
}

.hero-video:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--amber-dark);
}

.hero-phone {
  width: 160px;
  flex-shrink: 0;
  margin-top: -10px;
  transform: rotate(8deg);
  transform-origin: bottom center;
  filter: drop-shadow(0 12px 24px rgba(26,22,18,0.2));
}

.hero-phone img { width: 100%; }

.hero-phone-placeholder {
  width: 180px;
  background: var(--black);
  border-radius: 24px;
  padding: 20px 12px;
  font-size: 0.7rem;
  color: var(--gray-light);
  font-family: var(--font-body);
}

/* ── Feature bar ──────────────────────────────────────────────────────────── */

.feature-bar {
  background: var(--black);
  padding: 28px 0;
}

.feature-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--black);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  display: block;
}

.feature-desc {
  font-size: 0.78rem;
  color: var(--gray-light);
  display: block;
  margin-top: 2px;
}

/* ── Fan Favorites ────────────────────────────────────────────────────────── */

.favorites-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.menu-card {
  background: var(--white);
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26,22,18,0.12);
}

.menu-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--cream-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.menu-card:hover .menu-card-img img { transform: scale(1.05); }

.menu-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--gray-light);
  text-transform: uppercase;
}

.menu-card-body {
  padding: 14px 16px 18px;
}

.menu-card-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.menu-card-desc {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 10px;
}

.menu-card-price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--amber-dark);
}

/* ── Order CTA band ───────────────────────────────────────────────────────── */

.order-band {
  background: var(--amber);
  padding: 52px 0;
}

.order-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.order-band-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--black);
  margin-bottom: 8px;
}

.order-band-text p {
  font-size: 1rem;
  color: var(--black);
  opacity: 0.75;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */

footer {
  background: var(--black);
  padding: 40px 0 24px;
  position: relative;
  z-index: 1;
}

footer .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 32px;
}

.footer-logo .logo-text { color: var(--white); }
.footer-logo .logo-sub { color: var(--amber); }

.footer-tagline {
  font-size: 0.82rem;
  color: var(--gray-light);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--amber); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.72rem;
  color: var(--gray);
}

.footer-bottom .demo-note {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.7;
}

/* ── Menu page ────────────────────────────────────────────────────────────── */

.menu-hero {
  background: var(--black);
  padding: 52px 0;
  text-align: center;
}

.menu-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 10px;
}

.menu-hero p {
  color: var(--gray-light);
  font-size: 1rem;
}

.menu-category {
  padding: 52px 0;
  border-bottom: 1px solid var(--cream-dark);
}

.menu-category:last-child { border-bottom: none; }

.category-header {
  margin-bottom: 32px;
}

.category-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 6px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Order demo page ──────────────────────────────────────────────────────── */

.order-hero {
  background: var(--black);
  padding: 52px 0;
  text-align: center;
}

.order-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 10px;
}

.order-hero p { color: var(--gray-light); }

.order-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
  padding: 52px 0;
}

.chat-window {
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  height: 580px;
}

.chat-header {
  background: var(--black);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header-avatar {
  width: 36px;
  height: 36px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
}

.chat-header-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.chat-header-status {
  font-size: 0.72rem;
  color: var(--amber);
  display: block;
  margin-top: 1px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--cream-dark); border-radius: 2px; }

.msg {
  display: flex;
  gap: 8px;
  max-width: 85%;
}

.msg.bot { align-self: flex-start; }
.msg.user { align-self: flex-end; flex-direction: row-reverse; }

.msg-bubble {
  padding: 10px 14px;
  border-radius: 3px;
  font-size: 0.88rem;
  line-height: 1.55;
}

.msg.bot .msg-bubble {
  background: var(--cream);
  color: var(--black);
  border-bottom-left-radius: 1px;
}

.msg.user .msg-bubble {
  background: var(--black);
  color: var(--white);
  border-bottom-right-radius: 1px;
}

.msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
  margin-top: 2px;
}

.chat-typing {
  display: none;
  align-self: flex-start;
}

.chat-typing.visible { display: flex; }

.typing-dots {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  background: var(--cream);
  border-radius: 3px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--gray);
  border-radius: 50%;
  animation: typingPulse 1.2s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingPulse {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
  30% { opacity: 1; transform: scale(1); }
}

.chat-input-row {
  border-top: 1px solid var(--cream-dark);
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.chat-input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  border: 1px solid var(--cream-dark);
  border-radius: 3px;
  padding: 10px 14px;
  resize: none;
  outline: none;
  min-height: 42px;
  max-height: 120px;
  background: var(--cream);
  color: var(--black);
  transition: border-color 0.15s;
  line-height: 1.4;
}

.chat-input:focus { border-color: var(--amber); }
.chat-input::placeholder { color: var(--gray-light); }

.chat-send {
  background: var(--amber);
  border: none;
  border-radius: 3px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}

.chat-send:hover { background: var(--amber-dark); }
.chat-send:disabled { background: var(--cream-dark); cursor: not-allowed; }
.chat-send svg { width: 18px; height: 18px; }

.order-sidebar {
  position: sticky;
  top: 88px;
}

.order-summary {
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}

.order-summary-header {
  background: var(--black);
  padding: 14px 18px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.order-summary-body {
  padding: 16px 18px;
  min-height: 80px;
}

.order-empty {
  font-size: 0.82rem;
  color: var(--gray-light);
  text-align: center;
  padding: 20px 0;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.85rem;
}

.order-item:last-child { border-bottom: none; }

.order-item-name { font-weight: 500; flex: 1; line-height: 1.4; }
.order-item-price { font-family: var(--font-display); font-weight: 700; color: var(--amber-dark); flex-shrink: 0; }

.order-total {
  padding: 14px 18px;
  border-top: 2px solid var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-total-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-total-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--amber-dark);
}

.order-note {
  background: var(--amber-pale);
  border: 1px solid var(--amber);
  border-radius: 3px;
  padding: 12px 14px;
  font-size: 0.78rem;
  color: var(--black);
  line-height: 1.5;
}

.order-note strong {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
  color: var(--amber-dark);
}

/* ── About page ───────────────────────────────────────────────────────────── */

.about-hero {
  background: var(--black);
  padding: 72px 0;
}

.about-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 16px;
}

.about-hero p {
  color: var(--gray-light);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
}

.about-img {
  background: var(--cream-dark);
  aspect-ratio: 3/4;
  border-radius: 3px;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.about-content p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 52px 0;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 3px;
  padding: 24px;
}

.value-icon {
  width: 44px;
  height: 44px;
  background: var(--amber-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.value-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--amber-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.value-desc { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .feature-bar .container { grid-template-columns: repeat(2, 1fr); }
  .favorites-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .order-layout { grid-template-columns: 1fr; }
  .order-sidebar { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  footer .container { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 600px) {
  .favorites-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .feature-bar .container { grid-template-columns: 1fr; }
  .order-band .container { flex-direction: column; text-align: center; }
  nav { gap: 16px; }
  nav a { font-size: 0.78rem; }
  .hero-headline { font-size: 2.8rem; }
}

/* ── Cart sidebar ─────────────────────────────────────────────────────────── */

#cartSidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100vh;
  background: var(--black);
  z-index: 500;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  box-shadow: -8px 0 32px rgba(0,0,0,0.3);
}

#cartSidebar.open { right: 0; }

#cartOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 499;
  display: none;
}

#cartOverlay.open { display: block; }

.cart-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.cart-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-sidebar-body::-webkit-scrollbar { width: 4px; }
.cart-sidebar-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

.cart-empty {
  font-size: 0.85rem;
  color: var(--gray-light);
  text-align: center;
  padding: 40px 0;
  line-height: 1.6;
}

.cart-sidebar-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cart-sidebar-item:last-child { border-bottom: none; }

.cart-sidebar-item-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 3px;
}

.cart-sidebar-item-detail {
  font-size: 0.75rem;
  color: var(--gray-light);
  line-height: 1.4;
}

.cart-sidebar-item-price {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--amber);
}

.cart-sidebar-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cart-sidebar-total {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}

/* ── Item modal ───────────────────────────────────────────────────────────── */

#itemModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 600;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#itemModal.open { display: flex; }

.item-modal-box {
  background: var(--white);
  border-radius: 4px;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
}

.item-modal-img {
  width: 100%;
  aspect-ratio: 16/8;
  overflow: hidden;
  background: var(--cream-dark);
}

.item-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-modal-body { padding: 24px; }

.item-modal-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.item-modal-desc {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.item-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(0,0,0,0.5);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 1;
}

.modal-section-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 8px;
  display: block;
}

.modal-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.modal-option {
  padding: 6px 14px;
  border: 1.5px solid var(--gray-light);
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  background: var(--white);
  color: var(--black);
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}

.modal-option:hover { border-color: var(--amber); }
.modal-option.selected { border-color: var(--amber); background: var(--amber-pale); }

.modal-qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.qty-btn {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--black);
  background: none;
  border-radius: 2px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  transition: background 0.15s;
}

.qty-btn:hover { background: var(--black); color: var(--white); }
.qty-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.qty-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

.modal-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--amber-dark);
  margin-left: auto;
}

.modal-add-btn {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
}

.modal-limit-msg {
  font-size: 0.78rem;
  color: var(--amber-dark);
  text-align: center;
  margin-top: 8px;
  display: none;
}

@media (max-width: 600px) {
  #cartSidebar { width: 100%; right: -100%; }
}
