﻿html body {
    margin: 0;
    padding: 0;
    background-size: cover; /* Phủ kín toàn bộ màn hình */
    background-position: center; /* Căn giữa ảnh */
    background-repeat: no-repeat; /* Không lặp lại ảnh */
    height: 100vh; /* Đảm bảo ảnh phủ toàn bộ chiều cao màn hình */
    font-family: "Roboto";
}

a {
    text-decoration: none;
    font-size: 15px;
}

    a:hover {
        text-decoration: none;
    }

.fa {
    font-size: 18px;
}


.slide {
    width: 100%;
    border-radius: 8px;
}

.btn-change {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    cursor: pointer;
}

#prev {
    left: 10px;
}

#next {
    right: 10px;
}

.news {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.h3tieude h3 {
    color: #d9534f;
    margin-bottom: 15px;
}

.newcon {
    display: flex;
    margin-bottom: 15px;
}

.imgnew img {
    width: 120px;
    height: 80px;
    border-radius: 8px;
}

.right-new {
    margin-left: 15px;
}

.topnew {
    font-weight: bold;
    color: #333;
}

.bottomnew {
    color: #777;
}

.timkiem-mobile, .timkiem-deskop, .topmobile {
    display: none;
}

img {
    vertical-align: middle;
    border-style: none;
}

.mobile-variant-placeholder {
    display: none;
}

.swiper-slide {
    width: auto !important;
    margin-right: 5px !important;
}

.professional-search-bar {
    position: relative;
}

    .professional-search-bar .input-group {
        border: 1px solid #ced4da;
        border-radius: 30px;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

        .professional-search-bar .input-group:focus-within {
            border-color: #007bff;
            box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
        }

    .professional-search-bar .form-control {
        border: none;
        box-shadow: none !important;
        height: 48px;
        padding-left: 20px;
        background-color: #fff;
    }

    .professional-search-bar .btn-search {
        border: none;
        background-color: black;
        color: white;
        padding: 0 25px;
        transition: background-color 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .professional-search-bar .btn-search:hover {
            background-color: red;
        }

        .professional-search-bar .btn-search img {
            filter: brightness(0) invert(1);
        }

.slide-show {
    position: relative;
    overflow: hidden;
}

.boc-slide-show {
    position: relative;
}

.banner-link {
    display: none;
}

.slide {
    width: 100%;
    height: auto;
    display: block;
}

.btn-change {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
}

    .btn-change:hover {
        background-color: rgba(0, 0, 0, 0.6);
    }

#prev {
    left: 20px;
}

#next {
    right: 20px;
}
/* Ẩn thanh cuộn cho WebKit browsers (Chrome, Safari, Edge) */
.variant1-thumbs-wrapper::-webkit-scrollbar {
    display: none; /* Ẩn hoàn toàn thanh cuộn */
}

/* Ẩn thanh cuộn cho Firefox */
.variant1-thumbs-wrapper {
    -ms-overflow-style: none; /* Ẩn thanh cuộn cho IE và Edge cũ */
    scrollbar-width: none; /* Ẩn thanh cuộn cho Firefox */
}

.variant1-thumbs-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Rất quan trọng cho cuộn mượt trên iOS */
    scroll-behavior: smooth; /* Cuộn mượt khi có thao tác JavaScript */
    max-width: 100%;
    box-sizing: border-box;
    cursor: grab;
    user-select: none;
    white-space: nowrap;
    /* Loại bỏ padding-bottom nếu bạn không muốn khoảng trống cho thanh cuộn */
    /* padding-bottom: 4px; */
}

    .variant1-thumbs-wrapper.dragging {
        cursor: grabbing;
    }

.variant1-thumbs {
    flex-wrap: nowrap;
    gap: 6px;
    padding: 4px;
    min-width: max-content;
    margin-left: auto; /* Căn giữa nội dung khi ít ảnh */
    margin-right: auto; /* Căn giữa nội dung khi ít ảnh */
}

.bocdmcsp,
.product-item {
    overflow: hidden;
    position: relative;
}

.variant1-thumbs img.thumb-variant1 {
    width: 45px;
    height: 45px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
    padding: 2px;
    flex-shrink: 0;
    transition: all 0.2s ease;
    /* Thêm thuộc tính này để tối ưu hóa hiệu suất rendering */
    will-change: transform;
}

    .variant1-thumbs img.thumb-variant1.active,
    .variant1-thumbs img.thumb-variant1:hover {
        border: 1px solid red;
    }

.flash-sale-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: #ff0000;
    color: white;
    font-weight: bold;
    padding: 4px 8px;
    font-size: 13px;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    animation: flashBlink 1s infinite;
}

@keyframes flashBlink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Mặc định: desktop hiện, mobile ẩn */
.hidden-mobile {
    display: block;
}

.hidden-desktop {
    display: none;
}

/* Khi màn hình mobile: */
@media (max-width: 768px) {
    .hidden-mobile {
        display: none;
    }

    .hidden-desktop {
        display: block;
    }
}

.product-price .normal-price {
    color: black;
    text-align: left !important;
    font-size: 15px;
}

.product-price {
    text-align: left !important;
    font-size: 15px;
}

    .product-price .sale-price {
        color: rgb(220 38 38 / var(--tw-text-opacity, 1));
        font-weight: bold;
    }

