.sp-map-wrap,
.sp-stores {
    --sp-accent: #FF4101;
    --sp-accent-hover: #E03A00;
    --sp-dark: #26282A;
    --sp-line: rgba(38, 40, 42, .35);
    --sp-beige: #F3EBE5;
}

/* ---------- Map ---------- */

.sp-map-wrap {
    position: relative;
    width: 100%;
}

.sp-map {
    width: 100%;
    height: var(--sp-map-h, 500px);
    background: #EFE9E3;
    z-index: 0;
}

.sp-map.leaflet-container {
    font-family: inherit;
}

.sp-tint .leaflet-tile-pane {
    filter: grayscale(1) sepia(.28) saturate(1.3) brightness(1.06) contrast(.88);
}

.sp-tint.sp-tint--light .leaflet-tile-pane {
    filter: sepia(.25) saturate(1.2) brightness(1.02);
}

.sp-map .leaflet-control-attribution {
    font-size: 10px;
    background: rgba(255, 255, 255, .7);
}

.sp-map .leaflet-control-zoom {
    border: 0;
    box-shadow: 0 2px 10px rgba(38, 40, 42, .15);
    border-radius: 12px;
    overflow: hidden;
}

.sp-map .leaflet-control-zoom a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: var(--sp-dark);
    border-bottom-color: #EEE6DF;
}

.sp-map-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(38, 40, 42, .35);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
    z-index: 500;
}

.sp-map-hint.is-visible {
    opacity: 1;
}

.sp-pin {
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sp-accent, #FF4101);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    border: 2px solid #fff;
    box-shadow: 0 3px 10px rgba(38, 40, 42, .3);
    transition: transform .2s, background-color .2s;
    cursor: pointer;
}

.sp-pin:hover,
.sp-pin.is-active {
    transform: scale(1.18);
    background: var(--sp-dark, #26282A);
    z-index: 1000 !important;
}

.leaflet-tooltip.sp-tip {
    padding: 16px 20px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    color: var(--sp-dark, #26282A);
    box-shadow: 0 10px 30px rgba(38, 40, 42, .18);
    font-family: inherit;
    white-space: normal;
    width: 260px;
}

.leaflet-tooltip.sp-tip::before {
    border-top-color: #fff;
}

.sp-tip__name {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 6px;
}

.sp-tip__addr {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.sp-tip__today {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
}

.sp-tip__today strong {
    font-weight: 700;
}

.sp-tip__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--sp-accent, #FF4101);
}

/* ---------- List ---------- */

.sp-stores {
    width: 100%;
    border-bottom: 1px solid var(--sp-line);
}

.sp-store {
    border-top: 1px solid var(--sp-line);
    scroll-margin-top: 120px;
}

.sp-store__head {
    margin: 0;
    font: inherit;
}

.sp-store__toggle {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding: 32px 0;
    margin: 0;
    border: 0;
    background: none;
    color: var(--sp-dark);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.sp-store__toggle:focus-visible {
    outline: 2px solid var(--sp-accent);
    outline-offset: 4px;
    border-radius: 8px;
}

.sp-store__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--sp-accent);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.sp-store__name {
    flex: 1;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

.sp-store__chev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 64px;
    height: 64px;
    border: 1px solid var(--sp-dark);
    border-radius: 50%;
    transition: background-color .2s, color .2s;
}

.sp-store__chev svg {
    transition: transform .3s;
}

.sp-store__toggle:hover .sp-store__chev {
    background: var(--sp-dark);
    color: #fff;
}

.sp-store.is-open .sp-store__chev svg {
    transform: rotate(180deg);
}

.sp-store__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s ease;
}

.sp-store.is-open .sp-store__panel {
    grid-template-rows: 1fr;
}

.sp-store__inner {
    min-height: 0;
    overflow: hidden;
}

.sp-store__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    padding: 0 0 40px;
}

.sp-store__body:not(:has(.sp-store__map)) {
    grid-template-columns: 1fr;
}

.sp-store__info {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 32px;
    padding-left: 72px;
}

.sp-store__cols {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    gap: 24px 64px;
}

.sp-store__k {
    margin: 0 0 4px;
    font-size: 16px;
    line-height: 1.4;
}

