



/* ==========================================
   COMBO LIVING - PREMIUM PRODUCT REVIEWS
   Flatsome + WooCommerce
   PC / TABLET / MOBILE
   Version 4.0 - UI ONLY
========================================== */

/* ==========================================
   1. KHUNG KHU VUC DANH GIA
========================================== */

body.single-product #tab-reviews {
    background: #faf9f7 !important;
    border: 1px solid #eae4dc !important;
    border-radius: 18px !important;

    padding: 28px !important;
    margin-top: 16px !important;

    color: #4e4139;
    box-sizing: border-box;
}

body.single-product #tab-reviews #reviews {
    display: block !important;
    width: 100%;
    margin: 0 !important;
}

body.single-product #tab-reviews #reviews > .col {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
    padding: 0 !important;
}

/* ==========================================
   2. TIEU DE DANH GIA
========================================== */

body.single-product #tab-reviews
.woocommerce-Reviews-title {
    position: relative;

    margin: 0 0 18px !important;
    padding: 0 0 0 15px !important;

    color: #302a26 !important;

    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}

/* Vach vang ben trai tieu de */
body.single-product #tab-reviews
.woocommerce-Reviews-title::before {
    content: "";
    position: absolute;

    top: 3px;
    bottom: 3px;
    left: 0;

    width: 3px;

    background: #dd9933;
    border-radius: 3px;
}

/* ==========================================
   3. CHUA CO DANH GIA
========================================== */

body.single-product #tab-reviews
.woocommerce-noreviews {
    display: block !important;

    margin: 0 0 22px !important;
    padding: 17px 20px !important;

    background: #ffffff !important;
    border: 1px dashed #e5dacf !important;
    border-radius: 11px !important;

    color: #81756c !important;

    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
}

/* ==========================================
   4. KHUNG FORM GUI DANH GIA
========================================== */

body.single-product #tab-reviews
#review_form_wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

body.single-product #tab-reviews
#review_form {
    margin: 0 !important;
    padding: 0 !important;
}

body.single-product #tab-reviews
.review-form-inner.has-border {
    background: #ffffff !important;

    border: 1px solid #eae4dc !important;
    border-radius: 15px !important;

    margin: 0 !important;
    padding: 28px 32px !important;

    box-shadow: 0 4px 22px
        rgba(47,42,38,0.035) !important;
}

body.single-product #tab-reviews
#respond {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================
   5. TIEU DE FORM
========================================== */

body.single-product #tab-reviews
.comment-reply-title {
    display: block !important;

    margin: 0 0 24px !important;
    padding: 0 0 17px !important;

    border-bottom: 1px solid #eee8e1 !important;

    color: #302a26 !important;

    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;

    letter-spacing: 0 !important;
    text-transform: none !important;
}

/* ==========================================
   6. NHAN CAC TRUONG NHAP
========================================== */

body.single-product #tab-reviews
#commentform label {
    display: block;

    margin: 0 0 10px !important;

    color: #4e4139 !important;

    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
}

body.single-product #tab-reviews
#commentform .required {
    color: #c64b3d !important;
}

/* ==========================================
   7. KHU VUC CHON SAO
   GIU NGUYEN LOGIC V3
========================================== */

body.single-product #tab-reviews
.comment-form-rating {
    margin: 0 0 24px !important;
}

/* Khong sua cau truc a.star-1 ... a.star-5 */

/* Khung sao */
body.single-product #tab-reviews
#commentform p.stars {
    background: #faf7f2 !important;
    border: 1px solid #eee3d6 !important;
    border-radius: 11px !important;

    box-shadow: inset 0 1px 2px
        rgba(0,0,0,0.02) !important;
}

/* Text trang thai sao V3 */
body.single-product #tab-reviews
.combo-rating-feedback {
    display: inline-block;

    margin-left: 12px;
    padding: 6px 12px;

    color: #a56b22;
    background: #fff3e0;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

/* ==========================================
   8. O NHAP NHAN XET
========================================== */

body.single-product #tab-reviews
.comment-form-comment {
    margin: 0 0 22px !important;
}

body.single-product #tab-reviews
#comment {
    display: block !important;

    width: 100% !important;
    height: auto !important;
    min-height: 145px !important;

    margin: 0 !important;
    padding: 16px 18px !important;

    background: #faf9f7 !important;
    border: 1px solid #e6dfd7 !important;
    border-radius: 11px !important;

    box-shadow: none !important;

    color: #403832 !important;

    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;

    resize: vertical;
    box-sizing: border-box !important;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

/* Placeholder */
body.single-product #tab-reviews
#comment::placeholder {
    color: #a39990 !important;
    opacity: 1;
}

/* Focus textarea */
body.single-product #tab-reviews
#comment:focus {
    background: #ffffff !important;
    border-color: #dd9933 !important;

    outline: none !important;

    box-shadow: 0 0 0 3px
        rgba(221,153,51,0.11) !important;
}

/* ==========================================
   9. NUT GUI DANH GIA
========================================== */

body.single-product #tab-reviews
.form-submit {
    margin: 0 !important;
    padding: 0 !important;
}

body.single-product #tab-reviews
#submit {
    display: inline-block !important;

    width: auto !important;
    min-width: 170px !important;
    min-height: 48px !important;

    margin: 0 !important;
    padding: 12px 26px !important;

    background: #2f2a26 !important;
    border: 1px solid #2f2a26 !important;

    border-radius: 10px !important;

    color: #ffffff !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;

    text-transform: none !important;
    letter-spacing: 0 !important;

    box-shadow: none !important;
    cursor: pointer;

    transition:
        background-color .25s ease,
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

/* Hover tren PC */
@media (hover: hover) and (pointer: fine) {

    body.single-product #tab-reviews
    #submit:hover {
        background: #4e4139 !important;
        border-color: #4e4139 !important;

        transform: translateY(-2px);

        box-shadow: 0 6px 18px
            rgba(47,42,38,0.16) !important;
    }
}

/* ==========================================
   10. DANH SACH DANH GIA THAT
========================================== */

body.single-product #tab-reviews
ol.commentlist {
    list-style: none !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
}

body.single-product #tab-reviews
ol.commentlist > li {
    margin: 0 0 14px !important;
    padding: 20px !important;

    background: #ffffff;
    border: 1px solid #ebe4dc;
    border-radius: 12px;

    list-style: none !important;
}

body.single-product #tab-reviews
.commentlist .comment-text {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

body.single-product #tab-reviews
.commentlist .meta {
    color: #81756c !important;
    font-size: 13px !important;
    line-height: 1.6;
}

body.single-product #tab-reviews
.commentlist .meta strong {
    color: #302a26 !important;
    font-weight: 700 !important;
}

body.single-product #tab-reviews
.commentlist .description {
    color: #62574f !important;
    font-size: 14px !important;
    line-height: 1.75;
}

body.single-product #tab-reviews
.commentlist .star-rating {
    color: #dd9933 !important;
}

/* ==========================================
   11. TABLET
========================================== */

@media (max-width: 849px) {

    body.single-product #tab-reviews {
        padding: 20px !important;
        border-radius: 14px !important;
    }

    body.single-product #tab-reviews
    .review-form-inner.has-border {
        padding: 22px 20px !important;
        border-radius: 12px !important;
    }

    body.single-product #tab-reviews
    .woocommerce-Reviews-title {
        font-size: 19px !important;
    }

    body.single-product #tab-reviews
    .comment-reply-title {
        font-size: 17px !important;
        margin-bottom: 20px !important;
    }
}

/* ==========================================
   12. MOBILE
========================================== */

@media (max-width: 549px) {

    body.single-product #tab-reviews {
        padding: 14px !important;
        margin-top: 12px !important;
        border-radius: 12px !important;
    }

    body.single-product #tab-reviews
    .woocommerce-Reviews-title {
        font-size: 17px !important;
        margin-bottom: 14px !important;
    }

    body.single-product #tab-reviews
    .woocommerce-noreviews {
        padding: 13px 14px !important;
        margin-bottom: 16px !important;
        font-size: 13px !important;
    }

    body.single-product #tab-reviews
    .review-form-inner.has-border {
        padding: 18px 15px !important;
        border-radius: 11px !important;
    }

    body.single-product #tab-reviews
    .comment-reply-title {
        font-size: 16px !important;
        line-height: 1.5 !important;

        padding-bottom: 14px !important;
        margin-bottom: 20px !important;
    }

    body.single-product #tab-reviews
    #commentform label {
        font-size: 13px !important;
    }

    body.single-product #tab-reviews
    .comment-form-rating {
        margin-bottom: 20px !important;
    }

    /* Trang thai sao duoi thanh sao */
    body.single-product #tab-reviews
    .combo-rating-feedback {
        display: block !important;
        width: fit-content;

        margin: 10px 0 0 !important;
        padding: 5px 10px;

        font-size: 12px;
    }

    body.single-product #tab-reviews
    #comment {
        min-height: 125px !important;

        padding: 13px 14px !important;

        font-size: 13px !important;
        border-radius: 9px !important;
    }

    /* Nut gui rong de bam */
    body.single-product #tab-reviews
    #submit {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 48px !important;

        padding: 12px 18px !important;
        border-radius: 9px !important;

        font-size: 13px !important;
    }

    /* Danh gia cua khach */
    body.single-product #tab-reviews
    ol.commentlist > li {
        padding: 15px !important;
        border-radius: 10px;
    }
}

