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

:root {
  --red: #D35400;
  --red-dark: #A84300;
  --red-light: #FEF0E6;
  --cream: #FDF8F2;
  --warm-white: #FFFDF9;
  --charcoal: #1A1A18;
  --warm-gray: #6B6460;
  --border: #EAE0D5;
  --gold: #D4A017;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Account for fixed headers on mobile */

@media (max-width: 900px) {
  html {
          scroll-padding-top: 120px; /* nav (68px) + mobile-subnav (~52px) */
        }
}

@media (max-width: 480px) {
  html {
          scroll-padding-top: 110px; /* nav (60px) + mobile-subnav (~50px) */
        }
}

/* ── NAV ── */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 3rem;
  height: 68px;
  background: rgba(253,248,242,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 0 rgba(0,0,0,0);
  transition: box-shadow 0.3s ease;
}

/* shown only ≤900px, replacing the floating cart-fab there */

/* ── HERO ── */

/* Hero photo collage */

/* ── MOBILE SUB-NAV ── */

@media (max-width: 900px) {
  nav {
          backdrop-filter: none;
          background: rgb(253,248,242);
        }
}

.menu-item-img {
  width: 72px; height: 72px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  margin-left: 0.6rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.menu-item:hover .menu-item-img {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(211,84,0,0.2);
}

/* make menu items align nicely with photo */

.menu-item { align-items: center; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── STRIP ── */

.strip {
  background: var(--charcoal); color: #fff;
  padding: 1rem 3rem;
  display: flex; gap: 0; overflow: hidden;
}

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

/* ── LIVE OFFERS TICKER — hidden by default, shown via JS only when ≥1 offer is currently live ──
   padding-top is a rough fallback; JS (positionOfferStrip) sets the exact
   pixel value at runtime by measuring the actual nav + mobile-subnav height,
   so it stays correct even if those change or vary by device. */

/* ── SECTIONS SHARED ── */

section { padding: 5.5rem 3rem; }

.section-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--red); margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 0.5rem;
}

/* ── MENU ── */

.menu-section { background: var(--warm-white); }

.menu-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }

.menu-sizes {
  display: flex; gap: 0; align-items: stretch;
  background: var(--warm-white);
  border: 1.5px solid rgba(192,57,43,0.18);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(211,84,0,0.09), 0 1px 4px rgba(0,0,0,0.05);
  flex-shrink: 0;
}

.menu-sizes.menu-sizes-hidden { display: none; }

.menu-sizes-variant {
  display: none;
  align-items: stretch;
  width: 100%;
}

.menu-sizes-variant.active { display: flex; }

.menu-sizes-label {
  display: flex; flex-direction: column; justify-content: center;
  padding: 0.6rem 1.1rem 0.6rem 1.2rem;
  background: var(--red);
  flex-shrink: 0;
}

.menu-sizes-text {
  display: flex; align-items: center;
  flex: 1;
  padding: 0.55rem 1.1rem;
  font-size: 0.74rem; line-height: 1.4;
  color: var(--warm-gray);
}

.menu-sizes-text-center { justify-content: center; text-align: center; font-weight: 700; color: var(--charcoal); }

.menu-sizes-text-stacked { flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; }

.meal-headline { font-size: 0.85rem; font-weight: 700; color: var(--charcoal); line-height: 1.3; }

.meal-price { color: var(--red); }

.meal-subline { font-size: 0.68rem; color: var(--charcoal); font-style: italic; line-height: 1.3; }

.menu-sizes-label .sizes-sub {
  font-family: var(--display);
  font-size: 1.15rem; font-weight: 700; color: #fff;
  line-height: 1; white-space: nowrap;
}

.size-badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: transparent;
  padding: 0.55rem 1.1rem;
  border-left: 1px solid rgba(192,57,43,0.15);
  transition: background 0.18s;
  cursor: default;
}

.size-badge:hover { background: var(--red-light); }

.size-badge .size-in { font-size: 1.05rem; font-weight: 800; color: var(--red); line-height: 1; font-family: var(--display); }

.size-badge .size-name { font-size: 0.58rem; color: var(--warm-gray); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 3px; font-weight: 600; }

/* ── MENU TABS SCROLL HINT ── */

/* ── MOBILE CATEGORY PICKER (replaces sliding tabs on small screens) ── */

@media (max-width: 900px) {
  /* Replace the sliding tab strip with the floating category picker */
  /* Sticky quick-bites subnav sits just below tabs */
  .qb-subnav.visible {
          position: sticky;
          top: 68px;
          z-index: 99;
          background: var(--red-light);
          margin-left: -1.5rem; margin-right: -1.5rem;
          padding-left: 1.5rem; padding-right: 1.5rem;
          flex-wrap: nowrap;
          overflow-x: auto;
          -webkit-overflow-scrolling: touch;
          scrollbar-width: none;
        }
  .qb-subnav.visible::-webkit-scrollbar { display: none; }
}

