/* ============================================================
   JERKEEZ 876 — styles.css
   Brand: Night Market #1A1A1A | Jamaican Canopy #2D6A4F
          Kingston Gold #F4A623 | Chalk Rose #E8899A
          Parchment #FAF3E0 | Warm Timber #8B5E3C
          Soft Charcoal #2C2C2C
   Fonts: Bebas Neue (display) | Lato (body) | Caveat (accent)
============================================================ */

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

:root {
  --green:    #2D6A4F;
  --gold:     #F4A623;
  --night:    #1A1A1A;
  --rose:     #E8899A;
  --parchment:#FAF3E0;
  --timber:   #8B5E3C;
  --charcoal: #2C2C2C;
  --white:    #FFFFFF;
  --red-err:  #C0392B;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 4px 24px rgba(26,26,26,0.10);
  --shadow-card: 0 2px 12px rgba(26,26,26,0.08);
  --transition: 180ms ease;
  --max-w: 1200px;
  --header-h: 68px;
}

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

body {
  font-family: 'Lato', system-ui, sans-serif;
  background: var(--parchment);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--night);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* Utility */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.caveat-text { font-family: 'Caveat', cursive; }
.section-eyebrow {
  font-size: 1.1rem;
  color: var(--timber);
  display: block;
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--night);
  line-height: 1.05;
  letter-spacing: 0.02em;
}
.section-sub {
  font-size: 1rem;
  color: var(--timber);
  margin-top: 0.25rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), border-color var(--transition);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97) translateY(1px); }
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover { background: #235c42; border-color: #235c42; }
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-gold {
  background: var(--gold);
  color: var(--night);
  border-color: var(--gold);
  font-weight: 700;
}
.btn-gold:hover { background: #e09b18; border-color: #e09b18; }
.btn-large { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.875rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--parchment);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
  height: var(--header-h);
}
.site-header.scrolled {
  border-bottom-color: rgba(45,106,79,0.15);
  box-shadow: 0 2px 16px rgba(26,26,26,0.08);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Wordmark */
.wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  color: var(--night);
  text-decoration: none;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
}
.wordmark-code {
  display: inline-block;
  background: var(--gold);
  color: var(--night);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.75em;
  padding: 0.15em 0.45em 0.1em;
  border-radius: 100px;
  vertical-align: middle;
  margin-left: 0.15em;
  line-height: 1;
}

/* Desktop nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}
.header-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}
.header-nav a:hover { color: var(--green); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header-order-btn { padding: 0.55rem 1.25rem; font-size: 0.875rem; }

/* Cart button */
.cart-btn {
  position: relative;
  background: none;
  border: 2px solid var(--green);
  color: var(--green);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cart-btn:hover { background: var(--green); color: var(--white); }
.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--gold);
  color: var(--night);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  min-width: 18px; height: 18px;
  border-radius: 100px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  line-height: 1;
  transition: transform 200ms cubic-bezier(0.34,1.56,0.64,1);
}
.cart-count.bump { transform: scale(1.4); }
.cart-count[data-count="0"] { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  background: var(--parchment);
  border-top: 1px solid rgba(45,106,79,0.12);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
/* Honour [hidden] so the drawer stays closed until the hamburger opens it.
   Without this, the class rule above beats the UA [hidden]{display:none}
   and the nav sits open over the hero on load. */
.mobile-nav[hidden] { display: none; }
.mobile-nav-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid rgba(45,106,79,0.08);
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover { color: var(--green); }

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 100dvh;
  background: var(--night);
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Subtle warm texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 50%, rgba(139,94,60,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 30%, rgba(45,106,79,0.25) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 1.25rem 3rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero-eyebrow {
  font-family: 'Caveat', cursive;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.hero-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--white);
  line-height: 0.98;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.hero-subhead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(250,243,224,0.82);
  max-width: 420px;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: rgba(250,243,224,0.55);
}

/* Hero image */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-img {
  width: min(100%, 500px);
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  /* Fade into page at bottom */
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}
.hero-image-badge {
  position: absolute;
  bottom: 1.5rem;
  left: -0.5rem;
  background: var(--gold);
  color: var(--night);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 1.1rem;
  font-family: 'Caveat', cursive;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transform: rotate(-2deg);
}

/* ============================================================
   TRUST STRIP
============================================================ */
.trust-strip {
  background: var(--white);
  padding: 3rem 0;
  border-bottom: 1px solid rgba(45,106,79,0.08);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.trust-item {
  text-align: center;
  padding: 1rem;
}
.trust-icon {
  width: 52px; height: 52px;
  background: rgba(45,106,79,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  color: var(--green);
}
.trust-title {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--night);
  margin-bottom: 0.4rem;
}
.trust-text {
  font-size: 0.9rem;
  color: var(--charcoal);
  opacity: 0.8;
  line-height: 1.5;
}

/* ============================================================
   MENU SECTION
============================================================ */
.menu-section {
  padding: 5rem 0 4rem;
  background: var(--parchment);
}

/* QR welcome banner */
.qr-welcome-banner {
  background: var(--green);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0;
}
.banner-close {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 4px;
  display: flex;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.banner-close:hover { opacity: 1; }

.menu-section .section-header {
  margin-bottom: 1.5rem;
}

/* Category tabs */
.category-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  flex-shrink: 0;
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  border: 2px solid var(--green);
  background: transparent;
  color: var(--green);
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.tab-btn.active,
.tab-btn:hover {
  background: var(--green);
  color: var(--white);
}

.category-intro {
  min-height: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--timber);
  font-size: 1.05rem;
}

/* Menu grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Item card */
.item-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.item-card:hover {
  box-shadow: 0 6px 28px rgba(26,26,26,0.13);
  transform: translateY(-2px);
}

/* Item image area */
.item-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--green) 0%, #1f4d39 100%);
  overflow: hidden;
}
.item-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}
.item-card:hover .item-img-wrap img { transform: scale(1.04); }

