/* ======================================================================
   Промо-страница /promotions/ — вся вёрстка страницы.
   Подключается через $APPLICATION->SetAdditionalCSS() в promotions/index.php.
   Пути к картинкам — относительно этого файла (css/pages/ -> ../../images/).
   ====================================================================== */

    #navigation {
        display:none;
    }
    .main-page {
        --color-bg: white;
        --color-card: #ffffff;
        --color-navy: #163560;
        --color-blue: #2d5bff;
        --color-blue-2: #5b3bff;
        --color-text: #2b3142;
        --color-muted: #9aa1b4;
        --color-green: #2ec16b;
        --color-yellow: #ffd23d;
        --radius: 16px;
        --radius-sm: 12px;
        --gap: 24px;
        --container: 1620px;

        background-color: var(--color-bg);
        font-family: "Roboto", Arial, sans-serif;
        color: var(--color-text);
    }

    .main-page *,
    .main-page *::before,
    .main-page *::after {
        box-sizing: border-box;
    }

    .main-page__container {
        max-width: var(--container);
        margin: 0 auto;
        padding: 32px 24px 64px;
        display: flex;
        flex-direction: column;
        gap: 56px;
        background-color: white;
    }

    .main-page .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: none;
        border-radius: 12px;
        font-family: "Roboto Condensed", "Roboto", sans-serif;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .3px;
        text-decoration: none;
        cursor: pointer;
        max-width: 100%;
        text-align: center;
        transition: filter .2s ease, transform .15s ease, box-shadow .2s ease;
    }

    .main-page .btn,
    .main-page .btn:link,
    .main-page .btn:visited,
    .main-page .btn:hover,
    .main-page .btn:focus,
    .main-page .btn:active {
        color: #fff;
        text-decoration: none;
    }

    .main-page .btn:hover {
        filter: brightness(1.08);
    }

    .main-page .btn:active {
        transform: translateY(1px);
    }

    .main-page .btn:focus,
    .main-page .btn:active {
        outline: none;
    }

    .main-page .btn:focus-visible {
        outline: 2px solid #9380FF;
        outline-offset: 3px;
    }

    .main-page .btn--primary,
    .main-page .btn--primary:link,
    .main-page .btn--primary:hover,
    .main-page .btn--primary:focus,
    .main-page .btn--primary:active,
    .main-page .btn--primary:visited {
        background: linear-gradient(108.73deg, #3C59FA 3.67%, #4E2AAA 96.25%);
        color: #fff;
    }

    .main-page .btn--ghost,
    .main-page .btn--ghost:link,
    .main-page .btn--ghost:hover,
    .main-page .btn--ghost:focus,
    .main-page .btn--ghost:active,
    .main-page .btn--ghost:visited {
        background: linear-gradient(108.73deg, rgba(60, 89, 250, .5) 3.67%, rgba(78, 42, 170, .5) 96.25%);
        color: #fff;
    }

    .main-page .btn--primary {
        padding: 14px 28px;
    }

    .main-page .btn--ghost {
        position: relative;
        background: linear-gradient(108.73deg, rgba(60, 89, 250, .5) 3.67%, rgba(78, 42, 170, .5) 96.25%);
        color: #fff;
        width: 100%;
        max-width: 728px;
        min-height: 110px;
        padding: 20px 110px 20px 40px;
        border-radius: 20px;
        font-weight: 400;
        font-size: 24px;
        line-height: 100%;
        letter-spacing: -.03em;
        text-align: center;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .main-page .btn__circle {
        position: absolute;
        top: 50%;
        right: 30px;
        transform: translateY(-50%);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 80px;
        height: 80px;
        border: 1px solid rgba(255, 255, 255, .55);
        border-radius: 50%;
    }

    .main-page .btn--wide {
        width: auto;
    }

    .section {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    section{
        min-width:auto !important;
    }

    .section__head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 24px;
    }

    .section__head-text {
        display: flex;
        flex-direction: column;
        gap: 10px;
        max-width: 720px;
    }

    .section__title {
        margin: 0;
        font-family: "Roboto Condensed", "Roboto", sans-serif;
        font-weight: 600;
        font-size: 32px;
        line-height: 120%;
        color: var(--color-navy);
    }

    .section__subtitle {
        margin: 0;
        font-size: 15px;
        line-height: 160%;
        color: var(--color-muted);
    }

    .main-page .section__title {
        padding: 0;
        margin: 0;
        text-indent: 0;
    }

    .main-page .section__title::before {
        display: none;
    }

    .slider-nav {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
    }

    .slider-nav__btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        border: 1px solid rgba(45, 91, 255, .35);
        background: #fff;
        cursor: pointer;
        position: relative;
        transition: background .2s ease, border-color .2s ease, opacity .2s ease;
    }

    .slider-nav__btn::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 10px;
        height: 10px;
        border-top: 2px solid var(--color-blue);
        border-right: 2px solid var(--color-blue);
        transition: border-color .2s ease;
    }

    .slider-nav__btn--prev::before {
        transform: translate(-30%, -50%) rotate(-135deg);
    }

    .slider-nav__btn--next::before {
        transform: translate(-70%, -50%) rotate(45deg);
    }

    .slider-nav__btn--next {
        background: var(--color-blue);
        border-color: var(--color-blue);
    }

    .slider-nav__btn--next::before {
        border-color: #fff;
    }

    .slider-nav__btn:hover {
        background: var(--color-blue);
        border-color: var(--color-blue);
    }

    .slider-nav__btn:hover::before {
        border-color: #fff;
    }

    .slider-nav__btn[disabled] {
        opacity: .4;
        cursor: default;
    }

    .slider {
        width: 100%;
    }

    .slider__viewport {
        overflow: hidden;

        touch-action: pan-y;
        cursor: grab;
    }

    .slider__viewport img,
    .slider__viewport a {
        -webkit-user-drag: none;
        user-drag: none;
    }

    .slider.is-grabbing .slider__viewport {
        cursor: grabbing;
    }

    .slider.is-grabbing,
    .slider.is-grabbing * {
        user-select: none;
    }

    .slider__track {
        display: flex;
        gap: var(--gap);
        transition: transform .45s cubic-bezier(.4, 0, .2, 1);
        will-change: transform;
    }

    .slider__slide {
        flex: 0 0 auto;
    }

    .special .slider__slide,
    .hits .slider__slide {
        width: calc((100% - 4 * var(--gap)) / 5);
    }

    .reviews .slider__slide {
        width: calc((100% - 2 * var(--gap)) / 3);
    }
    .hero {
        background: url('../../images/promotions/bg-hero.png') center right / contain no-repeat;
        background-color: #010519;
        border-radius: 0;
        overflow: hidden;
    }

    .hero__media {
        display: none;
    }

    .hero__inner {
        max-width: var(--container);
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
        padding: 64px 24px;
        min-height: 420px;
    }

    .hero__content {
        display: flex;
        flex-direction: column;
        gap: 24px;

        max-width: 900px;
    }

    .hero__title {
        margin: 0;
        font-family: "Roboto Condensed", "Roboto", sans-serif;
        font-weight: 700;
        text-transform: uppercase;

        font-size: 88px;
        line-height: 100%;
        letter-spacing: -.03em;
        color: #fff;
    }

    .hero__accent {
        background: linear-gradient(90deg, #9380FF 0%, #FFFFFF 55.29%, #9380FF 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }

    .hero__text {
        margin: 0;
        font-family: "Roboto Condensed", "Roboto", sans-serif;
        font-weight: 400;

        font-size: 30px;
        line-height: 120%;
        letter-spacing: 0;
        color: rgba(255, 255, 255, .72);

        max-width: 440px;
    }

    .hero__media {
        flex: 0 1 46%;
        display: flex;
        justify-content: flex-end;
    }

    .hero__img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* ========================================================================
       КАРТОЧКА ТОВАРА (Специальные предложения)
       ======================================================================== */
    .product-card {
        display: flex;
        flex-direction: column;
        background: var(--color-card);
        border-radius: var(--radius);
        padding: 16px;
        box-shadow: 0 6px 24px rgba(22, 53, 96, .06);
    }

    .product-card__media {
        position: relative;
        border-radius: var(--radius-sm);
        background: #f6f7fb;
        padding: 16px;
        margin-bottom: 16px;
    }

    .product-card__badge {
        position: absolute;
        top: 12px;
        left: 12px;
        background: var(--color-yellow);
        color: var(--color-navy);
        font-weight: 700;
        font-size: 13px;
        padding: 4px 10px;
        border-radius: 8px;
    }

    .product-card__fav {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: none;
        background: #fff;
        color: var(--color-muted);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(22, 53, 96, .12);
        transition: color .2s ease;
    }

    .product-card__fav:hover {
        color: #ff5470;
    }

    .product-card__img {
        display: block;
        width: 100%;
        height: 180px;
        object-fit: contain;
    }

    .product-card__dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 12px;
    }

    .product-card__dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #d4d8e6;
    }

    .product-card__dot--active {
        background: var(--color-blue);
    }

    .product-card__body {
        display: flex;
        flex-direction: column;
        gap: 10px;
        flex-grow: 1;
    }

    .product-card__title {
        margin: 0;
        font-weight: 600;
        font-size: 16px;
        line-height: 130%;
        color: var(--color-navy);
    }

    .product-card__sku {
        font-size: 13px;
        font-weight: 600;
        color: var(--color-blue);
    }

    .product-card__stock {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        color: var(--color-green);
    }

    .product-card__prices {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .product-card__discount {
        font-size: 13px;
        font-weight: 600;
        color: #ff5470;
        border: 1px solid #ff5470;
        border-radius: 6px;
        padding: 2px 8px;
    }

    .product-card__old {
        font-size: 14px;
        color: var(--color-muted);
        text-decoration: line-through;
    }

    .product-card__price {
        font-family: "Roboto Condensed", "Roboto", sans-serif;
        font-weight: 700;
        font-size: 22px;
        color: var(--color-navy);
    }

    .product-card__actions {
        display: flex;
        gap: 10px;
        margin-top: auto;
        padding-top: 6px;
    }

    .product-card__buy {
        flex-grow: 1;
        padding: 12px 16px;
        font-size: 13px;
    }

    .product-card__cart {
        flex-shrink: 0;
        width: 52px;
        border-radius: 12px;
        border: 1px solid rgba(45, 91, 255, .35);
        background: #fff;
        color: var(--color-blue);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background .2s ease, color .2s ease;
    }

    .product-card__cart:hover {
        background: var(--color-blue);
        color: #fff;
    }

    /* свечение во всю ширину экрана: на .special оно упиралось в паддинги контейнера */
    .special {
        position: relative;
        padding: 32px 0 44px;
    }

    .special::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 100vw;
        transform: translateX(-50%);
        background:
                url('../../images/promotions/glow-pink.png') right bottom / auto 100% no-repeat,
                url('../../images/promotions/glow-blue.png') left bottom / auto 100% no-repeat;
        pointer-events: none;
        z-index: 0;
    }

    .special > * {
        position: relative;
        z-index: 1;
    }

    /* запас сверху под панель доставки, выезжающую из карточки при наведении */
    .special__more {
        display: flex;
        justify-content: center;
        margin-top: 48px;
    }

    .hits {
        background-color: #f8f8f8;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='hitsnoise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23hitsnoise)' opacity='0.05'/%3E%3C/svg%3E");
        border-radius: 24px;
        padding: clamp(16px, 2.2vw, 32px);
    }

    /* ========================================================================
       КАРТОЧКА ХИТА (Неочевидные хиты)
       ======================================================================== */
    .hit-card {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 12px;
        background: var(--color-card);
        border: 1px solid transparent;   /* базовая прозрачная — чтобы hover не сдвигал layout */
        border-radius: var(--radius);
        padding: 16px;
        box-shadow: 0 6px 24px rgba(22, 53, 96, .06);
        transition: border-color .2s ease;
    }

    .main-page .hit-card:hover {
        border-color: var(--color-blue);
    }

    /* вся карточка кликабельна: ссылка растягивается на всю площадь через ::after */
    .hit-card__link::after {
        content: "";
        position: absolute;
        inset: 0;
    }

    .hit-card__media {
        border-radius: var(--radius-sm);
        overflow: hidden;
        padding: 12px;
    }

    .hit-card__img {
        display: block;
        width: 100%;
        height: 180px;
        object-fit: contain;
        object-position: center;
    }

    .hit-card__title {
        margin: 0;
        font-weight: 600;
        font-size: 16px;
        color: var(--color-navy);
    }

    .hit-card__text {
        margin: 0;
        font-size: 14px;
        line-height: 150%;
        color: var(--color-muted);
        flex-grow: 1;
    }

    .hit-card__link,
    .category-card__link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-weight: 600;
        font-size: 14px;
        color: var(--color-blue);
        text-decoration: none;
    }

    .main-page .hit-card__link:hover,
    .main-page .category-card__link:hover,
    .main-page .hit-card__link:focus,
    .main-page .category-card__link:focus,
    .main-page .hit-card__link:visited,
    .main-page .category-card__link:visited {
        color: var(--color-blue);
        text-decoration: underline;
    }

    /* ========================================================================
       СОБЕРИ СВОЮ СИСТЕМУ С НУЛЯ
       ======================================================================== */

    .builder {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
        background: linear-gradient(135deg, #f1f0fb 0%, #eef2ff 100%);
        border-radius: 24px;
        padding: 40px;
    }

    .builder__head {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .builder__body {
        display: flex;
        align-items: stretch;
        gap: 32px;
    }

    .builder__intro {
        flex: 0 0 22%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 16px;
    }

    .builder__lorem {
        margin: 0;
        font-size: 14px;
        color: var(--color-muted);
    }

    .builder__desc {
        margin: 0;
        font-size: 15px;
        line-height: 160%;
        color: var(--color-text);
    }

    .main-page .builder__btn {
        align-self: flex-start;
        margin-top: 4px;
        width: 315px;
        max-width: 100%;
        min-height: 70px;
        padding: 0 24px;
        font-weight: 400;
        font-size: 24px;
        line-height: 100%;
        letter-spacing: -.03em;
    }

    .builder__cards {
        flex: 1 1 auto;
        display: flex;
        gap: var(--gap);
    }

    .category-card {
        position: relative;
        flex: 1 1 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        background: var(--color-card);
        border: 1px solid transparent;   /* базовая прозрачная — чтобы hover не сдвигал layout */
        border-radius: var(--radius);
        padding: 16px;
        box-shadow: 0 6px 24px rgba(22, 53, 96, .06);
        transition: border-color .2s ease;
    }

    .main-page .category-card:hover {
        border-color: var(--color-blue);
    }

    /* вся карточка кликабельна: ссылка растягивается на всю площадь через ::after */
    .category-card__link::after {
        content: "";
        position: absolute;
        inset: 0;
    }

    .category-card__media {
        border-radius: var(--radius-sm);
        padding: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .category-card__img {
        display: block;
        width: 100%;
        height: 120px;
        object-fit: contain;
    }

    .category-card__title {
        margin: 0;
        font-weight: 600;
        font-size: 16px;
        color: var(--color-navy);
    }

        /* ========================================================================
           ЧЕСТНЫЙ ВЫБОР СОТРУДНИКОВ
           ======================================================================== */

    .review-card {
        position: relative;
        display: flex;
        flex-direction: column;
        background: var(--color-card);
        border: 1px solid #eceef4;   
        border-radius: var(--radius);
        padding: 30px 24px 24px;     
        box-shadow: 0 4px 16px rgba(22, 53, 96, .04);
    }

    .review-card__quote {
        position: absolute;
        top: -20px;
        left: 24px;
        z-index: 1;
        display: block;
        width: 56px;
        height: auto;
    }

    .reviews .slider__viewport {
        padding-top: 26px;
        margin-top: -26px;
    }

    .review-card__body {
        flex: 1 1 auto;         
        display: flex;
        flex-direction: row;
        align-items: stretch;   
        gap: 20px;
    }

    .review-card__media {
        flex: 0 0 auto;
        width: 221px;
        max-width: 45%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        margin-bottom: -24px;   
    }

    .review-card__media picture {
        display: contents;
    }

    .review-card__img {
        display: block;
        width: 100%;
        height: auto;
    }

    .review-card__content {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .review-card__name {
        margin: 0;
        font-family: "Roboto Condensed", "Roboto", sans-serif;
        font-weight: 500;
        font-size: 36px;
        line-height: 100%;
        letter-spacing: -.03em;
        color: var(--color-navy);
    }

    .review-card__text {
        margin: 0;
        font-family: "Montserrat", "Roboto", sans-serif;
        font-weight: 400;
        font-size: 17px;
        line-height: 100%;
        letter-spacing: -.03em;
        color: var(--color-text);
    }

    /* с 1400px карточки становятся тесными — показываем 3 вместо 5 */
    @media screen and (max-width: 1400px) {
        .special .slider__slide,
        .hits .slider__slide {
            width: calc((100% - 2 * var(--gap)) / 3);
        }
    }

    @media screen and (max-width: 1350px) {

        .hero {
            background-size: cover;
            background-position: right center;
        }

        .main-page__container {
            padding-left: 92px;
            padding-right: 92px;
        }

        .hero__inner {
            padding-left: 92px;
            padding-right: 92px;
        }

        .hero__title {
            font-weight: 700;
            font-size: 74px;
            line-height: 100%;
            letter-spacing: -.03em;   
        }

        .hero__text {
            font-weight: 400;
            font-size: 25px;
            line-height: 100%;
            letter-spacing: 0;
        }

        .special .slider__slide,
        .hits .slider__slide {
            width: calc((100% - 2 * var(--gap)) / 3);
        }

        .review-card__body {
            flex-direction: column;
            align-items: stretch;
            gap: 16px;
        }

        .reviews .slider__viewport {
            padding-top: 50px;
            margin-top: 12px;
        }

        .review-card__media {
            flex: 0 0 auto;
            width: 60%;
            max-width: 220px;
            margin: -80px 0 0 auto;   
        }

        .review-card__img {
            width: 100%;
            max-width: none;
            height: auto;
            margin: 0;
        }

        .builder__body {
            flex-direction: column;
            gap: 24px;
        }

        .builder__cards {
            order: 1;
            flex-wrap: nowrap;
        }

        .category-card {
            flex: 1 1 0;
        }

        .builder__intro {
            order: 2;
            flex: 1 1 auto;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
        }

        .main-page .builder__btn {
            align-self: auto;
            flex: 0 0 auto;
            margin-top: 0;
        }
    }

    @media screen and (max-width: 991px) {

        .main-page__container {
            gap: 44px;
            padding-left: 24px;
            padding-right: 24px;
        }

        .hero {
            background-size: cover;
            background-position: right center;
        }

        .hero__inner {
            padding: 48px 24px;
            min-height: 360px;
        }

        .hero__title {
            font-weight: 700;
            font-size: 53px;
            line-height: 100%;
            letter-spacing: -.03em;   
        }

        .hero__text {
            font-weight: 400;
            font-size: 18px;
            line-height: 100%;
            letter-spacing: 0;
        }

        .section__title {
            font-size: 28px;
        }

        .special .slider__slide,
        .hits .slider__slide {
            width: calc((100% - var(--gap)) / 2);
        }

        .reviews .slider__slide {
            width: calc((100% - var(--gap)) / 2);
        }

        .builder__cards {
            flex-wrap: wrap;
        }

        .category-card {
            flex: 1 1 calc((100% - var(--gap)) / 2);
            min-width: 0;
        }
    }

    @media screen and (max-width: 767px) {
        .main-page__container {
            padding: 20px 16px 48px;
            gap: 36px;
        }

        .hero {
            background-image: none;
        }

        .hero__inner {
            flex-direction: column;
            text-align: left;
            align-items: flex-start;
            gap: 24px;
            padding: 32px 40px 20px;   

            min-height: 0;
        }

        .hero__media {
            display: block;
            width: 100%;
            aspect-ratio: 1112 / 851;
            background: url('../../images/promotions/bg-hero-mobile.png') center bottom / cover no-repeat;
            -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 14%);
        }

        .hero__media {
            flex-basis: auto;
            width: 100%;
            justify-content: center;
        }

        .section__head {
            flex-wrap: wrap;
        }

        .special .slider__slide,
        .hits .slider__slide {
            width: calc((100% - var(--gap)) / 2);
        }

        .reviews .slider__slide {
            width: 88%;
        }

        .builder {
            padding: 28px 20px;
        }
    }

    @media screen and (max-width: 575px) {

        .main-page {
            --gap: 16px;
        }

        .section__title {
            font-size: 22px;
        }

        .hero__inner {
            padding: 32px 20px 20px;
        }

        .hero__title {
            font-weight: 700;
            font-size: 40px;
            line-height: 100%;
            letter-spacing: -.03em;   
        }

        .hero__text {
            font-weight: 400;
            font-size: 15px;
            line-height: 100%;
            letter-spacing: 0;
        }

        .special .slider__slide,
        .hits .slider__slide {
            width: 82%;
        }

        .reviews .slider__slide {
            width: 88%;
        }

        .builder__intro {
            flex-direction: column;
            align-items: stretch;
        }

        .main-page .builder__btn {
            align-self: stretch;
            width: 100%;
        }

        .builder__cards {
            flex-direction: row;
            flex-wrap: wrap;
        }

        .category-card {
            flex: 1 1 calc((100% - var(--gap)) / 2);
            min-width: 0;
            flex-direction: column;
            align-items: stretch;
        }

        .category-card__media {
            flex: 0 0 auto;
        }

        .category-card__img {
            height: 110px;
        }

        .category-card__title {
            min-width: 0;
            overflow-wrap: anywhere;
        }

        .main-page .btn--ghost {
            font-size: 18px;

            min-height: 80px;
            padding: 18px 66px 18px 22px;
            white-space: normal;
        }

        .main-page .btn__circle {
            width: 48px;
            height: 48px;
            right: 16px;
        }

        .review-card {
            gap: 14px;
        }

        .review-card__body {
            gap: 14px;
        }

        .review-card__media {
            width: 180px;
        }
    }

    /* с 600px карточки builder — в один столбец (перекрывает 2x2 из 575/991) */
    @media screen and (max-width: 600px) {
        .category-card {
            flex: 1 1 100%;
        }
    }

    @media screen and (max-width: 360px) {
        .main-page__container {
            padding: 14px 10px 36px;
        }

        .category-card {
            flex: 1 1 100%;
        }

        .category-card__media {
            flex: 0 0 auto;
        }

        .category-card__img {
            height: 110px;
        }

        .hero__inner {
            padding: 24px 20px 20px;
        }

        .hero__title {
            font-size: 26px;
        }

        .hero__text {
            font-size: 14px;
        }

        .section__title {
            font-size: 20px;
        }

        .special .slider__slide,
        .hits .slider__slide,
        .reviews .slider__slide {
            width: 100%;
        }

        .product-card__actions {
            flex-direction: column;
        }

        .product-card__cart {
            width: 100%;
            height: 46px;
        }

        .review-card {
            padding: 20px;
        }
    }

    @media screen and (min-width: 1920px) {
        .main-page {
            --container: 1760px;
            --gap: 32px;
        }

        .hero {
            background-size: cover;
            background-position: right center;
        }

        .main-page__container {
            gap: 72px;
            padding: 48px 24px 88px;
        }

        .hero__inner {
            min-height: 750px;
            align-items: center;
            height: 100%;
            text-align: left;
            vertical-align: middle;
        }

        .hero__content {
            max-width: 1160px;
        }

        .hero__title {
            font-weight: 700;
            font-size: 106px;
            line-height: 100%;
            letter-spacing: -.03em;
        }

        .hero__text {
            font-weight: 400;
            font-size: 36px;
            line-height: 100%;
            letter-spacing: 0;
            max-width: 1010px;
        }

        .section__title {
            font-weight: 400;
            font-size: 48px;
            line-height: 100%;
            letter-spacing: -.03em;   
        }

        .section__subtitle {
            font-family: "Montserrat", "Roboto Condensed", sans-serif !important;
            font-weight: 400;
            font-size: 22px;
            line-height: 100%;
            letter-spacing: -.03em;   
        }

        .product-card__img,
        .hit-card__img {
            height: 220px;
        }

        .category-card__img {
            height: 150px;
        }

        .builder {
            padding: 56px;
            gap: 48px;
        }

        .builder__lorem {
            font-family: "Montserrat", "Roboto Condensed", sans-serif !important;
            font-weight: 400;
            font-size: 22px;
            line-height: 100%;
            letter-spacing: -.03em;          
            color: rgba(7, 14, 44, .5);      
        }

        .builder__desc {
            font-family: "Montserrat", "Roboto Condensed", sans-serif !important;
            font-weight: 400;
            font-size: 22px;
            line-height: 100%;
            letter-spacing: -.03em;   
            color: #070E2C;
        }

        .review-card {
            padding: 36px;
        }

        .review-card__media {
            margin-bottom: -36px;   
        }
    }

