:root {
  --red: #ef3328;
  --red-dark: #b91f18;
  --orange: #f45a2a;
  --cream: #fff4e8;
  --cream-2: #f8eadc;
  --ink: #111111;
  --graphite: #1b1715;
  --muted: #6c625c;
  --line: rgba(17, 17, 17, 0.12);
  --white: #ffffff;
  --green: #258b54;
  --shadow: 0 24px 70px rgba(37, 24, 18, 0.14);
  --radius: 28px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

body.cart-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

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

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 40;
  display: flex;
  width: min(1180px, calc(100vw - 32px));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 244, 232, 0.72);
  box-shadow: 0 18px 50px rgba(31, 18, 13, 0.08);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    top 220ms ease;
}

.site-header.scrolled {
  top: 10px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 40px rgba(31, 18, 13, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand span {
  font-size: 18px;
}

.brand span span,
.brand strong + text {
  color: var(--red);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(239, 51, 40, 0.22);
}

.brand strong {
  color: var(--ink);
}

.brand strong + span,
.brand span {
  color: var(--red);
}

.brand span strong {
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(17, 17, 17, 0.76);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 45%,
    transparent 70%
  );
  content: "";
  transform: translateX(-120%);
}

.btn:hover::after {
  transform: translateX(120%);
  transition: transform 700ms ease;
}

.btn-red {
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: var(--white);
  box-shadow: 0 18px 40px rgba(239, 51, 40, 0.25);
}

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

.btn-light {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
}

.app-btn {
  min-height: 42px;
  padding-inline: 15px;
  font-size: 13px;
  box-shadow: 0 12px 26px rgba(31, 18, 13, 0.12);
  white-space: nowrap;
}

.header-app-btn {
  width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(31, 18, 13, 0.14);
}

.delivery-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0;
}

.uber-btn {
  background: #06c167;
  color: var(--white);
}

.dash-btn {
  background: #eb1700;
  color: var(--white);
}

.cinema-scene {
  position: relative;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.scene-one {
  grid-template-columns: minmax(360px, 0.92fr) minmax(380px, 1.08fr);
  align-items: center;
  gap: 48px;
  padding: 110px clamp(20px, 5vw, 78px) 60px;
  background:
    radial-gradient(circle at 78% 25%, rgba(239, 51, 40, 0.18), transparent 36%),
    radial-gradient(circle at 18% 74%, rgba(244, 90, 42, 0.13), transparent 34%),
    linear-gradient(135deg, #fff7ee 0%, #f8e7dc 54%, #fff1e6 100%);
}

.scene-one::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(239, 51, 40, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 51, 40, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 58% 42%, black, transparent 75%);
  content: "";
}

.scene-one::after {
  position: absolute;
  right: -14%;
  bottom: -28%;
  z-index: -1;
  width: min(720px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 34%, rgba(255, 255, 255, 0.6), transparent 12%),
    radial-gradient(circle at 66% 52%, rgba(244, 90, 42, 0.28), transparent 28%),
    rgba(239, 51, 40, 0.08);
  filter: blur(1px);
  content: "";
}

.hero-bg-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-art span {
  position: absolute;
  border: 1px solid rgba(239, 51, 40, 0.16);
  border-radius: 999px;
  opacity: 0.7;
}

.hero-bg-art span:nth-child(1) {
  top: 18%;
  left: 44%;
  width: 260px;
  height: 84px;
  transform: rotate(-18deg);
}

.hero-bg-art span:nth-child(2) {
  right: 8%;
  bottom: 14%;
  width: 190px;
  height: 62px;
  transform: rotate(28deg);
}

.hero-bg-art span:nth-child(3) {
  bottom: 22%;
  left: 9%;
  width: 130px;
  height: 44px;
  transform: rotate(16deg);
}

.scene-two {
  align-content: center;
  justify-items: center;
  padding: 108px 20px 58px;
  background:
    radial-gradient(circle at 50% 42%, rgba(239, 51, 40, 0.18), transparent 38%),
    linear-gradient(180deg, #fff4e8 0%, #f9e7d9 100%);
}

.scene-three {
  grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 96px);
  min-height: 92vh;
  padding: 88px clamp(20px, 6vw, 88px);
  background: linear-gradient(135deg, #19110f 0%, #2b1511 50%, #120f0d 100%);
  color: var(--white);
}

.scene-copy,
.handoff-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  border: 1px solid rgba(239, 51, 40, 0.26);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.38);
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.scene-three .eyebrow,
.order-section .eyebrow {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.scene-three .reveal {
  opacity: 1;
  transform: none;
}

.scene-three .handoff-copy {
  animation: slideInLeft 800ms ease both;
}

.scene-three .menu-preview {
  animation: slideInRight 900ms ease 120ms both;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: 0;
  line-height: 0.92;
}

h1 {
  margin-bottom: 26px;
  max-width: 680px;
  font-size: clamp(58px, 8vw, 124px);
  font-weight: 1000;
}

h1::first-line {
  color: var(--ink);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 92px);
  font-weight: 1000;
}

.scene-lede,
.center-copy p,
.handoff-copy p,
.section-heading p,
.order-story p,
.location-copy p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.scene-three p,
.scene-three .handoff-copy p,
.order-section p {
  color: rgba(255, 255, 255, 0.72);
}

.hero-actions,
.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 30px;
  color: rgba(17, 17, 17, 0.7);
  font-weight: 800;
}

