@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');


body
{
    font-family: 'Nunito Sans','Helvetica Neue',Helvetica,Arial,sans-serif;
    font-size: 14px;
/*    padding: 0;*/
/*    margin: 0;*/
}

ul
{
/*    padding: 0;*/
/*    list-style: none;*/
}

a
{
    text-decoration: none;
}


/* CSS tùy chỉnh */
:root {
    /* Màu xanh đậm chính xác từ hình ảnh */
    --primary-color: #003399;
    --navy-blue: #159057;
    --light-blue: #e3f2fd;
    --bg-light-blue: #eef7ff; /* Màu nền nhạt toàn section */
    --theme-main:#159057;
    --navy:#159057;
}

/* Biến màu sắc chủ đạo */
:root {

    --light-blue: #e3f2fd;
    --navy-dark: #082d66;
}

/*header*/
/* Hiệu ứng gạch chân cho menu đang active (Sản phẩm) */
.active-nav-link {
    color: var(--theme-main) !important;
    position: relative;
    font-weight: 600;
}
.active-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    height: 2px;
    background-color: var(--theme-main);
}

#logo_tops img {
    height: 60px;
}

#mainNav {
    width: 60%;
}

#logo_tops {
    width: 20%;
}

/* Hiệu ứng Hover hiển thị Dropdown */
@media (min-width: 992px) {
    .custom-hover-dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: all 0.3s ease;
    }

    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
        transition: all 0.3s ease;
        border-top: 3px solid var(--theme-main) !important; /* Tạo điểm nhấn màu navy phía trên */
    }
}

/* Hiệu ứng gạch chân khi hover cho các mục không active */
.nav-item .nav-link {
    position: relative;
    transition: color 0.3s ease;
    font-size: 16px;
}

.nav-item .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    height: 2px;
    background-color: var(--theme-main);
    transform: scaleX(0); /* Mặc định ẩn */
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-link::after,
.active-nav-link::after {
    transform: scaleX(1); /* Hiện ra khi hover hoặc đang active */
}

.nav-item:hover .nav-link {
    color: var(--theme-main) !important;
}

/* Tinh chỉnh item trong dropdown */
.dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--theme-main);
}

.dropdown-item {
    font-size: 15px;
}


/* Hiệu ứng kính (Glassmorphism) cho nút "Báo giá ngay" ở Banner */
.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Khoảng cách các icon menu */
.navbar-nav .nav-link {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Tinh chỉnh lại nền Hero cho giống màu xanh biển đậm của hình */
.hero-section {
    min-height: 90vh; /* Cân đối lại chiều cao cho đẹp */
    
    background-size: cover;
    background-position: center;
}
/*header*/

/* Tùy chỉnh Menu Cấp 3 */
@media (min-width: 992px) {
    /* Căn vị trí menu cấp 3 sang bên phải menu cấp 2 */
    .dropdown-menu .dropdown-menu {
        top: 0;
        left: 100%; /* Đẩy sang phải */
        margin-top: -5px;
        margin-left: 0px;
        border-left: 3px solid var(--theme-main) !important; /* Gạch đứng màu navy trang trí */
    }

    /* Hiệu ứng hiển thị khi hover vào menu cấp 2 */
    .dropdown-item:hover + .dropdown-menu,
    .dropdown-menu .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

/* Biểu tượng mũi tên nhỏ cho menu có cấp 3 */
.dropdown-toggle::after {
    display: none; /* Ẩn mũi tên mặc định của Bootstrap nếu muốn dùng icon Bi-chevron */
}

/* Khoảng cách an toàn để không bị mất hover khi di chuyển chuột */
.dropdown-menu li {
    position: relative;
}

/* Đổi màu item cấp 3 khi hover */
.dropdown-item:hover {
    background-color: #f0f7ff;
    color: var(--theme-main) !important;
}



/* --- Tùy chỉnh Navbar --- */
.nav-link {
    font-size: 14px;
    padding: 15px 12px !important;
    transition: all 0.3s ease;
}

.active-nav-link {
    color: var(--theme-main) !important;
}

/* --- Menu Đa Cấp (Hover) --- */
@media (min-width: 992px) {
    /* Hiển thị menu cấp 2 */
    .custom-hover-dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Hiển thị menu cấp 3 (Sub-dropdown) */
    .sub-dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        top: 0;
        left: 100%; /* Đẩy sang phải */
        margin-top: -1px;
    }

    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
/*        border-top: 3px solid #0b3b84 !important; /* Điểm nhấn trên menu thả xuống */*/
}
}

