/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* ==========================================================================
   TIÊU SÁO VIỆT ĐẠT - PRODUCT GALLERY
   - Desktop: Thumbnails on the LEFT, Big Image on the RIGHT
   - Mobile: Big Image on TOP, Thumbnails on BOTTOM
   - Ẩn hoàn toàn nút mũi tên lên/xuống/trái/phải
   - Chuẩn hình vuông 1:1, khớp 100% viền mép trên mobile không bị khuất
   ========================================================================== */

/* ẨN TOÀN BỘ CÁC NÚT MŨI TÊN ĐIỀU HƯỚNG CỦA THUMBNAIL (LÊN/XUỐNG/TRÁI/PHẢI) */
.woocommerce-product-gallery .wd-gallery-thumb .wd-thumb-nav,
.woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-thumb-nav,
.wd-gallery-thumb .wd-thumb-nav,
.wd-thumb-nav {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* 1. KHUNG ẢNH CHÍNH (MAIN BIG IMAGE) HÌNH VUÔNG 1:1 */
.woocommerce-product-gallery .wd-gallery-images,
.woocommerce-product-gallery .wd-gallery-images .wd-carousel-inner,
.woocommerce-product-gallery .wd-gallery-images .woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery .wd-gallery-images .wd-carousel-item,
.woocommerce-product-gallery .wd-gallery-images .woocommerce-product-gallery__image {
    aspect-ratio: 1 / 1 !important;
}

.woocommerce-product-gallery .wd-gallery-images .woocommerce-product-gallery__image {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background-color: #f7f5f2 !important;
    position: relative !important;
    box-sizing: border-box !important;
}

.woocommerce-product-gallery .wd-gallery-images .woocommerce-product-gallery__image a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.woocommerce-product-gallery .wd-gallery-images .woocommerce-product-gallery__image img,
.woocommerce-product-gallery .wd-gallery-images img.wp-post-image {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
}

/* 2. BỐ CỤC DESKTOP (MÀN HÌNH >= 1025px):
      DANH SÁCH THUMBNAIL BÊN TRÁI, ẢNH TO BÊN PHẢI */
@media (min-width: 1025px) {
    .woocommerce-product-gallery.thumbs-position-left {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        gap: 16px !important;
        position: relative !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Cột Thumbnail bên TRÁI */
    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb {
        order: 1 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex: 0 0 94px !important;
        width: 94px !important;
        max-width: 94px !important;
        position: relative !important;
        align-self: stretch !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel-inner {
        position: absolute !important;
        inset: 0 !important;
        height: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel {
        height: 100% !important;
        max-height: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    /* Cuộn dọc mượt mà khi nhiều ảnh, ẩn thanh cuộn */
    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel-wrap {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        height: 100% !important;
        max-height: 100% !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        box-sizing: border-box !important;
    }

    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel-wrap::-webkit-scrollbar {
        display: none !important;
    }

    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel-item {
        width: 94px !important;
        height: 94px !important;
        flex: 0 0 94px !important;
        aspect-ratio: 1 / 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel-item img {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
        object-position: center center !important;
        border-radius: 8px !important;
        border: 2px solid #e8e5e0 !important;
        background-color: #f7f5f2 !important;
        cursor: pointer !important;
        transition: border-color 0.2s ease, transform 0.2s ease !important;
        box-sizing: border-box !important;
    }

    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel-item:hover img,
    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel-item.active-item img,
    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel-item.wd-active img {
        border-color: #925828 !important;
        transform: scale(1.02);
    }

    /* Ảnh TO bên PHẢI */
    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-images {
        order: 2 !important;
        flex: 1 1 calc(100% - 110px) !important;
        width: calc(100% - 110px) !important;
        max-width: calc(100% - 110px) !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}

/* 3. BỐ CỤC MOBILE & TABLET (MÀN HÌNH <= 1024px):
      ẢNH TO TRÊN, 4 THUMBNAILS DƯỚI VỪA KHÍT 100% KHÔNG BỊ KHUẤT MÉP PHẢI */
@media (max-width: 1024px) {
    .woocommerce-product-gallery.thumbs-position-left {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-images {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb {
        order: 2 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        position: relative !important;
        margin-top: 4px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel-inner {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel {
        height: auto !important;
        width: 100% !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* Hàng thumbnails: hiển thị 4 ảnh vừa khít 100% chiều ngang, vuốt ngang mượt mà */
    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel-wrap {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: none !important;
        padding: 2px 1px 6px 1px !important;
        box-sizing: border-box !important;
    }

    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel-wrap::-webkit-scrollbar {
        display: none !important;
    }

    /* Chia đều 4 ô thumbnail vừa khít 100% bề ngang, không bao giờ bị cắt mép phải */
    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel-item {
        flex: 0 0 calc((100% - 24px) / 4) !important;
        width: calc((100% - 24px) / 4) !important;
        max-width: calc((100% - 24px) / 4) !important;
        min-width: calc((100% - 24px) / 4) !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        scroll-snap-align: start !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel-item img {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
        object-position: center center !important;
        border-radius: 8px !important;
        border: 2px solid #e8e5e0 !important;
        background-color: #f7f5f2 !important;
        display: block !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel-item:hover img,
    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel-item.active-item img,
    .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel-item.wd-active img {
        border-color: #925828 !important;
    }
}

/* 4. KHI BẤM PHÓNG TO (PHOTOSWIPE LIGHTBOX): HIỂN THỊ KÍCH THƯỚC VÀ TỈ LỆ THẬT */
.pswp img {
    aspect-ratio: auto !important;
    object-fit: contain !important;
    max-width: 100% !important;
    max-height: 100% !important;
    border-radius: 0 !important;
}

/* ==========================================================================
   DANH MỤC SẢN PHẨM (COMPACT ROUNDED CARDS - GỌN GÀNG, SANG TRỌNG)
/* ==========================================================================
   TI?U S?O VI?T ??T - DANH M?C S?N PH?M (COMPACT, COHESIVE & CLEAN)
   - Gom g?n ? gi?a, kho?ng c?ch kh?t nhau (gap 16px), ch?m d?t t?nh tr?ng r?i r?c
   - Th? bo g?c m?m m?i, s?ch s?, tinh t? chu?n phong c?ch Zen & Nh?c c?
   - ??ng b? ho?n h?o tr?n Desktop & Mobile
   ========================================================================== */

/* 1. CONTAINER CH?NH C?A KH?I DANH M?C: GOM G?N V?O GI?A */
.elementor-element-7ddcdd5 {
    margin-bottom: 50px !important;
}

.elementor-element-7ddcdd5 .e-con-inner {
    max-width: 980px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* TI?U ??: C?N GI?A ??NG B? V?I C?M DANH M?C */
.elementor-element-7ddcdd5 .title-wrapper {
    text-align: center !important;
    margin-bottom: 20px !important;
}

.elementor-element-7ddcdd5 .title-wrapper .liner-continer,
.elementor-element-7ddcdd5 .woodmart-title-container {
    text-align: center !important;
    justify-content: center !important;
}

.elementor-element-7ddcdd5 .woodmart-title-container.title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #242220 !important;
    letter-spacing: -0.2px !important;
    margin: 0 auto !important;
    display: inline-block !important;
}

/* 2. L??I DANH M?C: 4 C?T G?N KH?T NHAU (GAP 16PX), KH?NG H? HO?C R?I R?C */
.elementor-element-87a388f .wd-cats,
.wd-cats-element .wd-cats {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important; /* Kho?ng c?ch gi?a c?c th? g?n kh?t chu?n UX */
    max-width: 940px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    width: 100% !important;
}

.elementor-element-87a388f .wd-cats .wd-cat,
.wd-cats-element .wd-cats .wd-cat {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 3. TH? DANH M?C: G?N G?NG, S?CH S?, TINH T? */
.wd-cats-element .wd-cat .wd-cat-inner {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    aspect-ratio: auto !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    position: relative !important;
    background: #ffffff !important;
    border: 1px solid #e9e6df !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 8px 8px 12px 8px !important;
    box-sizing: border-box !important;
}

.wd-cats-element .wd-cat:hover .wd-cat-inner {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06) !important;
    border-color: #bfa58a !important;
}

/* 4. KHUNG ?NH B?N TRONG TH?: T? L? 4:3 V?A V?N, BO G?C M?M */
.wd-cats-element .wd-cat .wd-cat-thumb,
.wd-cats-element .wd-cat .wd-cat-image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background-color: #f7f5f2 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wd-cats-element .wd-cat .wd-cat-image img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    border-radius: 10px !important;
    transition: transform 0.4s ease !important;
}

.wd-cats-element .wd-cat:hover .wd-cat-image img {
    transform: scale(1.05) !important;
}

/* B? l?p ph? m? ?en c? */
.wd-cats-element .wd-cat.cat-design-zoom-out .wd-cat-thumb:before {
    display: none !important;
}

/* 5. T?N DANH M?C: N?M G?N B?N D??I, R? R?NG V? THANH THO?T */
.wd-cats-element .wd-cat.cat-design-zoom-out .wd-cat-content {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    padding: 10px 4px 2px 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    background: transparent !important;
    inset: auto !important;
    flex-grow: 1 !important;
}

.wd-cats-element .wd-cat.cat-design-zoom-out .wd-entities-title {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: #2b2623 !important;
    white-space: normal !important;
    display: block !important;
    transform: none !important;
    max-width: 100% !important;
}

.wd-cats-element .wd-cat.cat-design-zoom-out .wd-entities-title a {
    color: #2b2623 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.wd-cats-element .wd-cat:hover .wd-entities-title a {
    color: #925828 !important;
}

/* 6. RESPONSIVE TABLET & MOBILE */
@media (max-width: 1024px) {
    .elementor-element-7ddcdd5 {
        margin-bottom: 35px !important;
    }

    .elementor-element-87a388f .wd-cats,
    .wd-cats-element .wd-cats {
        gap: 12px !important;
    }

    .wd-cats-element .wd-cat .wd-cat-inner {
        border-radius: 12px !important;
        padding: 6px 6px 10px 6px !important;
    }

    .wd-cats-element .wd-cat.cat-design-zoom-out .wd-entities-title {
        font-size: 12px !important;
    }
}

@media (max-width: 640px) {
    .elementor-element-7ddcdd5 {
        margin-bottom: 25px !important;
    }

    .elementor-element-87a388f .wd-cats,
    .wd-cats-element .wd-cats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        max-width: 380px !important;
    }

    .wd-cats-element .wd-cat .wd-cat-inner {
        padding: 6px 6px 10px 6px !important;
    }

    .wd-cats-element .wd-cat.cat-design-zoom-out .wd-entities-title {
        font-size: 12.5px !important;
    }
}

/* ==========================================================================
   HERO BANNER - T?I ?U THEO PHONG C?CH BEEGIADUNG.COM
   - Co gi?n linh ho?t, gi? tr?n v?n c?y s?o v? ti?u ??, kh?ng b? crop m?t h?nh
   - Tr?n Mobile: Chi?u cao g?n g?ng (180px), ?n m?i t?n to, vu?t touch m??t m?
   - Bo g?c 16px, b?ng m? cao c?p chu?n s?n th??ng m?i ?i?n t? hi?n ??i
   ========================================================================== */

/* 1. KHUNG BANNER T?NG TH? */
.elementor-element-26e8d44 {
    margin-top: 10px !important;
    margin-bottom: 35px !important;
}

.elementor-element-26e8d44 .elementor-widget-wd_slider,
.elementor-element-26e8d44 .wd-slider {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

/* 2. BACKGROUND ?NH C?A BANNER: LU?N C?N CHU?N TH?Y TR?N V?N C?Y S?O */
.wd-slider .wd-slide-bg {
    background-size: cover !important;
    background-position: right center !important;
    border-radius: 16px !important;
}

.wd-slider .wd-slide-bg img {
    object-fit: cover !important;
    object-position: right center !important;
    width: 100% !important;
    height: 100% !important;
}

/* 3. B? C?C N?I DUNG CH? TR?N DESKTOP */
.wd-slider .wd-slide-container {
    padding-left: 50px !important;
    padding-right: 50px !important;
}

/* 4. CHU?N H?A CHO MOBILE (< 768px) THEO PHONG C?CH BEEGIADUNG.COM */
@media (max-width: 768px) {
    .elementor-element-26e8d44 {
        margin-top: 5px !important;
        margin-bottom: 20px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .elementor-element-26e8d44 .wd-slider,
    .elementor-element-26e8d44 .wd-slider .wd-carousel,
    .elementor-element-26e8d44 .wd-slider .wd-carousel-wrap,
    .elementor-element-26e8d44 .wd-slider .wd-slide {
        min-height: 175px !important;
        max-height: 200px !important;
        height: 180px !important;
        border-radius: 12px !important;
    }

    /* ?n ho?n to?n 2 n?t m?i t?n to t??ng tr?n mobile */
    .elementor-element-26e8d44 .wd-btn-arrow,
    .elementor-element-26e8d44 .wd-slider .prev,
    .elementor-element-26e8d44 .wd-slider .next,
    .elementor-element-26e8d44 .wd-slider-nav,
    .elementor-element-26e8d44 .woodmart-carousel-nav {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    /* Background c?n gi? tr?n v?n c?y s?o b?n ph?i */
    .elementor-element-26e8d44 .wd-slider .wd-slide-bg {
        background-position: 85% center !important;
        border-radius: 12px !important;
    }

    .elementor-element-26e8d44 .wd-slider .wd-slide-bg img {
        object-position: 85% center !important;
        border-radius: 12px !important;
    }

    /* C?n l? v? k?ch th??c ch? tr?n mobile si?u g?n g?ng */
    .elementor-element-26e8d44 .wd-slide-container {
        padding-left: 14px !important;
        padding-right: 14px !important;
        align-items: center !important;
    }

    .elementor-element-26e8d44 [class*="con_sub_"] {
        margin-left: 0 !important;
        margin-bottom: 4px !important;
    }

    .elementor-element-26e8d44 [class*="tit_sub_"] .title {
        font-size: 10px !important;
        letter-spacing: 0.5px !important;
        line-height: 1.2 !important;
    }

    .elementor-element-26e8d44 [class*="con_main_"] {
        margin-left: 0 !important;
        margin-bottom: 8px !important;
    }

    .elementor-element-26e8d44 [class*="tit_main_"] .wd-text-block {
        font-size: 19px !important;
        line-height: 1.15 !important;
        font-weight: 800 !important;
    }

    .elementor-element-26e8d44 [class*="con_cta_"] {
        margin-left: 0 !important;
        margin-bottom: 0 !important;
        gap: 8px !important;
    }

    .elementor-element-26e8d44 [class*="btn_cta_"] .btn {
        padding: 3px 10px !important;
        font-size: 10.5px !important;
        border-radius: 20px !important;
        line-height: 1.35 !important;
        min-height: 24px !important;
    }

    .elementor-element-26e8d44 [class*="prc_cta_"] .wd-text-block {
        font-size: 13.5px !important;
        font-weight: 700 !important;
    }

    /* Dots ph?n trang ? ??y nh? g?n */
    .elementor-element-26e8d44 .wd-nav-pagin-wrap {
        bottom: 4px !important;
    }

    .elementor-element-26e8d44 .wd-nav-pagin-wrap li {
        margin: 0 2px !important;
    }

    .elementor-element-26e8d44 .wd-nav-pagin-wrap li span {
        width: 5px !important;
        height: 5px !important;
    }
}
EOF

/* GI?I H?N V?NG CH? ? N?A TR?I ?? KH?NG BAO GI? ?? L?N C?Y S?O B?N PH?I */
.elementor-element-26e8d44 .wd-slide-inner {
    max-width: 55% !important;
}

@media (max-width: 768px) {
    .elementor-element-26e8d44 .wd-slide-inner {
        max-width: 62% !important;
    }
}

/* S?A TRI?T ?? L?I KHU?T M?P CH? B?N TR?I TR?N MOBILE DO NEGATIVE GAP */
.elementor-element-26e8d44 .wd-negative-gap {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

@media (max-width: 768px) {
    .elementor-element-26e8d44 .wd-slide-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .elementor-element-26e8d44 .wd-slide-inner {
        padding-left: 24px !important;
        padding-right: 8px !important;
        max-width: 65% !important;
        box-sizing: border-box !important;
    }

    .elementor-element-26e8d44 [class*="con_sub_"],
    .elementor-element-26e8d44 [class*="con_main_"],
    .elementor-element-26e8d44 [class*="con_cta_"] {
        margin-left: 0 !important;
        padding-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .elementor-element-26e8d44 [class*="tit_sub_"] {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .elementor-element-26e8d44 [class*="tit_main_"] {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .elementor-element-26e8d44 [class*="tit_main_"] .wd-text-block {
        font-size: 18px !important;
        line-height: 1.2 !important;
        font-weight: 800 !important;
        white-space: normal !important;
    }

    .elementor-element-26e8d44 [class*="btn_cta_"] {
        margin-left: 0 !important;
    }
}

/* ==========================================================================
   HEADER & TOP BAR BRANDING (LOGO, AVATAR, VIETNAMESE FLAG)
   ========================================================================== */

/* 1. LOGO TI?U S?O VI?T ??T TR?N TRANG NH? */
.whb-main-header .site-logo img,
.whb-sticky-header .site-logo img,
.whb-general-header .site-logo img {
    max-height: 72px !important;
    width: auto !important;
    object-fit: contain !important;
    transition: transform 0.25s ease !important;
}

.whb-main-header .site-logo:hover img {
    transform: scale(1.04) !important;
}

@media (max-width: 1024px) {
    .whb-main-header .site-logo img,
    .whb-sticky-header .site-logo img,
    .whb-general-header .site-logo img {
        max-height: 52px !important;
    }
}

/* 2. AVATAR CHUYEN GIA NU TRON HOAN TOAN CO VIEN */
.whb-cnp9n8j9vd9piydx94j5 .info-box-icon img,
.whb-cnp9n8j9vd9piydx94j5 .info-box-icon,
.whb-cnp9n8j9vd9piydx94j5 img {
    border-radius: 50% !important;
    object-fit: cover !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    border: 1.5px solid #d6a86c !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12) !important;
    display: block !important;
    overflow: hidden !important;
}

.whb-cnp9n8j9vd9piydx94j5 .box-icon-wrapper {
    border-radius: 50% !important;
    overflow: hidden !important;
}

/* 2.1 BIEU TUONG DIEN THOAI NGUYEN BAN (KHONG CO VIEN TRON) */
.whb-30fubq3nvq576dnig92g .info-box-icon img,
.whb-30fubq3nvq576dnig92g .info-svg-wrapper img,
.whb-30fubq3nvq576dnig92g img {
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    object-fit: contain !important;
    display: inline-block !important;
}

.whb-30fubq3nvq576dnig92g .box-icon-wrapper,
.whb-30fubq3nvq576dnig92g .info-box-icon,
.whb-30fubq3nvq576dnig92g .info-svg-wrapper {
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* 3. LA CO VIET NAM GOC TRAI TREN */
.whb-top-bar .wd-nav-img,
.whb-top-bar .menu-item-design-default img,
.whb-top-bar .woodmart-nav-link img {
    border-radius: 2px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
    vertical-align: middle !important;
    display: inline-block !important;
    width: 24px !important;
    height: auto !important;
    margin-right: 6px !important;
}

.whb-top-bar .woodmart-nav-link .nav-link-text {
    font-weight: 600 !important;
    color: #2b2623 !important;
    letter-spacing: 0.5px !important;
}

/* 4. S? ?I?N THO?I & LI?N H? ZALO N?I B?T */
.whb-top-bar .box-title {
    font-weight: 500 !important;
    color: #2b2623 !important;
    transition: color 0.2s ease !important;
}

.whb-top-bar a:hover .box-title {
    color: #925828 !important;
}



/* ==========================================================================
   GLOBAL TYPOGRAPHY - BE VIETNAM PRO (CHUẨN TIẾNG VIỆT & TIẾNG ANH)
   ========================================================================== */
:root {
	--wd-primary-font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
	--wd-text-font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
	--wd-title-font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
	--wd-entities-font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
	--wd-alternative-font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}

html, body, p, span, a, input, select, textarea, button,
h1, h2, h3, h4, h5, h6,
.title, .wd-entities-title, .wd-nav, .font-title, .font-primary,
.whb-header, .site-header, .wd-footer, .sao-builder-container,
.product-title, .price, .nav-link-text, .wd-nav-link,
.woodmart-nav-link, .menu-item, .entry-title, .widget-title {
	font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Đảm bảo menu thanh trên hiển thị chuẩn và sắc nét */
.whb-header .woodmart-nav-link .nav-link-text,
.whb-header .wd-nav-link .nav-link-text {
	font-weight: 600 !important;
	letter-spacing: 0.2px !important;
}



/* ==========================================================================
   PAGE TITLE & BREADCRUMBS TIÊU SÁO VIỆT ĐẠT (GỌN GÀNG, SANG TRỌNG)
   - Bỏ ảnh nền demo bàn ghế
   - Breadcrumb thanh mảnh, không chiếm diện tích màn hình
   ========================================================================== */
.page-title-default {
	background-color: #fbf8f3 !important;
	background-image: none !important;
	border-bottom: 1px solid rgba(139, 90, 43, 0.12) !important;
	padding-top: 20px !important;
	padding-bottom: 20px !important;
	min-height: auto !important;
}

.page-title-default .entry-title {
	font-size: 24px !important;
	font-weight: 700 !important;
	color: #242424 !important;
	margin-bottom: 4px !important;
	letter-spacing: -0.2px !important;
}

.page-title-default .breadcrumbs,
.page-title-default .woocommerce-breadcrumb,
.page-title-default .yoast-breadcrumb {
	font-size: 13px !important;
	color: #827b72 !important;
	margin-top: 4px !important;
}

.page-title-default .breadcrumbs a,
.page-title-default .woocommerce-breadcrumb a {
	color: #827b72 !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}

.page-title-default .breadcrumbs a:hover,
.page-title-default .woocommerce-breadcrumb a:hover {
	color: #8b5a2b !important;
}

/* Trang Order Received (Cảm ơn bạn. Đơn hàng của bạn đã được nhận) */
.woocommerce-order-received .page-title-default,
.woocommerce-checkout .page-title-default,
.woocommerce-cart .page-title-default {
	padding-top: 15px !important;
	padding-bottom: 15px !important;
}

/* Ẩn các hình ảnh demo cũ nếu còn sót trong page-title */
.page-title:before,
.page-title:after {
	display: none !important;
}
