#button.show {
    opacity: 1;
    visibility: visible;
}
#button {
    display: inline-block;
    width: 5.5rem;
    height: 5.5rem;
    text-align: center;
    border-radius: 50%;
    position: fixed;
    bottom: 2rem;
    right: 2.5rem;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 998;
}
#button img {
    border-radius: 50%;
}
span.plus-btn {
    width: 20px;
    font-size: 21px;
}
.product-suggest-wrapper .add-to-cart-mobile {
    background: #ffc107;
    color: #333;
    border: none;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    margin-left: 12px;
}
span.market-maker {
    position: absolute;
    width: 100%;
    bottom: 1px;
    display: inline-block;
    left: 0;
}
span.market-maker > svg {
    width: 100%;
    height: 12px;
}
[nh-swiper-thumb] .swiper-slide-thumb-active{
    border-radius: 8px;
    padding: 4px;
    border-color: black !important;
}
.wrap-highlight h3 {
    font-size: 17px;
    font-weight: 500;
    color: black !important;
}
.menu-customize .entry-menu.dropdown-product{
    min-height: 70rem;
}
.sort-product .dropdown-menu {
    box-shadow: 0 4px 6px #00000014;
    border: 0;
    border-radius: 7px !important;
}
.video-product iframe {
    border-radius: 16px;
}
.title-dw {
    font-size: 19px;
    font-weight: 599;
}

.product-grid {
    max-height: 75rem;
    overflow-y: auto;
}
/* ===== Chrome, Edge, Safari ===== */
.product-grid::-webkit-scrollbar {
    width: 8px;              /* độ rộng scrollbar */
}

.product-grid::-webkit-scrollbar-track {
    background: #f2f2f2;     /* nền rãnh */
    border-radius: 10px;
}

.product-grid::-webkit-scrollbar-thumb {
    background-color: #9e9e9e; /* màu thanh kéo */
    border-radius: 10px;
}

.product-grid::-webkit-scrollbar-thumb:hover {
    background-color: #7d7d7d;
}

/* ===== Firefox ===== */
.product-grid {
    scrollbar-width: thin;          /* thin | auto */
    scrollbar-color: #9e9e9e #f2f2f2; /* thumb | track */
}

