/* ============================= VARIANT SELECTION POPUP CSS ===============================*/

/* POPUP CONTAINER */
#swym-custom-collections-modal-background {
    height: 100vh; width: 100vw;
    position: fixed;
    z-index: 99999;
    inset: 0;
}
#swym-custom-collections-modal-background::after{
    content: ''; height: 100vh; width: 100vw;
    position: absolute;
    inset: 0; z-index: -1;
    background-color: var(--swym-popup-overlay-bg-color);
    opacity: var(--swym-popup-overlay-opacity);
} 

#swym-custom-collections-modal-parent {
    height: auto;
    background: var(--swym-popup-bg-color);
    border-radius: var(--swym-popup-border-radius);
    border: var(--swym-popup-border);
    min-height: 505px;
    position: absolute;
}

.swym-global-font-family{ font-family: var(--swym-popup-font-family) }

@media only screen and (min-width: 768px){
    #swym-custom-collections-modal-parent {
        max-width: 700px; width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        background: var(--swym-popup-bg-color);
        border-radius: var(--swym-popup-border-radius);
        border: var(--swym-popup-border);
        min-height: 505px;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        &.swym-layout--below_main_image{
            max-width: unset;
            width: 505px;
        }
    }
}
@media only screen and (max-width: 767px){
    #swym-custom-collections-modal-parent {bottom: 0}
}

/* HEADER */
#swym-collections-title-and-close {
    padding-inline: 20px;
    position: relative;
    color: var(--swym-popup-header-text-color);
    background-color: var(--swym-popup-header-bg-color);
}

p#swym-custom-modal-title {
    font-weight: var(--swym-popup-header-text-font-weight);
    font-size: var(--swym-popup-header-text-font-size);
    line-height: var(--swym-popup-header-text-font-size);
    text-align: var(--swym-popup-header-text-alignment);
    padding-right: 20px;
}

#swym-custom-mobile-title { display: none }
#swym-custom-modal-close {
    font-size: 27px;
    cursor: pointer;
    z-index: 99;
    position: absolute;
    top: 0;
    right: 20px;
}

/* BODY CSS */  

.swym-custom-loaded {
    display: block !important;
}

input[type="checkbox"] {
    accent-color: var(--swym-popup-body-lists-checkbox-accent-color);
}

#swym-custom-image-wrapper {
    display: none;
    margin: 1rem;
    position: relative;
    overflow: hidden;
}

div#swym-multiple-wishlist-container {
    overflow-x: scroll;
    display: flex;
    flex-direction: column;
}

#swym-custom-images-slide-container {
    display: none;
    width: 100%;
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    scroll-behavior: smooth;
    list-style: none;
    margin: 0;
    padding: 0;
}

.swym-custom-slide-arrow {
    position: absolute;
    display: flex;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 4rem;
    background-color: white;
    border: none;
    width: 2rem;
    font-size: 3rem;
    padding: 0;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 100ms;
}

.swym-custom-slide-arrow:hover,
.swym-custom-slide-arrow:focus {
    opacity: 1;
}

div#swym-custom-images-slide-container::-webkit-scrollbar {
    display: none;
}

.swym-filter-option-name ::-webkit-scrollbar {
    display: none;
}

#swym-custom-slide-arrow-prev {
    left: 0;
    padding-left: 0.25rem;
    border-radius: 0 2rem 2rem 0;
}

#swym-custom-slide-arrow-next {
    right: 0;
    padding-left: 0.75rem;
    border-radius: 2rem 0 0 2rem;
}

input#swym-new-list-name-input:focus {
    outline: none;
    border: 1px solid #393D51;
}

input#swym-new-list-name-input {
    transition: border-color 0.3s, box-shadow 0.3s;
}

p#swym-list-guide-text {
    width: 100%;
    text-align: left;
    font-weight: 500;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 5px;
}

p#swym-create-list-title {
    font-weight: 600;
    font-size: 16px;
}

