:root {
  --red-950: #4d070a;
  --red-900: #730b10;
  --red-800: #941017;
  --red-700: #b9131b;
  --red-600: #d61c24;
  --yellow-500: #ffc928;
  --yellow-400: #ffd84d;
  --cream: #fff9ed;
  --paper: #ffffff;
  --ink: #231a17;
  --muted: #6f625d;
  --line: #eadfd6;
  --green: #159447;
  --shadow: 0 18px 50px rgba(54, 13, 8, 0.14);
  --radius-lg: 28px;
  --radius-md: 19px;
  --radius-sm: 13px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 94% 10%, rgba(255, 201, 40, 0.16), transparent 22rem),
    var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 0.7rem;
  color: white;
  background: var(--red-950);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 5.25rem;
  padding: 0.7rem clamp(1rem, 4vw, 4.5rem);
  color: white;
  background: rgba(115, 11, 16, 0.97);
  border-bottom: 3px solid var(--yellow-500);
  box-shadow: 0 10px 25px rgba(48, 2, 5, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  text-decoration: none;
  transform: skew(-5deg);
}

.brand-du {
  color: var(--yellow-500);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2rem, 4vw, 2.65rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
}

.brand-pizza {
  color: white;
  font-weight: 950;
  font-size: 0.92rem;
  letter-spacing: 0.15em;
}

.header-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.header-copy strong {
  font-size: 0.92rem;
}

.header-copy span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.8rem;
  padding: 0.5rem 0.6rem 0.5rem 1rem;
  color: var(--red-950);
  background: var(--yellow-500);
  border: 0;
  border-radius: 999px;
  font-weight: 850;
}

.cart-button strong {
  display: grid;
  place-items: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.35rem;
  color: white;
  background: var(--red-800);
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.98fr);
  align-items: stretch;
  width: min(1180px, calc(100% - 2rem));
  margin: clamp(1.25rem, 4vw, 3.5rem) auto 0;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(130deg, rgba(77, 7, 10, 0.28), transparent 55%),
    var(--red-700);
  border-radius: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.5rem;
  height: 0.22rem;
  content: "";
  background: var(--yellow-500);
  border-radius: 999px;
}

.hero h1 {
  max-width: 12ch;
  margin: 0.65rem 0 0.85rem;
  font-size: clamp(2.45rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-copy > p {
  max-width: 37rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.3rem;
}

.hero-notes span {
  padding: 0.45rem 0.72rem;
  color: white;
  background: rgba(77, 7, 10, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 750;
}

.hero-cta {
  margin-top: 1.6rem;
  padding: 0.88rem 1.2rem;
  color: var(--red-950);
  background: var(--yellow-500);
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.hero-media {
  position: relative;
  min-height: 30rem;
  margin: 0;
  overflow: hidden;
  background: var(--red-950);
}

.hero-media.awaiting-photo {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 201, 40, 0.28), transparent 10rem),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 14px),
    var(--red-950);
}

.hero-media.awaiting-photo::before {
  content: "DU PIZZA";
  color: var(--yellow-500);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  letter-spacing: -0.04em;
  transform: rotate(-5deg);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 45%, rgba(43, 1, 3, 0.9));
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 30rem;
  object-fit: cover;
  object-position: 50% 8%;
  transform: scale(1.02);
}

.hero-media figcaption {
  position: absolute;
  z-index: 1;
  right: 1.4rem;
  bottom: 1.4rem;
  left: 1.4rem;
  display: flex;
  flex-direction: column;
  color: white;
  font-size: 1rem;
}

