.rating-excurtion__star:last-child{
    margin-left:1px;
}
.rating-excurtion__star {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 18px;
    flex: 0 0 18px;
    width: 18px;
    height: 25px;
}

@media (max-width: 479.98px) {
    .page {
        padding-top: 110px;
    }
    .main-banner {
        min-height: 660px;
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .alert-header {
        height: auto;
        min-height: 50px;
        overflow: visible;
        padding: 8px 0;
    }

    .alert-header__text span {
        white-space: normal;
        word-break: break-word;
    }
}

@media (max-width: 479.98px) {
    .header._show-alert + .page {
        padding-top: 270px;
    }
}

/* Анимация кнопки "Rezervă" в сайдбаре тура — мягкая пульсация */
@-webkit-keyframes rezerva-pulse {
    0%, 100% {
        -webkit-transform: scale(1);
                transform: scale(1);
        -webkit-box-shadow: 0 0 0 0 rgba(23, 173, 101, 0.45);
                box-shadow: 0 0 0 0 rgba(23, 173, 101, 0.45);
    }
    50% {
        -webkit-transform: scale(1.03);
                transform: scale(1.03);
        -webkit-box-shadow: 0 0 0 10px rgba(23, 173, 101, 0);
                box-shadow: 0 0 0 10px rgba(23, 173, 101, 0);
    }
}

@keyframes rezerva-pulse {
    0%, 100% {
        -webkit-transform: scale(1);
                transform: scale(1);
        -webkit-box-shadow: 0 0 0 0 rgba(23, 173, 101, 0.45);
                box-shadow: 0 0 0 0 rgba(23, 173, 101, 0.45);
    }
    50% {
        -webkit-transform: scale(1.03);
                transform: scale(1.03);
        -webkit-box-shadow: 0 0 0 10px rgba(23, 173, 101, 0);
                box-shadow: 0 0 0 10px rgba(23, 173, 101, 0);
    }
}

.main-sidebar-excursion-page__btn {
    -webkit-animation: rezerva-pulse 2s ease-in-out infinite;
            animation: rezerva-pulse 2s ease-in-out infinite;
    will-change: transform;
}

.main-sidebar-excursion-page__btn:hover,
.main-sidebar-excursion-page__btn:focus,
.main-sidebar-excursion-page__btn:active {
    -webkit-animation: none;
            animation: none;
}

@media (prefers-reduced-motion: reduce) {
    .main-sidebar-excursion-page__btn {
        -webkit-animation: none;
                animation: none;
    }
}

/* Блог: фото над футером — картинка строго по контейнеру,
   затемнение покрывает её целиком (раньше img вылезала на 1% и снизу
   оставалась незатемнённая светлая полоса поверх футера) */
.footer-blog__background {
    overflow: hidden;
}

.footer-blog__background img {
    height: 100% !important;
}

/* Чекбокс согласия на обработку персональных данных (форма контактов) */
.sidebar-contacts__row_consent {
    margin-bottom: 15px;
}

.consent-check {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.consent-check__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    margin: 0;
    padding: 0;
}

.consent-check__box {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 18px;
            flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    margin-top: 1px;
    border: 1px solid #c4c4c4;
    border-radius: 3px;
    background-color: #fff;
    position: relative;
}

.consent-check__input:checked + .consent-check__box {
    background-color: #17ad65;
    border-color: #17ad65;
}

.consent-check__input:checked + .consent-check__box::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
}

.consent-check__input:focus-visible + .consent-check__box {
    outline: 2px solid #17ad65;
    outline-offset: 2px;
}

.consent-check__text {
    font-size: 13px;
    line-height: 1.4;
    color: #555;
}

/* вариант для тёмного/цветного фона: сайдбар бронирования тура и виджет "Te sunăm noi" */
.consent-check_light .consent-check__text {
    color: #fff;
}

.consent-check_light .consent-check__box {
    border-color: rgba(255, 255, 255, 0.6);
    background-color: transparent;
}

.consent-check_light .consent-check__input:checked + .consent-check__box {
    background-color: #fff;
    border-color: #fff;
}

.consent-check_light .consent-check__input:checked + .consent-check__box::after {
    border-color: #1F939F;
}

.consent-check_light .consent-check__input:focus-visible + .consent-check__box {
    outline-color: #fff;
}

/* отступы чекбокса внутри виджета заказа звонка */
.callback-sidebar-excursion-page__form .consent-check {
    margin-bottom: 12px;
}

/* Кнопка "самолётик" (._fly) — воспроизведение макета-GIF покадрово.
   Цикл 3s (75 кадров x 40ms):
     0 - 37.3%  текст по центру, самолёт за левым краем
     37.3-42.7% самолёт влетает слева и встаёт вплотную к тексту (зазор 7px)
     42.7-76%   самолёт с текстом медленно едут вправо (+54px)
     76-79%     рывок вправо, текст гаснет, по центру проявляется "Acum!"
     79-88%     самолёт с замедлением уходит за правый край
     88-100%    в кнопке только "Acum!" */
