

/* Start:/local/templates/main/components/bitrix/news/digital-collection/bitrix/news.list/digital-collection/style.css?179207581124487*/
/*
 * Вёрстка списка «Цифровая коллекция»: первый экран со слайдером, затем заголовок,
 * вкладки типов, группы по типам продуктов и карточка продукта. Bitrix подключает
 * файл сам вместе с шаблоном.
 *
 * Список выводится целиком: группы уже в разметке, вкладки только показывают и
 * прячут их (script.js шаблона), поэтому прелоадера и метки конца списка здесь нет.
 *
 * Цвета, отступы и радиусы — только токенами дизайн-системы из local/frontend/styles/vars.
 */

/* Первый экран: размер кадра определяется окном и геометрией макета.
 * Текст лежит отдельным слоем и не уменьшает кадр при переносах заголовка. */
.dc-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--background-black);
    color: var(--text-inver);
    --dc-slide-gap: 12px;
    --dc-hero-text-reference-height: 442px;
    /* Кадр 16:9 целиком помещается в ширину даже на высоком экране. */
    --dc-hero-stage-width-limit: calc((100vw - var(--spacing-content-padding-grid-1) * 2) * 9 / 16);
}

.dc-hero-backdrop,
.dc-hero-backdrop-layer { position: absolute; inset: 0; }
.dc-hero-backdrop { overflow: hidden; pointer-events: none; }
.dc-hero-backdrop-layer {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    filter: blur(32px);
    transition: opacity var(--page-fade-duration-fast) var(--default-timing-standard),
        visibility 0s linear var(--page-fade-duration-fast);
}
.dc-hero-backdrop-layer.is-active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}
.dc-hero-backdrop-layer .dc-hero-media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dc-hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--background-black-alpha-60);
    backdrop-filter: blur(22px);
    pointer-events: none;
}
.dc-hero-inner {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    padding-top: calc(var(--header-top, 0px) + var(--header-height)
        + var(--size-component-ck-video-slider-pd-top));
    /* Резерв под однострочный макет; отрицательный gap задаёт перекрытие кадра. */
    padding-bottom: calc(var(--dc-hero-text-reference-height)
        + var(--size-component-ck-video-slider-gap));
}
.dc-hero-stage {
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    max-height: min(calc(100vw * 212 / 440), var(--dc-hero-stage-width-limit));
    width: 100%;
    overflow: visible;
    container-type: size;
}
.dc-hero-stage .swiper-wrapper { height: 100%; align-items: stretch; }
.dc-hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100cqh * 16 / 9);
    height: 100%;
}
.dc-hero-card {
    --dc-card-width: calc((100cqh - var(--size-component-ck-video-slider-pd-dis-slide) * 2) * 757 / 450);
    position: absolute;
    top: var(--size-component-ck-video-slider-pd-dis-slide);
    left: calc((100% - var(--dc-card-width)) / 2);
    flex: none;
    width: var(--dc-card-width);
    height: calc(100% - var(--size-component-ck-video-slider-pd-dis-slide) * 2);
    overflow: hidden;
    border-radius: var(--radius-lg);
}
.dc-hero-stage .swiper-slide-prev .dc-hero-card { left: calc(100% - var(--dc-card-width)); }
.dc-hero-stage .swiper-slide-next .dc-hero-card { left: 0; }
.dc-hero-stage .swiper-slide-active .dc-hero-card {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: var(--effects-shadow-default-x) var(--effects-shadow-default-y)
        var(--effects-shadow-default-blur) var(--effects-shadow-default-spread)
        var(--effects-shadow-default-color);
}
.dc-hero-card .dc-hero-media {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dc-hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--background-black);
    opacity: 0.4;
    pointer-events: none;
}

