

/* Start:/local/templates/versta_desktop/components/bitrix/catalog/catalog.1/bitrix/catalog.smart.filter/vd/style.css?17917267595357*/
/*
 * Фильтр раздела (экран 04, колонка 272px). Блоки — аккордеон UI-кита (.accordion--caps),
 * значения — чипы, свотчи, чекбоксы кита; здесь — раскладка, поля цены, двойной ползунок,
 * липкая кнопка «Показать N».
 */

.catalog-filter {
    display: flex;
    flex-direction: column;
}

.catalog-filter__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding-bottom: 18px;
}

.catalog-filter__title {
    font: 700 18px / 1 var(--vd-font-display);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.catalog-filter__reset[hidden] {
    display: none;
}

.catalog-filter__fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.catalog-filter__hint {
    margin-bottom: 8px;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--vd-text-3);
}

/* ---------- Размер: сетка чипов 3 колонки ---------- */
.catalog-filter__chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.catalog-filter__chip {
    width: 100%;
    min-width: 0;
    padding-inline: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- Цвет: кружки ---------- */
/* Цвет без картинки-образца в справочнике: штриховка, название — в title */
.swatch--blank {
    background: repeating-linear-gradient(135deg, var(--vd-line-strong) 0 1.5px, var(--vd-white) 1.5px 4px);
}

.catalog-filter__swatches {
    gap: 12px;
    padding: 4px 4px 2px;
}

.catalog-filter__swatch.is-disabled {
    pointer-events: none;
}

/* ---------- Списки: чекбоксы со счётчиками ---------- */
.catalog-filter__checks {
    display: flex;
    flex-direction: column;
    margin-top: -6px;
}

.catalog-filter__check {
    padding: 8px 0;
}

/* ---------- Цена: два поля + двойной ползунок ---------- */
.catalog-filter__range-fields {
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-filter__field {
    flex: 1;
    min-width: 0;
}

.catalog-filter__input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--vd-line);
    border-radius: var(--vd-radius-m);
    background: var(--vd-white);
    color: var(--vd-ink);
    font: 600 13px / 1 var(--vd-font-text);
    appearance: textfield;
    -moz-appearance: textfield;
    transition: border-color var(--vd-transition);
}

.catalog-filter__input::-webkit-outer-spin-button,
.catalog-filter__input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.catalog-filter__input::placeholder {
    color: var(--vd-text-4);
    opacity: 1;
}

.catalog-filter__input:hover {
    border-color: var(--vd-line-strong);
}

.catalog-filter__input:focus-visible {
    outline: none;
    border-color: var(--vd-ink);
}

.catalog-filter__dash {
    flex: none;
    color: var(--vd-text-4);
}

/* Ползунок — только когда скрипт его оживил */
.catalog-filter__slider {
    position: relative;
    display: none;
    height: 24px;
    margin: 10px 6px 0;
}

.catalog-filter__range.is-ready .catalog-filter__slider {
    display: block;
}

.catalog-filter__track,
.catalog-filter__fill {
    position: absolute;
    top: 11px;
    height: 2px;
    pointer-events: none;
}

.catalog-filter__track {
    left: 0;
    right: 0;
    background: var(--vd-divider);
}

.catalog-filter__fill {
    left: var(--range-from, 0%);
    right: calc(100% - var(--range-to, 100%));
    background: var(--vd-ink);
}

/* Две input[type=range] друг на друге: дорожки прозрачные и мимо мыши, ловятся только ручки */
.catalog-filter__thumb {
    position: absolute;
    inset: 0 -9px;
    width: calc(100% + 18px);
    height: 24px;
    margin: 0;
    background: none;
    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
}

.catalog-filter__thumb.is-top {
    z-index: 1;
}

.catalog-filter__thumb:focus {
    outline: none;
}

.catalog-filter__thumb::-webkit-slider-runnable-track {
    height: 24px;
    background: none;
}

.catalog-filter__thumb::-moz-range-track {
    height: 24px;
    background: none;
}

.catalog-filter__thumb::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border: 2px solid var(--vd-ink);
    border-radius: 50%;
    background: var(--vd-white);
    cursor: grab;
    pointer-events: auto;
    -webkit-appearance: none;
}

