/*
Theme Name: GeneratePress Child - MayXong247 Style
Template: generatepress
Version: 1.1.0
*/

:root {
    --primary-color: #2e7d32;
    --primary-dark: #1b5e20;
    --accent-red: #d32f2f;
    --text-color: #2d3748;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --bg-light: #f7fafc;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    background-color: #f8faf9;
}

.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px;
}

/* === TOP BAR & HEADER CAM KẾT === */
.top-notice-bar {
    background: var(--primary-dark);
    color: #fff;
    font-size: 13px;
    padding: 6px 0;
    text-align: center;
}

/* === BANNER HERO + CAM KẾT === */
.hero-slider-wrap {
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
}
.hero-slider-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.service-commitments {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    background: #fff;
    padding: 20px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    margin-bottom: 30px;
}
.commit-box {
    display: flex;
    align-items: center;
    gap: 12px;
}
.commit-box .icon {
    width: 38px;
    height: 38px;
    background: #e8f5e9;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.commit-box .icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
.commit-box h4 {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 2px 0;
    text-transform: uppercase;
}
.commit-box span {
    font-size: 12px;
    color: var(--text-muted);
}

/* === SECTION TIÊU ĐỀ KHỐI === */
.block-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
    margin-bottom: 20px;
}
.block-heading h2 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 0;
    position: relative;
}
.block-heading a.view-more {
    font-size: 13px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* === DANH MỤC DẠNG PILLS TRÒN === */
.category-pills {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 25px;
}
.pill-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
}
.pill-item:hover, .pill-item.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* === LƯỚI SẢN PHẨM WOOCOMMERCE KIỂU 247 === */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
    margin: 0 0 35px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
ul.products::before, ul.products::after {
    display: none !important;
}

li.product {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px !important;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
    width: 100% !important;
    margin: 0 !important;
    transition: all 0.25s ease;
}
li.product:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #cbd5e0;
}

li.product a img {
    border-radius: 6px;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    margin-bottom: 10px !important;
}

li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a202c;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 8px !important;
}

li.product .price {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--accent-red) !important;
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px !important;
}
li.product .price del {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

/* Nút Mua hàng bo tròn */
li.product .button.add_to_cart_button {
    margin-top: auto !important;
    background: #e8f5e9 !important;
    color: var(--primary-color) !important;
    border: 1px solid #c8e6c9 !important;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    padding: 8px 12px;
    transition: all 0.2s;
}
li.product .button.add_to_cart_button:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
}

/* Badge giảm giá góc ảnh */
.custom-onsale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    z-index: 2;
}

/* === BANNER PROMO ĐÔI === */
.promo-double-banners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}
.promo-double-banners img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

/* Responsive */
@media (max-width: 900px) {
    ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 600px) {
    .service-commitments {
        grid-template-columns: repeat(2, 1fr);
    }
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .promo-double-banners {
        grid-template-columns: 1fr;
    }
}
/* Hiệu ứng hover đổi ảnh sản phẩm */
ul.products li.product .woocommerce-loop-product__link {
    position: relative;
    display: block;
    overflow: hidden;
}

ul.products li.product .secondary-product-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease-in-out, transform 0.35s ease-in-out;
    z-index: 2;
}

ul.products li.product:hover .secondary-product-thumb {
    opacity: 1;
    visibility: visible;
}

ul.products li.product:hover img:not(.secondary-product-thumb) {
    transform: scale(1.03);
    transition: transform 0.35s ease-in-out;
}

/* Wrapper chứa cả 2 ảnh */
.tp-product-thumbnail-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
}

.tp-product-thumbnail-wrap img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.35s ease-in-out, transform 0.35s ease-in-out;
}

.tp-product-thumbnail-wrap .secondary-product-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    z-index: 2;
}

li.product:hover .tp-product-thumbnail-wrap .secondary-product-thumb {
    opacity: 1;
    visibility: visible;
}

/* Xóa gạch chân thẻ link trên card sản phẩm */
ul.products li.product a,
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .star-rating,
ul.products li.product a:hover {
    text-decoration: none !important;
}

