.shop-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    position: relative;
}

.shop-header {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.shop-header h1 {
    font-size: 2rem;
    color: #333;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort-options label {
    font-size: 0.9rem;
    color: #555;
}

.sort-options select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
}

.filters {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.1rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
    width: 16px;
    height: 16px;
}

.filter-option label {
    font-size: 0.9rem;
    color: #555;
}

.close-filters {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    color: #666;
}

.shop-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.price-range {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-range input[type="range"] {
    width: 100%;
}

.price-values {
    display: flex;
    justify-content: space-between;
    color: #666;
}

.rating-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rating-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-option input[type="radio"] {
    width: 16px;
    height: 16px;
}

.rating-option label {
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-option .stars {
    color: #ffc107;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product:hover {
    transform: translateY(-5px);
}

.product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 1rem;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-price {
    font-weight: bold;
    color: #007bff;
    margin-bottom: 1rem;
}

.product-rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.add-to-cart {
    width: 100%;
    padding: 0.8rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.add-to-cart:hover {
    background: #0056b3;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.page-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.filter-toggle {
    display: none;
    padding: 0.8rem 1.5rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 1rem;
}

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

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

@media (max-width: 1024px) {
    .shop-container {
        grid-template-columns: 200px 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .shop-container {
        grid-template-columns: 1fr;
    }

    .filter-toggle {
        display: block;
    }

    .filters {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .filters.show {
        left: 0;
    }

    .close-filters {
        display: block;
    }

    .shop-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sort-options {
        width: 100%;
    }

    .sort-options select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product {
        max-width: 300px;
        margin: 0 auto;
    }

    .filter-section h3 {
        font-size: 1rem;
    }

    .filter-option label {
        font-size: 0.8rem;
    }
} 