* {
    transition: background-color 300ms ease, color 300ms ease;
}

*:focus {
    outline: none;
}

:root{
	--blue: #0d6efd;
}

html,
body {
    color: rgba(33, 37, 41, 1);
    font-family: arial !important;
    font-size: 16px;
    margin: 0;
    padding-top: 70px;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.banner {
    position: relative;
    width: 100%;
    height: auto;
}

/* .banner:before {content:""; display:block; width:100%; /* padding-top:39.473%; * padding-top:40.4%; } */
.banner .owl-carousel {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.banner .square-image {
    position: relative;
    display: block;
}

.banner .square-image:before {
    content: "";
    display: block;
    width: 100%;
    height: auto;
    padding-top: 40.4%;
}

.banner .square-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.banner .owl-carousel .owl-nav {
    display: inline-block;
}

.banner .owl-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.banner .owl-carousel .owl-nav button.owl-next {
    left: unset;
    right: 0;
}

.banner .owl-carousel .owl-nav button i {
    color: var(--brown);
    font-size: 2em;
}

header {
    background-color: white;
    /* padding: .4rem 0 0; */
}

header li.list-group-item a:hover,
header li.list-group-item a:focus {
    background-color: rgba(221, 72, 20, .2);
    color: rgba(221, 72, 20, 1);
}

header li {
}

header li a {
    color: black !important;
	height: 44px;
    text-decoration: none;
}

header .navbar.navbar-light {
    height: 65px;
    padding: 0;
}

header .navbar.navbar-light .navbar-brand img {
    height: 60px;
    width: auto;
}

section {
    margin: 0 auto;
    max-width: 1200px;
    padding: 1rem 1rem 2rem 1rem;
}

section h2 {
    font-size: 120%;
    line-height: 2.5rem;

}

section pre {
    background-color: rgba(247, 248, 249, 1);
    border: 1px solid rgba(242, 242, 242, 1);
    display: block;
    font-size: .9rem;
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    white-space: pre-wrap;
    word-break: break-all;
}

section code {
    display: block;
}

section a {
    color: rgba(221, 72, 20, 1);
}

section svg {
    margin-bottom: -5px;
    margin-right: 5px;
    width: 25px;
}

.wrap-home .mb-5 {
    margin: 50px 0 !important;
}

.about-us .wrap-content .row {
    display: flex;
    flex-direction: column-reverse;
}

.further {
    background-color: rgba(247, 248, 249, 1);
    border-bottom: 1px solid rgba(242, 242, 242, 1);
    border-top: 1px solid rgba(242, 242, 242, 1);
}

.further h2:first-of-type {
    padding-top: 0;
}

.svg-stroke {
    fill: none;
    stroke: #000;
    stroke-width: 32px;
}

footer {
    background-color: rgba(221, 72, 20, .8);
    text-align: center;
}

footer .environment {
    color: rgba(255, 255, 255, 1);
    padding: 2rem 1.75rem;
}

footer .copyrights {
    background-color: rgba(62, 62, 62, 1);
    color: rgba(200, 200, 200, 1);
    padding: .25rem 1.75rem;
}
footer .my-auto a  { color:#FFF; }

.nav-footer { padding:0!important; }
.nav-footer .nav-item { text-align:center!important; }
.nav-footer li, .nav-footer li a { padding:0!important; }

#searchInput {
    display: none;
    transition: all 0.3s ease-in-out;
}

/* ----Bottom bar----- */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #222;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.bottom-bar a {
    color: white;
    text-decoration: none;
    text-align: center;
    flex: 1;
    padding: 10px;
}

.bottom-bar a i {
    font-size: 20px;
    display: block;
    margin-bottom: 5px;
}

#bottom-bar {
	display:none;
    font-size: 11px;
    white-space: nowrap;
}

