

/* Start:/local/templates/.default/components/librederm/catalog.section/catalog_premium/style.css?17811693838553*/
/* ============================================================
   Премиум-листинг коллекции PREMIUM.
   Базовые .preview, .catalog-header, .price — наследуются от
   глобальных стилей сайта. Здесь только надстройки.
   ============================================================ */

/* ===== Hero ===== */
.premium-hero {
    position: relative;
}

.premium-hero__video-wrap {
    overflow: hidden;
    background: #f9f9f9;
    --plyr-video-controls-background: transparent;
}

.premium-hero__video-wrap:before {
    padding-top: 56.25%;
}

.premium-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.premium-hero__video-link {
    position: absolute;
    z-index: 1;
    inset: 0;
}

.premium-hero__video-wrap > .plyr {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.premium-hero__video-wrap .plyr__video-wrapper,
.premium-hero__video-wrap .plyr video.premium-hero__video {
    width: 100%;
    height: 100%;
}

.premium-hero__video-wrap .plyr video.premium-hero__video {
    position: static;
    object-fit: cover;
}

.premium-hero__video-wrap .plyr__controls {
    z-index: 3;
    pointer-events: auto;
    background: transparent !important;
}

/* ===== Бейджи карточек premium ===== */
.catalog__grid .catalog__body .preview-labels__item {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.catalog__grid .catalog__body .preview-labels__item.m-new {
    font: 300 10px / 18px "GraphikLCG", "Helvetica", "Arial", sans-serif;
}

.catalog__grid .catalog__body .preview-labels__item.m-exclusive {
    font: 300 10px / 18px "GraphikLCG", "Helvetica", "Arial", sans-serif;
}

.catalog__grid .catalog__body .preview-labels__item.m-time-of-use {
    width: 24px;
    height: 22px;
    border: thin solid #000;
    border-left: none;
    background: transparent;
}

.catalog__grid .catalog__body .preview-labels__row .preview-labels__item.m-time-of-use:first-child {
    border-left: thin solid #000;
}

.catalog__grid .catalog__body .preview-labels__item.m-time-of-use.m-universal {
    width: 50px;
    gap: 2px;
}

.catalog__grid .catalog__body .preview-labels__item.m-time-of-use img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .catalog__grid .catalog__body .preview-labels__item.m-new:first-child {
        width: 48px;
    }

    .catalog__grid .catalog__body .preview-labels__item.m-exclusive {
        width: 24px;
        height: 60px;
    }
}

@media (min-width: 768px) {
    .catalog__grid .catalog__body .preview-labels__item.m-time-of-use img {
        width: 20px;
        height: 20px;
    }

    .catalog__grid .catalog__body .preview-labels__item.m-new {
        width: 80px;
        height: 32px;
        font-size: 12px;
        line-height: 18px;
    }

    .catalog__grid .catalog__body .preview-labels__item.m-time-of-use {
        width: 32px;
        height: 32px;
    }

    .catalog__grid .catalog__body .preview-labels__item.m-time-of-use.m-universal {
        width: 64px;
        gap: 4px;
    }

    .catalog__grid .catalog__body .preview-labels__item.m-exclusive {
        width: 32px;
        height: 86px;
        font-size: 12px;
        line-height: 18px;
    }
}

/* ===== Рекламная карточка в сетке ===== */
.premium-ad-card {
    grid-column: span 2;
    overflow: hidden;
    min-height: 100%;
}

.premium-ad-card__link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    padding: 16px;
    box-sizing: border-box;
    background: #f9f9f9;
}

.premium-ad-card__link:before {
    display: block;
    width: 100%;
    padding-top: 100%;
    content: "";
}

.premium-ad-card__link:after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, .34) 100%);
    pointer-events: none;
    content: "";
}

.premium-ad-card__picture,
.premium-ad-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.premium-ad-card__image {
    object-fit: cover;
}

