.page-title-inner.flex-row.medium-flex-wrap.container{
    padding-top: 0;
}

.badge-2h-single {
    background: orangered;
    color: #ffffff;
    display: table;
    font-size: 13px;
    padding: 3px 10px;
    line-height: 1;
    border-radius: 4px;
    position: absolute;
    right: 15px;
    top: 10px;
}
.product-info.summary{
    padding: 0 10px
}
.product-main{
    padding: 15px 0
}
.product-main .product-footer{
    padding-top: 20px
}
.page-title-inner.flex-row.medium-flex-wrap.container{
    min-height: 40px
}
.rank-math-breadcrumb.breadcrumbs p{margin-bottom: 0;}
.entry-content{
    padding-top: 0;
}
.product-section{
    border-top: none
}
.luanlt-product-info{
    font-size: 13px;
    margin-bottom: 10px
}
.woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 10px; /* Khoảng cách giữa các phần tử */
}
.text-left .star-rating{
    margin-right: 0;
}

.woocommerce-product-rating .count {
    margin: 0;
    font-size: 13px;
    color: #777;
}

.woocommerce-product-rating .product-views {
    font-size: 13px;
    color: #555;
    display: flex;
    align-items: center;
}

.woocommerce-product-rating .product-views::before {
    content: "👁️";
    margin-right: 5px;
}

