@keyframes fadeOut{
    from { opacity: 1; }
    to { opacity: 1; }
}

.slick-next::before, .slick-prev::before {
    content: none;
}
    
.slick-dots li button:before {
    font-size: 25px;
}

.image-slide-wrapper .slick-dots{
    bottom: 5%;
}

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

.image-slide-wrapper .slick-arrow{
    position: absolute;
}

.image-slide-wrapper .slick-prev{
    left: 0;
}

.image-slide-wrapper .slick-next{
    right: 0;
}

.slide-image img {
    object-fit: cover;
    /* height: 600px; */
    width: 100%;
}

.promotion-slide-wrapper .slick-dots li button:before {
    padding-top: 25px;
}

.category-slide-wrapper .slick-slide,
.tools-slide-wrapper .slick-slide,
.news-slide-wrapper .slick-slide,
.promotion-slide-wrapper .slick-slide{
    margin: 0 10px;
}

.brand-slide-wrapper .slick-slide{
    margin: 0 5px;
}

#image_slider,
#product,
#category,
#news{
    background-color: rgb(242, 242, 242);
}

.topic{
    font-size: 1rem;
}

.see-all-btn a{
    font-size: 0.6rem;
    text-decoration: none;
    color: #4DCBA3;
    font-weight: 500;
}

.add-to-cart,
.add-to-favourite{
    cursor: pointer;
}

#news .sub-news .title{
    font-size: 0.75rem;
    min-height: 45px;
    font-weight: 500;
    color: #383838;

    @supports (-webkit-line-clamp: 2) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: initial;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

.custom-category-font{
    text-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

#category .en-name{
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 1.125rem;
    padding-left: 1.3rem;
    padding-right: 1.3rem;
    color: white;
    font-size: 0.75rem;
}

#category .category-card{
    cursor: pointer;
}

.empty-promotion-button{
    background-color: white;
    border: 2px solid #4DCBA3;
    color: #00895e;
}

.empty-promotion-button:hover{
    background-color: #4DCBA3;
    border: 2px solid #4DCBA3;
    color: white;
}

#news img{
    border-radius: 16px;
}

#news .main-news .title{
    font-size: 0.85rem;
    font-weight: 500;
    min-height: 45px;
    color: #383838;

    @supports (-webkit-line-clamp: 2) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: initial;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

#news .main-news .date,
#news .sub-news .date{
    font-size: .70rem;
    font-weight: normal;
    color: #686868;
}

#news .sub-news .title{
    min-height: 40px !important;
}

#brand .image-wrapper{
    height: 160px;
    border-radius: 5px;
    background-color: white;
}

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

#promotion .image-wrapper{
    height: 350px;
    border-radius: 16px;
    background-color: transparent;
}

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

#promotion .promotion-slide-wrapper .date{
    font-size: .7rem;
    font-weight: normal;
}

.image-with-text {
    margin-top: 50px;
    background-size: cover;
    background-position: center;
    height: 500px;
    position: relative; 
    background-color: rgba(0, 0, 0, 1.2);
    border-radius: 40px;
}

.image-with-text.left {
    background-image: url('../../images/local/cat_left.png'); 
}

.image-with-text.right {
    background-image: url('../../images/local/cat_right.png'); 
}

.text-container {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white; 
    width: 100%;
}

.text-container div {
    font-size: 1.85rem;
    margin-bottom: 10px; 
}