/* Ẩn dòng chữ 'Xem giỏ hàng' mờ nhạt mặc định sinh ra sau nút mua */
ul.products li.product .added_to_cart {
    display: none !important;
}

/* Popup thông báo thêm giỏ hàng thành công */
.tp-cart-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease-in-out;
}

.tp-cart-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.tp-cart-popup-box {
    background: #ffffff;
    width: 90%;
    max-width: 420px;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    transition: transform 0.25s ease-in-out;
}

.tp-cart-popup-overlay.active .tp-cart-popup-box {
    transform: translateY(0);
}

.tp-cart-popup-box .popup-icon {
    width: 52px;
    height: 52px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.tp-cart-popup-box .popup-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.tp-cart-popup-box h3 {
    font-size: 19px;
    margin: 0 0 10px;
    color: #333;
}

.tp-cart-popup-box p {
    font-size: 14.5px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 22px;
}

.tp-cart-popup-actions {
    display: flex;
    gap: 12px;
}

.tp-cart-popup-actions button,
.tp-cart-popup-actions a {
    flex: 1;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none !important;
    text-align: center;
    box-sizing: border-box;
    transition: 0.2s;
}

.tp-btn-continue {
    background: #f1f3f5;
    color: #495057;
    border: 1px solid #ced4da;
}

.tp-btn-continue:hover {
    background: #e9ecef;
}

.tp-btn-checkout {
    background: #1b5e20;
    color: #ffffff !important;
    border: 1px solid #1b5e20;
}

.tp-btn-checkout:hover {
    background: #2e7d32;
}

/* Ẩn text đánh giá dạng chữ thô */
ul.products li.product .star-rating {
    overflow: hidden;
    position: relative;
    height: 1.2em;
    line-height: 1.2em;
    font-size: 14px;
    width: 5.4em;
    font-family: star !important;
    display: inline-block;
    color: #ffb800 !important; /* Màu vàng sao */
    letter-spacing: 2px;
}

/* Hiển thị 5 ngôi sao */
ul.products li.product .star-rating::before {
    content: "★★★★★";
    position: absolute;
    top: 0;
    left: 0;
    color: #e0e0e0; /* Màu sao nền xám nếu chưa đủ 5 sao */
}

ul.products li.product .star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

ul.products li.product .star-rating span::before {
    content: "★★★★★";
    top: 0;
    position: absolute;
    left: 0;
    color: #ffb800 !important; /* 5 sao vàng */
}

/* Trường hợp WooCommerce in thẳng text ra ngoài thẻ star-rating */
ul.products li.product .woocommerce-product-rating {
    font-size: 0 !important;
}

ul.products li.product .woocommerce-product-rating .star-rating {
    font-size: 14px !important;
}

/* ============================================================
   1. HERO SLIDER
   ============================================================ */
.tp-hero-slider {
    position: relative;
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.tp-slides-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
}

.tp-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out;
}

.tp-slide.active {
    opacity: 1;
    visibility: visible;
}

.tp-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tp-slide-caption {
    position: absolute;
    bottom: 60px;
    left: 50px;
    max-width: 550px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    padding: 24px 30px;
    border-radius: 10px;
    color: #fff;
}

.tp-slide-caption h2 {
    font-size: 26px;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.3;
}

.tp-slide-caption p {
    font-size: 14.5px;
    color: #f1f1f1;
    margin-bottom: 18px;
    line-height: 1.5;
}

.tp-btn-slider {
    display: inline-block;
    background: #1b5e20;
    color: #fff !important;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: 0.2s;
}

.tp-btn-slider:hover {
    background: #2e7d32;
}

.tp-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tp-slider-btn:hover {
    background: rgba(0,0,0,0.7);
}

.tp-slider-btn.prev { left: 15px; }
.tp-slider-btn.next { right: 15px; }

.tp-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.tp-dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.tp-dot.active {
    background: #fff;
    width: 28px;
    border-radius: 6px;
}

