/* Navigation Bar Grid */

.header.content .navigation {
    grid-area: navigation;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header.content .logo {
    grid-area: logo;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    align-items: center;
    max-width: 100%;
}

.header.content .storelist-wrapper {
    grid-area: storelist;
}

.header.content .block-search {
    grid-area: search;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header.content .minicart-wrapper {
    grid-area: minicart;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.header.content .header.links {
    grid-area: profile;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Store List */
.storelist-wrapper {
    z-index: 6;
    display: flex;
    flex-direction: row;
    column-gap: 5px;
    cursor: pointer;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
    align-items: center;
    margin-left: 20px;
}
.storelist-icon, .storelist-chevron {
    display: flex;
}
.storelist {
    display: flex;
    flex-direction: column;
}
.storelist-svg {
    height: 18px;
}
.storelist-time-mobile {
    display: none;
}
.storelist-down-svg {
    height: 12px;
}
.storelist-location,
.storelist-time {
    line-height: 1;
}
.storelist-location {
    font-size: 16px;
    /* font-family: var(--title_font); */
    font-weight: 700;
}
.storelist-time {
    font-size: 11px;
    font-weight: 500;
    /* display: none; */
}

/* Modal */
.storelist-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 7;
}

.storelist-modal {
    display: none;
    position: absolute;
    z-index: 8;
    width: 400px;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 15px;
}

.storelist-modal-content {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.storelist-links {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 10px 0 5px;
}

.storelist-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 65px;
}

.storelist-link-svg {
    width: 45px;
}

.storelist-link-title {
    font-size: 18px;
    font-family: var(--title_font);
    font-weight: 700;
    margin-top: 5px;
}

.storelist-modal-svg {
    width: 18px;
}

.storelist-shipping,
.storelist-address {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    border-radius: 8px;
    padding: 10px;
    background: var(--light_grey);
}

.storelist-info {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    border-radius: 8px;
    padding: 10px;
    background: var(--light_grey);
}

.storelist-info-wrapper {
    display: flex;
    flex-direction: column;
    width: calc(100% - 18px);
    align-content: flex-start;
    flex-wrap: wrap;
    margin-left: 10px;
}

.storelist-header {
    display: flex;
    flex-direction: row;
    column-gap: 10px;
}

.storelist-header-title {
    font-weight: 600;
}

.storelist-shipping-button {
    margin-top: 10px;
}

.storelist-treatment-address {
    padding-left: 28px;
}

.storelist-button {
    padding: 7px 15px;
    background-color: var(--hover_color);
    color: #fff;
    font-family: var(--title_font);
    font-size: 18px !important;
    font-weight: 600;
    line-height: 27px;
    border-radius: 12px;
    border: none;
    transition: var(--site_transition);
    text-decoration: none;
    width: 100%;
    text-align: center;
}
.storelist-button:hover {
    color: #fff;
    background-color: var(--primary_color);
}
a.storelist-info-link:hover {
    color: var(--body_color);
}
.storelist-modal-image {
    border-radius: 8px;
}
span.storelist-email b {
	display: none;
}
.storelist-info-chevron {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    width: 18px;
}

@media (max-width: 959px) {
    .header.content .logo {
        align-items: flex-start;
    }
    .header.content .storelist-wrapper {
        margin-left: 3%;
    }
    .storelist-modal {
        top: 74px !important;
        left: 3% !important;
    }
}

@media (max-width: 767px) {
    .storelist {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
    }
    .storelist-icon {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .storelist-location {
        font-size: 12px;
        font-weight: 500;
        color: #fff;
        font-family: var(--body_font);
    }
    .storelist-time-mobile {
        display: inline;
    }
    .storelist-time {
        font-size: 12px;
        font-weight: 500;
        color: #fff;
        margin-left: 5px;
    }
    .header.content .storelist-wrapper {
        justify-content: center;
    }
    .storelist-svg {
        height: 17px;
        filter: invert(100%);
    }
    .storelist-down-svg {
        filter: invert(100%);
    }
    .storelist-modal {
        top: 31px !important;
        width: 90%;
        left: 5% !important;
    }
}