.text-container p {
    font-size: 1rem;
    @supports (-webkit-line-clamp: 2) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: initial;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

.image-with-text .text-container button{
    font-size: 1rem;
    width: 70%;
    height: 60px;
    border-radius: 8px;
    border: none;
    background-color: #F2F2F2;
    color: #42A385;
}

/* .floating-social {
    position: fixed;
    bottom: 40px;
    right: 10px;
    cursor: pointer;
    z-index: 2;
}

.floating-social img,
.text-round{
    width: 45px;
    height: 45px;
    opacity: .9;
}


.floating-warranty{
    bottom: 125px;
}

.floating-phone{
    bottom: 75px;
}

.floating-line{
    bottom: 25px;
}

.floating-messenger{
    bottom: 25px;
}

.floating-tax{
    bottom: 175px;
}

.text-round{
    background-color: #ffc18e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #3a3a3a;
    font-size: 9px;
}

.text-round.warranty{
    background-color: #afc5ff;
} */

/* for-desktop-up */
@media (min-width: 1200px) {
    .image-with-text {
        margin-top: 100px;
    }

    .text-container div {
        font-size: 46px;
    }
    
    .text-container p {
        font-size: 18px;
        @supports (-webkit-line-clamp: 2) {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: initial;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
    }

    /* .text-round{
        width: 89px;
        height: 89px;
        font-size: 1rem;
    }

    .text-container button {
        width: 331px;
        font-size: 18px;
    }

    .floating-social {
        right: 35px;
    }

    .floating-social img {
        width: 89px;
        height: 89px;
    }

    .floating-tax {
        bottom: 325px;
    }

    .floating-warranty {
        bottom: 225px;
    }

    .floating-phone {
        bottom: 125px;
    }

    .floating-line {
        bottom: 25px;
    } */

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

    .image-slide-wrapper .slick-arrow {
        z-index: 1;
        width: 80px;
        height: 80px;
        background-color: #4DCBA3;
        color: #fff;
        font-size: 32px;
        border: none;
        cursor: pointer;
        transition: background-color 0.15s, color 0.15s;
    }
    
    .image-slide-wrapper .slick-arrow:before {
        font-size: 30px;
    }
    
    .image-slide-wrapper .slick-arrow:hover,
    .image-slide-wrapper .slick-arrow:focus {
        background-color: #4DCBA3;
        color: white;
    }
    
    .image-slide-wrapper .slick-arrow:active{
        background-color: white;
        color: #4DCBA3;
    }

    .news-slide-wrapper .slick-arrow,
    .promotion-slide-wrapper .slick-arrow{
        z-index: 1;
        border-radius: 30px;
        width: 30px;
        height: 30px;
        color: #4DCBA3;
        border: 1px solid #4DCBA3;
        background-color: white;
        font-size: 20px;
        cursor: pointer;
        transition: background-color 0.15s, color 0.15s;
        opacity: 0.8;
    }

    .news-slide-wrapper .slick-prev,
    .promotion-slide-wrapper .slick-prev{
        padding-right: 2.5px;
    }

    .news-slide-wrapper .slick-next,
    .promotion-slide-wrapper .slick-next{
        padding-left: 2.5px;
    }

    .promotion-slide-wrapper .slick-prev{
        left: 20px;
    }

    .promotion-slide-wrapper .slick-next{
        right: 20px;
    }

    .news-slide-wrapper .slick-arrow:hover,
    .promotion-slide-wrapper .slick-arrow:hover{
        color: white;
        border: 1px solid white;
        background-color: #4DCBA3;
    }

    .slick-dots li button:before {
        font-size: 40px;
    }

    .topic{
        font-size: 30px;
    }

    .see-all-btn a,
    #news .sub-news .title{
        font-size: 24px;
    }

    #news .main-news .title{
        font-size: 24px;
    }
   
    #news .sub-news .date,
    #news .main-news .date{
        font-size: 18px;
    }

    #promotion .promotion-slide-wrapper .date{
        font-size: 18px;
    }

    #category .en-name{
        padding-left: 2rem;
        padding-right: 2rem;
        font-size: 30px;
    }

    .custom-fs-1{
        font-size: 1px !important;
    }

    /* #category .category-card img{
        height: 416px;
    } */
    
}

/* for-medium-desktop-up */
@media (min-width: 1400px) {

}


/* for-big-desktop-up */
@media (min-width: 1800px) {

}