:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #f59e0b;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--light);
    color: #334155;
}

/* Navbar */
.navbar {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.navbar-brand {
    font-weight: 700;
    color: var(--primary) !important;
    font-size: 1.3rem;
}
.nav-link { color: var(--dark) !important; font-weight: 500; }
.nav-link:hover { color: var(--primary) !important; }
.cart-badge {
    position: absolute;
    top: -4px; right: -8px;
    font-size: .65rem;
    padding: 2px 6px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: #fff;
    padding: 80px 0;
}
.hero h1 { font-weight: 800; font-size: 2.8rem; }
.hero p  { font-size: 1.2rem; opacity: .9; }

/* Product Cards */
.product-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
    background: #e2e8f0;
}
.product-card .price {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
}
.product-card .badge-stock {
    font-size: .75rem;
}

/* Filter Sidebar */
.filter-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.filter-card .list-group-item {
    border: none;
    padding: .5rem 1rem;
}
.filter-card .list-group-item.active {
    background: var(--primary);
    color: #fff;
}

/* Cart */
.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    background: #e2e8f0;
}

/* Footer */
footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 30px 0;
    margin-top: 60px;
}

/* Auth Forms */
.auth-wrapper {
    max-width: 450px;
    margin: 60px auto;
}
.auth-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

/* Pagination */
.page-link { color: var(--primary); }
.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

/* Image placeholder */
.img-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 3rem;
}