﻿.mb-10 {
    margin-bottom: 10px;
}

.mt-10 {
    margin-top: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.input-group-addon {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.input-group-addon, .input-group-btn {
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
}

.input-group .form-control, .input-group-addon, .input-group-btn {
    display: table-cell;
}

.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}

::-webkit-scrollbar {
    width: 8px !important;
    height: 8px !important;
    background-color: #f1f1f1 !important;
}

::-webkit-scrollbar-thumb {
    border-radius: 3px !important;
    background: #c1c1c1 !important;
}

::-webkit-scrollbar-thumb:horizontal {
    border-radius: 3px !important;
}

.k-dropdown .k-dropdown-wrap, .k-dropdowntree .k-dropdown-wrap {
    background-color: #fff !important;
}

.product_partial_navactive.owl-carousel:hover .owl-nav div {
    opacity: 1;
    visibility: visible;
}

.product_partial_navactive.owl-carousel .owl-nav {
    display: block;
}

.product_partial_navactive.owl-carousel .owl-nav div {
    position: absolute;
    background: #f2f2f2;
    border-radius: 3px;
    color: #333;
    height: 32px;
    top: 50%;
    transform: translatey(-50%);
    width: 32px;
    text-align: center;
    line-height: 32px;
    left: -7px;
    font-size: 18px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    opacity: 0;
    visibility: hidden;
}

.product_partial_navactive.owl-carousel .owl-nav div:hover {
    background: var(--primary-color) !important;
    color: #ffffff;
}

.product_partial_navactive.owl-carousel .owl-nav div.owl-next {
    right: -7px;
    left: auto;
}

.product_detail label {
    font-weight: 600;
    text-transform: capitalize;
    font-size: 14px;
    margin-bottom: 0;
}

.product_nhacungcap {
    margin-top: 10px;
    margin-bottom: 10px;
}

.nhacungcap {
    font-weight: 600;
    font-size: 14px;
}

label.label-gosto {
    float: left;
    margin-right: 22px !important;
    background: #ff7800;
    font-weight: 600 !important;
    color: white;
    padding: 5px 12px;
    position: relative;
    line-height: 25px;
    cursor: pointer;
}

label.label-gosto:before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-left: 17px solid #ff7800;
    top: 0;
    left: 100%;
}

label.label-gis-maps {
    line-height: 25px;
    padding: 5px;
    float: left;
    margin-right: 30px !important;
    position: relative;
    background: #005bbc;
    color: white;
    cursor: pointer;
}

label.label-gis-maps:before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-left: 17px solid #005bbc;
    top: 0;
    left: 100%;
}

label.label-gis-maps b:before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 18px solid #7bbbff;
    bottom: 0;
    right: -35px;
}

label.label-gis-maps:after {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 17px solid transparent;
    border-right: 17px solid transparent;
    border-top: 17px solid #7bbbff;
    top: 0;
    right: -34px;
}

span.glo-sto a {
    color: black;
    line-height: 35px;
}

span.gis-maps a {
    line-height: 35px;
}

.product_info_button ul li a.active {
    border-bottom: 3px solid var(--primary-color) !important;
}

a.zalo-redirect {
    width: 50px;
    float: left;
}

a.messenger-redirect {
    width: 50px;
    float: left;
    margin: 0px 10px;
}

a.phone-call {
    width: 50px;
    height: 50px;
    float: left;
    text-align: center;
    border-radius: 50%;
    background: var(--primary-color) !important;
    font-size: 28px;
    color: white;
}

a.phone-call i {
    transform: rotate(325deg);
}

.maincolor {
    color: var(--primary-color) !important;
}

.section_title label {
    font-size: 32px;
    line-height: 35px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 0;
    text-transform: capitalize;
    padding-bottom: 0;
}

.section_title button {
    font-size: 32px;
    line-height: 35px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 0;
    text-transform: capitalize;
    padding-bottom: 0;
}

