@charset "UTF-8";
/*
Theme Name: TonaGreen Levre Full Suite
Theme URI: https://tonadecor.vn
Author: TonaGreen Team
Description: Theme WordPress E-commerce thiết kế chuẩn theo mẫu Levre 1983 với màu sắc TonaGreen, hỗ trợ Hero Slider chậm trễ, Menu chuẩn thông thoáng, Khỏi Bán chạy nhất, Trang Sản phẩm WooCommerce & Trang Chi tiết Sản phẩm 2 cột.
Version: 20.0.0
Text Domain: tonagreen
*/

:root {
    --tg-primary: #1E3F20;
    /* Xanh lá đậm TonaGreen */
    --tg-secondary: #4A6B45;
    /* Xanh rêu màu */
    --tg-accent: #D4A359;
    /* Vàng mộc Ochre Levre */
    --tg-accent-hover: #B88942;
    --tg-bg-light: #F9F9F6;
    /* Trắng ngà nhẹ */
    --tg-card-bg: #EFECE6;
    /* Xám kem nhẹ */
    --tg-text-dark: #2B2B2B;
    --tg-border: #E0DDD6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--tg-text-dark);
    background-color: var(--tg-bg-light);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TOP BAR */
.top-bar {
    background: var(--tg-primary);
    color: #ffffff;
    font-size: 13px;
    text-align: center;
    padding: 8px 0;
    letter-spacing: 0.5px;
}

/* HEADER & NAVIGATION */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #7c825a;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.brand-logo {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.brand-logo span {
    color: #fff;
    font-weight: 400;
    font-size: 18px;
}

.main-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 28px;
    font-weight: 500;
    font-size: 14px;
    text-transform: none !important;
}

.main-menu ul li a {
    color: #333;
    padding: 6px 0;
    position: relative;
}

.main-menu ul li a:hover, .main-menu ul li.current-menu-item > a {
    color: var(--tg-primary);
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ffcb77;
}

.btn-zalo_TonaDecor {
    background: #1ecb1d;
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
}
.btn-zalo_TonaGreen {
    background: #008a56;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
 }

/* HERO SLIDER BANNER */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    margin: 30px 0 50px;
}

.hero-slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.hero-slide-item {
    min-width: 100%;
    box-sizing: border-box;
}

.levre-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    border-radius: 20px;
    padding: 50px;
}

@media (max-width: 992px) {
    .levre-hero-grid {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}

.levre-hero-content h1 {
    font-size: 40px;
    color: var(--tg-primary);
    line-height: 1.2;
    margin: 0 0 18px 0;
    font-weight: 700;
    text-transform: none;
}

.levre-hero-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 28px;
}

.btn-levre-gold {
    background: #059669;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(212, 163, 89, 0.35);
    transition: all 0.3s ease;
}

.btn-levre-gold:hover {
    background: var(--tg-accent-hover);
    transform: translateY(-2px);
}

.levre-hero-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 16px;
}

.slider-dots-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4be5b5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #4be5b5;
    width: 24px;
    border-radius: 10px;
}

.sec-title {
    text-align: center;
    margin: 50px 0 25px;
}

.sec-title h2 {
    font-size: 36px;
    color: var(--tg-primary);
    margin: 0;
    font-weight: 700;
    text-transform: none;
}

.center-btn-wrapper {
    text-align: center;
    margin: 30px 0 50px;
}

/* THẺ SẢN PHẨM */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 25px !important;
    padding: 0 !important;
    margin: 0 0 30px !important;
    list-style: none !important;
}

@media (max-width: 992px) {
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

ul.products::before, ul.products::after {
    display: none !important;
}

ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 0 0 20px 0 !important;
    text-align: left !important;
    border: 1px solid var(--tg-border) !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease !important;
}

ul.products li.product:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.06) !important;
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    height: 270px;
    overflow: hidden;
    background: #f4f4f4;
}

.product-img-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
}

ul.products li.product:hover .product-img-wrapper img {
    transform: scale(1.04);
}

.product-info-box {
    padding: 15px 15px 0;
}

ul.products li.product .woocommerce-loop-product__title {
    color: var(--tg-text-dark) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin: 0 0 6px 0 !important;
    text-transform: none !important;
}

ul.products li.product .price {
    color: #ff6100d9 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
}

ul.products li.product .price del {
    color: #999;
    font-weight: 400;
    margin-left: 5px;
}

