
:root {
    --bg-color: #F3F3F3;
    --assistant-color: #E9E9E9;
    --theme-color: #b3de4f;
    --font-color: #5c5c5c;
    --heading-color: #000;
    --border-color: #dcdcdc;
}

        /* Product Catalog Styles */
        .product-catalog {
            padding: 50px 0;
        }

        .filter-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }

        .filter-button {
            display: flex;
            align-items: center;
            gap: 10px;
            background: none;
            border: none;
            cursor: pointer;
            font-size: 14px;
            color: var(--heading-color);
            z-index: 10;
            /* Ensure button stays above other elements */
        }

        .filter-controls {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .search-container {
            position: relative;
        }

        .search-wrapper {
            position: relative;
        }

        .search-input {
            padding: 8px 40px 8px 15px;
            border-radius: 30px;
            border: 1px solid var(--border-color);
            background-color: transparent;
            font-size: 14px;
            width: 200px;
            transition: width 0.3s ease;
        }

        .search-input:focus {
            width: 250px;
            outline: none;
            border-color: var(--theme-color);
        }

        .search-suggestions {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            max-height: 200px;
            overflow-y: auto;
            background-color: #fff;
            border: 1px solid var(--border-color);
            border-radius: 5px;
            margin-top: 5px;
            z-index: 1000;
            display: none;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .search-suggestions.active {
            display: block;
        }

        .suggestion-item {
            padding: 8px 15px;
            cursor: pointer;
            transition: background-color 0.2s;
            font-size: 14px;
        }

        .suggestion-item:hover {
            background-color: #f5f5f5;
        }

        .search-button {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            color: var(--font-color);
        }

        .sort-container {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .sort-label {
            font-size: 14px;
            color: var(--font-color);
        }

        .sort-select {
            padding: 8px 15px;
            border-radius: 30px;
            border: 1px solid var(--border-color);
            background-color: transparent;
            font-size: 14px;
            color: var(--heading-color);
            cursor: pointer;
            outline: none;
        }

        .filters-sidebar {
            width: 250px;
            padding-right: 30px;
        }

        .filter-section {
            margin-bottom: 30px;
        }

        .filter-heading {
            font-size: 16px;
            font-weight: 500;
            color: var(--heading-color);
            margin-bottom: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .filter-heading button {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 18px;
            color: var(--font-color);
        }

        .filter-options {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .filter-option {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .filter-checkbox {
            appearance: none;
            width: 18px;
            height: 18px;
            border: 1px solid var(--border-color);
            border-radius: 50%;
            position: relative;
            cursor: pointer;
        }

        .filter-checkbox:checked {
            border-color: var(--theme-color);
            background-color: var(--theme-color);
        }

        .filter-checkbox:checked::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: white;
        }

        /* Radio button styles for special offers */
        .filter-radio {
            appearance: none;
            width: 18px;
            height: 18px;
            border: 2px solid var(--border-color);
            border-radius: 50%;
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .filter-radio:checked {
            border-color: var(--theme-color);
            background-color: white;
        }

        .filter-radio:checked::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: var(--theme-color);
        }

        .filter-radio:hover {
            border-color: var(--theme-color);
        }



        .filter-label {
            font-size: 14px;
            color: var(--font-color);
            cursor: pointer;
        }

        .selected-filters {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
        }

        .filter-count {
            font-size: 14px;
            color: var(--font-color);
        }

        .clear-all-btn {
            background: none;
            border: none;
            color: var(--heading-color);
            font-size: 14px;
            cursor: pointer;
            text-decoration: underline;
        }

        .view-result-btn {
            width: 100%;
            padding: 12px;
            background-color: var(--theme-color);
            color: white;
            border: none;
            border-radius: 30px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            margin-bottom: 15px;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .view-result-btn:hover {
            background-color: #9bc93a;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(179, 222, 79, 0.3);
        }

        .clear-all-mobile {
            width: 100%;
            padding: 12px;
            background-color: transparent;
            color: var(--heading-color);
            border: 1px solid var(--border-color);
            border-radius: 30px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .clear-all-mobile:hover {
            background-color: var(--border-color);
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }

        .product-card {
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
            height: 100%;
            display: flex;
            flex-direction: column;
            border: 1px solid rgba(179, 222, 79, 0.1);
            position: relative;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            will-change: transform, box-shadow;
        }

        .product-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0,0,0,0.12), 0 8px 16px rgba(179, 222, 79, 0.15);
            border-color: rgba(179, 222, 79, 0.3);
        }

        .product-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(179, 222, 79, 0.05) 0%, rgba(179, 222, 79, 0.02) 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
            border-radius: 16px;
        }

        .product-card:hover::before {
            opacity: 1;
        }

        .product-link {
            display: flex;
            flex-direction: column;
            height: 100%;
            text-decoration: none;
            color: inherit;
        }

        .product-image {
            position: relative;
            height: 280px;
            overflow: hidden;
            background: linear-gradient(135deg, #fafbfc 0%, #f1f3f5 100%);
            border-bottom: 1px solid rgba(179, 222, 79, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            border-radius: 16px 16px 0 0;
        }

        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            border-radius: 0;
            filter: contrast(1.05) saturate(1.1);
        }

        .product-card:hover .product-image img {
            transform: scale(1.1);
            filter: contrast(1.1) saturate(1.2) brightness(1.05);
        }
        
        .product-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(179, 222, 79, 0.1) 0%, rgba(92, 92, 92, 0.05) 100%);
            opacity: 0;
            transition: all 0.4s ease;
            border-radius: 16px 16px 0 0;
        }
        
        .product-card:hover .product-overlay {
            opacity: 1;
        }
        
        .wishlist-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(255, 255, 255, 0.9);
            color: #666;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 2;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .wishlist-btn svg {
            width: 16px;
            height: 16px;
            fill: currentColor;
            transition: all 0.3s ease;
        }
        
        .wishlist-btn:hover {
            background: rgba(255, 255, 255, 1);
            color: #ff4757;
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(255, 71, 87, 0.2);
        }

        .wishlist-btn.active {
            background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
            color: white;
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(255, 71, 87, 0.3);
        }
        
        .add-to-cart-btn-overlay {
            position: absolute;
            bottom: 15px;
            right: 15px;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            z-index: 3;
        }
        
        /* Desktop hover effect - show button on hover */
        .product-card:hover .add-to-cart-btn-overlay {
            opacity: 1;
            transform: translateY(0);
        }
        
        .add-to-cart-btn {
            background: rgba(179, 222, 79, 0.95);
            color: #333;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            box-shadow: 0 4px 12px rgba(179, 222, 79, 0.3);
        }
        
        .add-to-cart-btn:hover {
            background: rgba(179, 222, 79, 1);
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(179, 222, 79, 0.4);
        }
        
        .add-to-cart-btn svg {
            width: 16px;
            height: 16px;
            transition: all 0.3s ease;
        }
        
        .add-to-cart-btn:active {
            transform: scale(0.95);
        }
        
        @media (max-width: 500px) {
            .wishlist-btn {
                width: 24px;
                height: 24px;
            }
            
            .wishlist-btn svg {
                width: 14px;
                height: 14px;
            }
        }
        
        .product-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            padding: 6px 12px;
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            color: #2c3e50;
            font-size: 11px;
            border-radius: 20px;
            font-weight: 600;
            z-index: 2;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(44, 62, 80, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .best-seller {
            background: linear-gradient(135deg, #ff9f00 0%, #ffb84d 100%);
            color: white;
            border: 1px solid rgba(255, 159, 0, 0.3);
        }

        .award-winning {
            background: linear-gradient(135deg, #2874f0 0%, #4c8cff 100%);
            color: white;
            border: 1px solid rgba(40, 116, 240, 0.3);
        }
        
        .discount-badge {
            background: linear-gradient(135deg, #388e3c 0%, #4caf50 100%);
            color: white;
            font-weight: 600;
            border: 1px solid rgba(56, 142, 60, 0.3);
        }

        /* Additional badge styles for various types */
        .new-badge {
            background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
            color: white;
            border: 1px solid rgba(40, 167, 69, 0.3);
        }

        .sale-badge {
            background: linear-gradient(135deg, #dc3545 0%, #ff4757 100%);
            color: white;
            border: 1px solid rgba(220, 53, 69, 0.3);
        }

        .limited-badge {
            background: linear-gradient(135deg, #6f42c1 0%, #8e44ad 100%);
            color: white;
            border: 1px solid rgba(111, 66, 193, 0.3);
        }
        
        @keyframes pulse {
            0% {
                transform: scale(1);
                box-shadow: 0 4px 20px rgba(0,0,0,0.06);
            }
            50% {
                transform: scale(1.02);
                box-shadow: 0 8px 25px rgba(179, 222, 79, 0.15);
            }
            100% {
                transform: scale(1);
                box-shadow: 0 4px 20px rgba(0,0,0,0.06);
            }
        }

        /* Pulse animation for featured products */
        .product-card.featured {
            animation: pulse 3s ease-in-out infinite;
        }

        /* Enhanced focus states for accessibility */
        .product-card:focus-within {
            outline: 2px solid var(--theme-color);
            outline-offset: 2px;
            transform: translateY(-4px);
            box-shadow: 0 12px 30px rgba(179, 222, 79, 0.2);
        }

        .product-info {
            padding: 16px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(248,249,250,0.9) 100%);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 0 0 16px 16px;
        }

        .product-brand {
            font-size: 13px;
            color: #6c757d;
            text-transform: uppercase;
            margin-bottom: 6px;
            letter-spacing: 1px;
            font-weight: 600;
            font-family: var(--heading-font);
            line-height: 1.2;
        }

        .product-name {
            font-size: 16px;
            line-height: 1.3;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 10px;
            font-family: var(--heading-font);
            word-wrap: break-word;
            overflow-wrap: break-word;
            hyphens: auto;
            min-height: auto;
            height: auto;
        }

        .product-rating {
            display: flex;
            align-items: center;
            gap: 8px;
            padding-bottom: 10px;
            margin-bottom: 10px;
        }

        .stars {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #388e3c 0%, #4caf50 100%);
            color: white;
            font-size: 12px;
            padding: 4px 8px;
            border-radius: 12px;
            letter-spacing: 0;
            font-weight: 600;
            box-shadow: 0 2px 8px rgba(56, 142, 60, 0.2);
        }
        @media (max-width: 500px) {
               .stars {
            font-size: 8px;
            padding: 4px 6px;
        }
        }
        .rating-count {
            font-size: 13px;
            color: #6c757d;
            font-weight: 500;
        }

        .product-price {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: auto;
            padding-top: 10px;
            border-top: 1px solid rgba(179, 222, 79, 0.1);
        }

        .current-price {
            font-size: 18px;
            font-weight: 700;
            color: #2c3e50;
            font-family: var(--heading-font);
        }

        .original-price {
            font-size: 14px;
            color: #95a5a6;
            text-decoration: line-through;
            font-weight: 500;
        }
        
        .discount-percent {
            font-size: 13px;
            font-weight: 600;
            color: #27ae60;
            background: linear-gradient(135deg, rgba(39, 174, 96, 0.1) 0%, rgba(39, 174, 96, 0.05) 100%);
            padding: 2px 6px;
            border-radius: 8px;
            border: 1px solid rgba(39, 174, 96, 0.2);
        }

        /* Add to cart button on hover */
        .product-card .add-to-cart-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 15px;
            background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 30%, rgba(255,255,255,1) 100%);
            transform: translateY(100%);
            transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            border-radius: 0 0 16px 16px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .product-card:hover .add-to-cart-overlay {
            transform: translateY(0);
        }

        .add-to-cart-btn {
            width: 100%;
            padding: 10px;
            background: linear-gradient(135deg, var(--theme-color) 0%, #9bc93a 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 12px rgba(179, 222, 79, 0.3);
        }

        .add-to-cart-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(179, 222, 79, 0.4);
            background: linear-gradient(135deg, #9bc93a 0%, var(--theme-color) 100%);
        }

        /* Loading animation for cards */
        .product-card.loading {
            opacity: 0.7;
            pointer-events: none;
        }

        .product-card.loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 40px;
            height: 40px;
            margin: -20px 0 0 -20px;
            border: 3px solid rgba(179, 222, 79, 0.3);
            border-top: 3px solid var(--theme-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            z-index: 10;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Card shimmer effect for loading state */
        .product-card.shimmer {
            position: relative;
            overflow: hidden;
        }

        .product-card.shimmer::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
            animation: shimmer 1.5s infinite;
            z-index: 1;
        }

        @keyframes shimmer {
            0% {
                left: -100%;
            }
            100% {
                left: 100%;
            }
        }
        
        /* Notification System */
        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            background: #ffffff;
            color: #333;
            padding: 15px 20px;
            border-radius: 8px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            z-index: 9999;
            border-left: 4px solid var(--theme-color);
            opacity: 0;
            transform: translateX(100%);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            min-width: 300px;
            max-width: 400px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        
        .notification.show {
            opacity: 1;
            transform: translateX(0);
        }
        
        .notification.success {
            border-left-color: #28a745;
            background: linear-gradient(135deg, rgba(40, 167, 69, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
        }
        
        .notification.error {
            border-left-color: #dc3545;
            background: linear-gradient(135deg, rgba(220, 53, 69, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
        }
        
        .notification.wishlist {
            border-left-color: #ff4757;
            background: linear-gradient(135deg, rgba(255, 71, 87, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
        }
        
        .notification-content {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .notification-icon {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            color: white;
        }
        
        .notification.success .notification-icon {
            background: #28a745;
        }
        
        .notification.error .notification-icon {
            background: #dc3545;
        }
        
        .notification.wishlist .notification-icon {
            background: #ff4757;
        }
        
        .notification-text {
            flex: 1;
            font-size: 14px;
            font-weight: 500;
            line-height: 1.4;
        }
        
        .notification-close {
            background: none;
            border: none;
            color: #666;
            cursor: pointer;
            font-size: 18px;
            padding: 0;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 0.3s ease;
        }
        
        .notification-close:hover {
            color: #333;
        }
        
        @media (max-width: 576px) {
            .notification {
                left: 10px;
                right: 10px;
                top: 10px;
                min-width: auto;
                max-width: none;
                width: calc(100% - 20px);
            }
        }

        .catalog-container {
            display: flex;
            gap: 30px;
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
        }

        .filters-sidebar {
            width: 280px;
            padding: 20px;
            transition: transform 0.3s ease, opacity 0.3s ease;
            position: sticky;
            top: 20px;
            height: calc(100vh - 100px);
            overflow-y: auto;
            z-index: 10;
            background-color: var(--bg-color);
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            transform: translateX(0);
            opacity: 1;
            visibility: visible;
        }

        .filters-sidebar.collapsed {
            transform: translateX(-100%) !important;
            position: absolute !important;
            left: 0 !important;
            opacity: 0 !important;
            visibility: hidden !important;
            display: none !important;
        }

        .products-grid {
            flex: 1;
            transition: all 0.3s ease;
            width: calc(100% - 280px);
        }

        .products-grid.expanded {
            width: 100%;
            margin-left: 0;
        }

        @media (max-width: 991px) {
            .products-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 25px;
            }

            .product-card {
                border-radius: 14px;
            }

            .product-image {
                height: 240px;
                padding: 0;
                border-radius: 14px 14px 0 0;
            }

            .product-info {
                padding: 14px;
                border-radius: 0 0 14px 14px;
            }

            .product-name {
                font-size: 15px;
                margin-bottom: 8px;
                line-height: 1.3;
                word-wrap: break-word;
                overflow-wrap: break-word;
                hyphens: auto;
                min-height: auto;
                height: auto;
            }

            .product-brand {
                font-size: 12px;
                margin-bottom: 5px;
            }

            .product-rating {
                padding-bottom: 8px;
                margin-bottom: 8px;
            }

            .current-price {
                font-size: 16px;
            }
        }

        /* Mobile filter header styles */
        .mobile-filter-header {
            display: none;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border-color);
        }

        .mobile-filter-header h3 {
            font-size: 18px;
            font-weight: 500;
            color: var(--heading-color);
            margin: 0;
        }

        .mobile-close-filter {
            background: none;
            border: none;
            cursor: pointer;
            padding: 5px;
            color: var(--font-color);
        }

        @media (max-width: 767px) {
            .product-image img {
                height: 100%;
            }
            
            .catalog-container {
                flex-direction: column;
            }

            .mobile-filter-header {
                display: flex;
            }

            .filters-sidebar {
                width: 85%;
                max-width: 320px;
                padding-right: 0;
                margin-bottom: 0;
                position: fixed;
                height: 100vh;
                top: 0;
                left: 0;
                overflow-y: auto;
                z-index: 1000;
                padding: 20px;
                transform: translateX(0);
                background-color: var(--bg-color);
                box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
                transition: transform 0.3s ease-in-out;
                border-radius: 0 16px 16px 0;
            }

            .filters-sidebar.collapsed {
                transform: translateX(-100%);
            }

            .products-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
                width: 100% !important;
                margin-left: 0 !important;
            }

            .products-grid.expanded {
                width: 100%;
            }
            
            .product-card {
                border-radius: 12px;
            }
            
            .product-image {
                height: 180px;
                padding: 0;
                border-radius: 12px 12px 0 0;
            }

            .product-info {
                padding: 12px;
                border-radius: 0 0 12px 12px;
            }

            .product-name {
                font-size: 14px;
                margin-bottom: 6px;
                line-height: 1.3;
                word-wrap: break-word;
                overflow-wrap: break-word;
                hyphens: auto;
                min-height: auto;
                height: auto;
            }

            .product-brand {
                font-size: 11px;
                margin-bottom: 4px;
            }

            .product-rating {
                padding-bottom: 6px;
                margin-bottom: 6px;
            }

            .current-price {
                font-size: 16px;
            }

            .original-price {
                font-size: 13px;
            }

            .wishlist-btn {
                width: 32px;
                height: 32px;
                top: 12px;
                right: 12px;
            }

            .wishlist-btn svg {
                width: 16px;
                height: 16px;
            }
            
            .add-to-cart-btn-overlay {
                bottom: 12px;
                right: 12px;
                /* Always show on mobile/tablet - no hover required */
                opacity: 1 !important;
                transform: translateY(0) !important;
            }
            
            .add-to-cart-btn {
                width: 32px;
                height: 32px;
            }
            
            .add-to-cart-btn svg {
                width: 14px;
                height: 14px;
            }

            .product-badge {
                font-size: 10px;
                padding: 5px 10px;
                top: 12px;
                left: 12px;
                border-radius: 16px;
            }

            body.filter-open {
                overflow: hidden;
            }

            body.filter-open::after {
                content: '';
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: rgba(0, 0, 0, 0.5);
                z-index: 999;
            }

            .filters-sidebar {
                z-index: 1001;
            }

            .filter-controls {
                flex-direction: column;
                width: 100%;
                gap: 15px;
            }

            .search-container {
                width: 100%;
                position: relative;
            }

            .search-input {
                width: 100%;
                border-radius: 25px;
            }

            .search-input:focus {
                width: 100%;
            }
            
            /* Search suggestions styles */
            .search-suggestions {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                max-height: 300px;
                overflow-y: auto;
                background-color: #fff;
                border-radius: 0 0 12px 12px;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
                z-index: 1000;
                display: none;
            }
            
            .search-suggestions.active {
                display: block;
            }
            
            .suggestion-item {
                display: flex;
                align-items: center;
                padding: 12px 15px;
                cursor: pointer;
                border-bottom: 1px solid #f0f0f0;
                transition: background-color 0.2s ease;
            }
            
            .suggestion-item:last-child {
                border-bottom: none;
            }
            
            .suggestion-item:hover {
                background-color: #f9f9f9;
            }
            
            .suggestion-image {
                width: 44px;
                height: 44px;
                object-fit: cover;
                border-radius: 6px;
                margin-right: 12px;
            }
            
            .suggestion-details {
                flex: 1;
            }
            
            .suggestion-name {
                font-size: 14px;
                font-weight: 600;
                color: #2c3e50;
                margin-bottom: 4px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            
            .suggestion-price {
                font-size: 13px;
                font-weight: 600;
                color: var(--theme-color);
            }
            
            .no-suggestions {
                padding: 15px;
                text-align: center;
                color: #777;
                font-style: italic;
            }

            .sort-container {
                width: 100%;
                justify-content: space-between;
            }

            .sort-select {
                border-radius: 25px;
            }
        }
        
        @media (max-width: 480px) {
            .products-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }
            
            .product-card {
                border-radius: 10px;
            }
            
            .product-image {
                height: 160px;
                padding: 0;
                border-radius: 10px 10px 0 0;
            }
            
            .product-info {
                padding: 10px;
                border-radius: 0 0 10px 10px;
            }
            
            .product-name {
                font-size: 13px;
                margin-bottom: 6px;
                line-height: 1.3;
                word-wrap: break-word;
                overflow-wrap: break-word;
                hyphens: auto;
                min-height: auto;
                height: auto;
            }
            
            .product-brand {
                font-size: 10px;
                margin-bottom: 4px;
            }
            
            .product-rating {
                padding-bottom: 6px;
                margin-bottom: 6px;
            }
            
            .current-price {
                font-size: 15px;
            }
            
            .original-price {
                font-size: 12px;
            }

            .wishlist-btn {
                width: 28px;
                height: 28px;
                top: 10px;
                right: 10px;
            }
            
            .wishlist-btn svg {
                width: 14px;
                height: 14px;
            }
            
            .add-to-cart-btn-overlay {
                bottom: 10px;
                right: 10px;
            }
            
            .add-to-cart-btn {
                width: 28px;
                height: 28px;
            }
            
            .add-to-cart-btn svg {
                width: 12px;
                height: 12px;
            }

            /* Mobile badge adjustments */
            .product-badge {
                font-size: 9px;
                padding: 4px 8px;
                top: 10px;
                left: 10px;
                border-radius: 14px;
            }

            /* Mobile price range slider adjustments */
            .price-inputs {
                flex-direction: column;
                gap: 8px;
            }

            .price-input {
                padding: 10px 12px;
                font-size: 16px; /* Prevent zoom on iOS */
                border-radius: 20px;
            }

            .apply-price-btn {
                padding: 12px;
                font-size: 16px;
                border-radius: 20px;
            }

            .slider-thumb::-webkit-slider-thumb {
                width: 24px;
                height: 24px;
            }

            .slider-thumb::-moz-range-thumb {
                width: 24px;
                height: 24px;
            }

            .search-input {
                border-radius: 20px;
                padding: 10px 40px 10px 15px;
            }

            .sort-select {
                border-radius: 20px;
                padding: 10px 15px;
            }
        }
        
        @media (max-width: 320px) {
            .products-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .product-image {
                height: 200px;
                padding: 0;
            }
            
            .product-card {
                border-radius: 12px;
            }

            .product-name {
                font-size: 14px;
                margin-bottom: 8px;
                line-height: 1.3;
                word-wrap: break-word;
                overflow-wrap: break-word;
                hyphens: auto;
                min-height: auto;
                height: auto;
            }

            .current-price {
                font-size: 16px;
            }
        }

/* Tablet devices - Always show Add to Cart button */
@media (max-width: 1024px) and (min-width: 768px) {
    .add-to-cart-btn-overlay {
        /* Always show on tablet - no hover required */
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* Touch devices - Always show Add to Cart button */
@media (hover: none) and (pointer: coarse) {
    .add-to-cart-btn-overlay {
        /* Always show on touch devices - no hover capability */
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}