.proof-line span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.proof-line span::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.pizza-stage {
  position: relative;
  min-height: min(660px, 70vh);
}

.pizza-stage-side {
  margin-right: 0;
}

.hero-pizza,
.full-pizza {
  position: relative;
  z-index: 2;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 30px 80px rgba(44, 19, 11, 0.28),
    inset 0 0 0 12px rgba(255, 255, 255, 0.18);
  will-change: transform;
}

.hero-pizza {
  width: min(620px, 56vw);
  margin-left: auto;
  transform: translateX(0) rotate(2deg);
  animation: sidePizzaIntro 1300ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.full-pizza {
  width: min(560px, 62vw);
  animation: fullPizzaPulse 1200ms ease both;
}

.full-pizza-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.glow {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 51, 40, 0.36), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}

.glow-one {
  right: 2%;
  bottom: 6%;
  width: min(640px, 64vw);
  aspect-ratio: 1;
}

.glow-two {
  width: min(780px, 80vw);
  aspect-ratio: 1;
}

.ingredient {
  position: absolute;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 33%, #ffffff 0 6px, transparent 7px),
    radial-gradient(circle at 62% 55%, rgba(255, 255, 255, 0.7) 0 4px, transparent 5px),
    var(--green);
  box-shadow: 0 16px 32px rgba(31, 18, 13, 0.22);
  animation: floatIngredient 5s ease-in-out infinite;
}

.ingredient-a {
  top: 24%;
  left: 8%;
}

.ingredient-b {
  right: 8%;
  top: 18%;
  width: 34px;
  height: 34px;
  background: var(--orange);
  animation-delay: 900ms;
}

.ingredient-c {
  right: 20%;
  bottom: 16%;
  width: 38px;
  height: 38px;
  background: #f4d55d;
  animation-delay: 1400ms;
}

.center-copy {
  position: relative;
  z-index: 4;
  width: min(720px, calc(100vw - 40px));
  margin-top: 24px;
  text-align: center;
}

.center-copy .eyebrow {
  background: rgba(255, 255, 255, 0.72);
}

.center-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(42px, 5.2vw, 80px);
}

.center-copy p {
  margin-inline: auto;
  max-width: 740px;
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 8px;
  color: rgba(17, 17, 17, 0.64);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.arrow-down {
  width: 16px;
  height: 16px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg);
  animation: arrowBounce 1400ms ease-in-out infinite;
}

.menu-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  padding: clamp(18px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.preview-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.preview-top span {
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(239, 51, 40, 0.18);
  color: #ffd8d0;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.menu-preview article {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.menu-preview img {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  object-fit: cover;
}

.menu-preview strong {
  display: block;
}

.menu-preview small {
  color: rgba(255, 255, 255, 0.64);
}

.menu-preview b {
  color: #ff8174;
}

.section-pad {
  padding: clamp(76px, 10vw, 140px) clamp(18px, 6vw, 88px);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 18px;
}

.section-heading p {
  margin-inline: auto;
  max-width: 680px;
}

.menu-section {
  background:
    radial-gradient(circle at top left, rgba(239, 51, 40, 0.1), transparent 34%),
    var(--cream);
}

.menu-controls {
  position: relative;
  top: auto;
  z-index: 25;
  width: min(1180px, 100%);
  margin: 0 auto 34px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 28px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 60px rgba(32, 18, 12, 0.1);
  backdrop-filter: blur(20px);
}

.search-box input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  padding: 0 18px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}

