:root {
  --ink: #1f1d1a;
  --muted: #665f58;
  --soft: #f7f1ea;
  --paper: #fffaf4;
  --surface: #ffffff;
  --line: #eadfd4;
  --brand: #b51f24;
  --brand-dark: #821418;
  --green: #19633a;
  --gold: #f4b23f;
  --charcoal: #171513;
  --shadow: 0 22px 60px rgba(32, 24, 20, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

button {
  cursor: pointer;
}

.promo-strip {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 9px 16px;
  background: var(--green);
  color: #ffffff;
  font-size: 14px;
}

.promo-strip strong {
  color: #f8d982;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
  align-items: center;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.96);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 20px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 13px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-weight: 850;
}

.main-nav a {
  color: var(--charcoal);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.phone-link {
  color: var(--brand-dark);
  font-weight: 900;
}

.outline-action,
.secondary-link {
  border: 1px solid var(--brand);
  border-radius: 7px;
  padding: 12px 16px;
  background: #ffffff;
  color: var(--brand);
  font-weight: 900;
}

.primary-action,
.checkout-button {
  border: 0;
  border-radius: 7px;
  padding: 14px 18px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 900;
}

.primary-action:hover,
.checkout-button:hover,
.outline-action:hover {
  filter: brightness(0.96);
}

.storefront {
  min-height: 100vh;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  padding: clamp(24px, 5vw, 62px) clamp(18px, 4vw, 56px) 28px;
  background:
    radial-gradient(circle at 4% 10%, rgba(244, 178, 63, 0.18), transparent 28%),
    linear-gradient(135deg, #fffaf4 0%, #f9ece4 100%);
}

.hero-copy {
  align-self: center;
  max-width: 650px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 16px;
  max-width: 620px;
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p {
  margin: 0;
  max-width: 580px;
  color: #463f38;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-actions .primary-action,
.hero-actions .secondary-link {
  min-width: 150px;
  text-align: center;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
  max-width: 610px;
}

.hero-metrics span {
  display: grid;
  gap: 3px;
  min-height: 78px;
  padding: 13px 14px;
  border: 1px solid rgba(181, 31, 36, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 13px;
}

.hero-metrics strong {
  color: var(--charcoal);
  font-size: 22px;
}

.hero-visual {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(23, 21, 19, 0.06), rgba(23, 21, 19, 0.46)),
    url("./assets/pizza-house-menu.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.deal-callout {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(310px, calc(100% - 44px));
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
}

.deal-callout span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deal-callout strong {
  display: block;
  margin: 6px 0 14px;
  font-size: 22px;
  line-height: 1.15;
}

.quick-add {
  width: 100%;
  border: 0;
  border-radius: 7px;
  padding: 12px 14px;
  background: var(--charcoal);
  color: #ffffff;
  font-weight: 900;
}

.order-hub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 0 clamp(18px, 4vw, 56px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(70, 50, 38, 0.08);
  transform: translateY(-12px);
}

.store-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.store-summary strong,
.store-summary span {
  display: block;
}

.store-summary span {
  color: var(--muted);
}

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(25, 99, 58, 0.12);
}

.store-summary button,
.time-pill button {
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 900;
  text-decoration: underline;
}

.fulfillment-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fulfillment-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: var(--soft);
}

.fulfillment-toggle button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: transparent;
  color: var(--ink);
  font-weight: 900;
}

.fulfillment-toggle button.active {
  background: var(--charcoal);
  color: #ffffff;
}

.time-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff7e8;
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 850;
}

.featured-section,
.ordering-layout {
  padding-inline: clamp(18px, 4vw, 56px);
}

.featured-section {
  padding-top: 34px;
  padding-bottom: 36px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading.compact h2 {
  font-size: clamp(28px, 2.8vw, 38px);
}

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

.featured-card {
  position: relative;
  min-height: 330px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: var(--charcoal);
  color: #ffffff;
  text-align: left;
  box-shadow: 0 16px 38px rgba(56, 39, 28, 0.14);
}

.featured-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.78)),
    url("./assets/pizza-house-menu.jpg");
  background-size: 245%;
  background-position: var(--image-position, center);
  transition: transform 180ms ease;
}

