﻿/* google translator */
body {
    top: 0px !important
}
body > .skiptranslate {
    display: none !important;
}
#google_translate_element {
display: none !important;
}
/* --- 0. Các biến cố định --- */
:root {
    --menu-main-width: 260px;
    --menu-expand-width: 800px;
    --transition-speed: 0.3s;
}
.vbox-overlay img {
    max-height: 80vh;
    width: auto;
}
.widget-wish{display:none;}
.drop-arrow {
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin-left: 5px;
    width: 1em;
    height: 1em;
}

    .drop-arrow::before {
        position: absolute;
        top: 50%;
        left: 0; 
        content: "\f078";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        transform: translateY(-50%);
        transition: transform linear .3s;
    }

    .drop-arrow.open::before {
        transform: translateY(-50%) rotate(180deg);
    }

ul.check li:before {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    top: 6px;
    left: 0;
    content: "";
    position: absolute;
    border: 1px solid var(--color2);
}

ul.check li::after {
    content: "";
    width: 4px;
    height: 6px;
    border: solid var(--green);
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
    margin: -2px 0 0 2px;
    border-radius: 0;
    position: absolute;
    left: 3px;
    top: 11px;
}

.price {
    color: var(--red);
}
    .price.old, .price-old {
        color: var(--gray);
        text-decoration: line-through;
    }
/* --- 1. OVERLAY (Lớp phủ nền) --- */
#page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Mặc định trong suốt */
    visibility: hidden;
    z-index: 50;
    transition: background-color var(--transition-speed) ease, visibility 0s var(--transition-speed);
    pointer-events: none; /* Không chặn tương tác khi ẩn */
}

    #page-overlay.active {
        visibility: visible;
        background-color: rgba(0, 0, 0, 0.2);
        transition: background-color var(--transition-speed) ease, visibility 0s;
        pointer-events: auto; /* Bật chặn tương tác khi hiện */
    }

/* --- 2. MENU CHÍNH (Thanh dropdown tổng thể) --- */
.navbar-content {
    position: relative;
    z-index: 100;
}

    .navbar-content .cate-bar {
        padding: 7px 10px;
        background: #0faaf5;
        cursor: pointer;
        border: 1px solid #0b92d3;
        border-radius: 5px;
        color: white;
        font-size: 16px;
    }

.nav-category {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 101;
    background: white;
    width: var(--menu-main-width);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 400px;
    overflow-x: hidden;
    transition: width var(--transition-speed) ease;
    border-right: 1px solid #eee;
    border:0 0 10px 10px;
}

    .nav-category.show {
        display: block;
    }

/* --- 3. CỘT CATEGORY CHÍNH (260px) --- */
.menu-category-list {
    width: var(--menu-main-width);
    list-style: none;
    padding: 0;
    margin: 0;
    height: 100%;
    float: left; 
}

.menu-category-item a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

    .menu-category-item a:hover {
        background-color: #f7f7f7;
        color: #e05252; /* Màu hover */
    }


/* --- 4. SUBMENU (Cột bên phải) --- */

.submenu-content {
    display: none;
    position: absolute;
    top: 0;
    left: var(--menu-main-width);
    width: calc(var(--menu-expand-width) - var(--menu-main-width));
    height: 100%;
    padding: 15px;
    background-color: #f9f9f9;
}

/* Kích hoạt hiển thị Submenu khi hover vào Item */
.menu-category-item:hover .submenu-content {
    display: block;
}