.dc-hero-stage .swiper-slide-active .dc-hero-card::after { opacity: 0; }
.dc-hero-video-poster { pointer-events: none; }
.dc-hero-card--video.is-playing .dc-hero-video-poster { display: none; }
.dc-hero-video-sound {
    position: absolute;
    z-index: 2;
    top: var(--spacing-content-padding-grid-1);
    right: var(--spacing-content-padding-grid-1);
    border-radius: var(--radius-lg);
}
.dc-hero .dc-hero-video-sound--design { width: 52px; height: 52px; }
.dc-hero-video-sound--design .icon { width: 20px; height: 20px; }
.dc-hero .dc-hero-video-sound,
.dc-hero .dc-hero-arrow {
    border-radius: var(--radius-lg);
}
.dc-hero .dc-hero-video-sound,
.dc-hero .dc-hero-arrow,
.dc-hero .dc-hero-next .icon-button {
    -webkit-backdrop-filter: blur(calc(var(--effects-background-blur-default-blur) / 2));
    backdrop-filter: blur(calc(var(--effects-background-blur-default-blur) / 2));
}
.dc-hero-video-icon-on { display: none; }
.dc-hero-card--video:not(.is-muted) .dc-hero-video-icon-off { display: none; }
.dc-hero-card--video:not(.is-muted) .dc-hero-video-icon-on { display: block; }
.dc-hero-slide:not(.swiper-slide-active) .dc-hero-video-sound { display: none; }
.dc-hero-arrow.icon-button {
    display: none;
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
}
.dc-hero-arrow--prev { left: var(--spacing-content-padding-sm); }
.dc-hero-arrow--next { right: var(--spacing-content-padding-sm); }
.dc-hero-arrow-icon.icon {
    width: 20px;
    height: 20px;
    background-color: currentColor;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}
.dc-hero-arrow-icon--prev { mask-image: url('/local/frontend/images/icons/arrow-left_outline.svg'); }
.dc-hero-arrow-icon--next { mask-image: url('/local/frontend/images/icons/arrow-right_outline.svg'); }
.dc-hero-arrow[disabled] { opacity: 0; pointer-events: none; }
.dc-hero-text {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: var(--size-component-ck-video-slider-gap);
    padding: var(--spacing-content-gap-grid-1) var(--spacing-content-padding-grid-2)
        min(var(--size-component-ck-video-slider-pd-bottom),
            max(var(--size-component-ck-video-slider-pd-top), calc(100dvh - 544px)));
    background: linear-gradient(180deg, transparent 0%, var(--background-black-alpha-80) 20%,
        var(--background-black-alpha-60) 60%, transparent 100%);
    pointer-events: none;
}
.dc-hero-info {
    position: relative;
    display: grid;
    width: min(100%, var(--size-component-ck-video-slider-width-txt-block));
    text-align: center;
    pointer-events: auto;
}
.dc-hero-copy {
    grid-area: 1 / 1;
    /* Все тексты заканчиваются кнопкой на одной высоте. Иначе более длинный
     * скрытый заголовок оставляет пустое место под кнопкой текущего слайда. */
    align-self: end;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-component-gap-md);
    width: 100%;
}
.dc-hero-copy:not(.is-active) {
    position: relative;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}
.dc-hero-copy.is-active { position: relative; opacity: 1; visibility: visible; }
.dc-hero-label { color: var(--text-inver); }
.dc-hero-heading {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-content-gap-xs);
    width: 100%;
}
.dc-hero-title { margin: 0; width: 100%; }
.dc-hero-lead {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    color: var(--text-inver);
    text-align: center;
}
.dc-hero-lead p { margin: 0; }
.dc-hero-lead > * + * { margin-top: var(--spacing-component-gap-sm); }
.dc-hero-cta {
    margin-top: calc(var(--spacing-content-gap-lg) - var(--spacing-component-gap-md));
    text-decoration: none;
}
/* Локальная поправка к общему button: в макете высота 56 на всех ширинах. */
.dc-hero .dc-hero-cta--design {
    height: 56px;
    padding-block: var(--spacing-component-padding-y-none);
    padding-inline: 20px;
    font-size: 14px;
    line-height: 14px;
    font-weight: 700;
}
.dc-hero-next {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    display: none;
    justify-content: center;
    padding: var(--spacing-content-padding-grid-1);
    pointer-events: auto;
}

