.avgustovki-page {
    --av-text: #535362;
    --av-text-inverse: #ffffff;
    --av-tag: #acacb8;
    --av-page-bg: #f3f3f8;
    --av-surface: #ffffff;
    --av-chip-bg: #e9e9f2;
    --av-dot: #dddde4;
    --av-yellow: #ffba13;
    --av-green: #9bbc10;
    --av-blue: #7095e2;
    --av-blue-hover: #91b1f3;
    --av-hero-pretitle: #fdedff;

    --av-radius: 4px;

    --av-section-y: 8rem;
    --av-block-gap: 3.2rem;
    --av-gap: 2.4rem;

    --av-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    --av-transition: 0.3s ease;

    font-family: 'Futura PT', sans-serif;
    background: var(--av-page-bg);
}

.avgustovki-page * {
    box-sizing: border-box;
}

.avgustovki-page .av-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 5rem;
    padding: 1.4rem 2rem;
    border: none;
    border-radius: var(--av-radius);
    background: var(--av-text);
    color: var(--av-text-inverse);
    font-family: inherit;
    font-size: 1.8rem;
    line-height: 2.2rem;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--av-transition);
}

.avgustovki-page .av-btn:hover,
.avgustovki-page .av-btn:focus-visible {
    background: #43434f;
    color: var(--av-text-inverse);
}

.av-hero {
    position: relative;
    top: 12px;
    display: flex;
    align-items: center;
    padding: var(--av-section-y) 0;
    overflow: hidden;
    isolation: isolate;
    background-color: #4d0b58;
    background-image:
        url('../images/avgustovki/hero-bg.jpg'),
        linear-gradient(108.05deg, #4c2459 8.59%, #4d0b58 91.9%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
}

.av-hero__container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.av-hero__pretitle {
    margin: 0;
    color: var(--av-hero-pretitle);
    font-size: 2.4rem;
    line-height: 120%;
    font-weight: 400;
    text-transform: uppercase;
}

.av-hero__title {
    margin: 2rem 0 0;
    max-width: 12em;
    color: var(--av-text-inverse);
    font-size: 6rem;
    line-height: 110%;
    font-weight: 700;
}

.av-hero__subtitle {
    margin: 2rem 0 0;
    color: var(--av-text-inverse);
    font-size: 3.2rem;
    line-height: 120%;
    font-weight: 400;
}

.av-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 4rem;
    min-width: 35.4rem;
    min-height: 5.4rem;
    padding: 1.4rem 2rem;
    border-radius: var(--av-radius);
    background: linear-gradient(88.66deg, #7e3ca4 7.61%, #c700c3 94.13%);
    color: var(--av-text-inverse);
    font-size: 2.4rem;
    line-height: 2.2rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: filter var(--av-transition);
}

.av-hero__btn:hover,
.av-hero__btn:focus-visible {
    filter: brightness(1.12);
    color: var(--av-text-inverse);
}

.av-products {
    padding: var(--av-section-y) 0 0;
}

.av-filter {
    display: flex;
    align-items: stretch;
    gap: 1.6rem;
    margin-bottom: var(--av-block-gap);
}

.av-filter__btn {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 5.4rem;
    padding: 0.5rem 2rem;
    border: none;
    border-radius: var(--av-radius);
    background: var(--av-chip-bg);
    color: var(--av-text);
    font-family: inherit;
    font-size: 1.8rem;
    line-height: 100%;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
    transition: background var(--av-transition), color var(--av-transition);
}

.av-filter__icon {
    flex: none;
    width: 2.4rem;
    height: 2.4rem;
    fill: currentColor;
    transition: transform var(--av-transition);
}

.av-filter__btn.is-active {
    color: var(--av-text-inverse);
    font-weight: 450;
}

.av-filter__btn--do.is-active {
    background: var(--av-yellow);
}

.av-filter__btn--no.is-active {
    background: var(--av-green);
}

.av-filter__btn--oso.is-active {
    background: var(--av-blue);
}

.av-filter__btn--oso.is-active:hover {
    background: var(--av-blue-hover);
}

.av-products__slider-box {
    position: relative;
}

.av-products__slider {
    padding-bottom: 0.4rem;
}

.av-products__slide {
    height: auto;
}

.av-product {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--av-radius);
    background: var(--av-surface);
    color: var(--av-text);
    text-decoration: none;
    box-shadow: var(--av-shadow);
    transition: box-shadow var(--av-transition), transform var(--av-transition);
}