.menu-panel { display: none; }

.menu-panel.active { display: block; }

.menu-category { margin-bottom: 2.5rem; }

.menu-category-title {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--red);
  border-left: 3px solid var(--red); padding-left: 0.7rem;
  margin-bottom: 1.2rem;
}

.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }

.menu-item {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 1.1rem 1.2rem;
  background: var(--warm-white);
  transition: background 0.15s;
}

.menu-item:hover { background: var(--red-light); }

.menu-item-left { flex: 1; margin-right: 1rem; }

.menu-item-name { font-weight: 600; font-size: 0.92rem; margin-bottom: 0.2rem; }

.menu-item-desc { font-size: 0.76rem; color: var(--warm-gray); line-height: 1.5; }

.badge-row { display: flex; gap: 0.4rem; margin-top: 0.3rem; }

.badge {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 0.15rem 0.45rem; border-radius: 2px; text-transform: uppercase;
}

.badge-veg { background: #E8F5E9; color: #2E7D32; }

.badge-spicy { background: #FFF3E0; color: #E65100; }

.badge-best { background: #FFF8E1; color: #F57F17; }

.menu-item-price { font-family: var(--display); font-size: 0.92rem; color: var(--red); white-space: nowrap; font-weight: 700; }

.menu-item-price .price-note { font-size: 0.65rem; color: var(--warm-gray); font-family: 'DM Sans', sans-serif; font-weight: 400; display: block; text-align: right; margin-top: 1px; }

/* single column items */

/* add-ons panel */

.addons-panel {
  margin-top: 2.5rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--warm-white);
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}

.addon-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.3rem;
  padding: 0.85rem 0.9rem 0.7rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--cream);
  min-width: 90px; flex: 0 0 auto;
  position: relative;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  cursor: default;
}

.addon-card.selected {
  border-color: var(--red);
  background: var(--red-light);
  box-shadow: 0 2px 12px rgba(211,84,0,0.15);
}

/* ── PER-SIZE PILL STEPPER ── */

/* ── SIZE PILL STEPPER: 8″ [− 2 +] ₹458 ── */

.size-pill-stepper {
  display: inline-flex; align-items: center; gap: 0.4rem;
  animation: stepperPop 0.18s cubic-bezier(0.34,1.56,0.64,1);
  flex-shrink: 0;
}

.sps-size-label {
  font-size: 0.75rem; font-weight: 800;
  color: var(--charcoal);
  white-space: nowrap;
  flex-shrink: 0;
  width: 2rem;
  text-align: right;
}

.sps-qty-wrap {
  display: inline-flex; align-items: center; gap: 0;
  border-radius: 10px; overflow: hidden;
  border: 1.5px solid var(--red);
  background: var(--red);
  box-shadow: 0 2px 8px rgba(211,84,0,0.2);
}

.size-pill-stepper .sps-btn {
  background: none; border: none; cursor: pointer;
  width: 26px; height: 100%; min-height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; color: #fff;
  transition: background 0.14s; flex-shrink: 0;
}

.size-pill-stepper .sps-btn:hover { background: rgba(0,0,0,0.18); }

.size-pill-stepper .sps-count {
  font-size: 0.78rem; font-weight: 900; color: #fff;
  font-family: var(--display);
  padding: 0 6px;
  border-left: 1px solid rgba(255,255,255,0.3);
  border-right: 1px solid rgba(255,255,255,0.3);
  min-width: 22px; text-align: center; line-height: 32px;
}

.sps-price { display: none; }

/* ── INLINE MENU STEPPER (drinks / flat-price items) — matches pizza stepper ── */

.menu-stepper {
  display: inline-flex; align-items: center; gap: 0;
  border-radius: 10px; overflow: hidden;
  border: 1.5px solid var(--red);
  background: var(--red);
  box-shadow: 0 2px 8px rgba(211,84,0,0.2);
  animation: stepperPop 0.18s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes stepperPop {
  from { transform: scale(0.82); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

/* ── ANIMATION 1: FAB wobble ── */

/* ── ANIMATION 2: Menu item card lift on hover ── */

.menu-item {
  transition: background 0.15s, transform 0.18s ease, box-shadow 0.18s ease;
}

.menu-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(211,84,0,0.12);
}

/* ── ANIMATION 3: Cart item slide-out on remove ── */

.cart-item {
  transition: opacity 0.22s ease, transform 0.22s ease, max-height 0.25s ease;
  overflow: hidden;
}

.cart-item.removing {
  opacity: 0;
  transform: translateX(-48px);
  max-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  pointer-events: none;
}

/* ── ANIMATION 4: Menu panel stagger-in ── */

@keyframes item-slide-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.menu-panel.active .menu-item {
  animation: item-slide-up 0.28s ease both;
}

.addon-popup-card.pop-in,
.addon-popup-group-title.pop-in {
  animation: item-slide-up 0.28s ease both;
}

/* ── ANIMATION 5: Cart drawer items fade-in stagger ── */

@keyframes cart-item-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cart-item.animate-in {
  animation: cart-item-in 0.22s ease both;
}

/* ── ANIMATION 6: First "+ ADD" button pulse ── */

@keyframes add-btn-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(211,84,0,0.45); transform: scale(1); }
  50%  { box-shadow: 0 0 0 7px rgba(211,84,0,0); transform: scale(1.06); }
  100% { box-shadow: 0 0 0 0 rgba(211,84,0,0); transform: scale(1); }
}

