:root {
  --primary: #e11d48;
  --primary-hover: #be123c;
  --bg: #090d16;
  --card-bg: #111827;
  --text: #f9fafb;
  --text-muted: #9ca3af;
  --border: rgba(255, 255, 255, 0.1);
  --accent-gold: #fbbf24;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }

.header { display: flex; justify-content: space-between; align-items: center; padding: 20px 40px; background: rgba(9, 13, 22, 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.logo { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; color: #fff; }
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }

.cart-btn { background: rgba(225, 29, 72, 0.15); color: var(--primary); border: 1px solid var(--primary); padding: 8px 16px; border-radius: 20px; cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 8px; }

.hero { padding: 80px 40px; text-align: center; background: radial-gradient(circle at top, rgba(225,29,72,0.15) 0%, transparent 70%); }
.hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 16px; background: linear-gradient(135deg, #fff 0%, #9ca3af 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 18px; color: var(--text-muted); max-width: 600px; margin: 0 auto 32px; }

.filter-bar { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn { background: var(--card-bg); border: 1px solid var(--border); color: var(--text-muted); padding: 8px 20px; border-radius: 20px; cursor: pointer; font-weight: 500; transition: all 0.2s; }
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; padding: 0 40px 80px; max-width: 1300px; margin: 0 auto; }
.product-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.5); border-color: rgba(225,29,72,0.4); }
.product-img { width: 100%; height: 260px; object-fit: cover; background: #1f2937; }
.product-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-category { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); font-weight: 700; margin-bottom: 6px; }
.product-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.product-price { font-size: 20px; font-weight: 800; color: var(--accent-gold); margin-bottom: 16px; }
.add-to-cart-btn { margin-top: auto; background: var(--primary); color: #fff; border: none; padding: 12px; border-radius: 10px; font-weight: 600; cursor: pointer; width: 100%; transition: background 0.2s; }
.add-to-cart-btn:hover { background: var(--primary-hover); }

/* Cart Drawer */
.cart-drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.7); opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 200; }
.cart-drawer-backdrop.active { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; right: 0; top: 0; bottom: 0; width: 400px; max-width: 100%; background: #0f172a; border-left: 1px solid var(--border); transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); z-index: 201; padding: 24px; display: flex; flex-direction: column; }
.cart-drawer.active { transform: translateX(0); }
.cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.cart-items { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.cart-item { display: flex; gap: 16px; background: var(--card-bg); padding: 12px; border-radius: 12px; align-items: center; }
.cart-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.cart-item-title { font-size: 14px; font-weight: 600; }
.cart-item-price { font-size: 13px; color: var(--accent-gold); }
.cart-footer { margin-top: auto; border-top: 1px solid var(--border); padding-top: 20px; }
.cart-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; margin-bottom: 16px; }

@media (max-width: 768px) {
  .header { padding: 16px 20px; }
  .hero { padding: 40px 20px; }
  .hero h1 { font-size: 32px; }
  .product-grid { padding: 0 20px 40px; }
}
