/* Sprint 8 — Sélection de zone et estimation sans tarif inventé */
.smart-delivery{display:grid;gap:9px;min-width:0;margin:14px 0;padding:15px;border-radius:16px;border:1px solid #cbdcfb;background:linear-gradient(135deg,#f0f6ff,#fff)}
.smart-delivery label{font-weight:850;font-size:.88rem;color:#0f254b}
.smart-delivery select{box-sizing:border-box;max-width:100%;width:100%;height:46px;padding:8px 12px;border-radius:11px;border:1px solid #b9cae2;background:#fff;color:#15284b;font:inherit;cursor:pointer}
.smart-delivery-quote{margin:0;padding:10px 12px;border-radius:10px;background:#e8effe;color:#234489;font-size:.87rem;line-height:1.4;font-weight:700}
.smart-delivery-quote.is-confirmed{background:#e7f9ef;color:#166534}
.smart-delivery-quote.is-unknown{background:#fff4e4;color:#92400e}
.smart-delivery small{font-size:.75rem;line-height:1.45;color:#526784}
.smart-geo-credit{font-size:.7rem;color:#2253ba;text-decoration:underline;text-underline-offset:2px}
.smart-address-suggestions{display:grid;max-height:230px;overflow:auto;gap:4px;padding:6px;border:1px solid #b7ccee;border-radius:12px;background:#fff;box-shadow:0 14px 34px rgba(0,0,0,.08)}
.smart-address-suggestions[hidden]{display:none!important}
.smart-address-suggestions button{width:100%;border:0;background:#fff;color:#223e63;text-align:left;padding:10px;border-radius:8px;cursor:pointer;font:inherit;font-size:.83rem;line-height:1.3}
.smart-address-suggestions button:hover,.smart-address-suggestions button:focus-visible{background:#eaf1ff}
.tracking-delivery-fee,.tracking-amount-due{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:12px 0;border-top:1px solid #e2e8f0}
.tracking-delivery-fee span,.tracking-amount-due span{color:#64748b;font-size:.9rem}
.tracking-delivery-fee strong,.tracking-amount-due strong{font-size:.95rem;color:#0f172a}
.tracking-amount-due{background:#f1f6ff;border-radius:12px;padding:13px;margin-top:8px}
@media(max-width:480px){.smart-delivery{padding:12px}.tracking-delivery-fee,.tracking-amount-due{flex-direction:column;align-items:flex-start}}
.admin-delivery-pricing{background:linear-gradient(135deg,#f0f7ff,#fff);border:1px solid #c9d8f1;border-radius:15px;padding:14px}
.admin-delivery-pricing h3{margin:0 0 12px;color:#1d4ed8}
.admin-delivery-pricing p{margin:7px 0;line-height:1.5}
.admin-delivery-pricing small{display:block;margin-top:9px;color:#64748b}

.tracking-route-disclaimer{font-size:.78rem;color:#64748b;padding:10px 18px;margin:0;background:#f8fafc;line-height:1.5}

.smart-delivery .smart-delivery-unknown{display:flex;align-items:flex-start;gap:9px;background:#fff4e7;border:1px solid #fdba74;border-radius:10px;padding:11px;color:#92400e;font-size:.78rem;font-weight:750;line-height:1.4;cursor:pointer}
.smart-delivery .smart-delivery-unknown[hidden]{display:none!important}
.smart-delivery .smart-delivery-unknown input{width:18px;height:18px;flex:0 0 18px;margin:1px 0 0;accent-color:#2563eb}

/* Détection GPS automatique sans demander une seconde sélection de commune. */
.smart-delivery-picker[hidden],.smart-detected-zone[hidden]{display:none!important}
.smart-detected-zone{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:12px 14px;border:1px solid #91d8b5;border-radius:13px;background:linear-gradient(120deg,#e9fdf1,#f3f8ff);color:#086d42}
.smart-detected-zone strong{display:block;font-size:.94rem;line-height:1.4}
.smart-detected-zone small{display:block;color:#486781;font-size:.76rem}
.smart-detected-zone button{border:1px solid #b4c8e5;border-radius:10px;background:#fff;color:#1e4fc4;font-weight:800;font:inherit;font-size:.82rem;min-height:40px;padding:7px 12px;cursor:pointer}
.smart-detected-zone button:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
@media(max-width:480px){.smart-detected-zone{align-items:stretch}.smart-detected-zone button{width:100%}}
