/* ==========================================
   SHORT VIDEOS — landing theme over widget
   ========================================== */

.shorts-section {
    /*Временно отключили пока не появится видео сторисов*/
    display: none;

    
    max-width: 1344px;
    margin: 0 auto;
}

.shorts-section [data-short-videos] {
    --sv-title-font: "Manrope", sans-serif;
}

.shorts-section [data-short-videos] .sv\:bg-\[\#121212\] {
    background: transparent;
    padding-top: 0;
    padding-bottom: 0;
}

.shorts-section [data-short-videos] h2 {
    width: 100%;
    color: #504359;
    font-size: 64px;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: -0.03em;
    text-align: left;
}

.shorts-section [data-short-videos] .sv\:mt-\[60px\] {
    margin-top: 48px;
}

.shorts-section .sv\:mt-\[60px\].sv\:hidden {
    display: block !important;
}

.shorts-section .sv\:lg\:hidden,
.shorts-section .sv\:absolute.sv\:right-0.sv\:bottom-0,
.shorts-section .sound-toggle,
.shorts-section .progress,
.shorts-section video.sv-playing ~ div [class*="sv:h-20"],
.shorts-section video.sv-playing ~ div:has(svg),
.shorts-section [data-short-videos] video.sv-playing ~ div:has(svg),
.shorts-section .reel-card-desktop:has(video.sv-playing) div:has(> svg) {
    display: none !important;
}

.shorts-section .sv\:h-\[600px\] {
    position: relative;
    height: 744px;
    overflow: hidden;
}

.shorts-section .scrollbar-hide {
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 0;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-y: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 50%;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.shorts-section .reel-card-desktop {
    width: 294px !important;
    height: 590px !important;
    border-radius: 24px !important;
    opacity: 1 !important;
    scroll-snap-align: center;
}

.shorts-section .reel-card-desktop.active {
    width: 370px !important;
    height: 744px !important;
}

.shorts-section [data-short-videos] .sv\:bg-black\/20 {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.shorts-section [data-short-videos] .sv\:h-20.sv\:w-20 {
    width: 44px;
    height: 44px;
    background: #e4d6ff;
    color: var(--purple);
    box-shadow: none;
}

.shorts-section [data-short-videos] .sv\:h-20.sv\:w-20 svg {
    width: 16px;
    height: 16px;
    margin-left: 2px;
}

.shorts-section .reel-card-desktop video {
    filter: brightness(0.72);
}

.shorts-section .reel-card-desktop .sv\:bottom-2.sv\:left-2 {
    right: 20px;
    bottom: 25px;
    left: 26px;
}

.shorts-section .reel-card-desktop h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: -0.03em;
}

.shorts-section .reel-card-desktop p {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 400;
}

@media (hover: hover) {
    .shorts-section [data-short-videos] .sv\:h-20.sv\:w-20:hover,
    .shorts-section [data-short-videos] .sv\:hover\:bg-white:hover {
        background-color: #d9c6ff;
        color: var(--purple);
    }
}

@media (max-width: 1344px) {
    .shorts-section {
        max-width: none;
        padding: var(--section-gap) 0 0 14px;
    }

    .shorts-section [data-short-videos] h2 {
        font-size: 52px;
        text-align: center;
    }

    .shorts-section [data-short-videos] .sv\:mt-\[60px\] {
        margin-top: 15px;
    }

    .shorts-section .sv\:h-\[600px\] {
        height: 510px;
    }

    .shorts-section .reel-card-desktop {
        width: 220px !important;
        height: 419px !important;
        border-radius: 16px !important;
    }

    .shorts-section .reel-card-desktop.active {
        width: 268px !important;
        height: 510px !important;
    }

    .shorts-section .reel-card-desktop .sv\:bottom-2.sv\:left-2 {
        right: 14px;
        bottom: 14px;
        left: 14px;
    }

    .shorts-section .reel-card-desktop h3 {
        font-size: 16px;
    }

    .shorts-section .reel-card-desktop p {
        font-size: 13px;
    }
}

@media (max-width: 651px) {
    .shorts-section {
        padding: var(--section-gap) 16px 0;
    }

    .shorts-section [data-short-videos] h2 {
        font-size: 32px;
        letter-spacing: -0.03em;
        text-align: center;
    }

    .shorts-section [data-short-videos] .sv\:mt-\[60px\] {
        margin-top: 24px;
    }

    .shorts-section .sv\:h-\[600px\] {
        height: 430px;
    }

    .shorts-section .scrollbar-hide {
        scroll-snap-type: x proximity;
        scroll-padding-inline: 0;
    }

    .shorts-section .reel-card-desktop {
        border-radius: 20px !important;
        scroll-snap-align: start;
    }

    .shorts-section .reel-card-desktop.active {
        width: 248px !important;
        height: 430px !important;
    }

    .shorts-section .reel-card-desktop .sv\:bottom-2.sv\:left-2 {
        right: 12px;
    }

    .shorts-section [data-short-videos] .sv\:h-20.sv\:w-20 {
        width: 40px;
        height: 40px;
    }
}
