/* KVK Grocery Delivery Module Test Workbench v5.7.38 / shared layer v3.9.268
   Canonical first-paint, map readiness and Delivery location controls. */

/* v39267 used a full map overlay. v39268 never covers a rendered map. */
html body .kvk-map-loading-v39267::before,
html body .kvk-map-loading-v39267::after{content:none!important;display:none!important}
html body .kvk-map-loading-v39267{filter:none!important;opacity:1!important;pointer-events:auto!important}

html body .kvk-map-host-v39268{position:relative!important;background:rgba(207,233,237,.84)!important;overflow:hidden!important}
html body .kvk-map-status-v39268{
  position:absolute;left:12px;bottom:12px;z-index:8;display:inline-flex;align-items:center;gap:8px;
  max-width:calc(100% - 24px);padding:7px 10px;border:1px solid rgba(82,139,153,.48);
  border-radius:999px;background:rgba(225,242,244,.92);color:#17394c;font-size:11px;font-weight:850;
  box-shadow:0 4px 14px rgba(15,23,42,.12);pointer-events:none
}
html body .kvk-map-status-v39268::before{content:"";width:12px;height:12px;border:2px solid #7baab6;border-top-color:#17677c;border-radius:50%;animation:kvkMapSpinV39268 .75s linear infinite;flex:0 0 auto}
html body .kvk-map-host-v39268.kvk-map-ready-v39268 .kvk-map-status-v39268{display:none!important}
html body .kvk-map-error-v39268{position:absolute;left:12px;right:12px;bottom:12px;z-index:9;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid #f59e0b;border-radius:12px;background:rgba(255,247,218,.96);color:#7c4a03;font-size:11px;font-weight:850;box-shadow:0 5px 18px rgba(15,23,42,.14)}
html body .kvk-map-error-v39268 button{pointer-events:auto;border:0;border-radius:9px;padding:6px 9px;background:#b45309;color:#fff;font-weight:900;cursor:pointer}
@keyframes kvkMapSpinV39268{to{transform:rotate(360deg)}}

/* Canonical Delivery gate. It is stable and buttons remain clickable. */
html body .delivery-location-block-v39262[data-owner="v39268"]{z-index:30020!important}
html body .delivery-location-dialog-v39268{width:min(540px,100%);background:#dff1f3;border:2px solid #d97706;border-radius:18px;padding:20px;box-shadow:0 22px 66px rgba(15,23,42,.34)}
html body .delivery-location-dialog-v39268 h2{margin:0 0 8px;color:#8a4a06}
html body .delivery-location-dialog-v39268 p{margin:0 0 12px;color:#284c5d;font-weight:750;line-height:1.45}
html body .delivery-location-actions-v39268{display:flex;gap:9px;flex-wrap:wrap}
html body .delivery-location-actions-v39268 .btn{min-width:170px;flex:1 1 170px}
html body .delivery-location-progress-v39268{margin-top:9px;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.55);color:#31596b;font-size:12px;font-weight:850}

@media(max-width:600px){
  html body .kvk-map-status-v39268{left:8px;bottom:8px;max-width:calc(100% - 16px)}
  html body .delivery-location-dialog-v39268{padding:16px}
  html body .delivery-location-actions-v39268{display:grid;grid-template-columns:1fr}
  html body .delivery-location-actions-v39268 .btn{width:100%;min-width:0}
}
@media print{.kvk-map-status-v39268,.kvk-map-error-v39268,.delivery-location-block-v39262{display:none!important}}