.dropdown-item {
    font-size: 14px;
    padding: 10px 20px;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0b3b84;
}

/* --- Hotline Icon Style --- */
.icon-hotline {
    width: 35px;
    height: 35px;
    background-color: #eef7ff;
    color: #0b3b84;
    border-radius: 50%;
    transition: all 0.3s;
}

.hot-line-item:hover .icon-hotline {
    background-color: #0b3b84;
    color: #fff;
    transform: rotate(15deg);
}

/* --- Owl Carousel Slide Tweak --- */
.hero-section {
    height: 75vh;
    background-size: cover !important;
    background-position: center center !important;
}










.main-products-section {
    background-color: #f8f9fa; /* Màu nền nhẹ cho toàn bộ phần này */
}








.section-title {
    color: var(--primary-color);
    font-weight: bold;
    text-align: center;
    /* Gạch dưới tùy chỉnh */
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-color: var(--theme-main);
    margin-bottom: 50px;
}

.product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px; /* Bo góc nhẹ */
    box-shadow: 0 4px 8px rgba(0,0,0,0.05); /* Bóng đổ mờ */
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease; /* Hiệu ứng transition mượt mà */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%; /* Giữ các thẻ có chiều cao bằng nhau */
}


/* Phong cách biểu tượng (icon) */
.product-card i {
    color: var(--primary-color);
    font-size: 3rem; /* Kích thước icon lớn */
    margin-bottom: 20px;
}

/* Phong cách văn bản (text) */
.product-card-title {
    color: #333;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.4;
}

/* --- Hiệu ứng Hover jQuery --- */

.hero-slider .item {
    width: 100%;
}

.hero-section {
    height: 85vh; /* Chiều cao slider */
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Tùy chỉnh nút điều hướng của Owl Carousel */
.hero-slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1) !important;
    color: white !important;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
}

.hero-slider .owl-nav .owl-prev { left: 20px; }
.hero-slider .owl-nav .owl-next { right: 20px; }

.hero-slider .owl-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
}


/* Hiệu ứng làm mờ các thẻ anh chị em */
.product-card-container.dim .product-card:not(:hover) {
    opacity: 0.5;
    filter: blur(1px);
}

/* Hiệu ứng làm nổi bật thẻ được di chuột */
.product-card-container.dim .product-card:hover {
    transform: scale(1.03); /* Phóng to nhẹ */
    box-shadow: 0 8px 16px rgba(0,0,0,0.1); /* Bóng đậm hơn */
    z-index: 10; /* Đưa lên trên */
}


/* Đảm bảo ảnh trong carousel không bị giãn quá mức */
.featured-img-wrap img {
    width: auto !important;
    max-height: 200px;
    margin: 0 auto;
}

/* Tùy chỉnh dấu chấm (dots) bên dưới */
.owl-theme .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: #ccc;
    transition: all 0.3s ease;
}

.owl-theme .owl-dots .owl-dot.active span, 
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--navy) !important;
    width: 25px; /* Kéo dài dấu chấm đang active */
}

/* Hiệu ứng chuyển động mượt cho card */
.featured-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin: 10px 5px; /* Tạo khoảng trống để không bị mất bóng đổ */
}

.featured-card:hover {
    transform: translateY(-8px);
}