/* Branded fallback tile */
.item-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #2D6A4F 0%, #1f4d39 60%, #8B5E3C 100%);
  padding: 1rem;
}
.item-fallback-icon {
  opacity: 0.45;
  color: var(--gold);
}
.item-fallback-name {
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  color: var(--parchment);
  text-align: center;
  line-height: 1.3;
  font-weight: 600;
}

/* Cart quantity badge on image corner */
.item-qty-badge {
  position: absolute;
  top: 0.6rem; right: 0.6rem;
  background: var(--gold);
  color: var(--night);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  min-width: 22px; height: 22px;
  border-radius: 100px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px;
  line-height: 1;
  pointer-events: none;
}

/* "First to order" ribbon */
.item-ribbon {
  position: absolute;
  top: 0.6rem; left: 0;
  background: var(--rose);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.7rem 0.2rem 0.55rem;
  border-radius: 0 100px 100px 0;
  text-transform: uppercase;
}

/* Card body */
.item-body {
  padding: 1rem 1rem 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.item-tags {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}
.item-tag {
  font-size: 0.65rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  text-transform: uppercase;
}
.item-tag-spicy  { background: rgba(232,137,154,0.18); color: #b0284a; }
.item-tag-veg    { background: rgba(45,106,79,0.12);  color: var(--green); }
.item-tag-pop    { background: rgba(244,166,35,0.18);  color: #8a5e00; }

.item-name {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--night);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.item-desc {
  font-size: 0.875rem;
  color: var(--charcoal);
  opacity: 0.75;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* Card footer */
.item-card-footer {
  padding: 0.75rem 1rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(45,106,79,0.08);
  margin-top: 0.5rem;
}
.item-price {
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--night);
}

/* Add button + stepper */
.item-add-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.item-add-btn:hover { background: #235c42; }
.item-add-btn:active { transform: scale(0.92); }

.item-stepper {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.item-stepper-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--green);
  background: transparent;
  color: var(--green);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}
.item-stepper-btn:hover { background: var(--green); color: var(--white); }
.item-stepper-qty {
  font-size: 1rem;
  font-weight: 700;
  min-width: 1.5rem;
  text-align: center;
  color: var(--night);
}

/* ============================================================
   HOW IT WORKS
============================================================ */
.how-it-works {
  background: var(--green);
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 20%, rgba(244,166,35,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.how-it-works .section-title { color: var(--parchment); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.step {
  position: relative;
  padding: 2rem 1.5rem;
  background: rgba(250,243,224,0.07);
  border-radius: var(--radius-md);
  border: 1px solid rgba(250,243,224,0.14);
}
.step-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}
.step-title {
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--parchment);
  margin-bottom: 0.5rem;
}
.step-text {
  font-size: 0.9rem;
  color: rgba(250,243,224,0.75);
  line-height: 1.55;
}

.steps-tagline {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 1.3rem;
  color: var(--gold);
}

/* ============================================================
   ABOUT
============================================================ */
.about-section {
  background: var(--white);
  padding: 5rem 0 4rem;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.about-body {
  margin-top: 1.5rem;
}
.about-body p {
  font-size: 1.0rem;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.about-body p:last-child { margin-bottom: 0; }
.about-sign {
  font-size: 1.4rem !important;
  color: var(--timber) !important;
  margin-top: 1.25rem !important;
}

.about-img-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 1;
  margin-bottom: 1.5rem;
}
.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Catering teaser */
.catering-teaser {
  background: var(--parchment);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-left: 4px solid var(--gold);
}
.catering-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  color: var(--night);
  margin-bottom: 0.5rem;
}
.catering-teaser p {
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ============================================================
   OPENING SOON STRIP
============================================================ */
.opening-soon-strip {
  background: var(--night);
  padding: 3rem 0;
}
.opening-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.opening-text {
  font-size: 1rem;
  color: rgba(250,243,224,0.8);
  line-height: 1.6;
  max-width: 520px;
}
.ig-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
}
.ig-link:hover { text-decoration: underline; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--night);
  color: rgba(250,243,224,0.7);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(250,243,224,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(250,243,224,0.08);
}
.footer-wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.footer-tagline {
  font-size: 1.1rem;
  color: var(--gold);
}
.footer-heading {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,243,224,0.4);
  margin-bottom: 0.75rem;
}
address { font-style: normal; }
address p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(250,243,224,0.7);
}
.footer-opening {
  margin-top: 0.5rem;
  font-size: 0.875rem;
}
.footer-opening a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.footer-opening a:hover { text-decoration: underline; }

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(250,243,224,0.7);
  text-decoration: none;
  transition: color var(--transition);
}
.social-link:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 1.5rem;
}
.footer-legal {
  font-size: 0.8rem;
  color: rgba(250,243,224,0.3);
}