a.home-more-product {
    padding: 2px 10px;
    color: #0252c1;
    border: 1px solid #0252c1;
    border-radius: 10px;
    font-size: 13px;
}

.read_more a {
    text-align: center;
    font-size: 15px;
    font-weight: 400;
    padding: 0 25px;
    display: inline-block;
    text-transform: uppercase;
    border-radius: 10px;
    height: 30px;
    line-height: 30px;
    background: inherit;
    color: #fff;
    background: var(--primary-color) !important;
}

.read_more a:hover {
    background: #222222;
}

.custom-btn-success {
    background: var(--primary-color) !important;
    border: 0;
    color: #ffffff;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    height: 34px;
    line-height: 26px;
    padding: 5px 20px;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    border-radius: 20px;
}

.custom-btn-success:hover {
    background: #222222;
}

.btn-success:focus {
    background-color: #222222;
    border-color: #222222;
    box-shadow: 0 0 0 0
}

.btn-danger:focus {
    background-color: #222222;
    border-color: #222222;
    box-shadow: 0 0 0 0
}

.custom-btn {
    border: 0;
    color: #ffffff;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    height: 34px;
    line-height: 26px;
    padding: 5px 20px;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    border-radius: 20px;
}

.custom-btn:hover {
    background: #222222;
}

.modal_social ul li.back-ground-quick-cart a {
    background: #3c5b9b;
}

.modal_social ul li.back-ground-quick-cart a:hover {
    background: var(--primary-color) !important;
}

.modal_social ul li a {
    text-transform: uppercase;
    display: inline-block;
    width: 38px;
    height: 38px;
    text-align: center;
    line-height: 38px;
    border-radius: 50%;
    font-size: 15px;
    color: #ffffff;
    font-weight: 400;
}

#scrollUp {
    bottom: 5px !important;
}

.header_account_list span.item_count {
    background: #c80436 !important;
    color: #ffffff !important;
}

.modal_add_to_cart input {
    width: 95px;
    border: 1px solid #ededed;
    background: none;
    padding: 0 10px;
    height: 45px;
}

.modal_add_to_cart button {
    background: none;
    border: 1px solid #222222;
    margin-left: 10px;
    font-size: 12px;
    font-weight: 700;
    height: 45px;
    width: 230px;
    line-height: 18px;
    padding: 10px 15px;
    text-transform: uppercase;
    background: #222222;
    color: #ffffff;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    cursor: pointer;
}

@media only screen and (max-width: 767px) {
    .modal_add_to_cart input {
        width: 75px;
    }
}

@media only screen and (max-width: 767px) {
    .modal_add_to_cart button {
        width: 130px;
    }
}

.modal_add_to_cart button:hover {
    background: var(--primary-color) !important;
    color: #ffffff;
    border-color: var(--primary-color) !important;
}

.customfaicon {

}

.account_menu nav > ul {
    display: flex;
}

    .account_menu nav > ul > li {
        position: relative;
        margin-right: 37px;
    }

        .account_menu nav > ul > li:last-child {
            margin-right: 0;
        }

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .account_menu nav > ul > li {
        margin-right: 24px;
    }
}

.account_menu nav > ul > li:hover ul.sub_menu {
    visibility: visible;
    max-height: 360px;
    padding: 20px 20px 20px 5px;
}

.account_menu nav > ul > li:hover .mega_menu {
    visibility: visible;
    max-height: 300px;
    padding: 25px 30px 30px 30px;
}

.account_menu nav > ul > li:hover > a {
    color: var(--primary-color) !important;
}

    .account_menu nav > ul > li:hover > a::before {
        opacity: 1;
        visibility: visible;
    }

.account_menu nav > ul > li > a {
    display: block;
    font-size: 15px;
    font-weight: 500;
    position: relative;
}

    .account_menu nav > ul > li > a i {
        margin-left: 3px;
    }

    .account_menu nav > ul > li > a.active {
        color: var(--primary-color) !important;
    }