/* Hover effect */
.bottom-bar a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Nút scroll lên */
.scroll-top {
    position: fixed;
    bottom: 10px;
    right: 17px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 5px;
    display: none;
    z-index: 9999;
    /* Ẩn mặc định */
}

/* Hiển thị khi scroll xuống */
.scroll-top.show {
    display: flex;

}

.hotline{ width:auto; height:65px; position:fixed; z-index:9999; bottom:10px; left:10px; display:block; background:url('/images/hotline_edit.gif') no-repeat top left; background-size:60px; padding-left:65px; padding-top:1.2em; }
.hotline span{ display:none; font-size:1.3em; font-weight:bold; color:#FFF; background-color:#F00; text-transform:uppercase; border-radius:10px; box-sizing:border-box; box-shadow:1px 1px 2px 0px #333; padding:5px 10px; }

/* -----Image contaniner------- */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
}



/* -----Giới thiệu MEIGAO----- */
.tilte-meigao {
    font-weight: 900;
    font-weight: bold;
    text-align: center;
}

/* GẠCH CHÂN */
.underline-title {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    position: relative;
}

.underline-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    /* Độ dày */
    background-color: orange;
    /* Màu gạch */
    margin-top: 7px;
    /* Khoảng cách giữa chữ và gạch */
}

.gioi-thieu-meigo {
    font-weight: bold;
    font-size: 1.2em;
}

/* ---- Thanh tuu ---- */
.wrap-home .wrap-meigao-thanh-tuu.mb-5 {
    text-align: center;
    background-image: url(../images/bgr-kn.png);
    color: white;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 40px !important;
    margin-bottom: 40px !important;
}

/* Dùng Grid để căn chỉnh */
.box-kn {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    /* Chia thành cột linh hoạt */
    max-width: 800px;
    margin: auto;
}

.thanh-tuu {
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 150px;
    /* Đảm bảo hình vuông */
}

