:root {
  --plum: #713b68;
  --plum-dark: #52254b;
  --berry: #9b4f79;
  --rose: #c6859f;
  --pink: #efe3eb;
  --pink-strong: #dbc0d1;
  --cream: #fbf7f2;
  --paper: #fff;
  --ink: #2c1726;
  --muted: #725e6b;
  --line: #dfc3d3;
  --green: #28715d;
  --shadow: 0 24px 70px rgba(82, 37, 75, .12);
  --display: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 90% 16%, rgba(113,59,104,.06) 0 120px, transparent 121px),
    radial-gradient(circle at 14% 70%, rgba(113,59,104,.04) 0 180px, transparent 181px),
    var(--cream);
  color: var(--ink);
  font-family: var(--sans);
}
button, input, textarea, select { font: inherit; }
button, label, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

.demo-banner {
  padding: 6px 16px;
  background: var(--plum-dark);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.order-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 10px max(18px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(113,59,104,.13);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
}

.wordmark { color: var(--plum); text-decoration: none; }
.wordmark strong { display: block; font: 700 21px/1 var(--display); }
.wordmark span { display: block; margin-top: 5px; font-size: 7px; font-weight: 800; letter-spacing: .17em; }

.stepper {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.is-entry-mode .stepper { visibility: hidden; opacity: 0; pointer-events: none; }
.stepper li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 58px;
  color: #cfa9b7;
}
.stepper li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14px;
  left: calc(50% + 18px);
  width: 30px;
  border-top: 2px dotted #efc2ce;
}
.stepper span {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  font-size: 11px;
  font-weight: 800;
}
.stepper small { font-size: 8px; font-weight: 700; }
.stepper .is-current { color: var(--plum-dark); }
.stepper .is-current span { border-color: var(--plum-dark); background: var(--plum-dark); color: white; }
.stepper .is-complete span { border-color: var(--rose); background: var(--rose); color: transparent; font-size: 0; }
.stepper .is-complete span::after { content: "✓"; display: grid; place-items: center; width: 100%; height: 100%; color: white; font-size: 13px; line-height: 1; }