.dc-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 100%;
    overflow-x: clip;
    /* Секция скроллится внутри себя, под фиксированной шапкой — иначе она режет заголовок */
    padding-top: var(--header-height, 0px);
    background: var(--background-ter);
    color: var(--text-pr);
}

.dc-list-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-content-gap-xxl);
    width: 100%;
    min-width: 0;
    padding: var(--spacing-content-padding-xl) var(--spacing-content-padding-grid-3);
    text-align: center;
}

.dc-list-title {
    margin: 0;
}

/* Вкладки как на «Экспонатах»: красная активная, счётчик сверху справа, лента скроллится */
.dc-list-tabs {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: var(--spacing-component-gap-md);
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.dc-list-tabs::-webkit-scrollbar {
    display: none;
}

.dc-list-tab {
    display: inline-flex;
    align-items: flex-start;
    gap: var(--spacing-component-gap-min);
    flex: 0 0 auto;
    padding: var(--spacing-component-padding-y-none) var(--spacing-component-padding-x-none);
    border: 0;
    border-radius: var(--radius-md);
    color: var(--text-pr);
    background: transparent;
    font-family: var(--typography-component-tab-tab-2-font-family), sans-serif;
    font-size: var(--typography-component-tab-tab-2-font-size);
    line-height: var(--typography-component-tab-tab-2-line-height);
    letter-spacing: var(--typography-component-tab-tab-2-letter-spacing);
    font-weight: 700;
    font-variation-settings: var(--rf-w25);
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.dc-list-tab span {
    color: var(--text-pr);
    font-family: var(--typography-component-counter-counter-2-font-family), sans-serif;
    font-size: var(--typography-component-counter-counter-2-font-size);
    line-height: var(--typography-component-counter-counter-2-line-height);
    font-weight: 300;
    font-variation-settings: var(--rf-w30-g60);
    letter-spacing: var(--typography-component-counter-counter-2-letter-spacing);
    align-self: flex-start;
    position: relative;
}

.dc-list-tab.is-active {
    padding: var(--spacing-component-padding-y-md) var(--spacing-component-padding-x-md);
    color: var(--text-inver);
    background: var(--background-acc);
}

.dc-list-tab.is-active span {
    color: var(--text-inver);
}

.dc-list-tab:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.dc-list-board {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    padding: var(--spacing-content-padding-xxl) var(--spacing-content-padding-grid-2);
    border-radius: var(--radius-8xl) var(--radius-8xl) 0 0;
    background: var(--background-pr);
}

/* Группы типов продуктов: между ними воздуха больше, чем внутри группы */
.dc-list-groups {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-content-gap-xxxl-2);
    width: 100%;

    margin-right: auto;
    margin-left: auto;
}

.dc-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-component-gap-lg);
}

.dc-group[hidden] {
    display: none;
}

.dc-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-component-gap-md);
}

.dc-group-title {
    margin: 0;
}

.dc-list-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--spacing-component-gap-lg);
}

.dc-list-empty {
    margin: 0 auto;
    padding-top: var(--spacing-content-padding-md);
    color: var(--text-sec);
    text-align: center;
}

.dc-list-empty[hidden] {
    display: none;
}



/*
 * Карточка продукта на списке раздела: постер на всю ширину колонки, под ним
 * тип и название в рамке карточки, как в макете.
 */
.dc-card {
    display: flex;
    min-width: 0;
    padding: var(--spacing-component-padding-y-xs) var(--spacing-component-padding-x-xs);
    border-radius: var(--radius-4xl);
    box-shadow: inset 0 0 0 1px var(--stroke-pr);
}

.dc-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: var(--spacing-component-gap-min);
    color: inherit;
    text-decoration: none;
}

.dc-card-poster {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 392 / 578.2325439453125;
    border-radius: var(--radius-2xl);
    background: var(--background-sec);
    overflow: hidden;
}

