/* --- UNIFIED SANS-SERIF FONT SYSTEM (OPEN SANS) --- */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

body, h1, h2, h3, h4, h5, h6, p, a, span, button, input, select, textarea, li, .product-title-luxury, .catalog-title {
    font-family: 'Open Sans', sans-serif !important;
}

/* --- PRODUCT DETAIL PAGE STYLES --- */
.om-product-container {
    background: #fff;
    padding-top: 20px;
}

.product-images-grid .image-item img {
    background-color: #fff;
    width: 100%;
    height: auto;
}

/* Fix Magnific Popup Image Background */
.mfp-content {
    background: #fff;
}

.mfp-figure figure {
    margin: 0;
    background: #fff;
}

img.mfp-img {
    padding: 0 !important;
    background: #fff;
    box-shadow: none !important;
}

.mfp-bottom-bar {
    display: none !important;
}

.product-info-sticky {
    position: sticky;
    top: 120px;
    padding-left: 3rem;
}

.minimalist-breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 15px;
}

.minimalist-breadcrumb a,
.minimalist-breadcrumb li {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em !important;
    color: #999 !important;
    text-decoration: none;
}

.product-title-luxury {
    font-size: 3rem !important;
    font-weight: 300 !important;
    color: #111 !important;
    margin-bottom: 15px !important;
    line-height: 1.1 !important;
    text-transform: none !important;
}

.product-price-luxury {
    margin-bottom: 30px;
}

.product-price-luxury .main-price {
    font-size: 1.4rem;
    font-weight: 500;
    color: #111;
    letter-spacing: 0.05em;
}

.product-price-luxury .old-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.qty-selector-luxury {
    border: 1px solid #c5a977;
    height: 50px;
    display: flex;
    align-items: center;
    background: #fff;
}

.qty-selector-luxury .btn {
    border: none;
    background: #c5a977;
    width: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    border-radius: 0;
}

.qty-selector-luxury input {
    border: none;
    width: 45px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    color: #111;
}

.btn-add-to-cart {
    background: #111;
    color: #fff;
    border: none;
    height: 50px;
    padding: 0 40px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em !important;
    transition: all 0.3s;
    border-radius: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* THOMAS SABO STYLE SYSTEM */
:root {
    --ts-font-serif: 'Cormorant Garamond', serif;
    --ts-font-sans: 'Montserrat', sans-serif;
    --ts-text-muted: #999;
    --ts-text-main: #111;
    --ts-bg-light: #f9f9f9;
}

.ts-breadcrumb {
    padding: 20px 0;
}

.ts-breadcrumb ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    align-items: center;
}

.ts-breadcrumb li, .ts-breadcrumb a {
    font-family: var(--ts-font-sans);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ts-text-muted);
    text-decoration: none;
}

.ts-breadcrumb .separator::after {
    content: '>';
    font-size: 8px;
    margin: 0 5px;
}

.ts-page-title {
    font-family: var(--ts-font-serif);
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--ts-text-main);
    margin-bottom: 30px;
    letter-spacing: -0.01em;
}

.ts-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    margin-bottom: 40px;
}

.ts-toolbar-left {
    flex: 1;
}

.ts-toolbar-right {
    display: flex;
    gap: 30px;
}

.ts-toolbar-btn {
    background: none;
    border: none;
    font-family: var(--ts-font-sans);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ts-text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
}

.ts-toolbar-btn:hover {
    opacity: 0.7;
}

/* Product Card */
.ts-product-card {
    border: none !important;
    background: transparent !important;
    margin-bottom: 40px;
}

.ts-product-thumb {
    background-color: var(--ts-bg-light);
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

.ts-product-thumb img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.5s ease;
}

.ts-product-card:hover .ts-product-thumb img {
    transform: scale(1.05);
}

.ts-product-info {
    text-align: left;
}

.ts-product-title {
    font-family: var(--ts-font-sans) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
}

