
:root {
    --bg-color: #0f1115;
    --card-bg: #1a1d24;
    --text-main: #f8f9fa;
    --text-muted: #9ca3af;
    --accent: #10b981;
    --accent-hover: #059669;
    --danger: #ef4444;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-color); color: var(--text-main); line-height: 1.5; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.header { text-align: center; padding: 60px 20px 40px; background: linear-gradient(180deg, #1f232b 0%, var(--bg-color) 100%); }
.header h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 10px; background: -webkit-linear-gradient(45deg, #10b981, #3b82f6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.header p { color: var(--text-muted); font-size: 1.1rem; }

.filters-vertical { display: flex; flex-direction: column; gap: 10px; }
.filter-btn { text-align: left; background: transparent; border: none; color: var(--text-muted); padding: 10px 15px; border-radius: 8px; font-size: 1rem; cursor: pointer; transition: all 0.2s; font-weight: 600;}
.filter-btn:hover { background-color: var(--card-bg); color: var(--text-main); }
.filter-btn.active { background-color: var(--accent); color: white; }

.layout-wrapper { display: flex; gap: 40px; padding: 20px 20px 60px; max-width: 1400px; margin: 0 auto; }
.sidebar { width: 250px; flex-shrink: 0; }
.sidebar h3 { font-size: 1.2rem; margin-bottom: 20px; color: var(--text-main); }
.main-content { flex-grow: 1; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

@media (max-width: 768px) {
    .layout-wrapper { flex-direction: column; gap: 20px; }
    .sidebar { width: 100%; }
    .filters-vertical { flex-direction: row; flex-wrap: wrap; }
    .filter-btn { text-align: center; border: 1px solid #2a2e37; border-radius: 20px; }
}

.card { background-color: var(--card-bg); border-radius: 16px; overflow: hidden; position: relative; transition: transform 0.2s, box-shadow 0.2s; border: 1px solid #2a2e37; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.4); border-color: #3b4252; }

.badge { position: absolute; top: 12px; right: 12px; background-color: var(--danger); color: white; padding: 6px 12px; border-radius: 20px; font-weight: 800; font-size: 0.9rem; z-index: 2; box-shadow: 0 4px 6px rgba(0,0,0,0.3); }

.img-container { width: 100%; height: 240px; background-color: #ffffff; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 20px; }
.img-container img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.3s; }
.card:hover .img-container img { transform: scale(1.05); }

.card-content { padding: 20px; }
.card-content h2 { font-size: 1rem; font-weight: 600; margin-bottom: 15px; color: var(--text-main); height: 48px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.price-row { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.old-price { color: var(--text-muted); text-decoration: line-through; font-size: 0.9rem; }
.new-price { font-size: 1.4rem; font-weight: 800; color: var(--accent); }

.btn { display: block; width: 100%; padding: 12px; text-align: center; background-color: #2a2e37; color: white; border-radius: 8px; font-weight: 600; transition: background 0.2s; border: none; cursor: pointer; }
.card:hover .btn { background-color: var(--accent); }

footer { text-align: center; padding: 40px 20px; border-top: 1px solid #2a2e37; color: var(--text-muted); font-size: 0.9rem; }
footer small { display: block; margin-top: 10px; opacity: 0.6; }
    