:root {
  --ph-red: #ce2828;
  --ph-red-dark: #832020;
  --dark: #171717;
  --bg: #f6f8fb;
  --border: #ebebeb;
  --muted: #5c5c5c;
  --muted2: #8c8c8c;
  --error: #d02533;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
}

a { color: var(--ph-red); text-decoration: none; }
a:hover { color: var(--ph-red-dark); text-decoration: underline; }

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

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.hero {
  background: linear-gradient(120deg, var(--ph-red) 0%, #ae2222 55%, var(--ph-red-dark) 100%);
  color: #fff;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 60px 24px 64px;
}
.hero-copy { flex: 1 1 0; min-width: 0; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.18);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 { margin: 0; font-weight: 800; font-size: 56px; line-height: 1.04; }
.hero p { margin: 16px 0 28px; font-size: 19px; color: rgba(255,255,255,.92); max-width: 480px; }
.hero-img {
  flex: 0 0 400px;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.35);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  border-radius: 999px;
  padding: 0 28px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity .15s ease, background .15s ease;
}
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-secondary { background: #fff; color: var(--ph-red); }
.btn-secondary:hover { background: #f6f6f6; }
.btn-primary { background: var(--ph-red); color: #fff; }
.btn-primary:hover { background: var(--ph-red-dark); }

.section { padding: 56px 24px 8px; }
.section h2 { margin: 0 0 6px; font-weight: 700; font-size: 32px; }
.section > p.lead { margin: 0 0 26px; font-size: 16px; color: var(--muted); }

.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.pkg-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 2px rgba(14,18,27,.04);
}
.pkg-img {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  border: 1.5px dashed #d0d0d0;
}
.pkg-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pkg-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pill-badge { background: var(--ph-red); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 24px; }
.pill-save { background: #fdeaea; color: var(--ph-red); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 24px; }
.pkg-from { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.pkg-price { font-size: 34px; font-weight: 800; color: var(--ph-red); line-height: 1.1; }
.pkg-np { font-size: 13px; color: var(--muted2); }
.pkg-np s { text-decoration: line-through; }
.pkg-card ul { margin: 0; padding: 0 0 0 18px; font-size: 14px; color: #383838; line-height: 1.7; }

.alacarte {
  background: linear-gradient(135deg, var(--ph-red), var(--ph-red-dark));
  border-radius: 20px;
  color: #fff;
  padding: 36px 40px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.alacarte-col { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; }
.alacarte h2, .alacarte h3 { margin: 0 0 18px; }
.alacarte h2 { font-weight: 800; font-size: 26px; }
.alacarte h3 { font-weight: 800; font-size: 18px; letter-spacing: .04em; }
.alacarte-row { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.alacarte-row.small { padding: 10px 0; }
.alacarte-row .name { font-size: 17px; font-weight: 600; flex: 1; }
.alacarte-row.small .name { font-size: 15px; }
.alacarte-row .np { font-size: 13px; color: rgba(255,255,255,.7); text-decoration: line-through; }
.alacarte-row .price { font-size: 24px; font-weight: 800; }
.alacarte-row.small .price { font-size: 18px; }
.alacarte-free { margin-top: auto; padding-top: 18px; font-size: 15px; }
.alacarte-free strong { font-size: 20px; font-weight: 800; }
.alacarte-free span { color: rgba(255,255,255,.85); }

.crust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.crust-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; display: flex; align-items: center; gap: 16px; }
.crust-card .title { font-weight: 800; font-size: 18px; }
.crust-card .desc { font-size: 14px; color: var(--muted); }
.crust-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--bg);
  border: 1.5px dashed #d0d0d0;
}
.topping-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.topping-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.topping-img { aspect-ratio: 1.3; overflow: hidden; }
.topping-img img { width: 100%; height: 100%; object-fit: cover; }
.topping-body { padding: 12px 14px 14px; }
.topping-name { font-weight: 700; font-size: 14px; color: var(--ph-red); text-transform: uppercase; letter-spacing: .02em; }

.form-section { padding: 56px 24px; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 8px 24px rgba(14,18,27,.06); overflow: hidden; }
.form-layout { display: flex; }
.form-side {
  flex: 0 0 300px;
  background: linear-gradient(160deg, var(--ph-red), var(--ph-red-dark));
  color: #fff;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-side h2 { margin: 0; font-weight: 800; font-size: 28px; line-height: 1.15; }
.form-side p { margin: 0; font-size: 15px; color: rgba(255,255,255,.9); line-height: 1.6; }
.form-side ul { margin: 8px 0 0; padding: 0 0 0 18px; font-size: 14px; color: rgba(255,255,255,.9); line-height: 2; }
.form-main { flex: 1 1 0; min-width: 0; padding: 40px; }
.form-main h3 { margin: 0 0 4px; font-weight: 800; font-size: 18px; }
.form-main h3.spaced { margin: 32px 0 16px; }
.form-main > p.hint { margin: 0 0 16px; font-size: 14px; color: var(--muted); }

.item-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.item-list.compact { gap: 10px; }
.item-row {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
}
.item-row.small { padding: 10px 16px; }
.item-row-top { display: flex; align-items: center; gap: 14px; }
.item-row-click { display: contents; cursor: pointer; }
.choice-wrap { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; padding-left: 34px; }
.choice-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted2);
}
.choice-tally { font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.choice-tally.ok { color: #1a7f4b; }
.choice-tally.warn { color: var(--error); }
.choice-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.choice-qty {
  flex: 0 0 58px; width: 58px; height: 40px; text-align: center;
  border: 1.5px solid #d0d0d0; border-radius: 10px; background: #fff;
  font-family: inherit; font-size: 15px; font-weight: 700; color: var(--dark);
}
.choice-qty.invalid { border-color: var(--error); }
.choice-qty-wrap { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.choice-times { flex: 0 0 auto; font-size: 13px; color: var(--muted2); }
.choice-line select {
  flex: 1 1 132px; min-width: 0; height: 40px; padding: 0 10px;
  border: 1.5px solid #d0d0d0; border-radius: 10px; background: #fff;
  font-family: inherit; font-size: 14px; color: var(--dark);
}
.choice-line select.invalid { border-color: var(--error); }
.choice-remove {
  flex: 0 0 auto; width: 32px; height: 32px; padding: 0; line-height: 1;
  border: 1.5px solid #e0e0e0; border-radius: 999px; background: #fff;
  color: var(--muted2); font-size: 13px; cursor: pointer;
}
.choice-remove:hover { border-color: var(--error); color: var(--error); }
.choice-add {
  align-self: flex-start; height: 32px; padding: 0 12px;
  border: 1.5px dashed var(--ph-red); border-radius: 999px; background: #fff;
  color: var(--ph-red); font-family: inherit; font-size: 12px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
}
.choice-add:hover { background: #fdeaea; }

.order-summary {
  margin: 24px 0 0; padding: 16px 18px;
  background: var(--bg); border: 1.5px solid var(--border); border-radius: 14px;
}
.sum-title {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted2); margin-bottom: 10px;
}
.sum-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 14px; color: #383838; padding: 3px 0;
}
.sum-total {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 10px; padding-top: 10px; border-top: 1.5px solid #e2e6ee;
  font-size: 17px; font-weight: 800; color: var(--dark);
}
.sum-fine { margin-top: 6px; font-size: 12px; color: var(--muted2); }
.sum-note {
  margin-top: 12px; padding: 10px 12px; border-radius: 10px;
  background: #fff6e5; border: 1px solid #f0d9a8; color: #7a5300; font-size: 13px; line-height: 1.5;
}
.pizza-error { padding-left: 34px; margin-top: 6px; font-size: 12px; color: var(--error); font-weight: 600; }
.item-row input[type="checkbox"] {
  width: 20px; height: 20px; accent-color: var(--ph-red); flex: 0 0 20px; cursor: pointer;
}
.item-info { flex: 1; min-width: 0; }
.item-info .line1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; font-size: 15px; }
.item-info .line1 .price { color: var(--ph-red); }
.item-info .line1 .np { font-weight: 400; font-size: 13px; color: var(--muted2); text-decoration: line-through; }
.item-info .desc { font-size: 13px; color: var(--muted); }
.item-row.small .item-info { font-weight: 600; font-size: 14px; }
.item-row.small .item-info .price { color: var(--ph-red); }
.item-row.small .item-info .np { font-weight: 400; font-size: 13px; color: var(--muted2); text-decoration: line-through; }

.stepper { display: inline-flex; align-items: center; height: 32px; border: 1.5px solid #e1e4ea; border-radius: 999px; background: #fff; flex: 0 0 auto; }
.stepper.lg { height: 40px; }
.stepper button {
  width: 32px; height: 32px; border: none; background: transparent; color: var(--ph-red);
  font-size: 18px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
}
.stepper.lg button { width: 40px; height: 40px; font-size: 20px; }
.stepper button:hover { background: #fdeaea; }
.stepper input {
  width: 44px; border: none; outline: none; text-align: center; font-family: inherit; font-weight: 600;
  font-size: 14px; color: var(--dark); background: transparent; font-variant-numeric: tabular-nums;
}
.stepper.lg input { width: 64px; font-weight: 700; font-size: 15px; }

.field-error { margin-top: 10px; font-size: 13px; color: var(--error); font-weight: 600; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid1 { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.field .req-label { }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
  height: 44px; padding: 0 12px; border: 1.5px solid #d0d0d0; border-radius: 11px; background: #fff;
  font-family: inherit; font-size: 15px; color: var(--dark);
}
.field textarea { min-height: 96px; padding: 12px 14px; resize: vertical; }
.field.has-error input, .field.has-error select { border-color: var(--error); }
.field .err { font-size: 12px; color: var(--error); font-weight: 400; }
.field .helper { font-size: 12px; color: var(--muted2); }

.pax-block { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.pax-block .pax-label { font-size: 14px; font-weight: 500; }
.pax-block .min-note { font-size: 12px; color: var(--muted2); }
.pax-block .err { font-size: 12px; color: var(--error); }

.consent-check { margin-top: 24px; display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--dark); cursor: pointer; }
.consent-check input { margin-top: 2px; flex-shrink: 0; accent-color: var(--dark); }
.privacy-note { margin-top: 12px; font-size: 12px; color: var(--muted2); }
.privacy-note a { color: inherit; text-decoration: underline; }

.submit-row { margin-top: 28px; display: flex; align-items: center; gap: 16px; }
.submit-row .note { font-size: 13px; color: var(--muted2); }
.form-error { margin-top: 12px; font-size: 13px; color: var(--error); font-weight: 600; }

.thankyou { padding: 72px 48px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.thankyou .check {
  width: 64px; height: 64px; border-radius: 50%; background: #e8f6ec; color: #22a44a;
  display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800;
}
.thankyou h2 { margin: 8px 0 0; font-weight: 800; font-size: 30px; }
.thankyou p { margin: 0; font-size: 16px; color: var(--muted); max-width: 480px; }
.thankyou .ref { margin: 4px 0 0; font-size: 14px; color: var(--muted2); }

.hidden { display: none !important; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.footer { background: var(--dark); color: #fff; }
.footer-inner { padding: 44px 24px 52px; }
.footer h3 { margin: 0 0 14px; font-weight: 700; font-size: 18px; }
.footer ul { margin: 0; padding: 0 0 0 18px; columns: 2; column-gap: 48px; font-size: 14px; color: #a3a3a3; line-height: 2; }
.footer .legal { margin: 20px 0 0; font-size: 13px; color: #737373; }

@media (max-width: 560px) {
  .choice-wrap { padding-left: 0; }
  .choice-line {
    gap: 6px; padding: 10px; border: 1px solid var(--border);
    border-radius: 10px; background: #fff;
  }
  .choice-line select { flex: 1 1 100%; }
  .choice-remove { margin-left: auto; }
  .pizza-error { padding-left: 0; }
}

@media (max-width: 860px) {
  .hero-inner { flex-direction: column; }
  .hero-img { width: 100%; flex-basis: auto; }
  .crust-grid, .grid2 { grid-template-columns: 1fr; }
  .form-layout { flex-direction: column; }
  .form-side { flex: none; }
  .footer ul { columns: 1; }
}

@media (max-width: 600px) {
  .hero-inner { padding: 40px 20px 44px; gap: 24px; }
  .hero-img { height: 220px; }
  .hero h1 { font-size: 34px; line-height: 1.2; }
  .hero p { font-size: 16px; margin: 12px 0 22px; }
  .btn { padding: 0 22px; height: 48px; font-size: 15px; }

  .section { padding: 40px 20px 8px; }
  .section h2 { font-size: 24px; }
  .section > p.lead { font-size: 14px; }

  .pkg-grid { gap: 14px; }

  .alacarte { padding: 26px 20px; gap: 28px; }
  .alacarte-row { flex-wrap: wrap; row-gap: 4px; }
  .alacarte-row .name { flex: 1 1 100%; }

  .topping-grid { gap: 14px; }
  .crust-grid { gap: 14px; }
  .crust-card { padding: 16px 18px; gap: 14px; }

  .form-section { padding: 40px 16px; }
  .form-side { padding: 28px 22px; }
  .form-main { padding: 24px 20px; }

  .item-row-top { flex-wrap: wrap; }
  .item-info { min-width: 0; }
  .stepper { flex: 1 1 100%; margin: 4px 0 0 34px; }

  .submit-row { flex-direction: column; align-items: flex-start; gap: 10px; }

  .footer-inner { padding: 36px 20px 44px; }
}