._fly {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

._fly .btn-fly__text--first {
    position: relative;
    display: inline-block;
    -webkit-animation: btn-fly-move 3s infinite;
            animation: btn-fly-move 3s infinite;
}

._fly .btn-fly__label {
    display: inline-block;
    -webkit-animation: btn-fly-label 3s infinite;
            animation: btn-fly-label 3s infinite;
}

._fly .btn-fly__text--second {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    opacity: 0;
    -webkit-animation: btn-fly-second 3s infinite;
            animation: btn-fly-second 3s infinite;
}

._fly .btn-fly__plane {
    position: absolute;
    right: 100%;
    top: 50%;
    margin-right: 7px;
    margin-top: -13px;
    line-height: 0;
    opacity: 0;
    -webkit-animation: btn-fly-plane 3s infinite;
            animation: btn-fly-plane 3s infinite;
}

._fly .btn-fly__plane svg {
    display: block;
    width: 40px;
    height: 26px;
}

/* у кнопки сайдбара уже есть пульсация — с полётом она не нужна */
.main-sidebar-excursion-page__btn._fly {
    -webkit-animation: none;
            animation: none;
}

/* ход группы "самолёт + текст" */
@-webkit-keyframes btn-fly-move {
    0%, 42.7% { -webkit-transform: translateX(0);     -webkit-animation-timing-function: linear; }
    76%       { -webkit-transform: translateX(54px);  -webkit-animation-timing-function: cubic-bezier(.15, .7, .4, 1); }
    88%       { -webkit-transform: translateX(400px); -webkit-animation-timing-function: linear; }
    100%      { -webkit-transform: translateX(560px); }
}

@keyframes btn-fly-move {
    0%, 42.7% { -webkit-transform: translateX(0);     transform: translateX(0);     -webkit-animation-timing-function: linear; animation-timing-function: linear; }
    76%       { -webkit-transform: translateX(54px);  transform: translateX(54px);  -webkit-animation-timing-function: cubic-bezier(.15, .7, .4, 1); animation-timing-function: cubic-bezier(.15, .7, .4, 1); }
    88%       { -webkit-transform: translateX(400px); transform: translateX(400px); -webkit-animation-timing-function: linear; animation-timing-function: linear; }
    100%      { -webkit-transform: translateX(560px); transform: translateX(560px); }
}

/* влёт самолёта слева (кадры 28-32) */
@-webkit-keyframes btn-fly-plane {
    0%, 37.2%  { -webkit-transform: translateX(-124px); opacity: 0; -webkit-animation-timing-function: cubic-bezier(.55, 0, .85, .5); }
    37.3%      { -webkit-transform: translateX(-124px); opacity: 1; -webkit-animation-timing-function: cubic-bezier(.55, 0, .85, .5); }
    42.7%, 100% { -webkit-transform: translateX(0);     opacity: 1; }
}

@keyframes btn-fly-plane {
    0%, 37.2%  { -webkit-transform: translateX(-124px); transform: translateX(-124px); opacity: 0; -webkit-animation-timing-function: cubic-bezier(.55, 0, .85, .5); animation-timing-function: cubic-bezier(.55, 0, .85, .5); }
    37.3%      { -webkit-transform: translateX(-124px); transform: translateX(-124px); opacity: 1; -webkit-animation-timing-function: cubic-bezier(.55, 0, .85, .5); animation-timing-function: cubic-bezier(.55, 0, .85, .5); }
    42.7%, 100% { -webkit-transform: translateX(0);     transform: translateX(0);      opacity: 1; }
}

/* первый текст гаснет ровно в момент рывка */
@-webkit-keyframes btn-fly-label {
    0%, 76.5%  { opacity: 1; }
    79%, 100%  { opacity: 0; }
}

@keyframes btn-fly-label {
    0%, 76.5%  { opacity: 1; }
    79%, 100%  { opacity: 0; }
}

/* "Acum!" проявляется по центру */
@-webkit-keyframes btn-fly-second {
    0%, 76.5%  { opacity: 0; }
    79%, 100%  { opacity: 1; }
}

@keyframes btn-fly-second {
    0%, 76.5%  { opacity: 0; }
    79%, 100%  { opacity: 1; }
}

/* мобильная кнопка карточки: ширину держит невидимая распорка со старым
   текстом (BOOK_NOW), чтобы анимация не меняла размер кнопки */
.info-mobile-card__button._fly {
    display: -ms-inline-grid;
    display: inline-grid;
    -ms-flex-line-pack: center;
        align-content: center;
    justify-items: center;
}

.info-mobile-card__button._fly > * {
    grid-area: 1 / 1;
}

.info-mobile-card__button._fly .btn-fly__sizer {
    visibility: hidden;
    pointer-events: none;
}

/* в grid-кнопке "Acum!" кладём в ту же ячейку, что и первый текст,
   иначе абсолютное центрирование даёт сдвиг вниз и вправо */
.info-mobile-card__button._fly .btn-fly__text--second {
    position: static;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
}