.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.language-switch { display: flex; padding: 3px; border: 1px solid #eadde6; border-radius: 999px; background: white; }
.language-switch button { min-width: 31px; padding: 6px 7px; border: 0; border-radius: 999px; background: transparent; font-size: 10px; font-weight: 800; cursor: pointer; }
.language-switch button.is-active { background: var(--plum); color: white; }
.close-order { padding: 0; border: 0; background: transparent; color: var(--plum-dark); font: 400 29px/1 var(--sans); text-decoration: none; cursor: pointer; }

.order-main { width: min(1180px, calc(100% - 32px)); min-height: calc(100vh - 150px); margin: 0 auto; padding: 42px 0 72px; }
.order-intro { margin-bottom: 34px; text-align: center; }
.order-intro h1 { margin: 0; font: 700 clamp(34px, 5vw, 56px)/1 var(--display); }
.order-intro p:last-child { margin: 12px auto 0; color: var(--muted); }
.eyebrow { margin: 0 0 9px; color: var(--berry); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.order-step { display: none; }
.order-step.is-active { display: block; }
.step-heading { max-width: 670px; margin: 0 auto 30px; text-align: center; }
.step-heading.compact { margin-bottom: 25px; }
h2 { margin: 0; font: 700 clamp(30px, 4vw, 44px)/1.05 var(--display); }
.step-heading > p:last-child { margin: 12px auto 0; color: var(--muted); line-height: 1.6; }

.address-card {
  width: min(700px, 100%);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--pink-strong);
  border-radius: 30px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}
.fulfilment-tabs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5px; min-width: 0; margin-bottom: 25px; padding: 5px; border-radius: 999px; background: var(--pink); }
.fulfilment-tabs button { min-width: 0; padding: 12px 8px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 800; overflow-wrap: anywhere; cursor: pointer; }
.fulfilment-tabs button.is-active { background: white; color: var(--plum); box-shadow: 0 5px 16px rgba(82,37,75,.1); }
#address-form { display: grid; gap: 11px; }
#address-form label, .form-grid label { display: grid; gap: 7px; color: var(--berry); font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
input, textarea, select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  color: var(--ink);
  outline: none;
}
input { min-height: 49px; padding: 12px 15px; }
select { min-height: 49px; padding: 11px 42px 11px 15px; appearance: none; background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%239b4f79' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; }
textarea { min-height: 100px; padding: 14px 15px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--plum); box-shadow: 0 0 0 3px rgba(113,59,104,.1); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #ad2f4b; box-shadow: 0 0 0 3px rgba(173,47,75,.1); }
.input-with-icon { position: relative; }
.input-with-icon span { position: absolute; left: 16px; top: 10px; color: var(--rose); font-size: 24px; }
.input-with-icon input { padding-left: 47px; }
.address-suggestions {
  position: relative;
  z-index: 20;
  display: grid;
  max-height: 260px;
  margin: -5px 0 2px;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 14px 32px rgba(82,37,75,.15);
  list-style: none;
}
.address-suggestions[hidden] { display: none; }
.address-suggestions button {
  width: 100%;
  padding: 12px 11px;
  border: 0;
  border-bottom: 1px solid var(--pink);
  background: white;
  color: var(--ink);
  font: 600 12px/1.4 var(--sans);
  text-align: left;
  cursor: pointer;
}
.address-suggestions button:hover,
.address-suggestions button:focus-visible { background: var(--cream); outline: none; }
.address-suggestions-attribution {
  padding: 8px 11px 4px;
  color: #5f6368;
  font: 600 10px/1.2 Arial, sans-serif;
  text-align: right;
}
.address-confirmation { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid var(--pink-strong); border-radius: 18px; background: var(--pink); }
.address-confirmation[hidden] { display: none; }
.address-confirmation > span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: var(--plum); color: white; font-size: 13px; font-weight: 800; }
.address-confirmation > div { display: grid; gap: 3px; min-width: 0; }
.address-confirmation strong { color: var(--plum-dark); font-size: 11px; }
.address-confirmation small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.address-confirmation button { border: 0; background: transparent; color: var(--berry); font-size: 10px; font-weight: 800; cursor: pointer; }
.hint { display: flex; gap: 12px; margin: 10px 0; color: var(--rose); font-size: 12px; line-height: 1.45; }
.hint[hidden] { display: none; }
.hint > span:first-child { font-size: 20px; }
.pickup-location { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--cream); }
.pickup-location > span { color: var(--rose); font-size: 28px; }
.pickup-location div { display: grid; gap: 5px; }
.pickup-location small { color: var(--muted); }
.form-error { min-height: 15px; margin: 0; color: #ad2f4b; font-size: 11px; font-weight: 700; }

.primary-action, .secondary-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 53px;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.primary-action { background: linear-gradient(135deg, var(--plum), var(--plum-dark)); color: white; }
.primary-action:disabled { background: #d7c0ce; cursor: not-allowed; }
.secondary-action { border: 1px dashed var(--rose); background: transparent; color: var(--berry); }

.catalogue-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.catalogue-heading h2 small { display: inline-grid; place-items: center; width: 29px; height: 29px; border: 1px solid var(--plum); border-radius: 50%; font: 700 10px var(--sans); vertical-align: middle; }
.filter-row { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-row button { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--muted); font-size: 11px; font-weight: 800; cursor: pointer; }
.filter-row button.is-active { border-color: var(--plum); background: var(--plum); color: white; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.flavour-entry { width: min(900px, 100%); margin: 0 auto 34px; text-align: center; }
.flavour-entry-kicker { margin: 0 0 8px; color: var(--berry); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.flavour-entry-title { margin: 0 0 18px; color: var(--plum-dark); font: 700 clamp(24px, 3vw, 34px)/1.15 var(--display); }
.quick-address-button, .saved-address-bar { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr) 58px; align-items: center; width: 100%; min-height: 64px; padding: 0; border: 1px solid rgba(198,133,159,.45); border-radius: 999px; background: rgba(255,255,255,.96); box-shadow: 0 15px 42px rgba(82,37,75,.1); text-align: left; }
.quick-address-button { color: var(--plum-dark); cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.quick-address-button:hover { border-color: var(--berry); box-shadow: 0 18px 46px rgba(82,37,75,.15); transform: translateY(-1px); }
.quick-address-button:focus-visible { outline: 3px solid rgba(113,59,104,.22); outline-offset: 3px; }
.quick-address-button[hidden], .saved-address-bar[hidden] { display: none; }
.quick-address-icon { display: grid; place-items: center; width: 58px; color: var(--plum-dark); }
.quick-address-icon svg { display: block; width: 22px; height: 26px; overflow: visible; }
.quick-address-icon path { fill: var(--rose); stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.quick-address-icon circle { fill: var(--cream); stroke: currentColor; stroke-width: 1.35; }
.quick-address-label { display: block; justify-self: center; padding: 12px 8px; font-size: 16px; font-weight: 700; text-align: center; }
.quick-address-arrow { display: grid; place-items: center; justify-self: end; width: 48px; height: 48px; margin-right: 8px; border-radius: 50%; background: var(--plum); color: white; }
.quick-address-arrow svg { display: block; width: 20px; height: 20px; overflow: visible; }
.quick-address-arrow path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quick-address-note { margin: 10px 0 0; color: var(--muted); font-size: 10px; }
.saved-address-bar { padding-right: 18px; }
.saved-address-bar > div { display: grid; gap: 4px; min-width: 0; }
.saved-address-bar small { color: var(--berry); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.saved-address-bar strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.saved-address-bar button { border: 0; background: transparent; color: var(--berry); font-size: 11px; font-weight: 800; cursor: pointer; }
body:not(.is-entry-mode) .flavour-entry { width: min(760px, 100%); margin-bottom: 28px; }
body:not(.is-entry-mode) .flavour-entry-kicker,
body:not(.is-entry-mode) .flavour-entry-title,
body:not(.is-entry-mode) .quick-address-note { display: none; }
.flavour-section {
  position: relative;
  margin: 35px 0;
  padding: 28px 15px 15px;
  border: 2px dashed var(--section-color, var(--line));
  border-radius: 34px;
}
.flavour-section-title { position: absolute; top: -13px; left: 17px; margin: 0; padding: 7px 12px; border-radius: 999px; background: var(--section-color, var(--rose)); color: white; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.flavour-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.flavour-card { position: relative; display: grid; gap: 9px; min-width: 0; padding: 0 0 7px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.flavour-visual { position: relative; overflow: hidden; aspect-ratio: 1.08; padding: 0; border: 0; border-radius: 24px; background: var(--card-bg); cursor: pointer; }
.flavour-visual::before, .flavour-visual::after { display: none; }
.flavour-photo { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
.flavour-card:hover .flavour-photo { transform: scale(1.035); }
.flavour-card.is-selected .flavour-visual { box-shadow: inset 0 0 0 3px white, 0 0 0 3px var(--plum); }
.selected-mark { position: absolute; z-index: 3; inset: 0; display: none; place-content: center; justify-items: center; gap: 8px; background: rgba(82,37,75,.44); color: white; font-size: 13px; font-weight: 800; text-align: center; text-shadow: 0 1px 8px rgba(44,23,38,.45); }
.selected-tick { position: relative; display: block; width: 58px; height: 42px; }
.selected-tick::before { content: ""; position: absolute; left: 8px; top: 2px; width: 39px; height: 22px; border-bottom: 7px solid white; border-left: 7px solid white; transform: rotate(-45deg); transform-origin: center; }
.flavour-card.is-selected .selected-mark { display: grid; }
.info-button { position: absolute; z-index: 4; right: 7px; bottom: 7px; display: grid; place-items: center; width: 31px; height: 31px; border: 0; border-radius: 50%; background: white; color: var(--plum); font: italic 700 20px var(--display); cursor: pointer; }
.flavour-card > strong { overflow: hidden; font: 600 14px/1.2 var(--display); text-overflow: ellipsis; white-space: nowrap; }
.flavour-tags { overflow: hidden; color: var(--berry); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

.builder-drawer, .boxes-drawer {
  position: fixed;
  z-index: 35;
  bottom: 18px;
  left: 50%;
  width: min(780px, calc(100% - 18px));
  max-height: min(52dvh, 560px);
  margin: 0;
  padding: 12px 22px 17px;
  overflow-y: auto;
  border: 1px solid rgba(198,133,159,.28);
  border-radius: 28px;
  background: white;
  box-shadow: 0 -18px 55px rgba(82,37,75,.16);
  transform: translateX(-50%);
}
body[data-order-step="2"] .order-main { padding-bottom: min(52dvh, 580px); }
.drawer-handle { display: none; width: 35px; margin: 0 auto 11px; border-top: 3px solid var(--line); border-radius: 4px; }
.builder-drawer section + section { margin-top: 13px; padding-top: 13px; border-top: 1px solid #f1dce3; }
.drawer-title { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.drawer-title .number { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--plum-dark); color: white; font-size: 10px; font-weight: 800; }
.drawer-title strong { font-size: 12px; }
.drawer-title button { margin-left: auto; border: 0; background: transparent; color: var(--rose); cursor: pointer; }
.selection-slots { display: grid; grid-template-columns: repeat(6, 48px); gap: 8px; overflow-x: auto; padding: 2px; }
.selection-slot { display: grid; gap: 3px; min-width: 0; }
.selection-slot > span { display: block; overflow: hidden; width: 48px; height: 48px; border: 1px dashed var(--line); border-radius: 10px; background: var(--slot-bg, transparent); }
.selection-slot.is-filled > span { border-style: solid; }
.selection-slot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.selection-slot small { overflow: hidden; color: var(--muted); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.box-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.box-option { display: grid; grid-template-columns: minmax(84px, 112px) auto; align-items: center; justify-content: center; gap: 12px; padding: 8px 12px; border: 1px solid transparent; border-radius: 18px; background: var(--pink); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.box-option.is-selected { border-color: var(--rose); background: #fff7f9; }
.box-option strong { color: var(--berry); font: 700 20px var(--display); }
.box-option small { color: var(--plum-dark); font-size: 9px; }
.box-option-copy { display: grid; gap: 2px; }
.box-choice-glyph { display: block; min-width: 0; }
.box-choice-glyph svg { display: block; width: 100%; height: auto; }
.box-choice-glyph path { fill: white; stroke: var(--rose); stroke-width: 2; stroke-linejoin: round; }
.box-choice-glyph text { fill: var(--berry); font: 600 9px var(--sans); text-anchor: middle; }
.box-choice-glyph text.weight { font: 700 17px var(--display); }
.automatic-size-note { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; text-align: center; }
.builder-drawer > .primary-action, .boxes-drawer > .primary-action { width: min(330px, 100%); margin: 14px auto 0; }
.selection-feedback {
  min-height: 18px;
  margin: 10px 0 -5px;
  color: var(--plum);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.boxes-drawer { padding-bottom: 18px; }
.completed-box { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px; border-radius: 17px; background: var(--pink); }
.completed-box + .completed-box { margin-top: 7px; }
.box-glyph { display: grid; place-items: center; color: var(--berry); font: 700 12px var(--display); }
.takeaway-package { width: calc(92px * var(--package-scale)); min-width: calc(92px * var(--package-scale)); height: calc(67px * var(--package-scale)); border: 0; clip-path: none; background: transparent; transform-origin: center; }
.takeaway-package svg { display: block; width: 100%; height: auto; overflow: visible; }
.takeaway-package .package-body { fill: #fff; stroke: var(--plum); stroke-width: 2; stroke-linejoin: round; }
.takeaway-package .package-lid { fill: #fff8fa; stroke: var(--plum); stroke-width: 2; stroke-linejoin: round; }
.takeaway-package .package-rim { fill: none; stroke: var(--rose); stroke-width: 1.2; }
.takeaway-package text { fill: var(--berry); text-anchor: middle; }
.takeaway-package .package-limit { font: 600 9px var(--sans); }
.takeaway-package .package-weight { font: 700 18px var(--display); }
.takeaway-package > small { display: none; color: var(--muted); font: 600 7px var(--body); white-space: nowrap; }
.completed-box-copy { min-width: 0; }
.completed-box-copy strong, .completed-box-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.completed-box-copy strong { font-size: 11px; }
.completed-box-copy small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.completed-box-thumbs { display: flex; gap: 4px; margin-top: 6px; }
.completed-box-thumbs img { width: 27px; height: 27px; border: 1px solid white; border-radius: 7px; object-fit: cover; }
.completed-box-price { display: grid; justify-items: end; gap: 5px; color: var(--berry); font-size: 10px; font-weight: 800; }
.completed-box-price button { border: 0; background: transparent; color: var(--rose); cursor: pointer; }
.boxes-drawer .secondary-action { width: 100%; margin-top: 9px; border-radius: 17px; }
.box-limit { display: block; margin-top: 8px; color: var(--rose); text-align: center; }

.summary-layout, .payment-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr); gap: 22px; align-items: start; }
.summary-card, .cost-card, .payment-card, .payment-total-card {
  margin-bottom: 16px;
  padding: 25px;
  border: 1px solid rgba(239,185,200,.7);
  border-radius: 25px;
  background: rgba(255,255,255,.95);
}
.summary-card h3, .cost-card h3, .payment-card h3 { margin: 0 0 18px; font: 700 22px var(--display); }
.summary-card-heading { display: flex; justify-content: space-between; align-items: center; }
.summary-card-heading h3 { margin-bottom: 0; }
.summary-card-heading button, .delivery-choice button, .promo-row button { border: 0; background: transparent; color: var(--berry); font-size: 11px; font-weight: 800; cursor: pointer; }
.summary-box { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #f2dbe3; }
.summary-box .takeaway-package { align-content: center; height: auto; min-height: calc(67px * var(--package-scale)); padding-bottom: 11px; }
.summary-box .takeaway-package > small { display: block; margin-top: -5px; }
.summary-box:last-child { border-bottom: 0; }
.summary-flavours { display: flex; gap: 5px; margin-top: 7px; }
.summary-flavours span { overflow: hidden; width: 29px; height: 29px; border-radius: 7px; background: var(--pink); }
.summary-flavours img { display: block; width: 100%; height: 100%; object-fit: cover; }
.summary-box > strong { color: var(--plum); font-size: 13px; }
details summary { display: flex; justify-content: space-between; font: 700 20px var(--display); cursor: pointer; list-style: none; }
details summary::after { content: "⌄"; }
details[open] summary::after { content: "⌃"; }
.promo-row { display: grid; gap: 6px; margin-top: 18px; }
.promo-row label { color: var(--berry); font-size: 9px; font-weight: 800; }
.promo-row > div { position: relative; }
.promo-row button { position: absolute; top: 0; right: 7px; height: 49px; }
.promo-row input { padding-right: 65px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.delivery-select-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.delivery-select-grid label { display: grid; gap: 8px; color: var(--berry); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.delivery-select-grid select { min-height: 58px; font-size: 16px; font-weight: 700; letter-spacing: 0; }
.delivery-window-note { margin: 10px 2px 0; color: var(--berry); font-size: 10px; }
.extras-eyebrow { display: block; margin-bottom: 5px; color: var(--berry); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.selected-box-extras { margin-top: 17px; padding-top: 19px; border-top: 1px solid #f2dbe3; }
.selected-box-extras .summary-card-heading { align-items: start; }
.selected-box-extras .summary-card-heading h3 { margin-bottom: 0; }
.selected-box-extras .summary-card-heading > strong { color: var(--plum); font-size: 14px; }
.cones-control { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-top: 18px; padding-top: 18px; border-top: 1px solid #f2dbe3; }
.cones-control > div:nth-child(2) { display: grid; gap: 4px; }
.cones-control small { color: var(--muted); font-size: 10px; }
.cones-illustration { display: flex; align-items: end; gap: 2px; width: 62px; }
.cones-illustration i { position: relative; display: block; width: 19px; height: 36px; border: 1.5px solid var(--rose); clip-path: polygon(0 0,100% 0,50% 100%); background: repeating-linear-gradient(45deg, transparent 0 5px, rgba(198,133,159,.25) 5px 6px); }
.cones-illustration i:nth-child(2) { height: 43px; }
.quantity-stepper { display: grid; grid-template-columns: 43px 34px 43px; align-items: center; }
.quantity-stepper button { min-height: 43px; border: 1px solid var(--rose); background: white; color: var(--berry); font-weight: 800; cursor: pointer; }
.quantity-stepper button:first-child { border-radius: 999px 0 0 999px; }
.quantity-stepper button:last-child { border-radius: 0 999px 999px 0; }
.quantity-stepper button:disabled { opacity: .38; cursor: not-allowed; }
.quantity-stepper output { display: grid; place-items: center; height: 43px; border-block: 1px solid var(--rose); color: var(--plum-dark); font-weight: 800; }
.invoice-toggle, .consents label { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; line-height: 1.45; }
.invoice-toggle input, .consents input { flex: 0 0 25px; width: 25px; min-height: 25px; margin: 0; accent-color: var(--plum); }
.consents { padding: 10px 12px 22px; }
.consents label { font-size: 12px; }
.consents a { color: var(--plum); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.consents a:hover { color: var(--berry); }
.consents a:focus-visible { border-radius: 3px; outline: 3px solid rgba(113,59,104,.2); outline-offset: 2px; }
.cost-card, .payment-total-card { position: sticky; top: 98px; box-shadow: var(--shadow); }
.cost-card dl { margin: 0; }
.cost-card dl div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid #f2dbe3; }
.cost-card dd { margin: 0; font-weight: 800; }
.cost-card .total { margin-top: 8px; border: 0; font-size: 18px; }
.free-delivery-note { padding: 10px 12px; border-radius: 12px; background: #eef7f3; color: var(--green); font-size: 10px; line-height: 1.4; }
.cost-card .primary-action { width: 100%; margin-top: 17px; }

.payment-layout { width: min(900px, 100%); margin: 0 auto; grid-template-columns: 1.2fr .8fr; }
.payment-option { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid #f2dbe3; cursor: pointer; }
.payment-option:last-child { border-bottom: 0; }
.payment-option input { width: 18px; min-height: 18px; accent-color: var(--plum); }
.payment-icon { display: grid; place-items: center; width: 50px; height: 34px; border: 1px solid #c9b5c1; border-radius: 7px; background: white; font-weight: 800; }
.payment-icon.wallet { font-size: 18px; }
.payment-icon.blik { border: 0; background: #111; color: white; font-size: 13px; }
.payment-option > span:last-child { display: grid; gap: 3px; }
.payment-option small { color: var(--muted); font-size: 9px; }
.payment-total-card { display: grid; gap: 7px; text-align: center; }
.payment-total-card > span { color: var(--muted); font-size: 11px; }
.payment-total-card > strong { color: var(--plum); font: 700 36px var(--display); }
.payment-total-card > small { color: var(--muted); font-size: 9px; }
.payment-total-card .primary-action { margin-top: 12px; }
.text-button { border: 0; background: transparent; color: var(--plum); font-size: 10px; font-weight: 800; cursor: pointer; }
.order-success { width: min(620px, 100%); margin: 30px auto; padding: 45px; border-radius: 30px; background: white; box-shadow: var(--shadow); text-align: center; }
.order-success > span { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 50%; background: var(--green); color: white; font-size: 30px; }
.order-success p { color: var(--muted); }
.order-success .primary-action { margin-top: 22px; }

#flavour-dialog { width: min(920px, calc(100% - 28px)); height: min(760px, calc(100vh - 32px)); max-height: none; padding: 0; overflow: hidden; border: 0; border-radius: 30px; box-shadow: 0 30px 100px rgba(44,23,38,.3); }
#flavour-dialog[open] { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr); grid-template-rows: minmax(0, 1fr); }
#flavour-dialog::backdrop { background: rgba(44,23,38,.55); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; z-index: 2; top: 13px; right: 13px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: white; color: var(--plum); font-size: 25px; cursor: pointer; }
.dialog-visual { min-height: 0; background: var(--pink); }
.dialog-visual img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.dialog-copy { height: 100%; max-height: none; padding: 36px 32px; overflow-y: auto; }
.dialog-copy p { color: var(--muted); line-height: 1.6; }
.dialog-copy .primary-action { min-width: 190px; margin-top: 20px; }

.detail-sections { display: grid; gap: 9px; margin-top: 26px; }
.detail-section { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; }
.detail-section[open] { background: var(--pink); }
.detail-section:not([open]) > :not(summary) { display: none; }
.detail-section summary { align-items: center; justify-content: flex-start; gap: 9px; padding: 14px 16px; color: var(--plum); font: 700 13px var(--sans); }
.detail-section summary::after { margin-left: auto; }
.detail-section > p { margin: 0; padding: 0 16px 17px; font-size: 12px; }
.nutrition-panel { padding: 0 16px 16px; }
.nutrition-note { margin: 0 0 10px; color: var(--muted); font-size: 10px; }
.nutrition-portion-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.order-nutrition-card { padding: 13px; border: 1px solid rgba(113,59,104,.12); border-radius: 15px; background: rgba(255,255,255,.8); }
.order-nutrition-card header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 9px; border-bottom: 1px solid rgba(113,59,104,.1); }
.order-nutrition-card header span { color: var(--berry); font-size: 9px; font-weight: 800; }
.order-nutrition-card header strong { color: var(--plum-dark); font: 700 17px var(--display); white-space: nowrap; }
.order-nutrition-card dl { margin: 7px 0 0; }
.order-nutrition-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 9px; }
.order-nutrition-card dt { color: var(--muted); }
.order-nutrition-card dd { margin: 0; color: var(--plum-dark); font-weight: 800; text-align: right; }
.allergen-panel { padding: 0 16px 16px; color: var(--plum-dark); font-size: 12px; line-height: 1.55; }
.allergen-panel p { margin: 7px 0 0; font-size: 11px; }

#cancel-dialog { width: min(500px, calc(100% - 28px)); padding: 0; border: 0; border-radius: 36px; background: transparent; }
#cancel-dialog::backdrop { background: rgba(82,37,75,.32); backdrop-filter: blur(10px); }
.cancel-dialog-card { padding: 46px 42px 40px; border: 1px solid var(--pink-strong); border-radius: 36px; background: white; box-shadow: 0 30px 90px rgba(82,37,75,.22); text-align: center; }
.cancel-box-icon { display: grid; place-items: center; width: 70px; height: 58px; margin: 0 auto 22px; border: 2px solid var(--rose); clip-path: polygon(8% 0,92% 0,100% 23%,88% 100%,12% 100%,0 23%); color: var(--berry); font: 800 30px var(--display); }
.cancel-dialog-card h2 { font-size: 32px; }
.cancel-dialog-card p { max-width: 340px; margin: 15px auto 24px; color: var(--muted); line-height: 1.55; }
.cancel-dialog-card .primary-action,
.cancel-dialog-card .secondary-action { width: 100%; }
.cancel-dialog-card .secondary-action { margin-top: 12px; border-style: solid; }

.order-site-footer { position: relative; z-index: 1; margin-top: 24px; }
.order-site-footer .shell { width: min(1180px, calc(100% - 40px)); }

@media (max-width: 900px) {
  .flavour-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .summary-layout, .payment-layout { grid-template-columns: 1fr; }
  .cost-card, .payment-total-card { position: static; }
}

@media (max-width: 650px) {
  .demo-banner { font-size: 8px; }
  .order-header { grid-template-columns: 1fr auto; align-content: start; min-height: 94px; padding: 8px 13px; }
  .wordmark strong { font-size: 16px; }
  .wordmark span { font-size: 6px; }
  .stepper { position: absolute; left: 50%; top: 59px; transform: translateX(-50%); gap: 5px; }
  .stepper li { min-width: 30px; }
  .stepper li:not(:last-child)::after { left: 25px; width: 15px; }
  .stepper small { display: none; }
  .stepper span { width: 22px; height: 22px; font-size: 9px; }
  .language-switch { display: none; }
  .order-main { width: 100%; padding: 24px 0 45px; }
  .order-intro { padding: 0 16px; }
  .order-intro .eyebrow, .order-intro > p:last-child { display: none; }
  .order-intro h1 { font-size: 28px; }
  .step-heading, .catalogue-heading { padding: 0 16px; }
  .step-heading h2 { font-size: 27px; }
  .address-card { width: calc(100% - 24px); min-width: 0; padding: 20px 17px; border-radius: 25px; }
  .catalogue-heading { display: grid; justify-items: center; text-align: center; }
  .filter-row { justify-content: center; }
  .flavour-entry { width: calc(100% - 24px); margin-bottom: 28px; }
  .quick-address-button, .saved-address-bar { grid-template-columns: 46px minmax(0, 1fr) 46px; min-height: 58px; }
  .quick-address-icon { width: 46px; }
  .quick-address-icon svg { width: 20px; height: 24px; }
  .quick-address-label { padding: 10px 5px; font-size: 13px; }
  .quick-address-arrow { width: 42px; height: 42px; margin-right: 4px; }
  .saved-address-bar { padding-right: 12px; }
  .flavour-section { margin: 34px 8px; padding: 22px 7px 9px; border-radius: 29px; }
  .flavour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .flavour-visual { border-radius: 20px; }
  .flavour-card > strong { font-size: 13px; }
  body[data-order-step="2"] .order-main { padding-bottom: min(62dvh, 540px); }
  .builder-drawer, .boxes-drawer {
    position: fixed;
    z-index: 60;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: min(62dvh, 540px);
    margin: 0;
    padding: 8px 18px calc(16px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 26px 26px 0 0;
    transform: none;
  }
  .builder-drawer {
    transition:
      max-height 380ms cubic-bezier(.22, 1, .36, 1),
      padding 320ms cubic-bezier(.22, 1, .36, 1),
      box-shadow 320ms ease;
  }
  .builder-drawer .drawer-handle,
  .builder-drawer .drawer-title {
    transition: margin 280ms ease;
  }
  .builder-drawer section:nth-of-type(2) {
    max-height: 150px;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition:
      max-height 340ms cubic-bezier(.22, 1, .36, 1),
      margin 340ms cubic-bezier(.22, 1, .36, 1),
      padding 340ms cubic-bezier(.22, 1, .36, 1),
      border-color 220ms ease,
      opacity 180ms ease 80ms,
      transform 300ms cubic-bezier(.22, 1, .36, 1),
      visibility 0s linear;
  }
  .builder-drawer > .primary-action {
    max-height: 60px;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition:
      max-height 320ms cubic-bezier(.22, 1, .36, 1),
      min-height 320ms cubic-bezier(.22, 1, .36, 1),
      margin 320ms cubic-bezier(.22, 1, .36, 1),
      padding 280ms ease,
      opacity 160ms ease 80ms,
      transform 280ms cubic-bezier(.22, 1, .36, 1),
      visibility 0s linear;
  }
  .builder-drawer .selection-slot {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
    transition:
      opacity 180ms ease,
      transform 260ms cubic-bezier(.22, 1, .36, 1),
      visibility 0s linear;
  }
  .builder-drawer.is-compact {
    max-height: 138px;
    padding-top: 6px;
    box-shadow: 0 -12px 36px rgba(82,37,75,.13);
  }
  .builder-drawer.is-compact .drawer-handle { margin-bottom: 7px; }
  .builder-drawer.is-compact section:nth-of-type(2) {
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    border-color: transparent;
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    pointer-events: none;
    transition-delay: 0s, 0s, 0s, 0s, 0s, 0s, 340ms;
  }
  .builder-drawer.is-compact > .primary-action {
    min-height: 0;
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    pointer-events: none;
    transition-delay: 0s, 0s, 0s, 0s, 0s, 0s, 320ms;
  }
  .builder-drawer.is-compact .selection-slot:not(.is-filled) {
    opacity: 0;
    transform: scale(.72);
    visibility: hidden;
    pointer-events: none;
    transition-delay: 0s, 0s, 220ms;
  }
  .builder-drawer.is-compact .drawer-title { margin-bottom: 7px; }
  .drawer-handle { display: block; }
  .selection-slots { grid-template-columns: repeat(6, 42px); }
  .selection-slot > span { width: 42px; height: 42px; }
  .box-option { grid-template-columns: 68px auto; gap: 6px; padding-inline: 6px; }
  .box-option strong { font-size: 16px; }
  .summary-layout, .payment-layout { display: block; }
  .delivery-select-grid { grid-template-columns: 1fr; }
  .cones-control { grid-template-columns: auto minmax(0, 1fr); }
  .quantity-stepper { grid-column: 1 / -1; justify-self: stretch; grid-template-columns: 1fr 42px 1fr; }
  .summary-card, .cost-card, .payment-card, .payment-total-card { margin: 0 0 13px; padding: 20px 16px; border-radius: 23px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .cost-card { border-radius: 23px; }
  .payment-card { border-radius: 23px; }
  .payment-option { grid-template-columns: auto auto 1fr; }
  .order-step[data-step="3"], .order-step[data-step="4"] { padding: 0 8px; }
  .order-site-footer { margin-top: 12px; }
  #flavour-dialog { height: auto; max-height: calc(100vh - 24px); overflow-y: auto; }
  #flavour-dialog[open] { display: block; }
  .dialog-visual { min-height: 0; }
  .dialog-visual img { height: 235px; min-height: 0; }
  .dialog-copy { max-height: none; padding: 24px 20px 28px; overflow: visible; }
  .nutrition-portion-comparison { grid-template-columns: 1fr; }
  .cancel-dialog-card { padding: 38px 24px 28px; border-radius: 30px; }
  .cancel-dialog-card h2 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .builder-drawer,
  .builder-drawer .drawer-handle,
  .builder-drawer .drawer-title,
  .builder-drawer section:nth-of-type(2),
  .builder-drawer > .primary-action,
  .builder-drawer .selection-slot {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

.checkout-turnstile { min-height: 65px; margin: 18px 0 8px; display: grid; place-items: center; }
.order-reference { display: inline-grid; gap: 4px; min-width: 230px; padding: 16px 24px; border: 1px solid #d9b4ca; border-radius: 18px; background: #fff; }
.order-reference small { color: #a83b68; font-size: 11px; letter-spacing: .09em; }
.order-reference strong { color: #5b2755; font-size: 22px; }
.customer-service-card { width: min(560px, 100%); margin: 20px auto; padding: 18px; border: 1px solid #ead5e1; border-radius: 20px; background: #fff; text-align: left; }
.customer-service-card summary { cursor: pointer; color: #713b68; font-weight: 800; }
.customer-service-card form { display: grid; gap: 12px; margin-top: 16px; }
.customer-service-card label { display: grid; gap: 6px; font-weight: 700; }
.customer-service-card select,
.customer-service-card textarea { width: 100%; padding: 12px; border: 1px solid #d9b4ca; border-radius: 13px; font: inherit; }
.customer-service-card textarea { min-height: 95px; resize: vertical; }
.flavour-card.is-sold-out { opacity: .57; }
.flavour-card.is-sold-out .flavour-visual { cursor: not-allowed; filter: grayscale(.3); }
.stock-badge { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 6px 9px; border-radius: 999px; background: #fff; color: #8f355f; font: 800 10px/1 sans-serif; }