.featured-card:hover::before {
  transform: scale(1.04);
}

.featured-card > span {
  position: relative;
  display: grid;
  gap: 9px;
  padding: 22px;
}

.featured-card em {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.featured-card strong {
  font-size: 25px;
  line-height: 1.1;
}

.featured-card small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.35;
}

.featured-card b {
  font-size: 24px;
}

.ordering-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
  padding-bottom: 76px;
}

.menu-column {
  min-width: 0;
}

.menu-header {
  position: sticky;
  top: 77px;
  z-index: 20;
  display: grid;
  gap: 18px;
  padding: 18px 0 0;
  background: var(--paper);
}

.category-shell {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 0 14px;
  border-bottom: 1px solid var(--line);
}

.menu-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  gap: 3px;
  border: 0;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.menu-icon span {
  width: 20px;
  height: 2px;
  background: var(--brand);
}

.category-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.category-tabs button {
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 17px;
  background: var(--charcoal);
  color: #ffffff;
  font-weight: 900;
  white-space: nowrap;
}

.category-tabs button.active {
  border-color: var(--brand);
  background: var(--brand);
}

.menu-sections {
  display: grid;
  gap: 42px;
  padding-top: 28px;
}

.menu-section {
  scroll-margin-top: 210px;
}

.menu-section h3 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.1;
}

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

.menu-item {
  min-height: 184px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 10px 26px rgba(70, 50, 38, 0.06);
}

.menu-item:hover {
  border-color: rgba(181, 31, 36, 0.35);
  box-shadow: 0 16px 36px rgba(70, 50, 38, 0.11);
}

.item-image {
  min-height: 156px;
  border-radius: 7px;
  background-image: url("./assets/pizza-house-menu.jpg");
  background-size: 285%;
  background-position: var(--image-position, center);
}

.item-content {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.item-title {
  display: block;
  color: var(--brand-dark);
  font-size: 18px;
  line-height: 1.18;
}

.item-description {
  margin: 0;
  color: #514941;
  line-height: 1.35;
}

.item-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.item-price {
  color: var(--charcoal);
  font-size: 18px;
  font-weight: 950;
}

.item-cta {
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 950;
}

.cart-panel {
  min-width: 0;
}

.cart-card {
  position: sticky;
  top: 98px;
  display: flex;
  flex-direction: column;
  min-height: min(720px, calc(100vh - 116px));
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(70, 50, 38, 0.12);
}

.cart-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.cart-card h2 {
  margin: 0 0 10px;
  font-size: 30px;
}

.cart-close {
  display: none;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--brand);
  font-size: 24px;
}

.cart-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.cart-meta span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f2ece7;
  font-weight: 850;
}

.cart-lines {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 14px;
}

.empty-cart {
  margin: 22px 0;
  color: var(--muted);
  line-height: 1.4;
}

.cart-line {
  display: grid;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cart-line-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
}

.cart-line button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--brand);
  font-size: 18px;
}

.cart-line strong {
  line-height: 1.25;
}

.cart-modifiers {
  margin: 0 0 0 38px;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  list-style: none;
}

.totals {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.totals div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.grand-total {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 21px;
}

.checkout-button {
  width: 100%;
  margin-top: 8px;
}

.checkout-button:disabled,
.primary-action:disabled {
  cursor: not-allowed;
  background: #c7beb6;
}

.mobile-cart {
  display: none;
}

dialog {
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(17, 13, 12, 0.58);
}

.order-dialog form,
.item-dialog form,
.info-dialog form,
.checkout-dialog form {
  width: min(540px, calc(100vw - 26px));
  padding: 30px 40px;
}

.item-dialog form {
  width: min(660px, calc(100vw - 26px));
}

.order-dialog h2,
.item-dialog h2,
.info-dialog h2,
.checkout-dialog h2 {
  margin: 0 0 12px;
  font-size: 31px;
  line-height: 1.08;
}

.order-dialog p,
.checkout-dialog p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
}

.split-controls,
.when-row {
  display: grid;
  gap: 14px;
}

.split-controls {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 16px;
}

