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

html, body { overflow-x: hidden; }

:root {
  --ink:       #0B0705;
  --espresso:  #1B0E08;
  --charcoal:  #221408;
  --cream:     #FAF7F2;
  --ivory:     #F2EBD9;
  --sand:      #E6D9C4;
  --saffron:   #C85A0C;
  --saffron-l: #E07A35;
  --gold:      #B88830;
  --muted:     #7A6A58;
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'Outfit', system-ui, sans-serif;
  --nav-h:     76px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
}

/* ─────────────────── NAV ─────────────────── */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .5s ease, border-color .5s ease;
}
nav.filled {
  background: rgba(11,7,5,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(184,136,48,.14);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}
.nav-center {
  display: flex;
  gap: 42px;
  list-style: none;
}
.nav-center a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  text-decoration: none;
  transition: color .25s;
}
.nav-center a:hover { color: var(--saffron-l); }
.nav-cta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--saffron);
  border: none;
  padding: 12px 28px;
  cursor: pointer;
  text-decoration: none;
  transition: background .25s;
}
.nav-cta:hover { background: var(--saffron-l); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: transform .3s, opacity .3s;
}

@media (max-width: 768px) {
  nav { padding: 0 24px; }
  nav, nav.filled {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
  }
  .nav-logo, .nav-center, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ─────────────────── HERO ─────────────────── */
#hero-section {
  height: 320vh;
  position: relative;
}
.hero-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #2a1a06;
  z-index: 0;
}
#hero-video-desktop,
#hero-video-mobile {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#hero-video-mobile { display: none; }

@media (max-width: 768px) {
  #hero-video-desktop { display: none; }
  #hero-video-mobile  { display: block; object-fit: contain; }
}

/* Sections after hero stack above the fixed video */
.exp-strip, #story, .highlights, #menu,
.reservation, #findus, footer {
  position: relative;
  z-index: 1;
}

/* ─────────────────── SECTION COMMON ─────────────────── */
.section-tag {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .44em;
  text-transform: uppercase;
  color: var(--saffron);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--saffron);
  flex-shrink: 0;
}
.section-heading {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}
.section-heading em { font-style: italic; color: var(--saffron); }

/* ─────────────────── STORY ─────────────────── */
#story {
  background-color: var(--cream);
  background-image: url('../images/story-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#story::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 247, 242, 0.55);
  pointer-events: none;
}
.story {
  position: relative;
  z-index: 1;
  padding: 120px 56px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.story .section-tag {
  justify-content: center;
}
.story .section-tag::before { display: none; }
.story-text p {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.85;
  color: #3A2E24;
  margin-top: 28px;
}
.story-text p + p { margin-top: 18px; }

@media (max-width: 900px) {
  .story { padding: 80px 24px; }
}

/* ─────────────────── HIGHLIGHTS ─────────────────── */
.highlights {
  background: var(--espresso);
  padding: 100px 56px;
}
.highlights-inner {
  max-width: 1320px;
  margin: 0 auto;
}
.highlights-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 72px;
}
.highlights-header .section-heading { color: var(--cream); }
.highlights-header .section-tag { color: var(--saffron-l); }
.highlights-header .section-tag::before { background: var(--saffron-l); }
.highlights-sub {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(250,247,242,.5);
  align-self: end;
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.highlight-card {
  background: rgba(255,255,255,.04);
  padding: 44px 36px;
  border-top: 1px solid rgba(184,136,48,.18);
  transition: background .3s;
}
.highlight-card:hover { background: rgba(255,255,255,.07); }
.hc-num {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .32em;
  color: rgba(184,136,48,.5);
  margin-bottom: 28px;
  display: block;
}
.hc-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 14px;
  line-height: 1.2;
}
.hc-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(250,247,242,.48);
}

@media (max-width: 900px) {
  .highlights { padding: 72px 24px; }
  .highlights-header { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .highlights-grid { grid-template-columns: 1fr; }
}

/* ─────────────────── MENU ─────────────────── */
#menu {
  background-image: url('../images/menu-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.menu-section {
  padding: 120px 56px;
  max-width: 1320px;
  margin: 0 auto;
}
.menu-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 24px;
}
.menu-header-right {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: .04em;
}

.menu-pills-wrap {
  position: relative;
  margin-bottom: 40px;
}
.menu-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pills-hint, .items-hint { display: none; }
@media (max-width: 768px) {
  .menu-pills-wrap {
    margin-bottom: 28px;
  }
  .menu-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .menu-pills::-webkit-scrollbar { display: none; }
  .pill { scroll-snap-align: start; flex-shrink: 0; }
  .pills-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .06em;
    color: var(--muted);
    opacity: .75;
  }
  .pills-hint svg { flex-shrink: 0; width: 14px; height: 14px; }
  .items-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .06em;
    color: var(--muted);
    opacity: .75;
  }
  .items-hint svg { flex-shrink: 0; width: 14px; height: 14px; }
}
.pill {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid var(--sand);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: all .2s;
}
.pill.active {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
}
.pill:hover:not(.active) {
  border-color: var(--saffron);
  color: var(--saffron);
}