div#swym-custom-backdrop {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 9999999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    background-color: rgb(44 44 44 / 50%);
}

div#swym-create-list-title-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #EBEBEB;
}

button#swym-custom-notconfirm-list-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 25px;
    color: grey;
}

button#swym-custom-confirm-list-button {
    cursor: pointer;
    font-size: var(--swym-popup-add-to-list-submit-btn-font-size);
    font-weight: var(--swym-popup-add-to-list-submit-btn-font-weight);
    height: var(--swym-popup-add-to-list-submit-btn-height);
    background: var(--swym-popup-add-to-list-submit-btn-bg-color);
    color: var(--swym-popup-add-to-list-submit-btn-text-color);
    text-align: var(--swym-popup-add-to-list-submit-btn-text-alignment);
    border: var(--swym-popup-add-to-list-submit-btn-border);
    margin-bottom: 10px;
    border-radius: var(--swym-popup-add-to-list-submit-btn-border-radius);
}

div#swym-create-list-button-wrapper {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    background: white;
    width: 100%;
    gap: 15px;
    margin-bottom: 5px;
}

div#swym-create-list-mobile-modal {
    position: absolute;
    background: white;
    border: 1px solid #EBEBEB;
    justify-content: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    bottom: 50%;
}

div#swym-custom-mobile-modal-wrapper-title {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

div#swym-custom-mobile-modal-wrapper-buttons {
    display: flex;
    flex-direction: column;
}

img.swym-custom-slider-image {
    object-fit: contain;
    flex: 1 0 100%;
}

button.swym-zoomed-image-close-button.close-button {
    position: relative;
    top: 1%;
    font-size: 20px;
    border-radius: 100px;
    cursor: pointer;
    border: 1px solid #c2c0c0;
}

.zoomed-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999999999999999999999999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.zoomed-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

button#swym-collections {
    display: none;
    position: absolute;
    z-index: 2 !important;
    background: none;
    border: none;
    font-size: 30px;
    right: 5%;
    top: 2%;
    /* background: white; */
    padding: 0px 7px 4px 9px;
    border-radius: 50%;
    opacity: 0.8;
}


div#swym-custom-list-id-container {
    max-height: 90px;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    padding: 10px;
    width: 100%;
}

div#swym-images-and-components-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 20px;
    padding-right: 20px;
}

div#swym-images-container {
    display: flex;
    flex-direction: column;
    width: 180px;
    align-items: center;
    flex: 0.5;
}

div#swym-custom-product-title {
    font-size: var(--swym-popup-body-title-font-size);
    font-weight: var(--swym-popup-body-title-font-weight);
    font-size: var(--swym-popup-body-title-font-size);
    color: var(--swym-popup-body-title-text-color);
    line-height: 18px;
}

div#swym-custom-vendor-title {
    font-size: var(--swym-popup-body-vendor-font-size); 
    font-weight: var(--swym-popup-body-vendor-font-weight); 
    color: var(--swym-popup-vendor-text-color); 
    display: var(--swym-vendor-display-style); 
}

div#swym-custom-variant-title {
    font-size: var(--swym-popup-body-variant-title-font-size);
    font-weight: var(--swym-popup-body-variant-title-font-weight);
    color: var(--swym-popup-body-variant-title-text-color);
}

div#swym-custom-variant-price {
    font-size: var(--swym-popup-body-variant-price-font-size);
    font-weight: var(--swym-popup-body-variant-price-font-weight);
    color: var(--swym-popup-body-variant-price-text-color);
    line-height: 20px;
}

div#swym-custom-product-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: var(--swym-popup-body-details-alignment);
    line-height: 30px;
    margin-left: 5px;
    color: var(--swym-popup-body-details-text-color);
}

div#swym-custom-component-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-left: 15px;
    flex: 0.5;
}

div#swym-custom-variant-selector-container {
    display: flex;
    flex-direction: column;
    border-radius: var(--swym-popup-variant-selector-border-radius);
    border: var(--swym-popup-variant-selector-border);
    padding: var(--swym-popup-variant-selector-padding);
    text-align: var(--swym-popup-variant-selector-text-alignment);
}

