/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 30px;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-text {
  
    
    color: #d4af37;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Content Layout */
.content-wrapper {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

/* Sidebar Styles */
.sidebar {
    flex: 0 0 220px;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.filter-section {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.filter-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.filter-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.category-group {
    margin-bottom: 15px;
}

.category-group h4 {
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-group ul {
    list-style: none;
    padding-left: 10px;
}

.category-group ul li {
    margin-bottom: 5px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-size: 13px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
}

.stars {
    color: #ffc107;
    display: inline-block;
}

.custom-price p {
    font-size: 14px;
    margin: 10px 0;
}

.price-inputs {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.price-inputs input {
    width: 70px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 12px;
}

.price-inputs button {
    padding: 5px 10px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

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

.product-card {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.product-image {
    height: 200px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 15px;
    text-align: center;
}

.brand {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.name {
    font-size: 14px;
    margin-bottom: 8px;
    color: #555;
}

.rating {
    margin-bottom: 8px;
}

.star {
    color: #ddd;
    font-size: 14px;
}

.star.filled {
    color: #ffc107;
}

.rating-count {
    font-size: 12px;
    color: #777;
    margin-left: 3px;
}

.price {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.add-to-cart {
    background-color: #333;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.add-to-cart:hover {
    background-color: #555;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    gap: 5px;
}

.pagination a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.pagination a.active {
    background-color: #333;
    color: white;
    border-color: #333;
}

.pagination a:hover:not(.active) {
    background-color: #f5f5f5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        flex: none;
        width: 100%;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}