.original-price {
    text-decoration: line-through;
    color: #6b7280; /* text-gray-500 */
    font-size: 0.875rem; /* text-sm */
    margin-top: 0.25rem; /* mt-1 */
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
    html .container {
        max-width: 100% !important;
    }
    /* --- General Settings & Variables --- */
    :root {
        --menu-primary-color: #007bff;
        --menu-text-color: #333;
        --menu-bg-color: #fff;
        --menu-light-gray: #f4f4f5; /* Một màu xám nhạt hơn một chút */
        --menu-border-color: #e4e4e7;
        --menu-transition: all 0.3s ease-in-out;
    }

    .menu-tab-item {
        padding: 6px 12px;
    }

    .menu-tab-link {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        color: #333 !important;
        font-size: 15px;
        font-weight: 500;
        opacity: 1 !important;
    }

        .menu-tab-link span {
            opacity: 1 !important;
            display: inline-block;
        }

    .menu-tab-icon {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
        object-fit: contain;
    }

    /* --- Font & Main Container --- */
    #menudanhmuc-mobile {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    }

        #menudanhmuc-mobile .container {
            padding: 0 !important;
        }

    /* --- Toggle Button & Overlay (Giữ nguyên) --- */
    .menu-toggle {
        font-size: 26px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        color: var(--menu-text-color);
    }

    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0s 0.3s linear;
    }

        .mobile-overlay.active {
            opacity: 1;
            visibility: visible;
            transition-delay: 0s;
        }

    /* --- Main Menu Wrapper --- */
    .mobile-menu-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 95%; /* Tăng nhẹ chiều rộng */
        max-width: 420px;
        height: 100%;
        background: transparent; /* Nền ngoài sẽ trong suốt */
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 9999;
        padding: 10px 5px 10px 10px; /* Thêm padding để thẻ không dính sát lề */
        box-sizing: border-box;
    }

        .mobile-menu-wrapper.active {
            transform: translateX(0);
            background: #e5e7eb; /* Màu nền xám khi menu hiện ra */
        }

    /* --- Inset Card Style (bochetmenumobile) --- */
    .bochetmenumobile {
        background: var(--menu-bg-color);
        border-radius: 12px; /* Tăng độ bo tròn */
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden; /* QUAN TRỌNG: để bo góc áp dụng cho cả nội dung bên trong */
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }

    /* --- Menu Header --- */
    .menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        border-bottom: 1px solid var(--menu-border-color);
        flex-shrink: 0;
    }

    .menu-close {
        font-size: 24px;
        font-weight: bold;
        color: #888;
        cursor: pointer;
    }

    /* --- Search Area --- */
    .mobile-timkiem-mobile {
        padding: 15px;
        border-bottom: 1px solid var(--menu-border-color);
        flex-shrink: 0;
    }

    /* --- Menu Content Area with Scrolling --- */
    .mobile-menu-inner {
        overflow-y: auto;
        flex-grow: 1;
    }


    /* --- Level 1 Tabs (Cột trái) - ĐIỀU CHỈNH QUAN TRỌNG --- */
    ul#menuLevel1 {
        flex: 0 0 100px; /* Giảm nhẹ độ rộng cột tab */
        background-color: var(--menu-light-gray);
        list-style: none;
        padding: 0;
        margin: 0;
        border-right: 1px solid var(--menu-border-color);
    }

    li.menu-tab-item {
        padding: 12px 5px; /* Điều chỉnh padding */
        cursor: pointer;
        border-bottom: 1px solid var(--menu-border-color);
        transition: var(--menu-transition);
        position: relative;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .menu-tab-icon {
        width: 32px; /* Kích thước icon */
        height: 32px;
        margin-bottom: 5px; /* Khoảng cách giữa icon và chữ */
    }

    li.menu-tab-item span {
        font-size: 13px; /* Cỡ chữ */
        font-weight: 500;
        line-height: 1.2;
        color: #555;
    }

    /* Trạng thái active của tab */
    li.menu-tab-item.active {
        background-color: var(--menu-bg-color); /* Nền trắng để liền mạch với nội dung */
    }

        li.menu-tab-item.active span {
            font-weight: 700;
            color: var(--menu-primary-color);
        }

        li.menu-tab-item.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 4px;
            height: 100%;
            background-color: var(--menu-primary-color);
        }


    /* --- Right side content (Banner + Level 2/3) --- */
    .menu-banner {
        padding: 10px;
        border-bottom: 1px solid var(--menu-border-color);
    }

        .menu-banner img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 4px;
        }

    ul#menuLevel2 {
        flex: 1;
        list-style: none;
        padding: 10px;
        margin: 0;
    }

    .menu-level2-item {
        border-bottom: 1px solid #f0f0f0;
    }

        .menu-level2-item:last-child {
            border-bottom: none;
        }

    .level2-label {
        justify-content: space-between;
        align-items: center;
        padding: 14px 5px;
        font-weight: bold;
        cursor: pointer;
        color: #333;
    }

    .menu-tab-link ul li {
        list-style: none;
    }

    .toggle-sub {
        font-size: 20px;
        font-weight: bold;
        color: #999;
        transition: transform 0.3s ease;
    }

    .menu-level2-item.open .toggle-sub {
        transform: rotate(45deg);
    }

    /* Level 3 Items */
    ul.menu-level3 {
        list-style: none;
        padding-left: 15px;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        background: #fafafa;
    }

        ul.menu-level3 li {
            padding: 12px 10px;
            border-bottom: 1px solid #f0f0f0;
        }

            ul.menu-level3 li:last-child {
                border-bottom: none;
            }

            ul.menu-level3 li a {
                display: flex;
                align-items: center;
                text-decoration: none;
                font-size: 14px;
                transition: color 0.2s;
            }

                ul.menu-level3 li a:hover {
                    color: var(--menu-primary-color) !important;
                }

    .menu-icon-img {
        width: 24px;
        height: 24px;
        margin-right: 10px;
        object-fit: contain;
    }

    /* --- Support & Hotline Sections --- */
    .mobile-hotrokhachhang, .mobile-hotline {
        padding: 20px; /* Tăng padding */
        border-top: 1px solid var(--menu-border-color); /* Đường viền mảnh hơn */
        background-color: var(--menu-light-gray);
    }

    .list-title {
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 15px;
        color: var(--menu-text-color);
    }

    .mobile-hotrokhachhang .menu, .mobile-hotline .list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .mobile-hotrokhachhang .menu li {
            margin-bottom: 10px;
        }

            .mobile-hotrokhachhang .menu li a {
                text-decoration: none;
                color: #555;
            }

                .mobile-hotrokhachhang .menu li a:hover {
                    color: var(--menu-primary-color);
                }

    html ul li a {
        display: flex;
    }

    .baohanh-box input, textarea {
        padding: 10px;
        width: 100% !important;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .baohanh-box button, .confirm-btn {
        width: 100%;
    }

    .mt-2 {
        overflow: hidden;
        font-size: 13px !important;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        text-align: center;
        justify-content: space-evenly;
        justify-content: space-around;
    }

    .danhmucconten {
        display: none
    }

    .rounded-full {
        background: red !important;
    }

    .text-red-600 {
        height: 45px !important;
    }

    html .swiper-slide a {
        width: 100%;
    }

    html .swiper-slide {
        width: 250px !important;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

        html .swiper-slide a {
            border: none !important;
        }

            html .swiper-slide a:hover {
                text-decoration: none;
            }

    .relative img {
        width: 100%;
        height: auto;
    }

    .px-2 h3 {
        font-weight: bold;
        font-size: 16px;
        color: #5e4027;
        height: 75px;
        margin-bottom: 10px;
        overflow: hidden;
        text-align: left;
        padding-top: 10px;
        line-height: 21px;
    }

    .px-2 p {
        color: rgb(220 38 38 / var(--tw-text-opacity, 1));
        font-weight: bold;
        font-size: 19px;
    }

    .pl-2, .px-2 {
        background: antiquewhite !important;
    }

        .px-2 .nutmuangay {
            color: #9d0b0f;
            background: black;
            display: inline-block;
            padding: 4px 16px;
            border: solid 1px #e9e9e9;
            border-radius: 20px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
            transition: all .3s ease 0s;
        }

    .grid-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .bocdmcsp {
        margin: 5px;
        border: 1px solid #ccc;
        padding: 5px;
        border-radius: 5px;
    }

        .bocdmcsp .nutmuangay {
            color: #9d0b0f;
            background: black;
            display: inline-block;
            padding: 4px 16px;
            border: solid 1px #e9e9e9;
            border-radius: 20px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
            transition: all .3s ease 0s;
        }

    .mobile-cart-shortcut {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        text-align: center;
        padding: 10px 0;
        box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
        z-index: 9999;
    }

        .mobile-cart-shortcut button {
            padding: 12px 20px;
            background-color: #d0021b;
            color: white;
            font-size: 16px;
            border: none;
            border-radius: 8px;
        }

    .normal-price {
        font-weight: bold;
        color: red;
        font-size: 13px;
    }

    .product-price .sale-price {
        font-size: 13px;
    }

    .bocdmcsp a:hover {
        text-decoration: none;
    }
    /* Sticky mobile detail giống Zenlya */
    .sticky-mobile-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
        padding: 8px;
        display: none; /* ẩn mặc định */
        z-index: 9999;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: none;
        background: #fff;
        border-top: 1px solid #ccc;
        padding: 10px 0;
        z-index: 9999;
        box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }

    .sticky-mobile-inner {
        display: flex;
        align-items: center;
    }

    .sticky-mobile-left img {
        object-fit: cover;
        border-radius: 6px;
    }

    .sticky-mobile-center {
        flex: 1;
        margin-left: 10px;
    }

    .sticky-mobile-name {
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .sticky-mobile-price {
        color: #d0021b;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .sticky-mobile-variants {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .sticky-variant-row {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .sticky-variant-btn {
        padding: 4px 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        cursor: pointer;
        font-size: 13px;
    }

        .sticky-variant-btn.active {
            background: #d0021b;
            color: #fff;
            border-color: #d0021b;
        }

    .sticky-mobile-right .sticky-btn-buy {
        background: #d0021b;
        color: #fff;
        padding: 10px 12px;
        border: none;
        border-radius: 4px;
        font-size: 14px;
        cursor: pointer;
    }


    .popup-mgg-content h3 {
        margin-top: 0;
        color: #d0021b;
        font-weight: bold;
    }

    .mgg-wrapper {
        padding: 10px;
    }

    .mgg-title {
        font-weight: bold;
        display: inline-block;
        margin-bottom: 5px;
    }

    .mgg-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 5px;
    }

    .mgg-badge {
        background-color: #000;
        color: #fff;
        border-radius: 5px;
        padding: 5px 12px;
        font-size: 14px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        transition: opacity 0.3s;
    }

        .mgg-badge:hover {
            opacity: 0.8;
        }

    /* Popup */
    .popup-mgg {
        display: none; /* hidden mặc định */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5); /* overlay */
        z-index: 9999;
        justify-content: center;
        align-items: center;
    }

    .popup-mgg-content {
        background: #fff;
        padding: 20px 25px;
        border-radius: 10px;
        width: 90%;
        max-width: 400px;
        position: relative;
        animation: fadeIn 0.3s ease;
    }

    .popup-close {
        position: absolute;
        top: 8px;
        right: 12px;
        font-size: 22px;
        cursor: pointer;
        color: #333;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }


    .toast.show {
        opacity: 1;
    }

    .product-service {
        background-color: #fafafa;
        border-radius: 12px;
        padding: 16px 12px;
        display: flex;
        justify-content: space-between;
        gap: 8px;
        margin-top: 16px;
        margin-bottom: 16px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .row {
        display: flex;
    }

        .row .col-4 {
            width: 33.33%;
        }

    .product-service .item-service {
        flex: 1;
        text-align: center;
        padding: 8px;
    }

        .product-service .item-service .title {
            font-size: 14px;
            font-weight: bold;
            color: #333;
            margin-bottom: 4px;
        }

        .product-service .item-service .desc {
            font-size: 13px;
            color: #666;
            line-height: 1.4;
        }

    html .breadcrumb {
        font-size: 14px;
        margin-bottom: 15px;
        color: #666;
        background: none;
        padding-top: 14px;
        /* border-bottom: 1px solid #ccc; */
        border-radius: 0;
        text-overflow: ellipsis;
        display: inline-block;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: bottom;
    }

    .sticky-mobile-buy {
        padding: 10px 15px;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        position: relative;
    }

        .sticky-mobile-buy .btn-buy-now {
            display: block;
            width: 100%;
            font-size: 16px;
            font-weight: bold;
            padding: 12px 0;
            border-radius: 6px;
            background-color: #d0021b; /* đỏ đậm */
            color: #fff;
            border: none;
            cursor: pointer;
            transition: all 0.2s ease-in-out;
        }

            .sticky-mobile-buy .btn-buy-now:hover {
                background-color: #a90016; /* đỏ đậm hơn khi hover */
                transform: translateY(-1px);
            }

            .sticky-mobile-buy .btn-buy-now:active {
                background-color: #8b0012;
                transform: translateY(0);
            }

    .sticky-mobile-bar {
        display: none;
        flex-direction: column;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: #fff;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
        padding: 10px;
    }

    .sticky-mobile-content {
        gap: 10px;
        align-items: flex-start;
    }

    .sticky-mobile-left img {
        width: 150px;
        object-fit: cover;
        border-radius: 5px;
        border: 1px solid #eee;
    }

    .sticky-mobile-info {
        flex: 1;
        font-size: 14px;
    }

    .sticky-mobile-name {
        font-weight: bold;
        color: #333;
        margin-bottom: 3px;
    }

    .sticky-mobile-price {
        font-size: 16px;
        color: #d0021b;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .sticky-mobile-group1-name {
        font-size: 13px;
        margin-bottom: 5px;
        color: #555;
    }

    .sticky-mobile-group1 {
        display: grid;
        flex-wrap: wrap;
        gap: 5px;
        margin-bottom: 5px;
        grid-template-columns: repeat(8, 1fr);
    }

    .sticky-mobile-content .leftstickynhe {
        display: flex;
    }

    .left-leftstiky {
        padding-left: 10px;
    }

    .sticky-mobile-group2 {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-bottom: 5px;
        padding: 10px 0 10px 0;
    }

        .sticky-mobile-group1 div, .sticky-mobile-group2 div {
            border-radius: 3px;
            cursor: pointer;
            font-size: 13px;
        }

            .sticky-mobile-group1 div.active, .sticky-mobile-group2 div.active {
                color: #d0021b;
            }

    .sticky-mobile-btn {
        margin-top: 5px;
        background: #d0021b;
        color: #fff;
        border: none;
        padding: 10px;
        font-size: 16px;
        font-weight: bold;
        border-radius: 5px;
        width: 100%;
    }

    .thumbnail-scroll-wrapper {
        overflow: hidden;
        margin: 10px 0;
    }

    .bocanhconcon {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch; /* Hỗ trợ vuốt mượt */
        scrollbar-width: none; /* Firefox */
    }

        .bocanhconcon::-webkit-scrollbar {
            display: none; /* Chrome, Safari */
        }

        .bocanhconcon .dot1 {
            flex: 0 0 auto;
            scroll-snap-align: center;
            cursor: pointer;
            border: 2px solid transparent;
            border-radius: 5px;
            padding: 2px;
            transition: border-color 0.3s;
        }

            .bocanhconcon .dot1.active {
                border-color: #d0021b; /* Màu active */
            }

    .dot1.active {
        border-color: red;
    }

    .mobile-variant-placeholder {
        display: block;
    }

    .variant-selection-container {
        margin-top: 10px;
        padding: 10px;
        border-top: 1px solid #eee;
    }

    .variant-group-title {
        font-weight: bold;
        margin-bottom: 8px;
        font-size: 16px;
    }

    .variant-group-1 {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .btn-variant-group1 {
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 5px;
        cursor: pointer;
        width: 80px;
        text-align: center;
        transition: all 0.3s ease;
    }

        .btn-variant-group1.active {
            border-color: #d0021b;
            box-shadow: 0 0 5px rgba(208, 2, 27, 0.5);
        }

        .btn-variant-group1 .variant-img {
            width: 100%;
            height: auto;
            border-radius: 5px;
        }

        .btn-variant-group1 .variant-name {
            display: block;
            margin-top: 5px;
            font-size: 12px;
            color: #333;
        }

    .product-item {
        position: relative;
    }

    .best-seller-badge {
        position: absolute;
        top: 162px;
        left: 0;
        font-size: 12px;
        color: red;
        z-index: 5;
        background: red;
        color: white;
        border-radius: 10px;
        padding: 1px;
    }

    .py-1 {
        background: red !important;
    }

    .selectable-group1 {
        padding: 4px !important;
        min-width: auto !important;
        max-width: unset !important;
        width: auto !important;
    }

        .selectable-group1.active {
            border: 2px solid red;
            position: relative;
        }

    .variant-item-box {
        justify-content: center; /* Căn giữa ảnh */
    }



    .variant-name {
        display: none !important; /* Ẩn chữ */
    }



    .selectable-variant {
        display: inline-block;
        padding: 6px 14px;
        margin: 4px;
        border: 1px solid #ccc;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        color: #333;
        background: #fff;
    }

        .selectable-variant.active {
            border: 2px solid red;
            font-weight: bold;
        }














    .mySlidesa {
        text-align: center;
    }

        .mySlidesa #productVideo {
            width: 50%;
        }

    .scroller a:nth-last-child(1):nth-child(odd) {
        display: none;
    }

    .thumbnail-scroll-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 5px;
    }

    .bocanhconcon {
        overflow-x: scroll;
        gap: 10px;
        max-width: 100%;
        flex: 1;
        padding-left: 100px;
        padding-top: 10px;
        display: flex;
        gap: 0;
        margin-top: 10px;
    }

    .dot1 {
        flex: 0 0 auto;
        width: 80px;
        height: 80px;
        cursor: pointer;
    }

        .dot1 img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 4px;
        }

    /* Nút */
    .thumb-prev,
    .thumb-next {
        background-color: #d9d9d9;
        border: none;
        font-size: 24px;
        padding: 8px 12px;
        cursor: pointer;
        border-radius: 4px;
        transition: background 0.2s;
    }

        .thumb-prev:hover,
        .thumb-next:hover {
            background-color: #bfbfbf;
        }

    .btn-variant-group1 {
        width: 16%;
    }

    .variant-image-wrapper img {
        width: 100%;
    }

    #ContentPlaceHolder1_upSummary {
        padding-bottom: 60px;
    }
    /* Đảm bảo bạn có quy tắc này và nó đủ mạnh */
    .btn-variant-group1.selectable-group1.active {
        color: #fff;
        /* Bỏ hoặc điều chỉnh các style liên quan đến :focus nếu cần */
    }

    /* Quy tắc :focus có thể dùng cho hiệu ứng khác, không phải màu nền chính */
    .btn-variant-group1.selectable-group1:focus {
        outline: 2px solid blue; /* Ví dụ: chỉ thêm đường viền khi focus */
    }
    /* Khung chính */
    .variants-container {
        background: #fafafa;
        border: 1px solid #ddd;
        padding: 15px;
        border-radius: 10px;
        margin-top: 20px;
        font-family: Arial, sans-serif;
    }


    .variant-group-1 .btn-variant-group1 {
        border-radius: 8px;
        cursor: pointer;
        font-size: 14px;
        transition: all 0.2s ease-in-out;
        position: relative;
    }

        .variant-group-1 .btn-variant-group1:hover {
            color: white;
            background: none;
        }

        .variant-group-1 .btn-variant-group1.active {
            color: #fff;
            background: none;
        }

    /* Biến thể 2: Weight / Size phụ */
    .variant-detail {
        margin-top: 10px;
        padding: 10px 10px 5px;
        background-color: #fff;
        border: 1px dashed #ccc;
        border-radius: 8px;
    }

    #variant-details-container .variant-detail {
        display: grid;
        align-self: stretch;
        gap: 5px;
        grid-template-columns: repeat(2, 1fr);
    }

    .variant-detail strong {
        display: block;
        margin-bottom: 10px;
        color: #333;
        font-weight: bold;
        display: none;
    }

    .check-icon {
        position: absolute;
        top: 7px;
        right: 7px;
        background: #2a9fd6;
        color: white;
        border-radius: 50%;
        font-size: 12px;
        width: 16px;
        height: 16px;
        line-height: 16px;
        text-align: center;
        display: none;
    }

    .btn-variant-group1.active .check-icon {
        display: block;
    }
    /* Các lựa chọn cụ thể */
    .variant-item {
        display: inline-block;
        padding: 10px 15px;
        margin: 5px 6px 5px 0;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        background-color: #f5f5f5;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
        font-size: 14px;
    }

        .variant-item:hover {
            border-color: #2980b9;
            background-color: #2980b9;
            color: #007bff;
        }

        .variant-item.active {
            background-color: #007bff;
            border-color: #007bff;
            color: #fff;
        }

    .selectable-group1.active,
    .selectable-variant.active {
        color: white;
    }


    .variant-item.selectable-variant {
        padding: 6px 10px;
        margin: 3px;
        cursor: pointer;
        border-radius: 5px;
        display: inline-block;
        border: 1px solid #ccc;
    }

    .btn-variant-group1,
    .variant-item.selectable-variant {
        padding: 5px;
        cursor: pointer;
        border-radius: 4px;
        transition: background 0.3s, color 0.3s;
        display: inline-block;
        width: auto;
    }

        .btn-variant-group1.active,
        .variant-item.selectable-variant.active {
            color: white;
            border-radius: 4px;

        }

        .btn-variant-group1:hover,
        .variant-item.selectable-variant:hover {
            background-color: #3498db;
            color: white;
        }

    .chon-gia {
        font-size: 40px;
        padding: 0 0 0 10px;
    }
    /* Responsive */
    .variant-group-1 {
        display: grid;
        align-self: stretch;
        gap: 5px;
        grid-template-columns: repeat(4, 1fr);
    }

    .variant-item {
        display: block;
        width: 100%;
        margin-bottom: 8px;
        text-align: center;
    }

    .btn-variant-group1 {
        width: 100%;
        text-align: center;
    }










    .noidungbaiviet-tt img {
        max-width: 100%;
    }

    .sl
    .slogankichthich {
        padding: 30px 15px;
    }

    html .slogankichthich .col-md-3 {
        padding: 10px;
    }

    .policies-menu .row {
        display: flex;
        flex-wrap: wrap;
        margin-left: -10px;
        margin-right: -10px;
    }

    .policies-menu .col-6,
    .policies-menu .col-md-3 {
        padding: 10px;
        box-sizing: border-box;
        width: 50%; /* Mặc định cho mobile */
    }

    .policies-menu .col-md-3 {
        width: 25%;
    }


    .policies-menu .item {
        background: #ffffff;
        border-radius: 10px;
        padding: 20px 10px;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
        transition: all 0.3s ease;
        height: 100%;
    }

        .policies-menu .item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        }

    .policies-menu img {
        margin-bottom: 12px;
        transition: transform 0.3s ease;
    }

    .policies-menu .item:hover img {
        transform: scale(1.05);
    }

    .policies-menu p {
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 4px;
        color: #333;
    }

        .policies-menu p span {
            font-size: 13px;
            color: #777;
            display: block;
        }



    .ketquatimkiem {
        display: grid;
        align-self: stretch;
        gap: 8px;
        grid-template-columns: repeat(2, 1fr);
        margin: 10px 0 10px 0;
    }

        .ketquatimkiem .nutmuangay {
            color: #9d0b0f;
            background: #fff;
            display: inline-block;
            padding: 4px 16px;
            border: solid 1px #e9e9e9;
            border-radius: 20px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
            transition: all .3s ease 0s;
        }

    html .breadcrumb {
        font-size: 14px;
        margin-bottom: 15px;
        color: #666;
        background: none;
        padding-top: 14px;
        border-bottom: 1px solid #ccc;
        border-radius: 0;
    }

    .ketquatimkiem .tenspdanhmuc {
        text-align: center;
        font-weight: bold;
        font-size: 16px;
        color: #5e4027;
        height: 50px;
        overflow: hidden;
        line-height: 20px;
        padding-top: 10px;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .ketquatimkiem .bocthongtinspdm {
        text-align: center;
    }

    .breadcrumb a {
        color: #007bff;
        text-decoration: none;
        margin-right: 4px;
    }

    .breadcrumb .separator {
        margin: 0 6px;
        color: #aaa;
    }

    .breadcrumb span {
        color: #000;
    }

    #centerfs .container {
        padding: 0;
    }

    .timkiem .col-md-8 {
        padding: 0;
    }

    #toplmfoods .timkiem {
        width: 95%;
        margin: 0 auto;
    }

    .anhdanhmuc img {
        width: 100%;
    }

    .shopping-cart-list-header {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    #menudanhmuc-wrapper {
        width: 100%;
        display: flex;
        overflow-x: scroll;
    }

    #menudanhmuc .menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        background-color: #fbc02d;
        padding: 10px;
        max-width: 1270px;
        margin: 0 auto;
    }

        #menudanhmuc .menu .menu-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            text-align: center;
            text-decoration: none;
            color: #4e342e;
            width: 100px; /* đảm bảo đồng bộ độ rộng */
            min-height: 110px;
            padding: 10px;
            background-color: white;
            border-radius: 8px;
            font-size: 14px;
            transition: background-color 0.2s ease;
        }

    #menudanhmuc .menu-item:hover {
        background-color: #ffe082;
    }

    #menudanhmuc .menu-item img {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
        object-fit: contain;
    }

    .quantity-control {
        display: flex;
    }

    .excel-table .variant-price {
        display: revert;
        font-size: 12px;
    }


    /* Placeholder giữ chỗ khi sticky */
    #menudanhmuc-placeholder {
        height: 0;
        transition: height 0.3s ease;
    }

        #menudanhmuc-placeholder.active {
            height: 60px; /* bằng chiều cao danh mục */
        }

    /* Mobile responsive */






















    #menudanhmuc .menu {
        display: flex;
        flex-wrap: nowrap;
    }

        #menudanhmuc .menu a {
            width: 100%;
        }

    .container h1 {
        border: 0px solid black;
        box-sizing: border-box;
        font-size: 20.16px;
        overflow-wrap: break-word;
        font-family: Roboto-Regular;
        line-height: 36.192px;
        color: white;
        font-weight: bold;
        text-align: center;
        border-radius: 8px;
        background-color: #d0011b;
    }

    table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
    }

    th, td {
        border: none;
        padding: 10px;
        text-align: center;
        font-size: 16px;
    }

    .tongdonhang {
        margin-top: 20px;
        font-size: 18px;
        font-weight: bold;
    }

    .order-form {
        margin-top: 30px;
    }

        .order-form .txtorder {
            width: 100%;
            padding: 8px;
            margin-bottom: 10px;
            font-size: 16px;
        }

    .nutguithontindh {
        padding: 10px 20px;
        font-size: 16px;
        background: #3498db;
        color: #fff;
        border: none;
        cursor: pointer;
    }

    .pagination a.current {
        background: #469400 url(/Styles/Admins/Images/bg-button-green.gif) top left repeat-x !important;
        border-color: #459300 !important;
        color: #fff !important;
    }

    .pagination a {
        margin: 0 5px 0 0;
        padding: 3px 6px;
        color: #57a000;
    }

        .pagination a.number {
            border: 1px solid #ddd;
        }

        .pagination a.number {
            -moz-border-radius: 4px;
            -webkit-border-radius: 4px;
            border-radius: 4px;
        }

    .pagination {
        text-align: center;
        padding: 20px 0 5px 0;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 10px;
        margin-bottom: 10px;
    }

    .tintuclongminh .bvxemnhieu {
        width: 100%;
        margin-right: 0;
        background: white;
    }

    .tintuclongminh .bocbvxemnhieu {
        display: grid;
        align-self: stretch;
        gap: 8px;
        grid-template-columns: repeat(2, 1fr);
        margin: 10px 0 10px 0;
        padding: 0;
    }

    .tintuclongminh .tenbvxemnhieu, .tomtatbaivietxemnhieu {
        padding: 5px;
    }

    .tintuclongminh .luotxembv {
        padding: 5px 0 10px 5px;
    }

    .tintuclongminh .anbvxemnhieu img {
        border-radius: 5px 5px 0 0;
    }

    .tintuclongminh .tomtatbaivietxemnhieu {
        color: black;
        font-size: 13px;
        height: 50px;
    }

    .container th {
        background-color: #007bff;
        color: white;
        text-align: center;
    }
    /* Global styles */
    body {
        font-family: 'Arial', sans-serif;
        background-color: #f4f4f4;
        color: #333;
        line-height: 1.6;
        padding: 10px;
    }

    /* Container chính */
    .container {
        max-width: 800px;
        margin: 20px auto;
        background: #fff;
        border-radius: 8px;
    }

    .boc-slide-show .container {
        padding: 0;
    }
    /* Bảng giỏ hàng */
    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
        font-size: 14px;
    }

    .slideproduct .col {
        padding: 0;
    }

    thead {
        background-color: #007bff;
        color: black;
    }

        thead th {
            padding: 10px;
            text-align: left;
            font-size: 14px;
        }

    tbody td {
        padding: 10px;
        border-bottom: none;
    }

    tbody tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    tbody tr:hover {
        background-color: #f1f1f1;
    }

    /* Input và nút tăng giảm số lượng */
    .qty-input {
        width: 40px;
        text-align: center;
        padding: 4px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .qty-btn {
        display: inline-block;
        background-color: #007bff;
        color: #fff;
        padding: 5px 8px;
        text-decoration: none;
        border-radius: 4px;
        font-size: 14px;
        margin: 0 3px;
        cursor: pointer;
    }

    /* Tổng đơn hàng */
    .tongdonhang {
        text-align: right;
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 20px;
    }

    /* Form thông tin khách hàng */
    .order-form {
        background-color: #f8f8f8;
        padding: 15px;
        border-radius: 8px;
        border: 1px solid #ddd;
    }

        .order-form .form-title {
            font-size: 18px;
            margin-bottom: 15px;
            color: #007bff;
            font-weight: bold;
            text-align: center;
        }

        .order-form .divtxtorder {
            margin-bottom: 12px;
        }

        .order-form .txtorder {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 14px;
        }

        .order-form .nutguithontindh {
            width: 100%;
            padding: 12px;
            background-color: #28a745;
            color: #fff;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
            transition: background 0.3s ease;
        }

            .order-form .nutguithontindh:hover {
                background-color: #218838;
            }

    table {
        font-size: 12px;
    }

    thead th, tbody td {
        padding: 8px;
        font-size: 12px;
    }

    .qty-input {
        width: 30px;
        font-size: 12px;
    }

    .qty-btn {
        padding: 4px 6px;
        font-size: 12px;
    }

    .tongdonhang {
        font-size: 14px;
    }

    .order-form .txtorder {
        font-size: 12px;
    }

    .order-form .nutguithontindh {
        font-size: 14px;
        padding: 10px;
    }


    #bocbottom {
        padding-bottom: 20px;
        margin: 0;
    }

    .product-item .product-name {
        font-weight: bold;
        font-size: 16px;
        color: #5e4027;
        height: 50px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .category {
        position: relative;
        overflow: hidden;
        width: 100%;
        padding-bottom: 15px;
    }

    .scroller .nutmuangay {
        color: #9d0b0f;
        background: #fff;
        display: inline-block;
        padding: 4px 16px;
        border: solid 1px #e9e9e9;
        border-radius: 20px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
        transition: all .3s ease 0s;
    }

    .scroller {
        display: flex;
        flex-wrap: wrap;
    }

        .scroller.dragging {
            cursor: grabbing;
        }

    .danhmucspconten {
        padding-top: 10px;
    }

    .scroller a {
        flex: 0 0 auto;
        width: 50%;
        background: #f8f8f8;
        padding: 10px;
    }

    .tieudedanhmucsp h2 {
        font-size: 28px;
        color: #d9534f;
        margin: 0;
        white-space: nowrap;
        padding: 10px 20px;
        border: 2px solid #d9534f;
        border-radius: 8px;
        position: relative;
    }

    .tieudedanhmucsp:before {
        content: "";
        height: 2px;
        background-color: #d9534f;
        flex-grow: 1;
        margin-right: 10px;
    }

    .tieudedanhmucsp:after {
        content: "";
        height: 2px;
        background-color: #d9534f;
        flex-grow: 1;
        margin-left: 10px;
    }

    .tieudedanhmucsp {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        width: 100%;
        position: relative;
    }

    .product-item img {
        width: 100%;
    }



    .newcon .imgnew {
        width: 45%;
    }

        .newcon .imgnew img {
            width: 100%;
        }

    .product-item img {
        width: 100%;
    }

    .order-form .txtorder {
        background-color: #fff;
        border: 1px solid;
        border-radius: 7px;
        box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%);
        box-sizing: border-box;
        font-size: .77em;
        font-weight: bold;
        height: 30px;
        padding: 0 .75em;
        transition: color .3s, border .3s, background .3s, opacity .3s;
        vertical-align: middle;
        width: 100%;
    }

    .order-form .divtxtorder {
        padding: 1%;
    }

    .nutguithontindh {
        -webkit-box-align: center;
        -webkit-box-flex: 1;
        -webkit-box-orient: horizontal;
        -webkit-box-pack: center;
        align-items: center;
        align-self: center;
        border: 0px solid rgb(255, 135, 99);
        border-radius: 15.36px;
        box-shadow: none;
        box-sizing: border-box;
        color: rgb(255, 255, 255);
        cursor: pointer;
        display: flex;
        flex: 1 1 auto;
        flex-direction: row;
        float: right;
        font-size: 15.36px;
        margin-bottom: 7.68px;
        margin-right: 12.8px;
        margin-top: 7.68px;
        max-width: 128px;
        min-width: 102.4px;
        opacity: 1;
        padding: 0px 12.8px;
        place-content: flex-start center;
        position: relative;
        background-color: #faa519;
    }

    .news .h3tieude {
        text-align: center;
    }

    .order-form {
        overflow: hidden;
    }

    .form-title {
        -webkit-box-orient: vertical;
        align-content: flex-start;
        border: 0px solid black;
        box-sizing: border-box;
        color: rgb(17, 17, 17);
        display: block;
        flex-direction: column;
        flex-shrink: 0;
        font-family: Roboto-Regular;
        font-size: 20.16px;
        font-weight: bold;
        margin-bottom: 10px;
        margin-right: 10.0533px;
        max-width: 100%;
        overflow: hidden;
        overflow-wrap: break-word;
        position: relative;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tongdonhang {
        text-align: right;
        font-size: 16px;
        margin-top: 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid #ccc;
        padding-bottom: 10px;
        padding-right: 10px;
    }
    /* CSS cho nút tăng/giảm */
    .qty-btn {
        display: inline-block;
        width: 30px;
        height: 30px;
        line-height: 23px;
        text-align: center;
        background-color: black;
        border: 1px solid #ccc;
        margin: 0 5px;
        border-radius: 5px;
        cursor: pointer;
        font-weight: bold;
    }

        .qty-btn:hover {
            background-color: #e6e6e6;
        }

    .qty-input {
        text-align: center;
        width: 30px;
    }
    /* Style cho bảng */
    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }

    th, td {
        /*padding: 8px;*/
        border: none;
        text-align: center;
    }

    th {
        background-color: #f9f9f9;
    }

    .variants-container {
        margin: 5px;
        box-sizing: border-box;
        font-family: Arial, sans-serif;
    }

    /* Header của danh sách biến thể */
    .variants-header {
        display: flex;
        /* border-bottom: 2px solid #333; */
        padding-bottom: 5px;
        /* margin-bottom: 10px; */
        background: #faa519;
        /* padding: 11px; */
        padding: 10px 0 10px 0;
        color: black;
    }

    .header-column {
        flex: 1;
        font-weight: bold;
        text-align: center;
        font-size: 13px;
    }

    /* Danh sách biến thể */
    .variants-list {
        display: flex;
        flex-direction: column;
    }

    /* Mỗi hàng biến thể */
    .variant-item {
        background-color: #fafafa;
        border-bottom: 2px solid white;
    }

    /* Hàng chứa thông tin biến thể (3 cột) */
    .variant-info {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    /* Mỗi cột thông tin trong hàng biến thể */
    .info-column {
        flex: 1;
        text-align: center;
        font-size: 14px;
    }

    /* Kiểu hiển thị giá và khối lượng */
    .variant-price,
    .weight {
        display: inline-block;
    }

    /* Cột số lượng */
    .quantity-column .quantity-control {
        display: flex;
        justify-content: center;
        align-items: center;
        float: right;
    }

    /* Nút tăng giảm số lượng */
    .qty-decrease,
    .qty-increase {
        width: 35px;
        border: 1px solid white;
        cursor: pointer;
        text-align: center;
        line-height: 30px;
        font-size: 16px;
    }

    /* Input hiển thị số lượng */
    .qty-input {
        border: 1px solid white;
        font-size: 14px;
    }



    .nutlikefb {
        padding: 10px 0 10px 0;
    }

    .tieudedetail {
        position: relative;
        z-index: 1;
        border-bottom: solid 2px #e6ddd4;
        display: inline-block;
        color: #3e2714;
        font-size: 18px;
        font-weight: bold;
        position: relative;
        z-index: 1;
        bottom: -2px;
        margin: 16px 15px 0 25px;
    }

    .thongtinproduct .product-info h1 {
        font-family: "UtmSeagull";
        font-size: 24px;
        color: black;
        margin-bottom: 10px;
        padding-top: 10px;
        background-color: white;
        text-align: left;
        padding-left: 10px;
    }

    .bocchitesps .ctnoidungsp {
        padding: 10px;
    }

    .product-detail img {
        max-width: 100%;
    }
    /* Container cho slideshow */
    .slideshow-containera {
        position: relative;
        max-width: 100%;
        margin: auto;
        overflow: hidden;
        padding: 5px;
    }

    /* Style cho từng slide */
    .mySlidesa {
        display: none;
        width: 100%;
    }

    /* Hiệu ứng fade */
    .fade {
        -webkit-animation-name: fade;
        -webkit-animation-duration: 1.5s;
        animation-name: fade;
        animation-duration: 1.5s;
    }

    @-webkit-keyframes fade {
        from {
            opacity: 0.4;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes fade {
        from {
            opacity: 0.4;
        }

        to {
            opacity: 1;
        }
    }

    /* Mũi tên điều hướng */
    .prev, .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: auto;
        margin-top: -22px;
        padding: 16px;
        color: white;
        font-weight: bold;
        font-size: 18px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
        background-color: rgba(0, 0, 0, 0.4);
    }

    /* Điều chỉnh vị trí mũi tên bên phải */
    .next {
        right: 0;
        border-radius: 3px 0 0 3px;
    }

        /* Hover hiệu ứng cho mũi tên */
        .prev:hover, .next:hover {
            background-color: rgba(0, 0, 0, 0.8);
        }

    /* Style cho dot chỉ vị trí */
    .dot1 {
        cursor: pointer;
        padding: 1px;
        border-radius: 50%;
        display: inline-block;
        transition: background-color 0.6s ease;
    }


    /* Container chứa dot chỉ slide */
    .bocanhconcon {
        text-align: center;
        padding: 10px;
        background: rgba(0, 0, 0, 0.05);
    }

    .slideshow-containera img {
        width: 100%;
        border-radius: 5px;
    }


    .bannerdanhmuc img {
        width: 100%;
        border-radius: 5px;
    }

    .sanphamdanhmuc {
        align-self: stretch;
        gap: 8px;
        grid-template-columns: repeat(2, 1fr);
        margin: 10px 0 10px 0;
    }

        .sanphamdanhmuc a {
            text-decoration: none;
            position: relative;
            cursor: pointer;
            overflow: hidden;
            height: 100%;
            border-radius: 5px;
            text-align: center;
        }

    .anhspdanhmuc img {
        width: 100%;
    }

    html .p-4 {
        padding: 3px !important;
    }

    .h-10 {
        height: fit-content !important;
    }

    .bocspdm {
        padding: 5px;
        background: white;
    }

    .contenmenu {
        background: white;
        border: 1px solid #ccc;
        padding: 10px;
        border-radius: 5px;
        margin-top: 10px;
    }

    .tenspdanhmuc {
        font-weight: bold;
        font-size: 16px;
        color: #5e4027;
        height: 50px;
        overflow: hidden;
        line-height: 20px;
        padding-top: 10px;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .pd-detail__btn {
        display: flex;
        justify-content: center;
    }

        .pd-detail__btn .nutmuabm .btn-add-to-cart {
            display: block;
            padding: 7px;
            margin-top: 1px;
            margin-bottom: 1px;
            font-size: 16px;
            font-weight: bold;
            font-family: "Roboto";
            text-transform: uppercase;
            color: white;
            border: none;
            background: #bf272d;
            border-radius: 8px;
            cursor: pointer;
            height: 48px;
            text-align: center;
        }

    .nutmuangay .btn-buy-now {
        background-color: #8b0304;
        display: block;
        padding: 7px;
        margin-top: 1px;
        margin-bottom: 1px;
        font-size: 16px;
        font-weight: bold;
        font-family: "Roboto";
        text-transform: uppercase;
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        height: 48px;
        text-align: center;
    }

    .pd-detail__btn .nutmuabm, .nutmuangay {
        padding: 10px;
    }

    #ContentPlaceHolder1_upCart > div:last-child {
        font-size: 14px;
        color: green;
    }

    .tenmenu {
        font-family: "UtmSeagull";
        font-size: 24px;
        color: #8b0304;
        font-weight: bold;
        border-bottom: 1px solid #8b0304;
        padding-bottom: 10px;
    }

    .col-md-6 {
        margin-top: 10px;
    }

    #logocuoiweb img {
        width: 120px;
    }
    /* Container chứa logo và 2 đường gạch ngang */
    #logocuoiweb {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        /* Tạo 2 đường gạch ngang ở bên trái và bên phải logo */
        #logocuoiweb::before,
        #logocuoiweb::after {
            content: "";
            flex: 1;
            border-bottom: 2px solid #faa519; /* Bạn có thể thay đổi màu sắc, độ dày */
            margin: 0 20px; /* Điều chỉnh khoảng cách giữa logo và đường gạch */
        }

    /* Đảm bảo logo không bị co lại khi container co giãn */
    .header__logo {
        flex-shrink: 0;
    }

    .list-title {
        font-size: 17px;
        font-weight: bold;
        color: #5e4027;
        font-family: "UtmSeagull";
        padding-bottom: 20px;
    }

    ul li {
        margin: 0;
        padding: 0;
        padding-bottom: 5px;
    }

        ul li a {
            color: #5e4027;
            align-content: center;
        }
    /* Container chứa tất cả bài viết */
    .bocbvxemnhieu {
        display: flex; /* Sắp xếp các phần tử con theo hàng ngang */
        flex-wrap: nowrap; /* Không cho phép các phần tử xuống dòng */
        overflow-x: auto; /* Hiển thị thanh cuộn ngang nếu vượt quá chiều rộng */
        -webkit-overflow-scrolling: touch; /* Cuộn mượt trên thiết bị di động */
        padding: 10px; /* Khoảng cách bên trong nếu cần */
    }

    /* Mỗi bài viết */
    .bvxemnhieu {
        flex: 0 0 auto; /* Không co giãn và giữ kích thước nội dung */
        margin-right: 15px; /* Khoảng cách giữa các bài viết */
        width: 200px; /* Đặt chiều rộng cố định (có thể thay đổi theo nhu cầu) */
        background: white;
    }

    .tenbvxemnhieu {
        display: inline-block;
        font-size: 16px;
        font-weight: bold;
        color: #3e2714;
        line-height: 24px;
        height: 95px;
        overflow: hidden;
        padding: 5px;
    }

    .tomtatbaivietxemnhieu {
        line-height: 22px;
        height: 90px;
        overflow: hidden;
        margin-bottom: 0;
        color: #ccc;
        padding: 0 10px 0 10px;
    }

    .ngaydangbvnhieulx {
        background-color: #efe8e1;
        font-size: 13px;
        color: #b69f8b;
        padding: 10px 15px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        margin: 10px 0 10px 0;
    }

    .luotxembv {
        font-size: 14px;
        color: #999;
        margin: 5px 0 10px 0;
        padding: 5px 0 10px 10px;
    }

    .h3bvxemnhieu {
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 15px;
        text-align: center;
        color: #d9534f;
    }

    .anbvxemnhieu img {
        width: 100%;
    }

    .tenbaiviett {
        font-size: 24px;
        color: #8b0304;
        font-weight: bold;
    }

    .conten-menu {
        padding-top: 20px;
    }

    .ngaydangbvtt {
        color: #b69f8b;
        font-size: 14px;
        padding: 10px 0 10px 0;
    }

    .noidungbaiviet-tt {
        border-top: 1px solid #8b0304;
        background: white;
        padding: 10px;
    }
    /* Container chính */
    .news {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* Mỗi bài viết */
    .newcon {
        display: flex;
        align-items: center;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
        background-color: #fff;
    }

    /* Ảnh bên trái */
    .imgnew img {
        width: 150px;
        height: 150px;
        object-fit: cover;
    }

    /* Nội dung bên phải */
    .right-new {
        display: flex;
        flex-direction: column;
        padding: 5px 0 0 0;
        flex: 1;
    }

    /* Tiêu đề bài viết */
    .topnew {
        font-size: 15px;
        font-weight: bold;
        margin-bottom: 5px;
        color: #d9534f;
    }

    /* Nội dung mô tả */
    .bottomnew {
        font-size: 14px;
        color: #666;
        max-height: 65px;
        overflow: hidden;
    }

    .mb-4 {
        font-size: 20px;
        padding: 10px;
        text-align: center;
    }
    /* Link bài viết */
    .newcon a {
        text-decoration: none;
        color: inherit;
        display: flex;
        width: 100%;
    }

    /* Hover hiệu ứng */
    .newcon:hover {
        background-color: #f9f9f9;
        transform: translateY(-2px);
        transition: all 0.3s ease;
    }

    #warper {
        width: 95%;
        margin: 0 auto;
    }

    .product-cate-menu {
        width: 100%;
        background: #8b0304;
        border-radius: 5px;
        color: #fff;
    }

        .product-cate-menu ul li {
            margin: 0;
            padding: 0;
            list-style: none;
            display: block;
            border-top: solid 1px #a10c0d;
            margin: 0 5px;
            position: relative;
            z-index: 1;
        }

    #fixMN ul {
        margin: 0;
        padding: 0;
        list-style: none;
        position: relative;
        left: 0;
    }

    .product-cate-menu .img-wrap img {
        margin-top: -3px;
        width: 30px;
    }

    .product-cate-menu .cate-tab {
        font-size: 18px;
        padding: 15px 0 10px 0;
        margin: 0 5px;
    }

    .product-cate-menu .img-wrap {
        display: inline-block;
        width: 44px;
        text-align: center;
    }

    .product-cate-menu a {
        color: #fff;
        display: block;
        padding: 9px 0 9px 0;
    }

    .topmobile {
        display: block;
        padding: 10px;
        background: rgba(247, 244, 239, .5);
        color: #8b0304;
        line-height: 10px;
    }

    .clearfix {
        display: none;
    }

    .tools .tool {
        display: inline-block;
        width: 37px;
        height: 37px;
        line-height: 35px;
        border: solid 2px #faa519;
        text-align: center;
        box-shadow: 0 2px 5px rgba(0, 0, 0, .15);
        border-radius: 50%;
        background-color: rgba(255, 255, 255, .4);
        color: #8b0304;
        position: relative;
        z-index: 1;
    }

    .slide-show {
        position: relative;
        max-width: 100%;
        /* margin: 20px 0; */
        margin: 0 5px 0 5px;
    }

    .topconten {
        display: flex;
        flex-direction: column;
    }

    /* Đưa banner (slideconten) lên trên */
    .slideconten {
        order: 1;
    }

    /* Đưa danh mục (danhmucconten) xuống dưới */
    .danhmucconten {
        order: 2;
        margin: 5px;
    }

    .timkiem-mobile {
        display: block
    }

    .search-bo {
        background: white;
        border-radius: 10px;
    }

    .timkiem-mobile .search-box {
        display: flex;
        float: left;
        position: relative;
        width: 100%;
        border-radius: 10px;
    }

    .search-box-button {
        -webkit-box-align: center;
        -webkit-box-pack: center;
        align-items: center;
        border: 0px;
        border-radius: 0px 2px 2px 0px;
        color: white;
        cursor: pointer;
        display: flex;
        font-size: 13px;
        font-weight: 500;
        height: 44px;
        justify-content: center;
        outline: none;
        width: 15%;
        background: #f22867;
    }

    .txt-tim-kiem {
        border-radius: 10px;
        width: 100%;
        padding: 12px;
        border: none;
        background: #8b0304;
    }

    .search-box-search {
        overflow: hidden;
    }

    #heard {
        position: relative;
    }

    /* Logo căn giữa */
    .logo {
        text-align: center;
    }

    /* Logo: Giới hạn kích thước nếu cần */
    .header__logo img {
        max-width: 200px;
        height: auto;
    }

    /* Thanh tìm kiếm bên dưới logo */
    .thanhtimkiem {
        margin-top: 20px;
    }

    /* Search panel */
    .search-panel {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        position: relative;
    }

        .search-panel .bg-search {
            position: relative;
        }

        .search-panel input[type="text"] {
            width: 100%;
            padding: 12px 20px;
            border: 1px solid #ccc;
            border-radius: 30px;
            font-size: 16px;
            outline: none;
            transition: border-color 0.3s ease;
        }

            .search-panel input[type="text"]:focus {
                border-color: #66afe9;
            }

        /* Nút tìm kiếm */
        .search-panel .btn-search {
            position: absolute;
            top: 50%;
            right: 10px;
            transform: translateY(-50%);
            background: #ff6600;
            color: #fff;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 14px;
            text-decoration: none;
            transition: background 0.3s ease;
        }

            .search-panel .btn-search:hover {
                background: #e65c00;
            }

    /* Phần tài khoản: đặt lên góc phải, bên ngoài cùng gần logo */
    .dangkytaikhoan {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    /* Style cho các nút công cụ tài khoản */
    .tools {
        display: flex;
        align-items: center;
    }

    .tools-buttons {
        margin-right: 20px;
    }

        /* Nếu cần tùy chỉnh thêm cho icon và text */
        .tools-buttons .tool,
        .tools-buttons .text {
            display: inline-block;
            vertical-align: middle;
        }

        .tools-buttons .fa {
            margin-right: 5px;
        }



    .slide[idx="0"] {
        display: block;
    }

    #heard {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo img {
        max-width: 50%;
    }

    .search-panel {
        margin-top: 10px;
        width: 100%;
    }

    .tools {
        margin-top: 10px;
        width: 100%;
        justify-content: space-between;
    }

    .newcon {
        flex-direction: column;
    }

    .imgnew img {
        width: 210px;
        height: 130px;
        border-radius: 8px 0 0 8px;
    }



    .slide img {
        border-radius: 0;
    }

    .h3tieude h3 {
        font-size: 28px;
        color: #d9534f;
        margin: 0;
        white-space: nowrap;
        padding: 10px 20px;
        border: 2px solid #d9534f;
        border-radius: 8px;
        position: relative;
    }

    .sanphamdanhmuc .nutmuangay {
        color: #9d0b0f;
        background: black;
        display: inline-block;
        padding: 4px 16px;
        border: solid 1px #e9e9e9;
        border-radius: 20px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
        transition: all .3s ease 0s;
    }
}