.hero-media figcaption strong {
  color: var(--yellow-400);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.menu-section {
  width: min(1180px, calc(100% - 2rem));
  margin: clamp(3.7rem, 8vw, 7rem) auto 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.section-heading .eyebrow {
  color: var(--red-700);
}

.section-heading h2 {
  margin: 0.25rem 0 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.section-heading > p {
  max-width: 27rem;
  margin: 0;
  color: var(--muted);
}

.category-tabs {
  display: flex;
  gap: 0.55rem;
  margin: 1.8rem 0;
  padding-bottom: 0.3rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  flex: 0 0 auto;
  min-height: 2.8rem;
  padding: 0.55rem 1.05rem;
  color: var(--red-900);
  background: transparent;
  border: 1.5px solid rgba(148, 16, 23, 0.24);
  border-radius: 999px;
  font-weight: 820;
}

.category-tab.is-active {
  color: white;
  background: var(--red-800);
  border-color: var(--red-800);
}

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

.pizza-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 18rem;
  padding: 1.3rem;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 32px rgba(67, 32, 21, 0.06);
}

.pizza-card::before {
  position: absolute;
  top: -3rem;
  right: -3.5rem;
  width: 8.5rem;
  height: 8.5rem;
  content: "";
  background: var(--yellow-500);
  border-radius: 50%;
  opacity: 0.18;
}

.pizza-card-top {
  position: relative;
}

.pizza-card-top.has-photo {
  min-height: 0;
  padding-right: 0;
}

.pizza-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 24rem;
  aspect-ratio: 1;
  margin: 0 auto 1.2rem;
  background-color: #f2ece7;
  background-image: url("./assets/pizzas-restauradas.png");
  background-repeat: no-repeat;
  background-size: 200% 400%;
  border-radius: 0.9rem;
  box-shadow: 0 8px 22px rgba(67, 32, 21, 0.14);
}

.pizza-photo-original {
  display: block;
  max-width: none;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background-image: none;
}

.pizza-category {
  position: relative;
  width: fit-content;
  margin-bottom: 1.1rem;
  padding: 0.35rem 0.58rem;
  color: var(--red-700);
  background: rgba(185, 19, 27, 0.07);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pizza-card h3 {
  position: relative;
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.pizza-card p {
  position: relative;
  margin: 0.65rem 0 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.52;
}

.pizza-card footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
}

.pizza-price {
  display: flex;
  flex-direction: column;
}

.pizza-price small {
  color: var(--muted);
  font-size: 0.72rem;
}

.pizza-price strong {
  color: var(--red-800);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.add-button {
  min-height: 2.85rem;
  padding: 0.55rem 0.9rem;
  color: white;
  background: var(--red-700);
  border: 0;
  border-radius: 0.85rem;
  font-weight: 850;
  box-shadow: 0 8px 16px rgba(185, 19, 27, 0.18);
}

.add-button:active {
  transform: translateY(1px);
}

.order-explainer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: min(1180px, calc(100% - 2rem));
  margin: clamp(3.5rem, 8vw, 6rem) auto;
  color: white;
  background: var(--red-950);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.order-explainer > div {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.5rem;
}

.order-explainer > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.order-explainer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.order-explainer p strong {
  color: white;
}

.step-number {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--red-950);
  background: var(--yellow-500);
  border-radius: 50%;
  font-weight: 950;
}

body > footer {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 8rem;
  padding: 1.5rem;
  color: white;
  background: var(--red-900);
  border-top: 4px solid var(--yellow-500);
}

body > footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.footer-info {
  display: grid;
  gap: 0.8rem;
  padding: 0.6rem 0;
}

.footer-info strong {
  color: white;
}

body > footer a:last-child {
  font-weight: 800;
}

.footer-brand {
  color: var(--yellow-500);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.35rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.mobile-cart {
  position: fixed;
  z-index: 25;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0.78rem 0.72rem 1rem;
  color: white;
  background: var(--red-950);
  border: 1px solid rgba(255, 216, 77, 0.3);
  border-radius: 1rem;
  box-shadow: 0 14px 36px rgba(45, 5, 7, 0.34);
}

.mobile-cart[hidden] {
  display: none;
}

.mobile-cart div {
  display: flex;
  flex-direction: column;
}

.mobile-cart span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
}

.mobile-cart button {
  min-height: 2.9rem;
  padding: 0.55rem 1rem;
  color: var(--red-950);
  background: var(--yellow-500);
  border: 0;
  border-radius: 0.8rem;
  font-weight: 900;
}

.cart-dialog {
  width: min(46rem, 100%);
  max-width: none;
  max-height: min(92vh, 58rem);
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: white;
  border: 0;
  border-radius: 1.6rem;
  box-shadow: 0 24px 80px rgba(35, 7, 5, 0.34);
}

.cart-dialog::backdrop {
  background: rgba(42, 5, 7, 0.7);
  backdrop-filter: blur(4px);
}

.dialog-shell {
  max-height: min(92vh, 58rem);
  overflow-y: auto;
}

.dialog-header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.35rem;
  color: white;
  background: var(--red-800);
  border-bottom: 3px solid var(--yellow-500);
}

.dialog-header .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.dialog-header h2 {
  margin: 0.18rem 0 0;
  font-size: 1.75rem;
  line-height: 1;
}

.close-button {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  color: white;
  background: rgba(77, 7, 10, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
}

.cart-empty {
  display: grid;
  min-height: 22rem;
  place-items: center;
  align-content: center;
  padding: 2rem;
  text-align: center;
}

.cart-empty strong {
  font-size: 1.35rem;
}

.cart-empty p {
  margin: 0.3rem 0 1.2rem;
  color: var(--muted);
}

.cart-empty button {
  padding: 0.75rem 1rem;
  color: white;
  background: var(--red-700);
  border: 0;
  border-radius: 0.8rem;
  font-weight: 850;
}

.cart-items {
  display: grid;
  gap: 0.65rem;
  padding: 1.2rem 1.35rem;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.cart-item h3 {
  margin: 0;
  font-size: 1rem;
}

.cart-item p {
  margin: 0.18rem 0 0;
  color: var(--red-800);
  font-weight: 800;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 2.25rem 2rem 2.25rem;
  align-items: center;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.quantity-control button {
  display: grid;
  place-items: center;
  height: 2.35rem;
  color: var(--red-800);
  background: transparent;
  border: 0;
  font-size: 1.25rem;
  font-weight: 900;
}

.quantity-control span {
  text-align: center;
  font-weight: 900;
}

.cart-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 1rem;
  margin: 0 1.35rem;
  padding: 1rem 0;
  border-top: 1px dashed #d6c6bc;
  border-bottom: 1px dashed #d6c6bc;
}

.cart-summary strong {
  color: var(--red-800);
  font-size: 1.2rem;
}

.cart-summary small {
  grid-column: 1 / -1;
  color: var(--muted);
}

#checkout-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 1.35rem 1.5rem;
}

#checkout-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

#checkout-form legend,
.field > span {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  font-weight: 850;
}

.field span small {
  color: var(--muted);
  font-weight: 500;
}

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

.choice-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 4.4rem;
  padding: 0.8rem;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.choice-card:has(input:checked) {
  background: rgba(255, 201, 40, 0.12);
  border-color: var(--yellow-500);
}

.choice-card input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--red-700);
}

