:root{--paper:#f7f3e8;--surface:#fffdf7;--ink:#26251e;--muted:#655e50;--line:#ded6c6;--green:#24483b;--greenDark:#17362b;--red:#a4372b;--wash:#e6ebdf;--orange:#8b430b;--warning:#f7e3c2;--serif:Georgia,'Times New Roman',serif;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.5 system-ui,sans-serif}button,select{font:inherit;color:inherit}a{color:inherit}.wrap{width:min(1180px,calc(100% - 48px));margin-inline:auto}.mast{border-bottom:1px solid var(--line)}.nav{min-height:72px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px}.wordmark{text-decoration:none;justify-self:start;font:bold 2rem/1 var(--serif);letter-spacing:-.08em;font-style:italic}.wordmark span{color:var(--red)}nav{display:flex;gap:4px}nav a{font-size:.9rem;text-decoration:none;padding:8px 13px;font-weight:700;border-radius:4px}nav a[aria-current]{background:var(--wash);color:var(--greenDark)}.demo{justify-self:end;color:var(--red);font-size:.84rem;font-weight:800}.skip{position:absolute;left:12px;top:-100px;background:white;padding:10px}.skip:focus{top:10px;z-index:10}
.hero{margin:34px 0 35px;background:var(--greenDark);color:#fff8df;min-height:262px;display:grid;grid-template-columns:1fr minmax(220px,34%);overflow:hidden}.hero-copy{padding:33px 38px 35px}.eyebrow{font-size:.85rem;letter-spacing:.13em;text-transform:uppercase;font-weight:800;margin:0 0 11px}.hero h1,.staff-head h1{margin:0;font:normal clamp(2.5rem,5.8vw,5rem)/.98 var(--serif);letter-spacing:-.065em}.hero-copy p:last-child{margin-bottom:0;color:#f0ebd9}.hero-art{display:grid;place-items:center;background:#aa392d;overflow:hidden;position:relative}.hero-art::before,.hero-art::after{content:'';position:absolute;width:320px;height:320px;border:1px solid #fff3d04d;border-radius:50%}.hero-art::after{width:270px;height:270px}.stamp{z-index:1;width:min(80%,218px);aspect-ratio:1;border:1px dashed #fff3d0b3;border-radius:50%;display:grid;place-content:center;text-align:center;transform:rotate(-9deg)}.stamp b{font:normal clamp(3rem,6vw,5rem)/1 var(--serif);letter-spacing:-.08em}.stamp small{font-size:.85rem;letter-spacing:.16em;text-transform:uppercase;font-weight:800;margin-top:7px}
.layout{display:grid;grid-template-columns:minmax(0,1fr) 344px;gap:34px;align-items:start}.section-title{display:flex;justify-content:space-between;gap:14px;align-items:baseline;border-bottom:1px solid var(--line);margin-bottom:13px}.section-title h2,.basket h2,.lanes h2{font:normal 2.1rem/1.2 var(--serif);letter-spacing:-.04em;margin:0 0 9px}.section-title span,.muted{font-size:.9rem;color:var(--muted)}.menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 32px}.dish,.basket,.order,.receipt{border:1px solid var(--line);background:var(--surface)}.dish{padding:15px;display:flex;flex-direction:column;min-height:143px}.dish h3,.order h3{margin:0;font-size:1.1rem;line-height:1.2}.dish p{margin:7px 0 12px;color:var(--muted);font-size:.89rem}.dishhead{display:flex;flex-wrap:wrap;align-items:center;column-gap:8px;row-gap:3px}.dishmark{color:var(--red);font-weight:800;font-size:.73rem;text-transform:uppercase;letter-spacing:.05em}.dishfoot{display:flex;align-items:center;justify-content:space-between;margin-top:auto;gap:8px}.price{white-space:nowrap;font-weight:800;font-variant-numeric:tabular-nums}.btn{border:1px solid var(--green);background:var(--green);color:white;min-height:43px;padding:8px 13px;font-weight:800;cursor:pointer;border-radius:4px}.btn:hover:not(:disabled){background:var(--greenDark)}.btn:disabled{cursor:not-allowed;opacity:.52}.btn.alt{background:transparent;color:var(--greenDark);border-color:var(--line)}.btn.alt:hover:not(:disabled){background:var(--wash)}.btn.add{min-width:44px;font-size:1.27rem;line-height:1}.btn:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid var(--red);outline-offset:3px}.basket{padding:20px;position:sticky;top:15px}.basket h2{margin-bottom:4px}.basket label{display:grid;gap:5px;font-weight:700;font-size:.91rem}.basket select{background:white;border:1px solid #a49d8c;min-height:44px;padding-inline:8px;border-radius:3px}.cart-lines{padding:0;list-style:none;margin:14px 0}.cart-lines li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;border-bottom:1px solid var(--line);padding:8px 0}.cart-lines li .price{grid-column:2}.qty{display:flex;align-items:center;gap:8px}.qty button{min-width:44px}.total{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin:14px 0;padding-top:12px}.submit{width:100%;margin-top:12px}.status{min-height:1.45em;margin:11px 0 0;font-size:.9rem;color:var(--red)}.receipt{padding:14px;margin-top:15px;border-color:#a8bba8;background:var(--wash)}.receipt h3{margin:0;font-size:1.1rem}.code{font-variant-numeric:tabular-nums;white-space:nowrap}.foot{margin-top:46px;margin-bottom:24px;padding-top:15px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:6px 19px;font-size:.88rem;color:var(--muted)}.foot b{color:var(--greenDark)}.foot span:last-child{margin-left:auto}
.staff-head{display:flex;gap:20px;justify-content:space-between;align-items:end;padding:40px 0 23px;border-bottom:1px solid var(--line)}.staff-head h1{font-size:clamp(2.45rem,5.5vw,4.4rem)}.controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.connection{padding:8px 11px;font-weight:800;font-size:.88rem;background:var(--wash);color:var(--greenDark)}.connection.pause{background:var(--warning);color:#623312}.connection.bad{background:#f4d8cf;color:#802719}.staff-note{margin:16px 0 20px}.lanes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.lane{background:#eee9db;padding:12px;min-height:245px}.lanes h2{font-size:1.6rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:9px}.lanes h2 span{font:700 .85rem/1.4 system-ui,sans-serif;padding:3px 7px;background:var(--surface);border-radius:3px}.order{padding:13px;margin-top:8px;border-left:4px solid var(--green)}.order.new{border-left-color:var(--red)}.order.overdue{background:#fff4df;border-left-color:var(--orange)}.order .dishhead{justify-content:space-between}.order ul{padding-left:1.2rem;margin:9px 0}.order p{margin:7px 0}.order button{width:100%;margin-top:7px}.empty{color:var(--muted);font-size:.9rem}.history{margin-top:18px}.history summary{cursor:pointer;font-weight:750}.history ul{padding-left:1.2rem}.announce{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:890px){.layout{grid-template-columns:minmax(0,1fr) 285px;gap:16px}.basket{padding:14px}.dish{padding:12px}}
@media(max-width:680px){.wrap{width:calc(100% - 26px)}.nav{grid-template-columns:1fr auto;gap:6px;min-height:62px}.wordmark{font-size:1.72rem}.demo{grid-column:1/-1;justify-self:start;margin-bottom:8px}.hero{margin:18px 0 20px;min-height:0;grid-template-columns:1fr 29%}.hero-copy{padding:20px 13px}.hero h1{font-size:clamp(1.95rem,8vw,3rem)}.hero-art::before{width:135px;height:135px}.hero-art::after{width:118px;height:118px}.stamp b{font-size:1.8rem}.stamp small{font-size:.58rem;margin-top:4px}.layout{display:flex;flex-direction:column;gap:2px}.layout>section,.basket{width:100%}.basket{position:static}.menu-grid{margin-bottom:19px}.dish{min-height:145px}.staff-head{display:block;padding:24px 0 15px}.controls{margin-top:13px}.lanes{grid-template-columns:1fr}.lane{min-height:inherit}.foot span:last-child{margin-left:0}}
@media(max-width:355px){.menu-grid{grid-template-columns:1fr}nav a{padding-inline:8px}}

[hidden]{display:none!important}
.wordmark .brand-name{color:inherit}
.hero-link{display:inline-block;margin-top:8px;font-weight:750;text-underline-offset:4px}
.hero:has(.hero-copy:only-child){grid-template-columns:1fr}
fieldset{display:grid;gap:12px;padding:0;border:0;margin:0;min-width:0}
.fields{display:grid;gap:12px}
.fields p{margin:0}
.basket input{font:inherit;background:#fff;border:1px solid #a49d8c;min-height:44px;padding:8px;border-radius:3px;min-width:0}
input:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.fee{display:flex;justify-content:space-between;font-size:.9rem}
.login{max-width:390px;margin-top:24px;position:static}
.order .code{white-space:normal;overflow-wrap:anywhere}
.order a{text-underline-offset:3px}

.btn.customize {
  min-height: 40px;
  padding-inline: 12px;
  font-size: .875rem;
  line-height: 1.2;
}

.cart-dish small,
.ticket-extras {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.35;
}

.ticket-extras { padding-left: .1rem; }

.pizza-dialog {
  width: min(460px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 80px #172a2752;
}

.pizza-dialog::backdrop { background: #19282499; }
.pizza-dialog form { display: grid; }
.pizza-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 23px 24px 20px;
  background: var(--greenDark);
  color: #fff8df;
}
.pizza-heading h2 {
  margin: 0;
  font: normal clamp(1.75rem, 5vw, 2.45rem)/1.08 var(--serif);
  letter-spacing: -.035em;
}
.pizza-heading p {
  margin: 7px 0 0;
  color: #f0ebd9;
  font-size: .9rem;
}

.close-dialog {
  flex: 0 0 44px;
  min-height: 44px;
  border: 1px solid #fff3d075;
  border-radius: 5px;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}
.close-dialog:hover { background: #fff3d02b; }
.close-dialog:focus-visible { outline: 2px solid #fff8df; outline-offset: 3px; }

.extra-options { gap: 6px; margin: 18px 24px; }
.extra-options legend {
  margin-bottom: 8px;
  padding: 0;
  font: normal 1.5rem/1.2 var(--serif);
}

.extra-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
  font-weight: 650;
}
.extra-option:hover,
.extra-option:has(input:checked) { background: var(--wash); }
.extra-option:has(input:checked) { border-color: var(--green); }
.extra-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--green);
}
.extra-price {
  color: var(--greenDark);
  white-space: nowrap;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}

.pizza-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 24px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.pizza-actions span { color: var(--muted); font-size: .875rem; }
.pizza-actions strong {
  display: block;
  color: var(--ink);
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}
.pizza-error { margin: 0; padding: 8px 24px 12px; }
.pizza-error:empty { display: none; }

@media (max-width: 430px) {
  .pizza-heading, .pizza-actions { padding-inline: 16px; }
  .extra-options { margin-inline: 16px; }
  .menu-grid { grid-template-columns: 1fr; }
  .dish { min-height: 0; }
}

body[data-brand="crustello"] {
  --paper: #fff8f1;
  --surface: #fffdfa;
  --ink: #2b2728;
  --muted: #685952;
  --line: #e5d7ca;
  --green: #783815;
  --greenDark: #511000;
  --red: #904216;
  --wash: #f7e8d8;
  --serif: Lato, Arial, sans-serif;
}

body[data-brand="crustello"] .mast {
  color: #fff8f1;
  background: #1d1a1b;
  border-color: #3c302c;
}
body[data-brand="crustello"] nav a[aria-current] {
  background: #f8d6a8;
  color: #511000;
}
body[data-brand="crustello"] .demo { color: #f8d6a8; }
.wordmark img {
  display: block;
  width: clamp(135px, 16vw, 183px);
  height: auto;
}
body[data-brand="crustello"] .hero {
  background: #2b2728;
  color: #fff8f1;
  grid-template-columns: 1.15fr 1fr;
  min-height: 270px;
  border-radius: 12px;
}
body[data-brand="crustello"] .hero-copy {
  align-self: center;
  padding-block: 36px;
}
body[data-brand="crustello"] .hero h1 {
  font-weight: 850;
  font-size: clamp(2.35rem, 5vw, 4.65rem);
  letter-spacing: -.055em;
  line-height: 1.01;
}
body[data-brand="crustello"] .hero .eyebrow,
body[data-brand="crustello"] .hero-link { color: #f8d6a8; }
.hero .brand-photo {
  background: #2b2728;
  min-height: 100%;
}
.brand-photo::before,
.brand-photo::after { display: none; }
.brand-photo img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
body[data-brand="crustello"] .staff-head h1,
body[data-brand="crustello"] .section-title h2,
body[data-brand="crustello"] .basket h2,
body[data-brand="crustello"] .pizza-heading h2 {
  font-weight: 800;
}
body[data-brand="crustello"] .pizza-heading { background: #2b2728; }
body[data-brand="crustello"] .lane { background: #f5ecdf; }

.delivery-picker { display: grid; gap: 7px; min-width: 0; }
.delivery-picker p {
  margin: 0;
  color: #305b4b;
  font-size: .86rem;
  font-weight: 700;
}
.delivery-picker p.outside { color: #a73726; }
.delivery-picker .btn { justify-self: start; font-size: .85rem; }
.delivery-map {
  position: relative;
  z-index: 0;
  height: 218px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #e9e9df;
}
.area-dialog { width: min(575px, calc(100% - 24px)); }
.area-body { display: grid; gap: 9px; padding: 18px 24px; }
.area-body .delivery-map { height: min(290px, 37vh); }
.radius-label { display: flex; justify-content: space-between; font-weight: 750; }
.radius-label output { color: var(--greenDark); }
.area-body input { width: 100%; margin: 0; accent-color: var(--green); }
.area-dialog .pizza-actions .status { margin: 0; min-height: 0; color: var(--ink); }
.receipt-eta,
.ticket-eta { font-weight: 800; color: var(--greenDark); }
.receipt-eta { margin-top: 0; }
.eta-options { margin-top: 12px; }
.eta-options legend { padding: 0; font-size: .875rem; font-weight: 750; }
.eta-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-top: 4px;
}
.eta-choices label { position: relative; }
.eta-choices input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.eta-choices span {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--greenDark);
  font-weight: 700;
  font-size: .82rem;
  text-align: center;
  cursor: pointer;
}
.eta-choices input:checked + span { background: var(--greenDark); color: white; }
.eta-choices input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

@media (max-width: 680px) {
  body[data-brand="crustello"] .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  body[data-brand="crustello"] .hero-copy { padding: 24px 18px; }
  .hero .brand-photo { min-height: 145px; }
  .area-body { padding-inline: 16px; }
}

#address-suggestions {
  display: grid;
  max-height: 238px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}
.address-choice {
  display: grid;
  gap: 2px;
  min-height: 48px;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: .88rem;
  cursor: pointer;
}
.address-choice:last-child { border-bottom: 0; }
.address-choice:hover,
.address-choice[aria-selected="true"] { background: var(--wash); }
.address-choice small { color: var(--muted); font-size: .82rem; }
#address-status { color: var(--muted); font-weight: normal; }
#address-status:empty { display: none; }
.address-credit { color: var(--muted); font-size: .72rem; }
.address-credit a { text-underline-offset: 2px; }
.address-map-marker span {
  display: block;
  width: 23px;
  height: 23px;
  transform: translateY(3px) rotate(-45deg);
  border: 2px solid white;
  border-radius: 50% 50% 50% 3px;
  background: #904216;
  box-shadow: 0 2px 6px #29150966;
}
.address-map-marker.outside span { background: #a73726; }
.address-map-label {
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 750;
}

.delivery-unit { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.basket textarea {
  width: 100%;
  min-height: 55px;
  resize: vertical;
  padding: 8px;
  border: 1px solid #a49d8c;
  border-radius: 3px;
  background: white;
  font: inherit;
}
.delivery-note { white-space: pre-line; overflow-wrap: anywhere; }
.checkout-options summary { cursor: pointer; font-weight: 700; font-size: .91rem; }
.checkout-options label { margin-top: 10px; }
.checkout-options .checkout-toggle { display: flex; align-items: center; gap: 8px; }
.checkout-options input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; margin: 0; }

#complete { padding: 0; list-style: none; }
#complete li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
#kitchen-print { display: none; }

@page kitchen-slip { margin: 2mm; }

@media print {
  body:has(> #kitchen-print) { background: white; }
  body:has(> #kitchen-print) > :not(#kitchen-print) { display: none !important; }
  #kitchen-print {
    display: block;
    page: kitchen-slip;
    width: calc(100% - 6mm);
    max-width: 72mm;
    margin-inline: auto;
    background: white;
    color: black;
    font: 12pt/1.27 Arial, sans-serif;
    overflow-wrap: anywhere;
  }
  #kitchen-print header { text-align: center; }
  #kitchen-print header img {
    display: block;
    width: 42mm;
    max-width: 100%;
    height: auto;
    margin: 0 auto 2mm;
    filter: brightness(0);
  }
  #kitchen-print h1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 2mm;
    margin: 0;
    font: bold 15pt/1.15 Arial, sans-serif;
    letter-spacing: normal;
  }
  #kitchen-print h1 span { white-space: nowrap; }
  #kitchen-print h2 { margin: 0 0 1mm; font-size: 14pt; }
  #kitchen-print p { margin: 0; }
  #kitchen-print .slip-test { font-size: 10pt; margin-top: 1mm; }
  #kitchen-print a { text-decoration: none; }
  #kitchen-print > * { margin: 0; padding: 2mm 0; }
  #kitchen-print > :not(header) { border-top: 0.2mm solid black; }
  #kitchen-print .delivery-note, #kitchen-print .slip-utensils { margin-top: 1.5mm; }
  #kitchen-print ul { list-style: none; }
  #kitchen-print li + li { margin-top: 2mm; }
  #kitchen-print .slip-row { display: flex; justify-content: space-between; align-items: baseline; gap: 2mm; }
  #kitchen-print .slip-row > :last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
  #kitchen-print .slip-item { font-size: 12.5pt; }
  #kitchen-print .slip-vat { border-top: 0.2mm solid black; margin-top: 1.5mm; padding-top: 1.5mm; }
  #kitchen-print .slip-extra { padding-left: 2mm; font-size: 11pt; }
  #kitchen-print .slip-payment-note { font-size: 10.5pt; }
  #kitchen-print .slip-total { margin-top: 1.5mm; font-size: 13pt; }
  #kitchen-print header, #kitchen-print section, #kitchen-print li, #kitchen-print footer { break-inside: avoid; }
  #kitchen-print .slip-map, #kitchen-print .slip-thanks { text-align: center; font-size: 11pt; break-inside: avoid; }
  #kitchen-print .slip-map svg {
    display: block;
    width: 44mm;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    shape-rendering: crispEdges;
  }
}