/* Sản phẩm nổi bật */
.featured-card { background: var(--navy-light); border: none; transition: 0.3s; }
.featured-img-wrap { background: white; padding: 20px; text-align: center; }
.text-primary-light { color: #5c93e6; letter-spacing: 0.5px; }

.btn-cart {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: white;
    border: none;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.btn-cart:hover { background: var(--navy); color: white; }



/* Tùy chỉnh riêng cho section Đèn LED */
#den-led-carousel .featured-card {
    background-color: #ffffff !important; /* Card màu trắng trên nền xanh nhạt */
    border: 1px solid rgba(0, 51, 153, 0.05);
}

/* Tinh chỉnh đường kẻ tiêu đề */
.text-navy.text-uppercase {
    letter-spacing: 1px;
}

.border-navy {
    border-color: var(--navy) !important;
}



.advantage-section {
    background-color: var(--bg-light-blue);
}

.section-title {
    color: var(--navy-blue);
    font-size: 2rem;
}

/* Đường gạch dưới tiêu đề */
.title-line {
    width: 60px;
    height: 3px;
    background-color: var(--navy-blue);
    margin-top: 15px;
}

/* Card ưu thế */
.advantage-card {
    background-color: #ffffff;
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

/* Hộp chứa Icon */
.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.5rem;
}

/* Màu sắc icon theo từng loại */
.bg-blue-soft { background-color: #e8f0fe; color: #1967d2; }
.bg-red-soft { background-color: #fce8e6; color: #d93025; }
.bg-green-soft { background-color: #e6f4ea; color: #1e8e3e; }

.small-description {
    line-height: 1.6;
    font-size: 0.95rem;
}


/* Tinh chỉnh tiêu đề section */
.section-title-main {
    color: var(--navy-blue);
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

/* --- KHỐI DỰ ÁN LỚN (BÊN TRÁI) --- */
.main-project-card {
    border-radius: 24px; /* Bo góc lớn theo thiết kế */
    overflow: hidden;
    position: relative;
    height: 100%; /* Kéo giãn lấp đầy cột col-lg-7 */
    min-height: 450px;
    cursor: pointer;
    background-color: #000;
}

.project-img-overlay {
    position: relative;
    height: 100%;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.project-img-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Giữ tỉ lệ hình ảnh không bị méo */
    display: block;
}

/* Lớp phủ Gradient tối dần về phía dưới để đọc chữ rõ hơn */
.project-img-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(0, 0, 0, 0.3) 50%, 
        transparent 100%
    );
    z-index: 1;
}

.project-content-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    padding: 2.5rem;
}

/* Badge dự án */
.project-content-box .badge {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    font-weight: 500;
    padding: 8px 16px;
}

/* Hiệu ứng Hover dự án: Phóng to nhẹ hình ảnh */
.main-project-card:hover .project-img-overlay {
    transform: scale(1.05);
}

/* --- KHỐI TIN TỨC & SỰ KIỆN (BÊN PHẢI) --- */
.news-item-card {
    border-radius: 24px;
    padding: 2rem;
    flex: 1; /* Tự động chia đôi chiều cao trong flex-column */
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s ease;
    text-decoration: none !important;
    border: 1px solid transparent;
}

/* Thẻ tin tức (Xanh nhạt) */
.bg-light-blue {
    background-color: var(--light-blue);
    color: var(--navy-blue);
}

.bg-light-blue .badge-outline {
    border: 1px solid var(--navy-blue);
    color: var(--navy-blue);
}

/* Thẻ sự kiện (Xanh đậm) */
.bg-navy-blue {
    background-color: var(--navy-blue);
    color: #fff;
}

.bg-navy-blue .badge-outline {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* Badge outline chung */
.badge-outline {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 10px;
}

/* Hiệu ứng Hover thẻ tin tức: Nổi khối và đổi màu */
.news-item-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(11, 59, 132, 0.15);
}

.bg-light-blue:hover {
    background-color: #d8ecff;
}

.bg-navy-blue:hover {
    background-color: var(--navy-dark);
}

/* Responsive tinh chỉnh */
@media (max-width: 991px) {
    .main-project-card {
        min-height: 400px;
        margin-bottom: 1.5rem;
    }
    
    .news-item-card {
        min-height: 220px;
    }
}


/* Container chính của Newsletter */
.newsletter-box {
    background-color: var(--theme-main); /* Màu Navy đặc trưng của VietTraffic */
    border-radius: 24px !important; /* Bo góc lớn đồng bộ với toàn bộ giao diện */
    position: relative;
    overflow: hidden;
    border: none;
}

/* Tùy chỉnh tiêu đề và văn bản */
.newsletter-box h2 {
    font-size: 1.75rem;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.newsletter-box p {
    font-size: 0.95rem;
}

/* Tùy chỉnh ô nhập Email (Input) */
.newsletter-box .form-control {
    border: 1px solid rgba(255, 255, 255, 0.3); /* Viền trắng mờ */
    border-radius: 12px;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.newsletter-box .form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    box-shadow: none;
    color: #ffffff;
}

.newsletter-box .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6); /* Placeholder trắng mờ */
}

/* Tùy chỉnh nút Đăng ký */
.newsletter-box .btn-light {
    background-color: #ffffff;
    color: #0b3b84 !important; /* Chữ màu Navy trên nền nút trắng */
    border: none;
    border-radius: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.newsletter-box .btn-light:hover {
    background-color: #f8f9fa;
    transform: scale(1.05); /* Hiệu ứng phóng nhẹ khi rê chuột */
}

/* Xử lý hiển thị trên Mobile */
@media (max-width: 991px) {
    .newsletter-box {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem !important;
    }
    
    .newsletter-box .col-lg-6 {
        margin-bottom: 1.5rem;
    }
    
    .newsletter-box .col-lg-5 {
        width: 100%;
    }
}
.bg-soft-blue {
    background-color: #eef7ff !important; /* Màu xanh nhạt nhẹ nhàng làm nền section */
}

.bg-light-blue {
    background-color: #e3f2fd !important; /* Màu xanh dùng cho card tin tức */
    color: #0b3b84; /* Chữ màu navy đậm trên nền xanh này */
}

.hotline_top
{
    font-size: 15px;
}
.hot-line-item i {
    font-size: 20px;
    color: red;
}

/* Màu sắc chủ đạo */
.text-navy { color:var(--theme-main); }
.btn-navy { background-color: var(--theme-main); color: white; border: none; }
.btn-navy:hover { background-color: #082d66; color: white; }

/* Badge hồng nhạt */
.bg-soft-red {
    background-color: #fce8e6;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Khối Icon tròn bên trái */
.icon-circle {
    min-width: 48px;
    height: 48px;
    background-color: #e8f0fe; /* Xanh nhạt */
    color: #0b3b84;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.25rem;
}

/* Card chứa Form bên phải */
.contact-form-card {
    background-color: #eef7ff; /* Nền xanh nhạt của form */
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 51, 132, 0.05);
}

/* Tùy chỉnh các ô Input trong Form */
.contact-form-card .form-control {
    border: none;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 0.95rem;
}

.contact-form-card .form-control:focus {
    box-shadow: 0 0 0 3px rgba(11, 59, 132, 0.1);
    background-color: #fff;
}

.contact-form-card .form-label {
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* Responsive tinh chỉnh */
@media (max-width: 991px) {
    .contact-form-card {
        margin-top: 2rem;
        padding: 2rem !important;
    }
}


/* Màu nền tối đặc trưng cho Footer */
.bg-navy-dark {
    background-color: #061a3a !important; /* Đậm hơn màu navy chính để tạo chiều sâu */
}

.text-primary-light {
    color: #4facfe;
}

/* Tiêu đề cột có gạch chân trang trí */
.footer-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 10px;
}

/* Hiệu ứng danh sách liên kết */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(8px); /* Nhích nhẹ sang phải khi hover */
}

/* Social Media Icons */
.social-item {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-item:hover {
    background-color: #0b3b84; /* Màu navy chính khi hover */
    transform: translateY(-5px);
    color: white;
}

/* Tinh chỉnh cho Mobile */
@media (max-width: 767px) {
    .footer-section {
        text-align: left;
    }
    
    .footer-title::after {
        left: 5%;
        transform: translateX(-50%);
    }
    
    .footer-links a:hover {
        transform: scale(1.1);
    }
    
    .social-icons {
        justify-content: center;
    }
}


.catchuoi2
{
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 25px;
    -webkit-line-clamp: 2;
    height: 45px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.product-item-price {
    font-weight: bold;
    color: red;
    font-size: 15px;
}

.social-item img {
    height: 25px;
}

/* --- BREADCRUMB CUSTOM --- */
.breadcrumb-wrapper {
    position: relative;
    height: 350px; /* Độ cao banner vừa phải */
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Tạo hiệu ứng Parallax xịn */
    overflow: hidden;
}

/* Lớp phủ Gradient Navy của VietTraffic */
.breadcrumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(11, 59, 132, 0.85) 0%, 
        rgba(11, 59, 132, 0.6) 100%
    );
    z-index: 1;
}

.z-index-2 { z-index: 2; }

/* Tiêu đề với hiệu ứng trượt lên */
.breadcrumb-title {
    font-size: 3rem;
    letter-spacing: 2px;
    animation: slideUp 0.8s ease-out forwards;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

/* Tinh chỉnh các item breadcrumb */
.breadcrumb-item + .breadcrumb-item::before {
    content: "\F285"; /* Icon bi-chevron-right */
    font-family: bootstrap-icons !important;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    padding: 0 15px;
}

.breadcrumb-item a {
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    opacity: 1 !important;
    color: #4facfe !important; /* Màu highlight xanh sáng */
}

/* --- Fix triệt để dấu phân cách bị lệch lên --- */
.breadcrumb-item + .breadcrumb-item::before {
    content: "\F285"; /* bi-chevron-right */
    font-family: bootstrap-icons !important;
    
    /* 1. Ép hiển thị inline-block để dùng được các thuộc tính căn chỉnh */
    display: inline-block;
    
    /* 2. Căn giữa theo trục dọc của chữ */
    vertical-align: middle;
    
    /* 3. Dùng tuyệt chiêu này để kéo nó xuống (tăng giảm số px cho vừa mắt) */
    transform: translateY(1px); 
    
    /* 4. Khử các khoảng cách thừa */
    line-height: 1;
    padding: 0 12px;
    font-size: 11px;
    color: #000;
}

/* --- Đảm bảo các item breadcrumb cũng phẳng hàng --- */
.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    display: flex;
    align-items: center;
    line-height: 1; /* Giữ line-height chuẩn để không bị kéo lệch */
}


/* Hiệu ứng Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive cho Mobile */
@media (max-width: 767px) {
    .breadcrumb-wrapper {
        height: 250px;
        background-attachment: scroll; /* Tắt parallax trên mobile để mượt hơn */
    }
    .breadcrumb-title {
        font-size: 2rem;
    }
}

.list_products {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 20px;
}
.paging_chung {
    margin-top: 2rem;
    text-align: right;
    display: block;
}
.paging_chung a
{
    display: inline-block;
    height: 30px;
    width: 30px;
    line-height:30px;
    border:solid 1px var(--theme-main);
    text-align: center;
    color: #000    ;
}

.paging_chung span
{
    display: inline-block;
    height: 30px;
    width: 30px;
    line-height:30px;
    border:solid 1px var(--theme-main);
    text-align: center;
    color: red;
}

/*chi tiet*/
.products-detail .product-detail-slider-horizontal {
    position: relative;
}
.products-detail .box-image-featured {
    border-radius: 16px;
    overflow: hidden;
}
.products-detail .box-image-featured img {
    width: 100%;
}
.products-detail .social-block {
    margin: 10px 0;
}
.products-detail .social-block .social-btns .btn {
    display: inline-block;
    background-color: #fff;
    width: 40px;
    height: 40px;
    line-height: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px -5px rgba(0, 0, 0, .1);
    opacity: .99;
    padding: 5px;
    border: 1px solid #f0f1f4;
}
.products-detail .social-block .social-btns .btn:before {
    content: '';
    width: 150%;
    height: 150%;
    position: absolute;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 90%;
    left: -120%;
}
.products-detail .social-block .social-btns .btn.facebook:before {
    background-color: #3b5998;
}
.products-detail .social-block .social-btns .btn .fab {
    font-size: 20px;
    vertical-align: middle;
    -webkit-transform: scale(.8);
    transform: scale(.8);
}
.products-detail .social-block .social-btns .btn.facebook .fab {
    color: #3b5998;
}
.products-detail .social-block img {
    width: 30px;
    margin-right: 10px;
    position: relative;
    z-index: 9;
}
.products-detail .social-block .social-btns .btn .fab {
    font-size: 20px;
    vertical-align: middle;
    -webkit-transform: scale(.8);
    transform: scale(.8)
}

.products-detail .social-block .social-btns .btn.facebook:before {
    background-color: #3b5998
}

.products-detail .social-block .social-btns .btn.facebook .fab {
    color: #3b5998
}

.products-detail .social-block .social-btns .btn.twitter:before {
    background-color: #3cf
}

.products-detail .social-block .social-btns .btn.twitter .fab {
    color: #3cf
}

.products-detail .social-block .social-btns .btn.google:before {
    background-color: #dc4a38
}

.products-detail .social-block .social-btns .btn.google .fab {
    color: #dc4a38
}

.products-detail .social-block .social-btns .btn.dribbble:before {
    background-color: #f26798
}

.products-detail .social-block .social-btns .btn.dribbble .fab {
    color: #f26798
}

.products-detail .social-block .social-btns .btn.skype:before {
    background-color: #00aff0
}

.products-detail .social-block .social-btns .btn.skype .fab {
    color: #00aff0
}

.products-detail .social-block .social-btns .btn:focus:before,.products-detail .social-block .social-btns .btn:hover:before {
    top: -25%;
    left: -25%
}

.products-detail .social-block .social-btns .btn:focus .fab,.products-detail .social-block .social-btns .btn:hover .fab {
    color: #fff;
    -webkit-transform: scale(1);
    transform: scale(1)
}

.products-detail .social-block .social-btns .btn:hover img {
    filter: saturate(8)
}

.products-detail .social-block .social-btns .btn, .products-detail .social-block .social-btns .btn:before, .products-detail .social-block .social-btns .btn .fab
{
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
    -webkit-transition-timing-function: cubic-bezier(.31, -.105, .43, 1.59);
    transition-timing-function: cubic-bezier(.31, -.105, .43, 1.59);
}


.products-detail h1 {
    margin-top: 0;
    margin-bottom: 30px;
    color: #222;
    font-weight: 700;
    font-size: 30px;
    font-family: var(--font-header);
}

.products-detail h1 {
    font-size: 25px !important;
    line-height: 30px;
    margin-bottom: 10px;
}
.skd-product-reviews-star {
    position: relative;
    z-index: 1;
    display: block;
}
.skd-product-reviews-star .product-reviews__inner {
    position: relative;
}
.skd-product-reviews-star .product-reviews__inner span {
    display: inline-block;
    vertical-align: middle;
    line-height: 12px;
}
.skd-product-reviews-star .product-reviews__inner span svg
{
    width: 12px;
    height: 12px;
}
.skd-product-reviews-star .product-reviews__inner>div {
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}
.products-detail .price-detail {
    display: flex;
    gap: 10px;
}
.products-detail .price {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0px;
    color: red;
}
.products-detail .price-detail .price span {
    font-size: 18px;
}
.pre-form-contact {
    overflow: hidden;
    margin-bottom: 10px;
}
.pre-form-contact__title {
    font-weight: 700;
    margin: 15px 0;
}

.pre-form-contact__box {
    background-color: var(--theme-main);
    padding: 10px;
    width: 100%;
    border-radius: 5px;
}
.pre-form-contact__box .form-group {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
}
.pre-form-contact__box .form-group .input {
    width: calc(100% - 60px);
}
.pre-form-contact__box .form-group .form-control {
    background-color: #fff;
    box-shadow: none;
    border-radius: 5px 0 0 5px;
    font-size: 15px;
    border: 0;
    min-height: 41px;
    height: 100%;
}
.pre-form-contact__box .form-group button {
    background-color: #fff;
    color: black;
    width: 60px;
    border-radius: 0 5px 5px 0;
    font-size: 20px;
    border: 0;
}
.pr-element-button-contact {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #000;
}
.pr-element-button-contact .buttons-contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
}
.pr-element-button-contact .buttons-contact img {
    width: 100%;
}

.sidebar .widget {
    background-color: #fff;
    clear: both;
    margin-bottom: 15px;
    padding: 0 !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .1);
    border-radius: 16px;
}