.menu-grid-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.menu-item-card {
  background: var(--ivory);
  border-radius: 6px;
  padding: 14px 16px;
  border-left: 3px solid var(--saffron);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mic-name {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}
.mic-desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
.mic-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mic-price {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--saffron);
}
.mic-add {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--saffron);
  border: none;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.mic-add:hover { background: var(--saffron-l); }

.mic-size-btns { width: 100%; display: flex; gap: 6px; flex-wrap: wrap; }
.mic-size-btn {
  flex: 1; min-width: 56px;
  padding: 7px 8px 6px;
  background: transparent;
  border: 1px solid var(--sand);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted);
  cursor: pointer; transition: all .2s; text-align: center; line-height: 1;
}
.mic-size-btn span {
  display: block;
  font-family: var(--sans);
  font-size: 14px; font-weight: 600;
  color: var(--saffron);
  margin-top: 3px; letter-spacing: 0; text-transform: none;
}
.mic-size-btn:hover {
  border-color: var(--saffron);
  background: rgba(200,90,12,.06);
  color: var(--ink);
}

@media (max-width: 900px) {
  .menu-section { padding: 80px 24px; }
  .menu-grid-preview { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .menu-grid-preview { grid-template-columns: 1fr; }
}

/* ─────────────────── RESERVATION ─────────────────── */
.reservation {
  position: relative;
  padding: 140px 60px;
  overflow: hidden;
}
.reservation-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(184,136,48,.08) 0%, transparent 60%),
    var(--espresso);
}
.reservation-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.reservation-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
}

.reservation .section-tag { color: var(--saffron-l); }
.reservation .section-tag::before { background: var(--saffron-l); }
.reservation .section-heading { color: var(--cream); margin-bottom: 12px; }
.reservation-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(250,247,242,.48);
  margin-bottom: 52px;
  letter-spacing: .02em;
}

.res-form-box {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  padding: 52px 52px 44px;
  max-width: 760px;
}
.res-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-group label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(250,247,242,.45);
}
.field-group input,
.field-group select {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 3px;
  padding: 15px 18px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--cream);
  outline: none;
  width: 100%;
  transition: border-color .25s;
  appearance: none;
  -webkit-appearance: none;
}
.field-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='rgba(255,255,255,.4)' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.field-group input::placeholder { color: rgba(250,247,242,.28); }
.field-group input:focus,
.field-group select:focus { border-color: rgba(200,90,12,.55); }
.field-group input.error,
.field-group select.error {
  border-color: #e53e3e;
  background: rgba(229,62,62,.08);
}

.res-submit {
  width: 100%;
  padding: 18px;
  background: var(--saffron);
  border: none;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  transition: background .25s;
}
.res-submit:hover { background: var(--saffron-l); }
.res-submit svg { width: 18px; height: 18px; fill: currentColor; }

@media (max-width: 768px) {
  .reservation { padding: 80px 24px; }
  .res-form-box { padding: 32px 24px; }
  .res-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ─────────────────── EXPERIENCE STRIP ─────────────────── */
.exp-strip {
  background: var(--ivory);
  padding: 72px 56px;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}
.exp-strip-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--sand);
}
.exp-item {
  background: var(--ivory);
  padding: 40px 36px;
  text-align: center;
}
.exp-num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 300;
  color: var(--saffron);
  line-height: 1;
  margin-bottom: 8px;
}
.exp-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 768px) {
  .exp-strip { padding: 48px 24px; }
  .exp-strip-inner { grid-template-columns: 1fr; }
}

/* ─────────────────── FIND US ─────────────────── */
#findus {
  background-image: url('../images/findus-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.findus {
  padding: 120px 56px;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.findus-details { }
.findus-details .section-heading { margin-bottom: 28px; }
.detail-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--sand);
}
.detail-row:first-of-type { border-top: 1px solid var(--sand); }
.detail-icon {
  width: 36px;
  height: 36px;
  background: var(--ivory);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.detail-icon svg { width: 16px; height: 16px; fill: var(--saffron); }
.detail-body {}
.detail-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.detail-text {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}
.detail-text a { color: var(--saffron); text-decoration: none; }

.map-placeholder {
  aspect-ratio: 1;
  background: var(--ivory);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(20%) contrast(1.05);
}
.map-overlay-badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--espresso);
  color: var(--cream);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 10px 20px;
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 900px) {
  .findus {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 72px 24px;
  }
  .map-placeholder { aspect-ratio: 16/10; }
}