/* ============================================================
   2. SECTION BLOG CARD
   ============================================================ */
.tp-home-blog-section {
    margin-top: 30px;
    margin-bottom: 30px;
}

.tp-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.tp-blog-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}

.tp-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.tp-blog-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.tp-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.tp-blog-card:hover .tp-blog-thumb img {
    transform: scale(1.05);
}

.tp-blog-date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(27, 94, 32, 0.85);
    color: #fff;
    padding: 3px 10px;
    font-size: 12px;
    border-radius: 4px;
    font-weight: 500;
}

.tp-blog-info {
    padding: 15px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tp-blog-info h3 {
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 10px;
}

.tp-blog-info h3 a {
    color: #222;
    text-decoration: none !important;
    transition: color 0.2s;
}

.tp-blog-info h3 a:hover {
    color: #1b5e20;
}

.tp-blog-info p {
    font-size: 13.5px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 14px;
    flex: 1;
}

.tp-blog-readmore {
    font-size: 13.5px;
    font-weight: 600;
    color: #1b5e20 !important;
    text-decoration: none !important;
}

/* ============================================================
   3. FOOTER CHUYÊN NGHIỆP
   ============================================================ */
.tp-custom-footer {
    background: #1e242b;
    color: #bbb;
    padding-top: 50px;
    margin-top: 50px;
    font-size: 14px;
}

.tp-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.tp-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid #2e353e;
}

.tp-footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 18px;
    position: relative;
    padding-bottom: 8px;
}

.tp-footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: #2e7d32;
}

.tp-footer-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: #9aa0a6;
    margin-bottom: 15px;
}

.tp-footer-cert {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cert-badge {
    background: #28313b;
    color: #81c784;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 500;
}

.tp-footer-links,
.tp-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tp-footer-links li,
.tp-footer-contact li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.tp-footer-links li a {
    color: #aaa;
    text-decoration: none !important;
    transition: color 0.2s, padding-left 0.2s;
}

.tp-footer-links li a:hover {
    color: #fff;
    padding-left: 4px;
}

.tp-footer-contact li strong {
    color: #eee;
}

.tp-footer-bottom {
    padding: 20px 0;
    text-align: center;
    color: #777;
    font-size: 13px;
}

/* Responsive Mobile */
@media (max-width: 991px) {
    .tp-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tp-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tp-slides-wrapper {
        height: 280px;
    }
    .tp-slide-caption {
        bottom: 25px;
        left: 20px;
        right: 20px;
        padding: 15px;
    }
    .tp-slide-caption h2 {
        font-size: 18px;
    }
    .tp-slide-caption p {
        display: none;
    }
    .tp-blog-grid {
        grid-template-columns: 1fr;
    }
    .tp-footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Khóa bố cục trang chủ và footer */
body.home .site-content {
    display: block !important;
    width: 100% !important;
}

body.home #primary {
    float: none !important;
    width: 100% !important;
    margin: 0 auto !important;
}

footer#colophon.tp-custom-footer {
    clear: both !important;
    width: 100% !important;
    float: none !important;
    display: block !important;
}

/* ============================================================
   HEADER NỀN TỐI SANG TRỌNG & STICKY
   ============================================================ */

/* Topbar */
.tp-topbar {
    background: #0f1317;
    color: #9aa0a6;
    font-size: 12.5px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.tp-topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tp-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tp-topbar-right .sep {
    color: #444;
}

.tp-topbar-right a {
    color: #81c784;
    text-decoration: none !important;
}

/* Header chính */
.tp-site-header {
    background: #181d24; /* Nền tối sang trọng */
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: all 0.3s ease-in-out;
}

/* Header khi Sticky cuộn trang */
.tp-site-header.is-sticky {
    background: rgba(20, 25, 31, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.tp-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: padding 0.3s ease;
}

.tp-site-header.is-sticky .tp-header-container {
    padding: 8px 15px; /* Thu gọn nhẹ khi cuộn */
}

/* Logo */
.tp-header-logo a {
    text-decoration: none !important;
    display: flex;
    align-items: center;
}

.tp-logo-img {
    max-height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
}

.tp-text-logo {
    display: flex;
    flex-direction: column;
}

.tp-text-logo .brand-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
}

.tp-text-logo .brand-tagline {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: #81c784; /* Xanh ngọc nhẹ */
    font-weight: 600;
}

/* Menu điều hướng */
.tp-main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.tp-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 24px;
}

