:root {
    --locator-red: #D8121B;
    --locator-black: #111111;
    --locator-white: #ffffff;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    height: 100%;
    background: var(--locator-black);
    color: var(--locator-white);
    font-family: Arial, Helvetica, sans-serif;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -40px;
    z-index: 5;
    background: #FFDD00;
    color: #111;
    padding: 8px 12px;
}

.skip-link:focus { top: 12px; }

.locator-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 72px;
    padding: 10px 18px;
    background: var(--locator-red);
}

.locator-bar__logo img { height: 42px; width: auto; display: block; }
.locator-bar__slogan { height: 28px; width: auto; margin: 0 auto; }
.locator-bar__back {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--locator-white);
    color: var(--locator-red);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.locator-shell, .store-detail {
    display: flex;
    height: calc(100dvh - 72px);
    min-height: 0;
}

.locator-side, .store-detail__copy {
    width: min(420px, 100%);
    height: 100%;
    background: var(--locator-black);
    overflow: auto;
    padding: 16px;
}

.locator-search { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; }
.locator-search input {
    min-height: 44px;
    padding: 0 10px;
    border: 0;
    border-radius: 2px;
}
.locator-action {
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    background: var(--locator-red);
    color: var(--locator-white);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}
.locator-action--ghost { background: #222; }
.locator-note { color: #cfcfcf; font-size: 13px; }
.locator-list { list-style: none; margin: 0; padding: 0; }
.locator-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #2a2a2a;
    cursor: pointer;
}
.locator-card img { width: 48px; height: 48px; background: var(--locator-red); }
.locator-card h2 { margin: 0 0 4px; font-size: 16px; }
.locator-card h2 a, .store-detail__copy a { color: var(--locator-white); }
.leaflet-bar a, .leaflet-control-attribution a { color: #111; }
.locator-card p { margin: 0 0 6px; color: #d7d7d7; font-size: 14px; }
.locator-meta, .locator-order { display: flex; flex-wrap: wrap; gap: 10px; }
.locator-meta a, .locator-order a { color: #8eb4ff; }
.locator-details {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-top: 6px;
    padding: 0 12px;
    background: var(--locator-red);
    color: var(--locator-white);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}
.locator-map { flex: 1 1 auto; height: 100%; min-height: 0; background: #d9d4c8; }
.store-detail__copy h1 { margin: 8px 0; font-size: 28px; }
.store-detail__status { color: #FFDD00; font-weight: 700; }
.store-detail__order { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.store-detail__order a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    background: var(--locator-red);
    color: var(--locator-white);
    text-decoration: none;
    font-weight: 700;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.privacy-notice {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    background: #111;
    color: #fff;
}
html.privacy-notice-accepted .privacy-notice { display: none; }
.privacy-notice__text { margin: 0; }
.privacy-notice__text a { color: #FFDD00; }
.privacy-notice__btn {
    min-height: 44px;
    padding: 8px 18px;
    border: 0;
    border-radius: 24px;
    background: #FFDD00;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 800px) {
    .locator-bar__slogan { display: none; }
    .locator-shell, .store-detail { flex-direction: column; height: auto; }
    .locator-side, .store-detail__copy { width: 100%; height: auto; max-height: none; }
    .locator-search { grid-template-columns: 1fr; }
    .locator-map { height: 55dvh; min-height: 320px; }
}