/* ─────────────────── FOOTER ─────────────────── */
footer {
  background: var(--ink);
  padding: 64px 56px 36px;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--cream);
}
.footer-brand small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: .34em;
  color: rgba(250,247,242,.3);
  margin-top: 6px;
}
.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(250,247,242,.3);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li + li { margin-top: 10px; }
.footer-col ul a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(250,247,242,.6);
  text-decoration: none;
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--saffron-l); }
.footer-col ul li.muted {
  font-size: 13px;
  font-weight: 300;
  color: rgba(250,247,242,.4);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 12px;
  font-weight: 300;
  color: rgba(250,247,242,.22);
  letter-spacing: .08em;
}

@media (max-width: 768px) {
  footer { padding: 48px 24px 28px; }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 32px; }
}

/* ─────────────────── MOBILE NAV DRAWER ─────────────────── */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 190;
  pointer-events: none;
}
.mobile-drawer.open { pointer-events: all; }
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11,7,5,0);
  transition: background .35s;
}
.mobile-drawer.open .drawer-backdrop { background: rgba(11,7,5,.7); }
.drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--espresso);
  padding: 96px 40px 40px;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.22,1,.36,1);
  display: flex;
  flex-direction: column;
}
.mobile-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-nav { list-style: none; flex: 1; }
.drawer-nav li + li { margin-top: 2px; }
.drawer-nav a {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 300;
  color: rgba(250,247,242,.7);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .2s;
}
.drawer-nav a:hover { color: var(--saffron-l); }
.drawer-cta {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  background: var(--saffron);
  padding: 18px;
  text-decoration: none;
  margin-top: 32px;
  transition: background .2s;
}
.drawer-cta:hover { background: var(--saffron-l); }

/* ─────────────────── MENU ITEMS GRID ─────────────────── */
.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.menu-sub-heading {
  grid-column: 1 / -1;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 28px 0 10px;
  border-bottom: 1px solid var(--sand);
}
.sub-note {
  font-weight: 300;
  letter-spacing: .1em;
  text-transform: none;
  font-size: 9px;
  opacity: .75;
}
@media (max-width: 900px) {
  .menu-items-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .menu-items-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    max-height: 60vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 12px;
    border-radius: 12px;
    background: rgba(232, 218, 196, 0.45);
    border: 1px solid rgba(200, 90, 12, 0.12);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  .menu-items-grid::-webkit-scrollbar { display: none; }
  .menu-item-card {
    padding: 10px 12px;
    gap: 6px;
  }
  .mic-size-btn { padding: 5px 6px 5px; }
  .mic-size-btn span { margin-top: 2px; }
}
@media (max-width: 480px) {
  .menu-items-grid { grid-template-columns: 1fr; }
}

/* ─────────────────── MENU LAYOUT (with cart) ─────────────────── */
.menu-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
.menu-col { min-width: 0; }
@media (max-width: 1100px) { .menu-layout { grid-template-columns: 1fr 300px; } }
@media (max-width: 768px)  { .menu-layout { grid-template-columns: 1fr; } }

/* ─────────────────── CART SIDEBAR ─────────────────── */
.cart-panel {
  position: fixed;
  top: calc(var(--nav-h) + 20px);
  right: max(56px, calc((100vw - 1320px) / 2 + 56px));
  width: 340px;
  max-height: calc(100vh - var(--nav-h) - 40px);
  background: var(--ivory);
  border: 1px solid var(--sand);
  border-radius: 6px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 150;
}
@media (max-width: 1100px) { .cart-panel { width: 300px; } }
@media (max-width: 768px)  { .cart-panel { display: none; } }

.cp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--sand);
  flex-shrink: 0;
}
.cp-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
}
.cp-badge {
  background: var(--saffron);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.cp-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 20px;
  color: var(--muted);
  text-align: center;
}
.cp-empty p:first-child {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
}
.cp-empty p:last-child { font-size: 12px; font-weight: 300; letter-spacing: .06em; }

.cp-items { flex: 1; overflow-y: auto; padding: 8px 0; }

.ci-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.ci-name { font-size: 13px; font-weight: 400; color: var(--ink); line-height: 1.3; }
.ci-qty { display: flex; align-items: center; gap: 6px; }
.ci-qty button {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--sand); background: #fff;
  color: var(--ink); font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s; flex-shrink: 0;
}
.ci-qty button:hover { border-color: var(--saffron); color: var(--saffron); }
.ci-qty span { font-size: 14px; font-weight: 500; min-width: 18px; text-align: center; }
.ci-price { font-family: var(--serif); font-size: 16px; font-weight: 500; color: var(--saffron); min-width: 52px; text-align: right; }