.sidebar-bv.header-title.header-title-style-1 {
   background: var(--theme-main);
}
.sidebar-bv.header-title.header-title-style-1 .header {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    line-height: 25px;
    text-align: center;
    margin-bottom: 5px;
}
.sidebar .widget .sidebar-content {
    max-height: 920px !important;
}

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.widget_customer_sidebar_style_1 .sidebar-item-list .item .customer-name {
    font-weight: 700;
}

.widget_customer_sidebar_style_1 .sidebar-item-list .item .customer-product-name {
    color: var(--theme-main);
}
.widget_customer_sidebar_style_1 .sidebar-item-list .item .date {
    font-weight: 700;
    color: red;
}
.sidebar .widget .sidebar-content {
    padding: 10px;
    overflow: hidden;
}
.sidebar-bv.header-title.header-title-style-1 .header p {
    margin:0;
}

#list-product-thumb {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.product-thumb {
    width: 70px;
    height: 70px;
    border: 1px solid #ddd;
    cursor: pointer;
    flex-shrink: 0;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumb.zoomGalleryActive {
    border: 2px solid red;
}
/*chi tiet*/

.noidung_pros {
    background: #1590570f;
    padding: 3em 0;
}

#myTabs
{
    border: none;
}
#myTabs .nav-link {
    padding: 8px 17px!important;
    font-size: 14px;
    background:transparent;

    color: #555;
}
#myTabs .nav-link.active
{
    background:#fff;
    border-color: var(--theme-main) var(--theme-main) #fff;
}
.nav-tabs .nav-link {
    color: #555;
    font-weight: 500;
    transition: 0.3s;
}