/* Định dạng các cột con trong submenu */
.sub-category-content {
    display: flex;
    /* Tối đa 4 cột, mỗi cột chiếm 1/4 diện tích */
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

    .sub-category-content ul {
        list-style: none;
        padding: 0;
        margin: 0;
        /* Tính toán: 100% chia 4 trừ khoảng cách gap */
        flex: 1 1 calc(25% - 15px);
        min-width: 120px;
    }

        .sub-category-content ul li a {
            padding: 5px 0;
            font-size: 14px;
            color: #666;
        }

            .sub-category-content ul li a:hover {
                color: #e05252;
                background-color: transparent;
            }
    
            .deals-part {
                padding: 30px;
                border-radius: 10px;
            }
    .deals-part.bg1 {
        background: var(--bg1);
    }
    .deals-part.bg2 {
        background: var(--bg2);
    }
    .deals-part.bg3 {
        background: var(--bg3);
    }
.inner-page {
    padding: 15px;
    background: var(--white);
    margin-bottom: 30px;
}
        .inner-page .section-heading {
            color: var(--text);
        }
        .inner-page .section-heading h2{
            color: var(--text);
        }
        .about-links {
        }
    .about-links {
        padding-left: 20px;
    }
        .about-links li {
            position: relative;
            padding: 5px 0;
            line-height: 1.5;
            font-size: 15px;
            padding-left: 12px;
        }
            .about-links li::before {
                content: "\f111";
                font-family: "Font Awesome 5 Free";
                font-weight: 900;
                position: absolute;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
                color: var(--color2);
                font-size: 6px;
            }
        .about-links li a {
            color: var(--text);
        }
@media only screen and (max-width: 767){
    .navbar-right{display:none;}
}
.sub-category-content .menu-brands {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Giãn đều các item */
    gap: 5px; /* Khoảng cách giữa các item */
}

    .sub-category-content .menu-brands .item {
        flex: 1 1 calc(20% - 5px); /* 5 item mỗi dòng, trừ khoảng cách */
        box-sizing: border-box;
        text-align: center;
        overflow: hidden;
    }

        .sub-category-content .menu-brands .item img {
            width: 100% !important;
            height: auto !important;
        }

        .sub-category-content .menu-brands .item .brand-name a {
            font-size: 12px;
            color: var(--text);
            text-transform: capitalize;
        }
.menu-variant {
    display: flex;
    justify-content: space-between;
    flex-wrap:wrap;
}
    .menu-variant .item {
        margin-right: 5px;
        margin-bottom: 5px;
        padding: 5px 8px;
        background: #fff;
        border: 1px solid var(--color2);
        border-radius: 5px;
        height: 30px;
        text-align:center;
    }
        .menu-variant .item a {
            color: var(--text);
            font-size: 14px;
            line-height: 20px;
            padding:0;
        }

        @media (max-width: 1024px) {
            .brand-list .item {
        flex: 1 1 calc(33.33% - 5px); /* 3 item mỗi dòng */
    }
}

@media (max-width: 768px) {
    .brand-list .item {
        flex: 1 1 calc(50% - 5px); /* 2 item mỗi dòng */
    }
    .btn-group-lg {
        display: flex;
        flex-wrap:wrap;
    }
}

@media (max-width: 480px) {
    .brand-list .item {
        flex: 1 1 100%; /* 1 item mỗi dòng */
    }
}
/* --- Brand bottom --- */
.brands {
    padding:50px 0;
    background-color: var(--white);
}
.brands-logo {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Giãn đều các item */
    gap: 5px; /* Khoảng cách giữa các item */
}

    .brands-logo .item {
        flex: 1 1 calc(15% - 5px); /* 5 item mỗi dòng, trừ khoảng cách */
        box-sizing: border-box;
        text-align: center;
        overflow: hidden;
        border: 1px solid var(--border);
        border-radius: 5px;
    }

        .brands-logo .item img {
            width: 100% !important;
            height: auto !important;
        }

        .brands-logo .item .brand-name a {
            font-size: 12px;
            color: var(--text);
            text-transform: capitalize;
        }
        .brands-logo .item:hover {
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transform: translateY(-5px);
            transition: all 0.3s ease;
            border-color: var(--color2);
        }
.main-content {
    padding: 15px;
    border-radius: 8px;
    background: var(--white);
    margin-bottom: 30px;
}
.page-title {
    margin-bottom: 10px;

}
    .page-title h1 {
        line-height: 44px;
    }
    .share-wrap {
        display: flex;
        align-items: center;
    }
    .share-wrap label {
        color: var(--text);
        margin-right: 10px;
    }
    .share-wrap a {
        border: 1px solid var(--border);
        border-radius: 5px;
        padding: 5px 8px;
        color: var(--text);
    }
@media (max-width: 1024px) {
    .brands-logo .item {
        flex: 1 1 calc(33.33% - 20px); /* 3 item mỗi dòng */
    }
}

@media (max-width: 768px) {
    .deals-part{
        padding:15px 15px;
    }
    .brands-logo .item {
        flex: 1 1 calc(50% - 20px); 
    }
    .navbar-part {
        display: none;
    }
    .main-content {
        padding: 10px;
        border-radius: 5px;
    }
}

@media (max-width: 480px) {
    .brands-logo .item {
        flex: 1 1 calc(50% - 10px);
    }
}


.col-sibar {
    position: relative;
    padding-bottom: 20px;
}

.widget {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--color2, #ddd);
    background-color: #fff;
}

#sibar_button {
    width: 100%;
}