.dc-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Заглушку не растягиваем на всю карточку — она рисунок, а не обложка */
.dc-card-poster--empty .dc-card-image {
    width: 40%;
    height: auto;
    margin: auto;
    object-fit: contain;
    opacity: 0.4;
}

.dc-card-poster--empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dc-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-component-gap-md);
    box-sizing: border-box;
    width: 100%;
    padding: var(--spacing-component-padding-y-sm) var(--spacing-component-padding-x-sm);
    text-align: center;
}

.dc-card-label {
    color: var(--text-pr);
    font-weight: 400;
}

.dc-card-title {
    margin: 0;
    color: var(--text-pr);
    font-weight: 700;
    height: 3lh;
    min-height: 0;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.dc-card-link:hover .dc-card-title {
    color: var(--text-acc);
}

.dc-card-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}


@media (min-width: 768px) {
    .dc-hero { --dc-hero-text-reference-height: 390px; }

    .dc-list-tabs {
        justify-content: center;
    }

    .dc-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--spacing-content-gap-min-grid);
    }


}

@media (min-width: 1024px) {
    .dc-hero { --dc-hero-text-reference-height: 290px; }


    .dc-list-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

@media (min-width: 1200px) {
    .dc-hero { --dc-hero-text-reference-height: 294px; }
    .dc-list-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1536px) {
    .dc-hero { --dc-hero-text-reference-height: 336px; }

    .dc-list-grid {
        gap: var(--spacing-component-gap-lg);
    }
}

/* Промо приложения: карточка на десктопе, непрерывная лента на мобильных. */
.dc-app-download {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 0;
    left: 0;
    height: 64px;
    overflow: hidden;
    background: var(--background-wa-1);
    color: var(--text-inver);
    text-decoration: none;
    text-transform: uppercase;
}

.dc-app-download-card { display: none; }

.dc-app-download-track,
.dc-app-download-group,
.dc-app-download-item {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    width: max-content;
    height: 100%;
}

.dc-app-download-track {
    animation: dc-app-marquee 40s linear infinite;
    will-change: transform;
}

.dc-app-download-item {
    gap: var(--spacing-component-gap-xs);
    padding-right: var(--spacing-component-gap-xs);
    white-space: nowrap;
}

.dc-app-download-item img {
    display: block;
    width: 45px;
    height: 60px;
    align-self: flex-end;
}

@keyframes dc-app-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 1023px) {
    .dc-app-download { padding-top: var(--spacing-component-padding-y-min); }
}