/*slider giới thiệu sản phẩm*/
[nh-attribute-normal] {
    width: 20%;
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 5px 15px;
    margin: 0 6px 6px 0;
    font-size: 14px;
    cursor: pointer;
    overflow: hidden;
    z-index: 5;
    box-shadow: 0 0 0 1px var(--color-body, #2c2d2e) inset;
}
.intro_product_detail {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.swiper-customize {
    border-radius: 16px;
    background: #2c2d2e;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar but keep functionality */
.swiper-customize::-webkit-scrollbar {
    width: 8px;
}

.swiper-customize::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.swiper-customize::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.swiper-wrapper-customize {
    position: relative;
}

.swiper-slide-customize {
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 60px;
}

.swiper-slide-customize .inner-image {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 600px;
    z-index: 1;
}

.swiper-slide-customize .inner-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.swiper-slide--wrap-customize {
    width: 45%;
    max-width: 600px;
    z-index: 2;
}

.intro_product_detail .inner-content h3 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    position: relative;
    padding-bottom: 20px;
    display: inline-block;
}

.intro_product_detail .inner-content .description {
    font-size: 19px;
    line-height: 1.8;
    margin-top: 30px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.scroll-indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    margin: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator-dot.active {
    background: #ff6b35;
    transform: scale(1.5);
}

/* Animation on scroll */
.intro_product_detail .swiper-slide-customize .inner-content {
    color: white;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.intro_product_detail .swiper-slide-customize.active .inner-content {
    opacity: 1;
    transform: translateX(0);
}

.intro_product_detail .swiper-slide-customize .inner-image {
    opacity: 0;
    transform: translateY(-50%) translateX(50px);
    transition: all 0.8s ease 0.2s;
}

.intro_product_detail .swiper-slide-customize.active .inner-image {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}
/**/

/* Responsive */
@media (max-width: 1024px) {
    .swiper-slide-customize {
        flex-direction: column;
        justify-content: center;
        padding: 40px;
    }

    .intro_product_detail .swiper-slide-customize .inner-image {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 500px;
        margin-bottom: 40px;
    }

    .intro_product_detail .swiper-slide-customize.active .inner-image {
        transform: none;
    }

    .swiper-slide--wrap-customize {
        width: 100%;
        max-width: 500px;
    }

    .intro_product_detail .inner-content h3 {
        font-size: 36px;
    }

    .intro_product_detail .inner-content .description {
        font-size: 16px;
    }
}

.main-wrapper {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 370px;
    gap: 30px;
}

.section {
    background: white;
    border-radius: 16px;
    padding: 15px 0px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.main-wrapper h1 {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #000;
}
.wrap-download h1 {
    margin-bottom: 14px !important;
}
/* Left Section - Technical Specs */
.spec-box {
    border: 1.5px solid #ddd;
    border-radius: 12px;
    padding: 20px;
}

.specs-grid > table {
    width: 100% !important;
}

.specs-grid tr:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

/*.spec-label {*/
/*    font-weight: 600;*/
/*    font-size: 13px;*/
/*    color: #000;*/
/*    text-transform: uppercase;*/
/*    letter-spacing: 0.3px;*/
/*    white-space: nowrap;*/
/*}*/

/*.spec-value {*/
/*    font-size: 13px;*/
/*    color: #333;*/
/*    line-height: 1.5;*/
/*}*/

/* Right Section - Downloads */
.downloads {
    height: 100%;
}
.combo-download-webdrives {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, #d5dff7 0%, #c5d4f5 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.download-icon {
    font-size: 18px;
}

@media (max-width: 1024px) {
    .main-wrapper {
        overflow: hidden;
        grid-template-columns: 4fr;
        overflow-x: scroll;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

.description_product {
    max-width: 1200px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
.description_product > div:nth-child(2n) {
    flex-direction: row-reverse;
}
.description_product .product-section {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 15px;
    border-radius: 20px;
}

.description_product .product-section.reverse {
    flex-direction: row-reverse;
}

.description_product .product-image {
    flex: 1;
    min-width: 0;
    padding-top: 40%;
    border-radius: 16px;
}

.description_product .product-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

.description_product .product-content {
    flex: 0 0 380px;
    padding: 20px;
}

.description_product .product-content h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 20px;
    color: rgb(0, 0, 0) !important;
    line-height: 1.2;
    margin-top: 0;
}

.description_product .product-content p {
    font-size: 19px;
    line-height: 1.7;
    color: #333;
    font-weight: 400;
    margin: 0;
}

@media (max-width: 968px) {
    .description_product .product-section,
    .description_product .product-section.reverse {
        flex-direction: column;
        padding: 30px;
    }

    .description_product .product-content {
        flex: 1;
        padding: 0;
        text-align: center;
    }

    .description_product .product-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    .description_product .product-image {
        padding-top: 65%;
    }
    .description_product .product-section {
        padding: 7px;
        gap: 7px;
    }

    .description_product .product-content h2 {
        font-size: 16px;
    }

    .description_product .product-content p {
        font-size: 14px;
    }
}

/*style highlight product*/
.highlight_product {
    margin-top: 3rem;
    margin-bottom: 3rem;
}
.item_highlight_product img {
    border-radius: 16px;
}

/*style giá*/
.price-container {
    max-width: 310px;
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 10px 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 32px;
    margin-bottom: 30px;
    justify-content: space-around;
}

.save-badge {
    position: absolute;
    top: -28px;
    left: -22px;
    background: #e94444;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(233, 68, 68, 0.4);
    z-index: 10;
}

.save-badge .save-text {
    font-size: 11px;
    text-transform: uppercase;
    line-height: 1;
}

.save-badge .save-percent {
    font-size: 14px;
    line-height: 1.2;
}

.price-section {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 5px;
}

.sale-price .price-label {
    color: #e94444;
    font-weight: 500;
}

.price-value {
    font-size: 22px;
    font-weight: bold;
}

.sale-price .price-value {
    color: #e94444;
}

.regular-price .price-value {
    color: #bbb;
    text-decoration: line-through;
}

.divider {
    margin: 0 auto;
    position: absolute;
    display: block;
    width: 2px;
    height: 60px;
    background-color: #e0e0e0;
    left: 0;
    right: 0;
}
span.btn-quantity.quantity-add, span.btn-quantity.quantity-subtract {
    border-top-right-radius: 8px !important;
}
 span.btn-quantity.quantity-subtract {
     border-top-right-radius: 0px !important;
    border-bottom-right-radius: 8px !important;
}
.product-quantity {
    border-radius: 8px;
}
.highlight_product .wrap-highlight {
    background: white;
    position: absolute;
    bottom: 5%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    padding: 0px 20px;
    border-radius: 50px;
}

/* Wrapper để tránh ảnh hưởng CSS */
.product-suggest-wrapper {
    position: fixed;
    max-width: 495px;
    margin: 0 auto;
    z-index: 9;
    bottom: -8px;
    right: 100px;
    transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  transform: translateY(0);
}

.product-item-suggest.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.product-suggest-wrapper .product-item-suggest {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 10px;
    padding: 5px 10px;
    margin-bottom: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-suggest-wrapper .product-item-suggest:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.product-suggest-wrapper .product-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 8px;
}

.product-suggest-wrapper .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-suggest-wrapper .product-name {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-suggest-wrapper .product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-suggest-wrapper .price-current {
    font-size: 18px;
    font-weight: 700;
    color: #e63946;
}

.product-suggest-wrapper .price-original {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.product-suggest-wrapper .add-to-cart {
    background: #ffc107;
    color: #333;
    border: none;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    margin-left: 12px;
}

.product-suggest-wrapper .add-to-cart:hover {
    background: #ffb300;
    transform: scale(1.05);
}

.product-suggest-wrapper .add-to-cart:active {
    transform: scale(0.95);
}

.product-suggest-wrapper .suggest-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 8px;
    flex-shrink: 0;
}

.product-suggest-wrapper .suggest-toggle-btn:hover {
    background: #e0e0e0;
}

.product-suggest-wrapper .suggest-toggle-btn i {
    transition: transform 0.3s;
}

.product-suggest-wrapper.style_new {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding-bottom: 16px;
}

.product-suggest-wrapper.style_new .product-item-suggest {
    box-shadow: none;
}

.product-suggest-wrapper.style_new .product-item-suggest:hover {
    transform: none;
    box-shadow: none;
}

.product-suggest-wrapper .wrap-add-cart {
    padding: 0 16px;
}

.product-suggest-wrapper .suggest-attribute-section {
    padding: 4px 0;
}

.product-suggest-wrapper .suggest-attribute-group {
    margin-bottom: 12px;
}

.product-suggest-wrapper .suggest-attribute-label {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
}

.product-suggest-wrapper .suggest-attr-name {
    color: #333;
}

.product-suggest-wrapper .suggest-attr-value {
    color: #333;
    font-weight: 600;
}

.product-suggest-wrapper .suggest-attribute-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-suggest-wrapper .suggest-attribute-options .inner-product-attribute {
    position: relative;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #333;
}

.product-suggest-wrapper .suggest-attribute-options.image-switch .inner-product-attribute {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.product-suggest-wrapper .suggest-attribute-options.text-switch .inner-product-attribute {
    padding: 6px 16px;
    min-width: auto;
    height: auto;
}

.product-suggest-wrapper .suggest-attribute-options .inner-product-attribute:hover {
    border-color: #ff6600;
}

.product-suggest-wrapper .suggest-attribute-options .inner-product-attribute.active {
    border-color: #ff6600;
    background-color: rgba(255, 102, 0, 0.05);
}

.product-suggest-wrapper .suggest-attribute-options .inner-product-attribute.disable {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
}

.product-suggest-wrapper .suggest-cart-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #ff6600;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
}

.product-suggest-wrapper .suggest-cart-btn:hover {
    background: #e55b00;
    color: #fff;
}

@media (max-width: 600px) {
    .save-badge {
        top: -35px;
        left: -14px;
    }
    .product-suggest-wrapper .product-item-suggest {
        margin-right: 1rem;
        margin-left: 1rem;
        flex-direction: row;
    }

    .product-suggest-wrapper .product-image {
        margin-right: 10px;
        margin-bottom: 0;
        width: 60px;
        height: 60px;
    }

    .product-suggest-wrapper .add-to-cart {
        margin-left: 0;
        margin-top: 0;
        display: none;
        width: 100%;
    }
}

/* Availability toggle (Trạng thái - Còn hàng) */
.filter-section #status_collapse .availability-toggle,
.filter-section .availability-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 8px 0 14px;
    color: #000;
    text-decoration: none;
}
div#status_collapse > a.active::after {
    opacity: 0;
}
div#status_collapse > a::after{
    display: none;
}
.filter-section .availability-toggle::before {
    content: none !important; /* tránh các pseudo cũ (nếu có) */
}

.filter-section .availability-switch {
    width: 38px;
    height: 20px;
    border-radius: 999px;
    background: #e0e0e0;
    position: relative;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.filter-section .availability-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.filter-section .availability-text {
    font-size: 14px;
    color: #333;
}

.filter-section .availability-toggle.active .availability-switch {
    background: #0f9d58;
}

.filter-section .availability-toggle.active .availability-knob {
    transform: translateX(18px);
}
div#loaichuot_collapse > a::before , #typemouse_collapse > a::before{
    border-radius: 5px;
    border: 1px solid #b5a5a5;
}
.product-block > .container > .row > div:nth-child(1) {
    flex: 0 0 18%;
    max-width: 18%;
}
.product-block > .container > .row > div:nth-child(2) {
    flex: 0 0 81.8%;
    max-width: 81.8%;
}

/*css màu attr*/
.filter-section > [code-attr="pink"]::before {
    background: #FFC0CB;
}
/* Các màu theo danh sách */

/* Apricot (Mơ) */
.filter-section > [code-attr="apricot"]::before {
    background: #FBCEB1;
}

/* Black (Đen) */
.filter-section > [code-attr="black"]::before {
    background: #000000;
}

/* Blue (Xanh dương) */
.filter-section > [code-attr="blue"]::before {
    background: #0000FF;
}

/* Blue (Xanh dương) */
.filter-section > [code-attr="yellow"]::before {
    background: yellow;
}

/* Bronze (Đồng) */
.filter-section > [code-attr="bronze"]::before {
    background: #CD7F32;
}

/* Gray (Xám) */
.filter-section > [code-attr="gray"]::before {
    background: #808080;
}

/* Pink (Hồng) - Mã bạn đã có */
.filter-section > [code-attr="pink"]::before {
    background: #FFC0CB;
}

/* Rosered (Hồng đỏ) */
.filter-section > [code-attr="rosered"]::before {
    background: #C2185B;
}

/* Silver (Bạc) */
.filter-section > [code-attr="silver"]::before {
    background: #C0C0C0;
}
/* BLack */
.filter-section > [code-attr="black"]::before {
    background: black;
}
/* Trắng */
.filter-section > [code-attr="white"]::before {
    background: white;
}
/* Đỏ */
.filter-section > [code-attr="red"]::before {
    background: red;
}
#mausac_collapse > a:hover::after{
    display: none;
}
#mausac_collapse > .active::after {
    opacity: 1 !important;
    border: 2px solid;
    content: "";
    position: absolute;
    font-size: 10px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    top: 0;
    left: 0;
    bottom: 0;
    transform: translateY(23%);
    opacity: 0;
    transition: 200ms ease-in-out;
}
#mausac_collapse > .active::before {
    opacity: 1 !important;
    border: 5px solid #ffffff;
}

/*css màu attr*/
.product-content-detail .star-rating span{
    width: 100% !important;
}
.product-detail-head > .row > div:nth-child(2) {
    flex: 0 0 57%;
    max-width: 57%;
}
.product-detail-head > .row > div:nth-child(1) {
    flex: 0 0 43%;
    max-width: 43%;
}
.product-detail-head .currency-symbol {
    margin-left: -0.5rem;
    font-size: 78%;
}

/* Hiệu ứng hover menu + dropdown sản phẩm - FIX NHÁY + HIỆN FILTER */
.product-filter-container {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 600ms cubic-bezier(0.16, 0.84, 0.44, 1) 250ms,
                transform 600ms cubic-bezier(0.16, 0.84, 0.44, 1) 250ms,
                visibility 0s 850ms;
}

.li_menu:hover .product-filter-container,
.li_menu:focus-within .product-filter-container {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 600ms cubic-bezier(0.16, 0.84, 0.44, 1) 200ms,
                transform 600ms cubic-bezier(0.16, 0.84, 0.44, 1) 200ms,
                visibility 0s 0s;
}

.product-grid[category-tab] {
    display: none !important;
    opacity: 0;
    transform: translateY(-6px);
}

.product-grid[category-tab].active {
    display: grid !important;
    opacity: 1;
    transform: translateY(0);
}

.product-card {
    opacity: 1;
    transform: translateY(0);
}

/* Filter sidebar luôn hiện khi hover li_menu */
.filter-sidebar {
    opacity: 0;
    transform: translateY(-6px);
}

.li_menu:hover .filter-sidebar,
.li_menu:focus-within .filter-sidebar {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 600ms cubic-bezier(0.16, 0.84, 0.44, 1) 200ms,
                transform 600ms cubic-bezier(0.16, 0.84, 0.44, 1) 200ms;
}

/* Filter items */
.filter-item {
    opacity: 0;
    transform: translateY(-6px);
}

.li_menu:hover .filter-item,
.li_menu:focus-within .filter-item {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 600ms cubic-bezier(0.16, 0.84, 0.44, 1),
                transform 600ms cubic-bezier(0.16, 0.84, 0.44, 1);
}

.filter-item:nth-child(1) { transition-delay: 0ms; }
.filter-item:nth-child(2) { transition-delay: 120ms; }
.filter-item:nth-child(3) { transition-delay: 240ms; }
.filter-item:nth-child(4) { transition-delay: 360ms; }
.filter-item:nth-child(5) { transition-delay: 480ms; }

/* Animation CHỈ cho product-card khi dropdown mở lần đầu */
.li_menu.dropdown-opened .product-grid.active .product-card {
    animation: dm04-fadeInProducts 650ms cubic-bezier(0.16, 0.84, 0.44, 1) both;
}

@keyframes dm04-fadeInProducts {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* Hiệu ứng dropdown menu chậm hơn */
.li_menu .dropdown-product {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 400ms ease 300ms, 
              transform 400ms ease 300ms, 
              visibility 0s 700ms;
}

.li_menu:hover .dropdown-product,
.li_menu:focus-within .dropdown-product {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 400ms ease 200ms, 
              transform 400ms ease 200ms, 
              visibility 0s 0s;
}

@media (max-width: 768px) {
    .product-technicalspecs > div > table > tbody > tr > td:nth-child(2) {
        white-space: normal !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        overflow-wrap: break-word;
    }
    .product-technicalspecs > div > table > tbody > tr > td:nth-child(1) {
        width: 33% !important;
        max-width: 33% !important;
    }
    .combo-download-webdrives {
        margin-bottom: 25px !important;
    }
    .main-wrapper {
        gap: 0rem !important;
        padding: 1.2rem 0px !important;
    }
    .product-technicalspecs table {
        width: 100% !important;
        flex: 1 1 340px !important;
        table-layout: fixed;
    }
    .product-technicalspecs {
        flex: 1 !important;
        overflow: hidden;
        overflow-x: scroll;
    }
    .product_detail #button {
        bottom: 16rem;
    }
    .product_detail .messenger-toggle {
        bottom: 21rem !important;
    }
    
    .product_detail .hotline-phone-ring-wrap {
        bottom: 250px !important;
    }
    .price-label {
        font-size: 14px;
    }
    .price-value {
        font-size: 18px;
    }
    .price-container{
            max-width: 270px;
    }
    .social-share.d-flex.align-items-center.flex-wrap.mt-5 {
        margin-top: 1rem !important;
    }
    .price-container-nospecial {
        max-width: 158px;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    .content-filter-product.open{
        width: 40rem;
        border-top-right-radius: 15px;
        border-bottom-right-radius: 15px;
    }
    .dropdown-product-mobile > li {
        border-bottom: none !important;
    }
    .menu-section > ul > li > a{
        line-height: 1;
    }
    .menu-block-article {
        display: none !important;
    }
    .description_product .product-content {
        flex: 1;
        padding: 0;
        text-align: left;
    }
    .description_product > div:nth-child(2n){
            flex-direction: column !important;
    }
    .product-suggest-wrapper{
        z-index: 999;
        right: 0;
        bottom: 0;
    }
    .product-suggest-wrapper.style_new{
        background: white;
        margin: 0 8px;
        padding-bottom: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        border-radius: 12px;
    }
    .style_new .product-item-suggest:hover {
        box-shadow: none;
        transform: none;
    }
    .product-suggest-wrapper .wrap-add-cart {
        text-align: left;
        margin-top: 0;
    }
    .product-suggest-wrapper .product-item-suggest{
        box-shadow: none;
    }
    .product-technicalspecs, .combo-download-webdrives{
        box-shadow: none !important;
    }
    .main-wrapper{
        flex-wrap: wrap;
        padding-right: 0px !important;
        padding-left: 0px !important;
    }
    .downloads {
        height: 100%;
        width: 100%;
    }
    .product-detail-head > .row > div:nth-child(2) {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .product-detail-head > .row > div:nth-child(1) {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .menu-block-article {
        padding: 0 !important;
    }
    .filter-item {
        white-space: nowrap;
        padding: 4px 17px;
        border-radius: 0px;
        background: #f8f8f8;
    }
    .swiper-slide-customize {
        padding: 30px 20px;
        height: 850px;
    }

    .intro_product_detail .inner-content h3 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .intro_product_detail .inner-content .description {
        font-size: 15px;
    }

    .scroll-indicator {
        right: 15px;
    }
}
.price-container-nospecial {
    max-width: 158px;
}