.stock-status-text {
    font-size: 12px;
    color: var(--tg-secondary);
    font-weight: 600;
}

ul.products li.product .button, ul.products li.product a.add_to_cart_button {
    display: none !important;
}

/* TRANG SHOP */
.shop-page-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 35px;
    margin: 40px 0 60px;
}

@media (max-width: 992px) {
    .shop-page-wrapper {
        grid-template-columns: 1fr;
    }
}

.shop-sidebar {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--tg-border);
    height: fit-content;
}

.shop-sidebar h3 {
    font-size: 17px;
    color: var(--tg-primary);
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--tg-border);
}

.shop-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.shop-sidebar ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
}

.shop-sidebar ul li a:hover {
    color: var(--tg-accent);
}

.breadcrumb-nav {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.breadcrumb-nav a {
    color: var(--tg-primary);
    font-weight: 500;
}

/* TRANG CHI TIẾT SẢN PHẨM */
.single-product-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    margin: 40px 0 70px;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--tg-border);
}

@media (max-width: 992px) {
    .single-product-container {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

.product-gallery-main {
    width: 100%;
    height: 550px;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 15px;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-product-summary h1 {
    font-size: 32px;
    color: var(--tg-primary);
    margin: 0 0 10px 0;
    font-weight: 700;
    text-transform: none;
}

.single-price {
    font-size: 24px;
    color: var(--tg-accent);
    font-weight: 700;
    margin-bottom: 15px;
}

.single-price del {
    color: #888;
    font-size: 18px;
    margin-left: 10px;
    font-weight: 400;
}

.product-meta-item {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.single-add-to-cart-box {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.single-add-to-cart-box input[type="number"] {
    width: 60px;
    padding: 10px;
    border: 1px solid var(--tg-border);
    border-radius: 8px;
    text-align: center;
}

.btn-single-add {
    background: var(--tg-accent);
    color: #ffffff;
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 13px;
}

.btn-single-add:hover {
    background: var(--tg-accent-hover);
}

/* FOOTER */
.site-footer {
    background: var(--tg-primary);
    color: #d1dfd4;
    padding: 60px 0 30px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 17px;
    margin: 0 0 20px 0;
    text-transform: none;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #d1dfd4;
}

.footer-col ul li a:hover {
    color: var(--tg-accent);
}

/* CUSTOM CART PAGE STYLES */
.cart-product-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.woocommerce-cart .quantity {
    display: inline-flex;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.woocommerce-cart .quantity input.qty {
    width: 45px;
    height: 36px;
    border: none;
    text-align: center;
    font-size: 14px;
    outline: none;
    color: #333;
}

.btn-continue-shopping:hover, .btn-proceed-checkout:hover {
    background: #dfb29d !important;
    transition: all 0.3s ease;
}

.woocommerce-message, .woocommerce-info, .woocommerce-error {
    display: none !important;
}

.woocommerce-cart .entry-title {
    display: none;
}

/* CHECKOUT PAGE STYLES */
.checkout-flex-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.checkout-col-left {
    flex: 1.2;
}

.checkout-col-right {
    flex: 0.8;
}

.checkout-card-box {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.checkout-sec-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-checkout .form-row input.input-text, .woocommerce-checkout .form-row select, .woocommerce-checkout .form-row textarea {
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    outline: none !important;
    width: 100%;
}

.woocommerce-checkout .form-row input.input-text:focus {
    border-color: #1E5631 !important;
}

.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.woocommerce-checkout-review-order-table td, .woocommerce-checkout-review-order-table th {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}

.woocommerce-checkout-review-order-table .order-total td, .woocommerce-checkout-review-order-table .order-total th {
    font-weight: bold;
    color: #d97762;
    font-size: 18px;
}

#place_order {
    background-color: #2b80be !important;
    color: #ffffff !important;
    width: 100% !important;
    padding: 14px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#place_order:hover {
    background-color: #1e6498 !important;
}

/* RESPONSIVE CHO GIỎ HÀNG & THANH TOÁN */
.custom-cart-container, .custom-checkout-container, .woocommerce-checkout {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.woocommerce-cart-form {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 992px) {
    .checkout-flex-layout, form.checkout {
        display: flex !important;
        gap: 30px !important;
        align-items: flex-start !important;
    }

    .checkout-col-left, .woocommerce-checkout .col-1, .woocommerce-billing-fields {
        flex: 1.2 !important;
        max-width: 100% !important;
    }

    .checkout-col-right, .woocommerce-checkout .col-2, #order_review, .order-summary-box {
        flex: 0.8 !important;
        max-width: 100% !important;
        position: sticky;
        top: 20px;
    }
}

@media (max-width: 991px) {
    .checkout-flex-layout, form.checkout {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    .checkout-col-left, .checkout-col-right, .woocommerce-checkout .col-1, .woocommerce-checkout .col-2 {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 767px) {
    .custom-cart-container, .custom-checkout-container {
        padding: 0 10px;
    }

    .checkout-card-box, #order_review {
        padding: 15px !important;
    }

    .woocommerce-cart-form table.shop_table_responsive thead {
        display: none;
    }

    .woocommerce-cart-form table.shop_table_responsive tr {
        display: block;
        border-bottom: 2px solid #eee;
        padding: 10px 0;
    }

    .woocommerce-cart-form table.shop_table_responsive td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0 !important;
        text-align: right;
        border: none !important;
    }

    .woocommerce-cart-form table.shop_table_responsive td.product-name {
        justify-content: flex-start;
        text-align: left;
    }

    .cart-collaterals-summary > div:last-child {
        flex-direction: column;
        gap: 10px !important;
    }

    .btn-continue-shopping, .btn-proceed-checkout {
        width: 100% !important;
        text-align: center;
        box-sizing: border-box;
    }
}

/* THANK YOU PAGE STYLES */
.woocommerce-order-details {
    margin-top: 0 !important;
}

.woocommerce-order-details__title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #2d3748 !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.woocommerce-table--order-details {
    width: 100% !important;
    border-collapse: collapse !important;
    border: none !important;
}

.woocommerce-table--order-details th, .woocommerce-table--order-details td {
    padding: 12px 0 !important;
    border-bottom: 1px solid #edf2f7 !important;
    font-size: 14px !important;
}

.woocommerce-table--order-details tfoot th {
    font-weight: 500 !important;
    color: #4a5568 !important;
}

.woocommerce-table--order-details tfoot td {
    font-weight: 600 !important;
    text-align: right !important;
}

.woocommerce-table--order-details tfoot tr:last-child th, .woocommerce-table--order-details tfoot tr:last-child td {
    font-size: 16px !important;
    color: #d97762 !important;
    border-bottom: none !important;
}

/* ==========================================================================
   POPUP MODAL CHUẨN (KHÔNG BỊ XUNG ĐỘT)
   ========================================================================== */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999 !important;
}

.custom-modal.is-active {
    display: block !important;
}

.custom-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6) !important;
}

.custom-modal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #2D2D2D !important;
    padding: 30px 25px !important;
    border-radius: 10px !important;
    text-align: center !important;
    width: 380px !important;
    max-width: 90% !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    box-sizing: border-box;
}

.custom-modal .modal-icon-wrap {
    margin-bottom: 15px;
}

.custom-modal .modal-icon-circle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 60px !important;
    height: 60px !important;
    border: 3px solid #18C7A3 !important;
    border-radius: 50% !important;
    color: #18C7A3 !important;
    font-size: 30px !important;
    margin: 0 auto 15px !important;
}

