/*-------------------------------------------
    CART SIDEBAR
-------------------------------------------*/
.cartSidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: white;
    transition: right 0.5s ease;
    z-index: 1050;
    overflow: scroll;
}

.cartSidebar.open {
    right: 0;
}

.bg-cart-sidebar {
    display: none;
}

.bg-cart-sidebar.open {
    display: block;
}

.obf-link-interne.type-a, .obf-link-externe.type-a {
    font-weight: 800;
    color: var(--primary-color);
}

/*-------------------------------------------
    LOADER
-------------------------------------------*/
.container-loader-cart {
    height: 100%;
    background: #5454544f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container-loader-cart.hidden {
    display: none;
}

.loader {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 3em;
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

.loader,
.loader:before,
.loader:after {
    animation: 1s infinite ease-in-out;
}

.loader:before,
.loader:after {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Loader 8 */
.loader-8:before,
.loader-8:after {
    content: '';
    background-color: #333;
    transform: scale(0);
    animation: loader8 1.5s infinite ease-in-out;
}

.loader-8:after {
    animation-delay: 0.75s;
}

@keyframes loader8 {
    0% {
        transform: translateX(-100%) scale(0);
    }

    50% {
        transform: translateX(0%) scale(1);
    }

    100% {
        transform: translateX(100%) scale(0);
    }
}


/*-------------------------------------------
    SEARCH FORM
-------------------------------------------*/
#search-form {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    background: var(--primary-color);
    height: 10rem;
    transform: translateY(-100%);
    z-index: 1;
}

#search-form input {
    margin: auto;
    position: absolute;
    left: 25%;
    width: 50%;
    top: 25%;
}

#search-form .button-close-searchbar {
    position: absolute;
    bottom: 5%;
    left: 50%;
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

/*-------------------------------------------
    CUSTOMIZATION
-------------------------------------------*/
.customization{
    transform: translateY(-100%);
}

/*-------------------------------------------
    REVIEWS PRODUCT
-------------------------------------------*/
.tab-content {
    min-height: 30vh;
    padding: 1rem 3rem;
}

.tab-content#reviews {
    /* overflow-y: scroll; */
}

.tab-content.current {
    display: block !important;
}

.star-container {
    position: relative;
    width: 20px;
    height: 20px;
    overflow: hidden;
}

.star-background,
.star-foreground svg {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star-foreground {
    overflow: hidden;
    position: absolute;
    height: 100%;
}

/*-------------------------------------------
    ANIMATIONS
-------------------------------------------*/
.slideInDown {
    -webkit-animation-name: slideInDown;
    animation-name: slideInDown;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes slideInDown {
    0% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

.slideOutUp {
    -webkit-animation-name: slideOutUp;
    animation-name: slideOutUp;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes slideOutUp {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}

@keyframes slideOutUp {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        visibility: hidden;
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}

@keyframes slideInDown {
    0% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
        visibility: visible;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

/*-------------------------------------------
    MODALS
-------------------------------------------*/

/* The Modal (background) */
.modal {
    display: none;
    position: fixed; 
    z-index: 1; 
    padding-top: 100px; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0, 0, 0); 
    background-color: rgb(0 0 0 / 60%) 
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 900px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

#modalPopup.show {
    display: flex;
}

#modalSize.show {
    display: flex;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }
    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and(max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

#Additional-sizing table{
    font-size: .875rem;
    line-height: 1.25rem;
    border-collapse: collapse;
    table-layout: auto;
    width: 100%;
    text-indent: 0;
    border-color: inherit;
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
    --tw-shadow: 0 1px 2px 0 #0000000d;
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    margin: 2rem 0;
}

#Additional-sizing thead {
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
}

#Additional-sizing th {
    padding: 1rem 0;
    background: #ececec;
}

#Additional-sizing td {
    --tw-text-opacity: 1;
    color: rgb(100 116 139 / var(--tw-text-opacity));
    padding-left: 2rem;
    padding: 1rem;
    --tw-border-opacity: 1;
    border-color: rgb(241 245 249 / var(--tw-border-opacity));
    border-bottom-width: 1px;
    display: table-cell;
    vertical-align: middle;
    unicode-bidi: isolate;
    text-align: center;
}