.nav-tabs .nav-link:hover {
    background: #f1f1f1;
}

.nav-tabs .nav-link.active {
    color: #fff;
    background: #0d6efd;
    border-color: #0d6efd #0d6efd #fff;
}

.tab-content {
/*            border: 1px solid #ddd;*/
border-top: none;
padding: 20px;
background: #fff;
border-radius: 0 10px 10px 10px;
overflow: hidden        }

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
.sp_khaclienquan h3.header {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
    color: #555;
}



/*splq*/
/* ===== NAV (Prev / Next) ===== */
#sanpham_lienquan .owl-nav {
    position: absolute;
    top: -50px;
    right: 0;
}

#sanpham_lienquan .owl-nav button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    margin-left: 5px;
    border: none;
    transition: 0.3s;
}

#sanpham_lienquan .owl-nav button:hover {
    background: #0b5ed7;
}

/* Icon mũi tên */
#sanpham_lienquan .owl-nav .owl-prev:before {
    content: "‹";
    font-size: 20px;
}

#sanpham_lienquan .owl-nav .owl-next:before {
    content: "›";
    font-size: 20px;
}

/* Ẩn text mặc định */
#sanpham_lienquan .owl-nav span {
    display: none;
}


/* ===== DOTS ===== */
#sanpham_lienquan .owl-dots {
    text-align: center;
    margin-top: 15px;
}