.ts-product-title a {
    color: var(--ts-text-main) !important;
    text-decoration: none !important;
}

.ts-product-meta {
    font-family: var(--ts-font-sans);
    font-size: 10px;
    color: var(--ts-text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.ts-product-price {
    color: var(--ts-text-main);
    font-weight: 500;
    font-size: 14px;
}

.ts-product-price del {
    color: #ccc;
    margin-right: 5px;
}

/* Sidebar Offcanvas */
.ts-filter-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    padding: 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
}

.ts-filter-sidebar.active {
    right: 0;
}

.ts-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(2px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
}

.ts-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ts-sidebar-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.ts-widget-title {
    font-family: var(--ts-font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.ts-category-list {
    list-style: none;
    padding: 0;
}

.ts-category-list li {
    margin-bottom: 10px;
}

.ts-category-list a {
    font-family: var(--ts-font-sans);
    font-size: 12px;
    text-transform: uppercase;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.ts-category-list a:hover, .ts-category-list a.active {
    color: var(--ts-text-main);
}

/* Sort Dropdown */
.ts-sort-wrapper {
    position: relative;
}

.ts-sort-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    margin-top: 10px;
}

.ts-sort-dropdown.active {
    opacity: 1;
    visibility: visible;
    margin-top: 5px;
}

.ts-sort-dropdown ul {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.ts-sort-dropdown li {
    padding: 10px 20px;
    font-family: var(--ts-font-sans);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.ts-sort-dropdown li:hover, .ts-sort-dropdown li.active {
    background: #f9f9f9;
    color: #111;
}

.matching-item {
    border: none !important;
    background: transparent !important;
    margin-bottom: 20px;
    text-align: center;
}

.matching-item .product-thumb {
    background-color: #f9f9f9;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 15px;
}

.matching-item .product-thumb img {
    width: 100%;
    mix-blend-mode: multiply;
    transition: transform 0.5s ease;
}

.matching-item .product-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
}

/* --- GLOBAL LAYOUT FIXES --- */
.inner-content,
.slider-area-wrapper .item-inner {
    display: none !important;
}

/* Slider full-width: hiển thị đúng tỉ lệ ảnh gốc */
.slider-area-wrapper .hero-slider .item {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    background-size: 100% auto !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
}

/* Aspect ratio: để ảnh hiện đủ không bị cắt — dùng tỉ lệ cao hơn */
.slider-area-wrapper .hero-slider .owl-carousel .owl-item .item::before {
    content: '';
    display: block;
    padding-top: 42%;
}

/* Homepage Sidebar Categories */
.slider-area-wrapper .left-category-area .category-list {
    display: block !important;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    box-shadow: none !important;
    border: 1px solid #e0e0e0 !important;
    border-top: 0 !important;
    width: 100% !important;
    z-index: 10 !important;
    transition: none !important;
}

.slider-area-wrapper .left-category-area .category-header {
    display: none !important;
}

.slider-area-wrapper .left-category-area {
    position: relative;
    z-index: 10;
}

/* Modern Premium Menu UI */
.site-menu>ul>li>a {
    font-size: 15px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    padding: 12px 15px !important;
    letter-spacing: 0.5px;
    color: #fff !important;
    transition: all 0.3s ease;
}

.site-menu>ul>li:hover>a {
    background: rgba(255, 255, 255, 0.1);
}

/* Dropdown Base Styles */
.site-menu .sub-menu {
    position: absolute;
    background: #ffffff !important;
    min-width: 260px !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    border-top: 3px solid #C8A96B !important;
    border-radius: 0 0 4px 4px !important;
    list-style: none;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
}

.site-menu li:hover>.sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Dropdown Items */
.site-menu .sub-menu li {
    position: relative;
    padding: 0 !important;
    margin: 0 !important;
}

.site-menu .sub-menu li a {
    display: flex !important;
    align-items: center;
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    border: none !important;
}

.site-menu .sub-menu li:hover>a {
    background: #f8f9fa !important;
    color: #C8A96B !important;
    padding-left: 25px !important;
}

.site-menu .sub-menu li a i {
    font-size: 12px !important;
    margin-right: 10px;
    color: #C8A96B;
    transition: all 0.2s ease;
}

/* Level 3 Flyout Positioning */
.site-menu .sub-menu li .sub-menu {
    top: -13px !important;
    /* Align with parent padding */
    left: 100% !important;
    border-top: none !important;
    border-left: 3px solid #C8A96B !important;
    border-radius: 0 4px 4px 4px !important;
    margin-left: 0 !important;
    transform: translateX(10px);
}

.site-menu .sub-menu li:hover>.sub-menu {
    transform: translateX(0);
}

/* Leaf Icons and alignment */
.site-menu .sub-menu li.has-children>a::after {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: auto;
    font-size: 12px;
    color: #999;
    transition: transform 0.2s ease;
}

/* Mobile Menu Fixes (Slideable Menu) - FLEXBOX REFACTOR */
@media (max-width: 991px) {
    .slideable-menu ul {
        padding: 0 !important;
        margin: 0 !important;
    }

    .slideable-menu .t-h-dropdown-menu {
        display: none;
        width: 100% !important;
        background: #fbfbfb !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .slideable-menu ul li,
    .slideable-menu .t-h-dropdown {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
    }

    .slideable-menu .m-menu-item {
        display: flex !important;
        width: 100% !important;
        background: #fff;
        border-bottom: 1px solid #f0f0f0 !important;
        align-items: stretch !important;
        position: relative;
    }

    .slideable-menu .t-h-dropdown.active>.t-h-dropdown-menu {
        display: block !important;
    }

    .slideable-menu ul li a {
        flex: 1 !important;
        display: flex !important;
        align-items: center;
        padding: 14px 20px !important;
        font-size: 15px !important;
        color: #333 !important;
        text-decoration: none !important;
        background: transparent !important;
        min-height: 52px;
    }

    .slideable-menu .m-menu-toggle {
        width: 55px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-left: 1px solid #f0f0f0 !important;
        background: transparent !important;
    }

    .slideable-menu .m-menu-toggle i {
        font-size: 12px;
        color: #666;
        transition: transform 0.3s ease;
    }

    .slideable-menu .t-h-dropdown.active>.m-menu-item .m-menu-toggle i {
        transform: rotate(180deg);
        color: #C8A96B;
    }

    /* Indentation for deeper levels */
    .slideable-menu .t-h-dropdown-menu .m-menu-item {
        background: #f9f9f9 !important;
    }

    .slideable-menu .t-h-dropdown-menu a {
        padding-left: 35px !important;
    }

    .slideable-menu .t-h-dropdown-menu .t-h-dropdown-menu .m-menu-item {
        background: #f5f5f5 !important;
    }

    .slideable-menu .t-h-dropdown-menu .t-h-dropdown-menu a {
        padding-left: 50px !important;
        font-size: 14px !important;
    }
}

/* Category Menu Sidebar Fix */
.left-category-area .category-list .c-item a {
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 10px 15px !important;
}

/* Sticky Support Icons */
.sticky-support-icons {
    position: fixed;
    right: 20px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    z-index: 1999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.support-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none !important;
    overflow: hidden;
    background: transparent;
}

.support-icon img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.support-icon:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

@keyframes phone-shake {
    0% { transform: rotate(0) scale(1); }
    10% { transform: rotate(-10deg) scale(1.1); }
    20% { transform: rotate(10deg) scale(1.1); }
    30% { transform: rotate(-10deg) scale(1.1); }
    40% { transform: rotate(10deg) scale(1.1); }
    50% { transform: rotate(0) scale(1.1); }
    100% { transform: rotate(0) scale(1); }
}

@media (max-width: 767px) {
    .sticky-support-icons {
        right: 15px;
        bottom: 100px;
        gap: 10px;
    }
    .support-icon, .support-icon img {
        width: 48px;
        height: 48px;
    }
}

/* --- THEME OVERRIDES (GAS BRAND) --- */
:root {
    --gas-red: #C8A96B;
    --gas-red-dark: #C1161D;
    --gas-charcoal: #1A1A1A;
    --gas-gray-dark: #2C3E50;
    --gas-yellow: #F1C40F;
}

/* ---- Buttons: Primary dùng Đỏ ---- */
.btn-primary, .btn, .subscriber-form .btn {
    background: var(--gas-red) !important;
    border-color: var(--gas-red) !important;
    color: #fff !important;
    outline: none !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Kill theme pseudo-elements that turn black or cover icons */
.btn-primary::before, .btn-primary::after,
.btn::before, .btn::after,
.subscriber-form .btn::before, .subscriber-form .btn::after {
    display: none !important;
    content: none !important;
}

.btn-primary:hover, .btn:hover, .subscriber-form .btn:hover,
.btn-primary:focus, .btn:focus, .subscriber-form .btn:focus,
.btn-primary:active, .btn:active, .subscriber-form .btn:active {
    background: var(--gas-red-dark) !important;
    border-color: var(--gas-red-dark) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.btn-primary i, .btn i, .subscriber-form .btn i {
    color: #fff !important;
    position: relative;
    z-index: 2;
}

.btn-outline-primary {
    border-color: var(--gas-red) !important;
    color: var(--gas-red) !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background: var(--gas-red) !important;
    color: #fff !important;
}

/* ---- Accent text: giá, link hover, active ---- */
.product-card .product-price,
.details-page-top-right-content .price-area .main-price,
.text-primary,
.section-title .links a:hover,
.section-title .links a.active,
.section-title .right_link:hover,
.product-card .product-title>a:hover,
.product-card .product-category>a:hover,
.widget-categories ul>li>a:hover,
.widget-links ul>li>a:hover,
.post-title>a:hover,
.breadcrumbs>li>a:hover,
.steps .step.active .step-title,
.t-h-dropdown a:hover,
.t-h-dropdown a.active,
.navi-link:hover,
.site-header .site-menu>ul>li:hover>a,
.site-header .site-menu>ul>li.active>a,
.left-category-area .category-list .navi-link:hover span.text-gray-dark,
.left-category-area .category-list .sub-c-box .title:hover,
.left-category-area .category-list .sub-c-box .child-category a:hover,
#quick_filter li a:hover,
#quick_filter li a.active,
.shop-view>a,
.free-shippin-aa {
    color: var(--gas-red) !important;
}

/* ---- Accent background: badges, count labels, section highlights ---- */
.site-header .toolbar .toolbar-item>a>div>.cart-icon>.count-label,
.site-header .toolbar .toolbar-item>a>div>.compare-icon>.count-label,
.product-card .product-button-group .product-button,
.deal-of-day-section .countdown,
.product-card .countdown span,
.section-title .links a::before,
.scroll-to-top-btn:hover,
.pagination li a:hover,
.pagination li.active span,
.pagination li.active a,
.nav-tabs .nav-link.active,
.mm-heading-area,
.js-cookie-consent-agree {
    background: var(--gas-red) !important;
}

/* ---- Borders & focus ---- */
.form-control:focus,
.product-card:hover,
.product-gallery .product-thumbnails>li.active>a,
.steps .step.active,
.shop-view>a.active {
    border-color: var(--gas-red) !important;
}

.shop-view>a.active {
    background: var(--gas-red) !important;
}

.t-h-dropdown .t-h-dropdown-menu {
    border-top: 2px solid var(--gas-red) !important;
}

.custom-control .custom-control-input:checked~.custom-control-label::before {
    border-color: var(--gas-red) !important;
    background-color: var(--gas-red) !important;
}

/* ---- Header: Topbar trắng ---- */
.topbar {
    background: #ffffff !important;
    border-bottom: 1px solid #eeeeee;
}

.topbar .text-label,
.topbar i,
.topbar a {
    color: #333 !important;
}

/* ---- Navbar: Đỏ rạng rỡ ---- */
.site-header .navbar {
    background: var(--gas-red) !important;
}

/* ---- Section title: Dải line dọc màu Đỏ ---- */
.section-title {
    border-left: 5px solid var(--gas-red) !important;
    padding-left: 15px !important;
    margin-bottom: 30px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 34px !important;
    border-bottom: none !important;
}

.section-title h2 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.section-title h2::before,
.section-title h2::after,
.widget-title::after {
    display: none !important;
}

/* ---- Owl nav hover ---- */
.bestseller-slider.owl-carousel .owl-nav div:hover,
.brand-slider.owl-carousel .owl-nav div:hover,
.features-slider.owl-carousel .owl-nav div:hover,
.flash-deal-slider.owl-carousel .owl-nav div:hover,
.home-blog-slider.owl-carousel .owl-nav div:hover,
.newproduct-slider.owl-carousel .owl-nav div:hover,
.popular-category-slider.owl-carousel .owl-nav div:hover,
.gas-testimonial-slider.owl-carousel .owl-nav div:hover,
.toprated-slider.owl-carousel .owl-nav div:hover {
    background: var(--gas-red) !important;
    color: #fff !important;
    border-color: var(--gas-red) !important;
}

.gas-testimonial-slider.owl-carousel .owl-dots {
    text-align: center !important;
    margin-top: 25px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

.gas-testimonial-slider.owl-carousel .owl-dots .owl-dot {
    outline: none !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 4px !important;
    display: inline-block !important;
}

.gas-testimonial-slider.owl-carousel .owl-dots .owl-dot span {
    background: #cccccc !important;
    width: 8px !important;
    height: 8px !important;
    display: block !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.gas-testimonial-slider.owl-carousel .owl-dots .owl-dot.active span {
    background: var(--gas-red) !important;
    width: 24px !important;
    border-radius: 12px !important;
}

/* ---- Brand Slider Nav ---- */
.brand-slider.owl-carousel {
    position: relative;
}

.brand-slider.owl-carousel .owl-nav {
    margin-top: 0 !important;
}

.brand-slider.owl-carousel .owl-nav div {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #eeeeee !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    text-align: center !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.brand-slider.owl-carousel .owl-nav div::before,
.brand-slider.owl-carousel .owl-nav div::after {
    display: none !important;
}

.brand-slider.owl-carousel .owl-nav .owl-prev {
    left: -20px !important;
}

.brand-slider.owl-carousel .owl-nav .owl-next {
    right: -20px !important;
}

.brand-slider.owl-carousel .owl-nav div:hover {
    background: var(--gas-red) !important;
    color: #fff !important;
    border-color: var(--gas-red) !important;
}

.gas-testimonial-slider.owl-carousel .owl-nav div {
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #eeeeee !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    text-align: center !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ---- Scroll to top ---- */
.scroll-to-top-btn {
    background: var(--gas-charcoal) !important;
}

.scroll-to-top-btn:hover {
    background: var(--gas-red) !important;
}

/* ---- Blog section accent ---- */
.hn-dot.active {
    background: var(--gas-red) !important;
}

.hn-blog-item:hover .hn-blog-title {
    color: var(--gas-red) !important;
}

.hn-slide-caption {
    background: linear-gradient(to top, rgba(26, 26, 26, .85) 0%, transparent 100%) !important;
}

.product-thumb a {
    cursor: pointer !important;
}

.product-thumb a img {
    cursor: pointer !important;
}

/* Đồng đều chiều cao ảnh sản phẩm */
.product-card .product-thumb {
    overflow: hidden;
}

.product-card .product-thumb>a {
    display: block;
    height: 220px;
}

.product-card .product-thumb>a img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Mobile search: right 60px (desktop dùng 10px) */
@media (max-width: 991px) {
    /* Logo canh trái và tăng khoảng cách icon trên mobile */
    .site-branding {
        margin: 0 !important;
        text-align: left !important;
        flex: 0 0 auto !important; /* Không cho nó chiếm hết chiều ngang */
    }

    .site-header .toolbar {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 1 !important; /* Chiếm phần còn lại để đẩy sang phải */
        gap: 0 !important;
        padding-right: 15px !important; /* Thêm khoảng cách lề phải */
    }
    
    .site-header .toolbar .toolbar-item {
        position: relative !important;
        display: inline-block !important;
        margin-left: 25px !important; /* Tăng khoảng cách từ 18px lên 25px */
    }

    .site-header .toolbar .mobile-menu-toggle {
        position: relative !important;
        top: 2px;
    }

    .site-header .toolbar .mobile-menu-toggle a i {
        font-size: 20px !important;
        color: #111 !important;
    }

    /* Đảm bảo bảng Menu Mobile đè lên trên Header - TUYỆT ĐỐI */
    .site-header .toolbar {
        z-index: 1 !important; /* Hạ thấp các icon xuống */
    }

    .mobile-menu {
        z-index: 99999 !important; /* Đẩy bảng menu lên cao nhất */
        background: #fff !important;
        position: fixed !important;
        visibility: visible;
    }

    .mobile-menu .mm-heading-area {
        background: var(--om-accent) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 20px !important;
        width: 100% !important;
        min-height: 60px !important;
    }

    .mobile-menu .mm-heading-area h4 {
        color: #fff !important;
        margin: 0 !important;
        font-size: 18px !important;
    }

    .mobile-menu .mm-heading-area .mobile-menu-toggle {
        position: static !important;
        color: #fff !important;
    }
    
    /* Đảm bảo badge giỏ hàng đúng vị trí */
    .site-header .toolbar .cart-link .count-label {
        right: -8px !important;
        top: -8px !important;
    }
}

/* Desktop suggest dropdown: mirror theme CSS từ .search-box-wrap selector */
#header_search_form .serch-result {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    background: #fff;
    width: 100%;
    padding: 15px 15px 7px;
    border: 1px solid #e0e0e0;
    border-top: 0;
}

#header_search_form .serch-result .s-r-inner {
    height: 380px;
    overflow-y: auto;
}

#header_search_form .serch-result .product-card.p-col {
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 7px;
}

#header_search_form .serch-result .product-card.p-col:last-child,
#header_search_form .serch-result .product-card.p-col:hover {
    border-bottom: 1px solid #e0e0e0;
}

#header_search_form .serch-result .product-card .product-thumb {
    width: 60px;
}

#header_search_form .serch-result .bottom-area {
    display: block;
    text-align: center;
    padding-top: 7px;
    border-top: 1px solid #e0e0e0;
}

#header_search_form .serch-result .bottom-area a {
    margin-bottom: 0;
    color: #555;
    font-size: 14px;
}

/* Custom Navbar Style */
.site-header .navbar {
    background-color: var(--gas-red) !important;
}

.site-header .navbar .site-menu>ul>li>a {
    color: #fff !important;
    text-transform: uppercase !important;
    font-size: 16px !important;
    letter-spacing: .04em !important;
}

.site-header .navbar .site-menu>ul>li>a i {
    color: #fff !important;
}

.left-category-area .category-header h4 {
    text-transform: uppercase !important;
    font-weight: 700 !important;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.left-category-area .category-header h4 i {
    position: relative !important;
    top: 0 !important;
    margin-right: 10px !important;
    font-size: 18px !important;
}

.site-header .navbar .col-lg-3 {
    border-right: 1px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.site-header .navbar .col-lg-3:hover {
    filter: brightness(1.1);
}

.site-header .navbar .nav-inner {
    padding-left: 25px;
}

.site-header .navbar .navbar-toggler i,
.site-header .navbar .mobile-menu-toggle i {
    color: #111 !important;
}

/* ===== FOOTER GAS - Charcoal & Red ===== */
.site-footer {
    background: var(--gas-charcoal) !important;
    background-image: none !important;
    padding-top: 56px !important;
    color: #ffffff !important;
    border-top: 4px solid var(--gas-red) !important;
}

.site-footer .footer-copyright {
    padding: 16px 0;
    margin-top: 0px;
    color: rgba(255, 255, 255, .65) !important;
    font-size: .82rem;
    text-align: center;
}

/* Widget title - Modern Red Line */
.site-footer .widget-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding-bottom: 12px !important;
    margin-bottom: 25px !important;
    border-bottom: none !important;
    position: relative;
}

.site-footer .widget-title::after {
    content: '';
    display: block !important;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #C8A96B !important;
    /* Force Brand Red */
    border-radius: 0;
}

.site-footer .widget-title::before {
    display: none !important;
}

/* Text chung & Bullet Points */
.site-footer p,
.site-footer li,
.site-footer li a,
.site-footer strong,
.site-footer span {
    color: #cccccc !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.site-footer .widget-links li {
    padding: 6px 0 !important;
    border: none !important;
}

.site-footer .widget-links li a {
    display: block;
    position: relative;
    padding-left: 15px;
}

.site-footer .widget-links li a::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #C8A96B !important;
    /* Red Bullet */
    font-size: 12px;
    transition: all 0.3s ease;
}

.site-footer .widget-links li a:hover {
    color: #ffffff !important;
    padding-left: 20px;
}

.site-footer .widget-links li a:hover::before {
    left: 5px;
}

.footer-company-name {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.footer-company-name::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 3px;
    background: var(--gas-red);
}

/* Links */
.site-footer .widget-links li {
    padding: 6px 0;
    border-bottom: none;
}

.site-footer .widget-links li:last-child {
    border-bottom: none;
}

.site-footer .widget-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color .2s, padding-left .2s;
}

/* Ẩn icon mũi tên của theme gốc */
.site-footer .widget-links li a i,
.site-footer .widget-links li>a::before {
    display: none !important;
    content: none !important;
}

/* Chỉ giữ chấm tròn đỏ — dùng ::after để không bị theme ghi đè */
.site-footer .widget-links li a::after {
    display: none !important;
}

.site-footer .widget-links li {
    padding-left: 20px;
    position: relative;
}

.site-footer .widget-links li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gas-red);
}

.site-footer .widget-links li a:hover {
    color: var(--gas-red) !important;
    transform: translateX(5px);
}

/* Social */


/* Subscribe form */
.site-footer .subscriber-form .form-control {
    background: #fff !important;
    border: 1px solid #C8A96B !important;
    color: #000 !important;
    height: 44px;
}

.site-footer .subscriber-form .form-control::placeholder {
    color: rgba(255, 255, 255, .5) !important;
}

.site-footer .subscriber-form .input-group-addon {
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, .5) !important;
}