.add-btn.first-pulse {
  animation: add-btn-pulse 0.7s ease-out 1;
}

/* ── ANIMATION 7: Cart total price flash ── */

@keyframes price-flash {
  0%   { color: inherit; }
  30%  { color: var(--red); transform: scale(1.08); }
  100% { color: inherit; transform: scale(1); }
}

.cart-total-amount.flashing {
  animation: price-flash 0.5s ease both;
  display: inline-block;
}

/* ── ANIMATION 8: Stepper count bounce ── */

@keyframes count-bounce {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35); }
  70%  { transform: scale(0.92); }
  100% { transform: scale(1); }
}

.stepper-count.bouncing,
.sps-count.bouncing,
.qty-num.bouncing {
  display: inline-block;
  animation: count-bounce 0.25s cubic-bezier(0.34,1.56,0.64,1) both;
}

.stepper-btn {
  background: none; border: none; cursor: pointer;
  width: 28px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; font-weight: 700; color: #fff;
  transition: background 0.14s;
  flex-shrink: 0;
}

.stepper-btn:hover { background: rgba(0,0,0,0.18); }

.stepper-count {
  min-width: 24px; text-align: center;
  font-size: 0.82rem; font-weight: 800;
  color: #fff;
  font-family: var(--display);
  padding: 0 6px;
  border-left: 1px solid rgba(255,255,255,0.3);
  border-right: 1px solid rgba(255,255,255,0.3);
  line-height: 32px;
}

/* ── QUICK BITES SUB-NAV ── */

.qb-subnav {
  display: none;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin: -1rem 0 2rem;
  padding: 0.85rem 1rem;
  background: var(--red-light);
  border: 1px solid rgba(211,84,0,0.15);
  border-radius: 8px;
  animation: subnav-in 0.22s ease;
}

@keyframes subnav-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.qb-subnav.visible { display: flex; }

.qb-sub-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--warm-gray);
  display: flex; align-items: center;
  padding-right: 0.5rem;
  border-right: 1px solid var(--border);
  margin-right: 0.25rem;
  white-space: nowrap;
}

.qb-sub-btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.38rem 0.85rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
  border: 1.5px solid rgba(211,84,0,0.25);
  border-radius: 20px;
  background: var(--warm-white);
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.18s;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
}

.qb-sub-btn:hover { border-color: var(--red); color: var(--red); background: #fff; }

.qb-sub-btn.active {
  background: var(--red); color: #fff;
  border-color: var(--red);
  box-shadow: 0 2px 8px rgba(211,84,0,0.25);
}

/* ── INFO ── */

.info-section { background: var(--red-light); }

/* ── REVIEWS ── */

.reviews-section { background: var(--warm-white); }

.reviews-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1.6rem; flex-wrap: wrap; gap: 1rem; }

.review-card { display: flex; gap: 0.8rem; padding: 1rem 0; border-top: 1px solid var(--border); }

.review-card:first-child { border-top: none; padding-top: 0; }

.review-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--red-light); color: var(--red); font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.review-name-row { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 2px; }

.review-name { font-weight: 700; font-size: 0.88rem; color: var(--charcoal); }

.review-stars { color: var(--red); font-size: 0.72rem; }

.review-text { font-size: 0.82rem; line-height: 1.5; color: var(--warm-gray); }

.review-photos { display: flex; gap: 0.5rem; margin-top: 0.6rem; flex-wrap: wrap; }

.review-photo { width: 92px; height: 92px; object-fit: cover; border-radius: 6px; cursor: zoom-in; display: block; transition: opacity 0.15s ease; }

.review-photo:hover { opacity: 0.85; }

.review-lightbox { display: none; position: fixed; inset: 0; background: rgba(26,26,24,0.92); z-index: 999; align-items: center; justify-content: center; padding: 2rem; cursor: zoom-out; }

.review-lightbox.open { display: flex; }

.review-lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }

.review-lightbox-close { position: absolute; top: 1.2rem; right: 1.5rem; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; background: none; border: none; }

.review-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.12); border: none; color: #fff; font-size: 1.3rem; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s ease; }

