/* Page specific styles extracted from products.html */
* { box-sizing: border-box; }
body { font-family: 'Arial', sans-serif; background-color: #f5f5f5; }

/* Top promotional banner */
.top-banner { background-image: url('img/heroslides2.jpg'); background-size: cover; background-position: center; color: #000000; padding: 60px 40px; border-radius: 8px; margin: 30px auto; max-width: 1200px; }
.top-banner .banner-content { display:flex; align-items:center; gap:20px; }
@media (max-width: 800px) { .top-banner { padding: 28px 20px; } .top-banner .banner-content { flex-direction: column; text-align: center; } }

/* Navigation - kept lightweight here (main nav styles are in main.css if duplicated) */
nav { display:flex; align-items:center; justify-content:space-between; padding:15px 40px; background:linear-gradient(135deg,#0c2a3a 0%,#294754 100%); }

.shop-container { display:flex; max-width:1400px; margin:30px auto; gap:30px; padding:0 20px; }

.filters-sidebar { flex: 0 0 280px; background: white; padding: 25px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); max-height: calc(100vh - 100px); overflow-y: auto; position: sticky; top:80px; }
.filters-sidebar::-webkit-scrollbar { width:8px; }
.filters-sidebar::-webkit-scrollbar-thumb { background:#888; border-radius:10px; }
.filter-title { font-size:18px; font-weight:700; color:#000; margin-bottom:20px; padding-bottom:15px; border-bottom:2px solid #0c2a3a; }
.filter-section { margin-bottom:30px; }

/* Products Grid */
.products-section { flex:1; }
.products-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:30px; padding-bottom:15px; border-bottom:2px solid #ddd; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-bottom:40px; }

/* Category Sections Layout for Products Page */
.products-grid .category-section { 
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.products-grid .category-section h2 { 
    font-size: 18px; 
    font-weight: 700; 
    color: #0c2a3a; 
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0c2a3a;
}

.products-grid .category-section p { 
    font-size: 12px; 
    color: #999; 
    margin-bottom: 15px; 
}

.category-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; }

.product-card { background:white; border-radius:8px; overflow:hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: all 0.3s ease; cursor:pointer; position:relative; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.product-image-container { position: relative; width: 100%; height: 280px; overflow: hidden; background-color: #f0f0f0; }
.product-image { width:100%; height:100%; object-fit:cover; transition: transform 0.3s ease; }
.product-card:hover .product-image { transform: scale(1.05); }
.product-badge { position:absolute; top:10px; left:10px; background: linear-gradient(135deg,#b8860b 0%,#daa520 100%); color:white; padding:6px 10px; font-size:11px; font-weight:700; text-transform:uppercase; }
.product-discount { position:absolute; top:10px; right:10px; background-color:#4caf50; color:white; padding:6px 10px; font-size:11px; font-weight:700; border-radius:3px; }
.product-info { padding:15px; }
.product-name { font-size:13px; font-weight:600; color:#333; margin-bottom:10px; min-height:32px; }
.product-rating { display:flex; align-items:center; gap:8px; margin-bottom:10px; font-size:12px; }
.current-price { font-size:16px; font-weight:700; color:#000; }
.original-price { font-size:12px; color:#999; text-decoration:line-through; }

.color-filter-label { display:block; width:30px; height:30px; border-radius:4px; cursor:pointer; border:2px solid transparent; }
.color-filter-item input[type="checkbox"]:checked + .color-filter-label { border-color:#000; box-shadow: 0 0 0 2px white, 0 0 0 4px #0c2a3a; }

/* Responsive */
@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) { 
    .shop-container { flex-direction: column; padding: 0 10px; } 
    .filters-sidebar { position: static; max-height: none; }
    .products-grid { grid-template-columns: 1fr; gap: 15px; }
    .category-products { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
    .products-grid .category-section h2 { font-size: 16px; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .category-products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