/* ============================================================
   CART DRAWER
============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.55);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.cart-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(360px, 100vw);
  height: 100dvh;
  background: var(--white);
  z-index: 400;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 260ms cubic-bezier(0.32,0.72,0,1);
  box-shadow: -8px 0 40px rgba(26,26,26,0.18);
}
.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(45,106,79,0.1);
}
.cart-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--night);
}
.cart-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--charcoal);
  border-radius: var(--radius-sm);
  display: flex;
  transition: color var(--transition);
}
.cart-close-btn:hover { color: var(--night); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}

/* Empty cart state */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  gap: 1rem;
  padding: 2rem;
}
.cart-empty-icon { opacity: 0.25; color: var(--green); }
.cart-empty-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--night);
}
.cart-empty-text {
  font-size: 0.9rem;
  color: var(--charcoal);
  opacity: 0.7;
  line-height: 1.5;
}
.cart-empty-cta { margin-top: 0.5rem; }

/* Cart line items */
.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(45,106,79,0.07);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--night);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}
.cart-item-unit {
  font-size: 0.8rem;
  color: var(--charcoal);
  opacity: 0.6;
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.cart-stepper-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(45,106,79,0.4);
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.cart-stepper-btn:hover { background: var(--green); color: var(--white); border-color: var(--green); }
.cart-stepper-qty {
  font-size: 0.9rem;
  font-weight: 700;
  min-width: 1.2rem;
  text-align: center;
  color: var(--night);
}
.cart-item-total {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--night);
  flex-shrink: 0;
  min-width: 3.5rem;
  text-align: right;
}
.cart-remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(192,57,43,0.5);
  padding: 2px;
  display: flex;
  transition: color var(--transition);
  flex-shrink: 0;
}
.cart-remove-btn:hover { color: var(--red-err); }