.review-lightbox-nav:hover { background: rgba(255,255,255,0.25); }

.review-lightbox-prev { left: 1rem; }

.review-lightbox-next { right: 1rem; }

.review-lightbox-nav.hidden { display: none; }

.review-lightbox-counter { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); color: #fff; font-size: 0.78rem; letter-spacing: 0.05em; background: rgba(0,0,0,0.35); padding: 0.25rem 0.7rem; border-radius: 20px; }

.reviews-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 0.6rem; padding-top: 0.9rem; border-top: 1px solid var(--border); }

.extra-reviews { display: none; }

.extra-reviews.open { display: block; }

.reviews-toggle-btn { display: block; margin: 0.9rem auto 0; padding: 0.65rem 1.4rem; background: transparent; border: 1.5px solid var(--red); color: var(--red); font-weight: 700; font-size: 0.85rem; border-radius: 999px; cursor: pointer; transition: background 0.2s, color 0.2s; }

.reviews-toggle-btn:hover { background: var(--red); color: #fff; }

.reviews-powered { font-size: 0.7rem; color: #a39c93; }

.reviews-see-all { font-size: 0.78rem; font-weight: 600; color: var(--red); text-decoration: none; }

.hours-row {
  display: flex; justify-content: space-between;
  padding: 0.75rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.hours-row .day { color: var(--warm-gray); }

.hours-row .time { font-weight: 500; }

/* ── CONTACT ── */

.contact-section { background: var(--charcoal); color: #fff; }

.contact-section .section-title { color: #fff; }

/* ── FOOTER ── */

footer {
  background: #111110; color: #524D49;
  text-align: center; padding: 1.8rem 2rem;
  font-size: 0.78rem; letter-spacing: 0.05em;
}

footer span { color: var(--red); }

footer a { color: #7A736C; text-decoration: none; }

/* ── OFFERS CAROUSEL ── */

.offers-section {
  background: var(--cream);
  padding: 3.5rem 0 4rem;
}

.offers-header {
  text-align: center; max-width: 700px; margin: 0 auto 2rem; padding: 0 1.5rem;
}

.offers-header .section-label { justify-content: center; display: flex; }

.offers-header h2 {
  font-family: var(--display); font-size: 2rem; font-weight: 700;
  color: var(--charcoal); margin-top: 0.5rem;
}

/* ── SPIN THE WHEEL SECTION ── */

.spin-section {
  background: var(--charcoal);
  padding: 5rem 3rem;
  position: relative;
  overflow: hidden;
}

.spin-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(211,84,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.spin-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.spin-left .section-label { color: var(--gold); }

.spin-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.spin-title em { font-style: italic; color: var(--red); }

.spin-sub {
  font-size: 0.95rem;
  color: #ABA39B;
  line-height: 1.8;
  margin-bottom: 1.8rem;
  max-width: 380px;
}

.spin-rules {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.spin-rules span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Wheel */

.spin-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.spin-wheel-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 20px 50px rgba(211,84,0,0.3));
}

.spin-pointer {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.6rem;
  color: #fff;
  z-index: 10;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  line-height: 1;
}

.wheel-image {
  display: block;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  cursor: pointer;
  transform-origin: 50% 50%;
  will-change: transform;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
}

.spin-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70px; height: 70px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #000;
  z-index: 5;
  transition: transform 0.15s, box-shadow 0.15s;
}

.spin-btn:hover { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 6px 24px rgba(0,0,0,0.4); }

.spin-btn:active { transform: translate(-50%, -50%) scale(0.96); }

.spin-btn.is-locked { opacity: 0.6; cursor: not-allowed; color: #000; }

@keyframes wheelJerk {
  0%   { transform: translateX(0); }
  15%  { transform: translateX(-8px); }
  30%  { transform: translateX(7px); }
  45%  { transform: translateX(-5px); }
  60%  { transform: translateX(4px); }
  75%  { transform: translateX(-2px); }
  90%  { transform: translateX(1px); }
  100% { transform: translateX(0); }
}

.spin-wheel-wrap.jerk { animation: wheelJerk 0.4s ease-in-out; }

/* Result card */

.spin-result {
  display: none;
  justify-content: center;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.spin-result.visible { display: flex; }

.spin-result-card {
  background: var(--warm-white);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  text-align: center;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  animation: result-pop 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes result-pop {
  from { opacity: 0; transform: scale(0.7) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.spin-result-emoji {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  animation: emoji-bounce 0.6s cubic-bezier(0.34,1.56,0.64,1) 0.3s both;
}

@keyframes emoji-bounce {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

.spin-result-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 0.4rem;
}

.spin-result-prize {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--red);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.spin-result-hint {
  font-size: 0.8rem;
  color: var(--warm-gray);
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

.spin-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #1aad4b;
  color: #fff;
  padding: 0.85rem 1.8rem;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  width: 100%;
  transition: background 0.2s, transform 0.15s;
  position: relative;
  overflow: hidden;
}

.spin-wa-btn:hover { background: #158f3e; transform: translateY(-1px); }

.spin-add-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--red);
  color: #fff;
  padding: 0.85rem 1.8rem;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-top: 0.75rem;
  transition: background 0.2s, transform 0.15s;
}

.spin-add-cart-btn:hover { background: var(--red-dark); transform: translateY(-1px); }

.spin-add-cart-btn.added {
  background: #2e7d32;
  cursor: default;
  transform: none;
}

.spin-again-hint {
  display: block;
  margin-top: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--warm-gray);
  font-family: 'DM Sans', sans-serif;
  text-decoration: underline;
}

.spin-again-hint:hover { color: var(--charcoal); }

/* Mobile */

@media (max-width: 900px) {
  .spin-section { padding: 3.5rem 1.5rem; }
  .spin-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .spin-left { text-align: center; }
  .spin-sub { margin: 0 auto 1.5rem; }
  .spin-rules { align-items: center; }
  #wheelCanvas { width: 280px; height: 280px; }
  .spin-result-card { padding: 2rem 1.5rem; }
}

@media (max-width: 900px) {
  nav { padding: 0 1rem; justify-content: space-between; }
  /* WhatsApp, Phone, and the cart pill move together as one cluster on the right */
  /* Nav CTA buttons: icon-only on mobile so both fit without crowding */
  /* Cart button: hidden and out of layout entirely until the cart has items */
  /* Hero actions: stack vertically on mobile, all buttons full-width */
  section { padding: 3.5rem 1.5rem; }
  .menu-grid { grid-template-columns: 1fr; }
  .strip { padding: 1rem 1.5rem; }
  /* Size pills — compact on mobile, handled globally */
  /* Issue 3: menu-sizes widget — ensure all 3 sizes visible */
  .menu-header {
          flex-direction: column;
          align-items: flex-start;
        }
  .menu-sizes {
          width: 100%;
        }
  .size-badge {
          flex: 1;
          padding: 0.5rem 0.6rem;
        }
  .menu-sizes-label {
          padding: 0.6rem 0.9rem;
        }
  .size-badge .size-in { font-size: 0.9rem; }
  .size-badge .size-name { font-size: 0.55rem; }
  .menu-sizes-text { font-size: 0.68rem; padding: 0.5rem 0.8rem; }
  .meal-headline { font-size: 0.78rem; }
  .meal-subline { font-size: 0.62rem; }
  .menu-sizes-label { padding: 0.6rem 0.8rem; }
  .menu-sizes-label .sizes-sub { font-size: 1rem; }
}

/* ── EXTRA SMALL (≤ 480px) ── */

@media (max-width: 480px) {
  nav { padding: 0 0.8rem; height: 60px; }
  /* Size pills always one row — no override needed */
}

.menu-item { position: relative; }

/* Add button row */

.add-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.65rem;
  flex-wrap: wrap;
  overflow: visible;
}

/* add to cart button */

.add-btn {
  display: inline-flex; align-items: center; gap: 0.32rem;
  background: var(--charcoal); color: #fff;
  border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 0.42rem 0.85rem; border-radius: 20px;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.13);
}

.add-btn:hover { background: var(--red); box-shadow: 0 4px 14px rgba(211,84,0,0.28); }

.add-btn.active { background: var(--red); }

.add-btn:active { transform: scale(0.95); }

.add-btn svg { width: 11px; height: 11px; }

/* inline size pills */

/* ── VARIANT PILLS (Salted / Sweet / Mix) ── */

.variant-pills-row {
  display: flex; gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: 0.45rem;
}

.variant-pill {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem; font-weight: 600;
  padding: 0.22rem 0.65rem;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--warm-gray);
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.03em;
}

.variant-pill:hover {
  border-color: var(--red);
  color: var(--red);
}

.variant-pill.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* floating cart button */

/* cart drawer */

.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 400; opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}

.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: var(--cream);
  z-index: 500;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  overflow: hidden;
}

.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--warm-white);
  flex-shrink: 0;
}

.cart-header-title {
  font-family: var(--display);
  font-size: 1.2rem; font-weight: 700;
  display: flex; align-items: center; gap: 0.55rem;
}

.cart-header-title span { color: var(--red); }

.cart-header-count {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem; font-weight: 800;
  width: 22px; height: 22px; border-radius: 50%;
  opacity: 0; transform: scale(0.6);
  transition: opacity 0.2s, transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}

.cart-header-count.visible { opacity: 1; transform: scale(1); }

.cart-close {
  width: 34px; height: 34px;
  border: 1px solid var(--border); border-radius: 50%;
  background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--warm-gray);
  transition: all 0.15s;
}

