:root { --banner: #f4f3ed; --success: #347d62; }
:root[data-theme="dark"] { --banner: #222a26; --success: #8bc5a9; }
.header-actions { gap: 10px; }
.language-switch { height: 44px; padding: 4px; }
.language-switch button { height: 34px; padding-inline: 11px; font-size: 11px; }
.theme-toggle { width: 44px; height: 44px; }
.theme-toggle .ui-icon { width: 20px; height: 20px; }
.cart-button { min-width: 102px; height: 44px; padding-inline: 14px; font-size: 12px; }
.icon-button { width: 44px; height: 44px; }
.combo-banner { grid-template-columns: 165px minmax(0,1fr) auto; gap: 30px; padding: 25px 30px; color: var(--ink); background: var(--banner); border-color: var(--line); border-radius: 16px; }
.combo-banner::after { display: none; }
.combo-art { height: 145px; }
.combo-art img { height: 140px; width: 165px; }
.combo-copy { padding: 0; border: 0; }
.combo-copy h2 { margin-bottom: 11px; font-size: 30px; }
.combo-copy > p:last-child { max-width: 390px; color: var(--muted); font-size: 12px; }
.gift-badge { left: 5px; bottom: 0; padding: 6px 9px; }
.combo-action { gap: 14px; }
.combo-action > strong { font-size: 31px; }
.combo-action .button { min-height: 45px; font-size: 11px; }
.delivery-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; padding-block: 17px 0; color: var(--muted); font-size: 11px; }
.delivery-strip > [data-icon] { color: var(--success); }
.delivery-strip strong { color: var(--ink); font-size: 11px; font-weight: 600; }
.delivery-strip-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.delivery-strip .text-button { margin-left: auto; padding: 0; color: var(--red); font-size: 11px; }
.menu-section { padding-top: 37px; }
.section-heading { margin-bottom: 24px; }
.category-heading { gap: 0; }
.category-heading h2 { font-size: 27px; }
.menu-legend { display: flex; align-items: center; gap: 8px; margin: 35px 0 0; color: var(--muted); font-size: 10px; }
.menu-legend .ui-icon { width: 17px; height: 17px; color: var(--red); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 27px; color: var(--muted); font-size: 11px; }
.footer-inner p { margin: 0; }
.footer-inner .powered { gap: 5px; }
.footer-inner strong { color: var(--ink); font-weight: 600; }
.remove-item { width: 34px; height: 34px; margin-top: -4px; border-radius: 7px; color: var(--muted); background: var(--subtle); }
.remove-item .ui-icon { width: 20px; height: 20px; stroke-width: 1.7; }
.cart-item-title { gap: 7px; }
.cart-summary .cart-delivery-line { margin-bottom: 12px; color: var(--muted); font-size: 11px; }
.cart-summary .cart-delivery-line > span:last-child { max-width: 55%; text-align: right; }
.cart-fulfillment { padding-top: 20px; }
.fulfillment-switch { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: var(--subtle); }
.fulfillment-switch button { display: flex; align-items: center; justify-content: center; gap: 9px; flex: 1; min-height: 36px; padding: 9px 12px; border: 1px solid transparent; border-radius: 8px; color: var(--muted); background: none; font-size: 12px; font-weight: 700; transition: background .25s,color .25s,border-color .25s; }
.fulfillment-switch button[aria-pressed="true"] { border-color: var(--line); color: var(--ink); background: var(--panel); }
.address-summary { display: flex; align-items: center; gap: 11px; width: 100%; margin-top: 9px; padding: 13px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--panel); text-align: left; }
.address-summary > span:nth-child(2) { min-width: 0; flex: 1; }
.address-summary strong { display: block; font-size: 12px; font-weight: 600; line-height: 1.5; }
.address-summary small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.65; }
.address-summary > [data-icon]:first-child { color: var(--red); }
.address-summary > [data-icon]:last-child .ui-icon { width: 15px; height: 15px; transform: rotate(-90deg); }
.combo-dialog { width: 650px; max-height: calc(100dvh - 28px); padding: 0; }
.combo-dialog[open] { display: flex; flex-direction: column; }
.combo-dialog .dialog-head { flex: 0 0 auto; padding: 22px 25px; }
.combo-dialog .dialog-head h2 { font-size: 26px; }
#comboDialogHeading:focus, #deliveryHeading:focus { outline: none; }
#comboForm { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.combo-dialog-content { min-height: 0; padding: 20px 25px; overflow-y: auto; }
.combo-instructions { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 19px; }
.combo-instructions p { max-width: 340px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
#comboProgress { flex: 0 0 auto; padding-top: 3px; color: var(--red); font-size: 11px; font-weight: 700; white-space: nowrap; }
#comboOptions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.combo-pizza-card { min-width: 0; overflow: hidden; padding: 0 0 10px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); transition: border-color .25s,background .25s; }
.combo-pizza-card.is-selected { border-color: var(--red); }
.combo-pizza-main { position: relative; width: 100%; padding: 0 13px 9px; border: 0; color: var(--ink); background: none; text-align: left; }
.combo-pizza-main img { width: calc(100% + 26px); max-width: none; height: 105px; margin-inline: -13px; object-fit: contain; background: var(--photo); mix-blend-mode: multiply; }
.combo-pizza-main h3 { min-height: 2.8em; margin: 10px 0 4px; font-size: 12px; font-weight: 700; line-height: 1.45; }
.combo-pizza-meta { color: var(--muted); font-size: 10px; }
.combo-pizza-main .spice-level { position: absolute; top: 9px; right: 9px; min-height: 23px; padding: 4px 5px; }
.combo-selected-mark { position: absolute; top: 9px; left: 9px; display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; color: var(--on-accent); background: var(--red); }
.combo-selected-mark .ui-icon { width: 15px; height: 15px; }
.combo-pizza-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-inline: 11px; padding: 3px; border: 1px solid var(--line); border-radius: 7px; }
.combo-pizza-controls button { display: grid; place-items: center; width: 30px; height: 28px; padding: 0; border: 0; border-radius: 5px; color: var(--ink); background: var(--subtle); }
.combo-pizza-controls button:disabled { opacity: .3; cursor: default; }
.combo-pizza-controls .ui-icon { width: 14px; height: 14px; }
.combo-pizza-controls > span { font-size: 12px; font-weight: 800; }
.combo-gift { gap: 10px; margin-top: 15px; padding: 9px 13px; }
.combo-gift img { width: 38px; height: 50px; object-fit: contain; }
.combo-gift strong { font-size: 11px; }
.combo-gift p { font-size: 10px; }
.combo-gift > span:last-child { margin-left: auto; color: var(--red); }
.combo-dialog-bottom { flex: 0 0 auto; flex-direction: row; align-items: center; gap: 20px; margin: 0; padding: 17px 25px; border-top: 1px solid var(--line); background: var(--panel); }
.combo-dialog-bottom > strong { font-size: 25px; }
.combo-dialog-bottom .button { min-height: 45px; font-size: 11px; }
.delivery-dialog { width: 1030px; max-width: calc(100% - 32px); height: min(790px,calc(100dvh - 32px)); max-height: calc(100dvh - 32px); border-radius: 17px; }
.delivery-dialog[open] { display: flex; flex-direction: column; }
.delivery-dialog .dialog-head { flex: 0 0 auto; padding: 22px 25px 16px; border-bottom: 0; }
.delivery-dialog .dialog-head h2 { max-width: 80%; font-size: 28px; }
.delivery-mode { width: 330px; max-width: calc(100% - 50px); flex: 0 0 auto; margin: 0 25px 17px; }
.delivery-mode button { font-size: 12px; }
.delivery-mode .ui-icon { width: 18px; height: 18px; }
.location-intro { margin: 0 25px 15px; color: var(--muted); font-size: 12px; line-height: 1.8; }
#deliveryForm { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.delivery-layout { display: grid; grid-template-columns: 1.15fr 1fr; flex: 1; min-height: 0; overflow-y: auto; border-block: 1px solid var(--line); }
.delivery-map-pane { position: relative; min-height: 350px; overflow: hidden; background: #e4e9df; }
#deliveryMap { width: 100%; height: 100%; min-height: 350px; z-index: 0; }
.map-zone-tag { position: absolute; top: 15px; left: 15px; display: flex; align-items: center; gap: 7px; max-width: calc(100% - 80px); padding: 9px 11px; border: 1px solid #c8d9cd; border-radius: 8px; color: #275d48; background: #fffffff2; box-shadow: 0 3px 14px #1a302712; pointer-events: none; }
.map-zone-tag > span { width: 8px; height: 8px; border-radius: 50%; background: #65a783; }
.map-zone-tag strong { font-size: 10px; font-weight: 700; line-height: 1.5; }
.map-zone-button { position: absolute; z-index: 1; top: 96px; right: 10px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid #bfc8c0; border-radius: 7px; color: #273a30; background: white; }
.map-instruction { position: absolute; right: 12px; bottom: 30px; left: 12px; margin: 0; padding: 8px 10px; border-radius: 7px; color: #334a3c; background: #fffffff2; font-size: 10px; line-height: 1.65; text-align: center; pointer-events: none; }
.leaflet-control-attribution { font-family: "Manrope",sans-serif; font-size: 9px !important; }
.leaflet-control-zoom { overflow: hidden; border: 1px solid #bfc8c0 !important; border-radius: 7px !important; box-shadow: none !important; }
.leaflet-control-zoom a { color: #273a30 !important; background: white !important; }
.shop-map-pin { display: grid; place-items: center; border: 3px solid #fff; border-radius: 50%; color: white; background: #b62938; box-shadow: 0 2px 10px #0004; font-family: "Manrope",sans-serif; font-size: 15px; font-weight: 800; }
.customer-map-pin { position: relative; filter: drop-shadow(0 2px 3px #0004); }
.customer-map-pin > span { display: block; width: 27px; height: 27px; border: 3px solid white; border-radius: 50% 50% 50% 0; background: #c82f3f; transform: rotate(-45deg); }
.customer-map-pin > span::after { content: ""; position: absolute; width: 7px; height: 7px; top: 7px; left: 7px; border-radius: 50%; background: white; }
.address-pane { min-width: 0; padding: 24px; overflow-y: auto; }
.locate-button { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; padding: 13px 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--red); background: var(--panel); font-size: 12px; font-weight: 700; }
.locate-button:hover { background: var(--red-soft); border-color: var(--red); }
.locate-button:disabled { opacity: .6; cursor: wait; }
.manual-hint { margin: 15px 0 20px; color: var(--muted); font-size: 11px; text-align: center; }
.address-label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 700; }
.address-search { display: flex; align-items: stretch; gap: 7px; }
.address-search input { width: 100%; min-width: 0; height: 45px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--subtle); font-size: 12px; }
.address-search button { padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--panel); font-size: 11px; font-weight: 700; }
.address-search button:disabled { opacity: .4; }
.address-results { display: grid; gap: 5px; margin-top: 6px; }
.address-results:empty { display: none; }
.address-results button { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--panel); font-size: 11px; line-height: 1.7; text-align: left; }
.address-results button:hover { border-color: var(--red); background: var(--red-soft); }
#addressMessage { min-height: 0; margin: 11px 0 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
#addressMessage:empty { display: none; }
#addressMessage.is-error { color: var(--red); }
.address-extra { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.address-extra summary { color: var(--muted); font-size: 11px; cursor: pointer; }
.address-details-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 15px; }
.address-details-grid label > span, .address-comment > span { display: block; margin-bottom: 7px; font-size: 10px; }
.address-details-grid input, .address-comment textarea { width: 100%; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: var(--subtle); font-size: 12px; }
.address-comment { display: block; margin-top: 14px; }
.address-comment textarea { resize: vertical; }
.map-privacy { margin: 25px 0 0; color: var(--muted); font-size: 9px; line-height: 1.85; }
.address-actions { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; gap: 24px; padding: 17px 24px; }
.address-actions .button { min-width: 220px; justify-content: space-between; }
#deliveryZoneStatus { max-width: 55%; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
#deliveryZoneStatus[data-status="free"] { color: var(--success); }
#deliveryZoneStatus[data-status="quote"] { color: var(--red); }
#pickupDetails { padding-block: 15px 10px; }
.pickup-emblem { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 20px; border-radius: 16px; color: var(--red); background: var(--subtle); }
.pickup-emblem .ui-icon { width: 31px; height: 31px; }
#pickupDetails h3 { margin-bottom: 12px; font-size: 20px; }
#pickupDetails p { color: var(--muted); font-size: 12px; line-height: 1.8; }
:root[data-theme="dark"] .leaflet-tile-pane { filter: invert(.9) hue-rotate(180deg) saturate(.6); }
@media (max-width: 760px) {
  .combo-banner { grid-template-columns: minmax(0,1fr) 120px; grid-template-areas: "copy art" "action action"; gap: 18px 13px; padding: 22px; }
  .combo-art { grid-area: art; width: 120px; height: 130px; }
  .combo-art img { width: 120px; height: 120px; max-width: 100%; margin: 0; }
  .gift-badge { left: 0; bottom: -1px; padding: 5px 6px; font-size: 7px; }
  .combo-copy { grid-area: copy; }
  .combo-copy h2 { font-size: 25px; }
  .combo-copy > p:last-child { font-size: 11px; }
  .combo-action { grid-area: action; flex-direction: row; align-items: center; gap: 17px; }
  .combo-action > strong { font-size: 27px; }
  .combo-action .button { flex: 0 1 auto; min-width: 170px; min-height: 43px; padding: 11px 14px; font-size: 10px; }
  .delivery-strip { gap: 7px; padding-top: 15px; font-size: 10px; }
  .delivery-strip strong { font-size: 10px; }
  .delivery-strip .text-button { font-size: 10px; }
  .combo-dialog .dialog-head { padding: 20px; }
  .combo-dialog .dialog-head h2 { font-size: 23px; }
  .combo-dialog-content { padding: 16px 20px; }
  .combo-dialog-bottom { padding: 15px 20px; }
  .delivery-dialog { width: calc(100% - 24px); max-width: none; height: calc(100dvh - 24px); max-height: calc(100dvh - 24px); }
  .delivery-dialog .dialog-head { padding: 18px 20px 12px; }
  .delivery-dialog .dialog-head h2 { font-size: 23px; line-height: 1.4; }
  .delivery-mode { max-width: calc(100% - 40px); margin: 0 20px 14px; }
  .location-intro { margin-inline: 20px; font-size: 11px; }
  .delivery-layout { display: flex; flex-direction: column; overflow-y: auto; }
  .delivery-map-pane { flex: 0 0 auto; height: 230px; min-height: 230px; }
  #deliveryMap { height: 230px; min-height: 230px; }
  .address-pane { flex: 0 0 auto; padding: 20px; overflow: visible; }
  .address-actions { flex-direction: column; align-items: stretch; gap: 12px; padding: 13px 20px max(16px,env(safe-area-inset-bottom)); }
  #deliveryZoneStatus { max-width: none; font-size: 10px; }
  .address-actions .button { min-width: 0; width: 100%; min-height: 45px; font-size: 11px; }
}
@media (max-width: 480px) {
  .header-actions { gap: 7px; }
  .language-switch { height: 40px; padding: 3px; }
  .language-switch button { height: 32px; padding: 7px; font-size: 10px; }
  .theme-toggle { width: 40px; height: 40px; }
  .cart-button { height: 40px; min-width: 91px; padding-inline: 11px; font-size: 11px; }
  .combo-banner { grid-template-columns: minmax(0,1fr) 95px; gap: 15px 9px; padding: 21px 17px; }
  .combo-copy h2 { font-size: 23px; }
  .combo-copy > p:last-child { font-size: 10px; line-height: 1.8; }
  .combo-art { width: 95px; height: 115px; }
  .combo-art img { width: 95px; height: 105px; }
  .gift-badge { font-size: 6px; padding: 5px; }
  .combo-action { gap: 11px; }
  .combo-action > strong { font-size: 26px; }
  .combo-action .button { min-width: 155px; gap: 10px; min-height: 42px; }
  .delivery-strip { column-gap: 6px; row-gap: 9px; }
  .delivery-strip > [data-icon] .ui-icon { width: 17px; height: 17px; }
  .delivery-strip .text-button { flex-basis: 100%; justify-content: flex-start; padding-left: 23px; margin: 0; }
  .menu-section { padding-top: 29px; }
  .category-heading h2 { font-size: 24px; }
  .footer-inner { padding-block: 24px; font-size: 10px; }
  .combo-dialog { max-width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 13px; }
  .combo-dialog .dialog-head { padding: 16px; }
  .combo-dialog .dialog-head h2 { font-size: 23px; }
  .combo-dialog-content { padding: 14px 16px; }
  .combo-instructions { flex-direction: column; gap: 10px; margin-bottom: 14px; }
  .combo-instructions p { font-size: 11px; }
  #comboProgress { padding: 0; font-size: 10px; }
  #comboOptions { gap: 10px; }
  .combo-pizza-main { padding-inline: 10px; }
  .combo-pizza-main img { width: calc(100% + 20px); margin-inline: -10px; height: 85px; }
  .combo-pizza-main h3 { min-height: 2.9em; font-size: 11px; }
  .combo-pizza-controls { margin-inline: 8px; }
  .combo-pizza-controls button { width: 27px; height: 26px; }
  .combo-gift { padding: 7px 9px; }
  .combo-gift img { height: 43px; width: 32px; }
  .combo-gift strong { font-size: 10px; }
  .combo-gift p { font-size: 9px; }
  .combo-dialog-bottom { flex-direction: row; gap: 12px; padding: 13px 16px; }
  .combo-dialog-bottom > strong { font-size: 22px; }
  .combo-dialog-bottom .button { flex: 1; padding: 10px 12px; font-size: 9px; gap: 8px; }
  .cart-fulfillment { padding-top: 16px; }
  .address-summary { padding: 11px; }
  .address-summary strong { font-size: 11px; }
  .address-summary small { font-size: 9px; }
  .remove-item { width: 32px; height: 32px; }
  .remove-item .ui-icon { width: 19px; height: 19px; }
}
@media (max-width: 350px) {
  .language-switch { height: 36px; padding: 3px; }
  .language-switch button { height: 28px; padding-inline: 5px; font-size: 9px; }
  .theme-toggle { width: 36px; height: 36px; }
  .theme-toggle .ui-icon { width: 18px; height: 18px; }
  .cart-button { height: 36px; min-width: 80px; padding-inline: 8px; font-size: 10px; }
  .combo-banner { grid-template-columns: minmax(0,1fr) 78px; padding-inline: 14px; }
  .combo-art { width: 78px; height: 108px; }
  .combo-art img { width: 78px; height: 100px; }
  .combo-copy h2 { font-size: 21px; }
  .combo-action .button { min-width: 140px; padding-inline: 10px; font-size: 9px; }
  .combo-action > strong { font-size: 23px; }
  .combo-dialog .dialog-head h2 { font-size: 20px; }
  .combo-dialog .dialog-head, .combo-dialog-content { padding-inline: 12px; }
  .combo-dialog-bottom { padding-inline: 12px; }
  .combo-dialog-bottom > strong { font-size: 20px; }
}