#sanpham_lienquan .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 4px;
}

#sanpham_lienquan .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: #ccc;
    display: block;
    border-radius: 50%;
    transition: 0.3s;
}

#sanpham_lienquan .owl-dots .owl-dot.active span {
    background: #0d6efd;
    width: 12px;
    height: 12px;
}

#sanpham_lienquan .owl-nav.disabled, #sanpham_lienquan .owl-dots.disabled
{
    display: block;
}
/*page tin tuc*/
.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

/* Ảnh */
.news-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
}

/* Nội dung */
.news-content {
    padding: 15px 5px;
}

/* Meta */
.news-meta {
    font-size: 13px;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
}

.news-meta span {
    margin-left: 10px;
    font-weight: 400;
}

/* Title */
.news-title {
    font-weight: 700;
    color: #0b1f3a;
    margin: 10px 0;
    line-height: 1.4;
}

/* Giới hạn 2 dòng */
.news-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Description */
.news-desc {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Link */
.news-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
}

.news-link:hover {
    text-decoration: underline;
}
/* ===== BREADCRUMB ===== */
.custom-breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 10px;
}

.custom-breadcrumb .breadcrumb-item a {
    text-decoration: none;
    color: #6c757d;
}

.custom-breadcrumb .breadcrumb-item.active {
    color: #0d6efd;
    font-weight: 500;
}