.cart-close:hover { background: var(--red); color: #fff; border-color: var(--red); }

.cart-clear-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; font-weight: 600;
  color: var(--warm-gray); letter-spacing: 0.04em;
  padding: 0.3rem 0.5rem;
  border-radius: 3px;
  transition: color 0.15s, background 0.15s;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-clear-btn:hover { color: var(--red); background: var(--red-light); }

/* Body = entire scrollable region: items + details together */

.cart-body {
  flex: 1;
  display: flex; flex-direction: column;
  overflow-y: auto;
  min-height: 0;
}

.cart-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; gap: 1rem; color: var(--warm-gray); text-align: center;
}

.cart-empty-icon { font-size: 3rem; opacity: 0.4; }

.cart-empty p { font-size: 0.9rem; }

.cart-item {
  display: flex; align-items: flex-start; gap: 0.8rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  animation: slideIn 0.2s ease;
}

@keyframes slideIn { from { opacity:0; transform: translateX(10px); } to { opacity:1; transform: translateX(0); } }

.cart-item-info { flex: 1; }

.cart-item-size {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600;
  background: var(--red-light); color: var(--red);
  padding: 0.1rem 0.45rem; border-radius: 3px;
  margin-left: 0.3rem; vertical-align: middle;
}

.cart-item-addons {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.25rem;
  margin: 0.3rem 0 0.1rem 1rem;
  padding-left: 0.6rem;
  border-left: 2px solid var(--border);
}

