.store-locations-page {
    padding: clamp(2rem, 5vw, 4rem) 0 4rem;
}

.store-locations {
    display: grid;
    gap: 1rem;
    margin: clamp(2.25rem, 5vw, 4.5rem) 0;
}

.store-locations__hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-locations__hero-copy {
    display: grid;
    gap: .45rem;
    max-width: 52rem;
}

.store-locations__hero-copy .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}

.store-locations__hero-copy h2 {
    margin: 0;
    font-family: var(--mmp-store-font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.store-locations__hero-copy p:last-child {
    margin: 0;
    max-width: 58ch;
    color: #555555;
}

.store-locations__hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.store-locations__hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 34px;
    padding: 0 .75rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 17, 17, .08);
    background: rgba(17, 17, 17, .03);
    color: #111111;
    font-size: .78rem;
    font-weight: 800;
}

.store-locations__hero-badge .mmp-store-icon {
    width: 11px;
    height: 11px;
}

.store-locations__filters {
    padding: 1rem;
    border-radius: 22px;
}

.store-locations__filters-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto;
    gap: .85rem;
    align-items: end;
}

.store-locations__filters-grid label {
    display: grid;
    gap: .45rem;
    color: #555555;
    font-size: .85rem;
    font-weight: 600;
}

.store-locations__filters-grid select,
.store-locations__filters-grid input {
    width: 100%;
    min-height: 3.25rem;
    border: 1px solid rgba(17, 17, 17, .12);
    border-radius: 999px;
    background: #fff;
    padding: 0 1rem;
    font: inherit;
    color: #111111;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.store-locations__filters-grid select:focus,
.store-locations__filters-grid input:focus {
    outline: 0;
    border-color: rgba(17, 17, 17, .3);
    box-shadow: 0 0 0 4px rgba(17, 17, 17, .08);
}

.store-locations__pickup-toggle {
    display: grid;
    gap: .45rem;
}

.store-locations__pickup-toggle .button-secondary {
    justify-content: center;
    min-height: 3.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
}

.store-locations__pickup-toggle .button-secondary.is-active {
    background: #111111;
    color: #fff;
    border-color: #111111;
}

.store-locations__filter-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    align-items: center;
}

.store-locations__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(18rem, .92fr);
    gap: 1rem;
    align-items: start;
}

.store-locations--single .store-locations__hero-copy {
    max-width: 44rem;
}

.store-locations--single .store-locations__layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.store-locations--single .store-locations__rail {
    gap: 1rem;
}

.store-locations--single .store-location-card--featured {
    border-color: rgba(17, 17, 17, .14);
    box-shadow: 0 20px 42px rgba(17, 17, 17, .08);
}

.store-locations__rail {
    align-self: stretch;
    display: grid;
    gap: .85rem;
}

.store-location-card {
    display: grid;
    grid-template-columns: minmax(9rem, 10.5rem) minmax(0, 1fr);
    gap: .9rem;
    padding: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.store-location-card.is-active {
    border-color: rgba(17, 17, 17, .22);
    box-shadow: 0 18px 42px rgba(17, 17, 17, .08);
}

.store-location-card--featured {
    height: 100%;
    padding: 1.1rem;
    border-color: rgba(17, 17, 17, .18);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(250, 250, 248, .96));
}

.store-location-card:focus-within,
.store-location-card:hover {
    transform: translateY(-1px);
    border-color: rgba(17, 17, 17, .18);
}

.store-location-card__media {
    min-height: 100%;
    background: linear-gradient(135deg, rgba(17, 17, 17, .04), rgba(17, 17, 17, .02));
    border-radius: 18px;
    overflow: hidden;
}

.store-location-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.store-location-card__placeholder,
.store-locations__static-map {
    min-height: 100%;
    display: grid;
    place-items: center;
    gap: .9rem;
    text-align: center;
    padding: 1rem;
    color: #555555;
}

.store-location-card__placeholder .mmp-store-icon,
.store-locations__static-map .mmp-store-icon {
    width: 2rem;
    height: 2rem;
}

.store-location-card__content {
    display: grid;
    gap: .65rem;
}