.site-footer .btn-primary {
    background: var(--gas-red) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-radius: 8px !important;
    height: 44px;
    transition: background .2s;
}

.site-footer .btn-primary:hover {
    background: var(--gas-red-dark) !important;
}

/* Info rows */
.footer-info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: #eeeeee;
    font-size: .9rem;
}

.footer-info-row i {
    color: var(--gas-red);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 6px;
    padding: 5px 10px;
    font-size: .75rem;
    color: #eeeeee !important;
    margin-right: 6px;
    margin-top: 8px;
}

.footer-badge i {
    color: var(--gas-yellow);
}

.left-category-area .category-list {
    min-width: 250px !important;
}

.left-category-area .category-list .navi-link {
    display: flex !important;
    align-items: center !important;
}

.left-category-area .category-list .navi-link i {
    top: 0 !important;
    float: none !important;
    margin-left: auto !important;
}

/* Mobile Menu Dynamic Toggle */
.slideable-menu .t-h-dropdown {
    position: relative;
}

.slideable-menu .m-menu-toggle {
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.slideable-menu .t-h-dropdown-menu {
    display: none;
    padding-left: 10px;
    background: rgba(0, 0, 0, 0.02);
    width: 100%;
}

.slideable-menu .t-h-dropdown.m-expanded>.t-h-dropdown-menu {
    display: block;
}

.slideable-menu .t-h-dropdown.m-expanded>.m-menu-toggle i {
    transform: rotate(180deg);
}

.slideable-menu .m-menu-toggle i {
    transition: transform 0.3s ease;
    font-size: 14px;
    color: #666;
}

/* ABSOLUTE FIX FOR SOCIAL ICONS - OVERRIDING ALL THEME DEFAULTS */
body footer.site-footer .footer-social-links a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    margin-right: 10px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    padding: 0 !important;
    position: relative !important;
    overflow: visible !important;
}