a.av-product:hover,
a.av-product:focus-visible {
    color: var(--av-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.av-product__image {
    padding: 0.8rem;
}

.av-product__image img {
    display: block;
    width: 100%;
    aspect-ratio: 378 / 212;
    object-fit: cover;
    border-radius: var(--av-radius);
}

.av-product__content {
    padding: 0.8rem 2rem 1.6rem;
}

.av-product__title {
    margin: 0;
    font-size: 2rem;
    line-height: 120%;
    font-weight: 400;
    color: var(--av-text);
}

.av-products__nav {
    position: absolute;
    z-index: 5;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--av-surface);
    color: var(--av-text);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background var(--av-transition), opacity var(--av-transition);
}

.av-products__nav:hover {
    background: #f0f0f5;
}

.av-products__nav--prev {
    left: -2.5rem;
}

.av-products__nav--next {
    right: -2.5rem;
}

.av-products__nav-icon {
    width: 0.8rem;
    height: 1.4rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.av-products__nav.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

.av-products__nav.swiper-button-lock {
    display: none;
}

.av-products__pagination.swiper-pagination {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    margin-top: var(--av-block-gap);
}

.av-products__pagination .swiper-pagination-bullet {
    width: 1rem;
    height: 1rem;
    margin: 0;
    background: var(--av-dot);
    opacity: 1;
}

.av-products__pagination .swiper-pagination-bullet-active {
    background: var(--av-text);
}

.av-products__pagination.swiper-pagination-lock {
    display: none;
}

.av-tabs {
    padding: 6rem 0 var(--av-section-y);
}

.av-tabs__nav {
    position: relative;
    margin-bottom: var(--av-block-gap);
}

.av-tabs__current {
    display: none;
}

.av-tabs__list {
    display: flex;
    align-items: stretch;
    gap: 1.6rem;
}

.av-tabs__btn {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-height: 5.4rem;
    padding: 1.5rem 2rem 1.7rem;
    border: none;
    border-radius: var(--av-radius);
    background: var(--av-chip-bg);
    color: var(--av-text);
    font-family: inherit;
    font-size: 1.8rem;
    line-height: 2.2rem;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
    transition: background var(--av-transition), color var(--av-transition);
}

.av-tabs__btn.is-active {
    background: var(--av-text);
    color: var(--av-text-inverse);
}

.av-tabs__panel {
    display: none;
}

.av-tabs__panel.is-active {
    display: block;
}

.av-tabs__subtitle {
    margin: 0 0 var(--av-block-gap);
    color: var(--av-text);
    font-size: 3.6rem;
    line-height: 130%;
    font-weight: 500;
}

.av-tabs__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--av-gap);
}

.av-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--av-radius);
    background: var(--av-surface);
    box-shadow: var(--av-shadow);
    overflow: hidden;
}

.av-card__media {
    position: relative;
    padding: 0.8rem;
}

.av-card__poster {
    display: block;
    width: 100%;
    aspect-ratio: 796 / 359;
    object-fit: cover;
    border-radius: var(--av-radius);
}

.av-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background: rgba(41, 45, 69, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--av-text-inverse);
    transform: translate(-50%, -50%);
    transition: background var(--av-transition);
}

.av-card__play:hover,
.av-card__play:focus-visible {
    background: rgba(41, 45, 69, 0.65);
    color: var(--av-text-inverse);
}

.av-card__play-icon {
    width: 2.1rem;
    height: 2.5rem;
    margin-left: 0.3rem;
}

.av-card__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding: 1.6rem 2.4rem 2.4rem;
}

.av-card__tag {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.6rem;
    border: 1px dashed var(--av-tag);
    border-radius: var(--av-radius);
    color: var(--av-tag);
    font-size: 1.4rem;
    line-height: 2rem;
    font-weight: 400;
    text-transform: uppercase;
}

.av-card__title {
    margin: 0;
    color: var(--av-text);
    font-size: 2.4rem;
    line-height: 130%;
    font-weight: 700;
}

.av-card__text {
    margin: 0;
    color: var(--av-text);
    font-size: 2rem;
    line-height: 140%;
    font-weight: 400;
}

.av-card__btn {
    margin-top: auto;
}

html {
    scrollbar-gutter: stable;
}

@supports (scrollbar-gutter: stable) {
    body.lock {
        padding-right: 0 !important;
    }
}

.av-popup,
.av-popup .av-popup__content {
    transition: opacity var(--av-transition), visibility var(--av-transition);
}

.av-popup .av-popup__content,
.av-popup.open .av-popup__content {
    transform: none;
}

.av-popup .av-popup__content {
    position: relative;
    width: 100%;
    max-width: 83.4rem;
    padding: 4.6rem;
    border-radius: 0.8rem;
    background: var(--av-surface);
    text-align: center;
}

