    /* =========================================
       1. BỐ CỤC MẶC ĐỊNH TRÊN MÀN HÌNH PC
       ========================================= */
    .ds-shop-layout-container { max-width: 1230px; margin: 0 auto; padding: 0 15px; }
    .ds-shop-page-wrapper { display: flex; flex-wrap: wrap; gap: 25px; padding: 30px 0 15px 0; }
    .ds-shop-sidebar { width: 260px; flex-shrink: 0; }
    .ds-shop-content { width: calc(100% - 285px); }
    
    /* Ẩn các thành phần Mobile Bottom Sheet trên PC */
    .ds-sidebar-mobile-header, .ds-sidebar-mobile-footer, .ds-mobile-filter-btn { display: none; }

    /* Căn chỉnh thanh Tiêu đề */
    .ds-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; padding-bottom: 5px; border-bottom: 1px solid #f1f1f1; }
    .ds-title-row .ds-title { font-size: 16px; font-weight: 700; text-transform: uppercase; color: #111827; margin: 0; }
    .ds-title-right { display: flex; align-items: center; gap: 15px; }
    
    /* Giao diện Grid Lưới 6 cột thay thế cho dạng trượt Swiper cũ */
    .ds-shop-content ul.products {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 15px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none;
    }
    .ds-shop-content ul.products::before, .ds-shop-content ul.products::after { display: none !important; }
    .ds-shop-content ul.products li.product { width: 100% !important; max-width: 100% !important; margin: 0 !important; clear: none !important; }

    /* CSS Phân trang mặc định */
    .woocommerce-pagination { margin-top: 35px; text-align: center; width: 100%; }
    .woocommerce-pagination ul.page-numbers { display: inline-flex; border: 1px solid #e5e7eb; border-radius: 4px; padding: 0; margin: 0; list-style: none; }
    .woocommerce-pagination ul.page-numbers li { border-right: 1px solid #e5e7eb; }
    .woocommerce-pagination ul.page-numbers li:last-child { border-right: none; }
    .woocommerce-pagination ul.page-numbers li a, .woocommerce-pagination ul.page-numbers li span { display: block; padding: 8px 14px; color: #374151; text-decoration: none; font-weight: 500; font-size: 14px; }
    .woocommerce-pagination ul.page-numbers li span.current { background-color: #cc0000; color: #fff; }
    .woocommerce-pagination ul.page-numbers li a:hover { background-color: #f9fafb; color: #cc0000; }

    /* CSS Màu sắc mặc định cho Plugin YITH */
    .yith-wcan-filters .yith-wcan-filter { margin: 0 0 20px 0; background-color: #FFF; border-radius: 12px; padding: 5px; }
    .woocommerce .widget_price_filter .ui-slider .ui-slider-range,
    .woocommerce .widget_price_filter .ui-slider .ui-slider-handle { background-color: #cc0000; }
    
    /* =========================================
       2. ÉP BUỘC YITH FILTER HIỂN THỊ DẠNG DANH SÁCH & ẨN NÚT RÁC
       ========================================= */
    /* Ẩn hoàn toàn nút "Filters" (Số 1) */
    .yith-wcan-mobile-button, 
    .yith-wcan-mobile-filters-menu-btn, 
    .yith-wcan-filters-mobile-button,
    #yith-wcan-mobile-button,
    .yith-wcan-mobile-button-container,
    .widget_yith_wcan_mobile_button {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        position: absolute !important;
        z-index: -9999 !important;
    }

    /* Ẩn tiêu đề "Filter products" và nút đóng của YITH Modal */
    .yith-wcan-mobile-filters-menu-header {
        display: none !important;
    }

    /* Phá bỏ lớp popup trượt của YITH, biến nó thành nội dung phẳng hiển thị ngay lập tức */
    .yith-wcan-mobile-filters-menu-content,
    .yith-wcan-filters,
    .yith-wcan-mobile-filters-menu {
        position: static !important;
        display: block !important;
        transform: none !important;
        width: 100% !important;
        height: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    .yith-wcan-filters-opener {
    border: 1px solid #D7D7D7;
    display: none !important;
    }

    /* =========================================
       3. GIAO DIỆN MOBILE (Nút Lọc Cạnh Tiêu Đề & Lưới Sidebar 2 cột)
       ========================================= */
    @media (max-width: 1200px) { .ds-shop-content ul.products { grid-template-columns: repeat(4, 1fr) !important; } }
    @media (max-width: 991px) {
        .ds-shop-page-wrapper { margin: 15px auto; padding-top: 15px; }
        .ds-shop-content { width: 100%; }
        .ds-shop-content ul.products { grid-template-columns: repeat(3, 1fr) !important; }
        
        /* Hiển thị Nút Lọc và Căn chỉnh Tiêu đề (Đã kéo nút Lọc lên trên) */
        .ds-mobile-filter-btn {
            display: flex; align-items: center; gap: 5px; background: #f7f7f7; border: 1px solid #ddd;
            padding: 6px 12px; border-radius: 4px; font-size: 13px; font-weight: bold; cursor: pointer; color: #333;
        }
        .ds-title-row { border-bottom: none; margin-bottom: 15px; display: flex; align-items: center; justify-content: space-between; }
        .ds-title-row .ds-title { font-size: 13px; padding-left: 0; }
        
        /* Thiết kế Sidebar dạng trượt Bottom Sheet (Trượt từ dưới lên) */
        .ds-shop-sidebar {
            position: fixed; bottom: 0; left: 0; top: auto; width: 100%; height: 85vh;
            background: #fff; z-index: 99999; padding: 0; display: flex; flex-direction: column;
            transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
            border-radius: 20px 20px 0 0; box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
        }
        .ds-shop-sidebar.is-open { transform: translateY(0); }
        
        /* Màn hình đen mờ */
        .ds-sidebar-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.6); z-index: 99998; opacity: 0; visibility: hidden; transition: opacity 0.3s ease;
        }
        .ds-sidebar-overlay.is-open { opacity: 1; visibility: visible; }
        
        /* Header Sidebar Mobile */
        .ds-sidebar-mobile-header {
            display: flex; align-items: center; justify-content: center;
            padding: 15px 20px; border-bottom: 1px solid #f1f1f1; position: relative;
        }
        .ds-sidebar-mobile-header h3 { margin: 0; font-size: 16px; font-weight: 700; color: #111; }
        .ds-close-sidebar {
            display: flex; position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
            color: #333; background: none; border: none; font-size: 28px; cursor: pointer; padding: 5px; line-height: 1;
        }

        /* Nội dung Sidebar Mobile (Phần để cuộn) */
        .ds-sidebar-content {
            flex: 1; overflow-y: auto; padding: 20px 20px 80px 20px;  margin-top: -60px;
        }
        .ds-sidebar-content .widget { margin-bottom: 20px; border-bottom: 1px solid #f1f1f1; padding-bottom: 15px; }
        .ds-sidebar-content .widget:last-child { border-bottom: none; }
        
        /* Cấu hình chia các tuỳ chọn lọc YITH thành 2 CỘT đều nhau */
        .ds-sidebar-content ul, .ds-sidebar-content .yith-wcan-list {
            display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 12px 15px !important;
            padding: 0 !important; margin: 0 !important; list-style: none !important;
        }
        .ds-sidebar-content ul li {
            display: flex !important; align-items: center; font-size: 13.5px !important; color: #333 !important; width: 100% !important; margin: 0 !important;
        }
        .ds-sidebar-content ul li input[type="checkbox"], .ds-sidebar-content ul li input[type="radio"] {
            accent-color: #cc0000; width: 18px; height: 18px; margin-right: 8px !important;
        }

        /* Footer Sidebar Mobile (Các nút dính cứng ở dưới đáy) */
        .ds-sidebar-mobile-footer {
            display: flex; gap: 15px; padding: 15px 20px; border-top: 1px solid #f1f1f1; background: #fff;
            position: absolute; bottom: 0; left: 0; width: 100%; box-sizing: border-box; z-index: 10;
        }
        .ds-filter-reset {
            flex: 1; display: flex; align-items: center; justify-content: center; background: #fff;
            border: 1px solid #cc0000; color: #cc0000; border-radius: 8px; font-weight: 600; font-size: 15px; padding: 12px; cursor: pointer;
        }
        .ds-filter-apply {
            flex: 2; display: flex; align-items: center; justify-content: center; background: #cc0000;
            border: 1px solid #cc0000; color: #fff; border-radius: 8px; font-weight: 600; font-size: 15px; padding: 12px; cursor: pointer;
        }
    }
    @media (max-width: 576px) { 
        .ds-shop-content ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; } 
        .ds-shop-tabs-nav li { font-size: 8.5px; }
        .tooltip-added { font-size: 10px; }
        .term-label { font-size: 10px; }
    }

    /* CSS Ô TÌM KIẾM TRONG WIDGET BỘ LỌC */
    .ds-shop-sidebar .widget { position: relative; margin-bottom: 25px; border-bottom: 1px solid #f1f1f1; padding-bottom: 15px; }
    .ds-shop-sidebar .widget:last-child { border-bottom: none; }
    .ds-term-search-input {
        width: 100%; padding: 8px 12px 8px 32px !important; margin-bottom: 15px; border: 1px solid #e0e0e0;
        border-radius: 4px; font-size: 13px; color: #333; box-sizing: border-box;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%23888" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>');
        background-repeat: no-repeat; background-position: 10px center; transition: border-color 0.3s;
    }
    .ds-term-search-input:focus { outline: none; border-color: #cc0000; }
    .ds-shop-sidebar .widget ul { max-height: 280px; overflow-y: auto; padding-right: 5px; }
    .ds-shop-sidebar .widget ul::-webkit-scrollbar { width: 4px; }
    .ds-shop-sidebar .widget ul::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