.when-row {
  grid-template-columns: auto 1fr 1fr;
  align-items: center;
  margin-bottom: 16px;
}

.when-row span {
  font-weight: 900;
}

.choice {
  border: 2px solid var(--charcoal);
  border-radius: 7px;
  padding: 13px 16px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 900;
}

.choice.active {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: #ffffff;
}

.schedule-field,
.note-field,
.checkout-dialog label {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  color: var(--muted);
  font-weight: 850;
}

.schedule-field {
  display: none;
}

.schedule-field.show {
  display: grid;
}

.schedule-field select,
.note-field textarea,
.checkout-dialog input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 12px;
  color: var(--ink);
}

.item-dialog form {
  position: relative;
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
}

.close-button {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand);
  font-size: 28px;
}

.dialog-image {
  height: 160px;
  margin: -30px -40px 24px;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.18)), url("./assets/pizza-house-menu.jpg");
  background-size: 230%;
  background-position: var(--image-position, center);
}

.dialog-price {
  display: block;
  margin-bottom: 12px;
  font-size: 21px;
}

#dialogDescription {
  margin: 0 0 18px;
  color: #463f3f;
  line-height: 1.4;
}

.pizza-builder {
  margin: 20px -40px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #050909;
  color: #ffffff;
}

.wing-builder {
  margin: 20px -40px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #050909;
  color: #ffffff;
}

.pizza-size-selector {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 22px 40px 14px;
  background: #f1f2f0;
  color: var(--charcoal);
}

.pizza-size-card {
  display: grid;
  place-items: center;
  gap: 7px;
  min-height: 112px;
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 12px 8px;
  text-align: center;
}

.pizza-size-card.selected {
  border-color: var(--brand);
  background: rgba(181, 31, 36, 0.06);
}

.pizza-size-card strong {
  font-size: 14px;
}

.pizza-size-card small {
  color: #4c433a;
  font-weight: 850;
}

.pizza-size-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 0 35%, rgba(255, 255, 255, 0.45) 36% 38%, transparent 39%),
    conic-gradient(from 0deg, #d83b1e 0 45deg, #f08a31 45deg 48deg, #d83b1e 48deg 90deg, #f08a31 90deg 93deg, #d83b1e 93deg 135deg, #f08a31 135deg 138deg, #d83b1e 138deg 180deg, #f08a31 180deg 183deg, #d83b1e 183deg 225deg, #f08a31 225deg 228deg, #d83b1e 228deg 270deg, #f08a31 270deg 273deg, #d83b1e 273deg 315deg, #f08a31 315deg 318deg, #d83b1e 318deg 360deg);
}

.builder-ingredient-line {
  margin: 0;
  padding: 0 40px 22px;
  background: #f1f2f0;
  color: #54463d;
  font-size: 17px;
  line-height: 1.45;
  text-align: center;
}

.builder-step-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 5px solid #000000;
  border-bottom: 1px solid rgba(120, 180, 78, 0.65);
  background: #111417;
}

.builder-step-tabs button {
  min-height: 86px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #d8d7d3;
  font-size: 18px;
  font-weight: 950;
}

.builder-step-tabs button.active {
  background: #42661f;
  box-shadow: inset 0 0 0 4px #8fc757;
  color: #0e1608;
}

.builder-step-panel {
  display: grid;
  gap: 20px;
  padding: 22px 40px 18px;
}

.base-sauce-grid {
  display: grid;
  gap: 14px;
}

.builder-base-group,
.builder-topping-group {
  display: grid;
  gap: 12px;
}

.builder-base-group h3,
.builder-topping-group h3 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
}

.base-sauce-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.base-sauce-option {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 10px 13px;
  background: #161b1d;
  color: #ffffff;
  font-weight: 850;
}

.base-sauce-option.selected {
  border-color: #8fc757;
  background: #42661f;
  color: #0e1608;
}

.builder-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.builder-group-header span {
  color: #bfc7bd;
  font-size: 13px;
  font-weight: 900;
}

.topping-category-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid #6d9b3c;
}