.choice-card span {
  display: flex;
  flex-direction: column;
}

.choice-card small {
  color: var(--muted);
  font-size: 0.78rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.78rem 0.9rem;
  color: var(--ink);
  background: white;
  border: 1.5px solid #d9cbc2;
  border-radius: 0.8rem;
  outline: none;
}

.field textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red-600);
  box-shadow: 0 0 0 3px rgba(214, 28, 36, 0.1);
}

.form-error {
  margin: 0;
  padding: 0.75rem;
  color: var(--red-900);
  background: rgba(214, 28, 36, 0.08);
  border-radius: 0.7rem;
  font-weight: 700;
}

.whatsapp-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.65rem;
  padding: 0.8rem 1rem;
  color: white;
  background: var(--green);
  border: 0;
  border-radius: 0.95rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(21, 148, 71, 0.2);
}

.whatsapp-submit strong {
  flex: 0 0 auto;
}

.checkout-note {
  margin: -0.35rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 80;
  right: 1rem;
  bottom: 1rem;
  max-width: min(24rem, calc(100% - 2rem));
  padding: 0.8rem 1rem;
  color: white;
  background: var(--red-950);
  border-radius: 0.8rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.noscript-message {
  position: fixed;
  z-index: 100;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 1rem;
  color: white;
  background: var(--red-950);
  border-radius: 0.8rem;
}

@media (hover: hover) {
  .add-button:hover,
  .hero-cta:hover,
  .cart-empty button:hover {
    filter: brightness(1.07);
  }

  .pizza-card {
    transition: transform 180ms ease, box-shadow 180ms ease;
  }

  .pizza-card:hover {
    box-shadow: 0 18px 45px rgba(67, 32, 21, 0.1);
    transform: translateY(-3px);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr 0.82fr;
  }

  .hero-copy {
    padding: 2.2rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 6.5vw, 3.6rem);
  }

  .hero-media,
  .hero-media img {
    min-height: 26rem;
  }

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

  .order-explainer {
    grid-template-columns: 1fr;
  }

  .order-explainer > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 5.6rem;
  }

  body {
    padding-bottom: 5rem;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    min-height: 4.65rem;
    padding: 0.65rem 0.85rem;
  }

  .brand-du {
    font-size: 2rem;
  }

  .brand-pizza {
    display: none;
  }

  .header-copy {
    padding-left: 0.65rem;
  }

  .header-copy span {
    display: none;
  }

  .cart-button {
    width: 2.75rem;
    padding: 0.35rem;
  }

  .cart-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .cart-button strong {
    width: 2.05rem;
  }

  .hero {
    grid-template-columns: 1fr;
    width: calc(100% - 1.3rem);
    margin-top: 0.65rem;
    border-radius: 1.35rem;
  }

  .hero-copy {
    padding: 1.7rem 1.25rem;
  }

  .hero h1 {
    max-width: 11ch;
    margin-top: 0.55rem;
    font-size: clamp(2.4rem, 13vw, 3.45rem);
  }

  .hero-notes {
    margin-top: 1rem;
  }

  .hero-cta {
    margin-top: 1.25rem;
  }

  .hero-media,
  .hero-media img {
    min-height: 15rem;
    max-height: 18rem;
  }

  .hero-media img {
    object-position: 50% 6%;
  }

  .hero-media figcaption {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  .menu-section {
    width: calc(100% - 1.3rem);
    margin-top: 3.5rem;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 0.75rem;
  }

  .category-tabs {
    margin-right: -0.65rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .pizza-card {
    min-height: 0;
    padding: 1.15rem;
  }

  .pizza-card p {
    margin-bottom: 1.2rem;
  }

  .pizza-card-top.has-photo {
    padding-right: 0;
  }

  .order-explainer {
    width: calc(100% - 1.3rem);
    margin: 3.5rem auto;
    border-radius: 1.25rem;
  }

  body > footer {
    flex-direction: column;
    gap: 0.3rem;
    padding-bottom: 6rem;
  }

  .mobile-cart {
    display: flex;
  }

  .cart-dialog {
    width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    border-radius: 0;
  }

  .dialog-shell {
    max-height: 100vh;
  }

  .choice-row {
    grid-template-columns: 1fr;
  }

  .whatsapp-submit {
    align-items: flex-start;
    flex-direction: column;
  }

  .toast {
    right: 0.8rem;
    bottom: 5.7rem;
    left: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Compact introduction without the promotional menu image. */
.hero { grid-template-columns: minmax(0, 1fr); }
.hero-copy { padding: clamp(1.5rem, 4vw, 3rem); }
.hero h1 { max-width: 25ch; font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.08; letter-spacing: -0.035em; }
.hero-copy > p { max-width: 46rem; }
.menu-section { margin-top: clamp(2rem, 4vw, 3.5rem); }
.eyebrow, .hero-notes span, .pizza-category { font-size: 0.875rem; }
@media (max-width: 680px) {
  .brand-pizza { display: inline; font-size: 0.875rem; letter-spacing: 0.06em; }
  .site-header { gap: 0.6rem; }
  .cart-button { width: auto; padding: 0.35rem 0.55rem; gap: 0.4rem; }
  .cart-button span { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: 0.875rem; }
  .header-copy { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero h1 { max-width: 23ch; }
}

.half-builder { margin-bottom: 1.5rem; border: 2px solid var(--red-700); border-radius: var(--radius-sm); background: var(--paper); overflow: hidden; }
.half-builder summary { padding: 1rem 1.25rem; color: var(--red-900); font-size: 1.125rem; font-weight: 800; cursor: pointer; }
#half-form { padding: 0 1.25rem 1.25rem; }
#half-rule { margin: 0 0 1rem; color: var(--muted); }
.half-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.half-fields label { display: grid; gap: .4rem; min-width: 0; font-weight: 700; }
.half-fields select { width: 100%; min-width: 0; min-height: 48px; padding: .65rem; border: 1px solid var(--line); border-radius: .5rem; color: var(--ink); background: white; }
.half-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 1rem; }
#half-price { color: var(--red-900); font-weight: 800; }
#half-add:disabled { opacity: .55; cursor: default; }
#half-feedback:empty { display: none; }
#half-feedback { margin: 1rem 0 0; }
@media (max-width: 680px) { .half-fields { grid-template-columns: 1fr; } #half-add { width: 100%; } }

/* Checkout improvements, using the existing Du Pizza palette. */
[hidden] { display: none !important; }
.store-status { font-size: .875rem; line-height: 1.5; color: white; border-left: 3px solid var(--yellow-500); padding-left: .85rem; }
.checkout-status { margin: 0; padding: .85rem; background: var(--cream); border-radius: .8rem; font-size: .875rem; }
.text-button { color: var(--red-800); background: transparent; border: 0; padding: .6rem .2rem; min-height: 44px; text-decoration: underline; font-weight: 700; font-size: .875rem; }
.continue-shopping { margin: 0 1.35rem .65rem; text-align: left; }
.remove-item { padding-bottom: 0; }
.whatsapp-fallback { display: grid; gap: .6rem; padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; }
.whatsapp-fallback a { color: var(--red-800); font-weight: 700; padding: .6rem 0; }
.whatsapp-fallback .text-button { text-align: left; }
#copy-feedback:empty { display: none; }
#copy-feedback { margin: 0; font-size: .875rem; }
.field > small, .checkout-note, .choice-card small, .pizza-price small, .mobile-cart span { font-size: .875rem; }
.quantity-control { grid-template-columns: 2.75rem 1.6rem 2.75rem; }
.quantity-control button { min-height: 44px; }
:focus-visible { outline: 3px solid var(--red-600); outline-offset: 3px; }
.site-header :focus-visible, .hero :focus-visible, .dialog-header :focus-visible { outline-color: var(--yellow-500); }
@media (max-width: 400px) { .cart-item { grid-template-columns: minmax(0, 1fr); gap: .5rem; } .quantity-control { justify-self: start; } }

.pix-panel { padding: 1rem; border: 2px solid var(--red-700); border-radius: .8rem; background: var(--paper); min-width: 0; }
.pix-panel h3 { margin: 0 0 .75rem; color: var(--red-900); }
.pix-panel p { font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; }
.pix-panel .pix-total { font-size: 1.125rem; }
#pix-qr { display: block; width: 100%; max-width: 280px; height: auto; margin: 1rem auto; image-rendering: pixelated; background: white; }
#copy-pix { width: 100%; margin-bottom: 1rem; }
#pix-code { width: 100%; font-size: .875rem; overflow-wrap: anywhere; word-break: break-all; }
#pix-feedback:empty { display: none; }

.border-choice {display:grid;gap:6px;margin:12px 0;font-weight:700;font-size:14px}.border-choice select{width:100%;padding:10px;border:1px solid #b9131b;border-radius:8px;background:#fff;color:#262626}.border-note{font-weight:700;color:#666}.border-choice[hidden]{display:none}

.customer-reviews{max-width:1100px;margin:32px auto;padding:24px;background:#fff8ed;border-radius:18px}.reviews-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin:20px 0}.reviews-list article{background:white;border:1px solid #ead8c4;padding:18px;border-radius:12px;overflow-wrap:anywhere}.reviews-list article p{white-space:pre-wrap}.reviews-list article p:first-of-type{color:#a81920;font-size:22px}.review-stars{display:flex;flex-wrap:wrap;gap:12px;padding:12px 0}.review-stars label{cursor:pointer;display:flex;gap:4px;align-items:center;font-size:20px}.customer-reviews textarea{display:block;width:100%;box-sizing:border-box;padding:12px;font:inherit;border:1px solid #c5b9ab;border-radius:8px;margin:8px 0}.review-privacy{font-size:13px;color:#64574c}.customer-reviews fieldset{border:0;padding:0;margin-bottom:16px}.customer-reviews form[hidden]{display:none}