.search-box input:focus {
  border-color: rgba(239, 51, 40, 0.54);
  box-shadow: 0 0 0 4px rgba(239, 51, 40, 0.12);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.chip {
  min-height: 40px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.chip.active {
  border-color: transparent;
  background: var(--red);
  color: var(--white);
}

.filter-row .chip.active {
  background: var(--ink);
}

.menu-count {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.menu-grid.grouped {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.menu-group {
  display: grid;
  gap: 16px;
}

.menu-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  padding-bottom: 12px;
}

.menu-group-heading h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.menu-group-heading span {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(239, 51, 40, 0.1);
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

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

.menu-card {
  display: grid;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.menu-card:hover {
  box-shadow: 0 30px 80px rgba(32, 18, 12, 0.18);
  transform: translateY(-4px);
}

.menu-image {
  position: relative;
  min-height: 156px;
  overflow: hidden;
  background: linear-gradient(135deg, #2a1712, #ef3328);
}

.menu-image.generic {
  display: grid;
  min-height: 178px;
  place-items: center;
  background:
    radial-gradient(circle at 22% 26%, rgba(255, 255, 255, 0.28), transparent 16%),
    radial-gradient(circle at 78% 72%, rgba(255, 209, 112, 0.2), transparent 22%),
    linear-gradient(135deg, #2b1712, #ef3328);
}

.menu-image.generic-flame {
  background:
    radial-gradient(circle at 24% 25%, rgba(255, 218, 112, 0.32), transparent 18%),
    linear-gradient(135deg, #36100c, #ef3328 55%, #f45a2a);
}

.menu-image.generic-leaf {
  background:
    radial-gradient(circle at 72% 30%, rgba(47, 168, 102, 0.28), transparent 22%),
    linear-gradient(135deg, #182619, #ef3328);
}

.menu-image.generic-chicken,
.menu-image.generic-wedges,
.menu-image.generic-rings {
  background:
    radial-gradient(circle at 72% 30%, rgba(255, 210, 132, 0.28), transparent 22%),
    linear-gradient(135deg, #2a1712, #d74421);
}

.menu-image.generic-seafood {
  background:
    radial-gradient(circle at 74% 32%, rgba(148, 226, 255, 0.24), transparent 24%),
    linear-gradient(135deg, #121b20, #ef3328);
}

.menu-image.generic-combo {
  background:
    radial-gradient(circle at 18% 76%, rgba(255, 255, 255, 0.2), transparent 18%),
    linear-gradient(135deg, #17110f, #ef3328);
}

.menu-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 400ms ease;
}

.menu-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(17, 17, 17, 0.46) 100%);
  content: "";
}

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

.menu-icon {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  background: rgba(255, 244, 232, 0.9);
  color: var(--red);
  box-shadow: 0 18px 38px rgba(30, 11, 5, 0.26);
  backdrop-filter: blur(16px);
  transform: rotate(-3deg);
}

.menu-image.generic .menu-icon {
  position: relative;
  right: auto;
  bottom: auto;
  width: 86px;
  height: 86px;
  border-radius: 28px;
  transform: rotate(-4deg) scale(1.05);
}

.menu-image.generic .menu-icon svg {
  width: 48px;
  height: 48px;
}

.menu-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.menu-icon.flame {
  background: linear-gradient(135deg, #fff1d6, #ffd5bd);
  color: #e13922;
}

.menu-icon.leaf {
  background: #e7f8ea;
  color: var(--green);
}

.menu-icon.chicken,
.menu-icon.combo {
  background: #fff2e3;
  color: var(--orange);
}

.menu-icon.seafood {
  background: #eef8ff;
  color: #1c7ca7;
}

.menu-card-body {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.card-top h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.05;
}

.price {
  color: var(--red);
  font-size: 18px;
  font-weight: 1000;
  white-space: nowrap;
}

.menu-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.size-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
  gap: 8px;
}

.size-picker label {
  position: relative;
  display: grid;
  min-width: 0;
  cursor: pointer;
  gap: 2px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 9px 8px;
  text-align: center;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.size-picker.single-size {
  grid-template-columns: minmax(0, 1fr);
}

.size-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.size-picker span {
  overflow: hidden;
  color: rgba(17, 17, 17, 0.68);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.4px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.size-picker strong {
  color: var(--black);
  font-size: 14px;
  font-weight: 1000;
}

.size-picker em {
  color: rgba(17, 17, 17, 0.48);
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0;
}

.size-picker .pending-size {
  cursor: not-allowed;
  border-style: dashed;
  background: rgba(17, 17, 17, 0.035);
}

.size-picker .pending-size span,
.size-picker .pending-size strong,
.size-picker .pending-size em {
  color: rgba(17, 17, 17, 0.44);
}

.size-picker label:has(input:checked) {
  border-color: rgba(239, 51, 40, 0.78);
  background: rgba(239, 51, 40, 0.1);
  box-shadow: 0 12px 24px rgba(239, 51, 40, 0.12);
  transform: translateY(-1px);
}

.size-picker label:has(input:checked) span,
.size-picker label:has(input:checked) strong {
  color: var(--red);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(17, 17, 17, 0.06);
  color: rgba(17, 17, 17, 0.7);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.badge.spicy {
  background: rgba(239, 51, 40, 0.12);
  color: var(--red);
}

.badge.veg {
  background: rgba(37, 139, 84, 0.12);
  color: var(--green);
}

.menu-card .btn {
  width: 100%;
  margin-top: 4px;
}

.order-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 0.75fr);
  gap: 34px;
  align-items: center;
  background: linear-gradient(135deg, #17100e 0%, #28130f 56%, #111 100%);
  color: var(--white);
}

.order-story {
  max-width: 760px;
}

.flow-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  padding: clamp(22px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.24);
}

.flow-card span {
  color: #ff8a7d;
  font-size: 14px;
  font-weight: 1000;
}

.flow-card strong {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 16px;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.05;
}

.reviews-section {
  background: #fff8f0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr repeat(3, minmax(0, 1.05fr));
  gap: 20px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.rating-card,
.review-card {
  min-height: 250px;
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.rating-card {
  display: grid;
  align-content: start;
  gap: 12px;
  background: linear-gradient(145deg, #23120f, #101010);
  color: var(--white);
}

.rating-card p,
.rating-card small {
  color: rgba(255, 255, 255, 0.72);
}

.rating-card strong {
  color: var(--red);
  font-size: clamp(52px, 6vw, 78px);
  line-height: 0.9;
}

.rating-card strong span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.stars {
  color: var(--red);
  font-size: 22px;
  letter-spacing: 2px;
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.8);
}

.review-card p {
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.45;
}

.review-footer {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.avatar {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 950;
}

.review-footer small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mini {
  font-size: 15px;
  letter-spacing: 1px;
}

.location-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(320px, 1fr);
  gap: 40px;
  align-items: center;
  background:
    radial-gradient(circle at 85% 30%, rgba(239, 51, 40, 0.14), transparent 34%),
    var(--cream);
}

.detail-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.detail-list span {
  border-left: 4px solid var(--red);
  padding-left: 12px;
  color: var(--muted);
  font-weight: 800;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.map-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 36px;
  padding: 32px;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 17, 17, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #fff, #ffe9de);
  background-size:
    44px 44px,
    44px 44px,
    100% 100%;
  box-shadow: var(--shadow);
}

.express-card {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 17, 17, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff, #ffe1d8);
}

.map-card::after {
  position: absolute;
  inset: 30% -12% auto auto;
  width: 62%;
  height: 22px;
  border-radius: 999px;
  background: var(--red);
  box-shadow:
    0 92px 0 rgba(244, 90, 42, 0.7),
    -220px 154px 0 rgba(239, 51, 40, 0.55);
  content: "";
  transform: rotate(-26deg);
}

.map-pin {
  position: absolute;
  top: 48%;
  left: 48%;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 7px solid var(--red);
  border-radius: 50% 50% 50% 0;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(239, 51, 40, 0.3);
  transform: rotate(-45deg);
}

.map-card strong,
.map-card p,
.map-card small,
.map-card .btn {
  position: relative;
  z-index: 3;
}

.map-card strong {
  display: block;
  margin-top: auto;
  font-size: 34px;
}

.map-card p {
  margin: 10px 0 4px;
  font-size: 18px;
  font-weight: 850;
}

.map-card small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.map-card .btn {
  width: fit-content;
  margin-top: 24px;
}

.footer {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.9fr;
  gap: 30px;
  padding: 54px clamp(20px, 6vw, 88px);
  background: #111;
  color: var(--white);
}

.footer p,
.footer span,
.footer a {
  color: rgba(255, 255, 255, 0.66);
}

.footer > div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-brand span strong {
  color: var(--white);
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: flex-end;
  background: rgba(17, 17, 17, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.cart-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  display: flex;
  width: min(590px, 100vw);
  height: 100%;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  padding: 24px;
  background: #fff8f0;
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.22);
  transform: translateX(100%);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.cart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.cart-head h2 {
  margin: 0;
  font-size: clamp(36px, 6vw, 54px);
  line-height: 0.95;
}

.icon-btn {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  border-radius: 22px;
  padding: 6px;
  background: rgba(17, 17, 17, 0.07);
}

.checkout-steps button {
  min-height: 38px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: rgba(17, 17, 17, 0.55);
  cursor: pointer;
  font-size: 12px;
  font-weight: 950;
}

.checkout-steps button.active {
  background: var(--white);
  color: var(--red);
  box-shadow: 0 8px 18px rgba(31, 18, 13, 0.08);
}

.checkout-body {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.checkout-step {
  display: none;
  gap: 16px;
}

.checkout-step.active {
  display: grid;
  animation: checkoutFade 260ms ease both;
}

.step-title {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}

.step-title > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 15px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 1000;
}

.step-title h3 {
  margin: 0 0 4px;
  font-size: 24px;
  line-height: 1;
}

.step-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

.empty-cart {
  border: 1px dashed rgba(17, 17, 17, 0.16);
  border-radius: 22px;
  padding: 24px;
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 20px;
  padding: 14px;
  background: var(--white);
}

.cart-item strong {
  line-height: 1.2;
}

.cart-item small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  font-weight: 900;
}

.fulfilment {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  border-radius: 999px;
  padding: 6px;
  background: rgba(17, 17, 17, 0.08);
}

.fulfilment button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.fulfilment button.active {
  background: var(--red);
  color: var(--white);
}

.payment-options {
  display: grid;
  gap: 10px;
}

.payment-option {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 22px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.payment-option:hover {
  transform: translateY(-2px);
}

.payment-option.active {
  border-color: rgba(239, 51, 40, 0.45);
  box-shadow: 0 14px 32px rgba(239, 51, 40, 0.12);
}

.payment-option strong {
  font-size: 16px;
}

.payment-option span {
  color: var(--muted);
  line-height: 1.35;
}

.card-preview {
  display: none;
  justify-content: space-between;
  gap: 18px;
  border-radius: 24px;
  padding: 20px;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(135deg, #19110f, #ef3328);
  color: var(--white);
  box-shadow: 0 24px 60px rgba(31, 18, 13, 0.16);
}

.card-preview.show {
  display: flex;
}

.card-preview span,
.card-preview small {
  color: rgba(255, 255, 255, 0.72);
}

.card-preview strong {
  display: block;
  margin-top: 26px;
  font-size: 22px;
  letter-spacing: 1.8px;
}

.checkout-form {
  display: grid;
  gap: 12px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: var(--white);
  outline: none;
}

.delivery-only {
  display: none !important;
}

.delivery-mode .delivery-only {
  display: grid !important;
}

.cart-total {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  background: #fff8f0;
}

.cart-total span {
  color: var(--muted);
  font-weight: 900;
}

.cart-total strong {
  color: var(--red);
  font-size: 32px;
}

.cart-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex-shrink: 0;
  gap: 10px;
}

.cart-buttons .btn:only-child,
.cart-buttons .btn:last-child:nth-child(odd) {
  grid-column: auto;
}

.review-box {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.review-section {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  padding-bottom: 10px;
}

.review-section span,
.muted-small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.review-section small {
  color: var(--muted);
  font-weight: 800;
}

.review-items {
  display: grid;
  gap: 8px;
}

.review-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 800;
}

.review-line strong {
  color: var(--ink);
  white-space: nowrap;
}

.review-total {
  border-top: 1px solid rgba(17, 17, 17, 0.1);
  padding-top: 12px;
}

.review-total strong {
  color: var(--red);
  font-size: 24px;
}

.confirmation-box {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  border-radius: 24px;
  padding: 18px;
  border: 1px solid rgba(37, 139, 84, 0.22);
  background: rgba(37, 139, 84, 0.12);
  color: var(--green);
}

.confirmation-box[hidden] {
  display: none;
}

.confirmation-box p {
  margin: 0;
  color: rgba(17, 17, 17, 0.62);
}

.confirmation-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.confirmation-top strong {
  color: var(--green);
  line-height: 1.2;
}

.confirmation-top span {
  color: rgba(37, 139, 84, 0.86);
  font-weight: 900;
  line-height: 1.25;
  text-align: right;
}

.cart-note {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 13px;
}

.floating-cart {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  font-weight: 950;
}

.floating-cart span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 90;
  border-radius: 999px;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

@keyframes sidePizzaIntro {
  from {
    opacity: 0;
    transform: translateX(10%) scale(1.08) rotate(7deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(2deg);
  }
}

@keyframes fullPizzaPulse {
  from {
    opacity: 0;
    transform: scale(0.9) rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes floatIngredient {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -18px, 0) rotate(8deg);
  }
}

@keyframes arrowBounce {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  50% {
    transform: translateY(8px) rotate(45deg);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@media (max-width: 1120px) {
  .nav-links {
    display: none;
  }

  .header-order {
    min-height: 42px;
    padding-inline: 16px;
  }

  .header-actions .app-btn {
    width: 40px;
    min-height: 40px;
    padding: 0;
  }
}

@media (max-width: 900px) {
  .scene-one,
  .scene-three,
  .order-section,
  .location-section {
    grid-template-columns: 1fr;
  }

  .scene-one {
    padding-top: 120px;
  }

  .pizza-stage-side {
    margin: 0;
  }

  .hero-pizza {
    width: min(560px, 92vw);
    margin: 0 auto;
    transform: none;
  }

  .scene-two {
    min-height: 92vh;
  }

  .menu-grid,
  .menu-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-grid,
  .footer,
  .locations-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rating-card {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    width: calc(100vw - 20px);
  }

  .brand span {
    font-size: 15px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .header-order {
    display: none;
  }

  .site-header .btn {
    width: auto;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .app-btn {
    width: 36px;
    min-height: 36px;
    padding: 0;
    font-size: 11px;
  }

  .delivery-icon {
    width: 23px;
    height: 23px;
    border-radius: 8px;
    font-size: 10px;
  }

  h1 {
    font-size: clamp(52px, 16vw, 82px);
  }

  h2 {
    font-size: clamp(38px, 12vw, 62px);
  }

  .cinema-scene {
    min-height: auto;
  }

  .scene-one,
  .scene-two,
  .scene-three {
    padding: 108px 18px 56px;
  }

  .scene-one,
  .scene-two {
    min-height: 100vh;
  }

  .hero-actions,
  .order-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .proof-line {
    display: grid;
  }

  .center-copy {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 28px;
    transform: none;
  }

  .full-pizza {
    width: min(430px, 92vw);
  }

  .menu-preview article {
    grid-template-columns: 58px 1fr;
  }

  .menu-preview b {
    grid-column: 2;
  }

  .section-pad {
    padding: 72px 18px;
  }

  .menu-controls {
    position: relative;
    top: auto;
  }

  .menu-grid,
  .menu-group-grid,
  .reviews-grid,
  .locations-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .rating-card {
    grid-column: auto;
  }

  .review-footer {
    grid-template-columns: 42px 1fr;
  }

  .mini {
    grid-column: 2;
  }

  .map-card {
    min-height: 340px;
  }

  .cart-panel {
    width: 100vw;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
