/* Filter Sidebar Styles */
.filter-sidebar {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.filter-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #1a1a1a;
}

.filter-header h3 i {
    color: #e74c3c;
    margin-right: 8px;
}

.clear-filters {
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.2s;
}

.clear-filters:hover {
    background: #fee;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h4 {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: #333;
    font-weight: 600;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
    transition: color 0.2s;
}

.filter-checkbox:hover {
    color: #e74c3c;
}

.filter-checkbox input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #e74c3c;
}

/* Shop Layout with Filters */
.shop-with-filters {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    padding: 40px 0;
}

@media (max-width: 768px) {
    .shop-with-filters {
        grid-template-columns: 1fr;
    }
    
    .filter-sidebar {
        position: static;
        max-height: none;
    }
}

/* Search Bar */
.search-bar {
    margin-bottom: 25px;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.search-bar input:focus {
    outline: none;
    border-color: #e74c3c;
}

/* Results Count */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#result-count {
    font-size: 0.95rem;
    color: #666;
}

/* No Results Message */
#no-results {
    text-align: center;
    padding: 60px 20px;
    display: none;
}

#no-results i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 20px;
}

#no-results h3 {
    color: #666;
    margin-bottom: 10px;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #27ae60;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Updated Product Card */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.product-card .product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card .product-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8f8f8;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card .product-info {
    padding: 15px;
}

.product-card .product-brand {
    font-size: 0.8rem;
    color: #e74c3c;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card h3 {
    font-size: 0.95rem;
    margin: 8px 0;
    color: #1a1a1a;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
}

.product-card .product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.product-card .btn-add-cart {
    width: calc(100% - 30px);
    margin: 0 15px 15px;
    padding: 12px;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.product-card .btn-add-cart:hover {
    background: #e74c3c;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}