.is-fixed {
    position: fixed;
    top: 70px;
}

@media (max-width: 767.98px) {
    .is-fixed {
        position: static !important;
        top: auto !important;
        width: 100% !important;
        border: none !important;
        padding: 0 !important;
        background-color: transparent !important;
    }
}
.chb-item {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.5;
}
    .chb-item input {
        margin-top: 4px;
        margin-right: 8px;
        cursor: pointer;
    }
.filter-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px
}
    .filter-nav .search-filter {
        flex-grow: 1;
        margin-right: 12px;
    }
    .filter-nav .search-filter input {
        width: 100%;
        height: 40px;
        padding: 0 10px 0 50px
    }

    .filter-nav .search-filter button {
        width: 40px;
        height: 40px;
        line-height: 40px
    }

    .filter-nav .btn-down {
        padding: 11px 20px;
        border: 1px solid var(--primary);
        line-height: 1
    }

    .filter-nav .dropdown-menu {
        padding: 8px
    }

        .filter-nav .dropdown-menu li {
            padding: 5px 0
        }

            .filter-nav .dropdown-menu li a {
                font-size: 14px;
                color: var(--primary);
                line-height: 1.5
            }
.banner-wrap {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin:10px 0;
}
    .banner-wrap img, .banner-wrap video, .banner-wrap iframe{
        width:100%;
        height:auto;
    }
.contact-page {
    padding: 15px;
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 30px;
}
.contact-desc h3 {
    margin-bottom: 15px;
}
.contact-desc p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
}
.contact-desc p.text {
   padding-left:40px;
}
    .contact-desc p i {
        float: left;
        width: 30px;
        height: 30px;
        text-align: center;
        color: var(--color2);
        font-size: 18px;
        margin-right: 10px;
        border: 1px solid var(--color2);
        border-radius: 50%;
        line-height: 30px;
    }
   /* css hình nền full hình phía sau*/
.bg-image-light {
    background-image: url('../images/background/light-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.logo-footer{
    margin-bottom:15px;
}
.logo-footer img {
    height: 40px !important;
    width: auto !important;
}
.support-footer {
    display: flex;
    justify-content:flex-end;
}
    .support-footer a {
        margin-left: 15px;
        font-size: 16px;
        margin-left: 15px;
        display: flex;
        align-items: center;
        font-weight: 500;
        padding: 5px 10px;
        border: 1px solid var(--color1);
        border-radius: 5px;
        transition: color 0.3s ease;
        overflow: hidden;
        position: relative;
        z-index: 2;
    }
        .support-footer a span {
            color: var(--red);
        }
        .support-footer a span.sub {
            color: var(--color1);
            margin-left: 5px;
        }

        .support-footer a i {
            font-size: 18px;
            margin-right: 5px;
            color: var(--color2);
            margin-right: 8px;
        }

        .support-footer a img {
            width: 20px;
            height: auto;
            margin-right: 8px;
        }

    .support-footer a::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--primary);
        z-index: 1;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }
        .support-footer a:hover {
            color: var(--white) !important;
        }
        .support-footer a:hover * {
            position: relative;
            z-index: 3;
            color: var(--white) !important;
        }
.support-footer a:hover::before {
    transform: scaleX(1);
}

    
        @media (max-width: 767px) {
            .footer-top .col-auto {
                width: 100%;
            }

            .support-footer {
                justify-content: center;
                flex-wrap: wrap;
                justify-content: flex-start;
            }

                .support-footer a {
                    margin: 5px;
                }
        }