:root { --bg: #0a0a0b; --card: #161618; --border: rgba(255,255,255,0.08); --accent: #FF3B30; --text-muted: rgba(255,255,255,0.55); } .ss-catalog { background: var(--bg); } .ss-cats { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--border); } .ss-cats-list { display: flex; gap: 8px; overflow-x: auto; padding: 14px 16px; max-width: 1200px; margin: 0 auto; } .ss-cat { padding: 10px 18px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; } .ss-cat.active { background: #fff; color: #000; } .ss-container { max-width: 1200px; margin: 0 auto; padding: 32px 16px 80px; } .ss-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; } .ss-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; } .ss-img { aspect-ratio: 1/1; background: #222; } .ss-img img { width: 100%; height: 100%; object-fit: cover; } .ss-body { padding: 16px; display: flex; flex-direction: column; flex-grow: 1; } .ss-title { font-size: 17px; font-weight: 800; margin-bottom: 6px; } .ss-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; flex-grow: 1; } .ss-bottom { display: flex; justify-content: space-between; align-items: center; } .ss-price { font-size: 20px; font-weight: 800; } .ss-add { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: #000; font-size: 24px; border: none; cursor: pointer; } .ss-add:hover { background: var(--accent); color: #fff; } @media (max-width: 768px) { .ss-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .ss-desc { display: none; } .ss-add { width: 36px; height: 36px; border-radius: 8px; } }

Html code will be here

Made on
Tilda