.topping-category-tabs button {
  border: 0;
  padding: 15px 10px;
  background: transparent;
  color: #a9aaa9;
  font-size: 18px;
  font-weight: 900;
}

.topping-category-tabs button.active {
  color: #8fc757;
  box-shadow: inset 0 -3px 0 #8fc757;
}

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

.topping-choice {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  padding: 10px;
  background: #121617;
  color: #ffffff;
  text-align: left;
}

.topping-choice span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #ff825b;
  border-radius: 50%;
  color: #ff825b;
  font-size: 20px;
  line-height: 1;
}

.topping-choice.selected {
  border-color: #8fc757;
  background: #1a2615;
}

.topping-choice.selected span {
  border-color: #8fc757;
  background: #8fc757;
  color: #101a0a;
}

.builder-empty {
  margin: 0;
  color: #cfd6cc;
}

.builder-reset {
  justify-self: end;
  margin: 0 40px 22px;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: transparent;
  color: #ff825b;
  font-weight: 950;
}

.builder-reset::after {
  content: "";
  width: 28px;
  height: 28px;
  display: inline-block;
  margin-left: 8px;
  border-radius: 50%;
  background: #ff825b;
  vertical-align: middle;
}

.wing-size-selector {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 22px 40px 14px;
  background: #f1f2f0;
  color: var(--charcoal);
}

.wing-size-card {
  display: grid;
  place-items: center;
  gap: 7px;
  min-height: 112px;
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 12px 8px;
  text-align: center;
}

.wing-size-card.selected {
  border-color: var(--brand);
  background: rgba(181, 31, 36, 0.06);
}

.wing-size-card strong {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d83b1e;
  color: #ffffff;
  font-size: 18px;
}

.wing-size-card small {
  color: #4c433a;
  font-weight: 850;
}

.wing-tabs button.active {
  background: #42661f;
  color: #0e1608;
}

.wing-required-message {
  margin: 0;
  padding: 12px 40px 18px;
  background: #f1f2f0;
  color: var(--brand);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.3;
  text-align: center;
}

.wing-builder-group {
  display: grid;
  gap: 12px;
}

.wing-card-grid {
  display: grid;
  gap: 16px;
}

.wing-choice-card {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 116px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 18px;
  background: #f4f7f6;
  color: #33251f;
  text-align: left;
}

.wing-choice-card span {
  color: #d83b1e;
  font-weight: 950;
}

.wing-choice-card strong {
  display: block;
  font-size: 20px;
}

.wing-choice-card small {
  color: #5e554e;
  font-size: 15px;
  font-weight: 850;
}

.wing-choice-card.selected {
  border-color: #8fc757;
  box-shadow: inset 0 -4px 0 #8fc757;
}

.wing-choice-card::before {
  content: "";
  width: 112px;
  height: 82px;
  display: block;
  grid-row: span 3;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 60%, rgba(162, 64, 34, 0.95) 0 16%, transparent 17%),
    radial-gradient(circle at 55% 45%, rgba(192, 76, 35, 0.95) 0 18%, transparent 19%),
    radial-gradient(circle at 72% 65%, rgba(142, 48, 28, 0.95) 0 14%, transparent 15%),
    #d9dee2;
}

.wing-choice-card.sauce-card::before {
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.24), transparent 38%),
    #e6651a;
}

.wing-choice-card.sauce-card[data-option-name="No Sauce"]::before {
  background: #e9eef1;
}

.wing-choice-card.sauce-card[data-option-name="Blue Cheese"]::before {
  background:
    radial-gradient(circle at 44% 48%, rgba(180, 194, 188, 0.6), transparent 9%),
    radial-gradient(circle at 58% 58%, rgba(180, 194, 188, 0.6), transparent 8%),
    #f8f6ee;
}