.tp-nav-list li a {
    color: #e0e0e0;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none !important;
    position: relative;
    padding: 6px 0;
    transition: color 0.25s;
    letter-spacing: 0.2px;
}

.tp-nav-list li a:hover,
.tp-nav-list li a.active {
    color: #81c784;
}

.tp-nav-list li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #81c784;
    transition: width 0.25s ease;
}

.tp-nav-list li a:hover::after,
.tp-nav-list li a.active::after {
    width: 100%;
}

/* Search Box & Cart */
.tp-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tp-header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.tp-header-search input[type="search"] {
    background: #242b35;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 7px 35px 7px 15px;
    color: #fff;
    font-size: 13px;
    width: 160px;
    transition: all 0.3s;
    outline: none;
}

.tp-header-search input[type="search"]:focus {
    width: 210px;
    background: #2b3440;
    border-color: #81c784;
}

.tp-header-search button {
    position: absolute;
    right: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.tp-header-search button svg {
    width: 16px;
    height: 16px;
    fill: #9aa0a6;
    transition: fill 0.2s;
}

.tp-header-search button:hover svg {
    fill: #81c784;
}

/* Cart Icon */
.tp-header-cart {
    text-decoration: none !important;
}

.cart-icon-wrap {
    position: relative;
    background: #242b35;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.2s;
}

.cart-icon-wrap:hover {
    background: #2e7d32;
    border-color: #2e7d32;
}

.cart-icon-wrap svg {
    width: 19px;
    height: 19px;
    fill: #fff;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e53935;
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    line-height: 17px;
    border-radius: 10px;
    text-align: center;
    padding: 0 3px;
    box-sizing: border-box;
}

/* Ẩn header mặc định cũ của GeneratePress để không bị trùng */
header.site-header:not(#tpStickyHeader),
nav#site-navigation {
    display: none !important;
}

/* Responsive Mobile */
@media (max-width: 991px) {
    .tp-main-nav {
        display: none; /* Trên mobile sẽ có thể mở rộng menu toggle */
    }
    .tp-topbar {
        display: none;
    }
}

/* ============================================================
   RIGHT SIDEBAR CHUYỂN ĐỔI CAO (FLOATING CTA)
   ============================================================ */
.tp-conversion-sidebar {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tp-sidebar-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.tp-sidebar-item:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.tp-item-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
}

.tp-item-icon svg {
    width: 24px;
    height: 24px;
}

/* 1. Item Zalo */
.tp-item-zalo .tp-item-icon svg {
    width: 32px;
    height: 32px;
}

/* 2. Item Hotline với hiệu ứng lan tỏa (Pulse Wave) */
.tp-item-hotline {
    background: #e53935;
}

.tp-item-hotline .tp-item-icon svg {
    fill: #ffffff;
}

.tp-pulsing::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(229, 57, 53, 0.5);
    animation: tp-pulse-wave 1.8s infinite;
    z-index: -1;
}

@keyframes tp-pulse-wave {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* 3. Item Cart */
.tp-item-cart {
    background: #1b5e20;
}

.tp-item-cart .tp-item-icon svg {
    fill: #ffffff;
}

.tp-sidebar-cart-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #ffb800;
    color: #222;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 9px;
    text-align: center;
    padding: 0 4px;
    box-sizing: border-box;
}

/* 4. Item Back to top */
.tp-item-top {
    background: #2b3440;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tp-item-top.is-show {
    opacity: 1;
    visibility: visible;
}

.tp-item-top .tp-item-icon svg {
    fill: #ffffff;
}