.shiva {
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.count {
    font-size: 30px;
    font-weight: bold;
}

.plus {
    font-size: 30px;
}

.title {
    font-size: 18px;
    position: relative;
    padding-top: 15px;
}

.title::before {
    content: "";
    width: 50px;
    height: 3px;
    background-color: orange;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}


/* --- Banner quang cao --- */
.wrap-meigao-quang-cao {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}


/* ---- Button ---- */
.btn-info {
    background-color: rgb(6, 42, 108) !important;
    color: orange !important;
    border: 0 !important;
}

/* ---- Buton Group ---- */
.button-group {

    display: flex;
    flex-wrap: wrap;
    /* Cho phép xuống hàng */
    justify-content: center;
    /* Căn giữa trên PC */
    gap: 12px;
    /* Khoảng cách giữa các nút */
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    /* Căn giữa div chứa nút */
}

.btn-custom {
    color: #333;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500 !important;

}

.btn:hover {
    background-color: rgb(6, 42, 108);
    transform: translateY(-2px);
    /* Hiệu ứng nhấn nổi */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.btn.active {
    background-color: #f57c00;
    /* Màu cam nổi bật */
    color: white;
    box-shadow: 0 4px 8px rgba(245, 124, 0, 0.3);
}

.btn.active:hover {
    background-color: #e86c00;
    transform: translateY(-2px);
}


/* ---- FOOTER ---- */
section.section-footer {
    font-size: 15px;
}


section.section-footer .navbar-brand img {
    width: 100%;
    height: auto;
    max-width: 120px;
    object-fit: cover;
    margin-bottom: 15px;
}

.nav-footer {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-footer .nav-item {
    width: 100%;
    text-align: left;
}

p i {
    margin-right: 10px;
    font-size: 15px;
}

#link-ft {
    color: orange;
}

.vp-footer {
    font-size: 1.2em; font-weight:bold; margin-bottom:10px;
}


/* ------- MEDIA --------- */
@media (min-width: 992px) {
    .navbar-expand-md .navbar-nav .nav-link {
        height: fit-content;
    }

    header.header {
        display: flex;
        flex-direction: row-reverse;
        max-width: 1200px;
        margin: auto;
    }

    header.header .mx-auto {
        width: 100%;
    }

    .navbar-expand-md .navbar-collapse .nav-header {
        display: flex;
        align-items: center;
        gap: 100px;
    }

    .navbar-expand-md .navbar-collapse .nav-header .navbar-brand img {
        width: 100%;
        max-width: 120px;
        height: auto;
        object-fit: cover;
    }

    .navbar-expand-md .navbar-collapse .nav-header .navbar-nav {
        gap: 10px;
    }

    .navbar-expand-md .navbar-collapse .nav-header .navbar-nav .nav-item .nav-link {
        padding-left: 1.5em;
        padding-right: 1.5em;
		padding-top:0; padding-bottom:0;
		border-right:1px solid #DDD;
    }
	.navbar-expand-md .navbar-collapse .nav-header .navbar-nav .nav-item:last-child .nav-link { border-right:0; }

    div.d-block .navbar .container-menu .btn {
        display: none;
    }

    div.d-block .navbar .container-menu .search-container {
        display: none;
    }
}

@media (min-width: 768px) {


    .box-kn {
        grid-template-columns: repeat(4, 1fr);
        /* Chia thành 4 cột khi trên PC */
    }

    #searchInput {
        display: block !important;
    }

    .bottom-bar {
        width: 100%;

    }
	
	
	section.section-footer [class*=" col"], [class="col"] { text-align:left!important; padding:0; margin-top:105px; }
	section.section-footer .footer-intro { padding-right:20px; margin-top:0!important; }
	section.section-footer .footer-menu { padding-left:10px; }
	section.section-footer .footer-group { padding-left:20px; }
	.nav-footer .nav-item { text-align:left!important; }
	
	footer .my-auto { text-align:left; }
}

@media (max-width: 629px) {
    .button-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 2 nút trên 1 hàng */
        gap: 10px;
        justify-content: center;

    }

    .btn-ban-giao {
        width: 100%;
        /* Đảm bảo nút co giãn vừa với khung */
        text-align: center;
    }

    .btn:last-child {
        grid-column: span 2;
        /* Nút cuối chiếm 100% hàng */
    }
}


/* ---------------------------- */
.slider-container-sp {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider-wrapper-sp {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 10px;
    /* Khoảng cách giữa các ảnh */
}

.slide-sp {
    min-width: calc(100% / 3);
    /* Hiển thị 3 ảnh cùng lúc */
}


/* Định dạng khung chứa ảnh */
.image-frame {
    width: 250px;
    /* Chiều rộng cố định */
    height: 200px;
    /* Chiều cao cố định */
    border: 2px solid #424cfd;
    /* Viền khung */
    border-radius: 100%;
    /* Bo góc */
    overflow: hidden;
    /* Ẩn phần dư của ảnh */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f8f8;
    /* Màu nền */
    margin-right: 22;
}

/* Định dạng ảnh để không bị vỡ */
.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Đảm bảo ảnh lấp đầy khung mà không méo */
}

@media (max-width: 576px) {
    .slide-sp {
        min-width: 100%;
        /* Hiển thị 1 ảnh trên màn hình cực nhỏ */
    }
}


/* swiper */
.swiper-slide img {
    width: 90%;
    height: auto;
    border-radius: 10px;
}

.swiper-slide {
    text-align: center;
}

.img-product button,
.img-product {
    text-align: center;
}

/* .img-product { position:relative; display:block; width:90%; border-radius:100%; } */

.swiper-slide p {
    text-align: justify !important;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    /* Giới hạn 5 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slider-container-doi-tac,
.slider-container-san-pham,
.slider-container-tin-tuc {
    max-width: 100%;
    /* Giới hạn chiều rộng */
    margin: auto;
    /* Căn giữa */
    overflow: hidden;
    /* Ngăn ảnh tràn ra ngoài */
    border-radius: 10px;
    /* Bo góc */
}