/* ==========================================
   13. ACCESSIBILITY
========================================== */

body.single-product #tab-reviews
#submit:focus-visible {
    outline: 2px solid #dd9933 !important;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    body.single-product #tab-reviews
    #submit,
    body.single-product #tab-reviews
    #comment {
        transition: none !important;
        transform: none !important;
    }
}


/* ==========================================
   COMBO LIVING - REVIEW RATING STARS V3
   PC + MOBILE
========================================== */

/* 1. Khu vuc danh gia sao */
body.single-product #tab-reviews
.comment-form-rating {
    display: block !important;
    margin: 0 0 22px !important;
}

/* Nhan chon sao */
body.single-product #tab-reviews
.comment-form-rating > label {
    display: block !important;
    margin: 0 0 10px !important;
    color: #4e4139 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* 2. Khung sao */
body.single-product #tab-reviews
#commentform p.stars {
    display: inline-flex !important;
    position: relative !important;

    width: auto !important;
    max-width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 6px 8px !important;

    background: #faf9f7 !important;
    border: 1px solid #ebe4da !important;
    border-radius: 10px !important;

    overflow: visible !important;
    vertical-align: middle !important;
}

/* 3. Nam sao tren mot hang */
body.single-product #tab-reviews
#commentform p.stars > span {
    display: flex !important;
    position: relative !important;

    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;

    gap: 4px !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

/* 4. Moi sao la mot nut bam */
body.single-product #tab-reviews
#commentform p.stars > span > a {
    display: inline-flex !important;
    position: relative !important;

    align-items: center !important;
    justify-content: center !important;

    float: none !important;

    width: 40px !important;
    min-width: 40px !important;
    height: 42px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;

    box-shadow: none !important;

    font-size: 0 !important;
    line-height: 1 !important;
    text-indent: 0 !important;

    overflow: hidden !important;
    opacity: 1 !important;

    pointer-events: auto !important;
    cursor: pointer !important;

    text-decoration: none !important;
    box-sizing: border-box !important;
}

/* 5. Chi hien mot ngoi sao */
body.single-product #tab-reviews
#commentform p.stars > span > a::before {
    content: "\2605" !important;

    display: block !important;
    position: static !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family: Arial, sans-serif !important;
    font-size: 30px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    color: #d3cec7 !important;
    background: none !important;

    opacity: 1 !important;
    visibility: visible !important;

    text-indent: 0 !important;
    pointer-events: none !important;
}

/* Tat pseudo-element phu */
body.single-product #tab-reviews
#commentform p.stars > span > a::after {
    content: none !important;
    display: none !important;
}

/* 6. Mau vang cua sao duoc chon */
body.single-product #tab-reviews
#commentform p.stars > span
> a.combo-rating-on::before {
    color: #dd9933 !important;
}

/* 7. Focus khi dung ban phim */
body.single-product #tab-reviews
#commentform p.stars > span > a:focus-visible {
    outline: 2px solid #dd9933 !important;
    outline-offset: 2px !important;
    border-radius: 5px !important;
}

/* 8. Hien thi so sao da chon */
body.single-product #tab-reviews
.combo-rating-feedback {
    display: inline-block;
    margin-left: 12px;

    color: #8a6b51;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    vertical-align: middle;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 849px) {

    body.single-product #tab-reviews
    #commentform p.stars > span > a {
        width: 36px !important;
        min-width: 36px !important;
        height: 40px !important;
    }

    body.single-product #tab-reviews
    #commentform p.stars > span > a::before {
        font-size: 28px !important;
    }

    body.single-product #tab-reviews
    .combo-rating-feedback {
        display: block;
        margin: 7px 0 0;
        font-size: 12px;
    }
}

/* Mobile nho */
@media (max-width: 360px) {

    body.single-product #tab-reviews
    #commentform p.stars > span > a {
        width: 33px !important;
        min-width: 33px !important;
        height: 37px !important;
    }

    body.single-product #tab-reviews
    #commentform p.stars > span > a::before {
        font-size: 26px !important;
    }
}




/* ==========================================
   COMBO LIVING - MOBILE PRODUCT TABS
   Flatsome + WooCommerce
   3 Tab cung 1 hang, khong xuong dong
========================================== */