.premium-ad-card__content {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.premium-ad-card__title {
    display: block;
    max-width: 100%;
    margin-bottom: 8px;
    color: #fff;
    font: 500 18px / 24px "GraphikLCG", "Helvetica", "Arial", sans-serif;
    text-transform: uppercase;
}

.premium-ad-card__text {
    display: block;
    max-width: 100%;
    margin-bottom: 16px;
    color: #fff;
    font: 300 12px / 18px "GraphikLCG", "Helvetica", "Arial", sans-serif;
}

.premium-ad-card__button {
    width: 100%;
    background: #fff;
    color: #000;
}

@media (min-width: 768px) {
    .premium-ad-card__link {
        padding: 20px;
    }

    .premium-ad-card__content {
        left: 20px;
        right: auto;
        bottom: 20px;
        max-width: calc(100% - 40px);
    }

    .premium-ad-card__title {
        font-size: 24px;
        line-height: 30px;
    }

    .premium-ad-card__text {
        font-size: 14px;
        line-height: 20px;
    }

    .premium-ad-card__button {
        width: max-content;
        min-width: 152px;
    }
}

@media (min-width: 1024px) {
    .premium-ad-card {
        grid-column: auto;
    }
}

/* ===== Сортировка ===== */
.premium-sort__select {
    appearance: none;
    -webkit-appearance: none;
    background: #fff
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='none' stroke='%23111' stroke-width='1.5' d='M2 4l4 4 4-4'/></svg>")
        no-repeat right 12px center;
    background-size: 12px 12px;
    border: 1px solid #e0e0e0;
    padding: 10px 36px 10px 14px;
    font: 400 14px / 1 "GraphikLCG", "Helvetica", "Arial", sans-serif;
    color: #111;
    cursor: pointer;
    min-width: 200px;
}

.premium-sort__select:hover,
.premium-sort__select:focus {
    border-color: #111;
    outline: none;
}

/* Сетка карточек — используем глобальные стили .catalog__body и .preview сайта,
   ничего не переопределяем. */

/* ===== Filter sidebar — анимация поворота стрелки ===== */
/* Базовый transition на max-height у .filter-field__body уже есть в глобальном бандле сайта.
   Здесь только индикатор «открыто» — поворот стрелки. */
.catalog__grid .filter-field__title[data-open="true"] .filter-field__icon {
    transform: rotate(180deg);
}
.catalog__grid .filter-field__title .filter-field__icon {
    transition: transform .2s ease;
}

/* Мобильная панель фильтра — используем родной механизм app.css:
   .filter.m-show (transform) + [data-page-stop] на html + [data-shift-right]/[data-filter-open] на body.
   Атрибуты выставляются в JS (component_epilog.php). Здесь ничего не переопределяем. */

/* ===== Empty state ===== */
.premium-empty {
    text-align: center;
    padding: 64px 24px;
    color: #999;
    font: 300 16px / 1.5 "GraphikLCG", "Helvetica", "Arial", sans-serif;
}

/* Пагинация — используем глобальные стили .pagination / .pagination__link /
   .pagination__arrow из app.css (идентично Vue), свои стили не нужны. */

/* ===== Кнопка «Очистить фильтры» ===== */
/* Глобальный .form-button задаёт display:..., что перекрывает UA-стиль [hidden].
   Форсируем скрытие когда фильтры не выбраны. */
[data-premium-clear-filter][hidden] {
    display: none !important;
}

/* ===== Footer-блок ===== */
.premium-footer {
    margin-top: 64px;
}

.premium-footer__articles {
    margin-top: 48px;
}

.premium-footer__articles .swiper {
    width: 100%;
}

@media (max-width: 767px) {
    .premium-footer__articles .swiper {
        margin-right: -15px;
        margin-left: -15px;
        padding-right: 15px;
        padding-left: 15px;
    }
}

@media (min-width: 1280px) {
    .premium-footer__articles {
        margin-top: 72px;
    }
}

/* End */
/* /local/templates/.default/components/librederm/catalog.section/catalog_premium/style.css?17811693838553 */