@media only screen and (min-width: 1270px) {

    #menudanhmuc-mobile {
        display: none;
    }

    #flashsaledangcap {
        width: 90%;
        margin: 0 auto;
    }

    .text-red-600 {
        height: 65px !important;
        display: flex;
        flex-wrap: wrap;
    }

    html .swiper-slide a {
        width: 100%;
    }

    .pl-2, .px-2 {
        background: antiquewhite !important;
    }

    html .swiper-slide {
        width: 250px !important;
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 1px;
    }

        html .swiper-slide a {
            border: none !important;
        }

            html .swiper-slide a:hover {
                text-decoration: none;
            }

    .relative img {
        width: 100%;
        height: auto;
    }

    .px-2 h3 {
        font-weight: bold;
        font-size: 16px;
        color: #5e4027;
        height: 75px;
        margin-bottom: 10px;
        overflow: hidden;
        text-align: left;
        padding-top: 10px;
        line-height: 21px;
    }

    .px-2 p {
        color: rgb(220 38 38 / var(--tw-text-opacity, 1));
        font-weight: bold;
    }

    .px-2 .nutmuangay {
        color: #9d0b0f;
        background: black;
        display: inline-block;
        padding: 4px 16px;
        border: solid 1px #e9e9e9;
        border-radius: 20px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
        transition: all .3s ease 0s;
    }

    .scroller a:hover {
        text-decoration: none;
    }

    #thumbScroller {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch; /* cho mượt trên mobile */
        scrollbar-width: none; /* ẩn scrollbar trên Firefox */
    }

        #thumbScroller::-webkit-scrollbar {
            display: none; /* ẩn scrollbar trên Chrome, Safari */
        }

        #thumbScroller .dot1 {
            flex: 0 0 auto; /* Đảm bảo các dot1 không bị co giãn */
            margin-right: 8px; /* khoảng cách giữa các thumbnail */
            cursor: pointer;
        }

    .navigat {
        padding-left: 5px;
    }
    /* Sticky mobile detail giống Zenlya */
    .sticky-mobile-bar {
        width: 100%;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #ccc;
        padding: 10px 0;
        z-index: 9999;
        box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        display: none;
    }

    .bocstickyyyyy {
        width: 1270px;
        margin: 0 auto;
        display: flex;
    }

    .sticky-mobile-inner {
        display: flex;
        align-items: center;
    }

    .leftstickynhe {
        width: 30%;
        display: flex;
        gap: 10px;
        border-right: 1px solid #ccc;
        padding: 0 0 10px 0;
    }

    .sticky-mobile-content {
        display: flex;
        width: 70%;
    }

    .sticky-mobile-left img {
        width: 60px;
        height: 60px;
        object-fit: cover;
        border-radius: 6px;
    }

    .sticky-mobile-info {
        /*flex: 1 0 90%;*/
        flex-direction: column;
        gap: 6px;
        border-right: 1px solid #ccc;
        padding-left: 5px;
        width: 70%;
    }

    .sticky-mobile-center {
        flex: 1;
        margin-left: 10px;
    }

    .sticky-mobile-name {
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .sticky-mobile-price {
        color: #d0021b;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .sticky-mobile-variants {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .sticky-variant-row {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .sticky-variant-btn {
        padding: 4px 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        cursor: pointer;
        font-size: 13px;
    }

        .sticky-variant-btn.active {
            background: #d0021b;
            color: #fff;
            border-color: #d0021b;
        }

    .sticky-mobile-right .sticky-btn-buy {
        background: #d0021b;
        color: #fff;
        padding: 10px 12px;
        border: none;
        border-radius: 4px;
        font-size: 14px;
        cursor: pointer;
    }


    .popup-mgg-content h3 {
        margin-top: 0;
        color: #d0021b;
        font-weight: bold;
    }

    .mgg-wrapper {
        padding: 10px;
    }

    .mgg-title {
        font-weight: bold;
        display: inline-block;
        margin-bottom: 5px;
    }

    .mgg-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 5px;
    }

    .mgg-badge {
        background-color: #000;
        color: #fff;
        border-radius: 5px;
        padding: 5px 12px;
        font-size: 14px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        transition: opacity 0.3s;
    }

        .mgg-badge:hover {
            opacity: 0.8;
        }

    /* Popup */
    .popup-mgg {
        display: none; /* hidden mặc định */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5); /* overlay */
        z-index: 9999;
        justify-content: center;
        align-items: center;
    }

    .popup-mgg-content {
        background: #fff;
        padding: 20px 25px;
        border-radius: 10px;
        width: 90%;
        max-width: 400px;
        position: relative;
        animation: fadeIn 0.3s ease;
    }

    .popup-close {
        position: absolute;
        top: 8px;
        right: 12px;
        font-size: 22px;
        cursor: pointer;
        color: #333;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }


    .toast.show {
        opacity: 1;
    }

    .product-service {
        background-color: #fafafa;
        border-radius: 12px;
        padding: 16px 12px;
        display: flex;
        justify-content: space-between;
        gap: 8px;
        margin-top: 16px;
        margin-bottom: 16px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .row {
        display: flex;
    }

        .row .col-4 {
            width: 33.33%;
        }

    .product-service .item-service {
        flex: 1;
        text-align: center;
        padding: 8px;
    }

        .product-service .item-service .title {
            font-size: 14px;
            font-weight: bold;
            color: #333;
            margin-bottom: 4px;
        }

        .product-service .item-service .desc {
            font-size: 13px;
            color: #666;
            line-height: 1.4;
        }

    .checkout-box {
        display: flex;
    }

    .product-item {
        position: relative;
    }

    .best-seller-badge {
        position: absolute;
        top: 230px;
        left: 0;
        font-size: 15px;
        color: red;
        z-index: 5;
        background: red;
        color: white;
        border-radius: 10px;
    }

    .selectable-group1 {
        display: inline-block;
        margin: 5px;
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 2px;
        cursor: pointer;
        background: #fff;
        text-align: left;
    }

        .selectable-group1.active {
            border: 2px solid black;
            position: relative;
        }

    .variant-item-box {
        display: flex;
        align-items: center;
        white-space: nowrap; /* ❗ Ngăn chữ xuống dòng */
        overflow: hidden;
    }


    .variant-img {
        width: 100%;
        object-fit: cover;
        border-radius: 5px;
    }

    .variant-name {
        font-size: 14px;
        color: #333;
        display: inline-block;
        white-space: nowrap; /* ❗ Không cho xuống dòng */
        overflow: hidden; /* Ẩn phần dư nếu không đủ chỗ */
        max-width: none; /* ❗ Cho phép rộng theo chữ */
    }

    .sticky-mobile-buy {
        width: 30%;
        text-align: right;
        display: grid;
    }

    .bocvong2btmuade {
        display: flex;
        gap: 10px;
        justify-content: flex-end;
        align-items: center;
    }

    .btn-buy-now {
        background-color: #d0021b;
        color: #fff;
    }

    .btn-addtocart, .btn-buy-now {
        padding: 8px 16px;
        font-size: 14px;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-weight: bold;
        min-width: 120px;
        transition: all 0.2s ease;
    }

    .selectable-variant {
        display: inline-block;
        padding: 6px 14px;
        margin: 4px;
        border: 1px solid #ccc;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        color: #333;
        background: #fff;
    }

        .selectable-variant.active {
            border: 2px solid red;
            font-weight: bold;
        }

    .mySlidesa #productVideo {
        width: 50%;
    }

    .thumbnail-scroll-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 10px;
    }

    .bocanhconcon {
        overflow-x: hidden;
        scroll-behavior: smooth;
        gap: 10px;
        max-width: 100%;
        flex: 1;
        padding-left: 5px;
        padding-top: 10px;
        display: flex;
        gap: 10px;
        margin-top: 10px;
    }

    .dot1 {
        flex: 0 0 auto;
        height: 80px;
        cursor: pointer;
    }

        .dot1 img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 4px;
        }

    /* Nút */
    .thumb-prev,
    .thumb-next {
        background-color: #d9d9d9;
        border: none;
        font-size: 24px;
        padding: 8px 12px;
        cursor: pointer;
        border-radius: 4px;
        transition: background 0.2s;
    }

        .thumb-prev:hover,
        .thumb-next:hover {
            background-color: #bfbfbf;
        }

    .py-1 {
        background: red !important;
    }


    #variant1Title .variant-group-1 .selectable-group1 {
        background: none;
        border: none;
    }

    .variant-group-1 {
        display: flex;
        flex-wrap: wrap;
        /*gap: 10px;*/
        margin-top: 10px;
    }

    .btn-variant-group1 {
        /*width: 70px;*/
        text-align: center;
        cursor: pointer;
        transition: all 0.2s ease;
        position: relative;
    }

    .variant-image-wrapper {
        position: relative;
        width: 100%;
        border-radius: 6px;
        overflow: hidden;
        border: 2px solid transparent;
    }

        .variant-image-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 6px;
            transition: 0.2s;
        }

    .btn-variant-group1:hover img {
        transform: scale(1.05);
    }


    .variant-label {
        font-size: 13px;
        margin-top: 5px;
        color: #333;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .check-icon {
        position: absolute;
        top: 4px;
        right: 4px;
        background: #2a9fd6;
        color: white;
        border-radius: 50%;
        font-size: 12px;
        width: 16px;
        height: 16px;
        line-height: 16px;
        text-align: center;
        display: none;
    }

    .btn-variant-group1.active .check-icon {
        display: block;
    }
    .ctnoidungsp {
        font-family: 'Arial', sans-serif;
        line-height: 1.6;
        font-size: 16px;
        color: #333;
    }

        .ctnoidungsp p {
            margin-bottom: 1em;
        }

        .ctnoidungsp img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 10px auto;
        }

        .ctnoidungsp h2, .ctnoidungsp h3 {
            font-weight: bold;
            margin-top: 1.5em;
        }

        .ctnoidungsp ul, .ctnoidungsp ol {
            padding-left: 20px;
        }

        .ctnoidungsp strong {
            font-weight: bold;
        }

    .magiamgia .nutguithontindh {
        width: 10%;
    }
    /* Đảm bảo bạn có quy tắc này và nó đủ mạnh */
    .btn-variant-group1.selectable-group1.active {
        color: #fff;
        /* Bỏ hoặc điều chỉnh các style liên quan đến :focus nếu cần */
    }

    /* Quy tắc :focus có thể dùng cho hiệu ứng khác, không phải màu nền chính */
    .btn-variant-group1.selectable-group1:focus {
        outline: 2px solid blue; /* Ví dụ: chỉ thêm đường viền khi focus */
    }
    /* Khung chính */
    .variants-container {
        background: #fafafa;
        border: 1px solid #ddd;
        padding: 15px;
        border-radius: 10px;
        margin-top: 20px;
        font-family: Arial, sans-serif;
    }

    /* Biến thể 1: Size / Màu */
    .variant-group-1 {
        margin-bottom: 15px;
        display: grid;
        flex-wrap: wrap;
        grid-template-columns: repeat(7, 1fr);
    }

        .variant-group-1 .btn-variant-group1 {
            background: #fff;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s ease-in-out;
        }

            .variant-group-1 .btn-variant-group1:hover {
                background: none;
                color: white;
                border-radius: 5px
            }

            .variant-group-1 .btn-variant-group1.active {
                background: none;
                color: #fff;
            }

    /* Biến thể 2: Weight / Size phụ */
    .variant-detail {
        margin-top: 10px;
        padding: 10px 10px 5px;
        background-color: #fff;
        border: 1px dashed #ccc;
        border-radius: 8px;
    }

        .variant-detail strong {
            display: block;
            margin-bottom: 10px;
            color: #333;
            font-weight: bold;
        }

    /* Các lựa chọn cụ thể */
    .variant-item {
        display: inline-block;
        padding: 10px 15px;
        margin: 5px 6px 5px 0;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        background-color: #f5f5f5;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
        font-size: 14px;
    }

        .variant-item:hover {
            border-color: #2980b9;
            background-color: black;
            color: #007bff;
        }

        .variant-item.active {
            background-color: black;
            border-color: #007bff;
            color: #fff;
        }

    .selectable-group1.active,
    .selectable-variant.active {
        background-color: black;
        color: white;
    }
    /*.btn-variant-group1 {
        width: 9%;
    }*/

    .variant-item.selectable-variant {
        border: 1px solid #ccc;
        padding: 6px 10px;
        margin: 3px;
        cursor: pointer;
        border-radius: 5px;
        display: inline-block;
    }

    .btn-variant-group1,
    .variant-item.selectable-variant {
        margin: 5px;
        cursor: pointer;
        border-radius: 4px;
        background: #f1f1f1;
        transition: background 0.3s, color 0.3s;
        display: inline-block;
    }

        .btn-variant-group1.active,
        .variant-item.selectable-variant.active {
            background-color: black;
            color: white;
            border-radius: 4px;
        }

        .btn-variant-group1:hover,
        .variant-item.selectable-variant:hover {
            background-color: black;
            color: white;
        }

    .chon-gia {
        font-size: 30px;
    }
    /* Responsive */
    @media (max-width: 768px) {
        .variant-group-1 {
            flex-direction: column;
        }

        .variant-item {
            display: block;
            width: 100%;
            margin-bottom: 8px;
            text-align: center;
        }

        .btn-variant-group1 {
            width: 100%;
            text-align: center;
        }
    }

    .noidungbaiviet-tt img {
        max-width: 100%;
    }

    .slideshow-containera {
        position: relative;
        text-align: center;
    }

    .mySlidesa img {
        width: 100%;
        object-fit: contain;
    }

    .prev, .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        padding: 16px;
        color: white;
        font-size: 24px;
        background-color: rgba(0, 0, 0, 0.4);
        border-radius: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    .dot1 img {
        object-fit: cover;
        cursor: pointer;
        border: 2px solid transparent;
        border-radius: 4px;
    }

    .dot1.active img,
    .dot1:hover img {
        border-color: #3498db;
        transform: scale(1.05);
    }

    .sticky-mobile-left {
        width: 100%;
    }

    html .pagination {
        text-align: center;
        display: block;
    }

    .breadcrumb span:last-child {
        display: inline-block;
        max-width: 250px; /* hoặc bao nhiêu tùy bạn muốn */
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        vertical-align: middle;
    }

    .slogankichthich {
        font-family: 'Segoe UI', sans-serif;
        width: 1270px;
        margin: 0 auto;
    }

    html .slogankichthich .col-md-3 {
        padding: 10px;
    }

    .policies-menu .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .policies-menu .item {
        text-align: center;
        padding: 20px 10px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        height: 100%;
    }

        .policies-menu .item:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        }

    .policies-menu img {
        margin-bottom: 12px;
        transition: transform 0.3s ease;
    }

    .policies-menu .item:hover img {
        transform: scale(1.1);
    }

    .policies-menu p {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }

        .policies-menu p span {
            display: block;
            font-size: 14px;
            color: #666;
            margin-top: 4px;
        }

    .bochetkqtimkiem {
        max-width: 1270px;
        margin: 0 auto;
    }

        .bochetkqtimkiem .mb-4 {
            padding: 10px 0 0 0;
        }

    .variant-group-title {
        font-size: 13px;
        color: black;
        font-weight: bold;
    }

    html .breadcrumb {
        font-size: 14px;
        margin-bottom: 15px;
        color: #666;
        background: none;
        padding: 0;
        padding-top: 14px;
        border-radius: 0;
    }

    .breadcrumb a {
        color: #007bff;
        text-decoration: none;
        margin-right: 4px;
    }

    .breadcrumb .separator {
        margin: 0 6px;
        color: #aaa;
    }

    .breadcrumb span {
        color: #000;
    }

    #slideshowa .slideshow-containera .mySlidesa img {
        width: 100%;
    }

    .tintuclongminh {
        width: 1270px;
        MARGIN: 0 AUTO;
    }

    .anhdanhmuc img {
        width: 100%;
    }

    html .container {
        max-width: 100%;
        margin: 0 auto;
    }

    .slideconten {
        width: 90%;
        margin: 0 auto;
    }

    .boc-slide-show {
        width: 100%;
        margin: 0 auto;
    }

    #menudanhmuc .menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        background-color: white;
        padding: 10px;
    }

    #menudanhmuc .menu-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        text-decoration: none;
        color: #4e342e;
        width: 139px;
        height: 90px;
        padding: 5px;
        background-color: white;
        border-radius: 8px;
        font-size: 13px;
        transition: background-color 0.2s ease;
        flex-shrink: 0;
        box-sizing: border-box;
    }

        #menudanhmuc .menu-item:hover {
            background-color: #ffe082;
        }

    .bocctlmfoods {
        max-width: 1270px;
        margin: 0 auto;
        background: white;
    }

    .excel-table .group-name {
        width: 10%;
    }

    #menudanhmuc .menu-item img {
        width: 40px;
        height: 40px;
        object-fit: contain;
        margin-bottom: 6px;
    }

    /* Khi sticky */
    .sticky-menu {
        position: fixed;
        top: 0;
        left: 0;
        background-color: white;
        width: 100%;
        z-index: 9999;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #menudanhmuc-placeholder {
        height: 0;
        transition: height 0.3s ease;
    }

        #menudanhmuc-placeholder.active {
            height: 60px; /* chiều cao menu khi sticky */
        }

    #bocchonophatnua {
        border-bottom: 1px solid #ccc;
    }

    .menu-item-level1:hover {
        background-color: #ffe082;
    }

    #toplmfoods .logo img {
        height: 90px;
        max-width: max-content;
    }

    #toplmfoods .logo {
        height: 100px;
    }

    #toplmfoods .timkiem {
        width: 70%;
    }

    a:hover {
        text-decoration: none !important;
    }

    #toplmfoods {
        display: flex;
        width: 90%;
        margin: 0 auto;
        align-items: center;
        height: 100px;
    }

    html .timkiem .container {
        width: 100%;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }

    .topcontenproduct .slideproduct .col {
        padding: 0;
    }
    .container {
        margin: 0 auto;
        padding: 20px;
        font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
        color: #333;
    }

        .container h1 {
            text-align: center;
            margin-bottom: 30px;
            font-size: 32px;
            color: #2c3e50;
        }

    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

        table thead tr {
            background: #3498db;
            color: #fff;
            text-align: center;
        }

        table th,
        table td {
            padding: 12px 15px;
            font-size: 16px;
        }

        table tbody tr:nth-child(even) {
            background: #f9f9f9;
        }

    .qty-input {
        width: 50px;
        padding: 5px;
        text-align: center;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 16px;
        background: #fdfdfd;
    }

    .qty-btn {
        background: #3498db;
        border: none;
        color: #fff;
        padding: 6px 10px;
        margin: 0 3px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 16px;
        text-decoration: none;
    }

        .qty-btn:hover {
            background: #2980b9;
        }

    .tongdonhang {
        text-align: right;
        font-size: 20px;
        margin-bottom: 30px;
        color: #27ae60;
    }
    .order-form {
        background: #fff;
        padding: 20px;
        border-radius: 6px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        margin: 0 auto;
    }

        .order-form .form-title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 20px;
            text-align: center;
            color: #2c3e50;
        }

        .order-form .txtorder {
            width: 100%;
            padding: 10px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 4px;
            margin-bottom: 15px;
        }

    .nutguithontindh {
        display: block;
        width: 100%;
        padding: 12px;
        background: #3498db;
        color: #fff;
        font-size: 18px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        text-align: center;
    }

        .nutguithontindh:hover {
            background: #2980b9;
        }

    table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
    }

    th, td {
        padding: 10px;
        text-align: center;
        font-size: 16px;
    }

    .tongdonhang {
        margin-top: 20px;
        font-size: 18px;
        font-weight: bold;
    }

    .order-form .txtorder {
        width: 100%;
        padding: 8px;
        margin-bottom: 10px;
        font-size: 16px;
    }

    .nutguithontindh {
        padding: 10px 20px;
        font-size: 16px;
        background: #3498db;
        color: #fff;
        border: none;
        cursor: pointer;
    }

    #bottom {
        width: 90%;
        margin: 0 auto;
    }


    .excel-table {
        width: 100%;
        border-collapse: collapse;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        margin: 20px 0;
    }

        .excel-table th {
            text-align: center;
            font-size: 12px;
            padding: 6px;
        }

        .excel-table td {
            text-align: center;
            font-size: 12px;
            padding: 0;
            width: 20%;
        }

        .excel-table th {
            font-weight: bold;
        }

    .group-name {
        background: #3498db;
        color: #fff;
        font-size: 18px;
        font-weight: bold;
        vertical-align: middle;
    }

    .variant-weight,
    .variant-price {
        color: #555;
    }

    .variant-price {
        font-weight: bold;
    }

    .quantity-control {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .qty-decrease, .qty-increase {
        width: 30px;
        height: 30px;
        background: #3498db;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 16px;
        margin: 0 5px;
    }

        .qty-decrease:hover, .qty-increase:hover {
            background: #2980b9;
        }

    .qty-input {
        width: 50px;
        text-align: center;
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 5px;
    }

    #menuboc {
        width: 1270px;
        margin: 0 auto;
    }

    .contenmenu {
        padding-left: 20px;
    }

    .boc-slide-show .container {
        padding: 0;
    }

    .ctnoidungsp {
        padding: 10px;
        padding-left: 50px;
    }

    .ketquatimkiem {
        display: grid;
        align-self: stretch;
        gap: 8px;
        grid-template-columns: repeat(4, 1fr);
    }

        .ketquatimkiem img {
            width: 100%;
        }

        .ketquatimkiem .bocthongtinspdm {
            background: antiquewhite;
            padding-top: 10px;
            padding-bottom: 20px;
            text-align: center;
        }

        .ketquatimkiem .nutmuangay {
            color: #9d0b0f;
            background: #fff;
            display: inline-block;
            padding: 4px 16px;
            border: solid 1px #e9e9e9;
            border-radius: 20px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
            transition: all .3s ease 0s;
        }

        .ketquatimkiem .tenspdanhmuc {
            font-weight: bold;
            font-size: 16px;
            color: #5e4027;
            height: 60px;
        }

        .ketquatimkiem a {
            padding: 5px;
            border: 1px solid #ccc;
        }

    .pagination a.current {
        background: #469400 url(/Styles/Admins/Images/bg-button-green.gif) top left repeat-x !important;
        border-color: #459300 !important;
        color: #fff !important;
    }

    .pagination a {
        margin: 0 5px 0 0;
        padding: 3px 6px;
        color: #57a000;
    }

        .pagination a.number {
            border: 1px solid #ddd;
        }

        .pagination a.number {
            -moz-border-radius: 4px;
            -webkit-border-radius: 4px;
            border-radius: 4px;
            background: white;
        }

    .pagination {
        text-align: center;
        padding: 20px 0 5px 0;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 10px;
        margin-bottom: 10px;
    }

    .tintuclongminh .bocbvxemnhieu {
        display: grid;
        align-self: stretch;
        gap: 8px;
        grid-template-columns: repeat(4, 1fr);
        margin-top: 10px;
    }

        .tintuclongminh .bocbvxemnhieu .tenbvxemnhieu {
            display: inline-block;
            font-size: 15px;
            font-weight: bold;
            color: #3e2714;
            line-height: 24px;
            height: 50px;
            overflow: hidden;
        }

    .thanhtimkiem .container {
        padding: 30px;
    }
    .container {
        border-radius: 8px;
        box-shadow: inset 5px 5px 5px 5px rgba(1, 4, 3, 0.1);
        margin-top: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
        margin-top: 10px !important;
    }

        .container h1 {
            font-size: 28px;
            margin-bottom: 30px;
            color: #333;
            padding-top: 5px;
        }

    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }

        table thead {
            background-color: #007bff;
            color: #fff;
        }

            table thead th {
                padding: 12px;
                text-align: left;
                font-size: 16px;
            }

        table tbody td {
            padding: 12px;
            font-size: 14px;
        }

        table tbody tr:nth-child(even) {
            background-color: #f9f9f9;
        }

        table tbody tr:hover {
            background-color: #f1f1f1;
        }
    .qty-input {
        width: 50px;
        text-align: center;
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 4px;
    }

    .qty-btn {
        display: inline-block;
        background-color: #007bff;
        color: #fff;
        border: none;
        padding: 6px 10px;
        margin: 0 4px;
        text-decoration: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
    }
    .tongdonhang {
        text-align: right;
        font-size: 18px;
        margin-bottom: 30px;
        font-weight: bold;
    }
    .order-form {
        background-color: #f8f8f8;
        padding: 20px;
        border-radius: 8px;
    }

        .order-form .form-title {
            font-size: 20px;
            margin-bottom: 15px;
            color: #007bff;
            font-weight: bold;
        }

        .order-form .divtxtorder {
            margin-bottom: 15px;
        }

        .order-form .txtorder {
            width: 100%;
            padding: 10px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }

        .order-form .nutguithontindh {
            width: 100%;
            padding: 12px;
            background-color: #28a745;
            border: none;
            color: #fff;
            font-size: 18px;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

            .order-form .nutguithontindh:hover {
                background-color: #218838;
            }

    .centebottom {
        display: flex;
    }

        .centebottom .col-md-6 {
            flex: 0 0 33.33%;
            max-width: 33.33%;
            padding: 15px; 
            box-sizing: border-box;
        }

    #logocuoiweb {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        #logocuoiweb::before, #logocuoiweb::after {
            content: "";
            flex: 1;
            border-bottom: 2px solid #faa519;
            margin: 0 20px;
        }
    #bottom .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
        #bottom .row > div {
            flex: 0 0 33.33%;
            max-width: 33.33%;
            padding: 15px; 
            box-sizing: border-box;
        }

    #bottom .list {
        padding: 15px;
    }

    #bottom .list-title {
        font-weight: bold;
        margin-bottom: 10px;
    }

    #bottom .menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        #bottom .menu li {
            margin-bottom: 8px;
        }

            #bottom .menu li a {
                text-decoration: none;
                color: #333;
            }

    .sanphamdanhmuc .tenspdanhmuc {
        font-weight: bold;
        font-size: 16px;
        color: #5e4027;
        height: 45px;
        margin-bottom: 10px;
        overflow: hidden;
        text-align: left;
    }

    .sanphamdanhmuc .nutmuangay {
        color: #9d0b0f;
        background: black;
        display: inline-block;
        padding: 4px 16px;
        border: solid 1px #e9e9e9;
        border-radius: 20px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
        transition: all .3s ease 0s;
    }

    .sanphamdanhmuc .bocthongtinspdm {
        padding-top: 10px;
        padding-bottom: 20px;
    }

    #centerfs .bannerdanhmuc {
        width: 90%;
        margin: 0 auto;
        padding: 10px 0 10px 0;
    }

    .xl\:grid-cols-5 {
        grid-template-columns: repeat(5, 0fr) !important
    }

    .sanphamdanhmuc .bocthongtinspdm {
        padding: 10px !important;
    }

    .sanphamdanhmuc {
        display: grid;
        align-self: stretch;
        gap: 8px;
        margin-top: 10px;
        width: 90%;
        margin: 0 auto;
        background: white;
    }

        .sanphamdanhmuc a:hover {
            text-decoration: none;
        }

        .sanphamdanhmuc .anhspdanhmuc img {
            width: 100%;
        }

    .menutopbottom .row {
        display: flex;
    }

    .bocchitesps {
        display: flex;
        margin-top: 30px;
    }

        .bocchitesps .product-detail {
            width: 70%;
        }

        .bocchitesps .stikyanhxa {
            width: 30%;
        }

        .bocchitesps .product-detail img {
            max-width: 100%;
        }

        .bocchitesps .baivietlienquansp {
            width: 30%;
            overflow: hidden;
            padding-left: 10px;
        }

    .pd-detail__btn {
        position: relative; 
        min-height: 80px;
    }
    .nutmuabm {
        float: left;
    }

    .pd-detail__btn::after {
        content: "";
        display: table;
        clear: both;
    }
    #ContentPlaceHolder1_upCart > div:last-child {
        position: absolute;
        bottom: -15px;
        width: auto;
        text-align: center;
        font-size: 14px;
        color: green;
    }

    .nutmuabm .btn-add-to-cart {
        display: block;
        padding: 7px;
        margin-top: 1px;
        margin-bottom: 1px;
        font-size: 16px;
        font-weight: bold;
        font-family: "Roboto";
        text-transform: uppercase;
        color: white;
        border: none;
        background: #bf272d;
        border-radius: 8px;
        cursor: pointer;
        height: 48px;
        text-align: center;
    }

    .nutmuangay .btn-buy-now {
        background-color: #8b0304;
        display: block;
        padding: 7px;
        margin-top: 1px;
        margin-bottom: 1px;
        font-size: 16px;
        font-weight: bold;
        font-family: "Roboto";
        text-transform: uppercase;
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        height: 48px;
        text-align: center;
    }

    .pd-detail__btn {
        display: flex;
    }

        .pd-detail__btn .nutmuabm, .nutmuangay {
            padding: 10px;
        }

    .thongtinproduct {
        padding: 0 0 0 10px;
        width: 50%;
    }
    .variants-container {
        border-radius: 4px;
        margin: 20px 0;
        background-color: #fff;
    }
    .variants-header {
        background-color: #faa519;
        padding: 10px;
        display: flex;
        border-bottom: 1px solid #ddd;
    }

        .variants-header .header-column {
            flex: 1;
            text-align: center;
            font-weight: bold;
            color: #333;
        }

    .variants-list {
        padding: 10px;
        border-radius: 0 0 5px 5px;
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
    }

    .variant-item {
        padding: 4px 0;
        border-bottom: 1px solid #eee;
        display: flex;
        align-items: center;
    }


    .variant-info {
        display: flex;
        width: 100%;
        align-items: center;
        line-height: 0.5;
    }
    .info-column {
        flex: 1;
        text-align: center;
        font-size: 16px;
        color: #555;
    }
    .quantity-column {
        flex: 1;
    }

    .quantity-control {
        display: inline-flex;
        align-items: center;
        overflow: hidden;
    }

        .quantity-control button {
            background-color: #f5f5f5;
            border: none;
            padding: 5px 10px;
            font-size: 16px;
            cursor: pointer;
            outline: none;
            transition: background-color 0.3s;
        }

            .quantity-control button:hover {
                background-color: #e0e0e0;
            }

    .qty-input {
        width: 50px;
        text-align: center;
        border: none;
        outline: none;
        padding: 5px;
        font-size: 16px;
        background-color: #fff;
    }

    .weight,
    .variant-price {
        font-size: 16px;
        color: #555;
    }

    .topcontenproduct {
        display: flex;
    }

    .slideproduct {
        width: 50%;
    }

    .product-info h1 {
        margin: 0;
        font-family: "UtmSeagull";
        font-size: 24px;
        color: black;
        margin-bottom: 10px;
        text-align: left;
    }
    #slideshowa {
        position: relative;
        max-width: 100%;
        margin: auto;
    }
    .slideshow-containera {
        position: relative;
        overflow: hidden;
    }
    .mySlidesa {
        display: none;
        width: 100%;
    }

    .fade {
        -webkit-animation-name: fade;
        -webkit-animation-duration: 1.5s;
        animation-name: fade;
        animation-duration: 1.5s;
    }
    @-webkit-keyframes fade {
        from {
            opacity: 0.4
        }

        to {
            opacity: 1
        }
    }

    @keyframes fade {
        from {
            opacity: 0.4
        }

        to {
            opacity: 1
        }
    }

    .prev, .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        padding: 16px;
        color: #fff;
        font-weight: bold;
        font-size: 18px;
        transition: background-color 0.6s ease;
        border-radius: 3px;
        user-select: none;
        background-color: rgba(0, 0, 0, 0.3);
    }
    .prev {
        left: 0;
    }

    .next {
        right: 0;
    }
        .prev:hover, .next:hover {
            background-color: rgba(0, 0, 0, 0.8);
        }
    .dot {
        cursor: pointer;
        height: 15px;
        width: 15px;
        margin: 0 2px;
        background-color: #bbb;
        border-radius: 50%;
        display: inline-block;
        transition: background-color 0.6s ease;
    }
    .slideshow-containera {
        position: relative;
        max-width: 100%;
        margin: auto;
        overflow: hidden;
    }

    #logocuoiweb {
        text-align: center;
    }

        #logocuoiweb img {
            width: 200px;
        }

    .product-item .product-name {
        font-weight: bold;
        font-size: 16px;
        color: #5e4027;
        max-height: 50px;
        overflow: hidden;
    }

    .category {
        position: relative;
        overflow: hidden;
        width: 100%;
    }

    .scroller .nutmuangay {
        color: #9d0b0f;
        background: #fff;
        display: inline-block;
        padding: 8px 25px;
        border: solid 1px #e9e9e9;
        border-radius: 20px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
        transition: all .3s ease 0s;
    }

    .category .grid-container {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }

        .category .grid-container .bocdmcsp {
            margin: 5px;
            border-radius: 5px;
        }

    .scroller {
        flex-wrap: wrap;
        grid-template-columns: repeat(5, 1fr);
    }

    html .p-4 {
        padding: 10px !important;
    }

    .scroller.dragging {
        cursor: grabbing;
    }

    .gap-4 {
        padding: 10px !important;
    }

    .bocdmcsp a:hover {
        text-decoration: none;
    }

    .product-price .normal-price {
        color: var(--tbpc-price-color, #ff0036);
    }

    .bocdmcsp .bocthongtinspdm .nutmuangay {
        color: #9d0b0f;
        background: black;
        display: inline-block;
        padding: 4px 16px;
        border: solid 1px #e9e9e9;
        border-radius: 20px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
        transition: all .3s ease 0s;
    }

    .danhmucspconten {
        padding-top: 10px;
        width: 90%;
        margin: 0 auto;
    }

    .botton-conten {
        width: 90%;
        margin: 0 auto;
    }

    .scroller a {
        flex: 0 0 auto;
        margin: 5px;
        background: #f8f8f8;
    }

    html p {
        margin: 0;
    }

    .tensmdm {
        height: 50px;
        text-align: left;
    }

    .bocdmcsp .bocthongtinspdm .nutmuangay {
        margin-bottom: 20px;
    }

    .pricedm {
        color: black;
        font-weight: bold;
        font-size: 18px;
        padding: 10px 10px 10px 0;
        height: 60px;
    }

    .tieudedanhmucsp h2 {
        font-size: 28px;
        color: #d9534f;
        margin: 0;
        white-space: nowrap;
        padding: 10px 20px;
        border: 2px solid #d9534f;
        border-radius: 8px;
        position: relative;
    }

    .tieudedanhmucsp:before {
        content: "";
        height: 2px;
        background-color: #d9534f;
        flex-grow: 1;
        margin-right: 10px;
    }

    .tieudedanhmucsp:after {
        content: "";
        height: 2px;
        background-color: #d9534f;
        flex-grow: 1;
        margin-left: 10px;
    }

    .tieudedanhmucsp {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        width: 100%;
        position: relative;
    }

    .category {
        display: flex;
    }

    .product-item img {
        width: 100%;
    }

    .topconten {
        width: 100%;
        margin: 0 auto;
    }

    .danhmucconten {
        position: sticky;
        top: 0;
        z-index: 1000;
        width: 100%;
    }

    .main-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .img-wrap img {
        width: 25px;
    }

    .product-cate-menu ul li {
        padding: 0;
        list-style: none;
        display: block;
        border-top: solid 1px #a10c0d;
        margin: 0 5px;
        position: relative;
        z-index: 1;
    }

    .product-cate-menu {
        width: 100%;
        background: #8b0304;
        border-radius: 5px;
        color: #fff;
    }

        .product-cate-menu .cate-tab {
            font-size: 18px;
            padding: 15px 0 10px 0;
            margin: 0 5px;
        }

        .product-cate-menu a {
            color: #fff;
            display: flex;
            padding: 9px 0 9px 0;
            align-items: center;
        }

        .product-cate-menu .img-wrap {
            display: inline-block;
            width: 44px;
            text-align: center;
        }

    #fixMN ul {
        margin: 0;
        padding: 0;
        list-style: none;
        position: relative;
        left: 0;
    }

    .tomtatbaivietxemnhieu {
        display: none;
    }

    .timkiem-deskop {
        display: block;
    }
    #heard {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #fff;
        padding: 10px;
    }

    .bannerdanhmuc img {
        width: 100%;
        border-radius: 5px;
    }
    .search-panel {
        flex-grow: 1;
        margin: 0 10px;
    }
    .tools {
        display: flex;
        align-items: center;
    }

        .tools a {
            margin-left: 15px;
            text-decoration: none;
            color: #555;
            font-size: 12px;
        }

    .bEBFIH {
        cursor: pointer;
        border: 0px;
        width: 92px;
        height: 38px;
        padding: 4px;
        border-radius: 0px 8px 8px 0px;
        background: transparent;
        color: #d9534f;
        font-weight: 400;
        font-size: 16px;
        line-height: 150%;
        outline: none;
        display: flex;
        -webkit-box-align: center;
        align-items: center;
        -webkit-box-pack: center;
        justify-content: center;
        position: relative;
    }

    .crtnhz {
        flex: 1 1 0%;
    }

    .fPPxqu {
        border: 0px;
        padding: 0px 8px;
        font-weight: 400;
        font-size: 14px;
        line-height: 150%;
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
        flex: 1 1 0%;
        outline: none;
    }

    .bvnCBW {
        width: 100%;
        display: flex;
        position: relative;
        border: 1px solid rgb(221, 221, 227);
        border-radius: 8px;
        -webkit-box-align: center;
        align-items: center;
    }

        .bvnCBW .icon-search {
            width: 20px;
            height: 20px;
            margin: 0px 0px 0px 18px;
        }

    .ngaydangbvtt {
        position: relative;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

        .ngaydangbvtt::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #d9534f;
            border-radius: 2px; 
        }
    .left-contentt {
        width: 70%;
    }

    .right-contentt {
        width: 30%;
    }

    .conten-tintuc {
        display: flex;
        width: 1270px;
        margin: 0 auto;
    }
    .right-contentt {
        padding: 20px;
    }

    .danhmucbaiviet {
        background-color: #fff;
        border: 1px solid #ddd;
        padding: 15px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .h3bvxemnhieu {
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 15px;
        text-align: center;
        color: #d9534f;
    }

    .luotxembv {
        font-size: 14px;
        color: #999;
        margin: 5px 0 10px 0;
        padding: 5px 0 0 0;
    }

    .ngaydangbvnhieulx {
        background-color: #efe8e1;
        font-size: 13px;
        color: #b69f8b;
        padding: 10px 15px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        margin: 5px 0 0 0;
    }
    .bocbvxemnhieu {
        display: flex;
        gap: 15px;
        justify-content: center;
        flex-direction: column;
    }

    .bvxemnhieu {
        border: 1px solid #d9534f;
        padding: 5px;
        border-radius: 5px;
        BACKGROUND: WHITE;
    }
    .anbvxemnhieu img {
        width: 100%;
        height: auto;
        border-radius: 4px;
    }
    .tenbvxemnhieu {
        margin-top: 10px;
        font-size: 16px;
        color: #555;
    }
    .conten-menu {
        max-width: 100%;
        background-color: #ffffff;
        border: 1px solid #ddd;
        padding: 15px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        margin-top: 20px;
    }

    .tieudedetail {
        font-size: 28px;
        color: #d9534f;
        margin: 0;
        white-space: nowrap;
        padding: 10px 20px;
        border: 2px solid #d9534f;
        border-radius: 8px;
        position: relative;
    }

    .ngoaicaitieudeconten:before {
        content: "";
        height: 2px;
        background-color: #d9534f;
        flex-grow: 1;
        margin-right: 10px;
    }

    .ngoaicaitieudeconten:after {
        content: "";
        height: 2px;
        background-color: #d9534f;
        flex-grow: 1;
        margin-left: 10px;
    }

    .ngoaicaitieudeconten {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        width: 100%;
        position: relative;
    }
    .tenbaiviett {
        font-size: 24px;
        font-weight: bold;
        color: #d9534f;
        margin-bottom: 10px;
    }

    .ngaydangbvtt {
        font-size: 14px;
        color: #999; 
        margin-bottom: 10px;
    }
    .noidungbaiviet-tt {
        font-size: 16px;
        color: #555; 
        line-height: 1.6;
        padding: 24px;
    }



    .news {
        padding: 20px;
    }

    .h3tieude h3 {
        font-size: 28px;
        color: #d9534f;
        margin-bottom: 20px;
    }

    .new {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
        gap: 10px;
    }

    .newcon {
        background-color: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s, box-shadow 0.3s;
    }

        .newcon:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        }

        .newcon a {
            display: flex;
            flex-direction: row-reverse;
            text-decoration: none;
            color: inherit;
            height: 150px;
            width: 100%;
        }

    .imgnew img {
        width: 250px;
        height: 150px;
        object-fit: cover;
    }

    .right-new {
        padding: 5px 15px 5px 15px;
        display: flex;
        flex-direction: column;
    }

    .topnew {
        font-size: 18px;
        font-weight: bold;
        color: #d9534f;
    }

    .bottomnew {
        font-size: 14px;
        color: #666;
        max-height: 83px;
        overflow: hidden;
    }

    .h3tieude {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        width: 100%;
        position: relative;
    }

        .h3tieude h3 {
            font-size: 28px;
            color: #d9534f;
            margin: 0;
            white-space: nowrap;
            padding: 10px 20px;
            border: 2px solid #d9534f;
            border-radius: 8px;
            position: relative;
        }

        .h3tieude::before {
            content: "";
            height: 2px;
            background-color: #d9534f;
            flex-grow: 1;
            margin-right: 10px;
        }

        .h3tieude::after {
            content: "";
            height: 2px;
            background-color: #d9534f;
            flex-grow: 1;
            margin-left: 10px;
        }

        .h3tieude a {
            font-size: 16px;
            color: #d9534f;
            text-decoration: none;
            font-weight: bold;
            margin-left: 10px;
        }
    #heard {
        top: 0;
        height: 150px;
        z-index: 1000;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
        /* Logo nhỏ */
        #heard .logo h1 {
            margin: 0;
            height: 100%;
            display: flex;
            align-items: center;
        }

        #heard .logo img {
            max-height: 200px; 
        }

        #heard .thanhtimkiem {
            flex: 1;
            margin: 0 20px;
        }

        #heard .dangkytaikhoan {
            display: flex;
            align-items: center;
        }

    .search-panel {
        position: relative;
    }

        .search-panel .bg-search {
            display: flex;
            align-items: center;
            border: 2px solid #faa519;
            padding: 5px 10px;
            border-radius: 4px;
            background-color: #f9f9f9;
        }

        .search-panel input[type="text"] {
            border: none;
            background: transparent;
            outline: none;
            flex: 1;
            padding: 5px;
        }

    .btn-search {
        background-color: #faa519;
        color: #9d0b0f;
        position: absolute;
        z-index: 1;
        right: 0;
        border-radius: 0;
        line-height: 35px;
        padding: 0 10px;
        text-decoration: none;
        font-size: 17px;
    }

    .fa {
        display: inline-block;
        font: normal normal normal 14px / 1 FontAwesome;
        font-size: inherit;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-right: 5px;
    }

    .toggle-menu-btn {
        display: inline-block;
        width: 37px;
        height: 37px;
        line-height: 35px;
        border: solid 2px #faa519;
        text-align: center;
        box-shadow: 0 2px 5px rgba(0, 0, 0, .15);
        border-radius: 50%;
        background-color: rgba(255, 255, 255, .4);
        color: #8b0304;
        position: relative;
        z-index: 1;
    }

    .fa {
        display: inline-block;
        font: normal normal normal 14px / 1 FontAwesome;
        font-size: inherit;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .clearfix {
        float: right;
        width: 250px;
    }
    .tools {
        display: flex;
        align-items: center;
    }

        .tools .tool {
            display: inline-block;
            width: 37px;
            height: 37px;
            line-height: 35px;
            border: solid 2px #faa519;
            text-align: center;
            box-shadow: 0 2px 5px rgba(0, 0, 0, .15);
            border-radius: 50%;
            background-color: rgba(255, 255, 255, .4);
            color: #8b0304;
            position: relative;
            z-index: 1;
        }

    .container .slide {
        width: 100%;
    }

    img.slide:not(:first-child) {
        display: none;
    }

    .container {
        width: 100%;
        margin: 0 auto;
    }

    .text {
        color: #8b0304;
        padding-left: 5px;
    }

        .text span {
            font-size: 13px;
            color: #795e2f;
        }
    .btn-change {
        width: 30px;
        height: 30px;
        position: absolute;
        top: 50%;
        transform: translateY(-100%);
    }

    .tools-buttons {
        display: flex;
        align-items: center;
    }

    #next {
        right: 10px;
    }

    #prev {
        left: 10px;
    }

    .change-img {
        text-align: center;
        margin-top: 1rem;
    }
}