@media (min-width: 1024px) {
    .dc-app-download {
        right: var(--spacing-content-padding-grid-1);
        bottom: var(--spacing-content-padding-grid-1);
        left: auto;
        width: var(--size-component-ck-card-dw-width);
        height: var(--size-component-ck-card-dw-hight);
        overflow: visible;
        border-radius: var(--radius-2xl);
    }

    .dc-app-download-track { display: none; }

    .dc-app-download-card {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .dc-app-download-title {
        box-sizing: border-box;
        flex: 1;
        padding: var(--spacing-component-padding-y-xl) var(--spacing-component-padding-x-sm)
            var(--spacing-component-padding-y-xl) var(--spacing-component-padding-x-xl);
    }

    .dc-app-download-phone {
        display: block;
        flex: 0 0 auto;
        align-self: flex-end;
        width: 84px;
        height: auto;
        border-bottom-right-radius: var(--radius-2xl);
    }

}

@media (prefers-reduced-motion: reduce) {
    .dc-app-download-track { animation: none; }
}

/* Mobile first: ограничение высоты кадра есть только у мобильного/планшета. */
@media (min-width: 768px) {
    .dc-hero-stage {
        max-height: min(calc(460px - var(--size-component-ck-video-slider-pd-top)),
            var(--dc-hero-stage-width-limit));
    }
    .dc-hero-video-sound--design .icon { width: 24px; height: 24px; }
    .dc-hero-lead { -webkit-line-clamp: 2; }
    .dc-hero-text { padding-bottom: var(--size-component-ck-video-slider-pd-bottom); }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .dc-hero-text {
        bottom: max(0px, calc((100% - var(--header-top, 0px) - var(--header-height)
            - 460px - var(--dc-hero-text-reference-height)
            - var(--size-component-ck-video-slider-gap)) / 2));
    }
}
@media (min-width: 1024px) {
    .dc-hero-stage { max-height: var(--dc-hero-stage-width-limit); }
    /* Если высокий экран ограничил кадр по ширине, текст остаётся
     * с ним в одной центрированной композиции, а не у нижнего края окна. */
    .dc-hero-text,
    .dc-hero-next {
        bottom: max(0px, calc((100% - var(--header-top, 0px) - var(--header-height)
            - var(--size-component-ck-video-slider-pd-top) - var(--dc-hero-stage-width-limit)
            - var(--dc-hero-text-reference-height)
            - var(--size-component-ck-video-slider-gap)) / 2));
    }
    .dc-hero-video-sound--design .icon { width: 20px; height: 20px; }
    .dc-hero-next { display: flex; }
    .dc-app-download--design { width: 321px; height: 80px; }
}
@media (min-width: 1200px) {
    .dc-hero-arrow.icon-button { display: flex; width: 52px; height: 52px; }
    .dc-app-download-phone { width: 89px; }
    .dc-app-download--design { width: 351px; height: 84px; }
}
/* Figma title-3 для карточки приложения отличается от текущего токена. */
.dc-app-download-title--design { white-space: nowrap; }
@media (min-width: 1536px) {
    .dc-app-download-title--design { font-size: 14px; line-height: 18px; }
    .dc-app-download-phone { width: 132px; height: 176px; }
    .dc-app-download--design { width: 369px; height: 115px; }
    .dc-hero .dc-hero-video-sound--design { width: 56px; height: 56px; }
    .dc-hero-video-sound--design .icon { width: 24px; height: 24px; }
    .dc-hero-arrow.icon-button { width: 56px; height: 56px; }
    .dc-hero-arrow-icon.icon { width: 24px; height: 24px; }
}
@media (min-width: 1920px) {
    .dc-hero { --dc-hero-text-reference-height: 366px; }
}

/* В низком окне телефона композиция не помещается в один экран.
 * Даём ей внутреннюю прокрутку вместо сжатия кадра до нуля и наложения ленты
 * на текст. Макетные окна (в том числе 1024×600) не затрагиваются. */
@media (max-width: 1023px) and (max-height: 599px) {
    .dc-hero { overflow-y: auto; }
    .dc-hero-inner {
        flex: 1 0 auto;
        justify-content: flex-start;
        padding-top: calc(var(--header-top, 0px) + var(--header-height) + 16px);
        padding-bottom: 0;
    }
    .dc-hero-stage {
        flex: none;
        height: min(35dvh, var(--dc-hero-stage-width-limit));
        min-height: 120px;
    }
    .dc-hero-text {
        position: relative;
        bottom: auto;
        margin-top: -24px;
        padding-block: 24px;
    }
    .dc-hero-info { display: block; }
    .dc-hero-copy:not(.is-active) { display: none; }
    .dc-app-download {
        position: relative;
        flex: none;
        bottom: auto;
    }
}

/* Шапка именно витрины ЦК: в семи макетах нет дополнительной полоски.
 * Общие компоненты и токены других страниц остаются без изменений. */
:root:has(.dc-hero) { --header-top: 0px !important; }
body:has(.dc-hero) .header-topbar { display: none; }
body:has(.dc-hero) .header-slot { top: 0; }
body:has(.dc-hero) .header {
    padding-block: var(--spacing-content-padding-sm);
    min-height: 86px;
}
body:has(.dc-hero) .header.header--transparent .header-button-map {
    background-color: var(--background-component-action-1-wa-1-def);
    color: var(--text-inver);
}
@media (min-width: 1024px) {
    body:has(.dc-hero) .header { min-height: 78px; padding-block: 12px; }
}
@media (min-width: 1200px) {
    body:has(.dc-hero) .header .button-menu,
    body:has(.dc-hero) .header-logo-wrapper { height: 52px; min-height: 52px; }
    body:has(.dc-hero) .header.header--transparent .header-button-map {
        background-color: var(--background-component-action-1-pr-def);
        color: var(--text-pr);
    }
}
@media (min-width: 1536px) {
    body:has(.dc-hero) .header { min-height: 98px; padding-block: 20px; }
    body:has(.dc-hero) .header .button-menu,
    body:has(.dc-hero) .header-logo-wrapper { height: 56px; min-height: 56px; }
}

/* Поправки витрины к токенам Figma: подписи 16 px,
 * названия 20/24 на всех ширинах, межблочные отступы по режимам макета. */
.dc-list-header--design { --spacing-content-gap-xxl: 48px; }
.dc-list-tab--design { --spacing-component-gap-min: 4px; }
.dc-list .dc-card-label--design { font-size: 16px; }
.dc-list .dc-card-title--design { font-size: 20px; line-height: 24px; font-weight: 700; }
@media (min-width: 768px) {
    .dc-list-header--design { --spacing-content-gap-xxl: 40px; }
}
@media (min-width: 1536px) {
    .dc-list-header--design { --spacing-content-gap-xxl: 48px; }
}

/* End */


/* Start:/local/components/rzd/digital.collection.app-download/templates/.default/style.css?17923921716549*/
.dc-app-modal-preview {
    overflow: hidden;
    border-radius: var(--radius-3xl);
    background-color: var(--background-sec);
    aspect-ratio: 4 / 3;
}

.dc-app-modal-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dc-app-modal-qr-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-component-gap-md);
    text-align: center;
}