/* --- Tin tức --- */
.news-slider {
    width: 95%;
    overflow: hidden;
    max-width: 1200px;
    /* Giới hạn chiều rộng tối đa */
    margin: 0 auto;
    /* Căn giữa slider */
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.date-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: white;
    padding: 5px 10px;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
}

.card-img-top {
    max-width: 100%;
    height: auto;
}


/* ---- Button Carousel ---- */
.carousel-control-next,
.carousel-control-prev {
    width: 2rem !important;
    /* background-color: rgb(255, 255, 255) !important; */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    transform: scale(1.5);
    /* Phóng to 1.5 lần */
    background-size: 80% 80%;
    /* Tăng kích thước ảnh */
}



/* Lien Hệ */
.contact i {
    color: orange;
}

.contact p,
.contact-toolbar a {
    color: #2980b9 !important;
}

/* Sản phẩm */
.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Giới hạn 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 3rem;
    /* Chiều cao cố định phù hợp với 2 dòng */
}

.product-card {
    text-decoration: none;
    /* Xóa gạch chân link */
    color: inherit;
    /* Giữ nguyên màu chữ */
    display: block;
    /* Giúp toàn bộ card click được */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: scale(1.05);
    /* Phóng to nhẹ */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Đổ bóng */
}

.product-card .card:hover {
    background-color: #f8f9fa;
    /* Đổi màu nền khi hover */
}


/* ------ Giới thiệu MICO ----- */
.gioi-thieu {
    text-align: justify;
}

.time-main {
    margin: 1.5rem 0rem 1.5rem 0rem;
    color: #999999;
}

.time-main i,
span {
    margin-right: 10px;
}

.share {
    background-color: rgba(128, 128, 128, 0.15);
    border-radius: 5px;
}

.zalo-icon {
    width: 30px;
    /* Điều chỉnh kích thước icon */
    height: 30px;
}

.nd-share {
    padding: 1.5rem 1rem 1rem 1.5rem;
}

.icon-box {
    margin-top: 0.5rem;
    width: 50px;
    /* Kích thước ô vuông */
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #03a5fa;
    /* Màu nền của ô vuông */
    border-radius: 8px;
    /* Bo góc nhẹ */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    /* Hiệu ứng đổ bóng */
}


/* Kiến thức */
.kien-thuc-info {
    text-align: justify;
}

.kien-thuc-img {
    width: 100%;
    /* Đảm bảo ảnh chiếm toàn bộ vùng chứa */
    max-width: 250px;
    /* Giới hạn kích thước tối đa */
    height: auto;
    /* Định chiều cao cố định */
    object-fit: cover;
    /* Giữ tỷ lệ ảnh, cắt nếu cần */
    border-radius: 8px;
    /* Bo góc nhẹ */
}

.kien-thuc-desc {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* Giới hạn 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 6rem;
    /* Chiều cao cố định phù hợp với 2 dòng */
}

/* --- MENU --- */
.offcanvas {
    transition: transform 0.5s ease-in-out, opacity 0.2s ease-in-out !important;
}



.input-group span {
    margin-right: 0;
}

#sidebarMenu,
#submenuProducts {
    width: 60%;
}

#navbar-container-web { background-color: #fff !important; }


.navbar {
    transition: top 0.3s ease-in-out;
}


.navbar li a {
    height: 45px;
    color: #58585a !important;
}

.article-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 10px 0;
}