.custom-modal .modal-title {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    margin-bottom: 20px !important;
}

.custom-modal .modal-actions {
    display: flex !important;
    gap: 12px !important;
    justify-content: center !important;
}

.custom-modal .btn-buy-more {
    background: #ffffff !important;
    color: #18C7A3 !important;
    border: 1px solid #18C7A3 !important;
    padding: 10px 18px !important;
    border-radius: 5px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    flex: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.2s ease !important;
}

.custom-modal .btn-go-cart {
    background: #18C7A3 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 18px !important;
    border-radius: 5px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    flex: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.2s ease !important;
}

.custom-modal .btn-buy-more:hover {
    background: #f0fdf4 !important;
}

.custom-modal .btn-go-cart:hover {
    background: #14b292 !important;
}

/* ==========================================================================
   SỬA LẠI TRANG THANH TOÁN (CHECKOUT FIX)
   ========================================================================== */
/* 1. KHUNG GIAO DIỆN THANH TOÁN */
.custom-checkout-wrapper, .woocommerce-checkout {
    max-width: 100% !important;
    width: 100% !important;
    margin: 30px auto !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    float: none !important;
    clear: both !important;
}

/* 2. CHIA 2 CỘT BẰNG GRID TÁCH BIỆT */
.tg-checkout-grid {
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr !important;
    gap: 30px !important;
    align-items: start !important;
    width: 100% !important;
}