.catalog-filter__thumb::-moz-range-thumb {
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    border: 2px solid var(--vd-ink);
    border-radius: 50%;
    background: var(--vd-white);
    cursor: grab;
    pointer-events: auto;
}

.catalog-filter__thumb:active::-webkit-slider-thumb {
    cursor: grabbing;
}

/* ---------- «Показать N»: липнет к низу экрана, пока колонка фильтра видна ---------- */
.catalog-filter__apply {
    position: sticky;
    bottom: 16px;
    z-index: 2;
    padding-top: 20px;
}

.catalog-filter__apply[hidden] {
    display: none;
}

.catalog-filter__submit {
    box-shadow: var(--vd-shadow-pop);
}

/* End */


/* Start:/local/templates/versta_desktop/components/bitrix/catalog/catalog.1/bitrix/catalog.section/vd/style.css?17917267595945*/
/*
 * Экран 04 «Листинг раздела» (BES-57): шапка раздела, раскладка «фильтр + сетка», пилюли,
 * сортировка, сетка плиток, SEO-текст. Разметка — catalog.1/section.php и template.php рядом.
 * Стиль лежит здесь, потому что Битрикс подключает его вместе со списком (и из кеша).
 * Фильтр — catalog.smart.filter/vd/style.css, плитка — catalog.item/vd/style.css.
 */

.listing {
    padding-bottom: clamp(64px, 8.33vw, 120px);
}

/* ---------- Крошки и шапка ---------- */
.listing__crumbs {
    padding-top: 28px;
}

.listing-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    gap: 24px 48px;
    align-items: end;
    padding-block: 24px 32px;
}

.listing-head--wide {
    grid-template-columns: minmax(0, 1fr);
}

.listing-head__main {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.listing-head__title {
    min-width: 0;
    letter-spacing: .02em;
    overflow-wrap: break-word;
}

/* Длинные названия разделов («Кофты, толстовки, свитшоты, футболки») — на ступень меньше */
.listing-head__title--long {
    font-size: var(--vd-fs-h1);
    line-height: .92;
}

.listing-head__count {
    flex: none;
    font: 14px / 1 var(--vd-font-mono);
    color: var(--vd-text-4);
}

.listing-head__text {
    font-size: var(--vd-fs-body);
    line-height: 1.6;
    color: var(--vd-text-2);
}

.listing-head__text p + p {
    margin-top: .6em;
}

/* ---------- Раскладка: фильтр 272 + сетка ---------- */
.listing__body {
    display: grid;
    grid-template-columns: clamp(220px, 19vw, 272px) minmax(0, 1fr);
    gap: clamp(24px, 3.33vw, 48px);
    align-items: start;
}

/* Фильтровать нечего — сетка на всю ширину */
.listing__body--wide {
    grid-template-columns: minmax(0, 1fr);
}

.listing__filter,
.listing__main {
    min-width: 0;
}

.listing__main {
    display: flex;
    flex-direction: column;
}

/* ---------- Над сеткой: пилюли, «N из M», сортировка ---------- */
.listing-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px 24px;
    padding-bottom: 28px;
}

.listing-toolbar__applied {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    min-width: 0;
}

/* Пилюли — списком <ul class="chips"> */
.listing-toolbar__pills,
.listing-empty__pills {
    list-style: none;
}

.listing-pill {
    gap: 6px;
}

.listing-pill:hover {
    background: var(--vd-text-2);
    border-color: var(--vd-text-2);
    color: var(--vd-white);
}

.listing-toolbar__aside {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: none;
    margin-left: auto;
    font-size: 13px;
    line-height: 1;
}

.listing-toolbar__count {
    color: var(--vd-text-3);
    white-space: nowrap;
}

.listing-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.listing-sort__box {
    position: relative;
    display: inline-flex;
}

/* Стрелка селекта */
.listing-sort__box::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 17px;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.listing-sort__select {
    padding: 12px 40px 12px 16px;
    border: 1px solid var(--vd-line);
    border-radius: var(--vd-radius-pill);
    background: var(--vd-white);
    color: var(--vd-ink);
    font: 600 13px / 1 var(--vd-font-text);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color var(--vd-transition);
}

