/* Delivery-area maps (app/views/area_map.php, assets/js/area-map.js). */
/* isolation: Leaflet's panes and controls use z-index 200–1000; contain them so the sticky .site-header (z 50) stays on top. */
.area-map { height: 520px; border: 3px solid #1a1a1a; border-radius: 14px; background: #f6f6f4; overflow: hidden; display: grid; place-items: center; color: #5c5c5c; isolation: isolate; }
.area-map.is-loaded { display: block; }
@media (max-width: 600px) { .area-map { height: 400px; } }
.area-map .leaflet-interactive.area-soon { fill: url(#area-stripes); }
.area-map .leaflet-interactive:focus { outline: none; }
.area-map .leaflet-tile-pane { filter: grayscale(1) brightness(1.08) contrast(.85); }
.area-map .leaflet-tooltip { font: 14px/1.3 "Helvetica Neue", Arial, sans-serif; border: 2px solid #1a1a1a; box-shadow: none; }

.area-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 12px 0 0; padding: 0; list-style: none; }
.area-legend li { display: flex; align-items: center; gap: 8px; }
.area-swatch { width: 22px; height: 16px; border: 2px solid #1a1a1a; border-radius: 3px; background: #f4d51a; }
.area-swatch-soon { border-style: dashed; background: repeating-linear-gradient(45deg, #f4d51a 0 4px, #fff 4px 7px); }

.area-find { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.area-find input { width: 7.5em; }
.area-find [data-area-find-result] { flex-basis: 100%; margin: 0; min-height: 1.5em; }