.cart-footer {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(45,106,79,0.1);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.cart-subtotal-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
}
.cart-subtotal-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--night);
}

/* ============================================================
   CHECKOUT PANEL
============================================================ */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.65);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.checkout-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.checkout-panel {
  position: fixed;
  top: 0; right: 0;
  width: min(520px, 100vw);
  height: 100dvh;
  background: var(--parchment);
  z-index: 600;
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.32,0.72,0,1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.checkout-panel.open {
  transform: translateX(0);
}

.checkout-inner {
  padding: 1.5rem 1.5rem 3rem;
}
.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  position: sticky;
  top: 0;
  background: var(--parchment);
  padding: 0.25rem 0 1rem;
  border-bottom: 1px solid rgba(45,106,79,0.1);
  z-index: 1;
}
.checkout-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  color: var(--night);
}
.checkout-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--charcoal);
  border-radius: var(--radius-sm);
  display: flex;
}
.checkout-close-btn:hover { color: var(--night); }

/* Form sections */
.form-section {
  border: none;
  margin-bottom: 1.75rem;
  padding: 0;
}
.form-section-title {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--timber);
  margin-bottom: 1rem;
  display: block;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group:last-child { margin-bottom: 0; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}
.required-mark { color: var(--red-err); margin-left: 2px; }
.optional-mark { font-weight: 400; color: rgba(44,44,44,0.5); font-size: 0.8em; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid rgba(45,106,79,0.25);
  border-radius: var(--radius-sm);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  line-height: 1.5;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.12);
  outline: none;
}
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--red-err);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}
.form-textarea { resize: vertical; }
.form-hint {
  font-size: 0.8rem;
  color: var(--timber);
  margin-top: 0.35rem;
  line-height: 1.5;
}
.form-error {
  display: block;
  font-size: 0.8rem;
  color: var(--red-err);
  margin-top: 0.3rem;
  min-height: 1rem;
  line-height: 1.4;
}
.char-counter {
  font-size: 0.78rem;
  color: rgba(44,44,44,0.5);
  text-align: right;
  margin-top: 0.3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Toggle buttons */
.toggle-group {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.toggle-btn {
  flex: 1;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(45,106,79,0.25);
  background: var(--white);
  color: var(--charcoal);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.toggle-btn.active {
  border-color: var(--green);
  background: rgba(45,106,79,0.08);
  color: var(--green);
}
.toggle-btn:hover:not(.active) {
  border-color: var(--green);
  color: var(--green);
}

/* Order summary inside checkout */
.order-summary-section {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(45,106,79,0.1);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.summary-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--timber);
}
.summary-chevron {
  transition: transform var(--transition);
  flex-shrink: 0;
}
.summary-toggle[aria-expanded="false"] .summary-chevron { transform: rotate(180deg); }

.order-summary-body {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid rgba(45,106,79,0.08);
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(45,106,79,0.05);
  font-size: 0.875rem;
  color: var(--charcoal);
}
.summary-line:last-child { border-bottom: none; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--night);
  border-top: 1.5px solid rgba(45,106,79,0.15);
  margin-top: 0.25rem;
}

/* Checkout actions */
.checkout-actions { padding-top: 0.25rem; }
.checkout-reassurance {
  font-size: 0.8rem;
  color: var(--timber);
  text-align: center;
  margin-bottom: 0.75rem;
}
.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(45,106,79,0.1);
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 0.5rem;
  width: 100%;
  justify-content: center;
}
.stripe-note {
  font-size: 0.78rem;
  color: rgba(44,44,44,0.45);
  font-style: italic;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.5;
}
#place-order-btn {
  margin-bottom: 0.75rem;
  position: relative;
}
#place-order-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}
.demo-note {
  font-size: 0.75rem;
  color: rgba(44,44,44,0.4);
  text-align: center;
  font-style: italic;
}

