.catalog-head {
    text-align: center;
    padding: 26px 16px 10px;
}

.catalog-head h1 {
    font-size: clamp(26px, 3.2vw, 40px);
    margin: 0 0 6px;
    font-weight: 800;
}

.catalog-head .lead {
    color: var(--muted);
    margin: 0;
}

.catalog-filters {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 8px 16px 18px;
}

.chip {
    border: 1px solid var(--ring);
    background: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.chip:hover {
    transform: translateY(-1px);
    border-color: #d1d5db;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .05);
}

.chip.active {
    background: var(--accent);
    color: #fff;
    border-color: transparent;
}

.catalog-grid {
    display: grid;
    gap: 16px;
    padding: 0 16px 24px;
    grid-template-columns: 1fr;
}

@media (min-width:720px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width:1040px) {
    .catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product {
    border: 1px solid var(--ring);
    border-radius: calc(var(--radius) + 4px);
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .05);
}

.product .media {
    aspect-ratio: 16/11;
    background: #f7f7f7;
}

.product .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product .body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product .desc {
    color: var(--muted);
    margin: 0;
}

.product .meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: #374151;
    font-size: 14px;
}

.product .price {
    font-weight: 700;
}

.product .sku {
    color: var(--muted);
}

.product .actions {
    margin-top: auto;
}