.account_menu nav > ul > li ul.sub_menu {
    position: absolute;
    min-width: 220px;
    padding: 0 20px;
    background: #ffffff;
    box-shadow: 0 3px 11px 0 rgba(0, 0, 0, 0.1);
    max-height: 0;
    -webkit-transform-origin: 0 0 0;
    transform-origin: 0 0 0;
    left: 0;
    right: auto;
    visibility: hidden;
    overflow: hidden;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    z-index: 99;
    top: 101%;
    text-align: left;
}

    .account_menu nav > ul > li ul.sub_menu li a {
        font-size: 16px;
        font-weight: 400;
        display: block;
        line-height: 32px;
    }

        .account_menu nav > ul > li ul.sub_menu li a:hover {
            color: var(--primary-color) !important;
        }

.account_menu nav > ul > li.mega_items {
    position: static;
}

.account_menu nav > ul > li .mega_menu {
    position: absolute;
    min-width: 100%;
    padding: 0 30px 0 30px;
    background: #ffffff;
    box-shadow: 0 3px 11px 0 rgba(0, 0, 0, 0.1);
    max-height: 0;
    -webkit-transform-origin: 0 0 0;
    transform-origin: 0 0 0;
    left: 0;
    right: auto;
    visibility: hidden;
    overflow: hidden;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    z-index: 99;
    top: 101%;
    text-align: left;
}

.site-header .sub_menu .menu-item-account > ul li.link-header-login-reg a {
    border: 0;
    padding: 10px;
    background: #f4ab29;
    width: 100%;
    color: black;
    text-align: center;
}

.site-header .sub_menu .menu-item-account > ul li a {
    color: #666666;
    text-transform: none;
    transition: 0.5s;
    display: inline-block;
    position: relative;
    background-color: transparent;
    white-space: nowrap;
    line-height: 1;
    border-bottom: 1px solid transparent;
}

.nav-link:focus, .nav-link:hover {
    color: #fff;
}

ul#tabBodySanPham.nav.nav-tabs a.nav-link:hover {
    color: red;
}


.modal-dialog.modal-large70 {
    max-width: 100%;
    margin: auto !important;
}

.modal-dialog.modal-large100 {
    max-width: 100%;
    margin: auto !important;
}

@media screen and (min-device-width: 321px) and (max-device-width: 480px) {
    .k-pager-input .k-textbox {
        width: 2.5em !important;
        height: 2.5em !important;
    }

    .k-pager-nav, .k-pager-numbers .k-link, .k-pager-refresh {
        min-width: calc(1em + 0.5rem + 1.5px) !important;
        height: calc(1em + 0.5rem + 1.5px) !important;
    }

    .k-pager-wrap {
        padding: 0.2rem 0.2rem !important;
    }

    .modal-dialog.modal-large70 {
        max-width: 100% !important;
    }

    .modal-dialog.modal-large100 {
        max-width: 100% !important;
    }
}

@media screen and (min-device-width: 481px) and (max-device-width: 768px) {
    .k-pager-input .k-textbox {
        width: 3em !important;
    }

    .modal-dialog.modal-large70 {
        max-width: 100% !important;
    }

    .modal-dialog.modal-large100 {
        max-width: 100% !important;
    }
}

@media screen and (min-width: 769px) {
    .modal-dialog.modal-large70 {
        max-width: 70% !important;
    }

    .modal-dialog.modal-large100 {
        max-width: 100% !important;
    }
}

.modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.modal-header .close {
    margin-top: -2px;
}

