.locations-home > .locations-home-content {
    margin-top: 1rem;
}

.locations-list .text-sky-950 {
    color: #6b7280;
}

.locations-list input[name="search"] {
    border: 1px solid #000;
    border-right-width: 0;
    border-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.locations-list input[name="search"]:focus,
.locations-list input[name="search"]:active {
    border-color: #000;
    outline: none;
    box-shadow: none;
}

.locations-list .rounded-md:has(> button[type="submit"]) {
    border-radius: 0;
}

.locations-list button[type="submit"] {
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: 0;
}

.locations-list .locations-directions,
.location-view .locations-directions {
    border-radius: 0;
    background-color: #fff;
    outline-color: #000;
    color: #000;
    transition: background-color 150ms ease, color 150ms ease;
}

.locations-directions .text-sky-700 {
    color: inherit;
}

.locations-directions img {
    filter: brightness(0);
    transition: filter 150ms ease;
}

.locations-list .locations-directions:hover,
.location-view .locations-directions:hover {
    background-color: #000;
    color: #fff;
}

.locations-directions:hover img {
    filter: brightness(0) invert(1);
}

.locations-list .locations-store-chevron {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    color: #fff;
    border-radius: 0;
    outline: 1.5px solid #000;
    outline-offset: -1.5px;
    text-decoration: none;
    transition: background-color 150ms ease, color 150ms ease;
}

.locations-list .locations-store-chevron:hover {
    background-color: #fff;
    color: #000;
}

.location-directions-row {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.location-card-spacer {
    flex: 1 1 auto;
    min-height: 2.5rem;
}

.location-directions-row > a:last-child:not(.locations-directions) {
    color: #000;
}

@media (min-width: 1024px) {
    .location-view .location-view-layout {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 2.5rem;
    }

    .location-view .location-view-details {
        flex: none;
        width: 500px;
    }

    .location-view .location-view-map {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }

    .location-view .location-view-map .locations-map {
        flex: 1 1 auto;
        width: 100%;
        height: 28rem;
        min-height: 100%;
    }
}

.location-hours-row {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
}

.location-hours-day {
    flex: 0 0 8.5rem;
}

.location-hours-value {
    white-space: nowrap;
}

@media (min-width: 1024px) {
    .location-view a.location-phone {
        background-color: transparent;
        color: var(--color-primary);
        text-decoration: underline;
    }
}

@media (max-width: 1023px) {
    .location-view a.location-phone {
        background-color: #000;
        color: #fff;
        border-radius: 0;
        text-decoration: none;
    }
}