@media (max-width: 849px) {

    /* 1. Thanh Tab */
    body.single-product
    .woocommerce-tabs
    > ul.tabs.product-tabs {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;

        align-items: stretch !important;
        justify-content: space-between !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 0 18px !important;
        padding: 0 !important;

        border-top: none !important;
        border-bottom: 1px solid #eae4dc !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    /* An thanh cuon */
    body.single-product
    .woocommerce-tabs
    > ul.tabs.product-tabs::-webkit-scrollbar {
        display: none;
    }

    /* 2. Tung Tab */
    body.single-product
    .woocommerce-tabs
    > ul.tabs.product-tabs > li {
        display: flex !important;

        flex: 0 0 auto !important;
        width: auto !important;

        align-items: stretch !important;
        justify-content: center !important;

        margin: 0 !important;
        padding: 0 !important;

        border: none !important;
        background: transparent !important;
    }

    /* 3. Text Tab */
    body.single-product
    .woocommerce-tabs
    > ul.tabs.product-tabs > li > a {
        position: relative !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: auto !important;
        min-height: 46px;

        margin: 0 !important;
        padding: 11px 9px !important;

        background: transparent !important;
        border: none !important;

        color: #82786e !important;

        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;

        letter-spacing: 0 !important;
        text-transform: none !important;
        text-align: center !important;

        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;

        text-decoration: none !important;
    }

    /* 4. Bo gach phia tren mac dinh */
    body.single-product
    .woocommerce-tabs
    > ul.tabs.product-tabs > li > a::before {
        content: none !important;
        display: none !important;
    }

    /* 5. Tab dang chon */
    body.single-product
    .woocommerce-tabs
    > ul.tabs.product-tabs > li.active > a {
        color: #3f3a36 !important;
        font-weight: 700 !important;
    }

    /* 6. Gach vang ben duoi Tab active */
    body.single-product
    .woocommerce-tabs
    > ul.tabs.product-tabs > li.active > a::after {
        content: "" !important;

        display: block !important;
        position: absolute !important;

        top: auto !important;
        bottom: 0 !important;
        left: 9px !important;

        width: auto !important;
        right: 9px !important;
        height: 2px !important;

        background: #dd9933 !important;
        border: none !important;
        border-radius: 3px !important;
    }
}

/* ==========================================
   MOBILE NHO - 380px TRO XUONG
========================================== */

@media (max-width: 380px) {

    body.single-product
    .woocommerce-tabs
    > ul.tabs.product-tabs > li > a {
        font-size: 11px !important;
        padding: 10px 6px !important;
        min-height: 44px;
    }

    body.single-product
    .woocommerce-tabs
    > ul.tabs.product-tabs > li.active > a::after {
        left: 6px !important;
        right: 6px !important;
    }
}


/* ==========================================
   COMBO LIVING - PRODUCT IMAGE RATIO
   Flatsome + WooCommerce
   Main Gallery + Thumbnails
   Auto Crop 1:1
========================================== */

/* ==========================================
   1. KHUNG ANH CHINH TY LE 1:1
========================================== */

body.single-product
.product-gallery .product-images {
    width: 100%;
    position: relative;
}

/* Co dinh ty le khung anh */
body.single-product
.product-gallery .product-gallery-slider {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    overflow: hidden !important;
    background: #f8f7f5;
}

/* Ghi de chieu cao Flickity tu dong */
body.single-product
.product-gallery .product-gallery-slider
.flickity-viewport {
    height: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
}

/* Slider ben trong */
body.single-product
.product-gallery .product-gallery-slider
.flickity-slider {
    height: 100% !important;
}

/* Moi slide cung kich thuoc */
body.single-product
.product-gallery .product-gallery-slider
.woocommerce-product-gallery__image {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

/* Link boc anh */
body.single-product
.product-gallery .product-gallery-slider
.woocommerce-product-gallery__image > a {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100% !important;
    height: 100% !important;

    overflow: hidden;
}

/* Anh chinh tu dong crop vuong */
body.single-product
.product-gallery .product-gallery-slider
.woocommerce-product-gallery__image img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: cover !important;
    object-position: center center !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================
   2. THUMBNAIL - DONG BO 1:1
========================================== */

/* Khung anh thumbnail */
body.single-product
.product-gallery .product-thumbnails
.col > a {
    display: block !important;

    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;

    position: relative;
    overflow: hidden !important;

    background: #f8f7f5;
    border-radius: 5px;
}

/* Tat ca thumbnail tu dong crop */
body.single-product
.product-gallery .product-thumbnails
.col > a > img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;

    object-fit: cover !important;
    object-position: center center !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Khung Flickity thumbnail 4 cot */
body.single-product
.product-gallery .product-thumbnails
.flickity-viewport {
    height: auto !important;
    aspect-ratio: 4 / 1;
    overflow: hidden !important;
}

/* ==========================================
   3. HIEU UNG CHON THUMBNAIL
========================================== */

body.single-product
.product-gallery .product-thumbnails
.col > a {
    transition:
        box-shadow 0.25s ease,
        opacity 0.25s ease;
}

/* Thumbnail dang duoc chon */
body.single-product
.product-gallery .product-thumbnails
.col.is-nav-selected > a {
    box-shadow: inset 0 0 0 2px #dd9933;
}

/* ==========================================
   4. MOBILE
========================================== */

@media (max-width: 849px) {

    /* Gallery luon giu 1:1 */
    body.single-product
    .product-gallery .product-gallery-slider {
        aspect-ratio: 1 / 1;
    }

    /* Thumbnail */
    body.single-product
    .product-gallery .product-thumbnails
    .col > a {
        aspect-ratio: 1 / 1;
        border-radius: 4px;
    }
}



/* ==========================================
   COMBO LIVING - PRODUCT GALLERY ZOOM
   Flatsome - PC / TABLET / MOBILE
   Modern Luxury Design
========================================== */

/* 1. Khung anh lam moc dinh vi */
body.single-product
.product-gallery .product-images {
    position: relative !important;
}

/* ==========================================
   2. DI CHUYEN KHUNG CHUA ZOOM
   Tu goc duoi trai len goc tren phai
========================================== */

body.single-product
.product-gallery
.product-images > .image-tools.bottom.left {
    position: absolute !important;

    top: 14px !important;
    right: 14px !important;
    bottom: auto !important;
    left: auto !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    z-index: 12 !important;
}

/* ==========================================
   3. THIET KE NUT PHONG TO
========================================== */

body.single-product
.product-gallery
.product-images .image-tools
a.zoom-button {
    position: relative !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 42px !important;
    height: 42px !important;

    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;

    margin: 0 !important;
    padding: 0 !important;

    float: none !important;

    background: rgba(255,255,255,0.95) !important;

    border: 1px solid #e8dfd4 !important;
    border-radius: 10px !important;

    color: #59483d !important;

    box-shadow: 0 3px 12px
        rgba(0,0,0,0.09) !important;

    opacity: 1 !important;
    visibility: visible !important;

    transform: none;

    cursor: pointer;

    box-sizing: border-box !important;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

/* ==========================================
   4. ICON EXPAND CUA FLATSOME
========================================== */

body.single-product
.product-gallery
.product-images .image-tools
a.zoom-button i.icon-expand {
    display: inline-block !important;

    margin: 0 !important;
    padding: 0 !important;

    color: inherit !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    transform: none !important;
}

/* ==========================================
   5. HOVER PC
========================================== */

@media (min-width: 850px) {

    body.single-product
    .product-gallery
    .product-images .image-tools
    a.zoom-button:hover {
        background: #2f2a26 !important;
        border-color: #2f2a26 !important;

        color: #ffffff !important;

        transform: translateY(-2px);

        box-shadow: 0 6px 18px
            rgba(47,42,38,0.18) !important;
    }

    body.single-product
    .product-gallery
    .product-images .image-tools
    a.zoom-button:hover i {
        color: #ffffff !important;
    }
}

/* ==========================================
   6. MOBILE / TABLET
========================================== */

@media (max-width: 849px) {

    body.single-product
    .product-gallery
    .product-images > .image-tools.bottom.left {
        top: 10px !important;
        right: 10px !important;
        bottom: auto !important;
        left: auto !important;
    }

    body.single-product
    .product-gallery
    .product-images .image-tools
    a.zoom-button {
        width: 40px !important;
        height: 40px !important;

        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;

        border-radius: 9px !important;

        box-shadow: 0 2px 8px
            rgba(0,0,0,0.08) !important;
    }

    body.single-product
    .product-gallery
    .product-images .image-tools
    a.zoom-button i.icon-expand {
        font-size: 16px !important;
    }
}

/* ==========================================
   7. HIEN NUT ZOOM TREN MOBILE
   Ghi de class hide-for-small cua Flatsome
========================================== */

@media (max-width: 549px) {

    body.single-product
    .product-gallery
    .product-images .image-tools
    a.zoom-button.hide-for-small {
        display: inline-flex !important;
    }
}

/* ==========================================
   8. ACCESSIBILITY
========================================== */

body.single-product
.product-gallery
.product-images .image-tools
a.zoom-button:focus-visible {
    outline: 2px solid #dd9933 !important;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    body.single-product
    .product-gallery
    .product-images .image-tools
    a.zoom-button {
        transition: none !important;
    }
}


/* ==========================================
   COMBO LIVING - PRODUCT LIST SALE BADGE
   Flatsome + WooCommerce
   PC / TABLET / MOBILE
========================================== */

/* 1. Vi tri badge tren anh san pham */
body .product-small .badge-container {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;

    margin: 0 !important;
    padding: 0 !important;

    width: auto !important;
    height: auto !important;

    z-index: 5;
}

/* 2. Bo kieu badge hinh vuong / hinh tron */
body .product-small .badge-container .badge {
    display: block !important;

    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
    border-radius: 7px !important;
    box-shadow: none !important;
}

/* 3. Thiet ke badge giam gia */
body .product-small .badge-container
.badge-inner.on-sale {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 30px !important;

    margin: 0 !important;
    padding: 7px 11px !important;

    background: #dd9933 !important;
    border: none !important;
    border-radius: 7px !important;

    color: #ffffff !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;

    white-space: nowrap !important;
    text-align: center !important;

    box-shadow: 0 3px 10px
        rgba(0,0,0,0.10) !important;

    box-sizing: border-box !important;
}

/* 4. Dong bo chu ben trong badge */
body .product-small .badge-container
.badge-inner.on-sale span,
body .product-small .badge-container
.badge-inner.on-sale .onsale {
    color: #ffffff !important;
    font-size: inherit !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

/* 5. Hover nhe tren PC */
@media (min-width: 850px) {

    body .product-small .badge-container
    .badge-inner.on-sale {
        transition:
            background-color 0.25s ease,
            box-shadow 0.25s ease;
    }

    body .product-small:hover .badge-container
    .badge-inner.on-sale {
        background: #c98726 !important;

        box-shadow: 0 4px 12px
            rgba(221,153,51,0.22) !important;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 849px) {

    body .product-small .badge-container {
        top: 8px !important;
        left: 8px !important;
    }

    body .product-small .badge-container .badge {
        border-radius: 5px !important;
    }

    body .product-small .badge-container
    .badge-inner.on-sale {
        min-height: 25px !important;

        padding: 5px 8px !important;

        font-size: 11px !important;
        font-weight: 700 !important;

        border-radius: 5px !important;
        box-shadow: 0 2px 6px
            rgba(0,0,0,0.08) !important;
    }
}


/* ==========================================
   COMBO - PRICE + DISCOUNT + VAT
   PC + MOBILE
========================================== */

/* Ghi chu VAT */
body.single-product
.product-info .combo-price-vat {
    display: inline-block !important;

    margin-left: 9px !important;
    padding: 0 !important;

    color: #999999 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;

    text-decoration: none !important;
    vertical-align: baseline;
    white-space: nowrap;
}

/* Phan tram giam gia chech len tren */
body.single-product
.product-info .combo-sale-percent {
    display: inline-block !important;
    position: relative;
    top: -8px;

    margin-left: 8px !important;
    padding: 4px 8px !important;

    background: #fff2df !important;
    border: 1px solid #f0d6b1 !important;
    border-radius: 999px !important;

    color: #a46a1c !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;

    white-space: nowrap;
    text-decoration: none !important;
}

/* Mobile */
@media (max-width: 849px) {

    body.single-product
    .product-info .combo-price-vat {
        margin-left: 6px !important;
        font-size: 11px !important;
    }

    body.single-product
    .product-info .combo-sale-percent {
        top: -6px;
        margin-left: 5px !important;
        padding: 3px 7px !important;
        font-size: 10px !important;
    }
}


/* ==========================================
   COMBO - PRICE DISCOUNT BADGE
========================================== */

/* Gia goc nho va gon */
body.single-product
.product-info .price-wrapper .price del {
    font-size: 0.72em !important;
    font-weight: 400 !important;
    color: #999999 !important;
    opacity: 1 !important;
    margin-right: 7px;
}

/* Gia ban noi bat */
body.single-product
.product-info .price-wrapper .price ins {
    color: #e52c32 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Phan tram sau gia */
body.single-product
.product-info .price-wrapper
.combo-sale-percent {
    display: inline-block !important;

    margin-left: 9px !important;
    padding: 5px 9px !important;

    background: #fff2df !important;
    border: 1px solid #f0d6b1 !important;
    border-radius: 6px !important;

    color: #a46a1c !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;

    text-decoration: none !important;
    vertical-align: middle;
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 849px) {

    body.single-product
    .product-info .price-wrapper
    .combo-sale-percent {
        margin-left: 6px !important;
        padding: 4px 7px !important;
        font-size: 11px !important;
    }
}



/* ==========================================
   COMBO - PRODUCT GALLERY SALE BADGE
   Nhan giam gia nho, bo goc
========================================== */

/* Vi tri nhan tren anh */
body.single-product
.product-gallery .badge-container {
    top: 14px !important;
    left: 14px !important;
    margin: 0 !important;
    z-index: 5;
}

/* Bo kieu hinh tron */
body.single-product
.product-gallery .badge-container .badge {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    border-radius: 7px !important;
}

/* Nhan SALE */
body.single-product
.product-gallery .badge-container
.badge-inner.on-sale {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;

    padding: 8px 12px !important;
    margin: 0 !important;

    background: #dd9933 !important;
    border: none !important;
    border-radius: 7px !important;

    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    box-shadow: 0 3px 10px
        rgba(0,0,0,0.10) !important;
}

/* Chu -10% */
body.single-product
.product-gallery .badge-container
.badge-inner.on-sale .onsale {
    color: #ffffff !important;
    font-size: inherit !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

/* Mobile */
@media (max-width: 849px) {

    body.single-product
    .product-gallery .badge-container {
        top: 10px !important;
        left: 10px !important;
    }

    body.single-product
    .product-gallery .badge-container
    .badge-inner.on-sale {
        padding: 7px 10px !important;
        font-size: 12px !important;
        border-radius: 6px !important;
    }
}


/* ==========================================
   COMBO - PRODUCT SUPPORT INFO
   PC: 3 cot ngang
   MOBILE: 3 hang doc
========================================== */

/* Khung chua */
body.single-product .combo-product-support-box {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;

    width: 100%;
    margin: 20px 0 !important;
    padding: 12px 0 !important;

    background: #ffffff;
    border-top: 1px solid #ebe5dd;
    border-bottom: 1px solid #ebe5dd;
    box-sizing: border-box;
}

/* Tung muc tren PC */
body.single-product .combo-support-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 1 1 0%;
    width: 33.333%;
    min-width: 0;

    padding: 12px 8px !important;
    margin: 0 !important;

    text-align: center;
    box-sizing: border-box;
}

/* Duong phan cach PC */
body.single-product
.combo-support-item:not(:last-child) {
    border-right: 1px solid #ebe5dd;
    border-bottom: none;
}

/* Icon */
body.single-product .combo-support-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;
    flex: 0 0 25px;

    margin: 0 0 8px !important;

    color: #dd9933 !important;
}

/* SVG icon */
body.single-product .combo-support-icon svg {
    display: block;
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

/* Noi dung */
body.single-product .combo-support-text {
    display: block;
    width: 100%;

    color: #4b403a !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;

    text-align: center;
    overflow-wrap: break-word;
}

/* ==========================================
   MOBILE / TABLET
========================================== */

@media (max-width: 849px) {

    body.single-product .combo-product-support-box {
        flex-direction: column !important;

        margin: 16px 0 !important;
        padding: 4px 14px !important;

        border: 1px solid #ebe5dd;
        border-radius: 10px;

        background: #faf9f7;
    }

    /* Moi muc nam mot hang */
    body.single-product .combo-support-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;

        flex: 0 0 auto;
        width: 100% !important;

        min-height: 48px;
        padding: 11px 0 !important;

        text-align: left;
    }

    /* Duong phan cach ngang */
    body.single-product
    .combo-support-item:not(:last-child) {
        border-right: none !important;
        border-bottom: 1px solid #ebe5dd;
    }

    /* Icon ben trai */
    body.single-product .combo-support-icon {
        width: 20px;
        height: 20px;
        flex: 0 0 20px;

        margin: 0 12px 0 0 !important;
    }

    body.single-product .combo-support-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Noi dung ben phai */
    body.single-product .combo-support-text {
        flex: 1 1 auto;

        font-size: 13px !important;
        line-height: 1.5 !important;
        text-align: left !important;
    }
}


/* ==========================================
   COMBO LIVING - LUXURY WOOD SWATCHES
   PC + TABLET + MOBILE
   Mau thuong hieu: #dd9933
========================================== */

/* ==========================================
   1. NHAN MAU SAC
========================================== */

body.single-product form.variations_form
.variations th.label label {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.5;
    color: #4e4036 !important;
}

body.single-product form.variations_form
.woo-selected-variation-item-name,
body.single-product form.variations_form
.wvs-selected-item-name {
    color: #8a6b51 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* ==========================================
   2. WOO VARIATION SWATCHES
========================================== */

/* Khung thanh mau lien mach */
body.single-product form.variations_form
.variable-items-wrapper.color-variable-items-wrapper,
body.single-product form.variations_form
.variable-items-wrapper.image-variable-items-wrapper {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;

    width: auto !important;
    max-width: 100% !important;

    margin: 6px 0 0 !important;
    padding: 0 !important;

    background: #fff;
    border: 1px solid #c7b7a4;
    border-radius: 8px !important;

    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Tung khuc mau */
body.single-product form.variations_form
.color-variable-items-wrapper > .variable-item,
body.single-product form.variations_form
.image-variable-items-wrapper > .variable-item {
    position: relative !important;

    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;

    flex: 0 0 64px !important;

    width: 64px !important;
    min-width: 0 !important;
    height: 36px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;

    box-shadow: none !important;
    overflow: hidden !important;
    cursor: pointer;
}

/* Duong phan chia rat nhe */
body.single-product form.variations_form
.color-variable-items-wrapper
> .variable-item:not(:last-child),
body.single-product form.variations_form
.image-variable-items-wrapper
> .variable-item:not(:last-child) {
    border-right: 1px solid
        rgba(255,255,255,0.45) !important;
}

/* Khung mau ben trong */
body.single-product form.variations_form
.color-variable-items-wrapper
.variable-item-contents,
body.single-product form.variations_form
.image-variable-items-wrapper
.variable-item-contents {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Mau / anh phu kin tung khuc */
body.single-product form.variations_form
.color-variable-items-wrapper
.variable-item-span,
body.single-product form.variations_form
.image-variable-items-wrapper
.variable-item-span {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Anh van go neu su dung image swatches */
body.single-product form.variations_form
.image-variable-items-wrapper img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 0 !important;
}

/* ==========================================
   3. MAU DANG CHON
========================================== */

/* Vien sang nam ben trong khuc mau */
body.single-product form.variations_form
.color-variable-items-wrapper
> .variable-item.selected:not(.disabled)::before,
body.single-product form.variations_form
.image-variable-items-wrapper
> .variable-item.selected:not(.disabled)::before {
    content: "" !important;

    display: block !important;
    position: absolute !important;

    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;

    border: 2px solid #ffffff;
    border-radius: 3px;

    box-shadow: 0 0 0 1px
        rgba(65,45,30,0.55);

    background: transparent !important;

    pointer-events: none;
    z-index: 5;
}

/* Dau tick tron trang */
body.single-product form.variations_form
.color-variable-items-wrapper
> .variable-item.selected:not(.disabled)::after,
body.single-product form.variations_form
.image-variable-items-wrapper
> .variable-item.selected:not(.disabled)::after {
    content: "\2713" !important;

    display: block !important;
    position: absolute !important;

    top: 50% !important;
    right: 6px !important;
    left: auto !important;
    bottom: auto !important;

    width: 19px;
    height: 19px;

    margin: 0 !important;
    padding: 0 !important;

    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 50%;

    color: #49372c;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;

    transform: translateY(-50%) !important;

    box-shadow: 0 1px 4px
        rgba(0,0,0,0.15);

    pointer-events: none;
    z-index: 6;
}

/* Khuc mau dang chon noi len */
body.single-product form.variations_form
.variable-items-wrapper
> .variable-item.selected {
    z-index: 2;
}

/* ==========================================
   4. HOVER PC
========================================== */

@media (hover: hover) and (pointer: fine) {

    body.single-product form.variations_form
    .color-variable-items-wrapper
    > .variable-item:not(.disabled):hover,
    body.single-product form.variations_form
    .image-variable-items-wrapper
    > .variable-item:not(.disabled):hover {
        filter: brightness(1.09);
    }
}

/* ==========================================
   5. FLATSOME UX SWATCHES
========================================== */

/* Thanh mau */
body.single-product form.variations_form
.ux-swatches {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;

    width: auto !important;
    max-width: 100% !important;

    margin: 6px 0 0 !important;
    padding: 0 !important;

    border: 1px solid #c7b7a4;
    border-radius: 8px;

    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Moi mau */
body.single-product form.variations_form
.ux-swatches .ux-swatch {
    position: relative !important;
    display: block !important;

    flex: 0 0 64px !important;

    width: 64px !important;
    min-width: 0 !important;
    height: 36px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    overflow: hidden;
    cursor: pointer;
}

/* Bo khoang cach giua cac mau */
body.single-product form.variations_form
.ux-swatches .ux-swatch
> *:not(.ux-swatch__text) {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
    border-radius: 0 !important;
}

/* Anh van go */
body.single-product form.variations_form
.ux-swatches .ux-swatch img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover;
    border-radius: 0 !important;
}

/* An ten tren tung khuc, giu nhan ben tren */
body.single-product form.variations_form
.ux-swatches .ux-swatch__text {
    display: none !important;
}

/* Vien trang thai duoc chon */
body.single-product form.variations_form
.ux-swatches .ux-swatch.selected::before,
body.single-product form.variations_form
.ux-swatches .ux-swatch.active::before,
body.single-product form.variations_form
.ux-swatches .ux-swatch[aria-checked="true"]::before {
    content: "";

    display: block;
    position: absolute;

    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;

    border: 2px solid white;
    border-radius: 3px;

    box-shadow: 0 0 0 1px
        rgba(65,45,30,0.55);

    pointer-events: none;
    z-index: 5;
}

/* Tick trang thai */
body.single-product form.variations_form
.ux-swatches .ux-swatch.selected::after,
body.single-product form.variations_form
.ux-swatches .ux-swatch.active::after,
body.single-product form.variations_form
.ux-swatches .ux-swatch[aria-checked="true"]::after {
    content: "\2713";

    display: block;
    position: absolute;

    top: 50%;
    right: 6px;

    width: 19px;
    height: 19px;

    background: rgba(255,255,255,0.95);
    border-radius: 50%;

    color: #49372c;
    font-size: 12px;
    font-weight: 700;
    line-height: 19px;
    text-align: center;

    transform: translateY(-50%);

    pointer-events: none;
    z-index: 6;
}

/* ==========================================
   6. RESET VARIATION
========================================== */

body.single-product form.variations_form
.reset_variations {
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #95877a !important;
    text-transform: none !important;
}

body.single-product form.variations_form
.reset_variations:hover {
    color: #dd9933 !important;
}

/* ==========================================
   7. MOBILE RESPONSIVE
========================================== */

@media (max-width: 849px) {

    body.single-product form.variations_form
    .color-variable-items-wrapper
    > .variable-item,
    body.single-product form.variations_form
    .image-variable-items-wrapper
    > .variable-item,
    body.single-product form.variations_form
    .ux-swatches .ux-swatch {
        flex: 0 0 54px !important;
        width: 54px !important;
        height: 36px !important;
    }

    body.single-product form.variations_form
    .variations th.label label {
        font-size: 13px !important;
    }
}

/* Mobile man hinh rat nho */
@media (max-width: 359px) {

    body.single-product form.variations_form
    .color-variable-items-wrapper
    > .variable-item,
    body.single-product form.variations_form
    .image-variable-items-wrapper
    > .variable-item,
    body.single-product form.variations_form
    .ux-swatches .ux-swatch {
        flex: 0 0 48px !important;
        width: 48px !important;
        height: 34px !important;
    }
}

/* ==========================================
   8. ACCESSIBILITY
========================================== */

/* Ho tro chon mau bang ban phim */
body.single-product form.variations_form
.variable-item:focus-visible,
body.single-product form.variations_form
.ux-swatch:focus-visible {
    outline: 2px solid #dd9933 !important;
    outline-offset: 3px;
}

/* Giam hieu ung chuyen dong */
@media (prefers-reduced-motion: reduce) {
    body.single-product form.variations_form
    .variable-item,
    body.single-product form.variations_form
    .ux-swatch {
        transition: none !important;
    }
}


/* ==========================================
   COMBO LIVING - STICKY BUY NOW
   Flatsome + WooCommerce
   PC / TABLET / MOBILE
   Version: 2.0
========================================== */

/* ==========================================
   1. KHUNG STICKY
========================================== */
/* 1. Can giua icon va text tren Sticky */
body.single-product
.sticky-add-to-cart
a.sticky-add-to-cart-select-options-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
}

/* 2. Icon tia set dung chung cho 2 nut */
body.single-product
.sticky-add-to-cart
a.sticky-add-to-cart-select-options-button::before,
body.single-product
form.cart button.ux-buy-now-button::before {
    content: "" !important;

    display: inline-block !important;
    width: 17px !important;
    height: 17px !important;
    flex: 0 0 17px !important;

    margin: 0 !important;
    padding: 0 !important;

    background-color: currentColor !important;

    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13 2L4 14h6l-1 8 9-12h-6l1-8z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13 2L4 14h6l-1 8 9-12h-6l1-8z'/%3E%3C/svg%3E");

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-position: center;
    mask-position: center;

    -webkit-mask-size: contain;
    mask-size: contain;

    vertical-align: middle;
}

/* 3. Chu va icon mau trang */
body.single-product
.sticky-add-to-cart
a.sticky-add-to-cart-select-options-button {
    color: #ffffff !important;
}

body.single-product
.sticky-add-to-cart
a.sticky-add-to-cart-select-options-button span {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* 4. Mobile - icon nho gon hon */
@media (max-width: 849px) {

    body.single-product
    .sticky-add-to-cart
    a.sticky-add-to-cart-select-options-button {
        gap: 6px !important;
    }

    body.single-product
    .sticky-add-to-cart
    a.sticky-add-to-cart-select-options-button::before {
        width: 15px !important;
        height: 15px !important;
        flex: 0 0 15px !important;
    }
}


body.single-product .sticky-add-to-cart-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

body.single-product .sticky-add-to-cart {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;

    background: #ffffff !important;
    border-top: 1px solid #eae4dc !important;
    box-shadow: 0 -3px 15px rgba(0,0,0,0.06);
    box-sizing: border-box;
}

/* ==========================================
   2. BO CUC CHUNG - PC
========================================== */

body.single-product .sticky-add-to-cart__product {
    display: grid !important;
    grid-template-columns:56px minmax(0,1fr) auto auto 145px;
    align-items: center;
    column-gap: 15px;

    width: 96% !important;
    max-width: 1280px !important;
    min-width: 0 !important;

    margin: 0 auto !important;
    padding: 10px 0 !important;

    box-sizing: border-box;
}

/* ==========================================
   3. ANH THUMBNAIL
========================================== */

body.single-product .sticky-add-to-cart__product
> img.sticky-add-to-cart-img {
    display: block !important;

    grid-column: 1;
    grid-row: 1;

    width: 56px !important;
    height: 56px !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
    float: none !important;

    border-radius: 7px;
    object-fit: cover;
}

/* ==========================================
   4. TEN SAN PHAM
========================================== */

body.single-product .sticky-add-to-cart
.product-title-small {
    display: block !important;

    grid-column: 2;
    grid-row: 1;

    width: auto !important;
    max-width: none !important;
    min-width: 0;

    margin: 0 !important;
    padding: 0 !important;
    text-align: left;
}

body.single-product .sticky-add-to-cart
.product-title-small strong {
    display: block;

    color: #4b403a !important;

    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;

    white-space: normal !important;
    overflow-wrap: break-word;
}

/* ==========================================
   5. GIA GOC
========================================== */

body.single-product .sticky-add-to-cart__product
> del {
    display: block !important;

    grid-column: 3;
    grid-row: 1;

    margin: 0 !important;
    padding: 0 !important;

    color: #999999 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;

    opacity: 1 !important;
    white-space: nowrap;
}

body.single-product .sticky-add-to-cart__product
> del .amount {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

/* ==========================================
   6. GIA SALE
========================================== */

body.single-product .sticky-add-to-cart__product
> ins {
    display: block !important;

    grid-column: 4;
    grid-row: 1;

    min-width: 0;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    color: #e52c32 !important;

    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;

    text-decoration: none !important;
    white-space: nowrap;
}

body.single-product .sticky-add-to-cart__product
> ins .amount {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

/* ==========================================
   7. VAT SAU GIA SALE
========================================== */

body.single-product .sticky-add-to-cart__product
> ins::after {
    content: "(Đã bao gồm VAT)";

    display: inline-block;
    margin-left: 7px;

    color: #999999 !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;

    white-space: nowrap;
    text-decoration: none !important;
}

/* Gia thuong khong co khuyen mai */

body.single-product .sticky-add-to-cart__product
> span.woocommerce-Price-amount.amount {
    grid-column: 4;
    grid-row: 1;

    color: #e52c32 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    white-space: nowrap;
}

body.single-product .sticky-add-to-cart__product
> span.woocommerce-Price-amount.amount::after {
    content: "(Đã bao gồm VAT)";

    display: inline-block;
    margin-left: 7px;

    color: #999999 !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    white-space: nowrap;
}

/* ==========================================
   8. NUT MUA NGAY
========================================== */

body.single-product .sticky-add-to-cart__product
> a.sticky-add-to-cart-select-options-button {
    display: flex !important;

    grid-column: 5;
    grid-row: 1;

    align-items: center !important;
    justify-content: center !important;

    width: 145px !important;
    min-width: 0 !important;
    max-width: 100% !important;

    min-height: 46px !important;

    margin: 0 !important;
    padding: 10px 16px !important;

    background: #dd9933 !important;
    border: 1px solid #dd9933 !important;
    border-radius: 9px !important;

    color: #ffffff !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    white-space: nowrap !important;

    float: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;

    transition: background-color 0.25s ease,
                transform 0.25s ease;
}

body.single-product .sticky-add-to-cart__product
> a.sticky-add-to-cart-select-options-button span {
    color: #ffffff !important;
    font-size: inherit !important;
    font-weight: 700 !important;
}

/* ==========================================
   9. HOVER PC
========================================== */

@media (min-width: 850px) and (hover: hover) {

    body.single-product .sticky-add-to-cart__product
    > a.sticky-add-to-cart-select-options-button:hover {
        background: #bd7e20 !important;
        border-color: #bd7e20 !important;

        transform: translateY(-2px);
        box-shadow: 0 4px 12px
            rgba(221,153,51,0.20) !important;
    }
}

/* ==========================================
   10. PC MAN HINH VUA
========================================== */

@media (min-width: 850px) and (max-width: 1100px) {

    body.single-product .sticky-add-to-cart__product {
        grid-template-columns: 48px minmax(0,1fr) auto auto 125px;
        column-gap: 10px;
    }

    body.single-product .sticky-add-to-cart__product
    > img.sticky-add-to-cart-img {
        width: 48px !important;
        height: 48px !important;
    }

    body.single-product .sticky-add-to-cart
    .product-title-small strong {
        font-size: 13px !important;
    }

    body.single-product .sticky-add-to-cart__product
    > ins {
        font-size: 15px !important;
    }

    body.single-product .sticky-add-to-cart__product
    > ins::after {
        display: block;
        margin: 3px 0 0;
    }

    body.single-product .sticky-add-to-cart__product
    > a.sticky-add-to-cart-select-options-button {
        width: 125px !important;
        font-size: 12px !important;
    }
}

/* ==========================================
   11. TABLET + MOBILE
   Thumbnail / Gia goc / Sale + VAT / Button
========================================== */

@media (max-width: 849px) {

    /* Khung day du chieu ngang */

    body.single-product .sticky-add-to-cart-wrapper {
        left: 0 !important;
        right: 0 !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    body.single-product .sticky-add-to-cart {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    /* 3 cot va 2 hang */

    body.single-product .sticky-add-to-cart__product {
        display: grid !important;

        grid-template-columns:44px minmax(0,1fr) 108px;

        grid-template-rows: auto auto;

        column-gap: 9px;
        row-gap: 2px;

        align-items: center !important;
        justify-content: stretch !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        min-height: 70px;

        margin: 0 !important;
        padding: 9px 12px !important;

        box-sizing: border-box !important;
    }

    /* Anh thumbnail ben trai */

    body.single-product .sticky-add-to-cart__product
    > img.sticky-add-to-cart-img {
        display: block !important;

        grid-column: 1;
        grid-row: 1 / 3;

        width: 44px !important;
        height: 48px !important;
        max-width: 44px !important;

        margin: 0 !important;
        padding: 0 !important;

        object-fit: cover;
        border-radius: 6px;
    }

    /* An ten san pham */

    body.single-product .sticky-add-to-cart
    .product-title-small {
        display: none !important;
    }

    /* Gia goc hang tren */

    body.single-product .sticky-add-to-cart__product
    > del {
        display: block !important;

        grid-column: 2;
        grid-row: 1;

        align-self: end;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 11px !important;
        font-weight: 400 !important;
        line-height: 1.3 !important;

        color: #999999 !important;
        white-space: nowrap;
    }

    /* Gia Sale hang duoi */

    body.single-product .sticky-add-to-cart__product
    > ins {
        display: flex !important;

        grid-column: 2;
        grid-row: 2;

        align-items: center !important;
        align-self: start !important;

        flex-wrap: nowrap !important;

        width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
        color: #e52c32 !important;

        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;

        white-space: normal !important;
        text-decoration: none !important;
    }

    /* Gia khong bi xuong dong */

    body.single-product .sticky-add-to-cart__product
    > ins .amount {
        display: inline-block;

        flex: 0 0 auto;

        color: inherit !important;
        font-size: inherit !important;
        font-weight: inherit !important;

        white-space: nowrap !important;
    }

    /* VAT nam ben phai gia */

    body.single-product .sticky-add-to-cart__product
    > ins::after {
        content: "(Đã bao gồm VAT)";

        display: block !important;

        flex: 1 1 auto;
        min-width: 0;

        margin: 0 0 0 5px !important;
        padding: 0 !important;

        color: #999999 !important;

        font-size: 9px !important;
        font-weight: 400 !important;
        line-height: 1.25 !important;

        white-space: normal !important;
        overflow-wrap: break-word;
        text-decoration: none !important;
    }

    /* Gia thuong khong khuyen mai */

    body.single-product .sticky-add-to-cart__product
    > span.woocommerce-Price-amount.amount {
        display: flex !important;

        grid-column: 2;
        grid-row: 1 / 3;

        align-items: center;

        min-width: 0;

        color: #e52c32 !important;
        font-size: 14px !important;
        font-weight: 700 !important;

        white-space: nowrap;
    }

    body.single-product .sticky-add-to-cart__product
    > span.woocommerce-Price-amount.amount::after {
        content: "(Đã bao gồm VAT)";

        display: inline-block;

        margin-left: 5px;

        color: #999999 !important;

        font-size: 9px !important;
        font-weight: 400 !important;
        line-height: 1.25 !important;

        white-space: normal;
    }

    /* Nut MUA NGAY ben phai */

    body.single-product .sticky-add-to-cart__product
    > a.sticky-add-to-cart-select-options-button {
        display: flex !important;

        grid-column: 3;
        grid-row: 1 / 3;

        align-items: center !important;
        justify-content: center !important;

        width: 108px !important;
        min-width: 0 !important;
        max-width: 108px !important;

        min-height: 44px !important;
        height: 44px !important;

        margin: 0 !important;
        padding: 9px 8px !important;

        background: #dd9933 !important;
        border: 1px solid #dd9933 !important;
        border-radius: 8px !important;

        color: #ffffff !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;

        white-space: nowrap !important;
        text-align: center !important;

        float: none !important;

        box-sizing: border-box !important;
        box-shadow: none !important;
    }
}

/* ==========================================
   12. MOBILE NHO <= 360px
========================================== */

@media (max-width: 360px) {

    body.single-product .sticky-add-to-cart__product {
        grid-template-columns:36px minmax(0,1fr) 90px;
        column-gap: 6px;
        padding: 8px 9px !important;
        min-height: 64px;
    }

    body.single-product .sticky-add-to-cart__product
    > img.sticky-add-to-cart-img {
        width: 36px !important;
        height: 42px !important;
        max-width: 36px !important;
    }

    body.single-product .sticky-add-to-cart__product
    > del {
        font-size: 10px !important;
    }

    body.single-product .sticky-add-to-cart__product
    > ins,
    body.single-product .sticky-add-to-cart__product
    > span.woocommerce-Price-amount.amount {
        font-size: 12px !important;
    }

    body.single-product .sticky-add-to-cart__product
    > ins::after,
    body.single-product .sticky-add-to-cart__product
    > span.woocommerce-Price-amount.amount::after {
        font-size: 8px !important;
        margin-left: 3px !important;
    }

    body.single-product .sticky-add-to-cart__product
    > a.sticky-add-to-cart-select-options-button {
        width: 90px !important;
        max-width: 90px !important;

        min-height: 42px !important;
        height: 42px !important;

        padding: 8px 5px !important;
        font-size: 11px !important;
    }
}

/* ==========================================
   13. REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

    body.single-product .sticky-add-to-cart__product
    > a.sticky-add-to-cart-select-options-button {
        transition: none !important;
        transform: none !important;
    }
}


/* =====================================
   COMBO - PRODUCT TABS
   Bo gach tren, giu gach duoi
===================================== */

/* Xoa duong vien tren cua thanh Tab */
.single-product .woocommerce-tabs ul.tabs {
    border-top: none !important;
}

/* Xoa gach vang phia tren do Flatsome tao */
.single-product .woocommerce-tabs ul.tabs li a::before,
.single-product .woocommerce-tabs .nav-line-bottom li a::before {
    content: none !important;
    display: none !important;
}

/* Chi giu gach vang duoi Tab dang chon */
.single-product .woocommerce-tabs ul.tabs li.active a::after {
    content: "" !important;
    display: block !important;
    position: absolute;
    left: 0;
    bottom: -11px;
    width: 100%;
    height: 3px;
    background: #dd9933;
    border-radius: 3px;
}

/* Mobile */
@media (max-width: 849px) {
    .single-product .woocommerce-tabs ul.tabs li.active a::after {
        bottom: -9px;
        height: 2px;
    }
}

/* ==========================================
   COMBO - PRODUCT TABS
   Flatsome + WooCommerce
========================================== */

/* Khung tổng */
.single-product .woocommerce-tabs {
    margin-top: 28px;
}

/* Thanh tab */
.single-product .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

    list-style: none;
    margin: 0 0 20px !important;
    padding: 0 0 10px !important;

    border-bottom: 1px solid #e8e1d8;
}

/* Ẩn scrollbar */
.single-product .woocommerce-tabs ul.tabs::-webkit-scrollbar {
    display: none;
}

/* Từng tab */
.single-product .woocommerce-tabs ul.tabs li {
    margin: 0 26px 0 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    list-style: none !important;
}

/* Link tab */
.single-product .woocommerce-tabs ul.tabs li a {
    position: relative;
    display: inline-block;
    padding: 0 0 10px !important;

    color: #7a726b !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    background: transparent !important;
}

/* Hover */
.single-product .woocommerce-tabs ul.tabs li a:hover {
    color: #dd9933 !important;
}

/* Tab active */
.single-product .woocommerce-tabs ul.tabs li.active a {
    color: #3f3a36 !important;
}

.single-product .woocommerce-tabs ul.tabs li.active a:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -11px;
    width: 100%;
    height: 3px;
    background: #dd9933;
    border-radius: 3px;
}

/* Nội dung từng panel */
.single-product .woocommerce-tabs .panel {
    position: relative;
    background: #faf9f7;
    border: 1px solid #eae4dc;
    border-radius: 14px;
    padding: 24px 28px;
    margin: 0 0 22px !important;

    color: #5f5851;
    font-size: 16px;
    line-height: 1.8;
    box-sizing: border-box;
}

/* Ẩn tiêu đề mặc định bên trong panel nếu WooCommerce sinh ra */
.single-product .woocommerce-tabs .panel > h2:first-child {
    display: none;
}

/* Tiêu đề trong nội dung mô tả */
.single-product .woocommerce-tabs .panel h1,
.single-product .woocommerce-tabs .panel h2,
.single-product .woocommerce-tabs .panel h3,
.single-product .woocommerce-tabs .panel h4 {
    color: #3f3a36;
    line-height: 1.4;
    margin: 0 0 14px;
    font-weight: 700;
}

/* Đoạn mô tả */
.single-product .woocommerce-tabs .panel p {
    margin: 0 0 18px;
}

/* Danh sách bullet */
.single-product .woocommerce-tabs .panel ul,
.single-product .woocommerce-tabs .panel ol {
    margin: 0 0 18px 22px;
    padding: 0;
}

.single-product .woocommerce-tabs .panel li {
    margin-bottom: 10px;
}

/* Bảng thông tin bổ sung */
.single-product .woocommerce-tabs table.shop_attributes {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: #fff;
    border: 1px solid #ece5dd;
    border-radius: 10px;
    overflow: hidden;
}

.single-product .woocommerce-tabs table.shop_attributes th,
.single-product .woocommerce-tabs table.shop_attributes td {
    padding: 12px 14px;
    border-bottom: 1px solid #efe9e3;
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
}

.single-product .woocommerce-tabs table.shop_attributes th {
    width: 180px;
    color: #4c433d;
    font-weight: 700;
    background: #fcfbf9;
}

.single-product .woocommerce-tabs table.shop_attributes td {
    color: #6a615a;
}

.single-product .woocommerce-tabs table.shop_attributes tr:last-child th,
.single-product .woocommerce-tabs table.shop_attributes tr:last-child td {
    border-bottom: none;
}

/* Khu đánh giá */
.single-product #reviews {
    font-size: 15px;
    line-height: 1.7;
}

/* ==========================================
   COMBO - DESCRIPTION TOGGLE
========================================== */

/* Khu nội dung cần thu gọn */
.single-product .combo-desc-box {
    overflow: hidden;
    transition: max-height 0.35s ease;
}

/* Lớp fade ở cuối */
.single-product .combo-desc-fade {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 62px;
    height: 90px;
    background: linear-gradient(to bottom, rgba(250,249,247,0), rgba(250,249,247,1));
    pointer-events: none;
}

/* Nút xem thêm / thu gọn */
.single-product .combo-desc-actions {
    text-align: center;
    margin-top: 14px;
}

.single-product .combo-desc-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 140px;
    padding: 10px 18px !important;

    background: #dd9933 !important;
    border: 1px solid #dd9933 !important;
    border-radius: 999px !important;
    color: #fff !important;

    font-size: 13px !important;
    font-weight: 700;
    line-height: 1.4;
    text-transform: none !important;
    text-decoration: none !important;

    cursor: pointer;
    transition: all 0.25s ease;
}

.single-product .combo-desc-toggle:hover {
    background: #c88623 !important;
    border-color: #c88623 !important;
    color: #fff !important;
}

/* ==========================================
   MOBILE
========================================== */
@media (max-width: 849px) {

    .single-product .woocommerce-tabs ul.tabs {
        margin-bottom: 16px !important;
        padding-bottom: 8px !important;
    }

    .single-product .woocommerce-tabs ul.tabs li {
        margin-right: 18px !important;
    }

    .single-product .woocommerce-tabs ul.tabs li a {
        font-size: 13px;
        padding-bottom: 8px !important;
    }

    .single-product .woocommerce-tabs ul.tabs li.active a:after {
        bottom: -9px;
        height: 2px;
    }

    .single-product .woocommerce-tabs .panel {
        padding: 18px 16px;
        border-radius: 12px;
        font-size: 15px;
        line-height: 1.75;
    }

    .single-product .woocommerce-tabs table.shop_attributes th,
    .single-product .woocommerce-tabs table.shop_attributes td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .single-product .woocommerce-tabs table.shop_attributes th {
        width: 120px;
    }

    .single-product .combo-desc-fade {
        left: 16px;
        right: 16px;
        bottom: 58px;
        height: 80px;
    }

    .single-product .combo-desc-toggle {
        min-width: 128px;
        padding: 9px 16px !important;
        font-size: 12px !important;
    }
}
/* ==========================================
   COMBO - PRODUCT SHORT DESCRIPTION
   Flatsome + WooCommerce
   PC / Tablet / Mobile
   Flexbox - No CSS Grid
========================================== */

/* ======================================
   COMBO - SHORT DESCRIPTION TOGGLE
   PC + MOBILE
====================================== */

/* Khung mo ta */
.single-product .product-short-description,
.single-product .woocommerce-product-details__short-description {
    position: relative;
}

/* Chua noi dung mo ta */
.single-product .combo-short-body {
    width: 100%;
}

/* An noi dung khi thu gon */
.single-product .combo-short-body[hidden] {
    display: none !important;
}

/* Nut Thu gon / Xem chi tiet */
.single-product .combo-short-toggle {
    position: absolute;

    top: 20px;
    right: 18px;

    display: inline-block;
    width: auto !important;
    min-width: 0;
    min-height: 0;

    margin: 0 !important;
    padding: 4px 0 4px 8px !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    color: #b57b29 !important;

    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;

    text-transform: none !important;
    letter-spacing: 0;

    cursor: pointer;
    z-index: 2;
}

/* Mui ten chi len khi dang mo */
.single-product .combo-short-toggle::after {
    content: "";
    display: inline-block;

    width: 7px;
    height: 7px;

    margin-left: 8px;

    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;

    transform: translateY(2px) rotate(225deg);
    transition: transform 0.2s ease;
}

/* Mui ten chi xuong khi thu gon */
.single-product .combo-collapsed
.combo-short-toggle::after {
    transform: translateY(-2px) rotate(45deg);
}

/* Mau khi hover */
@media (hover: hover) and (pointer: fine) {
    .single-product .combo-short-toggle:hover {
        color: #dd9933 !important;
        background: transparent !important;
        text-decoration: underline;
    }
}

/* Ho tro ban phim */
.single-product .combo-short-toggle:focus-visible {
    outline: 2px solid #dd9933;
    outline-offset: 4px;
    border-radius: 3px;
}

/* Danh khoang trong cho nut ben phai */
.single-product .product-short-description::before,
.single-product .woocommerce-product-details__short-description::before {
    padding-right: 100px;
}

/* Neu co Hotline duoc them bang CSS,
   an khi phan thong tin thu gon */
.single-product .product-short-description.combo-collapsed::after,
.single-product .woocommerce-product-details__short-description.combo-collapsed::after {
    display: none !important;
}

/* ======================================
   MOBILE
====================================== */

@media (max-width: 480px) {

    .single-product .combo-short-toggle {
        top: 16px;
        right: 14px;
        font-size: 11px !important;
    }

    .single-product .product-short-description::before,
    .single-product .woocommerce-product-details__short-description::before {
        padding-right: 85px;
        font-size: 12px;
    }
}

/* 1. Khung mo ta ngan */
.single-product .product-short-description,
.single-product .woocommerce-product-details__short-description {
    background: #faf9f7;
    border: 1px solid #eae4dc;
    border-radius: 12px;
    padding: 15px 18px !important;
    margin: 16px 0 20px !important;
    font-size: 14px;
    line-height: 1.55;
    color: #655b55;
    box-sizing: border-box;
}

/* 2. Tieu de tu dong */
.single-product .product-short-description::before,
.single-product .woocommerce-product-details__short-description::before {
    content: "THÔNG TIN NỔI BẬT";
    display: block;
    margin: 0 0 8px;
    padding: 0 0 12px 12px;
    border-bottom: 1px solid #eae4dc;
    border-left: 3px solid #dd9933;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #4e4139;
}

/* 3. Xoa dinh dang danh sach mac dinh */
.single-product .product-short-description ul,
.single-product .woocommerce-product-details__short-description ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 4. Moi thong so thanh mot hang */
.single-product .product-short-description ul > li,
.single-product .woocommerce-product-details__short-description ul > li {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;

    margin: 0 !important;
    padding: 10px 0 !important;

    border-bottom: 1px solid #ece7e1;

    list-style: none !important;
    font-size: 14px;
    line-height: 1.55;
    color: #67605b;
}

/* 5. Bo duong ke hang cuoi */
.single-product .product-short-description ul > li:last-child,
.single-product .woocommerce-product-details__short-description ul > li:last-child {
    border-bottom: none;
    padding-bottom: 2px !important;
}

/* 6. Ten thong so ben trai */
.single-product .product-short-description li > strong,
.single-product .woocommerce-product-details__short-description li > strong,
.single-product .product-short-description li > b,
.single-product .woocommerce-product-details__short-description li > b {
    display: block;

    flex: 0 0 120px;
    width: 120px;
    max-width: 120px;

    margin: 0 12px 0 0;
    padding: 0;

    color: #59483d;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
    box-sizing: border-box;
}

/* 7. Dam bao noi dung dai khong tran */
.single-product .product-short-description ul > li,
.single-product .woocommerce-product-details__short-description ul > li {
    overflow-wrap: break-word;
}

/* 8. Doan van ban thong thuong */
.single-product .product-short-description > p,
.single-product .woocommerce-product-details__short-description > p {
    margin: 0 0 12px !important;
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================
   TABLET - 481px den 849px
========================================== */

@media (max-width: 849px) {

    .single-product .product-short-description,
    .single-product .woocommerce-product-details__short-description {
        padding: 13px 15px !important;
        margin: 14px 0 18px !important;
        border-radius: 10px;
    }

    .single-product .product-short-description ul > li,
    .single-product .woocommerce-product-details__short-description ul > li {
        padding: 8px 0 !important;
        font-size: 13px;
    }

    .single-product .product-short-description li > strong,
    .single-product .woocommerce-product-details__short-description li > strong,
    .single-product .product-short-description li > b,
    .single-product .woocommerce-product-details__short-description li > b {
        flex: 0 0 105px;
        width: 105px;
        max-width: 105px;
        margin-right: 8px;
        font-size: 13px;
    }
}

/* ==========================================
   MOBILE - Duoi 480px
========================================== */

@media (max-width: 480px) {

    .single-product .product-short-description,
    .single-product .woocommerce-product-details__short-description {
        padding: 12px 14px !important;
    }

    .single-product .product-short-description ul > li,
    .single-product .woocommerce-product-details__short-description ul > li {
        display: block;
        padding: 9px 0 !important;
        font-size: 13px;
        line-height: 1.6;
    }

    .single-product .product-short-description li > strong,
    .single-product .woocommerce-product-details__short-description li > strong,
    .single-product .product-short-description li > b,
    .single-product .woocommerce-product-details__short-description li > b {
        display: inline;
        width: auto;
        max-width: none;
        margin: 0 4px 0 0;
        font-size: 13px;
        font-weight: 700;
    }
}

/* =====================================
   COMBO - HOTLINE SHORT DESCRIPTION
===================================== */

.single-product .product-short-description::after,
.single-product .woocommerce-product-details__short-description::after {
    content: "Thiết kế theo yêu cầu liên hệ Hotline – Zalo: 0944 58 59 59";

    display: block;
    margin-top: 15px;
    padding: 14px 8px 2px;

    border-top: 1px solid #eae4dc;

    color: #a76b19;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
}

/* Mobile */
@media (max-width: 480px) {
    .single-product .product-short-description::after,
    .single-product .woocommerce-product-details__short-description::after {
        font-size: 12px;
        padding: 12px 0 2px;
    }
}





/* ====================================================
   COMBO LIVING - PURCHASE BUTTONS / FLATSOME
   Dung cho HTML thuc te: .single_add_to_cart_button
                          .ux-buy-now-button
   Khong can sua HTML/PHP; khong dung CSS Grid.
   Chi ap dung trang chi tiet; khong anh huong sticky bar.
==================================================== */

/* A. Khung dung hai nut (variable va simple products) */
body.single-product form.cart.variations_form .woocommerce-variation-add-to-cart,
body.single-product form.cart:not(.variations_form) {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    column-gap: 10px !important;
    row-gap: 6px !important;
    width: 100% !important;
}

/* B. O so luong o dong dau, giu nguyen kich thuoc gon */
body.single-product form.cart.variations_form .woocommerce-variation-add-to-cart > .quantity,
body.single-product form.cart:not(.variations_form) > .quantity {
    order: 1;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    float: none !important;
}

/* Ngat hang sau o so luong ma khong can them HTML */
body.single-product form.cart.variations_form .woocommerce-variation-add-to-cart::after,
body.single-product form.cart:not(.variations_form)::after {
    content: "";
    display: block;
    order: 2;
    flex: 0 0 100%;
    width: 100%;
    height: 0;
}

/* C. Hai nut cung kich thuoc va dong bo hinh dang */
body.single-product form.cart .woocommerce-variation-add-to-cart > button.single_add_to_cart_button,
body.single-product form.cart .woocommerce-variation-add-to-cart > button.ux-buy-now-button,
body.single-product form.cart:not(.variations_form) > button.single_add_to_cart_button,
body.single-product form.cart:not(.variations_form) > button.ux-buy-now-button {
    order: 3;
    display: inline-flex !important;
    flex: 1 1 0 !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 11px 12px !important;
    float: none !important;
    box-sizing: border-box !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    text-transform: uppercase !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: background-color .2s ease, color .2s ease,
                border-color .2s ease, box-shadow .2s ease,
                transform .2s ease;
}

/* D. Them gio hang - trang kem, vien vang */
body.single-product form.cart button.single_add_to_cart_button {
    background: #fffaf5 !important;
    color: #795226 !important;
    border-color: #dd9933 !important;
}

/* E. Mua ngay - den go, chu trang */
body.single-product form.cart button.ux-buy-now-button {
    background: #2f2a26 !important;
    color: #ffffff !important;
    border-color: #2f2a26 !important;
}

/* F. Icon SVG, duoc tao bang CSS - khong can Font Awesome */
body.single-product form.cart button.single_add_to_cart_button::before,
body.single-product form.cart button.ux-buy-now-button::before {
    content: "" !important;
    display: inline-block !important;
    flex: 0 0 19px !important;
    width: 19px !important;
    height: 19px !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: currentColor !important;
    background-repeat: no-repeat !important;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

body.single-product form.cart button.single_add_to_cart_button::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%279%27%20cy%3D%2720%27%20r%3D%271%27%20fill%3D%27black%27%2F%3E%3Ccircle%20cx%3D%2720%27%20cy%3D%2720%27%20r%3D%271%27%20fill%3D%27black%27%2F%3E%3Cpath%20d%3D%27M2%203h3l2.5%2011.5h11.8L22%207H6%27%2F%3E%3C%2Fsvg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%279%27%20cy%3D%2720%27%20r%3D%271%27%20fill%3D%27black%27%2F%3E%3Ccircle%20cx%3D%2720%27%20cy%3D%2720%27%20r%3D%271%27%20fill%3D%27black%27%2F%3E%3Cpath%20d%3D%27M2%203h3l2.5%2011.5h11.8L22%207H6%27%2F%3E%3C%2Fsvg%3E");
}

body.single-product form.cart button.ux-buy-now-button::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M13.4%202%204.5%2013.2h6l-1%208.8%2010-12.5h-6.1z%27%2F%3E%3C%2Fsvg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M13.4%202%204.5%2013.2h6l-1%208.8%2010-12.5h-6.1z%27%2F%3E%3C%2Fsvg%3E");
}

/* G. Hover chi tren thiet bi co chuot */
@media (hover: hover) and (pointer: fine) {
    body.single-product form.cart button.single_add_to_cart_button:not(:disabled):hover {
        background: #fff0d9 !important;
        color: #68451f !important;
        border-color: #c88725 !important;
        box-shadow: 0 5px 14px rgba(221,153,51,.14) !important;
        transform: translateY(-2px);
    }
    body.single-product form.cart button.ux-buy-now-button:not(:disabled):hover {
        background: #1f1b18 !important;
        border-color: #1f1b18 !important;
        box-shadow: 0 5px 14px rgba(47,42,38,.16) !important;
        transform: translateY(-2px);
    }
}

/* H. Chua chon bien the / disabled */
body.single-product form.cart .woocommerce-variation-add-to-cart-disabled > button.single_add_to_cart_button,
body.single-product form.cart .woocommerce-variation-add-to-cart-disabled > button.ux-buy-now-button,
body.single-product form.cart button.single_add_to_cart_button:disabled,
body.single-product form.cart button.ux-buy-now-button:disabled {
    opacity: .5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: none !important;
    box-shadow: none !important;
}

/* I. Focus khi dung ban phim */
body.single-product form.cart button.single_add_to_cart_button:focus-visible,
body.single-product form.cart button.ux-buy-now-button:focus-visible {
    outline: 2px solid #dd9933 !important;
    outline-offset: 3px;
}

/* J. Mobile - hai nut tren 1 hang, chu co the xuong 2 dong */
@media (max-width: 849px) {
    body.single-product form.cart .woocommerce-variation-add-to-cart > button.single_add_to_cart_button,
    body.single-product form.cart .woocommerce-variation-add-to-cart > button.ux-buy-now-button,
    body.single-product form.cart:not(.variations_form) > button.single_add_to_cart_button,
    body.single-product form.cart:not(.variations_form) > button.ux-buy-now-button {
        min-height: 54px !important;
        padding: 10px 8px !important;
        font-size: 12px !important;
        border-radius: 10px !important;
        gap: 6px !important;
    }
    body.single-product form.cart button.single_add_to_cart_button::before,
    body.single-product form.cart button.ux-buy-now-button::before {
        flex-basis: 16px !important;
        width: 16px !important;
        height: 16px !important;
    }
}

@media (max-width: 359px) {
    body.single-product form.cart .woocommerce-variation-add-to-cart > button.single_add_to_cart_button,
    body.single-product form.cart .woocommerce-variation-add-to-cart > button.ux-buy-now-button,
    body.single-product form.cart:not(.variations_form) > button.single_add_to_cart_button,
    body.single-product form.cart:not(.variations_form) > button.ux-buy-now-button {
        padding: 9px 5px !important;
        font-size: 11px !important;
        gap: 4px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.single-product form.cart button.single_add_to_cart_button,
    body.single-product form.cart button.ux-buy-now-button {
        transition: none !important;
        transform: none !important;
    }
}
