﻿.banner {
    max-height: 400px;
}
.banner video {
    position:absolute;/*ADD 29/01/2026*/
    width: 100%;
    height: auto;
    max-height: 400px;
    display: block;
    object-fit: cover;
}



.banner-tiltle {
    font-size: 48px
}

.banner-inner {
    width: 100%;
    background: #F8F9FA;
    box-shadow: #afd6bc 0.5px 1px 0px;
}



.banner-content-item {
    width: 50%;
    max-height: 400px;
    margin: 116px; /*add 29/01/2026*/

}

@media (max-width: 576px) {
    .banner-content {
        border-radius: 12px;
        height: 220px;
    }

    .banner video {
        position: absolute;
        height: 100%;
        border-radius: 12px
    }

    .carousel .banner-title {
        font-size: 20px;
    }



    .banner-content-item {
        width: 100%;
        max-height: 140px;
        margin: 0;/*add 29/01/2026*/
    }

        .banner-content-item .btn {
            width: 80px;
        }
}
/*
.banner-control-prev-icon,
.banner-control-next-icon {
    width: 2rem;
    height: 2rem;
}*/
.banner-item {
    transition: transform 1s ease-in-out;
    position:relative;/*ADD 29/01/2026*/
}

.carousel {
    width: 50%;
    max-height: 400px
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    width: 100%;
    height: 100%;
}

.carousel-content {
    height: 100%;
    max-height: 400px
}


@media (max-width: 576px) {
    .carousel {
        width: 100%;
        max-height: 400px
    }

    #carouselExampleSlidesOnly {
        margin-bottom: auto;
        margin-top: auto;
    }

        #carouselExampleSlidesOnly .carousel-content-item {
            padding: 12px;
            background: rgba(255,255,255,0.6);
            border-radius: 12px;
        }
}
/* Custom Carousel Styles */
.js-carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 0 50px;
    margin: 20px 0;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}

    .carousel-track .card-item {
        flex-shrink: 0;
        box-sizing: border-box;
    }

        .carousel-track .card-item:last-child {
            margin-right: 0;
        }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--green-default, #4CAF50);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

    .carousel-btn i {
        width: 24px;
        height: 24px;
        text-align: center;
        font-size: 24px;
        line-height: 1;
        margin: 0;
        padding: 0;
        display: block;
        position: relative;
        top: 0;
        left: 0;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .carousel-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

    .carousel-btn:hover:not(:disabled) {
        background-color: #45a049;
    }
.banner-subtitle {
    color: #fff;
}
.group-name-product {
    margin-top: 12px;
}
/* product featured 30/01/2026 begin */
.container-product-featured {
    max-width: 1200px;
    margin: auto;
    margin-top: 30px;
}

.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    margin-top: 30px;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.price .old {
    text-decoration: line-through;
    color: #999;
}

.price .new {
    color: #0a7c3e;
    font-weight: bold;
}

button {
    background: #0a7c3e;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
}
.card-img {
    height: 200px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    overflow: hidden;
}
.card-body {
    padding: 16px;
}

.title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #444;
}

.old-price {
    text-decoration: line-through;
    color: #aaa;
    font-size: 14px;
}

.new-price {
    color: #0a7c3e;
    font-weight: 700;
}
.card button {
    width: 100%;
    background: #0a7c3e;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    /*margin-top: 12px;*/
}

/*product featured 30/01/2026 end */

@media (max-width: 768px) {
    .banner video {
        max-height: 220px;
    }

    .carousel .banner-title {
        font-size: 20px;
    }

    .banner-content-item {
        width: 100%;
        max-height: 220px;
        margin-top: -4px; /*ADD 29/01/2026*/
    }

    .banner-content-item .btn {
        width: 100px;
    }
}
/* Responsive adjustments */
@media (max-width: 1200px) {
    .carousel-track .card-item {
        margin: 0 16px 0 0;
    }
}

@media (max-width: 768px) {
    .js-carousel-wrapper {
        padding: 0 30px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .js-carousel-wrapper {
        padding: 0 20px;
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}