.modifier-groups {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.modifier-group h3 {
  margin: 0;
  font-size: 20px;
}

.modifier-rule {
  display: block;
  margin: 3px 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.modifier-option {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.modifier-option button,
.quantity-control button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  background: #ffffff;
  color: var(--brand);
  font-size: 20px;
  line-height: 1;
}

.modifier-option.selected button {
  background: var(--brand);
  color: #ffffff;
}

.modal-footer {
  position: sticky;
  bottom: -30px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  align-items: center;
  margin: 20px -40px -30px;
  padding: 14px 40px 24px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 900;
}

.info-dialog dl {
  margin: 0;
}

.info-dialog dt {
  margin-top: 16px;
  color: var(--muted);
  font-weight: 900;
}

.info-dialog dd {
  margin: 4px 0;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

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

  .hero-visual {
    min-height: 390px;
  }

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

  .fulfillment-card {
    justify-content: space-between;
  }

  .ordering-layout {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    display: none;
  }

  .cart-panel.cart-open {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: block;
    padding: 18px;
    background: rgba(17, 13, 12, 0.48);
  }

  .cart-panel.cart-open .cart-card {
    position: relative;
    top: auto;
    max-width: 460px;
    min-height: auto;
    max-height: calc(100vh - 36px);
    margin-left: auto;
    overflow: auto;
  }

  .cart-close {
    display: block;
  }

  .mobile-cart {
    position: fixed;
    z-index: 35;
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: block;
    border: 0;
    border-radius: 7px;
    padding: 15px;
    background: var(--brand);
    color: #ffffff;
    font-weight: 950;
    box-shadow: var(--shadow);
  }
}

@media (max-width: 760px) {
  .promo-strip {
    display: grid;
    gap: 3px;
    text-align: center;
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .header-actions {
    justify-content: stretch;
  }

  .phone-link,
  .outline-action {
    flex: 1;
    text-align: center;
  }

  .hero {
    padding: 22px 14px 24px;
  }

  .hero h1 {
    font-size: clamp(38px, 14vw, 58px);
  }

  .hero-metrics,
  .featured-grid,
  .item-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 330px;
  }

  .deal-callout {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }

  .order-hub {
    margin: 0 14px;
    padding: 14px;
  }

  .store-summary {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .store-summary button {
    grid-column: 2;
    justify-self: start;
  }

  .fulfillment-card,
  .time-pill {
    display: grid;
    justify-content: stretch;
  }

  .fulfillment-toggle {
    width: 100%;
  }

  .fulfillment-toggle button {
    flex: 1;
  }

  .featured-section,
  .ordering-layout {
    padding-inline: 14px;
  }

  .menu-header {
    top: 118px;
  }

  .menu-section {
    scroll-margin-top: 250px;
  }

  .menu-item {
    grid-template-columns: 108px minmax(0, 1fr);
    min-height: 166px;
  }

  .item-image {
    min-height: 140px;
  }

  .order-dialog form,
  .item-dialog form,
  .info-dialog form,
  .checkout-dialog form {
    padding: 24px;
  }

  .dialog-image {
    margin: -24px -24px 20px;
  }

  .pizza-builder {
    margin-right: -24px;
    margin-left: -24px;
  }

  .wing-builder {
    margin-right: -24px;
    margin-left: -24px;
  }

  .pizza-size-selector,
  .wing-size-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px 24px 14px;
  }

  .builder-ingredient-line,
  .wing-required-message {
    padding: 0 24px 18px;
    font-size: 16px;
  }

  .builder-step-tabs button {
    min-height: 78px;
    padding: 10px 8px;
    font-size: 16px;
  }

  .builder-step-panel {
    padding: 20px 24px 16px;
  }

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

  .wing-choice-card {
    grid-template-columns: 108px minmax(0, 1fr);
    min-height: 126px;
    padding: 12px;
  }

  .wing-choice-card::before {
    width: 90px;
    height: 76px;
  }

  .builder-reset {
    margin-right: 24px;
    margin-bottom: 18px;
  }

  .split-controls,
  .when-row,
  .modal-footer {
    grid-template-columns: 1fr;
  }

  .modal-footer {
    margin: 20px -24px -24px;
    padding: 14px 24px 20px;
  }
}

@media (max-width: 430px) {
  .brand-logo {
    width: 42px;
    height: 42px;
    font-size: 13px;
  }

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

  .header-actions {
    flex-wrap: wrap;
  }

  .hero-actions {
    display: grid;
  }

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

  .item-image {
    min-height: 170px;
  }
}