.sp-store__v {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.sp-store__v a {
    color: inherit;
    text-decoration: none;
}

.sp-store__v a:hover {
    color: var(--sp-accent);
}

.sp-store__addr {
    margin-bottom: 8px;
}

.sp-store__nav {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--sp-accent);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.sp-store__nav svg {
    transition: transform .2s;
}

.sp-store__nav:hover svg {
    transform: translateX(4px);
}

.sp-store__hours {
    border-collapse: collapse;
    font-size: 16px;
    line-height: 1.6;
}

.sp-store__hours th {
    padding: 0 20px 0 0;
    font-weight: 400;
    text-align: left;
    white-space: nowrap;
}

.sp-store__hours td {
    padding: 0;
    font-weight: 700;
    white-space: nowrap;
}

.sp-store__note {
    margin: 0;
    font-size: 15px;
    font-style: italic;
}

.sp-store__btn {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    padding: 16px 40px;
    border-radius: 100px;
    background: var(--sp-accent);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color .2s;
}

.sp-store__btn:hover {
    background: var(--sp-accent-hover);
    color: #fff;
}

.sp-store__map {
    height: 520px;
    border-radius: 24px;
    overflow: hidden;
    background: #EFE9E3;
    z-index: 0;
}

@media (max-width: 1119px) {
    .sp-store__name {
        font-size: 24px;
    }

    .sp-store__info {
        padding-left: 0;
    }

    .sp-store__map {
        height: 420px;
    }
}

@media (max-width: 1023px) {
    .sp-store__body {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sp-store__map {
        height: 320px;
    }
}

@media (max-width: 767px) {
    .sp-map {
        height: min(var(--sp-map-h, 500px), 440px);
    }

    .sp-store__toggle {
        gap: 16px;
        padding: 20px 0;
    }

    .sp-store__num {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .sp-store__name {
        font-size: 20px;
    }

    .sp-store__chev {
        width: 44px;
        height: 44px;
    }

    .sp-store__cols {
        grid-template-columns: 1fr;
    }

    .sp-store__btn {
        align-self: stretch;
        justify-content: center;
        padding: 14px 24px;
        font-size: 14px;
    }

    .sp-store__map {
        height: 260px;
        border-radius: 16px;
    }

    .leaflet-tooltip.sp-tip {
        width: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sp-store__panel,
    .sp-store__chev svg,
    .sp-pin {
        transition: none;
    }
}

/* ---------- Finder (map + card) ---------- */

.sp-finder {
    --sp-accent: #FF4101;
    --sp-dark: #26282A;
    --sp-soft-line: #EFE6DF;
    position: relative;
    width: 100%;
}

.sp-finder__map {
    height: var(--sp-map-h, 800px);
}

.sp-finder__overlay {
    position: absolute;
    inset: 0;
    z-index: 600;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: var(--sp-container, 1400px);
    margin: 0 auto;
    padding: 80px 24px;
    box-sizing: border-box;
    pointer-events: none;
}

.sp-finder__card {
    display: flex;
    flex-direction: column;
    width: 480px;
    max-width: 100%;
    max-height: 100%;
    padding: 40px 32px 24px;
    box-sizing: border-box;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(38, 40, 42, .14);
    pointer-events: auto;
}

.sp-finder__title {
    margin: 0 0 16px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--sp-dark);
}

.sp-finder__list {
    flex: 1;
    min-height: 0;
    margin: 0 -8px;
    padding: 0 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #D9CFC6 transparent;
}

.sp-fitem {
    border-bottom: 1px solid var(--sp-soft-line);
}

.sp-fitem:last-child {
    border-bottom: 0;
}

.sp-fitem__head {
    margin: 0;
    font: inherit;
}

.sp-fitem__toggle {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 14px 0;
    margin: 0;
    border: 0;
    background: none;
    color: var(--sp-dark);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.sp-fitem__toggle:focus-visible {
    outline: 2px solid var(--sp-accent);
    outline-offset: 2px;
    border-radius: 6px;
}

.sp-fitem__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--sp-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.sp-fitem__name {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
}

.sp-fitem__chev {
    display: inline-flex;
    flex: none;
}

.sp-fitem__chev svg {
    transition: transform .3s;
}

.sp-fitem.is-open .sp-fitem__chev svg {
    transform: rotate(180deg);
}

.sp-fitem__toggle:hover .sp-fitem__name {
    color: var(--sp-accent);
}

.sp-fitem__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}

.sp-fitem.is-open .sp-fitem__panel {
    grid-template-rows: 1fr;
}

.sp-fitem__inner {
    min-height: 0;
    overflow: hidden;
}

.sp-fitem__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px 20px;
    padding: 0 0 20px;
    font-size: 14px;
    line-height: 1.45;
}

.sp-fitem__body--nophoto {
    grid-template-columns: 1fr;
}

.sp-fitem__addr {
    margin: 0 0 14px;
    font-weight: 700;
}

.sp-fitem__k {
    margin: 0 0 2px;
}

.sp-fitem__hours {
    border-collapse: collapse;
}

.sp-fitem__hours th {
    padding: 0 12px 0 0;
    font-weight: 400;
    text-align: left;
    white-space: nowrap;
}

.sp-fitem__hours td {
    padding: 0;
    font-weight: 700;
    white-space: nowrap;
}

.sp-fitem__photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    background: #EFE9E3;
}

.sp-fitem__foot {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.sp-fitem__phone {
    color: var(--sp-dark);
    font-weight: 700;
    text-decoration: none;
}

.sp-fitem__phone:hover {
    color: var(--sp-accent);
}

.sp-fitem__nav {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--sp-accent);
    font-weight: 700;
    text-decoration: none;
}

.sp-fitem__nav svg {
    transition: transform .2s;
}

.sp-fitem__nav:hover svg {
    transform: translateX(4px);
}

@media (max-width: 1023px) {
    .sp-finder__map {
        height: 420px;
    }

    .sp-finder__overlay {
        position: relative;
        inset: auto;
        display: block;
        margin-top: -80px;
        padding: 0 16px;
    }

    .sp-finder__card {
        width: 100%;
        max-height: none;
    }

    .sp-finder__list {
        overflow: visible;
    }
}

@media (max-width: 767px) {
    .sp-finder__map {
        height: 340px;
    }

    .sp-finder__card {
        padding: 28px 20px 16px;
    }

    .sp-finder__title {
        font-size: 26px;
    }

    .sp-fitem__name {
        font-size: 16px;
    }

    .sp-fitem__body {
        grid-template-columns: 1fr;
    }
}