.listing-sort__select:hover {
    border-color: var(--vd-ink);
}

/* ---------- Сетка плиток ---------- */
/* Колонки от 300px (на 1440 рядом с фильтром — 3, на 1920 — 4); на узких — от 220px */
.product-grid.listing-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, clamp(220px, 21vw, 300px)), 1fr));
    gap: 48px var(--vd-gap);
}

.listing-pager {
    padding-top: 56px;
}

/* ---------- Пустое состояние: пилюли внутри карточки ---------- */
.listing-empty__pills {
    padding-top: 4px;
}

/* ---------- SEO-текст раздела ---------- */
.listing-seo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px 48px;
    margin-top: clamp(56px, 5.56vw, 80px);
    padding-top: 32px;
    border-top: 1px solid var(--vd-divider);
}

.listing-seo__title {
    font: 700 22px / 1.2 var(--vd-font-display);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.listing-seo__text {
    font-size: 14px;
    line-height: 1.65;
    color: var(--vd-text-2);
}

.listing-seo__text > * + * {
    margin-top: .8em;
}

.listing-seo__text h2,
.listing-seo__text h3 {
    font-size: var(--vd-fs-body);
    color: var(--vd-ink);
}

.listing-seo__text ul,
.listing-seo__text ol {
    padding-left: 1.2em;
}

.listing-seo__text a {
    border-bottom: 1px solid var(--vd-line-strong);
}

/* ---------- Узкие экраны ---------- */
@media (max-width: 1024px) {
    .listing-head {
        grid-template-columns: minmax(0, 1fr);
    }

    .listing-seo {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-grid.listing-grid {
        gap: 40px 20px;
    }
}

@media (max-width: 767px) {
    .listing__body {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-grid.listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 12px;
    }
}

/* End */


/* Start:/local/templates/versta_desktop/components/bitrix/catalog.item/vd/style.css?179172675911122*/
/*
 * Плитка товара (макет ProductTile). Бейджи, свотчи, чипы, цена, кнопки — классы UI-кита (ui.css),
 * здесь — только раскладка плитки и её собственные элементы.
 */
.product-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

/* ---------- Фото 3:4 ---------- */
.product-tile__media {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--vd-radius);
    background: var(--vd-placeholder);
    overflow: hidden;
    isolation: isolate;
}

.product-tile__link {
    position: absolute;
    inset: 0;
    display: block;
}

.product-tile__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-tile__ph {
    height: 100%;
    border-radius: 0;
}

/* ---------- Бейджи и сердечко ---------- */
.product-tile__badges {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 60px;
    pointer-events: none;
}

.product-tile__fav {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: color-mix(in srgb, var(--vd-white) 94%, transparent);
    color: var(--vd-ink);
    cursor: pointer;
    transition: color var(--vd-transition), transform var(--vd-transition), opacity var(--vd-transition);
}

.product-tile__fav:hover {
    color: var(--vd-accent);
}

.product-tile__fav:active {
    transform: scale(.92);
}

.product-tile__fav-icon {
    width: 18px;
    height: 18px;
}

.product-tile__fav-icon path {
    fill: transparent;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linejoin: round;
    transition: fill var(--vd-transition);
}

.product-tile__fav.is-active {
    color: var(--vd-accent);
}

.product-tile__fav.is-active .product-tile__fav-icon path {
    fill: currentColor;
}

.product-tile__fav.is-loading {
    opacity: .6;
    pointer-events: none;
}

/* ---------- «⇄ Сравнить» под сердечком (параметр VD_COMPARE_URL; протокол — README «Сравнение») ----------
   Видна по наведению на плитку, с клавиатуры и пока товар в сравнении (.is-active ставит скрипт счётчика) */
.product-tile__compare {
    position: absolute;
    top: 56px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--vd-white) 94%, transparent);
    color: var(--vd-ink);
    opacity: 0;
    transition: color var(--vd-transition), background-color var(--vd-transition), transform var(--vd-transition), opacity var(--vd-transition);
}