/* Spinner on button */
@keyframes spin { to { transform: rotate(360deg); } }
.btn-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
}

/* ============================================================
   CONFIRMATION OVERLAY
============================================================ */
.confirmation-overlay {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  padding: 1.5rem;
}
.confirmation-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
.confirmation-inner {
  text-align: center;
  max-width: 440px;
  width: 100%;
}
.confirmation-check {
  margin-bottom: 1.25rem;
}
.confirmation-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.04em;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.confirmation-sub {
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.confirmation-ref {
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  color: var(--timber);
  background: var(--parchment);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.2rem;
  display: inline-block;
  margin-bottom: 1rem;
}
.confirmation-details {
  font-size: 0.9rem;
  color: var(--charcoal);
  background: rgba(45,106,79,0.06);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  text-align: left;
  margin-bottom: 1rem;
  line-height: 1.7;
}
.confirmation-next {
  font-size: 0.875rem;
  color: var(--timber);
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* ============================================================
   STICKY MOBILE ORDER BAR
============================================================ */
.mobile-order-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--night);
  box-shadow: 0 -4px 20px rgba(26,26,26,0.22);
}
.mobile-order-bar-btn {
  width: 100%;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.mobile-order-bar-btn:hover { background: #235c42; }
.mob-bar-count { font-weight: 700; }
.mob-bar-sep { opacity: 0.5; }
.mob-bar-total { font-weight: 700; }
.mob-bar-cta {
  margin-left: auto;
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 0.2rem 0.85rem;
  font-size: 0.85rem;
}

/* ============================================================
   RESPONSIVE — TABLET (768px and below)
============================================================ */
@media (max-width: 900px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .about-img-frame { margin-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 1.25rem 2rem;
  }
  .hero-cta-group { justify-content: center; }
  .hero-location { justify-content: center; }
  .hero-subhead { margin-left: auto; margin-right: auto; }
  .hero-image-wrap { order: -1; }
  .hero-img { width: min(85%, 360px); }
  .hero-image-badge { left: 50%; transform: translateX(-60%) rotate(-2deg); }

  .trust-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .trust-item { display: flex; text-align: left; gap: 1rem; align-items: flex-start; }
  .trust-icon { flex-shrink: 0; margin: 0; }

  .steps-grid { grid-template-columns: 1fr; gap: 1rem; }

  .about-aside { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .header-nav { display: none; }
  .header-order-btn { display: none; }
  .hamburger { display: flex; }

  .opening-inner { flex-direction: column; align-items: flex-start; }

  /* Mobile: checkout full screen */
  .checkout-panel { width: 100vw; }

  /* Mobile: cart bottom sheet */
  .cart-drawer {
    top: auto; bottom: 0; right: 0; left: 0;
    width: 100vw;
    height: 70dvh;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    transform: translateY(100%);
  }
  .cart-drawer.open { transform: translateY(0); }
}

@media (max-width: 480px) {
  .menu-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-headline { font-size: 2.75rem; }
}

/* Ensure body has bottom padding when mobile order bar is visible */
body.has-cart-items { padding-bottom: 80px; }

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.menu-grid { animation: fadeInUp 300ms ease both; }

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