button.close {
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.close {
    float: right;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
}

.modal-content button.close {
    left: 97% !important;
}

.containeraccount {
    padding-left: 30px;
    padding-right: 30px;
}

@media only screen and (max-width: 767px) {
    .containeraccount {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media only screen and (max-width: 479px) {
    .containeraccount {
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media (min-width: 992px) {
    .containeraccount {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 1200px) {
    .containeraccount {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 1400px) {
    .containeraccount {
        padding-left: 30px;
        padding-right: 30px;
    }
}

.bgRed {
    color: red;
}

.bgPurple {
    color: purple;
}

.bgYellow {
    color: yellow;
}

.bgOrange {
    color: orange;
}

.bgGreen {
    color: green;
}

.bgInfo {
    color: #5bc0de;
}

.bgBlue {
    color: #057efb
}

.bg-file {
    background-color: #f3f2f1 !important;
}

.treeViewTenNguoiNhan {
    font-size: 14px;
}

.treeViewTenPhongBanNguoiNhan {
    font-family: Arial;
    font-size: 14px;
    margin-left: 30px;
    color: #808080;
}

.treeViewNgayXuLy {
    padding-left: 30px;
    font-size: 14px;
    font-style: normal;
    font-weight: bold;
    color: #222;
}

.treeViewYKien {
    white-space: pre-wrap;
    width: 400px;
    text-align: justify;
    color: #222;
    font-size: 14px;
}

.shop_toolbar_wrapper_customize {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ddd;
    padding: 8px 10px;
    margin: 0 0 0px;
}

.toolbar_angle_down {
    text-align: center;
    padding-bottom: 10px;
}

@media only screen and (max-width: 500px) {
    span#idLabelTaiKhoanMain {
        display:none;
    }
}

@media only screen and (min-width: 501px) {
    span#idLabelTaiKhoanMain {
        display: "";
    }
}

.btnview:not(.btn-link):not(.btn-circle) {
    box-shadow: 0 2px 5px rgb(0 0 0 / 16%), 0 2px 10px rgb(0 0 0 / 12%);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
    border: none;
    font-size: 13px;
    outline: none;
}

.btnview, .input-group-btn .btnview {
    border: none;
    position: relative;
    margin: 5px 1px;
    font-size: 14px;
    letter-spacing: 0;
    will-change: box-shadow, transform;
    transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

    .btnview.btn-xs {
        padding: 4px 8px;
        font-size: 10px;
    }

.btn-warning,
.btn-warning:hover,
.btn-warning:active,
.btn-warning:focus {
    background-color: #ff9600 !important;
    cursor: pointer;
}

.btn-danger,
.btn-danger:hover,
.btn-danger:active,
.btn-danger:focus {
    background-color: #fb483a !important;
    cursor: pointer;
}

.btn-info,
.btn-info:hover,
.btn-info:active,
.btn-info:focus {
    background-color: #00b0e4 !important;
    cursor: pointer;
}

.btn-success,
.btn-success:hover,
.btn-success:active,
.btn-success:focus {
    background-color: #2b982b !important;
    cursor: pointer;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: #1f91f3 !important;
    cursor: pointer;
}

.btn-default,
.btn-default:hover,
.btn-default:active,
.btn-default:focus {
    background-color: #fff !important;
    cursor: pointer;
}

.bg-deep-orange {
    background-color: #f83600 !important;
    color: #fff;
}

.waves-effect {
    position: relative;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.cate-items-list-sub1 {
    padding-left:20px;
}

.cate-items-list-sub2 {
    padding-left: 30px;
}

.cate-items-list-sub3 {
    padding-left: 40px;
}

.cate-items-list-sub4 {
    padding-left: 50px;
}

.cate-items-list-sub5 {
    padding-left: 60px;
}

.cate-items-list-sub6 {
    padding-left: 70px;
}

.cate-items-list-sub7 {
    padding-left: 80px;
}

.cate-items-list-sub8 {
    padding-left: 90px;
}

/* =========================================================
   FIX UNDERLINE MENU: KHÔNG DOUBLE, KHÔNG NHẢY ICON, SUB OK
   ========================================================= */

/* Tắt mọi underline/border/after cũ của theme (nếu có) */
.cate-list a,
.cate-list li > a {
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

    .cate-list a::after,
    .cate-list li > a::after {
        content: none !important;
    }

    /* Hover / Focus / Active: dùng underline thật */
    .cate-list li > a:hover,
    .cate-list li > a:focus,
    .cate-list li > a:focus-visible,
    .cate-list li > a.active {
        color: var(--primary-color) !important;
        text-decoration-line: underline !important;
        text-decoration-color: var(--primary-color) !important;
        text-decoration-thickness: 2px !important;
        text-underline-offset: 4px !important;
    }

    /* Icon đứng yên */
    .cate-list li > a i {
        vertical-align: middle;
    }

/* ================= CARET MENU – FA5 PRO (CLEAN) ================= */

/* Layout anchor */
.sanpham-parent-li > a,
.sanpham-child-li > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Caret cho item có submenu */
.sanpham-parent-li:has(> ul) > a::after,
.sanpham-child-li:has(> ul) > a::after {
    content: "\f105"; /* fa-angle-right */
    font-family: "Font Awesome 5 Pro";
    font-weight: 300; /* PRO: light → rất mịn */

    margin-left: auto; /* đẩy sang phải */
    font-size: 13px; /* vừa mắt */
    line-height: 1;
    color: #6c757d; /* xám nhạt */
    transition: color 0.15s ease, transform 0.15s ease;
}

/* Hover: đổi màu + dịch nhẹ (KHÔNG xoay gắt) */
.sanpham-parent-li:has(> ul):hover > a::after,
.sanpham-child-li:has(> ul):hover > a::after {
    color: var(--primary-color);
    transform: translateX(2px); /* tinh tế hơn rotate */
}


/* =====================================================
   MOBILE OFFCANVAS MENU – SCROLL FIX (FINAL)
   ===================================================== */
@media (max-width: 991px) {

    /* Khóa scroll nền */
    /*body {
        overflow: hidden;
    }*/

    /* Offcanvas full màn hình */
    #menu-mobile.offcanvas {
        height: 100vh;
        overflow: hidden;
    }

    /* Wrapper chia layout */
    #menu-mobile .offcanvas-wrapper {
        display: flex;
        flex-direction: column;
        height: 100vh;
    }

    /* Phần header (call support, nút X) */
    #menu-mobile .call-support {
        flex-shrink: 0;
    }

    /* ===== VÙNG MENU CUỘN ===== */
    #menu-mobile #menu,
    #menu-mobile .offcanvas_main_menu {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Tránh menu bị dính sát đáy */
    #menu-mobile .offcanvas_main_menu {
        padding-bottom: 20px;
    }


    .offcanvas_main_menu ul {
        display: none;
    }

    .offcanvas_main_menu li.open > ul {
        display: block;
    }

    /* Cấp 2 */
    #menu-mobile .offcanvas_main_menu > li > ul {
        padding-left: 16px;
        border-left: 2px solid #f0f0f0;
    }

        /* Cấp 3 */
        #menu-mobile .offcanvas_main_menu > li > ul > li > ul {
            padding-left: 20px;
            border-left: 2px solid #eaeaea;
        }

            /* Cấp 4 (nếu có) */
            #menu-mobile .offcanvas_main_menu > li > ul > li > ul > li > ul {
                padding-left: 24px;
                border-left: 2px solid #e0e0e0;
            }

    /* Giảm padding link để không bị rộng quá */
    #menu-mobile .offcanvas_main_menu ul li > a {
        padding-left: 8px;
    }
}