div#swym-custom-add-to-wishlist-container {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    height: 100%;
    align-items: center;
}

button#swym-custom-add-to-wishlist-button {
    cursor: pointer;
    min-width: 218px;
    height: var(--swym-popup-add-to-list-btn-height); 
    flex-shrink: 0;
    background: var(--swym-popup-add-to-list-btn-bg-color);
    color: var(--swym-popup-add-to-list-btn-text-color);
    float: right;
    margin: 20px;
    text-align: var(--swym-popup-add-to-list-btn-text-alignment);
    border-radius: var(--swym-popup-add-to-list-btn-border-radius);
    border: var(--swym-popup-add-to-list-btn-border);
    font-size: var(--swym-popup-add-to-list-btn-font-size);
    font-weight: var(--swym-popup-add-to-list-btn-font-weight);

}

.swym-filter-option-name {
    display: flex;
    flex-direction: column;
    padding-left: 10px;
}

label.swym-filter-labels {
    display: flex;
    border: 1px solid #D8D8D8;
    height: 30px;
    text-align: center;
    justify-content: center;
    border-radius: 4px;
    align-items: center;
    width: auto;
    padding: 8px 12px 8px 12px;
    cursor: pointer;
    font-size: var(--swym-popup-options-values-font-size);
    font-weight: var(--swym-popup-options-values-font-weight);
    color: var(--swym-popup-options-values-color);
    white-space: nowrap;
    margin: 6px 8px 2px 0;
}

label.swym-filter-labels.selected {
    color: var(--swym-selected-filter-label-color);
    background-color: #ec688d !important;
}

label.swym-filter-labels:hover {
    transform: scale(1.15);
    transition: 0.1s ease-in-out;
    text-decoration: underline;
}

img#swym-custom-image-blob.selected {
    border: 1px solid #393D51;
    border-radius: 2px;
}

.swym-radio-buttons-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-height: 140px;
    overflow-y: auto;
}

div#swymOptionName {
    font-size: var(--swym-popup-options-title-font-size);
    font-weight: var(--swym-popup-options-title-font-weight);
    color: var(--swym-popup-options-title-color);
    line-height: 16px;
}

img#swym-custom-primary-image {
    cursor: zoom-in;
    object-fit: contain;
}

img#swym-custom-image-blob {
    cursor: pointer;
    margin-right: 8px;
    transform: scale(1);
    transition: transform 0.08s ease-in-out;
}

img#swym-custom-image-blob:hover {
    transform: scale(1.3);
}

div#swym-custom-image-blob-container {
    margin-top: 8px;
    margin-left: 8px;
    display: flex;
}

div#swym-input-and-label-wrapper {
    display: flex;
    color: var(--swym-popup-body-lists-text-color);
    font-size: var(--swym-popup-body-lists-font-size);
    font-style: normal;
    font-weight: var(--swym-popup-body-lists-font-weight);
    line-height: 14px;
    flex-direction: var(--swym-popup-body-lists-checkbox-alignment);
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 5px;
    cursor: pointer;
    transform: scale(1);
    transition: transform .08s ease-in-out
}

button#swym-custom-create-list-button {
    border: var(--swym-popup-create-new-list-btn-border);
    border-radius: var(--swym-popup-create-new-list-btn-border-radius);
    cursor: pointer;
    padding: 15px;
    width: auto;
    text-align: var(--swym-popup-create-new-list-btn-text-alignment);
    margin-top: 5px;
    font-size: var(--swym-popup-create-new-list-btn-font-size);
    font-weight: var(--swym-popup-create-new-list-btn-font-weight);
    color: var(--swym-popup-create-new-list-btn-text-color);
    background-color: var(--swym-popup-create-new-list-btn-bg-color);
}

