   /* ============================================
   PRODUCTS LISTING PAGE WITH FILTERS
   ============================================ */

    .products-listing-section {
        padding: 2rem 0 5rem;
        background-color: #fff;
    }

    .products-layout {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 3rem;
    }

    /* Sidebar Filters */
    .products-sidebar {
        position: sticky;
        top: 120px;
        height: fit-content;
    }

    .filters-wrapper {
        background-color: #fff;
        border-radius: 4px;
    }

    .filters-title {
        margin: 0 0 1.5rem;
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--dark);
    }

    .filter-group {
        border-bottom: 1px solid var(--border);
        padding: 1.25rem 0;
    }

    .filter-group:last-child {
        border-bottom: none;
    }

    .filter-group-header {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: none;
        border: none;
        padding: 0;
        font-size: 1rem;
        font-weight: 600;
        color: var(--dark);
        cursor: pointer;
        text-align: left;
        margin-bottom: 1rem;
    }

    .filter-group-header i {
        transition: transform 0.3s ease;
        font-size: 1.25rem;
    }

    .filter-group-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .filter-group-content.active {
        max-height: 500px;
    }

    .filter-checkbox {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        margin-bottom: 0.75rem;
        cursor: pointer;
        font-size: 0.95rem;
        color: var(--dark);
    }

    .filter-checkbox:last-child {
        margin-bottom: 0;
    }

    .filter-checkbox input[type="checkbox"],
    .filter-checkbox input[type="radio"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: var(--primary);
    }

    .filter-checkbox span {
        user-select: none;
    }

    /* Price Range Slider */
    .products-listing-section .price-range-slider {
        position: relative;
        height: 40px;
        margin: 0 0 1.5rem 0;
        display: flex;
        align-items: center;
    }

    .products-listing-section .price-range-slider::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 5px;
        background: var(--border);
        border-radius: 5px;
        z-index: 0;
    }

    .products-listing-section .price-range-slider input[type="range"] {
        position: absolute;
        width: 100%;
        height: 5px;
        background: transparent;
        pointer-events: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        margin: 0;
        padding: 0;
        z-index: 1;
    }

    .products-listing-section .price-range-slider input[type="range"]::-webkit-slider-runnable-track {
        height: 5px;
        background: transparent;
        border: none;
    }

    .products-listing-section .price-range-slider input[type="range"]::-moz-range-track {
        height: 5px;
        background: transparent;
        border: none;
    }

    .products-listing-section .price-range-slider input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #1d1d1f;
        cursor: pointer;
        pointer-events: all;
        border: 3px solid #fff;
        margin-top: -7.5px;
        position: relative;
        z-index: 2;
    }

    .products-listing-section .price-range-slider input[type="range"]::-moz-range-thumb {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #1d1d1f;
        cursor: pointer;
        pointer-events: all;
        border: 3px solid #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
        position: relative;
        z-index: 2;
    }

    .products-listing-section .price-range-slider input[type="range"]:focus {
        outline: none;
    }

    .products-listing-section .price-range-slider input[type="range"]::-webkit-slider-thumb:hover {
        background: #852723;
    }

    .products-listing-section .price-range-slider input[type="range"]::-moz-range-thumb:hover {
        background: #852723;
    }

    .products-listing-section .price-range-slider input[type="range"]:active::-webkit-slider-thumb {
        background: #852723;
    }

    .products-listing-section .price-range-slider input[type="range"]:active::-moz-range-thumb {
        background: #852723;
    }

    .products-listing-section .price-inputs {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .products-listing-section .price-input-group {
        position: relative;
        flex: 1;
    }

    .products-listing-section .currency-symbol {
        position: absolute;
        left: 0.85rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--muted);
        font-weight: 600;
        font-size: 0.9rem;
        pointer-events: none;
    }

    .products-listing-section .price-input-group input[type="number"] {
        width: 100%;
        padding: 0.7rem 0.85rem 0.7rem 2rem;
        border: 1px solid var(--border);
        border-radius: 4px;
        font-size: 0.9rem;
        color: var(--dark);
        background-color: #fff;
    }

    .products-listing-section .price-input-group input[type="number"]:focus {
        outline: none;
        border-color: var(--primary);
    }

    .products-listing-section .price-separator {
        color: var(--muted);
        font-size: 0.85rem;
        font-weight: 500;
    }

    /* Products Main Area */
    .products-main {
        min-width: 0;
    }

    .products-toolbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .products-count {
        font-size: 0.95rem;
        color: var(--muted);
    }

    .products-count span {
        font-weight: 600;
        color: var(--dark);
    }

    .products-view-controls {
        display: flex;
        gap: 0.5rem;
    }

    .view-btn {
        width: 38px;
        height: 38px;
        border: 1px solid var(--border);
        border-radius: 4px;
        background-color: #fff;
        display: grid;
        place-items: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .view-btn i {
        font-size: 1.1rem;
        color: var(--muted);
    }

    .view-btn:hover,
    .view-btn.active {
        background-color: var(--dark);
        border-color: var(--dark);
    }

    .view-btn:hover i,
    .view-btn.active i {
        color: #fff;
    }

    /* Products Grid */
    .products-grid {
        display: grid;
        gap: 2rem;
        transition: all 0.3s ease;
    }

    .products-grid[data-columns="2"] {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid[data-columns="3"] {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid[data-columns="4"] {
        grid-template-columns: repeat(4, 1fr);
    }

    .products-grid[data-columns="5"] {
        grid-template-columns: repeat(5, 1fr);
    }

    .products-grid .product-card {
        width: 100%;
        max-width: 100%;
        cursor: pointer;
    }

    .products-grid .product-media {
        background-color: #fff;
        border: none;
    }

    /* No Results */
    .no-results {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 4rem 2rem;
        text-align: center;
        grid-column: 1 / -1;
    }

    .no-results i {
        font-size: 4rem;
        color: var(--muted);
        margin-bottom: 1rem;
    }

    .no-results h3 {
        margin: 0 0 0.5rem;
        font-size: 1.5rem;
        color: var(--dark);
    }

    .no-results p {
        margin: 0;
        color: var(--muted);
        font-size: 0.95rem;
    }

    /* Pagination Styles */
    .pagination-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 3rem;
        padding-top: 2rem;
        border-top: 1px solid var(--border);
    }

    .pagination {
        display: flex;
        gap: 0.5rem;
        align-items: center;
        flex-wrap: wrap;
    }

    .pagination a,
    .pagination span {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        height: 40px;
        padding: 0 0.75rem;
        border: 1px solid var(--border);
        border-radius: 4px;
        background-color: #fff;
        color: var(--dark);
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .pagination a:hover {
        background-color: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }

    .pagination .active {
        background-color: var(--primary);
        color: #fff;
        border-color: var(--primary);
        cursor: default;
    }

    .pagination .disabled {
        opacity: 0.5;
        cursor: not-allowed;
        pointer-events: none;
    }

    .pagination .dots {
        border: none;
        background: none;
        cursor: default;
        pointer-events: none;
    }

    .pagination i {
        font-size: 1.1rem;
    }

    /* Mobile Filter Button - Hidden by default */
    .mobile-filter-btn {
        display: none;
        align-items: center;
        gap: 0.5rem;
        padding: 0.65rem 1.25rem;
        background-color: var(--dark);
        color: #fff;
        border: none;
        border-radius: 4px;
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mobile-filter-btn i {
        font-size: 1.1rem;
    }

    .mobile-filter-btn:active {
        transform: scale(0.95);
    }

    /* Bottom Sheet Overlay */
    .filter-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .filter-overlay.active {
        display: block;
        opacity: 1;
    }

    /* Bottom Sheet */
    .filter-bottom-sheet {
        display: none;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #fff;
        border-radius: 20px 20px 0 0;
        z-index: 9999;
        max-height: 80vh;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    }

    .filter-bottom-sheet.active {
        display: block;
        transform: translateY(0);
    }

    .bottom-sheet-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.25rem 1.5rem;
        border-bottom: 1px solid var(--border);
        position: sticky;
        top: 0;
        background-color: #fff;
        border-radius: 20px 20px 0 0;
        z-index: 1;
    }

    .bottom-sheet-header h3 {
        margin: 0;
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--dark);
    }

    .close-bottom-sheet {
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        background-color: #f5f5f5;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .close-bottom-sheet i {
        font-size: 1.25rem;
        color: var(--dark);
    }

    .close-bottom-sheet:active {
        transform: scale(0.9);
    }

    .bottom-sheet-content {
        padding: 1.5rem;
        max-height: calc(80vh - 80px);
        overflow-y: auto;
    }

    /* Mobile Bottom Sheet Filter Styles */
    .filter-bottom-sheet .filter-group {
        border-bottom: 1px solid var(--border);
        padding: 1.25rem 0;
    }

    .filter-bottom-sheet .filter-group:last-child {
        border-bottom: none;
    }

    .filter-bottom-sheet .filter-group-header {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: none;
        border: none;
        padding: 0;
        font-size: 1rem;
        font-weight: 600;
        color: var(--dark);
        cursor: pointer;
        text-align: left;
    }

    .filter-bottom-sheet .filter-group-header i {
        transition: transform 0.3s ease;
        font-size: 1.25rem;
    }

    .filter-bottom-sheet .filter-group-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .filter-bottom-sheet .filter-group-content.active {
        max-height: 500px;
    }

    .filter-bottom-sheet .filter-checkbox {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        margin-bottom: 0.75rem;
        cursor: pointer;
        font-size: 0.95rem;
        color: var(--dark);
    }

    .filter-bottom-sheet .filter-checkbox:last-child {
        margin-bottom: 0;
    }

    .filter-bottom-sheet .filter-checkbox input[type="radio"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: var(--primary);
    }

    .filter-bottom-sheet .filter-checkbox span {
        user-select: none;
    }

    /* Mobile Price Range Slider */
    .filter-bottom-sheet .price-range-slider {
        position: relative;
        height: 40px;
        margin: 0 0 1.5rem 0;
        display: flex;
        align-items: center;
    }

    .filter-bottom-sheet .price-range-slider::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 5px;
        background: var(--border);
        border-radius: 5px;
        z-index: 0;
    }

    .filter-bottom-sheet .price-range-slider input[type="range"] {
        position: absolute;
        width: 100%;
        height: 5px;
        background: transparent;
        pointer-events: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        margin: 0;
        padding: 0;
        z-index: 1;
    }

    .filter-bottom-sheet .price-range-slider input[type="range"]::-webkit-slider-runnable-track {
        height: 5px;
        background: transparent;
        border: none;
    }

    .filter-bottom-sheet .price-range-slider input[type="range"]::-moz-range-track {
        height: 5px;
        background: transparent;
        border: none;
    }

    .filter-bottom-sheet .price-range-slider input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #1d1d1f;
        cursor: pointer;
        pointer-events: all;
        border: 3px solid #fff;
        margin-top: -7.5px;
        position: relative;
        z-index: 2;
    }

    .filter-bottom-sheet .price-range-slider input[type="range"]::-moz-range-thumb {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #1d1d1f;
        cursor: pointer;
        pointer-events: all;
        border: 3px solid #fff;
        position: relative;
        z-index: 2;
    }

    .filter-bottom-sheet .price-range-slider input[type="range"]:focus {
        outline: none;
    }

    .filter-bottom-sheet .price-range-slider input[type="range"]::-webkit-slider-thumb:hover {
        background: #852723;
    }

    .filter-bottom-sheet .price-range-slider input[type="range"]::-moz-range-thumb:hover {
        background: #852723;
    }

    .filter-bottom-sheet .price-range-slider input[type="range"]:active::-webkit-slider-thumb {
        background: #852723;
    }

    .filter-bottom-sheet .price-range-slider input[type="range"]:active::-moz-range-thumb {
        background: #852723;
    }

    .filter-bottom-sheet .price-inputs {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .filter-bottom-sheet .price-input-group {
        position: relative;
        flex: 1;
    }

    .filter-bottom-sheet .currency-symbol {
        position: absolute;
        left: 0.85rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--muted);
        font-weight: 600;
        font-size: 0.9rem;
        pointer-events: none;
    }

    .filter-bottom-sheet .price-input-group input[type="number"] {
        width: 100%;
        padding: 0.7rem 0.85rem 0.7rem 2rem;
        border: 1px solid var(--border);
        border-radius: 4px;
        font-size: 0.9rem;
        color: var(--dark);
        background-color: #fff;
    }

    .filter-bottom-sheet .price-input-group input[type="number"]:focus {
        outline: none;
        border-color: var(--primary);
    }

    .filter-bottom-sheet .price-separator {
        color: var(--muted);
        font-size: 0.85rem;
        font-weight: 500;
    }

    .bottom-sheet-actions {
        padding: 1rem 1.5rem;
        border-top: 1px solid var(--border);
        display: flex;
        gap: 1rem;
        position: sticky;
        bottom: 0;
        background-color: #fff;
    }

    .btn-clear-filters,
    .btn-apply-filters {
        flex: 1;
        padding: 0.85rem 1.5rem;
        border-radius: 4px;
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
    }

    .btn-clear-filters {
        background-color: #f5f5f5;
        color: var(--dark);
    }

    .btn-apply-filters {
        background-color: var(--dark);
        color: #fff;
    }

    .btn-clear-filters:active,
    .btn-apply-filters:active {
        transform: scale(0.95);
    }

    /* Responsive Styles */
    @media (max-width: 1200px) {
        .products-layout {
            grid-template-columns: 250px 1fr;
            gap: 2rem;
        }

        .products-grid[data-columns="5"] {
            grid-template-columns: repeat(4, 1fr);
        }
    }

    @media (max-width: 992px) {
        .products-layout {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .products-sidebar {
            position: static;
        }

        .filters-wrapper {
            border: 1px solid var(--border);
            padding: 1.5rem;
            border-radius: 8px;
        }

        .products-grid[data-columns="4"],
        .products-grid[data-columns="5"] {
            grid-template-columns: repeat(3, 1fr);
        }

        /* Hide grid view controls on tablet */
        .products-view-controls {
            display: none !important;
        }
    }

    @media (max-width: 768px) {
        .products-listing-section {
            padding: 1.5rem 0 4rem;
        }

        /* Hide desktop sidebar */
        .products-sidebar {
            display: none;
        }

        /* Show mobile filter button */
        .mobile-filter-btn {
            display: flex;
        }

        .products-toolbar {
            flex-direction: row;
            gap: 1rem;
            align-items: center;
            justify-content: space-between;
        }

        .products-count {
            font-size: 0.9rem;
        }

        /* Hide grid view controls on mobile */
        .products-view-controls {
            display: none !important;
        }

        .products-grid[data-columns="2"],
        .products-grid[data-columns="3"],
        .products-grid[data-columns="4"],
        .products-grid[data-columns="5"] {
            grid-template-columns: repeat(2, 1fr) !important;
        }

        .products-grid {
            gap: 1.5rem;
        }

        .pagination {
            gap: 0.35rem;
        }

        .pagination a,
        .pagination span {
            min-width: 36px;
            height: 36px;
            padding: 0 0.5rem;
            font-size: 0.9rem;
        }
    }

    @media (max-width: 576px) {
        .products-listing-section {
            padding: 1rem 0 3rem;
        }

        .filters-wrapper {
            padding: 1.25rem;
        }

        .filters-title {
            font-size: 1.25rem;
        }

        .products-toolbar {
            margin-bottom: 1.5rem;
        }

        .mobile-filter-btn {
            padding: 0.6rem 1rem;
            font-size: 0.9rem;
        }

        /* Ensure grid view controls stay hidden */
        .products-view-controls {
            display: none !important;
        }

        .products-grid {
            gap: 1rem;
        }

        .products-grid[data-columns="2"],
        .products-grid[data-columns="3"],
        .products-grid[data-columns="4"],
        .products-grid[data-columns="5"] {
            grid-template-columns: repeat(2, 1fr) !important;
        }

        .products-grid .product-media {
            height: 220px;
            padding: 0.75rem;
        }

        .bottom-sheet-content {
            padding: 1rem 1.25rem;
        }

        .bottom-sheet-actions {
            padding: 1rem 1.25rem;
        }

        .pagination-wrapper {
            margin-top: 2rem;
            padding-top: 1.5rem;
        }

        .pagination a,
        .pagination span {
            min-width: 32px;
            height: 32px;
            padding: 0 0.4rem;
            font-size: 0.85rem;
        }
    }