/* Tooltip hiển thị chữ khi rê chuột */
.tp-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    background: rgba(24, 29, 36, 0.92);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tp-tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(24, 29, 36, 0.92);
}

.tp-sidebar-item:hover .tp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Tối ưu màn hình điện thoại */
@media (max-width: 600px) {
    .tp-conversion-sidebar {
        right: 14px;
        bottom: 20px;
        gap: 10px;
    }
    .tp-sidebar-item {
        width: 42px;
        height: 42px;
    }
    .tp-item-icon svg {
        width: 20px;
        height: 20px;
    }
    .tp-item-zalo .tp-item-icon svg {
        width: 28px;
        height: 28px;
    }
    .tp-tooltip {
        display: none; /* Trên màn hình cảm ứng ẩn tooltip */
    }
}

/* ============================================================
   BỐ CỤC CHUNG CHO CÁC TRANG CÓ SIDEBAR (BLOG, SHOP, SINGLE,...)
   ============================================================ */
body:not(.home) .site-content {
    display: flex !important;
    flex-wrap: wrap;
    max-width: 1200px !important;
    margin: 10px auto !important;
    padding: 0 15px !important;
    gap: 10px !important;
    box-sizing: border-box;
}

body:not(.home) #primary {
    flex: 1 1 calc(72% - 10px);
    max-width: calc(72% - 10px);
    float: none !important;
}

body:not(.home) .tp-main-sidebar {
    flex: 0 0 28%;
    max-width: 28%;
    display: block !important;
}

/* Từng khối Widget */
.tp-widget {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.tp-widget-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    letter-spacing: 0.3px;
}

.tp-widget-title::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #1b5e20; /* Màu thương hiệu xanh lá */
}

/* 1. Widget Chuyên mục */
.tp-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tp-cat-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.tp-cat-list li:last-child {
    border-bottom: none;
}

.tp-cat-list li a {
    color: #333;
    text-decoration: none !important;
    transition: color 0.2s, padding-left 0.2s;
}

.tp-cat-list li a:hover {
    color: #1b5e20;
    padding-left: 4px;
}

.tp-cat-list .count {
    font-size: 12px;
    color: #888;
    background: #f5f5f5;
    padding: 2px 7px;
    border-radius: 10px;
}

/* 2. Widget Bài viết xem nhiều */
.tp-post-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tp-post-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.tp-post-item-thumb {
    flex: 0 0 64px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    display: block;
}

.tp-post-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tp-post-item:hover .tp-post-item-thumb img {
    transform: scale(1.08);
}

.tp-post-item-info h4 {
    margin: 0 0 5px 0;
    font-size: 13.5px;
    line-height: 1.4;
    font-weight: 600;
}

.tp-post-item-info h4 a {
    color: #222;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.tp-post-item-info h4 a:hover {
    color: #1b5e20;
}

.tp-post-item-info .date {
    font-size: 11.5px;
    color: #999;
}

/* 3. Widget Sản phẩm Hot */
.tp-prod-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tp-prod-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.tp-prod-thumb {
    flex: 0 0 64px;
    height: 64px;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    display: block;
}

.tp-prod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tp-prod-info h4 {
    margin: 0 0 3px 0;
    font-size: 13.5px;
    line-height: 1.35;
}

.tp-prod-info h4 a {
    color: #333;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tp-prod-info h4 a:hover {
    color: #1b5e20;
}

.tp-prod-price {
    font-size: 13px;
    font-weight: 700;
    color: #d32f2f;
}

.tp-prod-price del {
    font-size: 11px;
    color: #999;
    font-weight: normal;
    margin-right: 4px;
}

.tp-prod-price ins {
    text-decoration: none;
}

.tp-prod-stars {
    color: #ffb800;
    font-size: 11px;
    letter-spacing: 1px;
}

/* 4. Widget Banner vuông */
.tp-sidebar-banner {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.tp-sidebar-banner img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.tp-sidebar-banner:hover img {
    transform: scale(1.05);
}

.tp-sidebar-banner .banner-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(27, 94, 32, 0.9);
    color: #fff;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 4px;
    font-weight: 600;
}