.store-location-card__head {
    display: flex;
    justify-content: space-between;
    gap: .85rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.store-location-card__head h3 {
    margin: .15rem 0 0;
    font-size: 1.02rem;
    line-height: 1.25;
}

.store-location-card__badges {
    display: flex;
    gap: .35rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.store-location-card__status {
    gap: .35rem;
}

.store-location-card__status .mmp-store-icon {
    width: 10px;
    height: 10px;
}

.store-location-card__status--open {
    background: rgba(22, 101, 52, .08);
    color: #166534;
}

.store-location-card__status--closed {
    background: rgba(17, 17, 17, .06);
    color: #111111;
}

.store-location-card__status-note {
    margin: -.1rem 0 0;
    color: #555555;
    font-size: .84rem;
    line-height: 1.35;
}

.store-location-card__address {
    margin: 0;
    color: #444444;
    line-height: 1.45;
}

.store-location-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .7rem;
}

.store-location-card__facts span {
    display: inline-flex;
    align-items: flex-start;
    gap: .55rem;
    color: #444444;
    font-size: .86rem;
    line-height: 1.35;
}

.store-location-card__facts .mmp-store-icon {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    margin-top: .15rem;
    color: #111111;
}

.store-location-card__facts a {
    color: inherit;
    text-decoration: none;
}

.store-location-card__facts a:hover {
    text-decoration: underline;
}

.store-location-card__tags {
    display: flex;
    gap: .45rem;
    flex-wrap: wrap;
}

.store-location-card__schedule {
    display: grid;
    gap: .45rem;
    margin: 0;
    padding: .8rem .9rem;
    list-style: none;
    border-radius: 16px;
    background: rgba(17, 17, 17, .035);
}

.store-location-card__schedule li {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    gap: .5rem;
    align-items: start;
    color: #333333;
    font-size: .84rem;
    line-height: 1.35;
}

.store-location-card__schedule .mmp-store-icon {
    width: 10px;
    height: 10px;
    margin-top: .2rem;
}

.store-location-card__tags span {
    border-radius: 999px;
    padding: .35rem .7rem;
    background: rgba(17, 17, 17, .05);
    color: #111111;
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.store-location-card__actions {
    display: flex;
    gap: .55rem;
    flex-wrap: wrap;
}

.store-location-card__actions .button-primary,
.store-location-card__actions .button-secondary {
    min-height: 2.35rem;
    padding-inline: .85rem;
    border-radius: 999px;
    font-size: .78rem;
}

.store-locations__map {
    position: sticky;
    top: 7rem;
    display: grid;
    gap: 1rem;
    min-height: 28rem;
    padding: 1rem;
}

.store-locations--single .store-locations__map {
    position: static;
    top: auto;
    min-height: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: 0;
}

.store-locations--single .store-locations__iframe,
.store-locations--single .store-locations__static-map {
    min-height: 24rem;
    border-radius: 24px;
}

.store-locations__map-head {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    align-items: center;
}

.store-locations__map-details {
    display: grid;
    gap: .8rem;
}

.store-locations--single .store-locations__map-head,
.store-locations--single .store-locations__map-details {
    display: none;
}

.store-locations__map-status {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: .55rem .7rem;
    align-items: center;
    padding: .9rem 1rem;
    border-radius: 18px;
    background: rgba(17, 17, 17, .04);
}

.store-locations__map-status strong,
.store-locations__map-status small {
    grid-column: 2;
}

.store-locations__map-status strong {
    color: #111111;
    font-size: .92rem;
    line-height: 1.1;
}

.store-locations__map-status small {
    color: #555555;
    font-size: .8rem;
    line-height: 1.3;
}

.store-locations__map-status .mmp-store-icon {
    width: 12px;
    height: 12px;
}

.store-locations__map-status--open {
    background: rgba(22, 101, 52, .08);
}

.store-locations__map-status--closed,
.store-locations__map-status--unknown {
    background: rgba(17, 17, 17, .05);
}

.store-locations__map-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
}

.store-locations__map-meta div {
    display: grid;
    gap: .3rem;
    padding: .85rem .9rem;
    border-radius: 16px;
    background: rgba(17, 17, 17, .03);
}

.store-locations__map-meta span {
    color: #666666;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.store-locations__map-meta strong {
    color: #111111;
    font-size: .88rem;
    line-height: 1.35;
}

.store-locations__map-schedule {
    display: grid;
    gap: .45rem;
    margin: 0;
    padding: .95rem 1rem;
    list-style: none;
    border-radius: 18px;
    background: rgba(17, 17, 17, .035);
}

.store-locations__map-schedule li {
    color: #333333;
    font-size: .84rem;
    line-height: 1.35;
}

.store-locations__map-actions {
    display: flex;
    gap: .55rem;
    flex-wrap: wrap;
}

.store-locations__iframe {
    width: 100%;
    min-height: 24rem;
    border: 0;
    border-radius: 18px;
    background: #f5f5f5;
}

.store-locations__static-map {
    min-height: 24rem;
    border-radius: 18px;
    border: 1px solid rgba(17, 17, 17, .08);
    background: linear-gradient(180deg, #fff, #f5f5f5);
}

.store-locations__empty {
    padding: 1.5rem;
    text-align: center;
    color: #555555;
}

.store-locations--compact .store-locations__layout {
    grid-template-columns: minmax(0, 1fr);
}

.store-locations--compact .store-locations__map {
    position: static;
    min-height: auto;
}

.store-locations--footer {
    margin-top: 0;
}

.store-locations--footer .store-locations__layout {
    grid-template-columns: minmax(0, 1fr);
}

.store-locations--footer .store-locations__map {
    display: none;
}

.store-locations--footer .store-location-card {
    grid-template-columns: minmax(0, 9rem) minmax(0, 1fr);
}

@media (max-width: 1100px) {
    .store-locations__layout,
    .store-locations--single .store-locations__layout {
        grid-template-columns: 1fr;
    }

    .store-locations__map {
        position: static;
        min-height: auto;
    }

    .store-locations--single .store-locations__map {
        padding: 0;
        background: transparent;
        box-shadow: none;
        border: 0;
    }
}

@media (max-width: 860px) {
    .store-locations__hero {
        align-items: flex-start;
    }

    .store-locations__filters-grid {
        grid-template-columns: 1fr;
    }

    .store-locations__filters-grid {
        grid-template-columns: 1fr;
    }

    .store-location-card {
        grid-template-columns: 1fr;
    }

    .store-location-card__media {
        min-height: 14rem;
    }

    .store-location-card__head {
        flex-direction: column;
    }

    .store-location-card__badges {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .store-locations {
        gap: 1rem;
    }

    .store-locations__filters,
    .store-location-card,
    .store-locations__map {
        padding: 1rem;
    }

    .store-locations__map-meta {
        grid-template-columns: 1fr;
    }

    .store-locations__filter-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .store-locations__iframe,
    .store-locations__static-map {
        min-height: 18rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .store-location-card {
        transition: none;
    }

    .store-location-card:focus-within,
    .store-location-card:hover {
        transform: none;
    }
}