p#swym-custom-select-preference-text {
    font-size: var(--swym-popup-body-preferences-font-size);
    font-weight: var(--swym-popup-body-preferences-font-weight);
    color: var(--swym-popup-body-preferences-text-color);
    text-align: var(--swym-popup-body-preferences-text-alignment);
    line-height: 14px;
}

div#swym-custom-multiple-wishlist-container {
    border-radius: 4px;
    border: 1px solid #EBEBEB;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

input.swym-custom-list-button {
    cursor: pointer;
}

label.swym-custom-list-label {
    cursor: pointer;
    justify-content: right;
    display: flex;
    margin-right: 10px;
}

button#swym-custom-add-to-wishlist-button[disabled="true"] {
    cursor: default;
    background: var(--swym-popup-add-to-list-disabled-btn-bg-color);
    color: var(--swym-popup-add-to-list-disabled-btn-text-color);
}

div#swym-custom-create-list-container {
    width: 360px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
    position: absolute;
    background: var(--swym-create-list-popup-bg-color);
    border: var(--swym-create-list-popup-border);
    border-radius: var(--swym-create-list-popup-border-radius);
}

div#swym-custom-images-caraousel {
    overflow-x: scroll;
}

input#swym-custom-new-list-name-input {
    width: 100%;
    font-style: normal;
    font-weight: 400;
    height: 40px;
    padding: 15px;
    &:focus-visible{
        outline: 0;
        outline-offset: 0;
        box-shadow: none;
    }
}

button#swym-custom-create-list-button[disabled="true"] {
    display: none;
}

p#swym-custom-select-wishlists-text {
    font-size: var(--swym-popup-body-select-list-font-size);
    font-weight: var(--swym-popup-body-select-list-font-weight);
    text-align: var(--swym-popup-body-select-list-text-alignment);
    color: var(--swym-popup-body-select-list-text-color);
    line-height: 14px;
}

.swym-list-creation-buttons {
    margin-right: 5px;
    margin-left: 5px;
    cursor: pointer;
}

.swym-hide-container {
  display: none !important;
}

/* Desktop only */

@media only screen and (min-width: 1024px) {
    div#swym-input-and-label-wrapper:hover {
        transform: scale(1.04);
        transition: 0.2s ease;
        text-decoration: underline;
    }
} 

/* Ancient Mobile Devices */

@media (max-width: 380px) and (max-height: 550px){
    img.swym-custom-slider-image {
        display: none;
    }

    div#swym-custom-product-info {
        display: none;
    }

    div#swym-custom-component-container {
        margin-top: -30px;
    }
    
    div#swym-collections-title-and-close {
        margin-top: 15px;
    }
}

/* Older Mobile Devices */

@media (max-width: 480px) and (max-height: 741px) {
    img.swym-custom-slider-image {
        width: 150px;
        height: 150px;
    }
    
    div#swymOptionName {
        min-width: 70px;
    }
}

/* Recent Mobile Devices*/

@media only screen and (max-width: 768px) {
    .swym-filter-option-name {
        flex-direction: row;
    }
    div#swym-custom-product-info {
        margin: 10px 5px 10px 5px;
    }
   
    div#swym-custom-collections-modal-background {
        justify-content: flex-end;
    }

    div#swymOptionName {
        min-width: 70px;
        text-align: center;
        align-items: center;
        display: flex;
        padding: 5px;
    }

    div#swym-custom-create-list-container {
        width: -webkit-fill-available;
    }

    label.swym-filter-labels {
        margin: 0px 7px 0px 0px;
    }

    p#swym-custom-modal-title {
        display: none;
    }

    p#swym-custom-mobile-title {
        display: block;
        font-family: inherit;
        font-size: 16px;
        font-weight: 600;
        line-height: 20px;
        letter-spacing: 0px;
        text-align: left;
    }

    div#swym-custom-add-to-wishlist-container {
        padding: 5px;
    }

    div#swym-custom-images-slide-container {
        display: flex;
        overflow-x: scroll;
    }

    #swym-custom-image-wrapper {
        display: flex;
    }

    /* div#swym-images-container {
        display: none;
    } */

    div#swym-product-info {
        display: none;
    }

    div#swym-custom-image-blob-container {
        display: none;
    }

    div#swym-custom-collections-modal-parent {
        flex-direction: column;
        width: -webkit-fill-available;
    }

    div#swym-images-and-components-container {
        flex-direction: column;
    }

    button#swym-custom-add-to-wishlist-button {
        width: 100%;
        margin: 0;
    }

    .swym-radio-buttons-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 5px;
    }

    div#swym-images-and-components-container {
        padding: 0;
    }

    .swym-filter-option-name {
        padding: 0;
    }

    p#swym-custom-select-preference-text {
        display: none;
    }

    div#swym-images-container {
        width: unset;
        height: 250px;
    }

    img#swym-custom-primary-image {
        height: 250px;
        width: 250px;
    }

    div#swym-multiple-wishlist-container {
        margin-top: 5px;
    }

    div#swym-input-and-label-wrapper {
        line-height: unset;
    }
}