/* 3. TẠO KHUNG BỌC TRẮNG CHO CẢ 2 CỘT */
.tg-card-box {
    background: #ffffff !important;
    border: 1px solid #e0ddd6 !important;
    border-radius: 12px !important;
    padding: 25px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
    box-sizing: border-box !important;
}

.tg-checkout-right {
    position: sticky;
    top: 20px;
}

/* 4. TRIỆT HẠ CÁC CLASS LÀM XUNG ĐỘT DÙNG FLOAT */
.woocommerce-checkout .col2-set, .woocommerce-checkout .col-1, .woocommerce-checkout .col-2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 5. RESPONSIVE MOBILE & TABLET */
@media (max-width: 991px) {
    .tg-checkout-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .tg-checkout-right {
        position: static !important;
    }
}

/* Giải phóng khung chứa trang thanh toán */
.tg-checkout-page-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 0;
    box-sizing: border-box;
}

/* Chỉ thu gọn khung chứa giỏ hàng */
.custom-checkout-wrapper {
    max-width: 1150px !important;
    margin: 0 auto !important;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Ép Header và Footer luôn tràn full màn hình */
header, footer, .site-header, .site-footer {
    width: 100% !important;
    max-width: 100% !important;
}

/* Ẩn nút Cập nhật giỏ hàng thủ công */
button[name="update_cart"] {
    display: none !important;
}

/* ==========================================================================
   STYLE KHUNG TABS (MÔ TẢ & BÌNH LUẬN) + SẢN PHẨM LIÊN QUAN (CLEAN CODE)
   ========================================================================== */
/* 1. Khung bao toàn bộ phần mô tả bên dưới */
.product-bottom-section {
    max-width: 1200px;
    margin: 40px auto 60px;
    padding: 0 20px;
    box-sizing: border-box;
}

.product-tabs-wrapper {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

/* 2. Thanh tiêu đề Tab (Xóa dấu chấm ul, căn giữa, gạch ngang xám dưới chân) */
.product-tab-headers {
    display: flex !important;
    justify-content: center !important;
    /* Căn giữa 2 tab (đổi flex-start nếu muốn căn trái) */
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
    border-bottom: 1px solid #e0e0e0 !important;
    /* Đường gạch ngang dài xám */
    gap: 10px;
}

/* 3. Style các nút Tab thông thường */
.product-tab-headers .tab-item {
    padding: 10px 35px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #666666 !important;
    cursor: pointer !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-bottom: none !important;
    border-top-left-radius: 12px !important;
    /* Bo góc trên trái */
    border-top-right-radius: 12px !important;
    /* Bo góc trên phải */
    position: relative !important;
    bottom: -1px !important;
    /* Đè lên đường gạch ngang dưới */
    transition: all 0.2s ease-in-out !important;
}

/* 4. Style Tab đang kích hoạt (ACTIVE) */
.product-tab-headers .tab-item.active {
    color: #2b2b2b !important;
    background: #ffffff !important;
    border-color: #e0e0e0 !important;
    /* Khung viền xám bao quanh */
    border-bottom: 2px solid #ffffff !important;
    /* Che đường gạch ngang bên dưới */
}

/* Gạch chân màu cam/vàng dưới tab active (giống hình mẫu) */
.product-tab-headers .tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 20%;
    width: 60%;
    height: 3px;
    background-color: var(--tg-accent, #D4A359);
    border-radius: 2px;
}

/* Hiệu ứng khi di chuột qua tab */
.product-tab-headers .tab-item:hover:not(.active) {
    color: var(--tg-primary, #1E3F20) !important;
}

/* 5. Nội dung Mô tả & Hình ảnh bên trong */
.tab-content-container .tab-pane {
    display: none;
}

.tab-content-container .tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.product-description-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 6. Phần Sản phẩm liên quan */
.related-products-wrapper {
    margin-top: 40px;
}

.related-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--tg-primary, #1E3F20);
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.related-products-wrapper section.related {
    background: transparent;
}

.related-products-wrapper h2 {
    display: none !important;
    /* Ẩn h2 mặc định WooCommerce */
}