.cart-addon-tag {
  display: inline-flex; align-items: center; gap: 0.2rem;
  font-size: 0.63rem; font-weight: 600;
  color: #6b5500;
  background: #fffaed;
  border: 1px solid #e8d070;
  padding: 0.1rem 0.45rem; border-radius: 20px;
  line-height: 1.4;
}

.cart-addon-tag em { font-style: normal; color: var(--red); font-weight: 700; }

.cart-addon-edit {
  font-size: 0.6rem; background: none; border: none;
  cursor: pointer; color: var(--warm-gray);
  padding: 0.1rem 0.2rem;
  transition: color 0.15s; margin-left: 0.1rem;
}

.cart-addon-edit:hover { color: var(--red); }

.cart-addon-add {
  font-size: 0.63rem; font-weight: 600;
  background: none; border: 1px dashed #ccc;
  color: #aaa; cursor: pointer;
  padding: 0.15rem 0.5rem; border-radius: 20px;
  transition: border-color 0.15s, color 0.15s;
}

.cart-addon-add:hover { border-color: var(--red); color: var(--red); }

.cart-item-name { font-weight: 600; font-size: 0.88rem; margin-bottom: 0.15rem; }

.cart-item-price { font-family: var(--display); font-weight: 700; color: var(--red); font-size: 0.92rem; white-space: nowrap; }

.cart-item-qty {
  display: flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem;
}

.qty-btn {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff;
  cursor: pointer; font-size: 0.9rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  color: var(--charcoal); transition: all 0.15s; line-height: 1;
}

.qty-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }

.qty-num { font-weight: 700; font-size: 0.85rem; min-width: 16px; text-align: center; }

/* ── CART SUMMARY TOGGLE ── */

.cart-summary-chip {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.68rem; font-weight: 700;
  background: rgba(255,255,255,0.1); color: #fff;
  padding: 0.18rem 0.55rem; border-radius: 20px;
  white-space: nowrap;
}

.cart-summary-chip .chip-qty {
  background: var(--red); color: #fff;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.58rem; font-weight: 800; flex-shrink: 0;
}

.cart-items-wrap {
  flex-shrink: 0; /* don't compress — let body scroll */
}

.cart-items-wrap.collapsed { display: none; }

/* Scroll-to-details nudge */

.cart-fill-nudge {
  display: none;
  margin: 0.6rem 1.5rem 0.8rem;
  padding: 0.65rem 1rem;
  background: var(--red-light);
  border: 1.5px dashed rgba(211,84,0,0.35);
  border-radius: 6px;
  font-size: 0.78rem; font-weight: 600; color: var(--red);
  cursor: pointer; text-align: center;
  transition: background 0.18s, border-color 0.18s;
  letter-spacing: 0.02em;
}

.cart-fill-nudge:hover { background: #fddcb5; border-color: var(--red); }

.cart-fill-nudge.visible { display: block; }

/* customer details form — flows inside the scrollable body */

.cart-details {
  padding: 1rem 1.5rem 1.2rem;
  border-top: 2px solid var(--border);
  background: var(--warm-white);
  flex-shrink: 0;
}

.cart-details-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--warm-gray);
  margin-bottom: 0.8rem;
  display: flex; align-items: center; gap: 0.5rem;
}

.cart-details-title::before {
  content: '↓';
  font-size: 0.9rem; color: var(--red);
}

