/* Action */

.buy-image img {
    background: var(--accent);
    position: relative;
}

.promo .buy-image {
    overflow-x: scroll;
    height: auto;
    min-height: min-content;
}

    .promo .buy-image .image-link {
        display: block;
        width: 100%;
    }

/*.buy-image img.img-mobile {
    max-width: none;
    width: auto;
}*/

/* Для промо-акции с id=31 скрываем описание на мобильных устройствах */


.complex-info-container {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    flex-wrap: wrap-reverse;
    flex-direction: row;
    gap: 8px;
}

.promo .buy-list.swiper-wrapper {
    margin-left: 0;
}

.promo .buy-application.button {
    margin: 0;
}

.promo .assortment__sorting {
    min-width: 150px;
}

.promo .assortment__wrapper {
    gap: 8px;
}

.complex-info {
    max-width: 100%;
    padding: 8px 12px;
    border-radius: 12px;
    color: var(--base-text);
    background-color: var(--base-white);
    line-height: 17px;
    font-family: "Geologica", Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    display: block;
    height: fit-content;
}

    .complex-info.object {
        padding: 21px;
        background: var(--accent);
        color: var(--base-white);
    }

        .complex-info.object:hover {
            background: var(--accent-1);
        }

    .buy-image-wrapper {
        position: relative;
        flex-direction: column;
        gap: 8px;
    }

    .promo-description-container {
    position: absolute;
    right: 16px;
    top: 16px;
    background-color: var(--base-white);
    border-radius: 12px;
    padding: 8px 12px;
    width: 30%;
    height: max-content;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 45%;
}

.promo-name-info {
    line-height: 17px;
    color: var(--base-text);
    font-family: "Geologica", Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    margin: 0;
    text-wrap: balance;
}

.promo-dateend-info {
    line-height: 12px;
    font-size: 8px;
    font-weight: 300;
    color: var(--base-text);
    margin: 0;
    text-wrap: balance;
}

@media (max-width: 690px) {
    .promo-description-container {
        position: static;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        border: 1px solid var(--background-block);
    }
}
    @media (max-width: 959px) {
        .promo-description-container.hide-on-mobile {
            display: none !important;
        }
    }

    @media (min-width: 960px) {

        .buy-application-text {
            display: inline-block;
            width: 105px;
            line-height: 17px;
            text-align: start;
            font-size: 12px;
            font-weight: 500;
        }

        .complex-info-container {
            bottom: 94px;
        }

        .promo-description-container {
            right: 24px;
            top: 24px;
            padding: 12px 24px;
        }

        .promo-name-info {
            line-height: 21px;
            font-size: 20px;
        }

        .promo-dateend-info {
            line-height: 17px;
            font-size: 12px;
        }
    }

    @media (min-width: 1440px) {

        .complex-info {
            line-height: 24px;
            font-size: 20px;
        }

        .promo-name-info {
            line-height: 25px;
            font-size: 24px;
        }

        .promo-dateend-info {
            line-height: 24px;
            font-size: 20px;
        }

        .page__action-new .assortment.carousel.container {
            width: 1240px;
        }

        .page__action-new .breadcrumbs-list {
            margin-top: 64px;
            margin-bottom: 12px;
        }

        .page__action-new .assortment__wrapper {
            display: flex;
            justify-content: space-between;
            height: auto;
            margin: 0 0 48px 0;
        }

        .page__action-new .flat__item.flat__item-name {
            min-height: auto;
            border: 1px solid var(--background-block);
        }

        .page__action-new .assortment__flat.assortment__flat-table .flat__list {
            padding-left: 0;
            margin-top: 0;
        }

        .page__action-new .buy-list.swiper-wrapper {
            margin: 0;
        }

        .promo-description-container {
            width: 370px;
        }

        .buy-application-text {
            display: inline-block;
            width: 232px;
            line-height: 22px;
            text-align: start;
            font-size: 16px;
            font-weight: 500;
        }
    }
