/* Store page specific styles */
.page-head { background:linear-gradient(135deg, #0a0a0a, #151515); border-bottom:1px solid var(--border); padding:100px 0 36px; }
.page-head-inner { display:flex; justify-content:space-between; align-items:flex-end; }
.breadcrumb { font-size:.8rem; color:var(--muted); margin-bottom:8px; }
.breadcrumb a { color:var(--muted2); transition:color var(--t); }
.breadcrumb a:hover { color:var(--text); }
.page-head h1 { font-size:2rem; font-weight:800; letter-spacing:-.5px; }
.page-head p { color:var(--muted2); font-size:.9rem; margin-top:4px; }
.sort-bar { display:flex; align-items:center; gap:10px; font-size:.85rem; color:var(--muted); }
.sort-bar select { background:var(--bg3); border:1px solid var(--border2); color:var(--text); padding:8px 12px; border-radius:var(--r8); font-size:.85rem; outline:none; cursor:pointer; }

.store-layout { display:grid; grid-template-columns:260px 1fr; gap:28px; padding:36px 32px; max-width:1340px; margin:0 auto; align-items:start; }

/* Sidebar */
.sidebar { background:var(--bg3); border:1px solid var(--border); border-radius:var(--r16); padding:24px; position:sticky; top:80px; }
.sidebar-section { margin-bottom:28px; }
.sidebar-section:last-child { margin-bottom:0; }
.s-title { font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:1.2px; color:var(--muted); margin-bottom:14px; }
.cat-list { list-style:none; display:flex; flex-direction:column; gap:2px; }
.cat-item { display:flex; align-items:center; justify-content:space-between; padding:9px 12px; border-radius:var(--r8); cursor:pointer; transition:background var(--t); font-size:.875rem; font-weight:500; border:1px solid transparent; }
.cat-item:hover { background:var(--bg4); }
.cat-item.active { background:rgba(51,51,54,0.2); border-color:var(--accent); color:var(--text); }
.cat-count { font-size:.7rem; background:var(--bg4); color:var(--muted); padding:2px 7px; border-radius:99px; }
.cat-item.active .cat-count { background:var(--accent); color:#fff; }

.price-range { display:flex; flex-direction:column; gap:10px; }
.price-slider { width:100%; accent-color:var(--accent); }
.price-labels { display:flex; justify-content:space-between; font-size:.8rem; color:var(--muted); }
.apply-btn { width:100%; background:var(--accent); color:#fff; border:none; padding:9px; border-radius:var(--r8); font-size:.85rem; font-weight:700; cursor:pointer; transition:background var(--t); }
.apply-btn:hover { background:var(--accent-dark); }

.tag-list { display:flex; flex-wrap:wrap; gap:6px; }
.tag { padding:5px 12px; border-radius:99px; font-size:.75rem; font-weight:500; background:var(--bg4); border:1px solid var(--border2); color:var(--muted2); cursor:pointer; transition:all var(--t); }
.tag:hover, .tag.active { background:rgba(51,51,54,0.3); border-color:var(--accent); color:var(--text); }

/* Products */
.products-area { flex:1; }
.products-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
.products-count { font-size:.85rem; color:var(--muted2); }
.products-count strong { color:var(--text); }

.products-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }

.product-card { background:var(--bg3); border:1px solid var(--border); border-radius:var(--r16); overflow:hidden; transition:border-color var(--t), transform var(--t), box-shadow var(--t); display:flex; flex-direction:column; }
.product-card:hover { border-color:var(--accent); transform:translateY(-4px); box-shadow:0 16px 40px rgba(0,0,0,0.4); }
.product-card.hidden { display:none; }

.product-img { position:relative; height:180px; overflow:hidden; background:var(--bg4); }
.product-img img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.product-card:hover .product-img img { transform:scale(1.07); }
.product-badge { position:absolute; top:10px; left:10px; font-size:.65rem; font-weight:700; padding:3px 8px; border-radius:99px; text-transform:uppercase; letter-spacing:.5px; }
.badge-hot { background:var(--bg4); border:1px solid var(--border2); color:var(--muted2); }
.badge-new { background:var(--green); color:#000; }
.badge-sale { background:#f72585; color:#fff; }
.wishlist-btn { position:absolute; top:10px; right:10px; width:30px; height:30px; border-radius:50%; background:rgba(0,0,0,.6); border:1px solid var(--border2); display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:.85rem; opacity:0; transition:opacity var(--t); }
.product-card:hover .wishlist-btn { opacity:1; }
.wishlist-btn.active { color:#ef4444; opacity:1; }

.product-body { padding:16px; flex:1; display:flex; flex-direction:column; }
.product-cat { font-size:.7rem; font-weight:700; color:var(--accent); text-transform:uppercase; letter-spacing:.8px; margin-bottom:5px; }
.product-name { font-size:.9rem; font-weight:700; margin-bottom:6px; line-height:1.4; flex:1; }
.product-rating { display:flex; align-items:center; gap:5px; margin-bottom:10px; font-size:.8rem; }
.product-rating .stars { color:#fbbf24; }
.rating-count { font-size:.72rem; color:var(--muted); }

.product-footer { display:flex; justify-content:space-between; align-items:center; margin-top:auto; }
.product-price { font-size:1.05rem; font-weight:800; }
.old-price { font-size:.78rem; color:var(--muted); text-decoration:line-through; margin-left:4px; font-weight:400; }
.add-btn { width:36px; height:36px; border-radius:var(--r8); background:var(--accent); border:none; color:#fff; font-size:1.1rem; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background var(--t), transform var(--t); }
.add-btn:hover { background:var(--accent-dark); transform:scale(1.1); }

@media (max-width:1024px) { .products-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:768px) {
    .store-layout { grid-template-columns:1fr; }
    .sidebar { position:static; }
    .products-grid { grid-template-columns:1fr 1fr; }
    .page-head-inner { flex-direction:column; align-items:flex-start; gap:16px; }
    .page-head { padding:80px 24px 24px; }
}
@media (max-width:480px) { .products-grid { grid-template-columns:1fr; } }