.container-menu,
.nav-tilte {
    display: flex;
    /* Kích hoạt flexbox */
    align-items: center;
    /* Căn giữa theo chiều dọc */
    justify-content: space-between;
    /* Căn đều các phần tử */
    width: 100%;
    /* Đảm bảo chiếm toàn bộ chiều rộng */
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.narbar-menu {
    margin: 0 auto;
    max-width: 1200px;
}

.navbar-nav {
    display: flex;
    align-items: center;
}

/* ---- Search ---- */
.search-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.search-icon:hover {
    background-color: #e0e0e0;
}

.search-input {
    position: absolute;
    display: flex;
    top: 120%;
    /* Đưa input xuống dưới icon */
    right: 10%;
    /* Đặt sát lề trái để không bị tràn */
    width: 220px;
    height: 35px;
    opacity: 0;
    visibility: hidden;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px 10px;
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    /* Đảm bảo không bị che khuất */
}

.search-input span {
    margin-right: 0;
}

.search-container.active .search-input {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
    /* Hiển thị input với hiệu ứng nhẹ */
}


.search-input .input-group-text {
    flex-grow: 1;
    /* Mở rộng phần tử để nó bằng với input */
    text-align: center;
    /* Căn giữa icon */
    padding: 8px;
    border: none;
}

.search-input .form-control {
    flex-grow: 1;
    /* Input cũng mở rộng để bằng phần còn lại */
    border: none;
    outline: none;
    border-radius: none !important;
    padding-left: 2px !important;
    padding-bottom: 11px;
    box-shadow: none !important;
}

.search-input .form-control::placeholder {
    font-size: 12px;
    /* Điều chỉnh kích thước chữ */
    color: #999;
    /* Tùy chỉnh màu chữ (tuỳ chọn) */
    font-style: italic;
    /* Làm cho placeholder nghiêng (tuỳ chọn) */
}


/* --- */
.contact-toolbar {
    position: fixed;
    right: 10px;
    bottom: 150px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
    display: none !important;
}

/* Làm các thẻ <a> thành hình tròn */
.contact-toolbar a {
    margin-top: 12px;
    width: 60px;
    height: 60px;
    background-color: #0078FF;
    /* Màu nền */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hiệu ứng hover */
.contact-toolbar a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

/* Sóng lan tỏa */
.contact-toolbar a::before,
.contact-toolbar a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 120, 255, 0.3);
    animation: ripple 1.5s infinite ease-out;
}

/* Sóng thứ hai để hiệu ứng mạnh hơn */
.contact-toolbar a::after {
    animation-delay: 0.5s;
}

/* Animation cho sóng */
@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Định dạng icon */
.contact-toolbar a i {
    font-size: 28px;
    color: white;
}

/* Định dạng hình ảnh */
.contact-toolbar a img {
    width: 60%;
    height: auto;
    border-radius: 50%;
}



/* ---dropdown-menu --- */
.dropdown-menu {
    background-color: rgb(245, 246, 248) !important;
    border: none !important;
    /* Bỏ viền */
    box-shadow: none !important;
    /* Bỏ bóng nếu có */
}

/* Ẩn dropdown mặc định */
.nav-item.dropdown .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -15px);
    /* Dịch lên trên */
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    display: flex;
    left: 50%;
    top: 85px;
    width: auto;
	font-size:.8em;
}

.nav-item.dropdown .dropdown-menu li {
    padding: 0 10px;
}

.nav-item.dropdown .dropdown-menu li a.list-group-item { white-space:nowrap; }
.nav-item.dropdown .dropdown-menu li a {
    font-size: 1.2em;
    color: #000 !important;
}

.nav-item.dropdown .dropdown-menu li .submenu {
	margin-top:-10px;
}
.nav-item.dropdown .dropdown-menu li .submenu li a {
    line-height: 2em;
	height:auto;
    font-size: 1em;
    white-space: nowrap;
    color: #58585a !important;
}

.nav-item.dropdown .dropdown-menu li .submenu li {
    list-style: none;
    padding: 0;
}

.nav-item.dropdown .dropdown-menu li .submenu {
    padding: 0;
}

.navbar-nav .nav-item { padding:10px 0; white-space:nowrap; }
.navbar-nav .nav-item:hover, .navbar-nav .nav-item:has(.active) { border-bottom:2px solid var(--blue); }
.navbar-nav .nav-item:hover a, .navbar-nav .nav-item:has(.active) a { color:var(--blue)!important; }