.product-summary ins span.amount {
    font-size: 28px;
    color: red;
}
.price-wrapper del span.amount bdi {
    font-size: 18px
}
.product-info .price{
    font-size: 18px
}
.product-summary .price-wrapper {
    background: linear-gradient(180deg, #fffbeb, #fffbeb), linear-gradient(180deg, #fffbeb, #fff) !important;
    border-width: 1px;
    border-radius: 8px;
    border-color: rgba(253,230,138,1);
    border-style: solid;
    padding: 10px 15px;
    margin-bottom: 10px
}
.vat-notice{
    font-size: 13px;
    color: #000000;
    font-style: italic;
}
.woocommerce-variation-add-to-cart{
    margin-top: 0;
}
.woocommerce-variation-add-to-cart, form.cart{
    gap: 10px;
}
.price-wrapper form{
    margin-bottom: 10px;
}


/*Ghi đè css của plugin*/ 
/* Container chính sử dụng CSS Grid */
.woovr-variations[class*="woovr-variations-grid"] {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
    padding-left: 10px; padding-right: 10px
}

/* Các grid layouts khác nhau */
.woovr-variations.woovr-variations-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.woovr-variations.woovr-variations-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.woovr-variations.woovr-variations-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ==================== CÁC PHẦN TỬ VARIATION ==================== */
/* Mỗi variation item cũng dùng Grid với 2 cột: ảnh và info */
.woovr-variations[class*="woovr-variations-grid"] .woovr-variation {
    width: 100%;
    margin: 0;
    padding: 10px;
    display: grid;
    grid-template-columns: auto 1fr; /* Cột 1: ảnh (auto), Cột 2: info (chiếm phần còn lại) */
    gap: 10px;
    align-items: center;
    border: 1px solid #dddddd;
    text-align: left;
    cursor: pointer;
    border-radius: 5px;
    position: relative;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Active state */
.woovr-variations[class*="woovr-variations-grid"] .woovr-variation.woovr-variation-active {
    border-color: green;
    background-color: #00800014;
}

/* Ẩn selector radio button */
.woovr-variations[class*="woovr-variations-grid"] .woovr-variation .woovr-variation-selector {
    display: none;
}

/* Ẩn checkmark icon */
.woovr-variations[class*="woovr-variations-grid"] .woovr-variation:before {
    display: none;
}

/* ==================== CỘT 1: HÌNH ẢNH ==================== */
.woovr-variations[class*="woovr-variations-grid"] .woovr-variation .woovr-variation-image {
    grid-column: 1 / 2;
    padding: 0 !important;
    margin-bottom: 0;
    position: relative;
}

.woovr-variations[class*="woovr-variations-grid"] .woovr-variation .woovr-variation-image img {
    width: 100% !important;
    max-width: 40px !important;
    height: auto;
    display: block;
}

/* Icon multiple images */
.woovr-variations[class*="woovr-variations-grid"] .woovr-variation[data-images="yes"] .woovr-variation-image:before {
    content: '';
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg fill='%23ffffff' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' id='multiple-image'%3E%3Cpath d='M18,15V5a3,3,0,0,0-3-3H5A3,3,0,0,0,2,5V15a3,3,0,0,0,3,3H15A3,3,0,0,0,18,15ZM4,5A1,1,0,0,1,5,4H15a1,1,0,0,1,1,1V9.36L14.92,8.27a2.56,2.56,0,0,0-1.81-.75h0a2.58,2.58,0,0,0-1.81.75l-.91.91-.81-.81a2.93,2.93,0,0,0-4.11,0L4,9.85Zm.12,10.45A.94.94,0,0,1,4,15V12.67L6.88,9.79a.91.91,0,0,1,1.29,0L9,10.6Zm8.6-5.76a.52.52,0,0,1,.39-.17h0a.52.52,0,0,1,.39.17L16,12.18V15a1,1,0,0,1-1,1H6.4ZM21,6a1,1,0,0,0-1,1V17a3,3,0,0,1-3,3H7a1,1,0,0,0,0,2H17a5,5,0,0,0,5-5V7A1,1,0,0,0,21,6Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: center;
    background-color: rgba(0, 0, 0, .3);
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    position: absolute;
    top: 0;
    left: 0;
}

/* ==================== CỘT 2: THÔNG TIN (woovr-variation-info) ==================== */
.woovr-variations[class*="woovr-variations-grid"] .woovr-variation .woovr-variation-info {
    grid-column: 2 / 3;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: center;
}

/* Hàng 1: Tên variation chiếm toàn bộ chiều rộng */
.woovr-variations[class*="woovr-variations-grid"] .woovr-variation .woovr-variation-name {
    grid-column: 1 / -1;
    font-size: 13px;
    margin-bottom: 0;
    text-align: center;
}

.woovr-variations[class*="woovr-variations-grid"] .woovr-variation .woovr-variation-name label {
    margin-bottom: 0;
    cursor: pointer;
}

/* Hàng 2: Giá (cột 1) và Tình trạng (cột 2) */
.woovr-variations[class*="woovr-variations-grid"] .woovr-variation .woovr-variation-price {
    grid-column: 1;
}

.woovr-variations[class*="woovr-variations-grid"] .woovr-variation .woovr-variation-availability {
    grid-column: 2;
    text-align: right;
}

/* Hàng 3 (nếu có): Description */
.woovr-variations[class*="woovr-variations-grid"] .woovr-variation .woovr-variation-description {
    grid-column: 1 / -1;
}

/* ==================== STYLING TEXT ==================== */
.woovr-variation-name {
    font-size: 13px;
}

.woovr-variation-info span.woocommerce-Price-amount.amount {
    font-size: 13px;
    font-weight: 600;
}

.woovr-variation-availability p.stock,
.product-info p.stock {
    margin-bottom: 0;
    white-space: nowrap;
    font-size: 13px;
}

.luanlt_product_sku {
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 10px;
}
.luanlt_product_sku {
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 10px;
}

/* Style cho SKU với khả năng copy nhanh */
.luanlt_sku {
    color: #e00;
    cursor: pointer;
    user-select: all;
    -webkit-user-select: all;
    -moz-user-select: all;
    -ms-user-select: all;
}

.luanlt_sku:hover {
    background-color: #ffe0e0;
    /*padding: 2px 4px;*/
    border-radius: 3px;
}
/* Fieldset */
.woovr-variations[class*="woovr-variations-grid"] .woovr-fieldset {
    width: 100%;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

/* ==================== RESPONSIVE ==================== */
/* Mobile - Hiển thị 1 cột */
@media (max-width: 768px) {
    .woovr-variations[class*="woovr-variations-grid"] {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .woovr-variations.woovr-variations-grid-2,
    .woovr-variations.woovr-variations-grid-3,
    .woovr-variations.woovr-variations-grid-4 {
        grid-template-columns: repeat(1, 1fr);
    }
    
    /* Tăng kích thước ảnh trên mobile */
    .woovr-variations[class*="woovr-variations-grid"] .woovr-variation .woovr-variation-image img {
        max-width: 60px !important;
    }
}

/* Tablet - Grid 3 và 4 cột xuống còn 2 cột */
@media (min-width: 769px) and (max-width: 1024px) {
    .woovr-variations.woovr-variations-grid-3,
    .woovr-variations.woovr-variations-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
/*Emd Ghi đè css Plugin*/
.woovr-variation-name{
    font-size: 13px
}
.woovr-variation-info span.woocommerce-Price-amount.amount{
    font-size: 13px
}
.product-info p.stock{
    margin-bottom: 0;
    white-space: nowrap
}
.luanlt_product_sku {
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 10px;
}
.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;        /* Chia thành 2 cột đều nhau */
    gap: 5px;                        /* Khoảng cách dọc 12px, ngang 20px */
    max-width: 600px;                      /* Tuỳ chỉnh độ rộng tối đa nếu cần */
    margin: 0 auto;                        /* Căn giữa khối nếu muốn */
}

.feature-item {
    display: flex;
    align-items: center;                   /* Căn giữa theo chiều dọc */
    justify-content: flex-start;           /* Icon và chữ sát nhau, căn trái */
    gap: 5px;                             /* Khoảng cách giữa icon và chữ */
    box-sizing: border-box;
    font-size: 13px;
}

.feature-icon {
    font-size: 24px;                       /* Kích thước icon lớn hơn một chút */
    flex-shrink: 0;                        /* Không bị co lại */
}

/* Responsive: khi màn hình nhỏ thì trở về 1 cột */
@media (max-width: 600px) {
    .features-list {
        grid-template-columns: 1fr;        /* 1 cột trên mobile */
        gap: 10px;
    }
    .feature-item {
        min-height: 50px;
        padding: 10px 14px;
    }
}
/* ----------------------------- */
/*  KHUNG ẢNH TỶ LỆ 16:9        */
/* ----------------------------- */

.product-images-16by9-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}

.product-images-16by9-wrapper .product-images {
    height: 100%;
}

.product-images-16by9-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Nút điều hướng Flickity */
.product-images-16by9-wrapper .flickity-button {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.product-images-16by9-wrapper .flickity-button.previous {
    left: 10px !important;
}

.product-images-16by9-wrapper .flickity-button.next {
    right: 10px !important;
}

/* Các khung gallery chính luôn 16:9 */
.woocommerce-product-gallery,
.woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery__image {
    aspect-ratio: 16 / 9 !important;
    width: 100% !important;
    height: auto !important;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
/* Ảnh không bị cắt */
.woocommerce-product-gallery__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}
/* ----------------------------- */
/*  THUMBNAIL                    */
/* ----------------------------- */

.product-thumbnails .col,
.product-thumbnails .woocommerce-product-gallery__image {
    max-width: 100px !important;
    max-height: 100px !important;
    width: 100px !important;
    height: 100px !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumbnails .woocommerce-product-gallery__image img {
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
}

/* ----------------------------- */
/*  BLOCK TÍNH NĂNG NỔI BẬT     */
/* ----------------------------- */

.woocommerce-product-gallery__image.luanlt-custom-wrapper{
        background: linear-gradient(90deg, #36bef0, #005575);
}
/* Đưa block vào giữa chiều cao khung ảnh */
.luanlt-feature-slide {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    padding: 10px 20px;

    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center; /* Căn giữa nội dung theo chiều ngang */

    gap: 20px;
    z-index: 5;
    pointer-events: none; /* Không chặn thao tác ảnh */
}

/* Vùng nội dung cho phép thao tác */
.luanlt-feature-slide * {
    pointer-events: auto;
}

/* Cột trái: ảnh */
.luanlt-feature-slide > .slide-col-img {
    width: 30%;
    max-width: 30%;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
}

/* Cột phải: nội dung */
.luanlt-feature-slide > .slide-col-text {
    width: 70%;
    max-width: 70%;
}

.luanlt-feature-slide h3.title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: #fff;
    text-align: center
}

.luanlt-feature-slide .acf-content-body{
    margin: 0;
    padding-left: 18px;
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: none;
    font-size: 13px;
    line-height: 1.3;
    color: #fff;
}

.luanlt-feature-slide ul li{
    margin-bottom: 6px;
}

/* Desktop */
.luanlt-feature-slide .desktop {
    display: block;
    text-align: center
}
.luanlt-feature-slide .mobile {
    display: none;
}

/* ----------------------------- */
/*  MOBILE RESPONSIVE           */
/* ----------------------------- */
@media (max-width: 767px) {

    p.title.desktop{
        font-size: 13px
    }
    .luanlt-feature-slide .acf-content-body{
        max-height: 160px
    }
    .luanlt-feature-slide h3.title,   .luanlt_product_feature_mobile h3.title{
        font-size: 13px;
        text-align: center;
        text-transform: uppercase
    }
    .luanlt_product_feature_mobile{
        background: #f9f9f9;
        padding: 10px;
        border-radius: 5px;
        font-size: 13px;
        margin-bottom: 15px;
        line-height: 1.1
    }
    .luanlt_product_feature_mobile ol, .luanlt_product_feature_mobile ul{
        padding-left: 15px; margin-bottom: 0;
    }
}


.in-stock{
    color: green !important;
}
.out-stock, .out-of-stock{
    color: red !important;
}

.luanlt_excerpt{
    padding: 10px;
    background-color: #f3f3f3;
    border-radius: 7px;
    margin-bottom: 15px

}
.luanlt_excerpt h2{
    font-weight: 600;
    text-transform: uppercase;
    color: #000;
    text-align: center;
    font-size: 1.2em
}
.luanlt_excerpt p{
    margin-bottom: .5em
}
.quantity input[type=number]{
    height: auto
}
button{
    white-space: nowrap
}
/* Nút “Thêm vào giỏ” mặc định */
button.single_add_to_cart_button.button.alt {
    background: #F5F5F5;
    border-radius: 3px;
    color: #c9252c;
    font-weight: 700;
    margin: 0;
    /*padding: 10px 15px;*/
    line-height: 40px;
    text-align: center;
    border: 1px solid #DDD;
    text-transform: uppercase;
    flex: 1; /* Tràn bên trái */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Icon trước nút “Thêm vào giỏ” */
button.single_add_to_cart_button.button.alt:before {
    content: '\e00c';
    font-family: fl-icons !important;
    margin-right: 10px;
    font-weight: 400;
}


/* Xóa icon với nút Mua ngay */
button.ux-buy-now-button:before{
    content: "\e909";
    font-family: fl-icons;
    margin-right: 10px;
    font-weight: 400;

}

/* Nút “Mua ngay” */
.button.ux-buy-now-button {
    border: 0;
    flex: 1; /* Tràn bên phải */
    background: linear-gradient(to bottom, #f59000, #fd6e1d);
    border-radius: 4px;
    font-size: 16px;
    /*padding: 10px 15px;*/
    text-align: center;
    line-height: 40px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}
/* Đảm bảo hai nút + ô số lượng nằm ngang */
.woocommerce-variation-add-to-cart {
    display: flex;
    align-items: center;
    gap: 10px;
}
.button, button, input[type=button], input[type=reset], input[type=submit]{
    font-size: 1em
}
/* CSS cho mobile */
@media (max-width: 767px) {
    .cart {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    /* Quantity và nút Thêm vào giỏ cùng hàng */
    .ux-quantity.quantity.buttons_added.form-minimal {
        flex: 0 0 auto;
        width: auto;
        margin: 0;
    }

    .single_add_to_cart_button.button.alt {
        flex: 1;
        margin: 0;
    }

    /* Nút Mua ngay chiếm full width hàng dưới */
    .ux-buy-now-button.button.primary.ml-half {
        flex: 0 0 100%;
        width: 100%;
        margin: 0;
        font-size: 20px
    }
}

/* CSS cho tablet và desktop (tùy chọn) */
@media (min-width: 768px) {
    .cart {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;

    }

    .ux-quantity.quantity.buttons_added.form-minimal {
        flex: 0 0 auto;
        margin: 0;
    }

    .single_add_to_cart_button.button.alt,
    .ux-buy-now-button.button.primary.ml-half {
        flex: 1;
        margin: 0;

    }
}
/*Chính sách bán hàng*/
.luanlt-promotion-box, .product-features-box{
    border: solid 1px #dedede;
    border-radius: 10px;
    overflow: hidden;
}
.luanlt-product-term-title{
    font-weight: bold
}
.luanlt-product-term-item ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Mỗi li = 50% */
    gap: 15px; /* Khoảng cách giữa các ô */
    margin: 0;
    padding: 0;
    list-style: none;
}

.luanlt-product-term-item ul li, .promotion-list li{
    display: flex;
    align-items: center;       /* Canh giữa theo chiều dọc */
    justify-content: flex-start;
    min-height: 30px;          /* Chiều cao tối thiểu, tự điều chỉnh theo nhu cầu */
    padding: 5px 7px;
    background: #f8f8f8;
    border-radius: 5px;
    border: 1px solid #e5e5e5;
    font-size: 13px;
    margin: 0;
}

/* Icon căn giữa và cách chữ một khoảng */
.luanlt-product-term-item ul li .feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.luanlt-product-term-item ul li .feature-icon img{
    width: 30px;
    height: auto;
}

.promotion-title{
    background-color: #F3F4F6;
    color: #000000;
    font-size: 16px;
    padding: 10px 5px;
    font-weight: bold;
    margin: 0;
}
.promotion-list{
    list-style: none;
    margin-bottom: 10px;
}
.promotion-list li{
    background: none;
    border: none;
    min-height: auto;
    margin-left: 0
}
.promotion-list li span{
    float: left
}
.promotion-list li span.promotion-icon{
    width: 20px;
    height: 20px;
    margin-right: 7px
}
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .luanlt-product-term-item ul{
        grid-template-columns: 1fr; /* Chuyển về 1 cột */
        gap: 12px;
    }

    .luanlt-product-term-item ul li{

        padding: 10px;
    }
    .woovr-variations.woovr-variations-grid-3 .woovr-variation{
        width: calc(100% /2 - 20px);
    }
}

@media (max-width: 480px) {
    .luanlt-product-term-item ul li .feature-icon img {
        width: 20px; /* Thu nhỏ icon trên màn nhỏ */
    }

}
/*Ennd Chính Sách Bán Hàng*/
/*Chương trình khuyến mại*/

/*Content*/
/* Content Expand */
.content-expand {
    max-height: 800px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease-in-out;
}
.content-expand-wrapper.dtshow .content-expand {
    max-height: none;
}
.luanlt_modetail {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 130px;
    padding-top: 85px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.91) 50%, rgba(255, 255, 255, 1) 55%);
    cursor: pointer;
}
.luanlt_modetail a,
.luanlt_hide a {
    cursor: pointer;
    display: inline-block;
    padding: 6px 20px;
    font-size: 14px;
    color: #d33;
    background: #fff;
    border: 1px solid #d33;
    border-radius: 20px;
}
.luanlt_hide {
    display: none;
    text-align: center;
}

.thong_so_ky_thuat, .thong_so_ky_thuat td, .thong_so_ky_thuat th {
    font-size: 13px
}
.thong_so_ky_thuat tr td:first-child{
    font-weight: bold;
}
.thong_so_ky_thuat ol, .thong_so_ky_thuat ul{
    padding-left: 15px
}
/*End content*/

/* Khung chứa toàn bộ biến thể */
