.delivery-choice { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:12px; padding:12px; border:1px solid var(--line); border-radius:14px; background:#f7faf5; }
.delivery-choice strong { display:block; font-size:15px; overflow-wrap:anywhere; }
.delivery-choice small { display:block; margin-top:3px; color:var(--muted); }
.delivery-choice .is-free { color:#174d35; font-weight:800; }
.delivery-choice .button { padding:8px 11px; min-height:38px; white-space:nowrap; }
.delivery-choice-icon { width:15px; height:15px; border:2px solid #24724b; border-radius:50% 50% 50% 2px; transform:rotate(-45deg); }
.delivery-choice-icon::after { content:''; display:block; width:5px; height:5px; margin:3px; border:1px solid #24724b; border-radius:50%; }
.delivery-dialog { inset:0; width:min(760px,calc(100% - 24px)); height:fit-content; max-height:calc(100dvh - 24px); margin:auto; padding:0; border:1px solid var(--line); border-radius:22px; background:#fff; }
.delivery-dialog-inner { display:grid; gap:13px; padding:clamp(14px,3vw,24px); }
.delivery-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.delivery-heading h2 { margin:0; font-size:clamp(23px,4vw,30px); letter-spacing:-.03em; }
.delivery-close { display:grid; place-items:center; width:42px; height:42px; border:1px solid var(--line); border-radius:12px; background:#f6f7f3; font-size:26px; color:#174d35; line-height:1; }
.delivery-dialog label { display:grid; gap:5px; font-size:14px; font-weight:800; }
.delivery-dialog :is(input,select) { width:100%; min-height:42px; padding:7px 10px; border:1px solid var(--line); border-radius:11px; background:#fafbf8; color:var(--ink); font:inherit; }
.delivery-dialog :is(input,select):focus { outline:2px solid #f67542; outline-offset:1px; }
.delivery-results { display:grid; gap:3px; max-height:min(20vh,165px); overflow:auto; padding:5px; border:1px solid var(--line); border-radius:12px; }
.delivery-results p { margin:5px; color:var(--muted); font-size:14px; }
.delivery-result { text-align:left; padding:9px 11px; border:0; border-radius:8px; background:transparent; color:#174d35; }
.delivery-result:hover, .delivery-result:focus-visible { background:#eaf4e8; }
.delivery-map-shell { position:relative; height:clamp(180px,34vh,330px); overflow:hidden; border:1px solid #d7e2d4; border-radius:15px; background:#ecf2e8; }
#delivery-canvas { position:absolute; inset:0; }
.delivery-map-shell .maplibregl-ctrl button:is(.maplibregl-ctrl-zoom-in,.maplibregl-ctrl-zoom-out) .maplibregl-ctrl-icon { display:grid; place-items:center; background-image:none; color:#174d35; font:800 21px/1 Nunito,sans-serif; }
.delivery-map-shell .maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon::before { content:'+'; }
.delivery-map-shell .maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon::before { content:'−'; }
#delivery-map-status { position:absolute; top:11px; left:11px; max-width:calc(100% - 67px); margin:0; padding:8px 10px; border-radius:8px; background:#fff; color:#174d35; font-size:13px; pointer-events:none; }
.delivery-attribution { position:absolute; right:0; bottom:0; z-index:1; padding:3px 8px; border-radius:7px 0 0 0; background:#fff; color:#244737; font-size:11px; text-decoration:underline; }
.delivery-map-label { max-width:125px; padding:3px 7px; border-radius:6px; background:#fffffff0; color:#174d35; font:800 13px/1.3 Nunito,sans-serif; white-space:nowrap; pointer-events:none; }
.delivery-form { display:grid; gap:10px; }
.delivery-locality { max-width: 230px; }
.delivery-unit-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
#delivery-intercom-hint { grid-column:1/-1; margin:0; color:var(--muted); font-size:13px; }
#delivery-feedback { margin:0; font-size:14px; color:#923f19; }
.delivery-form .button { justify-self:end; width:auto; }
@media(max-width:600px){
  .delivery-dialog { width:100%; max-width:100%; height:100dvh; max-height:100dvh; border:0; border-radius:0; }
  .delivery-map-shell { height:clamp(200px,34vh,310px); }
  .delivery-form .button { width:100%; }
  .delivery-choice { gap:7px; padding:9px; }
}
.delivery-dialog.delivery-repeat { width: min(92vw,450px); }
.delivery-repeat-address { margin: 0; color: var(--ink); font-size: 17px; font-weight: 800; overflow-wrap: anywhere; }
.delivery-repeat-actions { display: flex; gap: 10px; margin-top: 7px; }
.delivery-repeat-actions > button { flex: 1; }
