

/* Start:/local/templates/krunchy/template_styles.css?179183012955095*/
.main-sets-container {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.promocode-more {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #F2F2F2;
    padding-top: 16px;
    margin-top: -16px;
    cursor: pointer;
}

.promocode-popup {
    padding: 24px;
    border-radius: 20px 20px 0 0;
}

.promocode-more.active {
    display: flex;
}

.promocode-more-title {
    font-family: Nunito;
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    color: #868686;
}

.promocode-description {
    padding: 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    margin-left: -24px;
    background-color: #FBF9F9;
    border-radius: 24px;
    height: 0;
    overflow: hidden;
}

.promocode-description.active {
    height: auto;
    padding: 24px;
}

.promocode-description-title, .promo-popup-title {
    color: #1F2B31;
    font-family: RobotoFlex;
    font-weight: 650;
    font-size: 20px;
    line-height: 120%;
    margin-bottom: 16px;
    max-width: 300px;
}

.promocode-description-text, .promo-popup-text {
    font-family: Nunito;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #868686;
    max-width: 280px;
}

.promocode-description .popup__close {
    top: 0;
    right: 0;
}

.main-basket__promo {
    padding-bottom: 16px;
    border-bottom: 1px solid #F2F2F2;
    display: flex;
    gap: 12px;
}

.main-basket__promo-icon {
    display: none;
    height: 24px;
    width: 24px;
    flex-shrink: 0;
}

.main-basket__promo-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.main-basket__promo-input {
    height: 24px;
    padding: 0;
    font-family: Nunito;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #1F2B31;
    border-radius: 0;
    background-color: transparent;
    width: 200px;
}

.main-basket__promo-submit {
    padding: 5px 12px;
    font-family: Nunito;
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    color: #EB1437;
    cursor: pointer;
}

.main-basket__promo-message {
    width: 100%;
    flex-shrink: 0;
}

.main-basket__promo-message {
    font-family: Nunito;
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    color: #EB1437;
}

.main-basket__bottom-top {
    flex-wrap: wrap;
}

.main-basket__bottom-discount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.main-basket__bottom-discount-title {
    font-family: Nunito;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #1F2B31;
}

.main-basket__bottom-discount-number {
    font-family: Nunito;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #EB1437;
}

.main-basket__gift {
    font-family: Nunito;
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    color: #FFFFFF;
    padding: 2px 6px 3px 6px;
    background-color: #EB1437;
    border-radius: 10px;
    margin-left: auto;
}

.popup.set-popup .main-basket__bottom-sum {
    position: relative;
    display: inline-block;
    cursor: pointer;
    pointer-events: none;
}

.popup.set-popup .main-basket__bottom-sum::after {
    content: url("/local/templates/krunchy/images/question-mark-circle.svg");
    display: inline-block;
    margin-left: 5px;
    font-weight: bold;
    font-size: 14px;
    color: #000;
    pointer-events: all;
}

.personal__history-button {
    font-family: Nunito;
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
    display: block;
    width: fit-content;
    padding: 20px 28px;

}

.popup.set-popup .main-basket__bottom-sum::before {
    content: attr(data-hint);
    display: none;
    position: absolute;
    top: -60px;
    right: 0;
    font-family: Nunito;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 400;
    line-height: 14.4px;
    text-align: left;
    background-color: #1F2B31;
    border-radius: 4px;
    padding: 8px 16px;
    z-index: 1000;
    white-space: pre-wrap;
    /*box-shadow: 0 0 5px rgba(0,0,0,0.1);*/
}

.popup.set-popup .main-basket__bottom-sum:hover::before {
    display: block;
}


.notification {
    position: fixed;
    bottom: 28px;
    right: 28px;
    display: flex;
    align-items: center;
    z-index: 1000000;
    border: 1px solid #F2F2F2;
    padding: 12px 12px 12px 16px;
    gap: 6px;
    border-radius: 24px;
    background-color: #FFFFFF;
    transform: translateX(100vw);
    transition: all 0.5s ease;
    max-width: 450px;
    /*height: 54px;*/
}

/*.popup.set-popup .main-sets__item-minus {*/
/*    display: none;*/
/*}*/

.main-sets__item-sum {
    padding-left: 20px;
    transition: all 0.1s ease;
}

.footer__input input.error {
    border: 1px solid #000000 !important;
}

.footer__input .error-message {
    color: #FFFFFF;
}

.footer__input .success-message {
    margin-top: -6px;
    font-family: Nunito;
    font-size: 12px;
    font-weight: 400;
    line-height: 14.4px;
    color: #2BC470;
}

.notification__icon {
    height: 20px;
    width: 19px;
}

.notification__text a {
    text-decoration: underline;
}

.fancybox-container {
    z-index: 1000001 !important;
}

.popup-basket__bottom-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ymaps-2-1-79-search__suggest {
    padding: 20px 0 !important;
    box-shadow: 0px 0px 8px 0px #00000014;
    background-color: #FFFFFF;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;

}

.order {
    margin-bottom: 40px !important;
}

.pink-button path {
    fill: #EB1437;
}

.red-button path {
    fill: #FFFFFF;
}

.ymaps-2-1-79-search__suggest-item_selected_yes {
    background: none !important;
}

.password-input-eye {
    position: relative;
}


.password-input-eye input {
    padding-right: 50px;
}


.password-input-eye .eye-icon {
    position: absolute;
    right: 20px;
    top: 55px;
    transform: translateY(-50%);
    cursor: pointer;
    width: 19px;
    height: 19px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: var(--eye-icon, url('/local/templates/krunchy/images/eye-close.svg'));
}

.password-input-eye-profile {
    position: relative;
}


.password-input-eye-profile input {
    padding-right: 50px;
}


.password-input-eye-profile .eye-icon {
    position: absolute;
    right: 20px;
    top: 55px;
    transform: translateY(-50%);
    cursor: pointer;
    width: 19px;
    height: 19px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: var(--eye-icon, url('/local/templates/krunchy/images/eye-close.svg'));
}


#address-value {
    max-width: 233px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.red-button:disabled {
    background-color: #BCC4CD;
    cursor: initial;
}

.address-popup__top input {
    color: #1F2B31 !important;
}

.red-button:disabled:hover {
    background-color: #BCC4CD;
}

.address-popup__input ymaps {
    top: calc(100% + 2px) !important;
}

.ymaps-2-1-79-suggest-item {
    font-family: Nunito;
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
    text-align: left;
    margin-top: 0 !important;
    padding: 12px 20px;
}

.ymaps-2-1-79-suggest-item:hover {
    background-color: #F2F2F2;
}

/*.popup-basket .main-basket__bottom-button, .popup-basket .popup-basket__button-basket {
    display: none;
}*/

.popup-basket__bottom-buttons {
    display: none;
}


.main-basket__bottom-warning {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 24px;
    background-color: #FFF2D2;
    font-family: Nunito;
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
    text-align: left;
}

.popup-basket {
    display: flex;
    flex-direction: column;
}

.popup-basket .main-basket__bottom {
    margin-top: auto;
}


.notification.active {
    transform: translateX(0);
}

.notification__text {
    font-family: Nunito;
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    text-align: left;
}

input.error + .enter-popup__input-extra {
    color: #EB1437;
}

.notification__close {
    cursor: pointer;
    height: 30px;
    width: 30px;
    margin-left: auto;
}

input[type="tel"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

form .enter-popup__input {
    margin-bottom: 20px;
}

/*form .enter-popup__input:nth-last-child(1) {*/
/*    margin-bottom: 0;*/
/*}*/

[id^='wait_comp_'] {
    display: none;
}

.enter-popup__subtitle {
    margin-bottom: 44px !important;
}

.main-map #map {
    border: 1px solid #DCE1E8;
    border-radius: 24px;
    overflow: hidden;
}

.main-map .ymaps-2-1-79-balloon__layout {
    padding: 16px;
    border-radius: 24px;
    overflow: hidden;
}

.main-map .ymaps-2-1-79-balloon__content {
    margin: 0 !important;
    padding: 0;
}

.main-map .baloon-wrapper {
    display: flex;
    gap: 16px;
}

.main-map ymaps img {
    width: 95px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    object-fit: cover;
    flex-shrink: 0;
}

.baloon-body {
    font-family: Nunito;
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
    text-align: left;

}

.baloon-worktime {
    color: #8993A3;
    margin-top: 6px;
}

.main-map .ymaps-2-1-79-balloon {
    overflow: hidden;
    box-shadow: none;
}

.main-map .ymaps-2-1-79-balloon__close, .main-map .ymaps-2-1-79-balloon__tail {
    display: none;
}

.main-basket__empty {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.main-map__wrapper {
    height: 100%;
    width: 100%;
}

.ymaps-2-1-79-search__suggest-highlight {
    font-weight: inherit !important;
}

.main-promo__wrapper, .main-middle__left, .main-advantages__wrapper, .main-map__wrapper {
    padding-top: 40px !important;
    margin-top: -40px !important;
}

.popup-basket .main-basket__items {
    margin-bottom: 30px;
}

.popup-basket__body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.basket-root-order {
    height: 100%;
}

.main-basket.order__basket {
    height: calc(100vh - 175px);
}

.popup-basket__switch {
    flex-shrink: 0;
}

.popup-basket .main-basket__items {
    height: 1000px;
}

.main-basket__empty.hidden {
    display: none;
}

.enter-popup__tabs .enter-popup__tab {
    width: auto;
}

.main-basket__empty.main-basket__empty-set img {
    height: 138px;
}

.popup-basket__body.hidden {
    display: none;
}

.main-basket__empty img {
    height: 121px;
    width: auto;
}

.main-basket {
    max-height: 740px;
}

.main-basket .basket {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.main-basket .basket .main-basket__items {
    margin-bottom: auto;
    height: auto;
}

.notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    z-index: 1000002;
}

.set-popup__item .main-sets__item-count {
    display: none;
}

.error-message {
    margin-top: -6px;
    font-family: Nunito;
    font-size: 12px;
    font-weight: 400;
    line-height: 14.4px;
    color: #EB1437;
}

.error-message + .enter-popup__input-extra {
    display: none;
}

.header__burger-menu-mobile-enter__icon {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F7F7F7;
    border-radius: 100px;
}

.header__burger-menu-mobile-enter {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__burger-menu-mobile-enter__title {
    color: #EB1437;
}

.popup-basket__bottom-buttons .popup-basket__button-basket {
    margin-top: 0;
}

.main-basket.popup-basket {
    min-height: 0;
    height: calc(100vh - 165px) !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.compensate-for-scrollbar {
    margin-right: 17px !important;
}

.main-sets__item-minus {
    display: flex;
    transition: all 0.1s ease;
    width: 40px;
}

/*.main-sets__item-minus + .main-sets__item-sum {*/
/*    padding-left: 0;*/
/*}*/
.main-sets__item-minus.hidden {
    /*display: none;*/
    width: 0;
    padding: 0;
}

.main-sets__item-minus.hidden + .main-sets__item-sum {
    padding-left: 20px;
}

.main-sets__item-minus + .main-sets__item-sum {
    padding-left: 0;
}

.footer__top-col {
    width: 704px;
}

.footer__developer {
    margin-right: 180px;
}

.button-back-pc {
    display: flex;
    gap: 6px;
    align-items: center;
    font-family: Nunito;
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
    text-align: left;
    padding: 12px;
    padding-left: 0;
    margin-bottom: 20px;
    width: fit-content;
    cursor: pointer;
}

.button-back-pc__image {
    width: 20px;
    height: 20px;
}

.button-back-pc__text {
    height: 19px;
}

.button-back-pc path {
    fill: #1F2B31;
    transition: all 0.1s ease;
}

.button-back-pc:hover path {
    fill: #BCC4CD;
}

body .main-sets__item-image::after {
    bottom: 16px;
    right: 0;
    font-weight: 850;
    font-size: 14px;
    line-height: 80%;
    color: #EB1437;
    padding: 6px 10px 8px 10px;
    border-radius: 71px;
    background-color: #FFDDE1;
}

.main-sets__item{
    position: relative;
}

.main-sets__item-tags {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 4px;
    z-index: 1;
}

.main-sets__item-tag {
    padding: 6px 10px 8px 10px;
    background-color: #EB1437;
    border-radius: 71px;
    color: #FFFFFF;
    font-weight: 850;
    font-size: 14px;
    line-height: 80%;
    white-space: nowrap;
}

@media (max-width: 1219px) {
    .promocode-description {
        display: none;
    }

    .personal__history-button {
        max-width: 336px;
        width: 100%;
        text-align: center;
    }

    .order-history__buttons {
        justify-content: center;
        gap: 8px;
    }

    .order-history__buttons-phone, .order-history__buttons-cancel {
        padding: 16px 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100% !important;
    }

    .footer__top-col {
        width: auto;
    }

    .personal .order__title {
        display: none;
    }

    .personal .order__top-mobile .order__title-mobile {
        display: block;
        margin: 0;
        text-align: center;
    }

    .button-back-pc {
        display: none;
    }

    .main-map__search-wrapper {
        width: 100%;
    }

    .main-map__search {
        width: 100%;
    }

    .main-map {
        margin-bottom: -68px;
    }

    .popup.set-popup .popup-basket__body {
        overflow: visible;
    }

    .main-sets__item-minus {
        width: 30px;
    }

    /*.main-sets__item-minus + .main-sets__item-sum {*/
    /*    padding-left: 0;*/
    /*}*/
    .main-sets__item-minus.hidden {
        /*display: none;*/
        width: 0;
        padding: 0;
    }

    /*.popup.set-popup .main-sets__item-minus.hidden + .main-sets__item-sum {*/
    /*    padding-left: 20px;*/
    /*}*/
    /*.popup.set-popup .main-sets__item-minus + .main-sets__item-sum {*/
    /*    padding-left: 0;*/
    /*}*/
    .compensate-for-scrollbar {
        margin-right: 0 !important;
    }

    .order__personal {
        align-items: center;
    }

    .main-basket.order__basket {
        height: auto;
    }

    .main-basket.popup-basket {
        height: fit-content !important;
    }

    .popup-basket__bottom-buttons {
        flex-direction: row;

    }

    .main-map #map {
        border: none;
        border-radius: 0;
    }

    .order__input {
        max-width: 336px;
    }

    .set-popup__item .main-sets__item-count {
        display: block;
    }

    .order {
        margin-bottom: 170px !important;
    }

    .order__basket {
        min-height: 0;
    }

    .order__left {
        height: 0;
    }

    .order__left.active {
        height: 100%;
    }
}

@media (max-width: 792px) {
    body .main-sets__item-image::after {
        bottom: 8px;
    }
    .main-sets__item-tag {
        padding: 3px 5px 4px 5px;
        font-size: 10px;
    }
    .main-sets-container {
        gap: 50px;
    }

    .popup-basket__bottom-buttons .popup-basket__button-basket, .popup-basket__bottom-buttons .main-basket__bottom-button, .main-basket__bottom-warning {
        font-size: 12px !important;
        line-height: 14.4px;
    }

    .notification {
        top: 28px;
        bottom: auto;
        left: 0;
        right: 0;
        width: calc(100% - 24px);
        margin: 0 12px;
        transform: translate(0, -100vh);
        max-width: none;
    }

    .popup-basket__bottom-buttons .popup-basket__button-basket, .popup-basket__bottom-buttons .main-basket__bottom-button {
        padding: 16px 0;
    }

    .notification.active {
        transform: translate(0, 0);
    }

    .promo-popup__button-cart, .promo-popup__button-order {
        width: 100% !important;
        text-align: center;
    }
}

/*@media (max-width: 500px) {*/
/*    .popup.set-popup .main-basket__bottom-sum {*/
/*        max-width: 250px;*/
/*    }*/
/*}*/


@media (max-width: 400px) {
    .baloon-wrapper .baloon-close {
        top: 0;
        right: 0;
    }

    .baloon-wrapper {
        padding: 16px;
        padding-right: 30px;
    }
}

@media (max-width: 370px) {
    .popup.set-popup .main-basket__bottom-sum {
        max-width: 170px;
    }
}

.main-banner__picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.main-banner__picture img,
.main-banner__picture source {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1057px) {
    .main-banner__picture img,
    .main-banner__picture source {
        object-position: right;
    }
}

@media (max-width: 792px) {
    .main-banner__picture img,
    .main-banner__picture source {
        object-position: left;
    }
}

.js-open-product-popup {
    cursor: pointer;
}

/* Popup styles */
.product-popup {
    max-width: 1090px;
    width: 100%;
    height: 580px;
    border-radius: 40px;
    overflow: hidden;
    background-color: #FBF9F9;
    padding: 0;
    position: relative;
    overflow: visible;
}

.product-popup__close {
    position: absolute;
    height: 52px;
    width: 52px;
    border-radius: 100px;
    background-color: #FFFFFF;
    top: 0;
    right: -72px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.product-popup__close:hover {
    transition: all 0.1s ease;
    background-color: #F2F2F2;
}

.product-popup__container {
    display: flex;
    gap: 40px;
    overflow: hidden;
}

.product-popup__gallery {
    flex: 1;
    min-width: 0;
    height: 580px;
    width: 530px;
    padding: 40px 0 50px 40px;
    flex-shrink: 0;

}

.product-popup__info {
    display: flex;
    flex-direction: column;
    padding: 40px 24px 20px 0;
    flex: 1;
}

.product-popup__swiper {
    width: 100%;
    height: 100%;
}

.product-popup__swiper .swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.product-popup__swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.product-popup__top {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.product-popup__title {
    max-width: 75%;
    font-family: RobotoFlex;
    font-weight: 650;
    font-size: 24px;
    line-height: 80%;
    letter-spacing: -0.02em;
    font-variation-settings: 'wdth' 144, 'GRAD' 150, 'slnt' 0, 'XTRA' 468, 'XOPQ' 96, 'YOPQ' 79, 'YTLC' 514, 'YTUC' 712, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'opsz' 59;
}

.product-popup__weight {
    font-family: Nunito;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #EB1437;
    flex-shrink: 0;
}

.product-popup__detail-text {
    font-family: Nunito;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    margin-bottom: 32px;
}

.product-popup__compound-title {
    font-family: RobotoFlex;
    font-weight: 650;
    font-size: 20px;
    line-height: 80%;
    letter-spacing: -0.02em;
    font-variation-settings: 'wdth' 144, 'GRAD' 150, 'slnt' 0, 'XTRA' 468, 'XOPQ' 96, 'YOPQ' 79, 'YTLC' 514, 'YTUC' 712, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'opsz' 59;
    margin-bottom: 16px;

}

.product-popup__compound-text {
    font-family: Nunito;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    margin-bottom: 32px;
}

.product-popup__nutritions-title {
    font-family: RobotoFlex;
    font-weight: 650;
    font-size: 20px;
    line-height: 80%;
    letter-spacing: -0.02em;
    font-variation-settings: 'wdth' 144, 'GRAD' 150, 'slnt' 0, 'XTRA' 468, 'XOPQ' 96, 'YOPQ' 79, 'YTLC' 514, 'YTUC' 712, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'opsz' 59;
    margin-bottom: 8px;
}

.product-popup__nutritions-subtitle {
    font-family: Nunito;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #868686;
    margin-bottom: 16px;
}

.product-popup__nutritions-row {
    display: flex;
    gap: 60px;
}

.product-popup__nutritions-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.product-popup__nutritions-item-title {
    font-family: Nunito;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #868686;
}

.product-popup__nutritions-item-value {
    font-family: RobotoFlex;
    font-weight: 650;
    font-size: 20px;
    line-height: 80%;
    letter-spacing: -0.02em;
    font-variation-settings: 'wdth' 144, 'GRAD' 150, 'slnt' 0, 'XTRA' 468, 'XOPQ' 96, 'YOPQ' 79, 'YTLC' 514, 'YTUC' 712, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'opsz' 59;

}


.product-popup__footer {
    margin-top: auto;
    padding-top: 20px;
}

.product-popup__footer .main-sets__item-button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    width: 100%;
    height: 64px;
    justify-content: space-between;
}

.product-popup__footer .main-sets__item-button.pink-button {
    justify-content: center;
}


.product-popup__footer .main-sets__item-minus.hidden {
    display: none;
}

.product-popup .swiper-button-next1 {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    background-color: #F2F2F2;
    width: 44px;
    height: 44px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 4px;
    z-index: 1;
    outline: none;
    cursor: pointer;
}

.product-popup .swiper-button-prev1 {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    background-color: #F2F2F2;
    width: 44px;
    height: 44px;
    position: absolute;
    top: 50%;
    transform: rotateY(-180deg) translateY(-50%);
    left: 4px;
    z-index: 1;
    outline: none;
    cursor: pointer;
}

.product-popup .swiper-pagination-bullet {
    height: 9px;
    width: 9px;
    background-color: #F2F2F2;
    opacity: 1;
    outline: none;
}

.product-popup .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #EB1437;
}

.product-popup .swiper-button-disabled {
    display: none;
}

.product-popup .main-sets__item-sum {
    font-family: Nunito;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    flex-shrink: 0;
}

.product-popup__footer .main-sets__item-button .main-sets__item-minus {
    width: 100%;
    height: 64px;
    padding: 16px 0 16px 20px;

    justify-content: flex-start;
}

.product-popup__footer .main-sets__item-button .main-sets__item-plus {
    width: 100%;
    height: 64px;
    padding: 16px 20px 16px 0;

    justify-content: flex-end;
}


.product-popup__footer .main-sets__item-button.pink-button .main-sets__item-plus {
    width: 52px;
}

.popup--set .product-popup__weight,
.popup--set .product-popup__compound-title,
.popup--set .product-popup__compound-text,
.popup--set .product-popup__nutritions {
    display: none;
}

.popup--set .product-popup__container {
    flex-direction: column;
    gap: 0;
}

.popup--set.product-popup {
    height: auto;
    max-width: 570px;
}
.popup--set .product-popup__gallery {
    padding: 40px;
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
}

.popup--set .product-popup__info {
    padding: 0 40px 40px 40px;
}

.popup--set .product-popup__footer .main-sets__item-button {
    height: 56px;
}

.popup--set .product-popup__title {
    max-width: none;
}

.popup--set .product-popup__footer {
    padding-top: 0;
}

.hero-banner {
    display: flex;
    gap: 20px;
    padding-top: 155px;
}

.hero-banner-first {
    padding: 32px;
    border-radius: 24px;
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.hero-banner-second {
    border-radius: 24px;
    position: relative;
    width: 413px;
    height: 350px;
    overflow: hidden;
    background: linear-gradient(150.8deg, rgba(235, 20, 55, 0.2) 8.38%, rgba(235, 20, 55, 0) 51.02%);
    flex-shrink: 0;
}

.hero-banner-second__slider .swiper-slide {
    padding: 32px;
}

.hero-banner-first__picture, .hero-banner-second__picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-banner-first__picture img,
.hero-banner-second__picture img,
.hero-banner-first__picture source,
.hero-banner-second__picture source {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-banner-first__title {
    max-width: 456px;
    font-family: RobotoFlex;
    font-weight: 650;
    font-size: 44px;
    line-height: 90%;
    letter-spacing: -0.02em;
    font-variation-settings: 'wdth' 144, 'GRAD' 150, 'slnt' 0, 'XTRA' 468, 'XOPQ' 96, 'YOPQ' 79, 'YTLC' 514, 'YTUC' 712, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'opsz' 59;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.hero-banner-first__subtitle {
    font-family: RobotoFlex;
    font-weight: 650;
    font-size: 20px;
    line-height: 83%;
    letter-spacing: -0.02em;
    font-variation-settings: 'wdth' 144, 'GRAD' 150, 'slnt' 0, 'XTRA' 468, 'XOPQ' 96, 'YOPQ' 79, 'YTLC' 514, 'YTUC' 712, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'opsz' 59;
    color: #FFFFFF;

}

.hero-banner__button {
    display: block;
    position: absolute;
    bottom: 32px;
    left: 32px;
    color: #EB1437;
}

.hero-banner-second__title {
    font-family: RobotoFlex;
    font-weight: 650;
    font-size: 44px;
    line-height: 80%;
    letter-spacing: -0.02em;
    font-variation-settings: 'wdth' 144, 'GRAD' 150, 'slnt' 0, 'XTRA' 468, 'XOPQ' 96, 'YOPQ' 79, 'YTLC' 514, 'YTUC' 712, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'opsz' 59;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.hero-banner-second__subtitle {
    font-family: RobotoFlex;
    font-weight: 650;
    font-size: 20px;
    line-height: 83%;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    font-variation-settings: 'wdth' 144, 'GRAD' 150, 'slnt' 0, 'XTRA' 468, 'XOPQ' 96, 'YOPQ' 79, 'YTLC' 514, 'YTUC' 712, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'opsz' 59;
}

.hero-banner-second__picture img {
    object-position: bottom;
    transform-origin: bottom;
}

.hero-banner-first__picture img {
    object-position: right;
}

.main-promo-new .main-promo__card {
    height: 250px;
    padding: 16px;
    justify-content: flex-start;
    align-items: flex-start;
}

.main-promo-new .main-promo__card-title {
    font-family: RobotoFlex;
    font-weight: 650;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.02em;
    font-variation-settings: 'wdth' 144, 'GRAD' 150, 'slnt' 0, 'XTRA' 468, 'XOPQ' 96, 'YOPQ' 79, 'YTLC' 514, 'YTUC' 712, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'opsz' 59;
    color: #FFFFFF;
    text-align: left;
}

.promo-popup-new {
    position: relative;
    padding: 0 !important;
    background-color: transparent;
    overflow: visible;
}

.promo-popup-new__wrapper {
    width: 380px;
    border-radius: 40px;
    overflow: hidden;
    background-color: #fff;
}

.promo-popup-new__image {
    width: 100%;
    height: 360px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 67%, rgba(36, 24, 24, 0.2) 100%);
}

.promo-popup-new__title {
    margin-bottom: 20px;
    font-family: RobotoFlex;
    font-weight: 650;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: -0.02em;
    font-variation-settings: 'wdth' 144, 'GRAD' 150, 'slnt' 0, 'XTRA' 468, 'XOPQ' 96, 'YOPQ' 79, 'YTLC' 514, 'YTUC' 712, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'opsz' 59;
    color: #1F2B31;
}

.promo-popup-new__text1 {
    font-family: Nunito;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #1F2B31;
    margin-bottom: 8px;
}

.promo-popup-new__text2 {
    font-family: Nunito;
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    color: #868686;
}

.promo-popup-new__container {
    padding: 40px 20px 24px 20px;
}

.promo-popup-new__button {
    width: 100%;
    padding: 20px;
    border-radius: 100px;
    font-family: Nunito;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
}

.main-promo-new__title {
    font-size: 32px;
    line-height: 35.2px;
    margin-top: 40px;
    margin-bottom: 0;
}

@media (max-width: 1219px) {
    .promo-popup-new__container {
        padding: 32px 16px 20px 16px;
    }

    .promo-popup-new__wrapper {
        width: 100%;
        border-radius: 0;
    }

    .main-promo-new .main-promo__card {
        width: 150px;
        height: 180px;
        border-radius: 16px;
        padding: 12px;
    }

    .main-promo-new .main-promo__card-title {
        font-size: 12px;
    }

    .hero-banner {
        padding-top: 110px;
        overflow-x: scroll;
        gap: 12px;
    }

    .hero-banner-first {
        min-width: 312px;
        height: 240px;
        padding: 16px;
    }

    .hero-banner-first__title {
        font-size: 20px;
        max-width: 175px;
        margin-bottom: 12px;
    }

    .hero-banner-first__subtitle {
        font-size: 14px;
    }

    .hero-banner__button {
        bottom: 16px;
        left: 16px;
        right: 16px;
        width: auto;
        font-size: 16px;
        padding: 16px;
        text-align: center;
    }

    .hero-banner-second {
        height: 240px;
        width: 250px;
    }
    .hero-banner-second__slider .swiper-slide {
        padding: 16px;
    }
    .hero-banner-second__title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    .hero-banner-second__subtitle {
        font-size: 14px;
    }

}

@media (max-width: 1250px) {
    .product-popup__close {
        height: 44px;
        width: 44px;
        top: 16px;
        right: 16px;
    }
}

@media (max-width: 768px) {
    .product-popup__container {
        flex-direction: column;
        padding: 72px 16px 166px 16px;
        gap: 32px;
    }

    .product-popup__title {
        font-size: 24px;
    }

    .product-popup {
        height: 100%;
        border-radius: 0;
        overflow-y: scroll;
    }

    .product-popup__gallery {
        width: 100%;
        aspect-ratio: 1/1;
        height: auto;
        padding: 0;
    }

    .product-popup__info {
        padding: 0;
    }

    .swiper-button-next1, .swiper-button-prev1 {
        display: none !important;
    }

    .product-popup__nutritions-row {
        justify-content: space-between;
        gap: 0;
    }

    .product-popup__footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px 16px;
        border-radius: 38px 38px 0 0;
        background-color: #FFFFFF;
        box-shadow: 0px -1px 9.4px 0px #D4D4D440;
        z-index: 10;
    }
    .popup--set.product-popup{
        max-width: 100%;
    }
    .popup--set .product-popup__container {
        padding: 0;
    }
    .popup--set .product-popup__swiper .swiper-slide {
        border-radius: 0;
    }
    .popup--set .product-popup__gallery{
        padding: 0;
    }
    .popup--set.product-popup{
        min-height: 100vh;
    }
    .product-popup__close{
        z-index: 10;
    }
    .popup--set .product-popup__footer{
        padding-top: 20px;
    }
    .popup--set .product-popup__info{
        padding: 40px 16px 120px 16px;
    }
    .popup--set .product-popup__detail-text {
        margin-bottom: 0;
    }
}
/* ==== БАННЕР «Отмечаем день рождения» (ДР) ==== */
/*.hero-banner-dr {
    background-color: #EB1437;
}*/

/* в макете межстрочный у подзаголовка 105%, а не 83% как у старого баннера */
.hero-banner-dr .hero-banner-first__subtitle {
    max-width: 349px;
    line-height: 105%;
}

/* картинка в попапе ДР */
.promo-popup-dr .promo-popup-new__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1219px) {
    .hero-banner-dr .hero-banner-first__subtitle {
        max-width: 175px;
    }

    /* на мобилке переносы расставляет сама ширина блока */
    .hero-banner-dr .hero-banner-first__subtitle br {
        display: none;
    }
}

/* ==== ФИКС «прыжка» страницы при открытии попапов ====
   Fancybox (и самописные попапы) вешают на body overflow:hidden — вертикальный
   скроллбар пропадает, и вся страница уезжает вправо на его ширину.
   Собственная компенсация fancybox (margin-right у .compensate-for-scrollbar)
   считается по зашитым 17px, а реальный скроллбар в Chrome/Windows — 15px,
   поэтому она не спасает, а добавляет свой сдвиг.
   Резервируем место под скроллбар постоянно — тогда ничего не двигается
   при любом попапе, независимо от того, кто именно скрывает скролл. */
@supports (scrollbar-gutter: stable) {
    html {
        scrollbar-gutter: stable;
    }

    body.compensate-for-scrollbar {
        margin-right: 0 !important;
    }
}

/* Статус повторной отправки кода подтверждения регистрации */
.enter-popup__resend-status {
    margin-top: 12px;
    font-family: Nunito;
    font-size: 14px;
    line-height: 120%;
    color: #868686;
    min-height: 17px;
}

/* ==== ПУСТАЯ КОРЗИНА ====
   Оформление внутренних элементов отсутствовало в CSS, хотя разметка их
   использует: заголовок, подзаголовок и кнопка отрисовывались голым текстом.
   Значения — из макета «Пустая корзина» (карточка 400×740, padding 24,
   gap между заголовком и подзаголовком 12).
   Поддерживаем оба варианта разметки: с кнопкой внутри .main-basket__empty
   и с вынесенной из него (так на проде). */
.main-basket__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* блок вырван из потока и сжимался по содержимому — из-за этого подзаголовок
       ломался на две строки; в макете его контейнер занимает 352px (400 - 24*2) */
    width: calc(100% - 48px);
}

.main-basket__empty-title {
    margin-bottom: 12px;
    font-family: RobotoFlex;
    font-weight: 650;
    font-size: 24px;
    line-height: 80%;
    letter-spacing: -0.02em;
    font-variation-settings: 'wdth' 144, 'GRAD' 150, 'slnt' 0, 'XTRA' 468, 'XOPQ' 96, 'YOPQ' 79, 'YTLC' 514, 'YTUC' 712, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'opsz' 59;
    color: #1F2B31;
    margin-top: 24px;
}

.main-basket__empty-subtitle,
.main-basket__empty-text {
    font-family: Nunito;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #1F2B31;
}

/* Кнопка-заглушка: в макете это обычная кнопка в неактивном состоянии,
   цвета берём те же, что у .red-button:disabled. */
.main-basket__empty-button {
    padding: 20px;
    border-radius: 100px;
    background-color: #E9EDF2;
    color: #98A2B3;
    font-family: Nunito;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    cursor: default;
}

/* .main-basket__empty вырван из потока (absolute по центру карточки), поэтому
   вынесенная наружу кнопка всплывала под заголовок «Корзина». Прижимаем её
   к низу карточки, как в макете. */
.main-basket > .main-basket__empty-button {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
}

/* В попапе набора тот же класс используется под одну картинку без текстов —
   ширину ему не навязываем, чтобы не менять уже сложившийся вид. */
.main-basket__empty.main-basket__empty-set {
    width: auto;
}

/* Вариант, когда кнопка лежит внутри блока */
.main-basket__empty > .main-basket__empty-button {
    align-self: stretch;
    margin-top: 32px;
}

/*.promo-popup-new__image img {
    object-position: bottom;
}*/

@media (max-width: 1219px) {
    .main-basket__empty {
        width: calc(100% - 32px);
    }

    .main-basket > .main-basket__empty-button {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
    /*.promo-popup-new__image img {
        object-position: bottom;
    }*/

}

/* ==== ПОПАП «МИНИ-ПОНЧИКИ» ====
   Открывается по клику на слайд с мини-пончиками (main-swiper).
   Размеры из макета «Банер «Мини-пончики»»: карточка 800×500, radius 40,
   padding 32, картинка 296×436, справа прокручиваемая колонка 420px. */
.hero-banner-second__slide-link {
    cursor: pointer;
}

.mini-donuts-popup {
    width: 800px;
    height: 500px;
    padding: 32px !important;
    border-radius: 40px;
    background-color: #FFFFFF;
    overflow: visible;
}

/* fancybox центрирует контент как inline-блок — обычный flex уезжал бы влево */
.mini-donuts-popup.fancybox-content {
    display: inline-flex !important;
    gap: 20px;
}

.mini-donuts-popup__image {
    flex-shrink: 0;
    width: 296px;
    height: 436px;
    border-radius: 24px;
    overflow: hidden;
}

.mini-donuts-popup__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}

.mini-donuts-popup__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 420px;
    height: 436px;
    /* скроллбар выносим в правый отступ карточки, как в макете */
    box-sizing: content-box;
    margin-right: -26px;
    padding-right: 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #DCE1E8 transparent;
}

.mini-donuts-popup__content::-webkit-scrollbar,
.mini-donuts-popup::-webkit-scrollbar {
    width: 6px;
}

.mini-donuts-popup__content::-webkit-scrollbar-track,
.mini-donuts-popup::-webkit-scrollbar-track {
    background: transparent;
}

.mini-donuts-popup__content::-webkit-scrollbar-thumb,
.mini-donuts-popup::-webkit-scrollbar-thumb {
    border-radius: 100px;
    background-color: #DCE1E8;
}

.mini-donuts-popup__text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mini-donuts-popup__title {
    font-family: RobotoFlex;
    font-weight: 650;
    font-size: 24px;
    line-height: 80%;
    letter-spacing: -0.02em;
    font-variation-settings: 'wdth' 144, 'GRAD' 150, 'slnt' 0, 'XTRA' 468, 'XOPQ' 96, 'YOPQ' 79, 'YTLC' 514, 'YTUC' 712, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'opsz' 59;
    color: #1F2B31;
}

.mini-donuts-popup__desc,
.mini-donuts-popup__shop-address {
    font-family: Nunito;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #1F2B31;
}

.mini-donuts-popup__divider {
    flex-shrink: 0;
    height: 1px;
    background-color: #F2F2F2;
}

.mini-donuts-popup__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mini-donuts-popup__where {
    display: flex;
    align-items: center;
    gap: 13px;
}

.mini-donuts-popup__where-icon {
    flex-shrink: 0;
}

.mini-donuts-popup__where-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mini-donuts-popup__where-title {
    font-family: RobotoFlex;
    font-weight: 650;
    font-size: 16px;
    line-height: 80%;
    letter-spacing: -0.02em;
    font-variation-settings: 'wdth' 144, 'GRAD' 150, 'slnt' 0, 'XTRA' 468, 'XOPQ' 96, 'YOPQ' 79, 'YTLC' 514, 'YTUC' 712, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'opsz' 59;
    color: #1F2B31;
}

.mini-donuts-popup__where-hint,
.mini-donuts-popup__shop-time {
    font-family: Nunito;
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    color: #868686;
}

.mini-donuts-popup__shops {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mini-donuts-popup__shop {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    border: 1px solid #F2F2F2;
    border-radius: 20px;
}

.mini-donuts-popup__shop-time {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Мобилка: нижний лист во всю ширину, скроллится целиком,
   крестик прилипает к верху листа поверх картинки */
@media (max-width: 1219px) {
    .mini-donuts-popup {
        width: 100%;
        height: calc(100vh - 130px);
        height: calc(100dvh - 130px);
        max-height: none;
        padding: 20px !important;
        border-radius: 32px 32px 0 0;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: #DCE1E8 transparent;
    }

    .mini-donuts-popup.fancybox-content {
        flex-direction: column;
    }

    .mini-donuts-popup .mini-donuts-popup__close {
        position: sticky;
        top: 4px;
        right: auto;
        flex-shrink: 0;
        align-self: flex-end;
        z-index: 2;
        width: 44px;
        height: 44px;
        /* кнопка не должна занимать место в потоке: встаёт поверх картинки */
        margin: 4px 4px calc(-44px - 4px - 20px) 0;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
    }

    .mini-donuts-popup__image {
        width: 100%;
        height: 200px;
    }

    .mini-donuts-popup__content {
        width: auto;
        height: auto;
        margin-right: 0;
        padding-right: 0;
        overflow: visible;
    }
}

/* ==== ОСОБЫЕ ПОПАПЫ АКЦИЙ: «Страшно вкусный», «Сладкие монстры» ====
   Макет Figma, узлы 40001996:5678 и 40002008:5666.
   Карточка 800 px, padding 32, gap 20, radius 40; картинка 296 px; контент 420 px.
   Подключаются из main-promo-new/template.php по символьному коду акции
   (файлы в main-promo-new/special/). */
.special-popup {
    width: 800px;
    max-width: none;
}

.special-popup p,
.special-popup ul {
    margin: 0;
    padding: 0;
}

/* Крестик всегда над фото: у фото с логотипами свой слой (position: relative),
   а z-index у .product-popup__close в общих стилях задан только до 768 px. */
.special-popup .product-popup__close {
    z-index: 10;
}

.special-popup__wrapper {
    display: flex;
    gap: 20px;
    box-sizing: border-box;
    width: 800px;
    padding: 32px;
    border-radius: 40px;
    background-color: #FFFFFF;
    overflow: hidden;
    text-align: left;
}

.special-popup--ghost .special-popup__wrapper {
    height: 500px;
}

/* в макете у попапа «Сладкие монстры» фиксированная высота 543 px */
.special-popup--monsters .special-popup__wrapper {
    height: 543px;
}

.special-popup__image {
    flex: 0 0 296px;
    width: 296px;
    border-radius: 24px;
    overflow: hidden;
}

.special-popup__image > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.special-popup__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 0 0 420px;
    width: 420px;
    min-width: 0;
}

/* Список кофеен прокручивается внутри колонки; скроллбар 6 px лежит
   в правом отступе карточки (x = 776 в макете). */
.special-popup__content--scroll {
    /* 420 текст + 6 скроллбар (скроллбар забирает ширину у колонки) */
    flex: 0 0 426px;
    width: 426px;
    height: 436px;
    box-sizing: content-box;
    padding-right: 8px;
    margin-right: -14px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* Firefox не знает ::-webkit-scrollbar; в Chrome эти свойства перебили бы
   ширину 6 px из макета, поэтому только там, где ::-webkit-scrollbar нет. */
@supports not selector(::-webkit-scrollbar) {
    .special-popup__content--scroll {
        scrollbar-width: thin;
        scrollbar-color: #DCE1E8 #F2F2F2;
    }
}

.special-popup__content--scroll::-webkit-scrollbar {
    width: 6px;
}

.special-popup__content--scroll::-webkit-scrollbar-track {
    border-radius: 100px;
    background: #F2F2F2;
}

.special-popup__content--scroll::-webkit-scrollbar-thumb {
    border-radius: 100px;
    background-color: #DCE1E8;
}

/* Белое затухание внизу списка (градиент 32 px из макета) */
.special-popup__content--scroll::after {
    content: "";
    display: block;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    height: 32px;
    margin-top: -32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
    pointer-events: none;
}

.special-popup__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #1F2B31;
}

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

.special-popup__title {
    font-family: RobotoFlex;
    font-weight: 650;
    font-size: 24px;
    line-height: 80%;
    letter-spacing: -0.02em;
    font-variation-settings: 'wdth' 144, 'GRAD' 150, 'slnt' 0, 'XTRA' 468, 'XOPQ' 96, 'YOPQ' 79, 'YTLC' 514, 'YTUC' 712, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'opsz' 59;
    color: #1F2B31;
}

.special-popup__price {
    font-family: Nunito;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #EB1437;
}

.special-popup__desc {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: Nunito;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #1F2B31;
}

.special-popup__divider {
    flex-shrink: 0;
    height: 1px;
    background-color: #F2F2F2;
}

.special-popup__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.special-popup__where {
    display: flex;
    align-items: center;
    gap: 13px;
}

.special-popup__where-icon {
    flex-shrink: 0;
    width: 40px;
    height: auto;
}

.special-popup__where-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.special-popup__where-title,
.special-popup__subtitle {
    font-family: RobotoFlex;
    font-weight: 650;
    font-size: 16px;
    line-height: 80%;
    letter-spacing: -0.02em;
    font-variation-settings: 'wdth' 144, 'GRAD' 150, 'slnt' 0, 'XTRA' 468, 'XOPQ' 96, 'YOPQ' 79, 'YTLC' 514, 'YTUC' 712, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'opsz' 59;
    color: #1F2B31;
}

.special-popup__where-hint,
.special-popup__shop-time {
    font-family: Nunito;
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    color: #868686;
}

.special-popup__shops {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.special-popup__shop {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    border: 1px solid #F2F2F2;
    border-radius: 20px;
}

.special-popup__shop-address {
    font-family: Nunito;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #1F2B31;
}

.special-popup__shop-time {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* «Сладкие монстры»: три героя и кнопка */
.special-popup__heroes {
    display: flex;
    gap: 12px;
    list-style: none;
}

.special-popup__hero {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #F2F2F2;
    border-radius: 20px;
    background-color: #FFFFFF;
}

.special-popup__hero-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.special-popup__hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.special-popup__hero-name {
    font-family: RobotoFlex;
    font-weight: 650;
    font-size: 16px;
    line-height: 80%;
    letter-spacing: -0.02em;
    font-variation-settings: 'wdth' 144, 'GRAD' 150, 'slnt' 0, 'XTRA' 468, 'XOPQ' 96, 'YOPQ' 79, 'YTLC' 514, 'YTUC' 712, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'opsz' 59;
    color: #1F2B31;
    white-space: nowrap;
}

.special-popup__hero-price {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 32px;
    padding: 4px 8px;
    border-radius: 1000px;
    background-color: #FFDDE1;
    font-family: Nunito;
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    color: #EB1437;
    white-space: nowrap;
}

.special-popup__button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 28px;
    box-sizing: border-box;
}

/* Мобильная версия — как у обычных акций: попап на всю ширину, фото сверху
   на 360 px, крестик 44 px в углу, весь лист прокручивается целиком. */
@media (max-width: 1219px) {
    .special-popup {
        width: 100%;
    }

    .special-popup__wrapper,
    .special-popup--ghost .special-popup__wrapper,
    .special-popup--monsters .special-popup__wrapper {
        flex-direction: column;
        gap: 0;
        width: 100%;
        height: auto;
        padding: 0;
        border-radius: 0;
    }

    .special-popup__image {
        flex: none;
        width: 100%;
        height: 360px;
        border-radius: 0;
    }

    .special-popup__content,
    .special-popup__content--scroll {
        flex: none;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 32px 16px 20px 16px;
        box-sizing: border-box;
        overflow: visible;
    }

    .special-popup__content--scroll::after {
        display: none;
    }

    .special-popup__heroes {
        gap: 8px;
    }

    .special-popup__hero {
        padding: 8px;
    }
}

/* ==== ПОПАП АКЦИИ «КРАНЧИ ДРИМ × ВЕЛОБАЙК» (Figma 40001869:5343) ====
   Строится на базовых классах .special-popup (см. блок выше).
   Колонка 420 px, между текстом и сноской 32 px, лого поверх фото. */
.special-popup--velobike .special-popup__content {
    gap: 32px;
}

.special-popup--velobike .special-popup__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.special-popup--velobike .special-popup__text {
    gap: 20px;
}

/* Логотипы по центру фото, сверху: Велобайк × Кранчи Дрим */
.special-popup__image--logos {
    position: relative;
}

.special-popup__logos {
    position: absolute;
    top: 39px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 9px;
    width: max-content;
    transform: translateX(-50%);
    white-space: nowrap;
}

.special-popup__logo-velo {
    display: block;
    width: 85.5px;
    height: auto;
}

.special-popup__logo-times {
    display: block;
    width: 7.5px;
    height: 7.5px;
}

.special-popup__logo-kranchi {
    display: block;
    width: 99px;
    height: auto;
}

/* Нумерованный список шагов: 16 px, отступ маркера 24 px, шаг 8 px */
.special-popup__steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0 0 0 24px;
    font-family: Nunito;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #1F2B31;
    list-style: decimal;
}

.special-popup__code {
    font-family: RobotoFlex;
    font-weight: 650;
    letter-spacing: -0.02em;
    font-variation-settings: 'wdth' 144, 'GRAD' 150, 'slnt' 0, 'XTRA' 468, 'XOPQ' 96, 'YOPQ' 79, 'YTLC' 514, 'YTUC' 712, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'opsz' 59;
}

.special-popup__foot {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.special-popup__note {
    margin: 0;
    font-family: Nunito;
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    color: #868686;
}

.special-popup__note a {
    color: #EB1437;
    text-decoration: underline;
    text-decoration-thickness: 7%;
}

@media (max-width: 1219px) {
    .special-popup--velobike .special-popup__content {
        gap: 24px;
    }

    .special-popup__br {
        display: none;
    }

    /* В фото вшита плашка «РЕКЛАМА. РЕКЛАМОДАТЕЛЬ…» внизу — по закону её должно быть
       видно всегда. Прижимаем кадр книзу и растим высоту на широких экранах,
       чтобы не оставалась тонкая полоска. */
    .special-popup--velobike .special-popup__image {
        height: clamp(360px, 80vw, 560px);
    }

    .special-popup--velobike .special-popup__image > img {
        object-position: 50% 100%;
    }
}

/* End */
/* /local/templates/krunchy/template_styles.css?179183012955095 */
