:root { --primary: #6366F1; --primary-dark: #4F46E5; --bg: #F3F4F6; --text: #1F2937; --success: #10B981; --warning: #F59E0B; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); margin: 0; display: flex; flex-direction: column; height: 100vh; }

header { background: white; padding: 1rem 2rem; box-shadow: 0 1px 3px rgba(0,0,0,0.05); display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; z-index: 20; }
.brand { font-size: 1.5rem; font-weight: 800; color: var(--primary); letter-spacing: -0.025em; display: flex; align-items: center; gap: 0.5rem; }
.brand span { color: #111827; }
.cart-badge { background: var(--text); color: white; padding: 0.5rem 1.25rem; border-radius: 999px; font-weight: 600; font-size: 0.875rem; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); display: flex; align-items: center; gap: 0.5rem; }
.cart-badge.bump { transform: scale(1.05); background: var(--primary); }

main { display: flex; flex: 1; overflow: hidden; }
aside { width: 280px; background: white; padding: 2rem; border-right: 1px solid #E5E7EB; overflow-y: auto; flex-shrink: 0; }
.content-area { flex: 1; display: flex; flex-direction: column; overflow: hidden; position: relative; }

.debug-bar { background: #111827; color: #E5E7EB; padding: 0.75rem 2rem; font-family: 'Menlo', monospace; font-size: 12px; flex-shrink: 0; display: flex; justify-content: space-between; align-items: center; }
.debug-badge { background: #374151; padding: 2px 8px; border-radius: 4px; margin-left: 8px; color: #60A5FA; }

.product-scroll { flex: 1; padding: 2rem; overflow-y: auto; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem; }
.card { background: white; border-radius: 1rem; padding: 1.5rem; display: flex; flex-direction: column; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid transparent; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03); }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); border-color: #E5E7EB; }
.card-img-wrapper { height: 160px; background: #F9FAFB; border-radius: 0.75rem; margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card img { width: 80%; height: 80%; object-fit: contain; transition: transform 0.3s ease; }
.card:hover img { transform: scale(1.05); }
.product-vendor { font-size: 0.75rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.product-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.4; }
.product-specs { font-size: 0.875rem; color: #6B7280; margin-bottom: 0.5rem; }
.product-meta { display: flex; gap: 1rem; font-size: 0.875rem; color: #4B5563; margin-bottom: 1rem; align-items: center; }
.rating { display: flex; align-items: center; gap: 0.25rem; font-weight: 600; color: var(--warning); }
.storage-badge { background: #E0E7FF; color: var(--primary-dark); padding: 2px 8px; border-radius: 4px; font-weight: 600; font-size: 0.75rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.tag { background: #F3F4F6; color: #4B5563; font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 999px; }
.price-row { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.price { font-size: 1.5rem; font-weight: 800; color: #111827; }
.btn { background: #111827; color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 0.75rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.btn:hover { background: var(--primary); transform: translateY(-1px); }
.btn:active { transform: scale(0.95); }

.filter-group { margin-bottom: 2.5rem; }
.filter-title { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #9CA3AF; margin-bottom: 1.25rem; }
.checkbox-label { display: flex; align-items: center; margin-bottom: 0.875rem; color: #4B5563; font-size: 0.9375rem; cursor: pointer; transition: color 0.2s; }
.checkbox-label:hover { color: var(--primary); }
.checkbox-label input { margin-right: 0.75rem; accent-color: var(--primary); width: 1.125rem; height: 1.125rem; border-radius: 4px; }