/* 5. Widget Blog Bạn Bè */
.tp-friends-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tp-friends-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    font-size: 13.5px;
}

.tp-friends-list li:last-child {
    border-bottom: none;
}

.tp-friends-list li a {
    color: #444;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.tp-friends-list li a:hover {
    color: #1b5e20;
    font-weight: 600;
    transform: translateX(4px);
}

/* Mobile & Tablet Responsive */
@media (max-width: 991px) {
    body:not(.home) .site-content {
        flex-direction: column;
    }
    body:not(.home) #primary {
        max-width: 100%;
        flex: 1 1 100%;
    }
    body:not(.home) .tp-main-sidebar {
        max-width: 100%;
        flex: 1 1 100%;
    }
}

/* ============================================================
   STICKY RIGHT SIDEBAR KHI CUỘN HẾT NỘI DUNG (DESKTOP)
   ============================================================ */
@media (min-width: 992px) {
    /* Đảm bảo flex container không ép kéo giãn toàn bộ chiều cao */
    body:not(.home) .site-content {
        align-items: flex-start !important;
    }

    body:not(.home) .tp-main-sidebar {
        position: -webkit-sticky !important;
        position: sticky !important;
        /* Ghim khi cạnh đáy của sidebar chạm đáy màn hình (cách đáy 20px) */
        top: calc(100vh - 100% - 20px) !important;
        transition: top 0.15s ease-out;
    }

    /* Nếu sidebar ngắn hơn viewport thì ghim cách Header dính một khoảng an toàn (80px) */
    @supports not (top: calc(100vh - 100%)) {
        body:not(.home) .tp-main-sidebar {
            top: 85px !important;
        }
    }
}

/* ============================================================
   MOBILE HAMBURGER MENU & DRAWER
   ============================================================ */

/* Mặc định trên desktop: ẩn nút 3 gạch */
.tp-mobile-only {
    display: none !important;
}

/* Nút Hamburger 3 gạch */
.tp-menu-toggle {
    background: #242b35;
    border: 1px solid rgba(255,255,255,0.15);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4.5px;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}

.tp-menu-toggle:hover,
.tp-menu-toggle:active {
    background: #2e7d32;
    border-color: #2e7d32;
}

.tp-menu-toggle .hamburger-bar {
    width: 19px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: 0.2s;
}

/* Overlay nền mờ */
.tp-mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.tp-mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Khung Drawer trượt ra từ bên phải */
.tp-mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: #181d24;
    z-index: 99999;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tp-mobile-drawer.active {
    right: 0;
}

/* Header Drawer */
.tp-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.tp-drawer-header .drawer-title {
    color: #81c784;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 1px;
}

.tp-drawer-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

/* Nội dung Menu Drawer */
.tp-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px 0;
}

.tp-drawer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tp-drawer-nav li {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tp-drawer-nav li a {
    display: block;
    padding: 13px 20px;
    color: #e0e0e0;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s;
}

.tp-drawer-nav li a:hover,
.tp-drawer-nav li a:active {
    background: rgba(129, 199, 132, 0.1);
    color: #81c784;
}

.tp-drawer-nav li.drawer-cart-link a {
    color: #ffb800;
    font-weight: 600;
}

/* Footer Drawer */
.tp-drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12.5px;
    color: #888;
}

.tp-drawer-footer a {
    color: #81c784;
    font-weight: 600;
    text-decoration: none !important;
}

/* Quy tắc hiển thị trên Mobile (<= 991px) */
@media (max-width: 991px) {
    .tp-desktop-only {
        display: none !important; /* Ẩn giỏ hàng trên header */
    }
    .tp-mobile-only {
        display: flex !important; /* Hiện nút 3 gạch */
    }
    .tp-header-search input[type="search"] {
        width: 120px;
    }
    .tp-header-search input[type="search"]:focus {
        width: 150px;
    }
}