.product-tile:hover .product-tile__compare,
.product-tile__compare.is-active {
    opacity: 1;
}

/* Клавиатура: только видимый фокус (:focus-visible), а не любой — после клика мышью фокус остаётся
   на «⇄», и :focus-within держал бы кнопку и панель открытыми. Отдельным правилом: браузер без :has()
   отбрасывает весь список селекторов, наведение при этом должно работать */
.product-tile__media:has(:focus-visible) .product-tile__compare {
    opacity: 1;
}

.product-tile__compare:hover {
    color: var(--vd-accent);
}

.product-tile__compare:active {
    transform: scale(.92);
}

.product-tile__compare-icon {
    width: 18px;
    height: 18px;
}

.product-tile__compare.is-active,
.product-tile__compare.is-active:hover {
    background: var(--vd-ink);
    color: var(--vd-white);
}

.product-tile .product-tile__compare.is-active:hover {
    opacity: .86;
}

.product-tile .product-tile__compare.is-loading {
    opacity: .6;
    pointer-events: none;
}

/* ---------- Панель по наведению: размер — сразу в корзину ---------- */
.product-tile__panel {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: var(--vd-radius-m);
    background: var(--vd-white);
    box-shadow: var(--vd-shadow-pop);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity var(--vd-transition), transform var(--vd-transition);
}

.product-tile:hover .product-tile__panel,
.product-tile__panel.is-busy {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

/* Остаётся в потоке фокуса: Tab по плитке показывает панель (только видимый фокус — см. правило «⇄» выше) */
.product-tile__media:has(:focus-visible) .product-tile__panel {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.product-tile__group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Строка над чипами: подпись слева, цвет справа — моно 10.5px */
.product-tile__head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font: 10.5px / 1 var(--vd-font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--vd-text-3);
}

/* Подпись в одну строку и в приоритете, название цвета ужимается многоточием */
.product-tile__label,
.product-tile__head-color {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-tile__label {
    flex: 0 0 auto;
    max-width: 100%;
}

.product-tile__head-color {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
}

.product-tile__label.is-success {
    color: var(--vd-ink);
}

.product-tile__label.is-error {
    color: var(--vd-accent);
}

/* Равные ячейки: в ряд сколько влезает (от 36px), остаток не растягивается на всю строку */
.product-tile__sizes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(36px, 1fr));
    gap: 6px;
}

.product-tile .product-tile__size {
    min-width: 0;
    height: 36px;
    padding: 0 6px;
    border-radius: var(--vd-radius-s);
    font-size: 12.5px;
}

.product-tile .product-tile__size:not(.is-disabled):hover,
.product-tile .product-tile__size.is-active {
    background: var(--vd-ink);
    border-color: var(--vd-ink);
    color: var(--vd-white);
}

.product-tile .product-tile__size.is-loading {
    opacity: .6;
    cursor: progress;
    pointer-events: none;
}

/* Длинная подпись («Свой размер») — на две ячейки */
.product-tile .product-tile__size--long {
    grid-column: span 2;
}

.product-tile .product-tile__size--wide {
    width: 100%;
}

.product-tile__quick-view {
    padding: 4px 0 2px;
    font: 600 13px / 1 var(--vd-font-text);
    text-align: center;
}

/* ---------- Цвета: точки-индикаторы, не кликаются (UI-кит .swatch--dot) ---------- */
.product-tile__colors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: 12px;
}

/* Цвет без картинки-образца в справочнике: штриховка вместо пустого кружка, название — в title.
   То же правило — в стилях карточки и фильтра (точка может стоять где угодно без них) */
.swatch--blank {
    background: repeating-linear-gradient(135deg, var(--vd-line-strong) 0 1.5px, var(--vd-white) 1.5px 4px);
}

.product-tile__colors-more {
    font-size: var(--vd-fs-micro);
    line-height: 12px;
    color: var(--vd-text-3);
}

/* Плитка без точек (цветов из справочника нет) в сетке, где у других плиток точки есть: место строки точек
   (12px + отступ 12px) остаётся пустым — название, цена и размеры в ряду сетки стоят на одной линии.
   Точек нет ни у одной плитки сетки — место не резервируем. */