.cart-input {
  width: 100%; padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 3px; background: #fff;
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem;
  color: var(--charcoal); outline: none;
  transition: border-color 0.2s;
  margin-bottom: 0.6rem;
}

.cart-input:focus { border-color: var(--red); }

.cart-input::placeholder { color: #b0a9a3; }

.cart-input.input-error {
  border-color: #e53935;
  background: #fff5f5;
  animation: shake 0.38s cubic-bezier(0.36,0.07,0.19,0.97);
}

@keyframes shake {
  0%,100% { transform: translateX(0); }
  15%      { transform: translateX(-7px); }
  30%      { transform: translateX(6px); }
  45%      { transform: translateX(-5px); }
  60%      { transform: translateX(4px); }
  75%      { transform: translateX(-3px); }
  90%      { transform: translateX(2px); }
}

.input-error-msg {
  font-size: 0.72rem; color: #e53935; font-weight: 600;
  margin: -0.35rem 0 0.5rem 0.1rem;
  display: flex; align-items: center; gap: 0.3rem;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn { from { opacity:0; transform: translateY(-4px); } to { opacity:1; transform: translateY(0); } }

.cart-footer {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--warm-white);
  flex-shrink: 0;
}

.cart-total-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
}

.cart-total-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--warm-gray); }

.cart-total-amount { font-family: var(--display); font-size: 1.4rem; font-weight: 700; color: var(--charcoal); }

.cart-total-amount span { color: var(--red); }

/* Address row with pickup toggle */

.cart-address-row {
  display: flex; gap: 0.5rem; align-items: stretch;
  margin-bottom: 0.6rem;
}

.cart-address-row .cart-input {
  flex: 1; margin-bottom: 0;
}

.pickup-btn {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0 0.9rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem; font-weight: 700;
  color: var(--warm-gray);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s;
  letter-spacing: 0.03em;
}

.pickup-btn:hover {
  border-color: var(--red); color: var(--red);
  background: var(--red-light);
}

.pickup-btn.active {
  background: var(--charcoal); color: #fff;
  border-color: var(--charcoal);
}

.pickup-btn .pickup-icon { font-size: 0.95rem; }

.cart-note-wrap { margin-top: 0.4rem; }

.cart-note-label {
  font-size: 0.72rem; font-weight: 700; color: var(--charcoal);
  letter-spacing: 0.04em; margin-bottom: 0.3rem;
  display: flex; align-items: center; gap: 0.4rem;
}

.cart-note-label span {
  font-weight: 400; color: var(--warm-gray); font-size: 0.68rem;
}

.cart-note-input {
  resize: none; line-height: 1.5;
  font-size: 0.8rem !important;
  min-height: 58px;
}

.cart-note-input::placeholder { color: #b0a49a; font-style: italic; }

.whatsapp-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: #1aad4b; color: #fff;
  border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
  position: relative; overflow: hidden;
}

.whatsapp-btn:hover { background: #1ebe5a; transform: translateY(-1px); }

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

.whatsapp-btn svg { width: 20px; height: 20px; fill: #fff; }

/* ── WA SHIMMER ── */

@keyframes wa-shimmer {
  0%   { transform: translateX(-120%) skewX(-18deg); }
  100% { transform: translateX(260%) skewX(-18deg); }
}

.wa-shimmer::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
  animation: wa-shimmer 0.7s ease-in-out;
  pointer-events: none;
}

/* ── SCROLL REVEAL ── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── STICKY ORDER NUDGE ── */

/* ── HOW TO ORDER STEPS ── */

@media (max-width: 900px) {
  .cart-drawer { width: 100%; }
  /* Keep WhatsApp button visible on mobile — it shows below Call to Order */
}

/* ── ADDON POPUP ── */

.addon-popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.72);
  z-index: 600; opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
  display: flex; align-items: center; justify-content: center;
  padding: 1.2rem;
}

.addon-popup-overlay.open { opacity: 1; pointer-events: all; }

.addon-popup {
  background: var(--charcoal);
  width: min(520px, 100%);
  border-radius: 18px;
  padding: 0;
  transform: scale(0.82);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1), opacity 0.22s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
  max-height: 85vh; /* Fallback for older browsers */
  max-height: 85dvh; /* Dynamic viewport height for modern browsers */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.addon-popup-overlay.open .addon-popup { transform: scale(1); opacity: 1; }

.addon-popup-handle {
  display: flex; justify-content: center; padding: 0.9rem 0 0;
}

.addon-popup-handle::before {
  content: ''; width: 40px; height: 4px;
  background: rgba(255,255,255,0.18); border-radius: 2px;
}

.addon-popup-head {
  padding: 0.8rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.addon-popup-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--red); margin-bottom: 0.3rem;
}

.addon-popup-pizza {
  font-family: var(--display);
  font-size: 1.05rem; font-weight: 700; color: #fff;
}