.cp-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--sand);
  padding: 14px 20px 18px;
  display: none;
}
.cp-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cp-total > span:first-child { font-size: 14px; font-weight: 500; color: var(--ink); }
.cp-total > span:last-child { font-family: var(--serif); font-size: 22px; color: var(--saffron); }
.cp-fields { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.cp-fields input {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--sand); border-radius: 4px;
  font-family: var(--sans); font-size: 13px; color: var(--ink);
  background: #fff; outline: none; transition: border-color .2s;
}
.cp-fields input:focus { border-color: var(--saffron); }
.cp-fields input::placeholder { color: var(--muted); }
.cp-phone-hint { font-size: 11px; color: #e53e3e; display: none; margin-top: -4px; }
.cp-actions { display: flex; flex-direction: column; gap: 7px; }
.cp-btn {
  width: 100%; padding: 12px; border: none; border-radius: 4px;
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: all .2s;
}
.cp-btn:disabled { opacity: .4; cursor: not-allowed; }
.cp-btn-pickup { background: var(--espresso); color: #fff; }
.cp-btn-pickup:not(:disabled):hover { background: #000; }
.cp-btn-online { background: var(--saffron); color: #fff; }
.cp-btn-online:not(:disabled):hover { background: var(--saffron-l); }

/* ─────────────────── FLOATING CART BUTTON ─────────────────── */
.cart-fab {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 250;
  display: none;
  align-items: center; justify-content: space-between;
  background: var(--espresso); color: #fff;
  border: none; border-radius: 0;
  padding: 0 20px;
  height: 60px;
  padding-bottom: env(safe-area-inset-bottom, 0);
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  cursor: pointer;
}
.cf-left { display: flex; align-items: center; gap: 10px; }
.cart-fab svg { width: 20px; height: 20px; flex-shrink: 0; }
.cf-summary { font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.cf-cta { color: var(--saffron); font-size: 14px; font-weight: 600; letter-spacing: .04em; }

/* ─────────────────── CART DRAWER (MOBILE) ─────────────────── */
.cart-drawer { position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.cart-drawer.open { pointer-events: all; }
.cd-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .3s;
}
.cart-drawer.open .cd-backdrop { background: rgba(0,0,0,.5); }
.cd-panel {
  position: absolute; bottom: 0; left: 0; right: 0;
  border-radius: 20px 20px 0 0; max-height: 82vh;
  background: var(--ivory);
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
  display: flex; flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.cart-drawer.open .cd-panel { transform: translateY(0); }
.cd-header {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 20px 14px; border-bottom: 1px solid var(--sand); flex-shrink: 0;
}
.cd-header .cp-title { flex: 1; }
.cd-close {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--sand); background: #fff;
  font-size: 20px; cursor: pointer; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
}
.cd-body { flex: 1; overflow-y: auto; padding: 8px 0; }

/* ─────────────────── UPI MODAL ─────────────────── */
.upi-modal {
  position: fixed; inset: 0; z-index: 9000;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.upi-modal.open { display: flex; }
.upi-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.65); }
.upi-panel {
  position: relative; background: var(--ivory); border-radius: 12px;
  width: 100%; max-width: 400px; padding: 28px;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
}
.upi-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.upi-header span { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink); }
.upi-close-btn {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--sand); background: #fff;
  font-size: 20px; cursor: pointer; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
}
.upi-id-label { font-size: 10px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.upi-id-row { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.upi-id-value { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink); letter-spacing: .04em; }
.upi-copy-btn {
  flex-shrink: 0;
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px;
  border: 1px solid var(--saffron); color: var(--saffron); background: transparent;
  cursor: pointer; transition: all .2s; white-space: nowrap;
}
.upi-copy-btn.copied { background: var(--saffron); color: #fff; border-color: var(--saffron); }
.upi-qr-wrap {
  width: 160px; height: 160px; background: var(--sand); border-radius: 8px;
  margin: 0 auto 22px; display: flex; align-items: center; justify-content: center;
}
.upi-paid-btn {
  width: 100%; padding: 15px; background: var(--saffron); border: none; border-radius: 4px;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: #fff; cursor: pointer; transition: background .2s;
}
.upi-paid-btn:not(:disabled):hover { background: var(--saffron-l); }
.upi-paid-btn:disabled { opacity: .5; cursor: not-allowed; }
.upi-countdown { display: none; margin-top: 12px; font-size: 12px; font-weight: 300; color: var(--muted); text-align: center; line-height: 1.6; }