.product-grid:has(.product-tile__colors) .product-tile__media + .product-tile__name {
    margin-top: 24px;
}

/* ---------- Текст ---------- */
.product-tile__name {
    font: 400 14.5px / 1.35 var(--vd-font-text);
    color: var(--vd-ink);
    overflow-wrap: anywhere;
}

.product-tile__sizes-line {
    font-size: 12.5px;
    line-height: 1;
    color: var(--vd-text-4);
}

.product-tile__cta {
    margin-top: 4px;
}

/* Планшеты без наведения: быстрое добавление — через карточку, «⇄» видна всегда */
@media (hover: none) {
    .product-tile__panel {
        display: none;
    }

    .product-tile__compare {
        opacity: 1;
    }
}

/* ---------- Быстрый просмотр: скелет модалки на время загрузки (assets/js/quick-view.js) ----------
   Модалку открывают из плитки, поэтому скелет живёт здесь: стили самого быстрого просмотра
   (catalog.element «vd_quick») приходят вместе с ответом. Раскладка — как у .quick-view. */
.quick-skeleton {
    display: grid;
    grid-template-columns: 580px minmax(0, 1fr);
    min-height: 520px;
}

.quick-skeleton__media {
    padding: 20px 20px 20px 104px;
}

.quick-skeleton__img,
.quick-skeleton__ph {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--vd-radius);
    object-fit: cover;
    background: var(--vd-placeholder);
}

.quick-skeleton__info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 56px 40px 40px;
}

.quick-skeleton__title {
    font: 700 28px / 1.05 var(--vd-font-display);
    letter-spacing: var(--vd-tracking-display);
    text-transform: uppercase;
    color: var(--vd-ink);
}

.quick-skeleton__line {
    display: block;
    width: 100%;
    height: 16px;
    border-radius: var(--vd-radius-s);
    background: var(--vd-surface-2);
    animation: vd-skeleton 1.2s ease-in-out infinite alternate;
}

.quick-skeleton__line--short {
    width: 40%;
}

.quick-skeleton__line--price {
    width: 30%;
    height: 28px;
}

.quick-skeleton__line--button {
    height: 54px;
    margin-top: 12px;
    border-radius: var(--vd-radius);
}

@keyframes vd-skeleton {
    to {
        opacity: .45;
    }
}

@media (max-width: 1100px) {
    .quick-skeleton {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .quick-skeleton__media {
        padding-left: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .quick-skeleton__line {
        animation: none;
    }
}

/* End */


/* Start:/local/templates/versta_desktop/components/bitrix/catalog/catalog.1/bitrix/catalog.compare.list/vd/style.css?1791726759827*/
/*
 * Счётчик-ссылка «Сравнение · N» (catalog.compare.list «vd»). Пустой список — [hidden].
 * Кнопки «⇄» стилизует их шаблон (обычно .btn.btn--outline.btn--icon; активная — .is-active).
 */
.compare-link {
    display: inline-flex;
    align-items: baseline;
    gap: .35em;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--vd-line-strong);
    font: 600 var(--vd-fs-small) / 1 var(--vd-font-text);
    color: var(--vd-ink);
    white-space: nowrap;
}

.compare-link[hidden] {
    display: none;
}

.compare-link:hover {
    border-bottom-color: currentColor;
}

.compare-link__count {
    font-family: var(--vd-font-mono);
    font-weight: 400;
    color: var(--vd-text-3);
}

.compare-link__count::before {
    content: '· ';
}

/* End */
/* /local/templates/versta_desktop/components/bitrix/catalog/catalog.1/bitrix/catalog.smart.filter/vd/style.css?17917267595357 */
/* /local/templates/versta_desktop/components/bitrix/catalog/catalog.1/bitrix/catalog.section/vd/style.css?17917267595945 */
/* /local/templates/versta_desktop/components/bitrix/catalog.item/vd/style.css?179172675911122 */
/* /local/templates/versta_desktop/components/bitrix/catalog/catalog.1/bitrix/catalog.compare.list/vd/style.css?1791726759827 */
