/* ==========================================
    Desktop Products Page Styles
    ========================================== */
@media (min-width: 1024px) {
    .products-page-container {
        display: flex;
        align-items: flex-start;
        max-width: 1600px;
        margin: 0 auto;
        padding: 12px 20px 30px;
        gap: 24px;
    }

    /* Override style.css !important for products page cards */
    .products-grid .product-card {
        border-radius: 8px !important;
        border-color: #e5e5e5 !important;
        cursor: pointer !important;
    }

    .products-grid .product-image {
        height: auto !important;
        aspect-ratio: 1 / 1;
        padding: 12px !important;
        background: #fff !important;
    }

    .products-grid .product-image img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
        border-radius: 0 !important;
        transform: none !important;
    }

    .products-grid .product-card:hover .product-image img {
        transform: none !important;
    }

    /* Sticky Sidebar - Left Panel */
    .products-sidebar {
        width: 250px;
        flex-shrink: 0;
        position: sticky;
        top: 72px;
        height: calc(100vh - 100px);
        overflow-y: auto;
        align-self: flex-start;
    }

    .products-sidebar::-webkit-scrollbar {
        width: 4px;
    }

    .products-sidebar::-webkit-scrollbar-track {
        background: #f5f5f5;
    }

    .products-sidebar::-webkit-scrollbar-thumb {
        background: #ddd;
        border-radius: 4px;
    }

    .products-sidebar::-webkit-scrollbar-thumb:hover {
        background: #bbb;
    }

    .filter-section {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 6px;
        padding: 12px;
        margin-bottom: 8px;
    }

    .filter-title {
        font-size: 13px;
        font-weight: 600;
        color: #333;
        margin-bottom: 10px;
        padding-bottom: 8px;
        border-bottom: 1px solid #f0f0f0;
    }

    /* Category Filter - Scrollable */
    .filter-category-list {
        list-style: none;
        padding: 0;
        margin: 0;
        max-height: 220px;
        overflow-y: auto;
    }

    .filter-category-list::-webkit-scrollbar {
        width: 4px;
    }

    .filter-category-list::-webkit-scrollbar-thumb {
        background: #ddd;
        border-radius: 4px;
    }

    .filter-category-item {
        margin-bottom: 2px;
    }

    .filter-category-item > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 7px 10px;
        color: #444;
        text-decoration: none;
        font-size: 12px;
        border-radius: 4px;
        transition: all 0.15s;
    }

    .filter-category-item > a:hover {
        background: #f5f5f5;
        color: #E60023;
    }

    .filter-category-item.active > a {
        background: #E60023;
        color: #fff;
    }

    .filter-category-item > a::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: 10px;
        opacity: 0.6;
        transition: transform 0.25s ease;
    }

    .filter-category-item.active > a::after {
        transform: rotate(180deg);
    }

    .filter-subcategory-list {
        list-style: none;
        padding: 0 0 0 14px;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease, padding 0.25s ease, opacity 0.25s ease;
        opacity: 0;
    }

    .filter-category-item.active > .filter-subcategory-list {
        max-height: 500px;
        padding: 4px 0 4px 14px;
        opacity: 1;
    }

    .filter-subcategory-list li a {
        display: block;
        padding: 6px 10px;
        color: #666;
        text-decoration: none;
        font-size: 11px;
        border-radius: 4px;
        transition: all 0.15s;
    }

    .filter-subcategory-list li a:hover {
        background: #f5f5f5;
        color: #E60023;
    }

    .filter-subcategory-list li.active a {
        color: #E60023;
        font-weight: 500;
    }

    /* Price Range */
    .price-presets {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 10px;
    }

    .price-preset {
        padding: 4px 8px;
        font-size: 11px;
        color: #666;
        text-decoration: none;
        border: 1px solid #ddd;
        border-radius: 4px;
        transition: all 0.15s;
    }

    .price-preset:hover {
        border-color: #E60023;
        color: #E60023;
    }

    .price-preset.active {
        background: #E60023;
        border-color: #E60023;
        color: #fff;
    }

    .filter-price-form {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .price-inputs {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .price-input {
        flex: 1;
        min-width: 0;
        width: 100%;
        padding: 6px 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 12px;
        box-sizing: border-box;
    }

    .price-input:focus {
        outline: none;
        border-color: #E60023;
    }

    .price-sep {
        color: #999;
        font-size: 11px;
        flex-shrink: 0;
    }

    .price-apply-btn {
        padding: 6px 10px;
        background: #E60023;
        color: #fff;
        border: none;
        border-radius: 4px;
        font-size: 11px;
        cursor: pointer;
        transition: background 0.15s;
    }

    .price-apply-btn:hover {
        background: #cc0000;
    }

    /* Country & City Filters */
    .filter-select {
        width: 100%;
        padding: 8px 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 12px;
        color: #333;
        background: #fff;
        cursor: pointer;
    }

    .filter-select:focus {
        outline: none;
        border-color: #E60023;
    }

    /* Clear Filters */
    .clear-filters-btn {
        display: block;
        text-align: center;
        padding: 8px;
        color: #666;
        text-decoration: none;
        font-size: 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        transition: all 0.15s;
    }

    .clear-filters-btn:hover {
        border-color: #E60023;
        color: #E60023;
    }

    /* Main Content - Right Panel */
    .products-main {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        width: calc(100% - 274px);
        align-self: flex-start;
    }

    /* Products Content Area */
    .products-content {
        flex: 1;
        width: 100%;
    }

    /* Top Bar */
    .products-topbar {
        position: relative;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 6px;
        padding: 8px 14px;
        margin-top: 20px;
        margin-bottom: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 1;
        flex-shrink: 0;
    }

    .products-count {
        font-size: 12px;
        color: #666;
    }

    .products-sort {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .sort-form {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .sort-select {
        padding: 6px 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        background: #fff;
        font-size: 11px;
        color: #333;
        cursor: pointer;
        transition: border-color 0.15s;
        min-width: 120px;
    }

    .sort-select:focus {
        outline: none;
        border-color: #E60023;
    }

    .sort-label {
        font-size: 11px;
        color: #999;
    }

    /* Hide old sort options */
    .sort-options {
        display: none !important;
    }
}

    /* ==========================================
    PRODUCT CARD - CLEAN COMPACT DESIGN
    ========================================== */
@media (min-width: 1024px) {
    /* Product Grid - 5 columns compact */
    .products-grid {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 16px;
        align-items: stretch;
    }

    .product-card {
        background: #fff;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        overflow: hidden;
        transition: all 0.2s;
        display: flex;
        flex-direction: column;
        min-width: 0;
        height: 100%;
    }

    .product-card:hover {
        border-color: #ff6a00;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }

    /* Product Card Link - no underline */
    .product-card-link {
        text-decoration: none;
        color: inherit;
    }
    .product-card-link:hover {
        color: inherit;
    }

    .product-image {
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 0.78;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background: #fff;
        padding: 8px;
        box-sizing: border-box;
    }

    .product-image a.product-card-link {
        display: flex;
        width: 100%;
        height: 100%;
    }

    .product-image img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center;
        display: block;
    }

    .product-image-placeholder {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        background: #f9fafb;
        border-radius: 4px;
        color: #d1d5db;
        font-size: 28px;
    }

    .product-badge {
        position: absolute;
        top: 4px;
        left: 4px;
        background: #E60023;
        color: #fff;
        padding: 2px 5px;
        font-size: 8px;
        border-radius: 2px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .product-info {
        padding: 9px 10px 7px;
        flex: 1;
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .product-title {
        font-size: 13px;
        font-weight: 600;
        line-height: 1.35;
        color: #111827;
        margin: 0 0 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 34px;
    }

    .product-title a.product-card-link {
        color: inherit;
        text-decoration: none;
    }

    .product-title a.product-card-link:hover {
        color: #E60023;
    }

    .product-price {
        font-size: 16px;
        font-weight: 700;
        color: #111827;
        margin-bottom: 6px;
    }

    .product-price small {
        font-size: 11px;
        font-weight: 400;
        color: #999;
    }

    .product-price-contact {
        font-size: 15px;
        font-weight: 500;
        color: #374151;
        margin-bottom: 6px;
    }

    .product-moq {
        font-size: 11px;
        color: #9ca3af;
        margin-bottom: 6px;
    }

    /* Seller Status Badges */
    .seller-status-badge {
        display: inline-block;
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 10px;
        font-weight: 600;
        margin-bottom: 4px;
    }
    .seller-status-badge.basic { background: #dbeafe; color: #1d4ed8; }
    .seller-status-badge.scale { background: #d1fae5; color: #065f46; }
    .seller-status-badge.industry { background: #fef3c7; color: #92400e; }

    /* Action Buttons Row */
    .product-actions-row {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 8px;
        margin-top: auto;
        width: 100%;
        box-sizing: border-box;
    }

    .action-btn {
        height: 31px;
        min-width: 0;
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        border: 0;
        cursor: pointer;
        text-decoration: none;
        transition: all 0.15s;
    }

    .share-btn {
        background: #f5f5f5;
        color: #666;
        font-size: 13px;
    }

    .share-btn:hover {
        background: #eee;
        color: #333;
    }

    .contact-btn {
        width: 100%;
        background: #22c55e;
        color: #fff;
        font-size: 12px;
        font-weight: 600;
    }

    .contact-btn:hover {
        background: #16a34a;
    }

    /* Wishlist Button */
    .product-wishlist-btn {
        position: absolute;
        top: 6px;
        right: 6px;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: #fff;
        border: 1px solid #eee;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s;
        z-index: 5;
    }

    .product-wishlist-btn:hover {
        background: #fef0f0;
        border-color: #E60023;
    }

    .product-wishlist-btn i {
        font-size: 12px;
        color: #999;
    }

    .product-wishlist-btn.active i {
        color: #E60023;
    }

    .product-wishlist-btn.active i::before {
        content: '\f004';
    }

    /* Empty State */
    .no-products {
        text-align: center;
        padding: 60px 20px;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 8px;
    }

    .no-products i {
        font-size: 56px;
        color: #ddd;
        margin-bottom: 16px;
    }

    .no-products h2 {
        font-size: 18px;
        color: #333;
        margin-bottom: 8px;
    }

    .no-products p {
        color: #888;
        font-size: 13px;
        margin-bottom: 16px;
    }

    .browse-btn {
        display: inline-block;
        padding: 10px 28px;
        background: #E60023;
        color: #fff;
        text-decoration: none;
        border-radius: 6px;
        font-size: 13px;
        font-weight: 500;
        transition: background 0.15s;
    }

    .browse-btn:hover {
        background: #cc0000;
    }

    /* Pagination */
    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin-top: 24px;
        padding: 16px 0;
    }

    .page-btn {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        color: #666;
        text-decoration: none;
        font-size: 12px;
        transition: all 0.15s;
    }

    .page-btn:hover {
        border-color: #E60023;
        color: #E60023;
    }

    .page-btn.active {
        background: #E60023;
        border-color: #E60023;
        color: #fff;
    }

    .page-ellipsis {
        padding: 0 6px;
        font-size: 12px;
    }

    .prev-btn,
    .next-btn {
        font-weight: 500;
    }
}

/* ==========================================
   Tablet Adjustments (768px - 1023px)
   ========================================== */
@media (min-width: 769px) and (max-width: 1023px) {
    .products-page-container {
        display: flex;
        flex-direction: column;
        padding: 16px;
    }

    .products-sidebar {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 16px;
    }

    .filter-section {
        flex: 1;
        min-width: 200px;
    }

    .products-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        align-items: stretch;
    }

    .product-card {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .product-image {
        height: auto !important;
        aspect-ratio: 1 / 0.78;
        padding: 8px !important;
        background: #fff !important;
    }

    .product-image img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
        transform: none !important;
    }

    .product-card:hover .product-image img {
        transform: none !important;
    }

    .product-info {
        padding: 9px 10px 7px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .product-title {
        font-size: 13px;
        min-height: 34px;
    }

    .product-price {
        font-size: 14px;
    }
}

/* ==========================================
    Mobile Products Page (max-width: 768px)
    ========================================== */
@media (max-width: 768px) {
    .products-page-container {
        display: flex !important;
        flex-direction: column !important;
        padding: 12px;
        gap: 10px;
    }

    .products-sidebar {
        display: none !important;
    }

    .products-main {
        width: 100% !important;
        flex: none !important;
    }

    .mobile-products-header {
        font-size: 18px;
        font-weight: 700;
        color: #333;
        margin: 0;
    }

    .products-topbar {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px;
        background: #fff;
        border-radius: 8px;
        padding: 12px;
        border: 1px solid #eee;
        position: static !important;
        z-index: auto !important;
        margin-bottom: 0 !important;
    }

    .products-count {
        font-size: 13px;
        color: #666;
    }

    .products-sort {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .sort-label {
        display: none !important;
    }

    .sort-form {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .sort-select {
        width: 100%;
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: #fff;
        font-size: 12px;
        color: #333;
        cursor: pointer;
        min-width: 0;
        -webkit-appearance: menulist;
        appearance: menulist;
        z-index: 500;
        position: relative;
    }

    .sort-select:focus {
        outline: none;
        border-color: #E60023;
    }

    /* Mobile Filter Button */
    .mobile-filter-btn {
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        padding: 8px 14px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: #fff;
        font-size: 12px;
        color: #333;
        cursor: pointer;
        flex-shrink: 0;
    }

    .mobile-filter-btn:active {
        background: #f5f5f5;
    }

    .mobile-filter-btn i {
        font-size: 13px;
        color: #666;
    }

    .filter-sort-row {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .filter-sort-row .products-sort {
        flex: 1;
    }

    .products-content {
        width: 100% !important;
        flex: none !important;
    }

    .products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-top: 0 !important;
    }

    .product-card {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 8px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .product-image {
        position: relative;
        width: 100%;
        height: auto !important;
        aspect-ratio: 1 / 0.82;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        padding: 8px !important;
        box-sizing: border-box;
    }

    .product-image a.product-card-link {
        display: flex;
        width: 100%;
        height: 100%;
    }

    .product-image img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
        transform: none !important;
    }

    .product-card:hover .product-image img {
        transform: none !important;
    }

    .product-wishlist-btn {
        position: absolute;
        top: 6px;
        right: 6px;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #fff;
        border: 1px solid #eee;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 5;
        font-size: 12px;
        color: #999;
    }

    .product-wishlist-btn:active {
        background: #fef0f0;
        border-color: #E60023;
    }

    .product-wishlist-btn.active {
        color: #E60023;
    }

    .product-info {
        padding: 9px 10px 7px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .product-title {
        font-size: 12px;
        font-weight: 500;
        color: #333;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.35;
        min-height: 2.7em;
        margin-bottom: 4px;
    }

    .product-title a.product-card-link {
        color: inherit;
        text-decoration: none;
    }

    .product-price {
        font-size: 14px;
        font-weight: 700;
        color: #E60023;
        margin-bottom: 2px;
    }

    .product-price small {
        font-size: 10px;
        font-weight: 400;
        color: #999;
    }

    .product-price-contact {
        font-size: 13px;
        font-weight: 500;
        color: #374151;
        margin-bottom: 2px;
    }

    .product-moq {
        font-size: 10px;
        color: #999;
        margin-bottom: 6px;
    }

    .product-actions-row {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 6px;
        margin-top: auto;
    }

    .action-btn {
        height: 31px;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        border: 0;
        cursor: pointer;
        text-decoration: none;
    }

    .share-btn {
        background: #f5f5f5;
        color: #666;
        font-size: 12px;
    }

    .share-btn:active {
        background: #eee;
    }

    .contact-btn {
        background: #22c55e;
        color: #fff;
        font-size: 11px;
        font-weight: 600;
    }

    .contact-btn:active {
        background: #16a34a;
    }

    /* Empty State */
    .no-products {
        text-align: center;
        padding: 60px 20px;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 8px;
    }

    .no-products i {
        font-size: 48px;
        color: #ddd;
        margin-bottom: 16px;
    }

    .no-products h2 {
        font-size: 16px;
        color: #333;
        margin-bottom: 8px;
    }

    .no-products p {
        font-size: 13px;
        color: #888;
        margin-bottom: 16px;
    }

    .browse-btn {
        display: inline-block;
        padding: 10px 24px;
        background: #E60023;
        color: #fff;
        text-decoration: none;
        border-radius: 6px;
        font-size: 13px;
        font-weight: 500;
    }

    /* Pagination */
    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin-top: 16px;
        padding: 16px 0;
    }

    .page-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        border: 1px solid #ddd;
        border-radius: 6px;
        color: #666;
        text-decoration: none;
        font-size: 12px;
        transition: all 0.15s;
    }

    .page-btn:hover {
        border-color: #E60023;
        color: #E60023;
    }

    .page-btn.active {
        background: #E60023;
        border-color: #E60023;
        color: #fff;
    }

    .page-ellipsis {
        padding: 0 6px;
        color: #999;
        font-size: 12px;
    }

    .prev-btn,
    .next-btn {
        font-weight: 500;
    }

    /* Mobile Filter Overlay */
    .mobile-filter-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 99998;
    }

    .mobile-filter-overlay.active {
        display: block;
    }

    /* Mobile Filter Drawer */
    .mobile-filter-drawer {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-radius: 16px 16px 0 0;
        z-index: 99999;
        max-height: 75vh;
        overflow-y: auto;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .mobile-filter-drawer.active {
        display: block;
        transform: translateY(0);
    }

    .mobile-filter-drawer-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px;
        border-bottom: 1px solid #eee;
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 1;
    }

    .mobile-filter-drawer-title {
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }

    .mobile-filter-drawer-close {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #666;
        font-size: 18px;
        border: none;
        background: none;
    }

    .mobile-filter-drawer-body {
        padding: 16px;
    }

    .mobile-filter-group {
        margin-bottom: 16px;
    }

    .mobile-filter-group-title {
        font-size: 13px;
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
        padding-bottom: 6px;
        border-bottom: 1px solid #f0f0f0;
    }

    .mobile-filter-group-options {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .mobile-filter-chip {
        padding: 8px 14px;
        background: #f5f5f5;
        border-radius: 16px;
        font-size: 12px;
        color: #666;
        cursor: pointer;
        border: none;
        transition: all 0.15s;
    }

    .mobile-filter-chip:active {
        background: #e5e7eb;
    }

    .mobile-filter-chip.active {
        background: #E60023;
        color: #fff;
    }

    .mobile-filter-drawer-footer {
        display: flex;
        gap: 12px;
        padding: 16px;
        border-top: 1px solid #eee;
        position: sticky;
        bottom: 0;
        background: #fff;
    }

    .mobile-filter-reset {
        flex: 1;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: #fff;
        color: #666;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        text-align: center;
        text-decoration: none;
    }

    .mobile-filter-reset:active {
        background: #f5f5f5;
    }

    .mobile-filter-apply {
        flex: 1;
        padding: 12px;
        border: none;
        border-radius: 8px;
        background: #E60023;
        color: #fff;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        text-align: center;
    }

    .mobile-filter-apply:active {
        background: #cc0000;
    }
}

/* ==========================================
    FORCE 5 COLUMNS - ULTIMATE OVERRIDE
    ========================================== */
@media (min-width: 1024px) {
    /* Target products page specifically - most aggressive */
    .products-page-container .products-grid,
    div.products-page-container main.products-main div.products-content div.products-grid {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 14px !important;
    }
    
    /* Override any other grid rules */
    .products-page-container .product-grid,
    .products-page-container .product-list {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
    }
    
    /* Reset card dimensions */
    .products-page-container .product-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        flex: none !important;
        flex-basis: auto !important;
    }
    
    /* Reset image aspect-ratio */
    .products-page-container .product-card .product-image,
    .products-page-container .product-image {
        height: auto !important;
        aspect-ratio: 1 / 0.78 !important;
    }
}