.swym-layout--carousel {
    /* align-items: center; */
}

#swym-images-container {
    display: none;
}

#swym-custom-image-wrapper {
    flex: 0.5;
    display: block;
}

#swym-custom-images-slide-container img {
    height: 100%;
    width: 100%;
    margin: auto;
}

#swym-custom-component-container {
    flex: 0.5;
}

.swym-layout--below_main_image #swym-images-container,
.swym-layout--below_main_image #swym-custom-component-container {
    flex: unset;
}

p#swym-custom-modal-title {
    padding: 23px 0px 0px 15px;
    font-size: 22px;
    font-weight: bold;
}

label.swym-filter-labels.selected {
    background: #ec688d !important;
}

button#swym-custom-add-to-wishlist-button {
    background: #ec688d !important;
}

p#swym-create-list-title {
    padding: 15px 0px 0px 0px;
}

button#swym-custom-confirm-list-button {
    background: #ec688d !important;
}

.swym-share-wishlist-login-modal-dialog {
    border-radius: 10px;
}

button.swym-login-btn.swym-button.swym-button-1.swym-is-button.swym-bg-2.swym-color-4 {
    border-radius: 10px;
}

.swym-clear-wishlist-modal-dialog {
    border-radius: 10px;
}

button.swym-clear-wishlist-btn.swym-button.swym-button-1.swym-is-button.swym-bg-2.swym-color-4 {
    border-radius: 10px;
}

button.swym-cancel-clear-wishlist-btn.swym-button.swym-button-2.swym-is-button.swym-color-2.swym-border-color-1 {
    border-radius: 10px;
}

.swym-duplicate-wishlist-modal-dialog {
    border-radius: 10px;
}

button.swym-duplicate-wishlist-btn.swym-button.swym-button-1.swym-is-button.swym-bg-2.swym-color-4 {
    border-radius: 10px;
}

input.swym-duplicate-list-name.swym-no-zoom-fix.swym-input.swym-input-1 {
    border-radius: 10px;
}

@media only screen and (max-width: 768px) {
    #swym-custom-collections-modal-parent {
        max-height: 80vh;
        overflow-y: auto;
    }

    #swym-multiple-wishlist-container {
        max-height: 150px;
        overflow-y: auto;
    }

    p#swym-custom-mobile-title {
        padding-top: 15px;
    }
}

label.swym-filter-labels.selected {
    background: #ec688d !important;
}
@media only screen and (max-width: 768px) {
div#swym-custom-images-slide-container {
    display: none !important;
}
    div#swym-custom-collections-modal-parent {
    bottom: 20%;
}
}
@media (max-width: 768px) {
    div#swym-custom-image-wrapper {
        display: none !important;
    }
}
div#swym-images-container {
    display: none !important;
}
div#swym-custom-vendor-title {
    font-size: 15px !important;
    margin-top: -20px;
    margin-bottom: 10px;
}

label.swym-custom-list-label {
    font-size: 12px !important;
}
