.img-banner {
    width: 100%;
    display: block;
    border-radius: 30px;
    height: 950px;
    object-fit: cover;
}

.banner-section {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 48px;
}

.custom-carousel-indicators button {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    opacity: 0.5;
    margin: 0 5px;
    transition: background-color 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
    border: 0 !important;

}

.custom-carousel-indicators button.active {
    width: 18px !important;
    height: 18px !important;
    background-color: #101088;
    border-color: #101088;
    opacity: 1;
    border: 0 !important;
}

.custome-text-banner {
    display: flex;
    margin-bottom: 100px;
    justify-content: space-between;
    align-items: center;
}

.text-banner-left {
    max-width: 430px;
}

.text-banner-right {
    max-width: 470px;
}

.welcome-text {
    font-weight: 600;
    font-size: 55px;
    line-height: 75px;
    color: #EDECDF;
    margin-bottom: 0;
}

.text-novatek {
    font-weight: bold;
    font-size: 55px;
    line-height: 75px;
    color: #FFFFFF;
}

.description-text {
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #FFFFFF;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.explore-btn {
    background: linear-gradient(90deg, #E3DBCE 0%, #F8F2EE 100%);
    border: none;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    padding: 7px 18px;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    color: #372E21;
    text-decoration: none;
    cursor: pointer;
}

.explore-btn:hover,
.explore-btn:active,
.explore-btn:focus,
.explore-btn:focus-visible {
    color: #372E21;
    text-decoration: none;
}

.box-text-mid {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 57px;
    line-height: 64px;
    letter-spacing: -0.25px;
    color: #000000;
    text-align: start;
    width: 610px;
    margin: 0 auto;
    margin-top: 100px;

}

.custome-text-mid {
    color: #101088;
    font-weight: bold;
}

.text-mid {
    margin: 0;
}

.box-we-are {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 50px;

}

.img-we-are {
    width: 545px;
    height: 290px;
    border-radius: 15px;
}

.we-are-right {
    padding: 45px;
    margin-left: 10px;
    background: #EFEAE4;
    border-radius: 15px;
}

.title-right {
    font-weight: 400;
    font-size: 30px;
    line-height: 41px;
    color: #000000;
}

.content-right {
    font-weight: 400;
    font-size: 15px;
    line-height: 200%;
    color: #000000;
}

.about-us {
    background: linear-gradient(90deg, #E0DBD0 0%, #C8B395 100%);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    color: #372E21;
    padding: 7px 18px;
    border: none;
    text-decoration: none;
    cursor: pointer;
}

.about-us:hover,
.about-us:active,
.about-us:focus,
.about-us:focus-visible {
    color: #372E21;
    text-decoration: none;
}

.box-our-product {
    margin-top: 50px;
    padding: 100px;
}


/* --- Products Section --- */
.products-section {
    padding: 80px 0;
    /* Padding trên dưới cho section */
    background: linear-gradient(261.17deg, #CAB9A9 2.67%, #F7F8F2 95.19%);
    margin-top: 100px;
}

.products-section .custom-container {
    max-width: 1400px;
    /* Đặt chiều rộng tối đa cho container lớn hơn */
    margin: 0 auto;
    /* Căn giữa container */
    padding: 0 15px;
    /* Padding ngang */
    margin: 0 auto
}

.section-title {
    text-align: center;
    /* Căn giữa tiêu đề */
    font-weight: 400;
    font-size: 57px;
    line-height: 64px;
    text-align: center;
    letter-spacing: -0.25px;
    color: #000000;
}

.sub-title-product {
    font-style: normal;
    font-weight: 700;
    font-size: 57px;
    line-height: 64px;
    letter-spacing: -0.25px;
    color: #101088;
}


/* Product Categories (Collection Filters) */
.product-categories {
    display: flex;
    justify-content: space-around;
    /* Căn giữa các nút */
    flex-wrap: wrap;
    /* Cho phép xuống dòng trên mobile */
    gap: 15px;
    /* Khoảng cách giữa các nút */
    margin-bottom: 60px;
    width: 100%;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.category-btn {
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    text-align: center;
    color: #918989;
    text-decoration: none;
}

.category-btn:focus,
.category-btn:active,
.category-btn:hover,
.category-btn:visited,
.category-btn:link {
    color: #918989;
    text-decoration: none;
}

.all-product-btn:focus,
.all-product-btn:active,
.all-product-btn:hover,
.all-product-btn:visited,
.all-product-btn:link {
    color: #918989;
    text-decoration: none;
}

.catalouge-btn:focus,
.catalouge-btn:active,
.catalouge-btn:hover,
.catalouge-btn:visited,
.catalouge-btn:link {
    color: #918989;
    text-decoration: none;
}

.category-active {
    font-weight: 700;
    font-size: 15px;
    line-height: 20px;
    text-decoration-line: underline !important;
    color: #000000 !important;
}

.all-product-btn,
.catalouge-btn {
    font-weight: bold;
    font-size: 12px;
    line-height: 16px;
    color: #372E21;
    background: linear-gradient(90deg, #E0DBD0 0%, #C8B395 100%);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    padding: 6px 5px;
    width: 94px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Product Carousel & Grid */
#productCarousel {
    position: relative;
    padding: 0 60px;
    /* Thêm padding để mũi tên không bị dính sát cạnh */
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 cột bằng nhau */
    gap: 30px;
    /* Khoảng cách giữa các sản phẩm */
    padding: 20px;
    /* Khoảng cách cho các product card bên trong slide */
}

.product-image-wrapper {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.product-name {
    font-weight: 700;
    font-size: 18px;
    line-height: 25px;
    color: #000000;
}

.product-spec {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #000000;
}

.view-detail-btn {
    background: #101088;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    color: #FFFFFF;
    padding: 7px 17px;
    border: none;
}

.view-detail-btn:focus,
.view-detail-btn:active,
.view-detail-btn:hover,
.view-detail-btn:visited,
.view-detail-btn:link {
    color: #FFFFFF;
    text-decoration: none;
    background: #101088;

}

/* Custom Carousel Controls (Mũi tên) */
.custom-control-prev,
.custom-control-next {
    width: 50px;
    /* Kích thước của nút mũi tên */
    height: 50px;
    background: none !important;
    border: 1px solid #000 !important;
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    /* Luôn hiển thị */
    transition: background-color 0.3s ease;
}

.custom-control-prev {
    left: 0;
    /* Đặt mũi tên trái ở lề trái */
}

.custom-control-next {
    right: 0;
    /* Đặt mũi tên phải ở lề phải */
}

.custom-control-prev:hover,
.custom-control-next:hover {
    background-color: rgba(255, 255, 255, 1);
    /* Nền trắng mờ hơn khi hover */
}

.custom-control-prev-icon,
.custom-control-next-icon {
    /* Đảm bảo màu icon là màu đen (#000) */
    background-image: url('../../img/icon-left.png') !important;
    width: 30px !important;
    /* Kích thước icon */
    height: 30px !important;
}

/* Đảo ngược icon cho mũi tên phải và đổi màu sang đen */
.custom-control-prev-icon {
    background-image: url('../../img/icon-left.png') !important;
    transform: scaleX(-1);
}

.box-you-should {
    width: 100%;
    margin: 0 auto;
    background-color: #EFEAE4;
    padding: 70px;
}

.content-box-you-should {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.title-you-should {
    font-weight: 400;
    font-size: 57px;
    line-height: 64px;
    letter-spacing: -0.25px;
    color: #000000;
}

.custome-title-you-should {
    font-weight: 700;
    color: #101088;
}

.content-should {
    display: flex;
    margin-top: 30px;
    justify-content: space-between;
}

ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

li {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 27px;
    color: #000000;
    position: relative;
    padding-left: 20px;
    margin-bottom: 30px;
}

li:last-child {
    margin-bottom: 0;
}

li::before {
    content: "•";
    font-size: 30px;
    color: black;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.box-should-left {
    width: 100%;
    display: flex;
    justify-content: space-around;
}


.box-should-right {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-left: 50px;
}

.title-contact {
    font-weight: 200;
    font-size: 30px;
    line-height: 41px;
    color: #000000;
}

.input-contact {
    width: 245px;
    background: #FFFFFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    border: none;
    padding: 5px;
    margin-right: 5px;
}

.btn-send {
    background: linear-gradient(90deg, #E0DBD0 0%, #C8B395 100%);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    color: #372E21;
    padding: 9px 32px;
    border: none;
}

.box-contact {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

input::placeholder {
    text-align: center;
    opacity: 0.5;
}

.text-contact {
    font-weight: 200;
    font-size: 20px;
    line-height: 27px;
    color: #000000;
    margin: 0;
}

.box-certificate {
    background-color: #fff;
}

.item-certificate img {
    width: 75px;
    height: 75px;
}

.img-certificate {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.box-title-product-sp {
    display: none;
}

.box-category-sp {
    display: none;
}

.box-btn-product-sp {
    display: none;
}

@media (max-width: 991px) {
    .carousel-caption {
        display: flex;
        justify-content: flex-end;
        top: 10%;
        left: 50%;
        transform: translate(-50%, -5%);
        z-index: 3;
        width: 100%;
        max-width: 420px;
        padding: 0 15px;
    }

    .banner-section {
        width: 100%;
        height: 100vh;
        /* banner-section chiếm toàn bộ chiều cao màn hình */
        position: relative;
        display: flex;
        /* Biến banner-section thành flex container để #bannerCarousel có 100% height */
        flex-direction: column;
        padding-top: 82px;
    }

    .custome-text-banner {
        flex-direction: column;
        margin-bottom: 50px;
    }

    .text-banner-left {
        margin-bottom: 100px;
        text-align: center;
    }

    .text-banner-right {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .welcome-text {
        font-size: 55px;
    }

    .description-text {
        font-size: 15px;
    }

    .explore-btn {
        font-size: 12px;
    }

    #bannerCarousel {
        width: 100%;
        height: 100%;
        /* Đảm bảo nó chiếm đủ chiều cao từ flex-grow */
        position: relative;
        /* Quan trọng cho việc định vị các lớp con */
        flex-grow: 1;
        overflow: hidden;
    }

    .carousel-inner-slide {
        width: 100%;
        height: 100%;
        position: relative;
        overflow: hidden;
    }

    .carousel-item-custome {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        flex-direction: column;
    }

    .carousel-item.active {
        opacity: 1;
        /* Hiển thị */
        z-index: 2;
        /* Đảm bảo active item luôn ở trên cùng */
    }

    .img-banner {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        border-radius: 0;
    }

    .box-text-mid {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        margin-top: 50px;
        font-size: 30px;
    }

    .box-we-are {
        width: 100%;
        max-width: 450px;
        padding: 0 25px;
        margin-top: 25px;
        display: flex;
        flex-direction: column;
    }

    .img-we-are {
        width: 100%;
        height: auto;
    }

    .we-are-right {
        margin-left: 0;
        padding: 30px 15px;
    }

    .products-section {
        margin-top: 50px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cột bằng nhau */
        justify-items: center;
    }

    .product-card {
        text-align: center;
    }

    .product-categories {
        display: none;
    }

    .box-title-product-sp {
        display: flex;
        justify-content: center;
    }

    .products-section {
        padding: 40px 0;
    }

    .section-title,
    .sub-title-product {
        font-size: 30px;
        line-height: 36px;
    }

    .box-category-sp {
        display: flex;
    }

    .category-list-inner {
        display: flex;
        justify-content: space-evenly;
        width: 100%;
    }

    .box-btn-product-sp {
        display: flex;
        justify-content: flex-end;
        margin-top: 30px;
    }

    .all-product-btn {
        margin-right: 30px;
    }

    .box-you-should {
        padding: 50px 20px;
    }

    .title-you-should,
    .custome-title-you-should {
        font-weight: 400;
        font-size: 30px;
        line-height: 36px;
        text-align: center;
    }

    .box-should-right {
        display: none;
    }

    .box-should-left {
        width: 100%;
    }

    .box-certificate {
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom: 50px;
    }

    .item-certificate img {
        width: 35px;
        height: 35px;
    }

    .box-should-left {
        justify-content: space-around;
    }

    li {
        font-size: 15px
    }
}

@media (max-width: 767px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .category-list-inner {
        justify-content: space-around;
    }

    .box-should-left {
        justify-content: space-between;
    }

    .box-we-are {
        max-width: 1200px;
    }

    .title-you-should {
        text-align: start;
    }
}

@media (max-width: 440px) {
    .box-category-sp {
        overflow-x: scroll;
        white-space: nowrap;
        padding: 10px 0;
        box-sizing: border-box;
        flex-shrink: 0;
        min-width: 0;
    }
    .product-spec {
        font-size: 10px;
    }
}