/* ===== TITLE ===== */
.news-title {
    font-size: 28px;
    font-weight: 700;
    color: #0b1f3a;
}

/* ===== META ===== */
.news-meta {
    font-size: 14px;
    color: #6c757d;
}

.news-meta .cate {
    font-weight: 600;
    text-transform: uppercase;
    margin-right: 10px;
}

/* ===== CONTENT ===== */
.news-content {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

/* ===== SIDEBAR ===== */
.sidebar {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
}

.related-item img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 10px;
}

.related-item a {
    font-size: 14px;
    font-weight: 600;
    color: #0b1f3a;
    text-decoration: none;
}

.related-item a:hover {
    color: #0d6efd;
}

.related-item .date {
    font-size: 12px;
    color: #999;
}


.breadcrumb-item+.breadcrumb-item
{
    padding-left: 0;
}

.sidebar
{
    position: sticky;
    top: 25%;
    z-index: 999;
}


.contact-form-wrapper {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
    -webkit-box-shadow: 0px 25px 70px #01358d1a;
    box-shadow: 0px 25px 70px #01358d1a;
    border-radius: 6px;
    overflow: hidden;
    background-color: #fff;
    margin-bottom: 20px;
}
.contact-form-wrapper .contact-map {
    padding-left: 0;
}
.contact-form-wrapper .contact-map iframe {
    height: 100%;
    width: 100% !important;
    min-height: 101ch;
    margin-bottom: -10px;
}
.header-contact h3 {
    color: #304e73;
    font-weight: 700;
    font-size: 25px;
    display: block;
    line-height: 1.5;
    position: relative;
    margin-bottom: 20px;
}
.header-contact h3::after {
    content: "";
    display: block;
    position: relative;
    margin-top: 8px;
    width: 50px;
    height: 1px;
    background: rgba(233, 102, 49, 1);
}
.contact-form-wrapper .contact-info {
    padding: 10px 0;
}
.contact-form-wrapper .contact-info p {
    font-size: 15px;
    line-height: 28px;
    letter-spacing: 0.3px;
    color: #5b6880;
    margin-bottom: 20px;
}
.contact-form-wrapper .form-wrapper {
    width: 100%;
    overflow: hidden;
}
.contact-form-wrapper .form-group {
    position: relative;
    margin-bottom: 10px;
}
.contact-form-wrapper .form-control {
    box-shadow: none;
    width: 100%;
    height: 52px;
    background: transparent;
    border: 1px solid #d9dde4;
    border-radius: 4px;
    padding: 18px;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: 0.3px;
    color: #97a1b2;
}
.btn-effect-default {
    position: relative;
    display: inline-block;
    font-weight: 700;
    line-height: 30px;
    cursor: pointer;
    text-decoration: none;
    padding: 5px 28px;
    color: #fff;
    border: 1px solid #000;
    border-radius: 5px 5px;
    text-transform: uppercase;
    font-size: 12px;
    text-align: center;
    letter-spacing: 1px;
    background-color: transparent;
    -webkit-transition: color 0.45s cubic-bezier(0.785, 0.135, 0.15, 0.86), border 0.45s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    transition: color 0.45s cubic-bezier(0.785, 0.135, 0.15, 0.86), border 0.45s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    z-index: 1;
    overflow: hidden;
}
.btn-effect-default {
    padding: 5px 25px;
}
.btn-effect-default.btn-primary, .btn-effect-default.btn-blue, .btn-effect-default.btn-info
{
    border: 1px solid #3f7df6;
}
.btn-effect-default.btn-primary:before, .btn-effect-default.btn-blue:before, .btn-effect-default.btn-info:before {
    background-color: #3f7df6;
}
.btn-effect-default.btn-primary:hover, .btn-effect-default.btn-blue:hover, .btn-effect-default.btn-info:hover {
    background-color: #fff;
    color: #3f7df6;
}
.btn-effect-default.btn-primary:before, .btn-effect-default.btn-blue:before, .btn-effect-default.btn-info:before {
    background-color: #3f7df6;
}
.btn-effect-default:before {
    position: absolute;
    content: "";
    display: block;
    left: -2px;
    top: 0;
    right: -2px;
    bottom: 0;
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    -webkit-transform-origin: left center;
    transform-origin: left center;
    z-index: -1;
    background-color: #000;
    -webkit-transition: -webkit-transform 0.45s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    transition: -webkit-transform 0.45s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    transition: transform 0.45s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}
.btn-effect-default:hover:before {
    -webkit-transform-origin: right center;
    transform-origin: right center;
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1);
}
.menu_mobile
{
    display: none;
}

@media only screen and (min-width: 1px) and (max-width: 1280px)
{   

    #mainNav
    {
        zoom: .84;
    }
}

@media only screen and (min-width: 1px) and (max-width: 1024px)
{


}
@media only screen and (min-width: 1px) and (max-width: 991px)
{
    .menu_mobile
    {
        display: block;
    }

}
@media only screen and (min-width: 1px) and (max-width: 768px)
{


}
@media only screen and (min-width: 1px) and (max-width: 500px)
{   
    .section-title {
        font-size: 1.5rem;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    .mb_alls {
        flex-direction: column;
        align-items: start !important;
    }
    .mb_padding {
        margin-top: 10px;
    }
    .list_products
    {
        grid-template-columns:1fr;
    }
}