/*
 * Вёрстка характеристик — правила, которых нет в site.css темы: таблица
 * характеристик карточки (`.specs-table`) и форма фасетов категории
 * (`.facets`). Файлом, а не инлайновым `<style>` в слоте `head`: правила
 * ехали бы на КАЖДОЙ странице витрины лишним килобайтом без кэша (та же
 * причина, что у `banners.css`/`blog.css`).
 */
.specs {
    margin: 0 0 1.2rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1rem;
}

.specs-table__group {
    text-align: left;
    font-weight: 600;
    padding: 0.4rem 0;
}

.specs-table__row {
    border-bottom: 1px solid var(--border, #e5e5e5);
}

.specs-table__label,
.specs-table__value {
    text-align: left;
    padding: 0.4rem 0.6rem 0.4rem 0;
    font-weight: normal;
    vertical-align: top;
}

.specs-table__label {
    color: var(--muted, #666);
    width: 40%;
}

.facets {
    margin: 0 0 1.2rem;
}

.facets__title {
    font-size: 1rem;
    margin: 0 0 0.6rem;
}

.facets__group {
    border: 0;
    margin: 0 0 0.8rem;
    padding: 0;
}

.facets__label {
    font-weight: 600;
    padding: 0 0 0.3rem;
}

.facets__options {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
}

.facets__option-link {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 999px;
    text-decoration: none;
    color: inherit;
}

.facets__option-link--active {
    background: var(--accent, #222);
    border-color: var(--accent, #222);
    color: var(--accent-contrast, #fff);
}

.facets__range {
    display: flex;
    align-items: end;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.facets__range-field {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.facets__range-field input {
    width: 6rem;
}

.facets__reset {
    display: inline-block;
    margin-top: 0.4rem;
}