.dc-app-modal-qr-frame {
    width: 120px;
    height: 120px;
}

.dc-app-modal-qr {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dc-app-modal-qr[hidden] {
    display: none;
}

.dc-app-modal-qr-hint {
    margin: 0;
    max-width: 16em;
    color: var(--text-sec);
}

.dc-app-modal-stores {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-component-gap-xs);
}

.dc-app-modal-store {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacing-component-gap-sm);
    min-height: 64px;
    padding: var(--spacing-component-padding-y-md) var(--spacing-component-padding-x-md);
    border-radius: var(--radius-lg);
    background-color: var(--background-component-action-1-sec-def);
    color: var(--text-pr);
    text-align: left;
    transition: background-color var(--transition-speed);
}

.dc-app-modal-store .icon {
    flex-shrink: 0;
}

.dc-app-modal-store:hover,
.dc-app-modal-store:focus-visible {
    background-color: var(--background-component-action-1-sec-hover);
}

.dc-app-modal-store:active {
    background-color: var(--background-component-action-1-sec-pres);
}

.dc-app-modal-store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-component-gap-min);
}

.dc-app-modal-store-label {
    color: var(--text-sec);
    font-size: 7.2px;
    font-weight: 400;
    font-family: "Roboto Flex";
    line-height: 120%;
}

.dc-app-modal-store-name {
    text-transform: none;
}

/* Окно скачивания из промо цифровой коллекции. */
.is-dc-app-modal-open {
    overflow: hidden;
}

.dc-app-modal {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: 100vw;
    height: 100dvh;
    scrollbar-gutter: auto;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 8px;
    border: 0;
    background: transparent;
    color: var(--text-pr);
    overflow: auto;
    overscroll-behavior: contain;
}

