.distributor-tool [hidden] { display: none !important; }
.distributor-tool { min-width: 0; text-align: left; }
.distributor-map-panel { position: relative; min-width: 0; background: #eee; }
.distributor-map-canvas { width: 100%; height: 680px; min-height: 420px; }
.distributor-map-notice { position: absolute; top: 20px; left: 20px; right: 20px; padding: 18px; margin: 0; background: #fff; color: #222; border: 1px solid #ddd; box-shadow: 0 2px 12px #0002; }
.distributor-map-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.distributor-map-actions .btn { min-width: 0; padding: 10px 12px; border: 1px solid #ddd; color: #222; background: #fff; font-size: 12px; cursor: pointer; }
.distributor-map-actions .btn:hover { border-color: #f27600; color: #ad5100; }
.distributor-status { font-size: 13px; line-height: 1.5; color: #555; margin: 12px 0; }
.distributor-show-map { border: 0; padding: 0; margin: 0 0 8px; color: #ad5100; background: transparent; text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
.distributor-card.is-map-selected { border-color: #f27600; box-shadow: inset 3px 0 #f27600; }
.distributor-map-pin { position: absolute; transform: translate(-50%, -100%); display: flex; align-items: center; justify-content: center; width: 58px; height: 43px; padding: 5px; border: 2px solid #f27600; border-radius: 8px 8px 8px 0; background: #fff; color: #f27600; box-shadow: 0 2px 6px #0005; cursor: pointer; }
.distributor-map-pin img { width: 100%; height: 100%; max-width: none; object-fit: contain; }
.distributor-map-pin span { position: absolute; right: -7px; top: -9px; background: #222; color: #fff; border-radius: 50%; min-width: 20px; padding: 2px; font-size: 12px; }
.distributor-map-pin:hover, .distributor-map-pin:focus-visible { z-index: 10; outline: 3px solid #222; }
.distributor-popup { color: #222; text-align: left; max-height: 320px; overflow: auto; }
.distributor-popup-entry { padding: 8px 0; }
.distributor-popup-entry + .distributor-popup-entry { border-top: 1px solid #ddd; }
.distributor-popup h3 { margin: 0 0 8px; font-size: 17px; }
.distributor-popup p { line-height: 1.5; margin: 0 0 10px; }
.distributor-popup .distributor-contact-row a { color: #a64a00; }
@media (max-width: 900px) {
    .distributor-tool .distributor-filters { min-height: 0; padding: 16px; }
    .distributor-list { max-height: 330px; overflow-y: auto; }
    .distributor-map-panel, .distributor-map-canvas { min-height: 420px; height: 420px; }
    .distributor-map-pin { width: 48px; height: 38px; }
}