/* ============================================================
   FIX LỖI NÚT TRANG CHỦ - CĂN GIỮA HOÀN HẢO
   ============================================================ */

.product_carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px !important;
    height: 30px !important;
    background: #ffffff !important;
    color: #333 !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #eee !important;
    z-index: 100;
    /* Dùng Flexbox để ép icon vào giữa */
    display: flex !important;
    align-items: center !important; /* Căn giữa dọc */
    justify-content: center !important; /* Căn giữa ngang */
    padding: 0 !important;
    margin: 0 !important;
    outline: none;
}

    /* Fix dấu mũi tên bên trong */
    .product_carousel .owl-nav button span {
        font-size: 25px !important; /* Giảm nhẹ cỡ chữ để không bị thô */
        line-height: 1 !important; /* Quan trọng: Reset line-height */
        display: block !important;
        height: auto !important;
        font-family: Arial, sans-serif !important; /* Dùng font hệ thống cho sạch */
        margin-top: -4px !important; /* Nhích nhẹ lên 1-2px tùy mắt bạn để cân bằng thị giác */
    }

    /* Hover mượt mà */
    .product_carousel .owl-nav button:hover {
        background: #ff5e13 !important;
        color: #fff !important;
        border-color: #ff5e13 !important;
    }

/* Vị trí nút */
.product_carousel .owl-prev {
    left: -20px !important;
}