/* Kill all theme pseudo-elements that might hide our icons */
body footer.site-footer .footer-social-links a::before,
body footer.site-footer .footer-social-links a::after,
body footer.site-footer .footer-social-links a span::before,
body footer.site-footer .footer-social-links a span::after {
    display: none !important;
    content: none !important;
    background: none !important;
    border: none !important;
}

/* Global UI Overrides (ONLY Black on hover) */
.btn-add-to-cart:hover, 
.subscriber-form button:hover, 
.qty-selector-luxury .btn:hover,
.btn-primary:hover,
.newsletter-form button:hover,
.submit-btn:hover {
    background-color: #111 !important; /* Black on Hover */
    border-color: #111 !important;
    color: #fff !important;
}

/* Quantity Selector Icons */
.qty-selector-luxury .btn i {
    color: #fff !important;
}

/* Icons using legacy accent colors */
i.icon-map-pin, 
i.icon-phone-call, 
i.icon-mail,
[style*="color:var(--om-accent)"] {
    color: #c4a46d !important; /* Gold/Bronze accent */
}

/* Pagination Fix */
.page-item.active .page-link {
    background-color: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
}

body footer.site-footer .footer-social-links a span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body footer.site-footer .footer-social-links a i,
body footer.site-footer .footer-social-links a svg {
    color: #ffffff !important;
    fill: #ffffff !important;
    font-size: 1.1rem !important;
    line-height: 1 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body footer.site-footer .footer-social-links a:hover {
    background: #C8A96B !important;
    border-color: #C8A96B !important;
    transform: translateY(-4px) !important;
}

body footer.site-footer .footer-social-links a:hover i,
body footer.site-footer .footer-social-links a:hover svg,
body footer.site-footer .footer-social-links a:hover span {
    color: #ffffff !important;
    fill: #ffffff !important;
    opacity: 1 !important;
}

/* ===== FIX MENU 1024px (992px - 1199px) ===== */
@media (min-width: 992px) and (max-width: 1199px) {
    /* Giảm padding & font-size menu items để không bị wrap 2 dòng */
    .site-menu > ul > li > a {
        font-size: 13px !important;
        padding: 10px 8px !important;
        letter-spacing: 0 !important;
    }

    .site-header .navbar .site-menu > ul > li > a {
        font-size: 13px !important;
        letter-spacing: 0 !important;
    }

    /* Bỏ padding-left nav-inner để tận dụng hết chiều rộng */
    .site-header .navbar .nav-inner {
        padding-left: 5px !important;
    }

    /* Thu nhỏ search desktop cho vừa topbar */
    #desktop-search-wrap {
        width: 340px !important;
    }

    /* Đảm bảo navbar không wrap */
    .site-header .navbar .col-lg-9 {
        display: flex;
        align-items: center;
    }

    .site-menu > ul {
        flex-wrap: nowrap !important;
        white-space: nowrap;
    }
}
