/**
 * Kitchen Saver Store Locator — Styles v3.0.0 (Google Maps)
 */

/* ── Custom Marker Pin ── */
.kssl-marker-pin {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    background: #d4572a; border: 3px solid #fff;
    border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
    box-shadow: 0 3px 10px rgba(212,87,42,.35);
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
}
.kssl-marker-pin svg {
    transform: rotate(45deg); width: 14px; height: 14px; fill: #fff; stroke: none;
}
.kssl-marker-pin:hover {
    transform: rotate(-45deg) scale(1.2);
    box-shadow: 0 5px 20px rgba(212,87,42,.5);
}

/* ── InfoWindow / Popup ── */
.gm-style-iw { padding: 0 !important; }
.gm-style-iw-d { overflow: auto !important; }

.kssl-popup { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; min-width: 280px; }

.kssl-pop-header {
    background: #1b3a2d; color: #fff;
    padding: 14px 18px;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.kssl-pop-header h3 { font-size: 1.05rem; font-weight: 700; margin: 0; line-height: 1.3; }

.kssl-pop-badge {
    display: inline-block; font-size: .58rem; padding: 2px 9px;
    border-radius: 20px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .4px; white-space: nowrap; flex-shrink: 0;
}
.kssl-pop-badge.open   { background: rgba(209,250,229,.95); color: #065f46; }
.kssl-pop-badge.closed { background: rgba(254,226,226,.95); color: #991b1b; }

.kssl-pop-body { padding: 14px 18px 16px; }

.kssl-pop-row {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: .84rem; color: #6b7280; margin-bottom: 10px; line-height: 1.45;
}
.kssl-pop-row:last-child { margin-bottom: 0; }
.kssl-pop-row svg { flex-shrink: 0; margin-top: 2px; width: 15px; height: 15px; color: #d4572a; }
.kssl-pop-row a { color: #d4572a; text-decoration: none; font-weight: 600; }
.kssl-pop-row a:hover { text-decoration: underline; }
.kssl-pop-row .kssl-no-link { opacity: .45; }

.kssl-directions {
    display: inline-flex; align-items: center; gap: 5px;
    margin-top: 12px; padding: 8px 16px;
    background: #d4572a; color: #fff !important; border: none; border-radius: 8px;
    cursor: pointer; font-size: .8rem; font-weight: 600;
    text-decoration: none !important; transition: background .2s; line-height: 1;
}
.kssl-directions:hover { background: #e8683c; color: #fff !important; }
.kssl-directions svg { width: 14px; height: 14px; color: #fff; }

/* ── Boundary Hover Tooltip ── */
.kssl-boundary-tooltip {
    position: fixed; z-index: 10000;
    background: rgba(27, 58, 45, 0.92);
    color: #fff;
    padding: 7px 14px;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    pointer-events: none;
    box-shadow: 0 4px 14px rgba(0,0,0,.2);
    white-space: nowrap;
}