/* ============================================================
   KHUNG QUẢNG CÁO DƯỚI GALLERY ẢNH SẢN PHẨM
   ============================================================ */
.tp-product-left-banner {
    display: block;
    margin-top: 20px;
    margin-bottom: 15px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    background: #fff;
    transition: transform 0.3s ease;
}

.tp-product-left-banner:hover {
    transform: translateY(-2px);
}

.tp-product-left-banner a {
    display: block;
    line-height: 0;
}

.tp-product-left-banner img,
.tp-product-left-banner video {
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

/* Ẩn hoàn toàn khi lên giao diện Mobile */
@media screen and (max-width: 768px) {
    .tp-product-left-banner {
        display: none !important;
    }
}

/* ============================================================
   ĐỊNH DẠNG KHUNG VIDEO YOUTUBE SHORTS & TIKTOK (TỈ LỆ 9:16)
   ============================================================ */
.tp-video-responsive {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

/* Tỉ lệ ngang tiêu chuẩn (16:9) */
.tp-video-horizontal {
    padding-bottom: 56.25%;
    height: 0;
}

/* Tỉ lệ dọc cho YouTube Shorts & TikTok (9:16) */
.tp-video-vertical {
    height: 520px; /* Chiều cao vừa vặn cột bên dưới ảnh sản phẩm */
    max-height: 80vh;
}

.tp-video-vertical iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* ============================================================
   BẢO VỆ KHUNG VIDEO KHỎI XUNG ĐỘT SLIDER & FLOAT
   ============================================================ */
.woocommerce-product-gallery + .tp-product-left-banner,
.tp-product-left-banner {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    clear: left !important;
    width: 48% !important; /* Khớp với độ rộng cột ảnh bên trái */
    float: left !important;
    margin-top: 15px !important;
    margin-bottom: 25px !important;
    box-sizing: border-box !important;
}

@media screen and (max-width: 768px) {
    .tp-product-left-banner {
        display: none !important;
    }
}

/* ============================================================
   TỐI ƯU HIỂN THỊ KHUNG VIDEO / BANNER TRÊN MOBILE
   ============================================================ */
@media screen and (max-width: 768px) {
    .tp-product-left-banner,
    .woocommerce-product-gallery + .tp-product-left-banner {
        display: block !important;
        float: none !important;
        clear: both !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 15px auto 20px auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* Đảm bảo tiêu đề sản phẩm và khối thông tin rớt hẳn xuống dưới */
    div.product div.summary,
    .entry-summary {
        clear: both !important;
        float: none !important;
        width: 100% !important;
        margin-top: 15px !important;
    }

    /* Giới hạn chiều cao vừa vặn cho video Shorts/TikTok trên màn hình điện thoại */
    .tp-video-vertical {
        height: 420px !important;
        max-height: 70vh !important;
    }
}

/* ============================================================
   FIX LỖI TRẮNG KHUNG HÌNH TRÊN IPHONE (SAFARI / WEBKIT)
   ============================================================ */
.tp-product-left-banner {
    -webkit-transform: translateZ(0); /* Kích hoạt tăng tốc phần cứng iOS */
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.tp-video-responsive {
    -webkit-overflow-scrolling: touch;
    transform: translate3d(0, 0, 0);
}

/* Đảm bảo chiều cao tối thiểu trên mobile để không bị sụp layout thành 0px */
@media screen and (max-width: 768px) {
    .tp-product-left-banner {
        min-height: 180px;
    }

    .tp-video-responsive.tp-video-vertical {
        min-height: 380px !important;
        height: 420px !important;
    }

    .tp-video-responsive.tp-video-horizontal {
        min-height: 200px !important;
    }

    .tp-banner-img {
        min-height: 120px;
        background: #f3f3f3;
    }
}

/* ============================================================
   FIX LỆCH CỘT MÔ TẢ TRÊN DESKTOP (ĐƯA TIÊU ĐỀ LÊN ĐỈNH)
   ============================================================ */
@media screen and (min-width: 769px) {
    /* 1. Cột ảnh sản phẩm bên trái */
    .woocommerce-product-gallery {
        width: 48% !important;
        float: left !important;
        clear: left !important;
        margin-bottom: 0 !important;
    }

    /* 2. Cột mô tả, giá, tiêu đề bên phải - BẮT BUỘC LÊN ĐỈNH */
    div.product div.summary,
    .entry-summary {
        width: 48% !important;
        float: right !important;
        clear: right !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* 3. Khung Video / Banner: Nằm trọn vẹn ở cột bên trái, dưới ảnh */
    .tp-product-left-banner {
        width: 48% !important;
        float: left !important;
        clear: left !important;
        margin-top: 20px !important;
        margin-bottom: 30px !important;
    }

    /* 4. Dọn dẹp float cho các tab mô tả chi tiết bên dưới */
    .woocommerce-tabs,
    div.product .woocommerce-tabs {
        clear: both !important;
        width: 100% !important;
        float: none !important;
        padding-top: 20px !important;
    }
}

/* ============================================================
   GIẢI PHÁP TRIỆT ĐỂ: DÙNG CSS GRID ĐƯA MÔ TẢ LÊN NGANG HÀNG ẢNH
   ============================================================ */
@media screen and (min-width: 769px) {
    /* 1. Biến khung sản phẩm thành Grid 2 cột */
    div.product {
        display: grid !important;
        grid-template-columns: 48% 48% !important;
        justify-content: space-between !important;
        align-items: start !important;
    }

    /* 2. Cột trái hàng 1: Khối ảnh Gallery */
    .woocommerce-product-gallery {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
    }

    /* 3. Cột trái hàng 2: Khung Video / Banner (ngay dưới ảnh) */
    .tp-product-left-banner,
    .woocommerce-product-gallery + .tp-product-left-banner {
        grid-column: 1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        float: none !important;
        clear: both !important;
        margin-top: 20px !important;
        margin-bottom: 25px !important;
    }

    /* 4. Cột phải: Tiêu đề, Giá, Nút mua (BẮT BUỘC BẮT ĐẦU TỪ HÀNG 1) */
    div.product div.summary,
    .entry-summary {
        grid-column: 2 !important;
        grid-row: 1 / span 3 !important; /* Kéo dài từ đỉnh xuống hết nội dung */
        width: 100% !important;
        float: none !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* 5. Các tab mô tả chi tiết & sản phẩm liên quan bên dưới chiếm full 2 cột */
    .woocommerce-tabs,
    div.product .woocommerce-tabs,
    .related.products,
    .upsells.products {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }
}

/* ============================================================
   TRIỆT TIÊU KHOẢNG TRỐNG THỪA DƯỚI CHÂN VIDEO & TÓM TẮT
   ============================================================ */
@media screen and (min-width: 769px) {
    /* 1. Thiết lập Grid chỉ gồm các hàng tự co giãn theo nội dung */
    div.product {
        grid-template-rows: auto auto !important;
        row-gap: 15px !important;
        align-content: start !important;
    }

    /* 2. Cột phải chỉ đi từ Hàng 1 đến Hàng 2 (không sinh thêm Hàng 3) */
    div.product div.summary,
    .entry-summary {
        grid-row: 1 / 3 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* 3. Khung video bám sát hàng 2 và xóa khoảng đệm đáy */
    .tp-product-left-banner,
    .woocommerce-product-gallery + .tp-product-left-banner {
        margin-bottom: 10px !important;
    }

    /* 4. Ẩn thẻ ngắt dòng thừa của WooCommerce trong Grid */
    div.product > .clear {
        display: none !important;
    }

    /* 5. Đưa cụm Tabs mô tả lên ngay Hàng 3 (ngay sát dưới chân video) */
    .woocommerce-tabs,
    div.product .woocommerce-tabs {
        grid-column: 1 / -1 !important;
        grid-row: 3 !important;
        margin-top: 15px !important;
        padding-top: 10px !important;
    }
}
