/**
 * VOD landing (/) — one vertical scroll, no horizontal page drift
 */
html.vod-landing,
html:has(body.vod-modern-categories) {
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
}

html.vod-landing.layout-menu-fixed .layout-page,
html.vod-landing.layout-navbar-fixed .layout-page {
    overflow: visible !important;
    min-height: 0 !important;
    height: auto !important;
}

body.vod-modern-categories {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    height: auto !important;
    min-height: 100vh;
    display: block !important;
    padding-top: 80px !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    overscroll-behavior-y: auto;
}

body.vod-modern-categories #layout-navbar,
body.vod-modern-categories .layout-navbar {
    display: flex !important;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    overflow: visible !important;
}

/* Background must not hijack scroll / cover content */
body.vod-modern-categories .animated-bg {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    min-height: 100%;
    height: 100%;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

body.vod-modern-categories .animated-bg::before,
body.vod-modern-categories .animated-bg::after {
    max-width: 100%;
}

body.vod-modern-categories .vod-container {
    position: relative;
    z-index: 2;
    isolation: isolate;
}

body.vod-modern-categories .layout-wrapper,
body.vod-modern-categories .layout-container,
body.vod-modern-categories .layout-page,
body.vod-modern-categories .content-wrapper,
body.vod-modern-categories .container-xxl {
    display: block !important;
    flex: none !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.vod-modern-categories .content-wrapper.ps {
    overflow: visible !important;
}

body.vod-modern-categories .ps__rail-y,
body.vod-modern-categories .ps__rail-x {
    display: none !important;
}

body.vod-modern-categories .vod-container,
body.vod-modern-categories .hero-section,
body.vod-modern-categories .filter-section,
body.vod-modern-categories .category-section,
body.vod-modern-categories .category-slider,
body.vod-modern-categories .special-section,
body.vod-modern-categories footer {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

body.vod-modern-categories .filter-section {
    position: relative !important;
    z-index: 3 !important;
    overflow: visible !important;
    max-height: none !important;
    transform: none !important;
}

body.vod-modern-categories .filter-container,
body.vod-modern-categories .filter-form,
body.vod-modern-categories .filter-group {
    overflow: visible !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    max-height: none !important;
    scrollbar-width: none;
}

body.vod-modern-categories .filter-dropdown:not(.show),
body.vod-modern-categories .filter-dropdown-large:not(.show) {
    display: none !important;
    pointer-events: none !important;
}

body.vod-modern-categories .filter-dropdown.show,
body.vod-modern-categories .filter-dropdown-large.show {
    display: block !important;
    pointer-events: auto !important;
}

body.vod-modern-categories .category-swiper {
    touch-action: pan-y;
}

body.vod-modern-categories .filter-section::-webkit-scrollbar,
body.vod-modern-categories .filter-container::-webkit-scrollbar,
body.vod-modern-categories .filter-form::-webkit-scrollbar,
body.vod-modern-categories .filter-group::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* Empty hero — centered in viewport below navbar */
body.vod-modern-categories .hero-section--empty {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.vod-modern-categories .hero-slider--empty {
    width: 100%;
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.vod-modern-categories .hero-slide--empty {
    position: relative !important;
    opacity: 1 !important;
    width: 100%;
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.vod-modern-categories .hero-background--empty {
    position: relative !important;
    width: 100%;
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.vod-modern-categories .hero-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    z-index: 20;
}

body.vod-modern-categories .hero-empty-state h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
    color: #fff;
}

body.vod-modern-categories .hero-empty-state p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.85;
    margin-bottom: 1.75rem;
    color: #fff;
}

body.vod-modern-categories .hero-empty-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

body.vod-modern-categories .filter-form,
body.vod-modern-categories .filter-group {
    flex-wrap: wrap !important;
    max-width: 100% !important;
    width: 100% !important;
}

body.vod-modern-categories .sort-section {
    flex-wrap: wrap !important;
    max-width: 100% !important;
}

body.vod-modern-categories .category-swiper.swiper,
body.vod-modern-categories .category-swiper .swiper {
    overflow: hidden !important;
    max-width: 100% !important;
}

body.vod-modern-categories .particles {
    display: none !important;
}

body.vod-modern-categories .hero-indicators {
    max-width: 100% !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

body.vod-modern-categories .hero-indicators::-webkit-scrollbar {
    display: none;
}

/* Minimal: no bleed orbs, calmer motion */
body.vod-modern-categories .animated-bg::before,
body.vod-modern-categories .animated-bg::after {
    display: none;
}

body.vod-modern-categories .hero-badge,
body.vod-modern-categories .hero-background img {
    animation: none;
}

body.vod-modern-categories .filter-section {
    background: rgba(26, 31, 46, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Film modal — viewport centered (modal moved to body via JS) */
html.vod-modal-open,
body.vod-modal-open {
    overflow: hidden !important;
}

body.vod-modal-open {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
}

body.vod-modern-categories .film-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000 !important;
}

body.vod-modern-categories .hero-navigation {
    max-width: 100% !important;
    left: 0;
    right: 0;
}
