.sw-store-popup {
    display: none;
}
.sw-store-popup.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}
.sw-store-popup-container {
    position: absolute;
    max-width: 900px;
    max-height: 70vh;
    width: 100%;
    height: auto;
    overflow: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    z-index: 10001;
}
.close-store-popup.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #00000030;
    z-index: 9000;
}

.sw-store-popup-container .search-container {
    margin: 20px 0;
}

.sw-store-popup-container .search-container .zip-error-msg {
    color: red;
}

.sw-store-popup-container #checkout-error-msg {
    color: red;
    display: none;
}

.sw-store-popup-container .search-form {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.sw-store-popup-container .search-form #address-input {
    margin: 0;
    margin-right: 20px;
}

.sw-store-popup-container .store-line {
    padding: 10px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid;
    font-size: 1.6rem;
    align-items: baseline;
    flex-wrap: wrap;
}

.sw-store-popup-container .store-line label {
    flex: 1;
    margin-right: 25px;
}

.sw-store-popup-container .store-line .availability-text {
    text-align: right;
    position: relative;
}

.sw-store-popup-container .store-line .availability-text::before {
    content: "";
    position: absolute;
    left: -17px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 100%;
}

.sw-store-popup-container .store-line .availability-text.option-3::before {
    background-color: #60C36C;
}
.sw-store-popup-container .store-line .availability-text.option-2::before {
    background-color: orange;

}
.sw-store-popup-container .store-line .availability-text.option-1::before {
    background-color: red;
}

.sw-store-popup-container .sw-store-popup-actions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.sw-store-popup-container .sw-store-popup-actions .sw-store-popup-btn {
    padding: 0 30px;
    font-size: 14px;
    background: #0E2356;
    border-radius: 50px;
    color: #fff;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sw-store-popup-container .sw-store-popup-actions .sw-store-popup-btn:hover {
    cursor: pointer;
}

.sw-store-popup-container .sw-store-popup-actions .sw-store-popup-btn#go-checkout {
    background: #991211;
}

.catalog-product-view .product-add-form .sw-stores {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.sw-store-popup-container #result-container {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

@media screen and (max-width:1024px){
    .sw-store-popup-container {
        max-height: 90vh;
        max-width: 90vw;
    }

    .sw-store-popup-container .store-line .availability-text {
        margin-left: 20px;
        flex: 0 0 85%;
        text-align: left;
    }

    .sw-store-popup-container .store-line label {
        margin: 0;
    }

    .sw-store-popup-container .sw-store-popup-actions {
        flex-direction: column;
        gap: 10px;
    }
}