/* Slick */
.slick-next::before, .slick-prev::before {
    content: none;
}
        
.slick-dots li button:before {
    font-size: 40px;
}
        
.slick-dots li.slick-active button:before {
     color: #4DCBA3
}

.sub-images-slide-wrapper .slick-slide{
    margin: 0 15px;
}

.download-file{
    cursor: pointer;
}

button.disabled{
    opacity: .5;
    pointer-events: none;
}

.product-slide-wrapper .product-text{
    font-size: 0.5rem;
    min-height: 45px;
}

.card-sku-code,
.product-slide-wrapper .product-text{
    @supports (-webkit-line-clamp: 2) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: initial;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

.product-slide-wrapper .slick-arrow{
    z-index: 1;
    width: 35px;
    height: 40px;
    color: darkgray;
    font-size: 30px;
    border: none;
    cursor: pointer;
}

.product-slide-wrapper .product-price{
    font-size: 0.75rem;
}

.product-image{
    height: 150px;
    object-fit: contain;
    width: 100%;
}

.sub-image-wrapper.active{
    border: 3px solid #4DCBA3;
}

.sub-image-wrapper{
    height: 100px;
    border-radius: 8px;
    cursor: pointer;
}

.main-image-wrapper{
    height: 500px;
    border-radius: 8px;
}

.sub-image-wrapper,
.main-image-wrapper{
    background-color: white;
}

.sub-image-wrapper img,
.main-image-wrapper img{
    object-fit: contain;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.main-image-wrapper img{
    object-fit: contain;
    width: 100%;
    height: 100%;
}

#main,
#relate_products{
    background-color: rgb(242, 242, 242);
}

#main .add-to-like-wrapper{
    text-align: right;
}

#main .discounted-price,
#main .detail-topic{
    color: #4DCBA3 !important;
}

#main .btn-add-to-cart{
    color: white;
    background-color: #4DCBA3;
    cursor: pointer;
}

#main .btn-buy-now{
    color: white;
    background-color: #F46B5B;
    cursor: pointer;
}

#main .product-name-detail,
#main .product-price-detail{
    font-size: 1.25rem;
}

#main .small-text{
    font-size: 1rem;
}

#main .small-text{
    color: #383838;
}

#main .btn-add-to-cart,
#main .btn-buy-now{
    border: none;
    border-radius: 8px;
    width: 100%;
    height: 60px;
    font-size: 18px;
}

.sub-images-slide-wrapper .slick-arrow{
    z-index: 1;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    filter: drop-shadow(0px 24px 50px rgba(0,0,0,0.1 ));
    background: #ffffff;
    color: #4DCBA3;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.net-text{
    color: #A7A7A7;
}

.select-wrapper{
    width: 50%;
    position: relative;
}

.select-wrapper.hide-alert{
    opacity: 0;
}

.select-wrapper select,
.custom-alert{
    width: 100%; 
    height: 60px;
    border: none;
    text-align: center;
    border-radius: 8px;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    z-index: 3;
}

/* .select-wrapper::before{
    content: '';
    position: absolute;
    z-index: 1;
    right: 0;
    top: 0;
    width: 20%;
    height: 60px;
    background-color: #4DCBA3;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    pointer-events: none;
}

.select-wrapper::after{
    content: '';
    position: absolute;
    z-index: 2;
    width: 8px;
    height: 8px;
    border-right: 2px solid #fafafa;
    border-bottom: 2px solid #fafafa;
    transform: rotate(45deg);
    margin-top: -6px;
    right: 15px;
    top: 50%;
} */

.quantity-wrapper{
    width: 50%;
    position: relative;
}

.quantity-wrapper input{
    width: 100%; 
    height: 60px;
    border: none;
    text-align: center;
}

.btn-quantity{
    cursor: pointer;
}

.quantity-wrapper .btn-quantity.minus{
    position: absolute;
    height: 60px; 
    width: 20%;
    background-color: #D0D0D2;
    color: #383838;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    font-size: 24px;
    top: 0;
    left: 0;
}

.quantity-wrapper .btn-quantity.add{
    position: absolute;
    height: 60px; 
    width: 20%;
    background-color: #4DCBA3;
    color: white;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    font-size: 24px;
    top: 0;
    right: 0;
}

.mt-5rem{
    margin-top: 5rem;
}

.main-image-wrapper{
    position: relative;
}

.image-slide-arrow{
    font-size: 1rem;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px;
    color: #4DCBA3;
    transition: all .125s ease-in-out;
}

.image-slide-arrow:hover{
   background-color: #4DCBA3;
   color: white;
   border-radius: 3px;
}

.image-slide-arrow.prev{
    left: 0;
}

.image-slide-arrow.next{
    right: 0;
}

@media (min-width: 576px){
    .select-wrapper::after{
        right: 20px;
    }
}

@media (min-width: 992px) {
    .image-slide-arrow{
        display: none;
    }
    
    .quantity-wrapper{
        width: 190px;
    }

    .quantity-wrapper input{
        width: 100%;
    }

    .quantity-wrapper .btn-quantity.minus{
        width: 20%;
    }
    
    .quantity-wrapper .btn-quantity.add{
        width: 20%;
    }
    
    .select-wrapper::before{
        width: 20%;
    }

    .select-wrapper::after{
        right: 20px;
    }
    
    .select-wrapper,
    .select-wrapper select{
        width: 240px;
    }

    #main .add-to-like-wrapper{
        text-align: left;
    }

    .slick-arrow,
    .slick-dots {
        display: inline-block !important;
    }

    .sub-image-wrapper{
        height: 100px;
        width: 100%;
        /* width: 135px; */
    }
    
    .main-image-wrapper{
        height: 300px;
        width: 100%;
        /* width: 530px; */
    }

    #main .small-text,
    #main .btn-add-to-cart,
    #main .btn-buy-now{
        font-size: 18px;
    }

    #main .btn-add-to-cart,
    #main .btn-buy-now{
        height: 60px;
        width: 240px;
    }

    #main .product-name-detail,
    #main .product-price-detail{
        font-size: 30px;
    }
}

@media (min-width: 1200px) {
    .quantity-wrapper{
        width: 240px;
    }
    
    .select-wrapper,
    .select-wrapper select{
        width: 330px;
    }

    #main .btn-add-to-cart,
    #main .btn-buy-now{
        width: 330px;
    }

    .select-wrapper::after{
        right: 30px;
    }

    .quantity-wrapper .btn-quantity.minus{
        font-size: 36px;
    }
    
    .quantity-wrapper .btn-quantity.add{
        font-size: 36px;
    }

    .select-wrapper::after{
        width: 10px;
        height: 10px;
        border-right: 3px solid #fafafa;
        border-bottom: 3px solid #fafafa;
    }
}

@media (min-width: 1400px){
    .sub-image-wrapper{
        height: 135px;
        width: 135px;
    }
    
    .main-image-wrapper{
        height: 530px;
        width: 530px;
    }
}