.navbar-nav .nav-item.dropdown {
    position: unset;
}

/* Hiển thị dropdown khi hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}


/* Hiệu ứng dropdown chỉ áp dụng cho item được hover */
.navbar-nav .dropdown-menu .dropdown-item {
    transition: background 0.3s ease, transform 0.2s ease;
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
    background-color: rgb(6, 42, 108) !important;
    color: orange !important;
    transform: translateX(2px);
}

.cate-product {
    padding: 0;
}

.cate-product .category {
    background: #052c65;
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.cate-product .category h2 {
    display: flex;
    align-items: center;
    margin: 0;
    z-index: 2;
    font-size: 1em;
    line-height: 140%;
}

.cate-product .category h2::before {
    content: "📦";
    margin-right: 10px;
}

.cate-product .category a {
    color: #ffffff;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
}

.cate-product .cate-product-list {
    display: flex;
	flex-direction:column;
    gap: 20px;
}

.cate-product .product {
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    text-align: center;
}

.cate-product .product img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

.cate-product .product h3 {
    font-size: 16px;
    margin: 10px 0;
    font-weight: 700;
    min-height: 25px;
}

.cate-product .product .contact {
    color: red;
    font-weight: 400;
    margin-bottom: 5px;
}

.cate-product .product .btn {
    display: inline-block;
    padding: 7px 20px;
    border: 1px solid #5798db;
    color: #5798db;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
}

.cate-product .floating-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cate-product .floating-buttons a {
    width: 50px;
    height: 50px;
    background: #007bff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.cate-product .floating-buttons .call {
    background: red;
}
.footer-group a { display:block; color:#FFF; }

.nav-footer.navbar-nav .nav-item:hover { border:0; }
.nav-footer.navbar-nav .nav-item:hover a { color:#FFF!important; }

@media (min-width:480px) {
}

@media (min-width:768px) {
    .d-md-block.zalo-container {
        display: none !important;
    }

    .introduction .btn-info {
        margin-bottom: 20px;
    }

    .about-us .wrap-content .row {
        flex-direction: row;
    }

    .cate-product .category::before {
        position: absolute;
        content: '';
        width: 100%;
        height: 320px;
        background: #118e88;
        top: -150px;
        left: 0;
        z-index: 0;
        transform: rotate(48deg);
        max-width: 330px;
    }
	
	.cate-product .cate-product-list {
		flex-direction:row;
		flex-wrap:wrap;
		justify-content:left;
		gap:2%;
	}
	.cate-product .product { width:32%; margin-bottom:15px; }
}

@media (min-width:992px) {
    .nav-item.dropdown .dropdown-menu {
        flex-wrap: nowrap;
    }

    .nav-item.dropdown .dropdown-menu > li {
        width: 30%;
		
    }

    .nav-item.dropdown .dropdown-menu li a {
        line-height: 30px;
    }
	
    .cate-product div.cate-product-list {
        grid-template-columns: auto auto auto auto !important;
    }
}

@media (min-width:1200px) {	
	.wrap-home .mb-5 {
		margin: 100px 0 !important;
	}
	
    .nav-item.dropdown ul.dropdown-menu {
        flex-wrap: unset;
        width: fit-content;
        gap: 20px;
        padding: 15px;
		font-size:1em;
    }

    .nav-item.dropdown .dropdown-menu li {
        width: fit-content;
        white-space: nowrap;
    }

    .nav-item.dropdown ul.dropdown-menu li .submenu {
        margin-top: -10px;
    }
	
    .nav-item.dropdown .dropdown-menu li .submenu li a:hover { color:var(--blue)!important; }
	
	section.section-footer [class*=" col"], [class="col"] { margin-top:85px; }
	
	.cate-product .product { width:23.5%; }
}