.dc-app-modal[open] {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.dc-app-modal::backdrop {
    background: rgb(0 0 0 / 60%);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.dc-app-modal__content {
    position: relative;
    width: 480px;
    max-width: 100%;
    flex: 0 0 auto;
}

.dc-app-modal .dc-app-modal__panel {
    position: relative;
    inset: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    max-width: none;
    height: min(784px, calc(100dvh - 16px));
    max-height: none;
    margin: 0;
    padding: 4px;
    border-radius: 32px;
    background: var(--background-pr, #fff);
    overflow: auto;
}

.dc-app-modal .dc-app-modal-preview {
    flex: 0 1 auto;
    min-height: 120px;
    height: 400px;
    border-radius: 28px;
    aspect-ratio: auto;
    background: var(--background-sec, #f2f3f3);
}

.dc-app-modal .dc-app-modal-preview img {
    width: 64%;
    height: auto;
    margin: 0 auto;
    object-position: center top;
}

.dc-app-modal .dc-app-modal-qr-block {
    flex: 1 0 auto;
    justify-content: center;
    gap: 24px;
    padding: 24px;
}

.dc-app-modal .dc-app-modal-qr-hint {
    max-width: 240px;
    font-size: 16px;
    line-height: 1.4;
}

.dc-app-modal .dc-app-modal-stores {
    flex: 0 0 auto;
    gap: 4px;
}

.dc-app-modal .dc-app-modal-store {
    box-sizing: border-box;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 80px;
    padding: 12px 8px;
    border: 0;
    border-radius: 28px;
    font: inherit;
    text-decoration: none;
}

.dc-app-modal .dc-app-modal-store-name {
    font-size: 16px;
    font-weight: 400;
    text-transform: none;
}

.dc-app-modal__close {
    position: absolute;
    z-index: 2;
    top: 20px;
    right: 20px;
    padding: 0;
    border: 0;
    cursor: pointer;
}

.dc-app-modal__close:focus-visible,
.dc-app-modal .dc-app-modal-store:focus-visible {
    outline: 2px solid var(--text-pr);
    outline-offset: -4px;
}

@media (min-width: 1200px) and (max-width: 1535px) {
    .dc-app-modal-qr-frame { width: 100px; height: 100px; }
}

@media (min-width: 1536px) {
    .dc-app-modal__content { width: 560px; }
    .dc-app-modal .dc-app-modal__panel { height: min(848px, calc(100dvh - 16px)); }
    .dc-app-modal .dc-app-modal-preview { height: 408px; }
}

@media (min-width: 1920px) {
    .dc-app-modal__content { width: 600px; }
    .dc-app-modal .dc-app-modal__panel { height: min(944px, calc(100dvh - 16px)); }
    .dc-app-modal .dc-app-modal-preview { height: 460px; }
}

@media (min-width: 2560px) {
    .dc-app-modal .dc-app-modal__panel { height: min(1000px, calc(100dvh - 16px)); }
    .dc-app-modal .dc-app-modal-preview { height: 520px; }
}

@media (max-width: 1199px) {
    .dc-app-modal__content { width: 504px; }
    .dc-app-modal .dc-app-modal__panel { height: auto; }
    .dc-app-modal .dc-app-modal-preview { height: min(420px, calc(100dvh - 192px)); flex-shrink: 0; }
    .dc-app-modal .dc-app-modal-qr-block { display: none; }
}

@media (max-width: 1023px) {
    .dc-app-modal[open] { justify-content: center; align-items: center; }
    .dc-app-modal__content { width: 600px; padding-bottom: 68px; }
    .dc-app-modal .dc-app-modal-preview { height: min(720px, calc(100dvh - 176px)); }
    .dc-app-modal .dc-app-modal-stores { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dc-app-modal .dc-app-modal-store--windows { display: none; }
    .dc-app-modal__close { top: auto; right: auto; bottom: 0; left: 50%; transform: translateX(-50%); }
}

@media (max-width: 767px) {
    .dc-app-modal__content { width: 424px; }
    .dc-app-modal .dc-app-modal__panel { border-radius: 24px; }
    .dc-app-modal .dc-app-modal-preview,
    .dc-app-modal .dc-app-modal-store { border-radius: 20px; }
    .dc-app-modal .dc-app-modal-preview { height: min(600px, calc(100dvh - 176px)); }
}

@media (max-width: 1023px) {
    .dc-app-modal .dc-app-modal-preview img { width: 100%; height: 100%; object-fit: cover; }
}

/* End */
/* /local/templates/main/components/bitrix/news/digital-collection/bitrix/news.list/digital-collection/style.css?179207581124487 */
/* /local/components/rzd/digital.collection.app-download/templates/.default/style.css?17923921716549 */