.product_carousel .owl-next {
    right: -20px !important;
}

/* 1. Ép hiển thị thanh điều hướng cho gallery ảnh nhỏ */
#gallery_01 .owl-nav.disabled,
#gallery_01 .owl-nav {
    display: block !important; /* Loại bỏ trạng thái disabled */
}

/* 2. Định vị container bao quanh */
#gallery_01 {
    position: relative;
    padding: 0 30px !important; /* Tạo khoảng trống 2 bên để đặt nút */
    display: block !important;
}

    /* 3. Thiết kế nút điều hướng cho ảnh nhỏ */
    #gallery_01 .owl-nav button {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 25px !important;
        height: 25px !important;
        background: #fff !important;
        border: 1px solid #ddd !important;
        border-radius: 50% !important;
        z-index: 999 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    /* Vị trí nút Trái/Phải */
    #gallery_01 .owl-prev {
        left: 2px !important;
    }

    #gallery_01 .owl-next {
        right: 2px !important;
    }

    /* 4. Fix lỗi icon FontAwesome (i) bị lệch hoặc không hiện */
    #gallery_01 .owl-nav button i {
        color: #333 !important;
        font-size: 14px !important;
        display: block !important;
        line-height: 1 !important;
    }

    /* Hover */
    #gallery_01 .owl-nav button:hover {
        background: #ff5e13 !important;
        border-color: #ff5e13 !important;
    }

        #gallery_01 .owl-nav button:hover i {
            color: #fff !important;
        }

/* ============================================================
   DÀNH RIÊNG CHO PHẦN TAB/THUMBNAIL (.product_partial_navactive)
   ============================================================ */

/* 1. Ép hiện nút và tạo khoảng trống */
.product_partial_navactive.owl-carousel {
    position: relative;
    padding: 0 30px !important; /* Đẩy nội dung vào để lấy chỗ cho nút */
    display: block !important;
}

.product_partial_navactive .owl-nav.disabled,
.product_partial_navactive .owl-nav {
    display: block !important;
}

    /* 2. Thiết kế nút bấm: Tròn, trắng, căn giữa Flexbox */
    .product_partial_navactive .owl-nav button {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 25px !important;
        height: 25px !important;
        background: #fff !important;
        border: 1px solid #ddd !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 999 !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
        transition: all 0.2s ease;
        padding: 0 !important;
        margin: 0 !important;
    }

/* Vị trí sát lề */
.product_partial_navactive .owl-prev {
    left: 0px !important;
}

.product_partial_navactive .owl-next {
    right: 0px !important;
}

/* 3. Chỉnh Icon FontAwesome bên trong cho chuẩn */
.product_partial_navactive .owl-nav button i {
    font-size: 16px !important;
    color: #333 !important;
    line-height: 1 !important;
    display: block !important;
}

/* Hover: Đổi sang màu cam cho đồng bộ */
.product_partial_navactive .owl-nav button:hover {
    background: #ff5e13 !important;
    border-color: #ff5e13 !important;
}

    .product_partial_navactive .owl-nav button:hover i {
        color: #fff !important;
    }

/* Đảm bảo Modal preview luôn nằm trên cả Sticky Header */
#myModalDocviewer {
    z-index: 999999 !important; /* Thêm một số 9 nữa để lớn hơn 99999 */
}

/* Đảm bảo lớp nền mờ (backdrop) cũng phải nằm trên Header */
.modal-backdrop {
    z-index: 999998 !important;
}