


.flavor-finder-loader {
    background-color: #232323;
    display: block;
    height: 100%;
    left: 0;
    margin-bottom: 0;
    opacity: .98;
    pointer-events: none;
    position: fixed;
    text-align: center;
    top: 0;
    transition: opacity .5s ease-in-out;
    width: 100%;
    z-index: 5;
}

.flavor-finder-loader .scoop-animation {
    background: url(../images/IceCreamScoopStackLoader-scaled.png);
    background-repeat: no-repeat;
    background-size: auto 100%;
    height: 270px;
    margin: auto;
    width: 93px;
    position: relative;
    top: calc(50vh - 135px);
    animation-duration: 2.4s;
    animation-iteration-count: infinite;
    animation-name: scoop-stack;
    animation-timing-function: steps(4);
}

.gm-style-iw-d, .gm-style {
    color: #232323!important;
}

@keyframes scoop-stack {
    0% {
        background-position: 0;
    }

    to {
        background-position: -410px;
    }
}


/* MODAL */
.modal {
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0.9);
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.close-modal svg path {
    fill: #fff;
}

.modal .modal-inner .close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
}



    #map_content {
        height: 100%;
        width: 100%;
    }

.modal.open {
  display: flex;
}

.modal .modal-inner {
    max-width: 500px;
    width: 90%;
    background-color: #1C1C1C;
    padding: 20px;
    margin: 0px auto;
    border-radius: 15px;
    position: relative;
}

.modal-inner .modal-product-image {
    height: 200px;
    width: 200px;
    display: flex;
    align-items: center;
}


.modal-inner .modal-product-image img {
    max-width: 100%;
    max-height: 100%;
}

.modal-product-info {
    max-width: 220px;
    margin-top: 20px;
}

.modal .desktop-left {
    display: none;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

body main.site-content .modal  .desktop-left h3 {
    font-size: 30px;
    padding: 0px;
    margin: 0px;
    margin-bottom: 10px;
}

.modal .tabs {
    display: flex;
    gap: 5px;
    margin-bottom: -1px;
}

.modal .tabs button {
    appearance: none;
    border: none;
    padding: 10px;
    text-decoration-line: underline;
    font-family: 'Lexend', 'sans-serif';
    border-radius: 10px 10px 0 0;
    color: #ED1C24;
    transition: all .1s;
}

.modal .tabs button.active {
    color: #fff;
    background: #ED1C24;
}

.modal .tab-contents {
    background-color: #ED1C24;
    border-radius: 0px 0px 10px 10px;
    overflow: hidden;
}

.modal .tab-contents .tab-content {
    padding-top: 20px;
    display: none;
    position: relative;
}

.modal .tab-contents .tab-content.active{
    display: block;
}


.modal .tab-contents h4 {
    font-weight: 700;
    font-size: 19px;
    margin: 0px;
    margin-bottom: 10px;
}

.modal .tab-contents p.disclaimer {
    font-size: 14px;
}

.modal .locations {
    max-height: 100px;
    overflow: scroll;
}

.modal .locations .location {
    box-sizing: border-box;
    padding-bottom: 10px;
    display: block;
    text-decoration: none;
    color: #fff;
    margin-bottom: 10px;
}

.modal .locations .location h4 {
    font-size: 17px;
}

.modal .locations .location p {
    font-size: 14px;
}

.modal .map-inner {
    height: 200px;
    background-image: url('/wp-content/themes/evergreen/assets/images/Map.png');
    background-size: cover;
}

.zip-code-input-wrapper {
    background-color: rgba(0,0,0,.5);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zip-code-input {
    max-width: 90%;
    padding: 20px;
    text-align: center;
    background-color: #140C19;
    border-radius: 15px;
}

.zip-code-input input {
    background-color: #fff;
    color: #000;
    padding: 0px;
    height: 50px;
    padding-left: 10px;
}

.zip-code-input .form {
    display: flex;
    align-items: start;
    justify-content: center;
    width: 185px;
    margin: 0px auto;
}

.zip-code-input label {
    line-height: 20px;
    font-size: 20px;
    display: block;
    margin-bottom: 15px;
}

.zip-code-input button {
    appearance: none;
    border: none;
    height: 50px;
    width: 50px;
    background-color: #ED1C24;
}

.close-modal {
    appearance: none;
    border: none;
    background-color: transparent;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.change-zip {
    appearance: none;
    background: transparent;
    border: none;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.online-retailers, .no-retailers {
    padding: 20px;
    padding-top: 0px;
}

.online-retailers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.online-retailers .retailer {
    width: calc(50% - 5px);
    border-radius: 10px;
    overflow: hidden;
    display: block;
}

.online-retailers .retailer img {
    display: block;
    width: 100%;
}

.mobile-hide {
    display: none;
}

.modal .locations::after {
    content: " ";
    display: block;
    height: 35px;
    position: absolute;
    width: 100%;
    bottom: 200px;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(237, 29, 37, 1));
    left: 0px;
}


@media (min-width: 1200px) {
    .modal .locations::after {
        bottom: 295px;
    }
    .desktop-right {
        width: 55%;
        min-height: 100%;
    }

    .mobile-only {
        display: none;
    }

    .filter-mobile-grouping {
        display: flex;
        gap: 45px;
        justify-content: space-between;
    }

    .top {
        height: 92px;
    }

    .flavor-finder-results {
        height: calc(100% - 92px);
        overflow: scroll;
    }

    .mobile-hide {
        display: block;
    }

    .mobile-hide.desktop-flex {
        display: flex;
    }

    .desktop-hide {
        display: none;
    }

    .flavor-finder-wildcard {
        height: 100%;
    }

    .modal {
        background-color: rgba(0, 0, 0, 0.50);
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0px;
        z-index: 3;
    }

    .modal .modal-inner {
        width: 90%;
        max-width: 1200px;
        display: flex;
        border-radius: 15px;
        position: relative;
        justify-content: space-between;
        align-items: center;
        height: 700px;
        margin-top: 100px;
    }

    .modal .desktop-left {
        display: block;
        max-width: 45%;
        padding: 30px;
        box-sizing: border-box;;
    }

    .modal .tab-contents {
        border-radius: 0px 10px 10px 10px;
    }

    .modal .modal-product-info {
        max-width: none;
    }

    .modal p.modal-product-short-description {
        padding: 0px;
        font-size: 16px;
    }

    .modal .desktop-right {
        min-height: 0px;
    }

    .modal .locations {
        max-height: 168px;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        padding: 0px 30px;
    }

    .modal .locations .location {
        width: calc(50% - 5px);
        margin-bottom: 0px;
    }

    .modal .locations .location h4, .modal .locations .location p {
        padding: 0px!important;
        max-width: 90%;
    }

    .modal .tab-contents .tab-content {
       height: 590px;
    }

    .modal .map-inner  {
        height: 295px;
    }

    .zip-code-input-wrapper {
        margin-top: 202px;
    }

}