.av-popup__close {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    padding: 0;
    border: none;
    border-radius: 0.8rem;
    background: var(--av-page-bg);
    color: var(--av-text);
    cursor: pointer;
    transition: background var(--av-transition);
}

.av-popup__close:hover {
    background: #e2e2ea;
}

.av-popup__close-icon {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
}

.av-popup__title {
    margin: 0 0 1.2rem;
    padding: 0 4rem;
    color: var(--av-text);
    font-size: 3.8rem;
    line-height: 110%;
    font-weight: 600;
}

.av-popup__text {
    margin: 0 0 3.2rem;
    color: var(--av-text);
    font-size: 2.4rem;
    line-height: 120%;
    font-weight: 400;
}

.av-popup__actions {
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
}

.avgustovki-page .av-popup .av-popup__btn {
    width: 100%;
    min-height: 5.6rem;
    padding: 1rem 2.4rem 1.3rem;
    border-radius: 0.8rem;
    font-size: 2.4rem;
    line-height: 120%;
}

@media (max-width: 1440px) {
    .avgustovki-page .container {
        padding: 0 4.6rem;
    }

    .avgustovki-page {
        --av-section-y: 6rem;
        --av-block-gap: 2.4rem;
    }

    .av-hero {
        background-image:
            url('../images/avgustovki/hero-bg-1440.jpg'),
            linear-gradient(108.05deg, #4c2459 8.59%, #4d0b58 91.9%);
    }

    .av-hero__pretitle {
        font-size: 2rem;
    }

    .av-hero__title {
        font-size: 4.6rem;
    }

    .av-hero__subtitle {
        font-size: 2.8rem;
    }

    .av-hero__btn {
        margin-top: 3.6rem;
        min-width: 32.8rem;
        font-size: 2.2rem;
    }

    .av-filter__btn {
        font-size: 1.6rem;
    }

    .av-product__content {
        padding: 0.4rem 1.6rem 1.2rem;
    }

    .av-product__title {
        font-size: 1.8rem;
    }

    .av-tabs {
        padding-top: 4rem;
    }

    .av-tabs__btn {
        font-size: 1.6rem;
    }

    .av-tabs__subtitle {
        font-size: 3rem;
    }

    .av-card__title {
        font-size: 2rem;
    }

    .av-card__text {
        font-size: 1.6rem;
    }

    .av-card__play {
        width: 6rem;
        height: 6rem;
    }

    .avgustovki-page .av-btn {
        font-size: 1.6rem;
    }
}

@media (max-width: 1280px) {
    .av-hero {
        background-image:
            url('../images/avgustovki/hero-bg-1280.jpg'),
            linear-gradient(108.05deg, #4c2459 8.59%, #4d0b58 91.9%);
    }

    .av-hero__pretitle {
        font-size: 1.8rem;
    }

    .av-hero__title {
        font-size: 4.2rem;
    }

    .av-tabs__subtitle {
        font-size: 2.8rem;
    }
}

@media (max-width: 1024px) {
    .avgustovki-page {
        --av-gap: 2rem;
    }

    .av-hero {
        background-image:
            url('../images/avgustovki/hero-bg-1024.jpg'),
            linear-gradient(108.05deg, #4c2459 8.59%, #4d0b58 91.9%);
    }

    .av-hero__title {
        font-size: 3.6rem;
    }

    .av-hero__subtitle {
        font-size: 2.4rem;
    }

    .av-hero__btn {
        margin-top: 3.2rem;
        min-width: 30.2rem;
        font-size: 2rem;
    }

    .av-filter__btn {
        font-size: 1.4rem;
    }

    .av-filter__icon {
        width: 2rem;
        height: 2rem;
    }

    .av-product__title {
        font-size: 1.6rem;
    }

    .av-tabs__current {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.6rem;
        width: 100%;
        min-height: 5.4rem;
        padding: 0.4rem 2rem;
        border: none;
        border-radius: var(--av-radius);
        background: var(--av-surface);
        color: var(--av-text);
        font-family: inherit;
        font-size: 1.4rem;
        line-height: 1.8rem;
        text-align: left;
        cursor: pointer;
    }

    .av-tabs__current-icon {
        flex: none;
        width: 1.8rem;
        height: 1.8rem;
        fill: currentColor;
        transition: transform var(--av-transition);
    }

    .av-tabs__nav.is-open .av-tabs__current-icon {
        transform: rotate(180deg);
    }

    .av-tabs__list {
        position: absolute;
        z-index: 20;
        top: 0;
        left: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        border-radius: 0.8rem;
        background: var(--av-surface);
        box-shadow: 0 0 24px rgba(87, 87, 110, 0.08);
        overflow: hidden;
    }

    .av-tabs__nav.is-open .av-tabs__list {
        display: flex;
    }

    .av-tabs__btn {
        flex: none;
        justify-content: flex-start;
        min-height: 4.4rem;
        padding: 1.2rem 2rem 1.4rem;
        border-radius: 0;
        background: var(--av-surface);
        font-size: 1.4rem;
        line-height: 2.2rem;
        text-align: left;
    }

    .av-tabs__btn.is-active {
        background: var(--av-text);
        color: var(--av-text-inverse);
    }

    .av-tabs__subtitle {
        font-size: 2.4rem;
    }

    .av-card__content {
        gap: 1.6rem;
    }

    .av-card__title {
        font-size: 1.8rem;
    }

    .av-card__text {
        font-size: 1.4rem;
    }

    .avgustovki-page .av-btn {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .av-hero {
        background-image:
            url('../images/avgustovki/hero-bg-768.jpg'),
            linear-gradient(108.05deg, #4c2459 8.59%, #4d0b58 91.9%);
    }

    .av-tabs__subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .avgustovki-page .container {
        padding: 0 1.6rem;
    }

    .avgustovki-page {
        --av-section-y: 2.4rem;
        --av-block-gap: 2rem;
        --av-gap: 0.8rem;
    }

    .av-hero {
        background-image:
            url('../images/avgustovki/hero-bg-mobile.jpg'),
            linear-gradient(108.05deg, #4c2459 8.59%, #4d0b58 91.9%);
        background-position: right bottom;
    }

    .av-hero__pretitle {
        font-size: 1.4rem;
    }

    .av-hero__title {
        margin-top: 1.2rem;
        max-width: 11em;
        font-size: 2.4rem;
    }

    .av-hero__subtitle {
        margin-top: 1.2rem;
        font-size: 1.8rem;
    }

    .av-hero__btn {
        width: 100%;
        min-width: 0;
        min-height: 5rem;
        margin-top: 4rem;
        font-size: 1.6rem;
    }

    .av-products {
        margin-top: 1.2rem;
    }
    .av-filter {
        flex-direction: column;
        gap: 0.8rem;
    }

    .av-filter__btn {
        flex: none;
        width: 100%;
        min-height: 4.8rem;
        padding: 0.5rem 1.6rem;
    }

    .av-products__nav {
        display: none;
    }

    .av-product__title {
        font-size: 1.4rem;
    }

    .av-tabs__current {
        min-height: 4.8rem;
        padding: 0.4rem 1.6rem;
    }

    .av-tabs__subtitle {
        display: none;
    }

    .av-tabs__grid {
        display: flex;
        grid-template-columns: none;
        gap: var(--av-gap);
        margin: -0.6rem -1.6rem -1.6rem;
        padding: 0.6rem 1.6rem 1.6rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .av-tabs__grid::-webkit-scrollbar {
        display: none;
    }

    .av-tabs__grid > .av-card {
        flex: 0 0 83.33%;
        scroll-snap-align: start;
    }

    .av-card__content {
        gap: 1.2rem;
        padding: 1.2rem 2rem 2rem;
    }

    .av-card__play {
        width: 4rem;
        height: 4rem;
    }

    .av-card__play-icon {
        width: 1.2rem;
        height: 1.4rem;
    }

    .av-card__tag {
        font-size: 1.2rem;
    }

    .av-card__title {
        font-size: 1.6rem;
    }

    .av-card__text {
        font-size: 1.2rem;
        line-height: 130%;
    }

    .avgustovki-page .av-btn {
        min-height: 4.8rem;
    }

    .av-popup .av-popup__content {
        max-width: 100%;
        padding: 4.6rem 1rem 1rem;
        border-radius: 1.6rem;
    }

    .av-popup__close {
        top: 1rem;
        right: 1rem;
        width: 3.2rem;
        height: 3.2rem;
    }

    .av-popup__title {
        padding: 0 3.2rem;
        font-size: 2.4rem;
        line-height: 120%;
    }

    .av-popup__text {
        margin-bottom: 2.4rem;
        font-size: 1.8rem;
    }

    .av-popup__actions {
        gap: 2.4rem;
    }

    .avgustovki-page .av-popup .av-popup__btn {
        min-height: 4.8rem;
        font-size: 1.6rem;
    }
}

@media (min-width: 992px) {
    .avgustovki-page .av-hero {
        top: -35px;
        margin-bottom: -35px;
    }
}