.addon-popup-hint {
  font-size: 0.74rem; color: rgba(255,255,255,0.55); margin-top: 0.2rem;
}

.addon-popup-body { 
  padding: 1.2rem 1.5rem 0; 
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.addon-popup-group-title {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.65);
  border-left: 3px solid var(--red); padding-left: 0.7rem;
  margin: 0.2rem 0 0.8rem; display: flex; align-items: center; gap: 0.5rem;
}

.addon-popup-group-title span {
  font-size: 0.58rem; padding: 0.18rem 0.5rem; border-radius: 2px; font-weight: 800;
}

.popup-premium { background: #FFF3CD; color: #92650a; }

.popup-veggie  { background: #E8F5E9; color: #2E7D32; }

.popup-cheese  { background: #FDE0D3; color: var(--red-dark); }

.addon-popup-grid {
  display: flex; flex-direction: column; gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.4rem;
}

.addon-popup-card {
  display: flex; flex-direction: row; align-items: center;
  gap: 0.7rem; padding: 0.75rem 0.9rem;
  border: none; border-radius: 0;
  background: #232320; cursor: pointer;
  transition: background 0.15s;
  text-align: left;
}

.addon-popup-card:hover { background: #2c2c28; }

.addon-popup-card.selected {
  background: #2a2119;
}

.popup-card-icon { font-size: 1.3rem; line-height: 1; width: 26px; text-align: center; flex-shrink: 0; }

.popup-card-icon svg { width: 24px; height: 24px; }

.popup-card-name { font-size: 0.85rem; font-weight: 600; color: #fff; line-height: 1.2; flex: 1; }

.popup-card-price { font-size: 1.05rem; color: #fff; font-weight: 800; font-family: var(--display); flex-shrink: 0; }

.popup-card-check {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25); background: transparent;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 800; color: transparent;
  transition: all 0.15s; flex-shrink: 0;
}

.addon-popup-card.selected .popup-card-check {
  background: var(--red); border-color: var(--red); color: #fff;
}

.addon-popup-footer {
  padding: 1rem 1.5rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  display: flex; 
  flex-shrink: 0;
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.addon-popup-skip {
  flex: 1; padding: 0.85rem;
  margin-right: 0.8rem;
  border: 1.5px solid rgba(255,255,255,0.2); border-radius: 6px;
  background: transparent; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.6);
  transition: border-color 0.15s, color 0.15s;
}

.addon-popup-skip:hover { border-color: #fff; color: #fff; }

.addon-popup-done {
  display: none;
  flex: 2; padding: 0.85rem;
  background: var(--red); color: #fff;
  border: none; border-radius: 6px; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.18s;
}

.addon-popup-done:hover { background: var(--red-dark); }

/* ── MOBILE ADDON POPUP FIXES ── */

@media (max-width: 480px) {
  .addon-popup-overlay { padding: 0.7rem; align-items: center; }
  .addon-popup {
          width: 100%;
          max-height: 82vh; /* Fallback */
          max-height: 82dvh; /* More aggressive on small screens */
          border-radius: 16px;
        }
  .addon-popup-head { padding: 0.5rem 1rem 0.7rem; }
  .addon-popup-label { font-size: 0.58rem; }
  .addon-popup-pizza { font-size: 0.95rem; }
  .addon-popup-hint { font-size: 0.68rem; }
  .addon-popup-body { padding: 0.6rem 0.9rem 0; }
  .addon-popup-group-title { font-size: 0.62rem; margin-bottom: 0.5rem; }
  .addon-popup-card { padding: 0.6rem 0.75rem; }
  .popup-card-icon { font-size: 1.2rem; width: 24px; }
  .popup-card-icon svg { width: 22px !important; height: 22px !important; }
  .popup-card-name { font-size: 0.78rem; }
  .popup-card-price { font-size: 0.92rem; }
  .popup-card-check { width: 18px; height: 18px; font-size: 0.6rem; }
  .addon-popup-footer { padding: 0.6rem 0.9rem calc(0.6rem + env(safe-area-inset-bottom, 0px)); }
  .addon-popup-skip { margin-right: 0.6rem; }
  .addon-popup-skip,
        .addon-popup-done { padding: 0.7rem; font-size: 0.76rem; border-radius: 6px; }
}

/* ── REDUCED MOTION ── people who ask their device for less motion get none of the
   looping/decorative animation (marquee, floating photos, shimmer, wheel jerk).
   Durations are near-zero rather than "none" so animationend/transitionend
   handlers that clean up classes still fire. */

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

/* ── restored: reviews rating, spin wave, tickets row, tiles ── */
.reviews-rating { text-align: right; }
.reviews-rating-num { font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--red); display: block; line-height: 1; }
.reviews-rating-stars { font-size: 0.85rem; color: var(--red); }
