/* Crabit Blocks Combined CSS - Generated: 2026-07-20 11:16:57 */

/* Block: autocredit */
.autocredit {
    background-color: #fff;
    background-size: contain;
    background-position: bottom right;
    background-repeat: no-repeat;
    padding: 150px 0;
}

.autocredit__checked {
    font-size: 20px;
    color: #020B0A;
    font-weight: 300;
    margin-top: 40px;
    margin-bottom: 30px;
}
.autocredit__list div {
    position: relative;
    padding-left: 28px;
}
.autocredit__list div:before {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    background-color: #020B0A;
    border-radius: 100px;
    top: 0;
    bottom: 0;
    left: 10px;
    margin: auto;
}
.autocredit__list {
    font-size: 20px;
    color: #020B0A;
    font-weight: 500;
}

@media (max-width: 800px) {
    .autocredit .crabit-title {
        justify-content: center!important;
    }
    .autocredit {
        text-align: center;
        padding: 60px 0;
        height: 800px;
    }
    .autocredit__list div {
        position: relative;
        padding-left: 28px;
        display: flex;
        justify-content: center;
        display: inline-block;
    }
    .autocredit__checked div {
        text-transform: uppercase;
    }
}

/* Block: banners */
.banners {
    padding: 50px 0;
}
.banner-item {
    background-color: #020A0A;
    border-radius: 32px;
    height: 249px;
    padding-left: 70px;
    padding-right: 70px;
}
.banner-1 {
    background-image: url(../../themes/ekay/assets/img/banner-1-bg.png);
    background-position: right center;
    background-size: contain;
    background-repeat: no-repeat;
}
.banner-item__logo img {
    max-width: 100%;
}
.banner-item__logo {
    width: 40%;
    margin-bottom: 20px;
}
.banner-item__subtitle {
    font-size: 19px;
    color: rgba(255 255 255 / .63);
}

.banner-item__title:before {
    position: absolute;
    content: "";
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(2,11,10, 0) 0%,
        rgba(2,11,10, .2) 100%
    );
}
.banner-item__title {
    font-size: 90px;
    color: #fff;
    
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Steelfish';
}

@media(max-width: 800px) {
    .banners .container {
        padding: 0;
    }
    .banners {
        padding: 0;
    }
    .banner-item.banner-2,
    .banner-item.banner-1 {
        border-radius: 0;
        margin-bottom: 0!important;
    }
    .banner-item.banner-1 {
        height: 600px;
    }
    .banner-item {
        padding-left: 20px;
        padding-right: 20px;
    }
    .banner-item__logo {
        width: 100%;
        margin-bottom: 20px;
    }
    .banner-item.banner-1 {
        padding-top: 50px;
    }
    .banner-item.banner-2 {
        height: auto;
        line-height: 1.2;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .banner-item__subtitle {
        margin-top: 30px;
        text-align: center;
        font-size: 15px;
    }
    .banner-1 {
        background-image: url(../../themes/ekay/assets/img/banner-1-bg-sm.png);
        background-position: bottom center;
        background-size: contain;
        background-repeat: no-repeat;
    }
}

/* Block: block-prepared */
.car-brands-block {
    /* Фон блока - темно-серый/черный */
    background-color: #000000;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 40px 0;
    overflow: hidden; /* Скрываем части изображений, выходящие за блок */
}

/* Обертка для позиционирования и адаптивности контента */
.car-brands-block__wrapper {
    position: relative;
    padding: 0 15px; /* Боковые отступы внутри контейнера */
}



/* Стилизация текста в заголовке (красный акцент) */
.car-brands-block__title--desktop {
    display: none; /* Скрываем на мобильных по умолчанию */
}



.car-brands-block__title--mobile {
    display: block; /* Показываем на мобильных по умолчанию */
}


/* Контейнер для списка брендов (теперь это row) */
.car-brands-block__brands-list {
    /* На мобильных элементам col-6 добавим отступы */
    gap: 30px 20px; /* Имитация gap на row */
    margin-bottom: 20px;
    padding: 0 15px; /* Для центрирования контента */
}

/* Элемент бренда */
.car-brands-block__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* На мобильных добавляем отступ между строками, т.к. row по умолчанию не имеет gap */
    margin-bottom: 30px; 
}

/* Логотип бренда */
.car-brands-block__logo {
    width: 70px;
    margin-bottom: 8px;
    padding: 5px;
    box-sizing: content-box;
}

/* Название бренда */
.car-brands-block__name {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Контейнер для изображений */
.car-brands-block__images {
    width: 100%;
    height: 350px; /* Примерная высота на мобильном */
    margin: 0 auto;
    margin-top: 20px; /* Отступ сверху на мобильном, чтобы отделить от брендов */
}

/* Общий стиль для автомобилей */
.car-brands-block__car {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
}

/* Позиционирование зеленого авто */
.car-brands-block__car--green {
    width: 130%; 
    max-width: none;
    left: 0%;
    transform: translateX(-50%);
    bottom: -15%;
    z-index: 1;
}

/* Позиционирование темного авто */
.car-brands-block__car--dark {
    width: 0%;
    max-width: none;
    left: 50%;
    transform: translateX(-65%);
    bottom: 10%;
    opacity: 0.6;
}

/* Персонаж лиса */
.car-brands-block__fox {
    position: absolute;
    bottom: 0;
    left: 40%;
    transform: translateX(-50%);
    height: 70%;
    width: auto;
    z-index: 10;
}


/* --- Медиа-запрос для десктопа и планшета (>= 992px) --- */
@media (min-width: 992px) {
    .car-brands-block {
        padding: 60px 0;
    }

    .car-brands-block__wrapper {
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Заголовки */
    .car-brands-block__title--desktop {
        display: block;
       
    }

    .car-brands-block__title--mobile {
        display: none;
    }

    /* Контейнер для брендов */
    .car-brands-block__brands-list {
        margin: 0;
        padding-left: 0;
    }
    
    /* Элемент бренда */
    .car-brands-block__brand {
        margin-bottom: 50px; /* Отступ между строками */
    }

    /* Логотип бренда */
    .car-brands-block__brand-img {
        height: 170px;
        display: flex;
        -webkit-display: flex;
        align-items: center;
        -webkit-align-items: center;
        justify-content: center;
        -webkit-justify-content: center;
    }
    .car-brands-block__logo {
        width: 150px;

        margin-bottom: 12px;
    }

    /* Название бренда */
    .car-brands-block__name {
        font-size: 18px;
        font-weight: 600;
    }

    /* Контейнер для изображений */
    .car-brands-block__images {
        height: 500px;
        margin: 0; /* Убираем центрирование */
    }

    /* Персонаж лиса */
    .car-brands-block__fox {
        left: 30%;
        transform: translateX(-50%);
        height: 90%;
        width: auto;
        bottom: -5%;
    }

    /* Позиционирование зеленого авто */
    .car-brands-block__car--green {
        width: 100%;
        transform: translateX(-60%);
        bottom: -25%;
        left: -10%;
        right: -15%;
    }

    /* Позиционирование темного авто */
    .car-brands-block__car--dark {
        width: 55%;
        left: 0%;
        transform: translateX(-120%);
        bottom: 20%;
        left: -20%;
    }
}

.car-brands-block {
    position: relative;
}
.car-brands-block-gradient {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
    to left,
    #020A0A 0%,
    #020A0A 30%,
    transparent 70%
  );
}

.car-brands-block__fox {
    opacity: 0;
    transform: translateY(40px);
}

.car-brands-block__car--green {
    opacity: 0;
    transform: scale(0.94);
}

.car-brands-block__car--dark {
    opacity: 0;
    transform: translateY(18px);
}
.car-brands-block__brand:hover {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}
.car-brands-block__brand {
    z-index: 3;
    position: relative;
    text-decoration: none;
    color: #fff;
    transition: all .2s;
    -webkit-transition: all .2s;
    transform: scale(1);
    -webkit-transform: scale(1);
}
.car-brands-block__title {
    z-index: 3;
    position: relative;
}

/* Block: brand */
.car-brands-block {
    /* Фон блока - темно-серый/черный */
    background-color: #000000;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 40px 0;
    overflow: hidden; /* Скрываем части изображений, выходящие за блок */
}

/* Обертка для позиционирования и адаптивности контента */
.car-brands-block__wrapper {
    position: relative;
    padding: 0 15px; /* Боковые отступы внутри контейнера */
}



/* Стилизация текста в заголовке (красный акцент) */
.car-brands-block__title--desktop {
    display: none; /* Скрываем на мобильных по умолчанию */
}



.car-brands-block__title--mobile {
    display: block; /* Показываем на мобильных по умолчанию */
}


/* Контейнер для списка брендов (теперь это row) */
.car-brands-block__brands-list {
    /* На мобильных элементам col-6 добавим отступы */
    gap: 30px 20px; /* Имитация gap на row */
    margin-bottom: 20px;
    padding: 0 15px; /* Для центрирования контента */
}

/* Элемент бренда */
.car-brands-block__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* На мобильных добавляем отступ между строками, т.к. row по умолчанию не имеет gap */
    margin-bottom: 30px; 
}

/* Логотип бренда */
.car-brands-block__logo {
    width: 70px;
    margin-bottom: 8px;
    padding: 5px;
    box-sizing: content-box;
}

/* Название бренда */
.car-brands-block__name {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Контейнер для изображений */
.car-brands-block__images {
    width: 100%;
    height: 350px; /* Примерная высота на мобильном */
    margin: 0 auto;
    margin-top: 20px; /* Отступ сверху на мобильном, чтобы отделить от брендов */
}

/* Общий стиль для автомобилей */
.car-brands-block__car {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
}

/* Позиционирование зеленого авто */
.car-brands-block__car--green {
    width: 130%; 
    max-width: none;
    left: 0%;
    transform: translateX(-50%);
    bottom: -15%;
    z-index: 1;
}

/* Позиционирование темного авто */
.car-brands-block__car--dark {
    width: 0%;
    max-width: none;
    left: 50%;
    transform: translateX(-65%);
    bottom: 10%;
    opacity: 0.6;
}

/* Персонаж лиса */
.car-brands-block__fox {
    position: absolute;
    bottom: 0;
    left: 40%;
    transform: translateX(-50%);
    height: 70%;
    width: auto;
    z-index: 10;
}


/* --- Медиа-запрос для десктопа и планшета (>= 992px) --- */
@media (min-width: 992px) {
    .car-brands-block {
        padding: 60px 0;
    }

    .car-brands-block__wrapper {
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Заголовки */
    .car-brands-block__title--desktop {
        display: block;
       
    }

    .car-brands-block__title--mobile {
        display: none;
    }

    /* Контейнер для брендов */
    .car-brands-block__brands-list {
        margin: 0;
        padding-left: 0;
    }
    
    /* Элемент бренда */
    .car-brands-block__brand {
        margin-bottom: 50px; /* Отступ между строками */
    }

    /* Логотип бренда */
    .car-brands-block__brand-img {
        height: 170px;
        display: flex;
        -webkit-display: flex;
        align-items: center;
        -webkit-align-items: center;
        justify-content: center;
        -webkit-justify-content: center;
    }
    .car-brands-block__logo {
        width: 150px;

        margin-bottom: 12px;
    }

    /* Название бренда */
    .car-brands-block__name {
        font-size: 18px;
        font-weight: 600;
    }

    /* Контейнер для изображений */
    .car-brands-block__images {
        height: 500px;
        margin: 0; /* Убираем центрирование */
    }

    /* Персонаж лиса */
    .car-brands-block__fox {
        left: 30%;
        transform: translateX(-50%);
        height: 90%;
        width: auto;
        bottom: -5%;
    }

    /* Позиционирование зеленого авто */
    .car-brands-block__car--green {
        width: 100%;
        transform: translateX(-60%);
        bottom: -25%;
        left: -10%;
        right: -15%;
    }

    /* Позиционирование темного авто */
    .car-brands-block__car--dark {
        width: 55%;
        left: 0%;
        transform: translateX(-120%);
        bottom: 20%;
        left: -20%;
    }
}

.car-brands-block {
    position: relative;
}
.car-brands-block-gradient {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
    to left,
    #020A0A 0%,
    #020A0A 30%,
    transparent 70%
  );
}

.car-brands-block__fox {
    opacity: 0;
    transform: translateY(40px);
}

.car-brands-block__car--green {
    opacity: 0;
    transform: scale(0.94);
}

.car-brands-block__car--dark {
    opacity: 0;
    transform: translateY(18px);
}
.car-brands-block__brand:hover {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}
.car-brands-block__brand {
    z-index: 3;
    position: relative;
    text-decoration: none;
    color: #fff;
    transition: all .2s;
    -webkit-transition: all .2s;
    transform: scale(1);
    -webkit-transform: scale(1);
}
.car-brands-block__title {
    z-index: 3;
    position: relative;
}

@media(max-width: 800px) {
    .car-brands-block {
        overflow: hidden;
    }
    .car-brands-block__fox {
        transform: translateX(-50%);
        height: 350px;
        width: auto;
        left: auto;
        right: 0;
        bottom: -30px;
    }
    .car-brands-block__car--green {
        width: 170%;
        max-width: none;
        left: -40px;
        transform: translateX(-50%);
        bottom: -80px;
        z-index: 1;
    }
    .car-brands-block__car--dark {
        width: 90%;
        max-width: none;
        left: -50px;
        bottom: 85px;
    }
    .car-brands-block-gradient {
        display: none;
    }

}

/* Block: calculator */
.calculator {
    padding: 0 0 50px 0;
}

.calculator-item {
    padding: 50px;
    background-color: #020B0A;
    border-radius: 15px;
    color: rgba(255 255 255 / .8);
}

.calculator-form__item {
    padding-bottom: 40px;
}
/* Уникальный класс для стилей блока */
.client-type-select-block {
    padding: 30px 0;
    background-color: #0d1218; 
}

/* --- Заголовок --- */
.client-type-select-block__label {
    display: block;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #CCCECE;
    /* Градиентный текст */
    background: linear-gradient(90deg, #CCCECE 0%, #CCCECE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
            background-clip: text;
            color: transparent;
}


/* --- Кастомный Select (custom-select) --- */

/* Контейнер */
.custom-select--client-type {
    position: relative;
    width: 100%; 
    max-width: 300px;
}

/* 1. Скрытие нативного select */
.custom-select__native-select {
    /* Полностью скрываем, но оставляем доступным для JS и форм */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none; /* Гарантируем, что клик пойдет на кастомный элемент */
}

/* 2. Кнопка отображения (Display Button) */
.custom-select__display-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 25px; 
    min-height: 56px;
    background-color: #2F524E; /* Темно-зеленый цвет фона, как на изображении */
    border-radius: 9px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff; 
    transition: background-color 0.2s;
    outline: none; /* Убираем стандартный аутлайн */
}

/* Эффект при наведении/фокусе */
.custom-select__display-button:hover,
.custom-select__display-button:focus {
    background-color: #1f504c;
}

/* Стрелка */
.custom-select__arrow {
    width: 14px;
    height: 8px;
    flex-shrink: 0;
    margin-left: 10px;
    transition: transform 0.2s ease;
}

/* Состояние "открыто" */
.custom-select--client-type.is-open .custom-select__arrow {
    transform: rotate(180deg);
}

/* 3. Список опций (Dropdown Menu) */
.custom-select__options-list {
    position: absolute;
    top: 100%; /* Помещаем под кнопку */
    left: 0;
    width: 100%;
    background-color: #215956; /* Цвет фона опций */
    border-radius: 9px;
    overflow: hidden;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px); /* Небольшой эффект появления */
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    margin-top: 4px; /* Небольшой отступ от кнопки */
    padding: 0;
    list-style: none; /* Убираем стандартные маркеры списка */
}

/* Состояние "открыто" */
.custom-select--client-type.is-open .custom-select__options-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Элемент опции (Item) */
.custom-select__option-item {
    padding: 16px 25px; 
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s;
}

/* Эффект при наведении */
.custom-select__option-item:hover {
    background-color: #2a6e6a;
}

/* Выбранная опция */
.custom-select__option-item.is-selected {
    background-color: #1a4340; /* Тот же цвет, что и у кнопки */
    font-weight: 400;
}

.calculator-input::placeholder {
    color: rgba(255 255 255 / .3);
}
.calculator-input {
    background-color: #2F524E;
    color: #fff;
    height: 56px;
    border-radius: 9px;
    border: 0;
    word-wrap: break-word;
    width: 100%;
    padding: 0 20px;
}

.calculator-btn {
    margin-top: 10px;
}

.calculator__button-wrapper {
    margin-bottom: 30px;
}
.calculator__button {
    border: 1px solid #EC6726;
    border-radius: 50px;
    height: 54px;
    color: #020B0A;
    font-size: 18px;
    font-weight: 600;
    padding: 0 30px;
    display: block;
    width: 100%;
}

.calculator__button:hover {
    border: 1px solid #020B0A;
}
.calculator__button.active {
    border: 1px solid #EC6726;
    color: #fff;
    background-color: #EC6726;
}
.calculator__buttons {
    max-width: 800px;
    margin: auto;
}

.calculator__description {
    text-align: center;
    max-width: 900px;
    margin-bottom: 40px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}

.calculator-group {
    display: none;
}
.calculator-group.active {
    display: block;
}



@media(max-width: 800px) {
    .calculator__button {
        height: 39px;
        font-size: 15px;
        font-weight: 600;
        padding: 0 10px;
        width: 100%;
    }
    .calculator__button-wrapper {
        margin-bottom: 15px;
    }
    .calculator__description {
        font-size: 14px;
        line-height: 2;
    }
    .calculator-item {
        padding: 40px;
    }
    .client-type-select-block__wrapper .custom-select__display-button,
    .client-type-select-block__wrapper select,
    .client-type-select-block__wrapper input {
        font-size: 12px;
    }
    .client-type-select-block__label {
        font-size: 12px;
    }
    .calculator-form__item {
        padding-bottom: 20px;
    }

    .calculator-btn .btn-item {
        max-width: 100%;
        min-width: 100%;
    }
    .calculator-item {
        margin-bottom: 30px;
    }
    .calculator-item__body {
        font-size: 13px;
    }
}

/* Block: contacts */
.contacts-section {
    padding: 50px 0 100px 0;
}
.contacts-section__map {
    overflow: hidden;
    border-radius: 30px;
    height: 500px;
}
.contacts-section__info {
    padding-left: 40px;
}
.contacts-section__info-label {
    color: rgba(40,40,40, .6);
    font-size: 22px;
}
.contacts-section__info-value a:hover {
    text-decoration: underline;
}
.contacts-section__info-value a,
.contacts-section__info-value {
    color: #151515;
    font-size: 22px;
    text-decoration: none;
}
.contacts-section__info-item {
    padding: 15px 0;
}
.admin-bar .header-yekay {
    top: 32px;
}


@media(max-width: 800px) {
    .contacts-section .crabit-title {
        margin-bottom: 30px;
    }
    .contacts-section__map {
        border-radius: 30px;
        height: 260px;
    }
    .contacts-section__info {
        padding-left: 0!important;
        text-align: center;
        padding-top: 40px;
    }
    .contacts-section__info-label,
    .contacts-section__info-value {
        font-size: 18px!important;
    }
    .contacts-section {
        padding: 50px 0 50px 0;
    }
}

.contacts-section__info-value span {font-size: 16px;
    color: #5d5d5d;}

/* Block: content */
.content-section {
    padding: 50px 0 50px 0;
    background-position: top center;
    background-size: 100%;
    background-repeat: no-repeat;
    border-radius: 0 0 40px 40px;
    background-color: #F4F3F1;
}
.content-section__block {
    border-radius: 30px;
    background-color: #fff;
    padding: 30px;
    font-size: 18px;
    margin-bottom: 30px;
}
.content-section__block-text em,
.content-section__block-text i {

    font-style: normal;
    font-weight: 500;
    background: linear-gradient(to right, #EC6726 0%, #FF8D56 10%, #EC6726 50%, #FF8D56 60%, #EC6726 100%)!important;
    color: #EC6726;
    /* Ограничиваем градиент только до 40% ширины */
    background-size: 100% 100%!important;
    background-repeat: no-repeat!important;

    -webkit-background-clip: text!important;
    -webkit-text-fill-color: transparent!important;
    background-clip: text!important;
}
.content-section__block-text {
    color: #020B0A;
    padding: 25px;
}
.content-section__description {
    margin-top:-30px;
    margin-bottom:40px;
    max-width:900px;
    margin-left:auto;
    margin-right:auto;
    text-align: center;
}
.content-section__block-image {
    margin-bottom: 15px;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    height: auto; /* если высота не задана, картинка задаст herself */
}

/* Если нужно фиксировать высоту блока — сделай, например, 300px:
   .content-section__block-image { height: 300px; } */

.content-section__block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* картинка заполняет блок без искажений */
    object-position: center; /* центрируем */
    display: block;
}

@media (max-width: 800px) {
    .content-section__description {
        text-align: center;
        line-height: 1.9;
    }
    .content-section__block {
        border-radius: 20px;
        background-color: #fff;
        padding: 20px;
        font-size: 14px;
        margin-bottom: 30px;
    }
    .content-section__block-text {
        color: #020B0A;
        line-height: 1.9;
        padding: 15px 0 0 0;
    }
    .crabit-text {
        font-size: 14px;
    }
}

/* Block: crabit-cabinet-auth */


/* Block: crabit-cabinet-favorites */
.crabit-cabinet-favorites__icon img {
	width: 22px;
}
.crabit-cabinet-favorites__icon {
	width: 60px;
	height: 60px;
	border-radius: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #F8F8F8;
}
.crabit-cabinet-favorites__title {
	font-weight: bold;
	font-size: 20px;
}
.crabit-cabinet-favorites__name {
	margin-bottom: 30px;
}






.crabit-favorites-product__item-img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    height: 200px;
    margin-bottom: 22px;
}
.crabit-favorites-product__item .crabit-favorites-product__item-img img {
    transition: all 1.9s;
    -webkit-transition: all 1.9s;
    transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
}
.crabit-favorites-product__item:hover .crabit-favorites-product__item-img img {
    transform: scale(1.2, 1.2);
    -webkit-transform: scale(1.2, 1.2);
}
.crabit-favorites-product__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crabit-favorites-product__item-title:hover {
    color: #EC6726;
}
.crabit-favorites-product__item-title {
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    color: #020B0A;
}
.crabit-favorites-product__item-attributes {
    margin-top: 10px;
}
.crabit-favorites-product__item-attr {
    display: flex;
    gap: 10px;
    color: #020B0A;
    font-size: 12px;
}
.crabit-favorites-product__item-attr-label {
    font-weight: bold;
}
.crabit-favorites-product__item-price-label {
    color: rgba(2,11,10, .6);
    font-size: 10px;
    margin-top: 20px;
    margin-bottom: 0;
    font-weight: bold;
}
.crabit-favorites-product__item-price {
    color: #020B0A;
    font-size: 19px;
}
.crabit-favorites-product__item-btn {
    margin-top: 10px;
}
.crabit-favorites-product__item {
    margin-bottom: 50px;
}


.crabit-favorites-btn-favorite:hover {
    background-size: 50%;
}
.crabit-favorites-btn-favorite {
    width: 41px;
    height: 41px;
    background-color: #F4F2F2;
    border-radius: 100%;
    display: block;
    background-image: url(/wp-content/themes/ekay/assets/img/favorite.svg);
    background-position: top 53% center;
    background-repeat: no-repeat;
    background-size: 36%;
    transition: all .2s;
    -webkit-transition: all .2s;
    border: 0;
}
.crabit-favorites-btn-favorite:hover {
    background-image: url(/wp-content/themes/ekay/assets/img/favorite.svg);
}
.crabit-favorites-btn-favorite.active {
    background-image: url(/wp-content/themes/ekay/assets/img/favorite-active.svg);
}
.crabit-favorites-btn-favorite.active:hover {
    background-image: url(/wp-content/themes/ekay/assets/img/favorite-active.svg);
}

@media(max-width: 800px) {
    .crabit-favorites-product__item-img {
        border-radius: 10px;
        height: 110px;
        margin-bottom: 12px;
    }
    .crabit-favorites-product__item-price-label {
        font-size: 10px;
        margin-top: 10px;
    }
    .crabit-cabinet-favorites__name {
        display: none;
    }
    .crabit-cabinet-profile__content {
        min-height: unset;
    }
    .crabit-cabinet-profile__block .crabit-cabinet-profile-edit__name:nth-child(1) {
        display: none;
    }
}

/* Block: crabit-cabinet-leads */
.crabit-cabinet-leads__icon img {
	width: 22px;
}
.crabit-cabinet-leads__icon {
	width: 60px;
	height: 60px;
	border-radius: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #F8F8F8;
}
.crabit-cabinet-leads__title {
	font-weight: bold;
	font-size: 20px;
}
.crabit-cabinet-leads__name {
	margin-bottom: 30px;
}
.crabit-cabinet-leads__item-label {
	font-size: 12px;
	color: rgba(2,11,10, .7);
	margin-bottom: 7px;
}
.crabit-cabinet-leads__item-value {
	font-size: 16px;
	color: #020B0A;
	font-weight: 600;
}
.crabit-cabinet-leads__item {
	background-color: #F8F8F8;
	border: 1px solid #E6E6E6;
	border-radius: 8px;
	padding: 20px 25px;
	margin-bottom: 20px;
}


@media (max-width: 800px) {
	.crabit-cabinet-leads__name {
		display: none;
	}
	.crabit-cabinet-leads__item-value {
	    font-size: 16px;
	    color: #020B0A;
	    font-weight: 600;
	    margin-bottom: 10px;
	}
	.crabit-cabinet-leads__item-label {
	    margin-top: 10px;
	}
}

/* Block: crabit-cabinet-login */
.crabit-page-login {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f7f9;
    padding: 100px 20px;
}

.crabit-page-login__container {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 14px;
    padding: 32px 28px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.crabit-page-login__title {
    margin: 0 0 24px;
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    color: #1f2937;
}

.crabit-page-login__error {
    margin-bottom: 20px;
    padding: 12px 14px;
    background: #fdecea;
    color: #b42318;
    border-radius: 8px;
    font-size: 14px;
}

.crabit-page-login__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.crabit-page-login__field {
    width: 100%;
}

.crabit-page-login__input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.crabit-page-login__input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.crabit-page-login__button {
    margin-top: 10px;
    height: 48px;
    background: rgba(241,108,41);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.05s;
}

.crabit-page-login__button:hover {
    background: rgba(206,92,35);
}

.crabit-page-login__button:active {
    transform: translateY(1px);
}

.crabit-page-login__footer {
    margin-top: 22px;
    text-align: center;
}

.crabit-page-login__link {
    font-size: 14px;
    color: rgba(241,108,41);
    text-decoration: none;
}

.crabit-page-login__link:hover {
    text-decoration: underline;
}


/* Block: crabit-cabinet-profile */
.crabit-cabinet-profile {
	padding: 50px 0 100px 0;
}
.crabit-cabinet-profile__block {
	background-color: #fff;
	border-radius: 15px;
	padding: 35px;
}
.crabit-cabinet-profile__avatar img {
	width: 50%;
	height: 50%;
}
.crabit-cabinet-profile__avatar {
	width: 60px;
	height: 60px;
	border-radius: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #eee;
	overflow: hidden;
}
.crabit-cabinet-profile__phone {
	font-weight: bold;
	font-size: 16px;
}
.crabit-cabinet-profile__content {
	min-height: 600px;
}
.crabit-cabinet-profile__navigation {
	margin-top: 40px;
}
.crabit-cabinet-profile__navigation ul li.current-menu-item a {
	color: #EC6726;
	font-weight: bold;
}
.crabit-cabinet-profile__navigation ul li a:hover {
	color: #EC6726;
}

.crabit-cabinet-profile__navigation ul li.crabit-icon-favorites.current-menu-item a:before,
.crabit-cabinet-profile__navigation ul li.crabit-icon-favorites a:hover:before {
	background-image: url(/wp-content/themes/ekay/assets/img/icon-favorites-active.svg);
}
.crabit-cabinet-profile__navigation ul li.crabit-icon-favorites a:before {
	background-image: url(/wp-content/themes/ekay/assets/img/icon-favorites.svg);
}

.crabit-cabinet-profile__navigation ul li.crabit-icon-leads.current-menu-item a:before,
.crabit-cabinet-profile__navigation ul li.crabit-icon-leads a:hover:before {
	background-image: url(/wp-content/themes/ekay/assets/img/icon-check-active.svg);
}
.crabit-cabinet-profile__navigation ul li.crabit-icon-leads a:before {
	background-image: url(/wp-content/themes/ekay/assets/img/icon-check.svg);
}

.crabit-cabinet-profile__navigation ul li.crabit-icon-profile-edit.current-menu-item a:before,
.crabit-cabinet-profile__navigation ul li.crabit-icon-profile-edit a:hover:before {
	background-image: url(/wp-content/themes/ekay/assets/img/icon-profile-edit-active.svg);
}
.crabit-cabinet-profile__navigation ul li.crabit-icon-profile-edit a:before {
	background-image: url(/wp-content/themes/ekay/assets/img/icon-profile-edit.svg);
}


.crabit-cabinet-profile__navigation ul li a:before {
	position: absolute;
	content: "";
    background-position: center left;
    background-repeat: no-repeat;
    background-size: contain;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 19px;
    width: 19px;
}
.crabit-cabinet-profile__navigation ul li a {
	position: relative;
	text-decoration: none;
	color: rgba(2,11,10, .8);
	font-weight: 500;
	font-size: 16px;
	padding: 15px 0;
	padding-left: 45px;
	display: block;
}
.crabit-cabinet-profile__navigation ul li {
	padding-left: 0;
}
.crabit-cabinet-profile__navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (max-width: 800px) {
	.crabit-cabinet-profile__block {
	    background-color: transparent;
	    border-radius: 0;
	    padding: 0;
	}
	.crabit-cabinet-profile__name {
		background-color: #fff;
		border-radius: 10px;
		padding: 20px 30px;
	}
	.crabit-cabinet-profile__navigation ul li {
	    padding-left: 0;
	    border: 1px solid #343A39;
	    margin-bottom: 15px;
	    border-radius: 20px;
	    justify-content: center;
	    display: flex;
	    padding: 8px 20px;
	}
	.crabit-cabinet-profile__navigation > ul {
		display: none;
	}
	.crabit-cabinet-profile__block {
		margin-bottom: 40px;
	}
	.crabit-cabinet-profile__navigation ul li.current-menu-item {
		border-color: #EC6726;
	}

}

/* Block: crabit-cabinet-profile-edit */
.crabit-cabinet-profile-edit__icon img {
	width: 22px;
}
.crabit-cabinet-profile-edit__icon {
	width: 60px;
	height: 60px;
	border-radius: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #F8F8F8;
}
.crabit-cabinet-profile-edit__title {
	font-weight: bold;
	font-size: 20px;
}
.crabit-cabinet-profile-edit__name {
	margin-bottom: 30px;
}
.crabit-cabinet-profile-edit__item-input select,
.crabit-cabinet-profile-edit__item-input input {
    height: 56px!important;
    border: 1px solid #E6E6E6;
    background-color: #F8F8F8;
    border-radius: 7px;
    color: rgba(2,11,10, 0.70);
    padding-left: 20px;
    padding-right: 20px;
    font-size: 12px;
}

.crabit-cabinet-profile-edit__item-edit {
    border: 1px solid #E6E6E6;
    background-color: #F8F8F8;
    border-radius: 7px;
    color: rgba(2,11,10, 0.70);
    padding: 20px;
    font-size: 12px;
    min-height: 130px;
    position: relative;
}
.crabit-cabinet-profile-edit__item-edit-btn .btn-sm {
    height: 35px;
    width: 120px;
}
.crabit-cabinet-profile-edit__item-edit-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
}


.crabit-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
    z-index: 9999;
}

.crabit-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.crabit-modal {
    background: #fff;
    width: 100%;
    max-width: 420px;
    border-radius: 16px 16px 0 0;
    padding: 24px;
    transform: translateY(100%);
    transition: transform .4s cubic-bezier(.2,.8,.2,1);
}

.crabit-modal-overlay.active .crabit-modal {
    transform: translateY(0);
}

.crabit-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.crabit-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

@media (min-width: 768px) {
    .crabit-modal {
        border-radius: 16px;
        align-self: center;
    }
}


.crabit-success-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
    z-index: 99999;
}

.crabit-success-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.crabit-success-modal {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    max-width: 360px;
    text-align: center;
    transform: scale(0.8);
    transition: transform .3s ease;
}

.crabit-success-modal-overlay.active .crabit-success-modal {
    transform: scale(1);
}

.crabit-success-icon {
    margin-bottom: 16px;
}

.crabit-success-text {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.crabit-success-close {
    background: #4CAF50;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}


/* Block: crabit-cabinet-register */
.crabit-page-register {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f7f9;
    padding: 100px 20px;
}

.crabit-page-register__container {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 14px;
    padding: 32px 28px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.crabit-page-register__title {
    margin: 0 0 24px;
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    color: #1f2937;
}

.crabit-page-register__error {
    margin-bottom: 20px;
    padding: 12px 14px;
    background: #fdecea;
    color: #b42318;
    border-radius: 8px;
    font-size: 14px;
}

.crabit-page-register__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.crabit-page-register__field {
    width: 100%;
}

.crabit-page-register__input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.crabit-page-register__input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.crabit-page-register__button {
    margin-top: 10px;
    height: 48px;
    background: rgba(241,108,41);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.05s;
}

.crabit-page-register__button:hover {
    background: rgba(206,92,35);
}

.crabit-page-register__button:active {
    transform: translateY(1px);
}

.crabit-page-register__footer {
    margin-top: 22px;
    text-align: center;
}

.crabit-page-register__link {
    font-size: 14px;
    color: rgba(241,108,41);
    text-decoration: none;
}

.crabit-page-register__link:hover {
    text-decoration: underline;
}


/* Block: crabit-shop-catalog */
.crabit-shop-catalog {
    padding: 0px 0 50px 0;
}


.crabit-shop-catalog__search {
    margin-bottom: 30px;
}
.crabit-shop-catalog__search input::placeholder {
    color: #020B0A;
}
.crabit-shop-catalog__search input {
    border: 1px solid rgba(241,118,57, 1);
    height: 65px;
    border-radius: 20px;
    font-size: 18px;
    background-color: transparent;
    width: 100%;
    padding: 10px 30px;
}
.crabit-shop-catalog__filter-item {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0 0 0 / .25);
    padding-bottom: 10px;
}
.crabit-shop-catalog__filter-item-value:hover {
    color: #EC6726;
}
.crabit-shop-catalog__filter-item-value.active {
    color: #EC6726;
    font-weight: bold;
}
.crabit-shop-catalog__filter-item-value {
    padding: 7px 0;
    color: rgba(40,40,40, .8);
    min-width: 200px;
    cursor: pointer;
}
.crabit-shop-catalog__filter-item-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}
.crabit-shop-catalog__filter-title {
    font-size: 20px;
    font-weight: 600;
}
.crabit-shop-catalog__header {
    margin-bottom: 30px;
}
.crabit-shop-catalog__sort-title {
    background-image: url(../../themes/ekay/assets/img/arrow-down.svg);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: 12px;
    padding-right: 25px;
    font-size: 16px;
    font-weight: 300;
}
.crabit-shop-catalog__item-img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    height: 280px;
    margin-bottom: 22px;
}
.crabit-shop-catalog__item .crabit-shop-catalog__item-img img {
    transition: all 1.9s;
    -webkit-transition: all 1.9s;
    transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
}
.crabit-shop-catalog__item:hover .crabit-shop-catalog__item-img img {
    transform: scale(1.2, 1.2);
    -webkit-transform: scale(1.2, 1.2);
}
.crabit-shop-catalog__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crabit-shop-catalog__item-title:hover {
    color: #EC6726;
}
.crabit-shop-catalog__item-title {
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #020B0A;
}
.crabit-shop-catalog__item-attributes {
    margin-top: 15px;
}
.crabit-shop-catalog__item-attr {
    display: flex;
    gap: 10px;
    color: #020B0A;
    font-size: 16px;
}
.crabit-shop-catalog__item-attr-label {
    font-weight: bold;
}
.crabit-shop-catalog__item-price-label {
    color: rgba(2,11,10, .6);
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 0;
    font-weight: bold;
}
.crabit-shop-catalog__item-price {
    color: #020B0A;
    font-size: 30px;
}
.crabit-shop-catalog__item-btn {
    margin-top: 20px;
}
.crabit-shop-catalog__item {
    margin-bottom: 60px;
}
.crabit-shop-catalog__message-title {
    font-weight: bold;
    margin-bottom: 15px;
}
.crabit-shop-catalog__message-text {
    margin-bottom: 15px;
    color: rgba(40,40,40, .7);
}
.crabit-shop-catalog__message-btn  {
    max-width: 150px;
}



.crabit-shop-catalog__sort {
    position: relative;
    cursor: pointer;
}

.crabit-shop-catalog__sort-list {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ccc;
    list-style: none;
    margin: 0;
    padding: 0;
    width: max-content;
    z-index: 10;
    border-radius: 15px;
    margin-top: 10px;
}

.crabit-shop-catalog__sort-list li {
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 15px;
}

.crabit-shop-catalog__sort-list li:hover {
    background: #f0f0f0;
}

.crabit-shop-catalog__filter-container .btn-close {
    display: none;
}


@media (max-width: 800px) {
    .crabit-shop-catalog__item-img {
        height: 112px;
        margin-bottom: 12px;
    }
    .crabit-shop-catalog__item-title {
        font-size: 18px;
    }
    .crabit-shop-catalog__item-attr {
        font-size: 10px;
    }
    .crabit-shop-catalog__item-attributes {
        margin-top: 10px;
    }
    .crabit-shop-catalog__item-price-label {
        margin-top: 10px;
        font-size: 10px;
    }
    .crabit-shop-catalog__item-price {
        color: #020B0A;
        font-size: 16px;
    }
    .crabit-shop-catalog__item-btn {
        margin-top: 10px;
    }
    .crabit-shop-catalog__item .btn-item {
        height: 40px;
        font-size: 10px;
    }
    .crabit-shop-catalog {
        padding: 30px 0 0 0;
    }

    .crabit-shop-catalog__filter-container {
        position: fixed;
        inset: 0;
        z-index: 999999;

        background-color: #fff;
        padding: 20px;
        padding-top: 70px;

        /* состояние "спрятано справа" */
        transform: translateX(100%);
        transition: transform 0.35s ease;
    }

    /* активное состояние */
    .crabit-shop-catalog__filter-container.active {
        transform: translateX(0);
    }

    .crabit-shop-catalog__filter-title {
        cursor: pointer;
    }
    .crabit-shop-catalog__filter-container .btn-close {
        display: block;
        position: absolute;
        right: 20px;
        top: 25px;
    }

}

/* Block: crabit-shop-product */
.crabit-shop-product {
    padding: 60px 0 60px 0;
    background-color: rgba(244,243,241, 1);
}

.crabit-shop-product__title {
    color: #EC6726;
    font-size: 35px;
    font-weight: bold;
}
.crabit-shop-product__item-value {
    font-weight: 600;
}
.crabit-shop-product__item {
    margin-bottom: 10px;
}
.crabit-shop-product__items {
    margin-top: 30px;
}
.crabit-shop-product__item-price-old-value span {
    border-bottom: 1px solid #020B0A;
    line-height: 1;
}
.crabit-shop-product__price-old {
    margin: 30px 0 20px 0;
}
.crabit-shop-product__item-price-new-value {
    font-size: 30px;
    font-weight: 600;
    color: #EC6726;
    line-height: 1;
}
.crabit-shop-product__btn {
    max-width: 320px;
    margin-top: 40px;
}


/* Блок изображений */
.crabit-shop-product__images {
    width: 100%;
    padding-right: 30px;
}

/* Основное изображение */
.crabit-shop-product__image {
    width: 100%;
    height: auto; /* Высота определяется контентом */
}

.crabit-shop-product__image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Слайдер миниатюр */
.crabit-shop-product__thumbs {
    margin-top: 15px;
    padding: 0 0; /* Небольшой отступ для Swiper */
}

/* Элемент миниатюры */
.crabit-shop-product__thumb-item {
    width: calc((100% - 30px) / 3); /* 3 элемента с отступами */
    height: 110px; /* Задаем фиксированную высоту для миниатюры */
    background-color: #e0e0e0; /* Серый цвет для placeholder-а */
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden;
    transition: opacity 0.3s, border 0.3s;
}

.crabit-shop-product__thumb-item img {
    opacity: 0.6;
}
.crabit-shop-product__thumb-item img.active {
    opacity: 1!important;
}

.crabit-shop-product__thumb-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crabit-shop-product__thumb-item.swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #007bff; /* Активная миниатюра */
}


.js-main-image {
    transition: opacity 0.2s ease;
    opacity: 1;
}

.js-main-image.fade-out {
    opacity: 0;
}

.active-thumb {
    outline: 2px solid #007aff;
    border-radius: 4px;
}


.crabit-shop-product__preims {
    padding: 100px 0 30px 0;
}
.crabit-shop-product__preim {
    text-align: center;
}
.crabit-shop-product__preim-text {
    font-size: 16px;
}
.crabit-shop-product__preim-line {
    width: 50%;
    margin: 15px auto;
    border-top: 1px solid rgba(0 0 0 / .25);
}
.crabit-shop-product__preim-num {
    font-size: 56px;
    font-weight: bold;
    line-height: 1;
}


@media (max-width: 800px) {
    .crabit-shop-product__images {
        padding-right: 0;
    }
    .crabit-shop-product__images {
        margin-bottom: 50px;
    }
    .crabit-shop-product__thumb-item {
        height: 80px;
    }
    .crabit-shop-product__items {
        font-size: 13px;
    }
    .crabit-shop-product__prices {
        font-size: 15px;
    }
    .crabit-shop-product__btn {
        max-width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
    .crabit-shop-product__preim {
        margin-bottom: 40px;
    }
    .crabit-shop-product__preim-text {
        font-size: 14px;
    }
    .crabit-shop-product__preim-text br {
        display: none;
    }
}

/* Block: faq */

/* Стили для секции */
.custom-faq-block {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* Стили для элемента FAQ (accordion-item) */
.faq-section__item {
    margin-bottom: 25px; /* Расстояние между блоками */
    background-color: #fff;
    border-radius: 25px!important;
    box-shadow: 0 35px 50px 0 rgba(0 0 0 / .1);
    border: none!important;
    font-size: 18px!important;
}

/* Стили для заголовка FAQ (accordion-header) */
.faq-section__header {
    border: none!important;
    box-shadow: 0 35px 50px 0 rgba(0 0 0 / .1);
    border-radius: 25px!important;
    padding: 20px 65px;
    font-size: 18px!important;
}

/* Стили для кнопки FAQ (accordion-button) - основной элемент, который стилизуем */
.faq-section__button {
    font-size: 18px!important;
    font-weight: 500;
    color: #000; /* Цвет текста */
    background-color: transparent; /* Прозрачный фон */
    padding: 16px 0; /* Внутренние отступы, как на макете */
    border-radius: 25px!important;
    transition: background-color 0.3s ease;
    width: 100%;
    text-align: left;
    border: none!important;
    box-shadow: none !important;
    position: relative;
}

/* Стили для кнопки в активном состоянии (открыто) */
body .faq-section__button:not(.collapsed) {
    background-color: #fff; /* Фон остается белым */
    color: #000;
}

/* Иконка (плюс/минус) - стилизуем, чтобы соответствовать макету */
.faq-section__button::after {
    background-image: none;
    content: '+';
    font-size: 40px;
    line-height: 22px;
    color: #ff6600;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
    margin-right: 0;
    flex-shrink: 0;
    display: flex;
    align-items: self-end;
}
body .accordion-button:not(.collapsed)::after {
    background-image: none;
}

/* Иконка в открытом состоянии */
body .faq-section__button:not(.collapsed)::after {
    content: ''; /* Заменяем на символ минус */
    color: #ff6600; /* Оранжевый цвет */
    transform: rotate(0deg); /* Минус не нужно вращать */
    position: absolute;
    width: 15px;
    height: 5px;
    right: 0;
    background-color: #FF6600;
}

/* Стили для содержимого FAQ (accordion-body) */
.faq-section__body {
    padding: 30px 65px;
    font-size: 18px;
    line-height: 1.5;
    color: #333; /* Более темный цвет текста */
}

/* Стилизация текста жирным */
.faq-section__button strong {
    font-weight: 700;
}


@media (max-width: 800px) {
    .faq-section__header {
        box-shadow: 0 35px 50px 0 rgba(0 0 0 / .1);
        border-radius: 25px !important;
        padding: 20px 25px;
    }
    .faq-section__button span {
        font-size: 14px;
    }
    .faq-section__body {
        font-size: 13px;
        padding: 20px 25px;
    }
    .faq-section__button::after {
        font-size: 35px;
    }
}

/* Block: home */
/* hero-auto-purchase-styles.css */

/* Переменные для удобства (если бы это был полноценный проект) */
/* :root {
    --hap-primary-color: #f77f3e;
    --hap-dark-color: #212121;
} */

.hero-auto-purchase {
    position: relative;
    /* Условный фоновый градиент/изображение, как на исходниках */
    background-color: #e5e5e5; /* Светлый серый для фона */
    background-size: cover;
    background-position: center top;
    color: #fff;
    overflow: hidden; /* Важно для фоновых элементов, чтобы они не выходили за границы */
    padding-top: 0px; /* Отступ сверху для контента */
    padding-bottom: 0; /* Контейнер будет занимать всю доступную высоту/размер */
}

/* Настройки для десктопа/больших экранов (по первому изображению) */
@media (min-width: 992px) {
    .hero-auto-purchase {
        min-height: 700px; /* Условная высота для десктопного баннера */
        display: flex;
        align-items: flex-end;
        justify-content: center;
        text-align: center;
    }

    .hero-auto-purchase__container {
        /* Контейнер должен быть центрирован и ограничен по ширине */
        position: relative;
        z-index: 2;
        max-width: 1400px; /* Условная ширина для широкого контента */
    }
}


.hero-auto-purchase__title {
    font-family: 'Steelfish';
}
.hero-auto-purchase__content {
    /* Контейнер для текста и машины */
    position: relative;
    z-index: 10; /* Над машиной */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 0;
}

.hero-auto-purchase__subtitle {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.2em; /* Расширенный интервал, как на макете */
    margin-bottom: 10px;
    color: #444; /* Темно-серый, почти черный, как на фоне */
    opacity: 0.7; /* Уменьшаем видимость, чтобы создать эффект "почти белого, но не белого" */
}

@media (max-width: 991px) {
    .hero-auto-purchase__subtitle {
        font-size: 10px;
        margin-bottom: 5px;
    }
}

.hero-auto-purchase__title {
    font-size: 157px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0;
    color: #212121; /* Основной цвет текста */

    /* Создаем эффект градиента/тени, как на первом макете */
    text-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.1), 
        0 0 10px rgba(0, 0, 0, 0.05);

    background: linear-gradient(to bottom, #020B0A, #646A69); /* градиент цвета */
    -webkit-background-clip: text; /* обрезка градиента по тексту */
    -webkit-text-fill-color: transparent; /* делаем текст прозрачным, чтобы был виден градиент */

    /* Используем градиент для цвета, если необходимо (более продвинутый эффект, но здесь просто серый) */
    /* Предположим, что это шрифт с эффектом, я использую обычный цвет */
}

@media (max-width: 1200px) {
    .hero-auto-purchase__title {
        font-size: 60px;
    }
}

@media (max-width: 991px) {
    .hero-auto-purchase__title {
        font-size: 55px;
    }
}


@media (max-width: 340px) {
    .hero-auto-purchase__title {
        font-size: 45px;
    }
}
@media (max-width: 300px) {
    .hero-auto-purchase__title {
        font-size: 40px;
    }
}

.hero-auto-purchase__car-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px; /* Условный максимальный размер машины */
    margin: 0 auto;
    /* Сдвиг вверх, чтобы машина "выезжала" из-под текста */
    margin-top: -120px; 
}

@media (max-width: 991px) {
    .hero-auto-purchase__car-image-wrapper {
        margin-top: -20px;
    }
}


.hero-auto-purchase__car-image {
    display: block;
    width: 70%;
    height: auto;
    /* Убираем нижнюю часть, чтобы создать эффект "ухода в фон" */
    /* На втором изображении машина обрезана снизу по радиусу, 
       на первом - уходит в градиент. Я оставляю её полной и фокусируюсь на градиенте фона */
    /* Создаем градиент снизу, который сливает машину с фоном, 
       но поскольку изображение машины черное и фон светлый, 
       я просто обрезаю его по контейнеру, а фон самого блока сделает работу. */
    /* max-height: 70vh;  */
    object-fit: contain;
    margin: auto auto 0 auto;
}

.hero-auto-purchase__action-area {
    position: absolute;
    bottom: 15%; /* Расположение кнопки относительно низа машины */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 450px; /* Примерная ширина кнопки на большом макете */
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 991px) {
    .hero-auto-purchase__action-area {
        bottom: 5%; /* Чуть ниже для мобильного */
        max-width: 300px;
    }
}


.hero-auto-purchase__button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 18px 30px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    border-radius: 8px; /* Уголки кнопки */
    box-shadow: 0 10px 30px rgba(247, 127, 62, 0.4); /* Тень от оранжевой кнопки */
    
    /* Градиент оранжевого цвета, как на макете */
    background: linear-gradient(90deg, #F77F3E 0%, #FF9944 100%);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    z-index: 20;
}

@media (max-width: 991px) {
    .hero-auto-purchase__button {
        padding: 14px 20px;
        font-size: 14px;
    }
}

.hero-auto-purchase__button:hover {
    filter: brightness(1.1);
    box-shadow: 0 15px 40px rgba(247, 127, 62, 0.6);
    text-decoration: none; /* Убираем подчеркивание при наведении */
    color: #fff;
}

/* Элемент для создания градиентной "подсветки" под кнопкой, видимой на большом изображении */
.hero-auto-purchase__button-shadow {
    position: absolute;
    bottom: -20px; /* Расположение под кнопкой */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 40px;
    background: radial-gradient(ellipse at center, rgba(255,153,68,0.5) 0%, rgba(255,153,68,0) 70%);
    filter: blur(10px);
    z-index: 15; /* Под кнопкой, но над другими элементами */
    opacity: 0.8;
}

/* Скрываем дополнительный элемент тени на мобильных, где его нет так явно */
@media (max-width: 991px) {
    .hero-auto-purchase__button-shadow {
        display: none;
    }
}


/* Настройки для мобильных/планшетов (по второму изображению) */
@media (max-width: 991px) {
    .hero-auto-purchase {
        min-height: 500px; /* Условная высота для мобильного баннера */
        padding-top: 30px;
        padding-bottom: 0;
        text-align: center;
    }
}

@media (max-width: 800px) {
    .hero-auto-purchase {
        min-height: 420px; /* Условная высота для мобильного баннера */
        padding-top: 50px;
        text-align: center;
    }

    .hero-auto-purchase__car-image-wrapper {
        position: absolute;
        bottom: 0;
    }
    .hero-auto-purchase__action-area {
        margin-bottom: 20px;
    }

    .hero-auto-purchase__car-image {
        width: 100%;
    }
    .hero-auto-purchase__subtitle {
        margin-bottom: 10px;
    }
}

/* Block: hot */
.hot-section {
    position: relative;
    background-color: #F4F3F1;
    background-position: top center;
    background-size: 100%;
    background-repeat: no-repeat;
    padding: 80px 0;
}
.hot-section__item-img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    height: 280px;
    margin-bottom: 22px;
}
.hot-section__item .hot-section__item-img img {
    transition: all 1.9s;
    -webkit-transition: all 1.9s;
    transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
}
.hot-section__item:hover .hot-section__item-img img {
    transform: scale(1.2, 1.2);
    -webkit-transform: scale(1.2, 1.2);
}
.hot-section__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-section__item-title:hover {
    color: #EC6726;
}
.hot-section__item-title {
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #020B0A;
}
.hot-section__item-attributes {
    margin-top: 15px;
}
.hot-section__item-attr {
    display: flex;
    gap: 10px;
    color: #020B0A;
    font-size: 16px;
}
.hot-section__item-attr-label {
    font-weight: bold;
}
.hot-section__item-price-label {
    color: rgba(2,11,10, .6);
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 0;
    font-weight: bold;
}
.hot-section__item-price {
    color: #020B0A;
    font-size: 30px;
}
.hot-section__item-btn {
    margin-top: 20px;
}
.hot-section__item {
    margin-bottom: 60px;
}

@media (max-width: 800px) {
    .hot-section__item-img {
        height: 112px;
        margin-bottom: 12px;
    }
    .hot-section__item-title {
        font-size: 18px;
    }
    .hot-section__item-attr {
        font-size: 10px;
    }
    .hot-section__item-attributes {
        margin-top: 10px;
    }
    .hot-section__item-price-label {
        margin-top: 10px;
        font-size: 10px;
    }
    .hot-section__item-price {
        color: #020B0A;
        font-size: 16px;
    }
    .hot-section__item-btn {
        margin-top: 10px;
    }
    .hot-section__item .btn-item {
        height: 40px;
        font-size: 10px;
    }
    .hot-section {
        padding: 50px 0 0 0;
    }
}

/* Block: image */
.section-image__image img {
    border-radius: 35px;
    max-width: 100%;
}
.section-image__image {
    margin-bottom: 20px;
}

@media (max-width: 800px) {
    .section-image__image img {
        border-radius: 15px;
    }
    .section-image__image {
        margin-bottom: 15px;
    }
}

/* Block: map */
.car-sources-block {
    padding: 60px 0;
    /* Устанавливаем фон, чтобы имитировать полупрозрачную текстуру, видимую на изображении */
    background: #f7f7f7 url(../assets/img/bg-pattern-light.png) repeat; 
    position: relative;
    overflow: hidden;
}



.car-sources-block__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}



/* --- Карта --- */
.car-sources-block__map-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px; 
    /* margin-top: 20px; - Убираем, чтобы карта была ближе к флагам */
    padding-bottom: 25%; 
}

.car-sources-block__map-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    bottom: 0;
    left: 0;
}

/* Точки на карте */
.car-sources-block__map-point {
    position: absolute;
    width: 21px;
    height: 21px;
    border: 4px solid #000; 
    border-radius: 50%;
    transform: translate(-50%, -50%); 
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    z-index: 10;
    
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* --- Адаптивность --- */

@media (max-width: 1200px) {
    .car-sources-block__flags-grid {
        max-width: 90%;
    }
    .car-sources-block__flag-item {
        width: 14%;
    }
}

/* На планшетах переходим к расположению 3х2 или 2х3, чтобы избежать сжатия */
@media (max-width: 992px) {
    .car-sources-block {
        padding: 40px 0;
    }
    .car-sources-block__title {
        margin-bottom: 40px;
        font-size: 32px;
    }
    
    /* Перестраиваем сетку на несколько рядов */
    .car-sources-block__flags-grid {
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 30px 10px;
        max-width: 600px; /* 3 элемента в ряд */
    }
    
    .car-sources-block__flag-item {
        width: 30%; /* 3 элемента в ряд */
        /* Убираем чередование и линии для простоты на мобильных */
        flex-direction: column;
    }


    .car-sources-block__flag-item::before {
        content: none;
    }

    .car-sources-block__flag-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }
    .car-sources-block__flag-text {
        height: auto;
    }
}

/* Мобильная адаптивность */
@media (max-width: 576px) {
    .car-sources-block {
        padding: 30px 0;
    }
    .car-sources-block__title {
        font-size: 24px;
    }
    .car-sources-block__flags-grid {
        gap: 20px 5px;
        max-width: 300px; /* 2 элемента в ряд */
    }
    .car-sources-block__flag-item {
        width: 30%; /* 2 элемента в ряд */
    }
}



/* --- Анимация пульсации в CSS --- */

/* Определяем ключевые кадры для пульсации: opacity и scale меняются */
@keyframes pulse-car-sources {
    0% {
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(0.8);
    }
    30% { /* Быстрый всплеск */
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.0);
    }
    100% { /* Медленное затухание обратно */
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

/* Применяем общие стили анимации ко всем точкам */
.car-sources-block__map-point {    
    /* Применяем анимацию */
    animation-name: pulse-car-sources;
    animation-duration: 3s; /* Полная длительность цикла анимации */
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite; /* Постоянное повторение */
    animation-fill-mode: both; /* Удерживать конечное состояние */
}

/* Задаем задержку для поочередной (волновой) пульсации */
.car-sources-block__map-point--1 { animation-delay: 0s; }
.car-sources-block__map-point--2 { animation-delay: 0.5s; } /* Задержка 0.5с */
.car-sources-block__map-point--3 { animation-delay: 1.0s; }
.car-sources-block__map-point--4 { animation-delay: 1.5s; }
.car-sources-block__map-point--5 { animation-delay: 2.0s; }
.car-sources-block__map-point--6 { animation-delay: 2.5s; }

/* Примечание: Общая длительность анимации (3с) должна быть больше, чем суммарная задержка
   последней точки (2.5с), чтобы обеспечить непрерывность волны. */


@media (max-width: 800px) {
    .car-sources-block__map-wrapper {
        position: relative;
        display: block;
        height: 150px;
        width: 200%;
        max-width: 1200px;
        padding-bottom: 25%;
    }
}

/* Block: news-catalog */
:root {
    --news-catalog-padding: 0 35px;
}
.news-catalog {
    padding: 40px 0 50px 0;
}
.news-catalog__card {
    border-radius: 20px;
    height: 100%;
    background-color: #fff;
}
.news-catalog__card-title,
.news-catalog__card-img {
    text-decoration: none;
    display: block;
}
.news-catalog__card-title:hover {
    text-decoration: underline;
    color: rgba(239,106,40, 1);
}
.news-catalog__card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: rgba(40,40,40, 1);
    margin-bottom: 30px;
    padding: var(--news-catalog-padding);
}
.news-catalog__card-btn {
    padding: var(--news-catalog-padding);
    margin-bottom: 30px;
    width: 100%;
}
.news-catalog__card-date {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.3;
    color: rgba(40,40,40, 0.7);
    margin-bottom: 10px;
    padding: var(--news-catalog-padding);
}

.news-catalog__card-img {
    width: 100%;
    height: 240px; /* можно любое фиксированное или адаптивное */
    overflow: hidden;
    display: block;
    border-radius: 20px;
    margin-bottom: 25px;
}

.news-catalog__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* вписать красиво */
    object-position: center;
    display: block;
}


@media (max-width: 800px) {
    .news-catalog__card-img {
        width: 100%;
        height: 120px;
        margin-bottom: 5px;
    }
    .news-catalog__card-date {
        font-size: 8px;
        padding: 0 10px;
    }
    .news-catalog__card-title {
        padding: 0 10px;
        font-size: 12px;
        margin-bottom: 10px;
    }
    .news-catalog__card-btn {
        padding: 0 10px;
        margin-bottom: 20px;
    }
    .news-catalog__card-btn .btn-item {
        height: 30px;
        font-size: 8px;
        border-radius: 10px;
    }
    .news-catalog__card {
        border-radius: 10px;
    }
}


/* Block: news-other */
.news-other {
    padding: 40px 0;
}
.news-other__title {
    font-size: 21px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #282828;
}


.news-other {
    padding: 40px 0 50px 0;
}
.news-other__card {
    border-radius: 20px;
    height: 100%;
    background-color: #fff;
}
.news-other__card-title,
.news-other__card-img {
    text-decoration: none;
    display: block;
}
.news-other__card-title:hover {
    text-decoration: underline;
    color: rgba(239,106,40, 1);
}
.news-other__card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: rgba(40,40,40, 1);
    margin-bottom: 30px;
    padding: var(--news-catalog-padding);
}
.news-other__card-btn {
    padding: var(--news-catalog-padding);
    margin-bottom: 30px;
    width: 100%;
}
.news-other__card-date {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.3;
    color: rgba(40,40,40, 0.7);
    margin-bottom: 10px;
    padding: var(--news-catalog-padding);
}

.news-other__card-img {
    width: 100%;
    height: 240px; /* можно любое фиксированное или адаптивное */
    overflow: hidden;
    display: block;
    border-radius: 20px;
    margin-bottom: 25px;
}

.news-other__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* вписать красиво */
    object-position: center;
    display: block;
}




@media (max-width: 800px) {
    .news-other__title {
        font-size: 14px;
    }
    .news-other__items .row > :nth-child(n+3) {
        display: none;
    }
    .news-other__card-img {
        width: 100%;
        height: 120px;
        margin-bottom: 5px;
    }
    .news-other__card-date {
        font-size: 8px;
        padding: 0 10px;
    }
    .news-other__card-title {
        padding: 0 10px;
        font-size: 12px;
        margin-bottom: 10px;
    }
    .news-other__card-btn {
        padding: 0 10px;
        margin-bottom: 20px;
    }
    .news-other__card-btn .btn-item {
        height: 30px;
        font-size: 8px;
        border-radius: 10px;
    }
    .news-other__card {
        border-radius: 10px;
    }
}

/* Block: reviews-section */
/* Переменные для удобства */
:root {
    --reviews-orange: #ff5e13;
    --reviews-dark: #000;
    --reviews-gray: #6c757d;
    --reviews-light-gray: #e0e0e0;
}
.reviews-block-perfect .container {
    position: relative;
}
/* Общие стили для блока */
.reviews-block-perfect {
    position: relative;
    padding: 100px 0 70px 0;
    overflow: hidden;
    background-color: #F4F3F1;
    border-radius: 0 0 50px 50px;
}

/* Фон с градиентом и формами */
.reviews-block-perfect__bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f7f7f7;
    background-repeat: no-repeat;
    background-position: top left;
    background-size: cover; /* Или contain, если фоновое изображение должно быть видно целиком */
    opacity: 1; /* Если нужно осветлить/затемнить фон */
    pointer-events: none;
}

/* Заголовок блока */
.reviews-block-perfect__title {
    font-size: 50px;
    font-weight: 900;
    color: var(--reviews-dark);
    margin-bottom: 80px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    /* Имитация шрифта из изображения */
    font-family: Arial, sans-serif;
}

.reviews-block-perfect__title-highlight {
    color: var(--reviews-orange);
}

/* Обёртка слайдера */
.reviews-block-perfect__slider-wrapper {
    position: relative;
    z-index: 3;
    padding: 0 50px; /* Отступы для навигационных кнопок */
}

/* Настройки Swiper */
.reviews-block-perfect__slider {
    padding: 20px 0; /* Отступ для тени */
}

/* Размер слайдов для 'auto' */
.reviews-block-perfect__slide {
    width: 300px; /* Базовый размер */
    transition: opacity 0.3s ease;
    opacity: 0.6;
}

.reviews-block-perfect__slide--side {
    opacity: 0.6; /* Боковые слайды немного бледнее */
}

.swiper-slide-active {
    width: 400px; /* Центральный слайд шире */
    opacity: 1;
}

/* Карточка отзыва */
.reviews-card-perfect {
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    height: 100%;
    transition: all 0.3s ease;
}

/* Центральная, выделенная карточка */
.reviews-card-perfect--center {
    background-color: #fff;
}

/* Аватар */
.reviews-card-perfect__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
    margin-right: 25px;
    overflow: hidden;
    background-color: var(--reviews-light-gray);
}

.reviews-card-perfect__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Имя */
.reviews-card-perfect__name {
    font-size: 18px;
    font-weight: 700;
    color: var(--reviews-dark);
    margin-bottom: 5px;
}

/* Текст отзыва */
.reviews-card-perfect__text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--reviews-gray);
    margin-bottom: 0;
    width: 80%;
}
.reviews-card-perfect__rating span {
    background-image: url(../../themes/ekay/assets/img/star-1.svg);
    background-position: center;
    background-size: contain;
    display: inline-block;
    margin-right: 1px;
    background-repeat: no-repeat;
    width: 9px;
    height: 9px;
}

.reviews-card-user__rating span {
    background-image: url(../../themes/ekay/assets/img/star-2.svg);
    background-position: center;
    background-size: contain;
    display: inline-block;
    margin-right: 1px;
    background-repeat: no-repeat;
    width: 9px;
    height: 9px;
}





/* Кнопки навигации Swiper */
.reviews-block-perfect__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #343a40;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.reviews-block-perfect__nav:hover {
    background-color: var(--reviews-orange);
}

.reviews-block-perfect__nav--prev {
    left: 0;
}

.reviews-block-perfect__nav--next {
    right: 0;
}


/* Футер блока */
.reviews-block-perfect__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    position: relative;
    z-index: 5;
}

.reviews-block-perfect__left-col,
.reviews-block-perfect__center-col,
.reviews-block-perfect__right-col {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-block-perfect__left-col {
    justify-content: flex-start;
}

.reviews-block-perfect__right-col {
    justify-content: flex-end;
}

/* Общий рейтинг */
.reviews-block-perfect__total-rating {
    border: 1px solid #0E2A2A;
    border-radius: 25px;
    padding: 15px 30px;
    text-align: left;
    height: 95px;
}

.reviews-block-perfect__total-rating-text {
    font-size: 19px;
    color: #0E2A2A;
    margin-right: 40px;
    font-weight: 500;
}

.reviews-block-perfect__total-rating-value {
    font-weight: 700;
    color: var(--reviews-dark);
}


/* Кнопка "ЧИТАТЬ ВСЕ ОТЗЫВЫ" */
.reviews-block-perfect__btn {
    height: 95px;
    min-width: 330px;
}

/* Группа "Оценка + Аватары" */
.reviews-block-perfect__rating-group {
    display: flex;
    align-items: center;
}

.reviews-block-perfect__rating-info {
    text-align: left;
    margin-right: 15px;
    margin-left: 40px;
}

.reviews-block-perfect__rating-label {
    font-size: 14px;
    color: var(--reviews-gray);
    margin-bottom: 5px;
    line-height: 1.2;
}

.reviews-block-perfect__rating-count {
    font-size: 16px;
    font-weight: 500;
    color: var(--reviews-dark);
    line-height: 1.2;
}

.reviews-block-perfect__rating-avatars {
    height: 75px;
    border-radius: 50%;
    /* Имитация групповых аватаров */
    z-index: 3;
    padding-right: 70px;
}

.reviews-block-perfect__rating-avatars .reviews-block-perfect__rating-img:nth-child(1) {
    z-index: 6;
}
.reviews-block-perfect__rating-avatars .reviews-block-perfect__rating-img:nth-child(2) {
    z-index: 5;
}
.reviews-block-perfect__rating-avatars .reviews-block-perfect__rating-img:nth-child(3) {
    z-index: 4;
}
.reviews-block-perfect__rating-avatars .reviews-block-perfect__rating-img:nth-child(4) {
    z-index: 3;
}
.reviews-block-perfect__rating-avatars .reviews-block-perfect__rating-img:nth-child(5) {
    z-index: 2;
}
.reviews-block-perfect__rating-avatars .reviews-block-perfect__rating-img:nth-child(6) {
    z-index: 1;
}
.reviews-block-perfect__rating-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-right: -20px;
}

/* Изображение лисы */
.reviews-block-perfect__fox-image {
    position: absolute;
    bottom: -90px;
    right: -20px; /* Сдвиг от края */
    width: 180px;
    height: auto;
    z-index: 5;
}

.reviews-block-perfect__fox-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .reviews-block-perfect__fox-image {
        width: 200px;
        right: 15px;
    }
}

@media (max-width: 991.98px) {
    .reviews-block-perfect {
        padding: 50px 0 80px;
    }
    
    .reviews-block-perfect__title {
        font-size: 38px;
        margin-bottom: 40px;
    }

    .reviews-block-perfect__slider-wrapper {
        padding: 0 15px;
    }

    /* На мобильных только один слайд, не центрированный */
    .reviews-block-perfect__slide {
        width: 100% !important;
        opacity: 1 !important;
    }

    .reviews-block-perfect__nav--prev {
        left: 0;
    }
    .reviews-block-perfect__nav--next {
        right: 0;
    }

    .reviews-block-perfect__footer {
        flex-direction: column;
        text-align: center;
    }

    .reviews-block-perfect__left-col,
    .reviews-block-perfect__center-col,
    .reviews-block-perfect__right-col {
        width: 100%;
        margin-bottom: 20px;
        justify-content: center;
    }
    


    .reviews-block-perfect__rating-group {
        justify-content: center;
        width: 100%;
    }

    .reviews-block-perfect__rating-info {
        text-align: right;
    }

}












/* client_video_styles.css */

/* Общая секция и контейнер */
.client-video-section {
    margin-top: 50px;
    padding: 50px 0 0 0;
    /* Условный фоновый цвет/изображение, как на макете */
    background-color: #f7f7f7; 
    overflow: hidden;
}


/* Заголовок и навигация */
.client-video-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 15px; /* Учитываем внутренние отступы, если контейнер их не имеет */
}

.client-video-section__title {
    font-size: 30px;
    font-weight: 900;
    color: #000; /* Цвет по изображению */
    margin: 0;
    text-transform: uppercase;
}

/* Карточки видео */
.client-video-card {
    cursor: pointer;
    background-color: #000; /* Черный фон для области видео */
    overflow: hidden;
    position: relative;
    padding-top: 56.25%; /* Отношение сторон 16:9 */
    transition: transform 0.3s ease;
}

.client-video-card:hover {
    transform: scale(1.03); /* Легкая анимация при наведении */
}

.client-video-card__preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.client-video-card {
    border-radius: 20px;
    overflow: hidden;
}
.client-video-slider.swiper {
    overflow: visible;
}
.client-video-card__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7; /* Затемнение превью */
}

/* Кнопка воспроизведения */
.client-video-card__play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.9); /* Белый или светло-серый круг */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: background-color 0.2s ease;
}

.client-video-card__play-button:hover {
    background-color: #fff;
}

.client-video-card__play-button svg {
    width: 28px;
    height: 28px;
    fill: #000; /* Цвет треугольника */
    transform: translateX(2px); /* Сдвиг треугольника для центровки */
}

/* Слайдер и его навигация */
.client-video-slider {
    padding: 0 15px; /* Условные отступы по краям, чтобы слайды не прилипали */
}

.client-video-slider__navigation {
    display: flex;
    gap: 10px;
}

.client-video-slider__arrow {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #333; /* Темный цвет, как на макете */
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease;
}

.client-video-slider__arrow:hover {
    background-color: #555;
}

.client-video-slider__arrow::before {
    /* Иконки стрелок, для примера: */
    content: '→'; 
    font-size: 16px;
    line-height: 1;
}

.client-video-slider-prev::before {
    content: '←';
}

/* Модальное окно (Lightbox) */
.client-video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

.client-video-modal.is-active {
    visibility: visible;
    opacity: 1;
}

.client-video-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.client-video-modal__content {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 1200px; /* Максимальная ширина видео */
    padding-top: 56.25%; /* Соотношение 16:9 */
}

.client-video-modal__iframe-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.client-video-modal__iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.client-video-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    z-index: 20;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.client-video-modal__close:hover {
    opacity: 1;
}

/* Адаптивность (Bootstrap breakpoints) */
/* Для планшетов и десктопов: 3 видео в ряд, если это не мобильный слайдер */
@media (min-width: 768px) {
    .client-video-slider.swiper {
        /* Swiper должен показывать 3 слайда */
    }
}

@media (max-width: 575.98px) {
    .client-video-section__title {
        font-size: 24px;
    }
    .client-video-section__header {
        margin-bottom: 20px;
    }
    .client-video-card__play-button {
        width: 50px;
        height: 50px;
    }
    .client-video-card__play-button svg {
        width: 20px;
        height: 20px;
    }
}
@media (max-width: 800px) {
    .reviews-block-perfect__bg-image {
        background-size: 150%;
    }
    .reviews-block-perfect .crabit-title span {
        display: block;
    }
    .reviews-block-perfect__nav--prev {
        bottom: -50px;
        top: auto;
        left: 35%;
    }
    .reviews-block-perfect__nav--next {
        bottom: -50px;
        top: auto;
        right: 35%;
    }
    .reviews-block-perfect__left-col, .reviews-block-perfect__center-col, .reviews-block-perfect__right-col {
        width: 100%;
        margin-left: auto!important;
        margin-right: auto!important;
    }
    .reviews-block-perfect__total-rating-text {
        font-size: 10px;
        line-height: 1;
    }
    .reviews-block-perfect__total-rating {
        border-radius: 15px;
        padding: 15px 20px;
        height: 61px;
    }
    .reviews-block-perfect__btn {
        height: 61px;
        min-width: 130px;
        width: 100%;
    }
    .reviews-block-perfect__left-col,
    .reviews-block-perfect__center-col {
        width: 80%;
    }
    .reviews-block-perfect__footer > div {
        width: 100%;
    }
    .reviews-block-perfect__footer {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .reviews-block-perfect__rating-info {
        text-align: left!important;
        margin-right: 15px;
        margin-left: 0;
    }
    .reviews-block-perfect__rating-label {
        font-size: 10px;
    }
    .reviews-block-perfect__rating-count {
        font-size: 15px;
    }

    .reviews-block-perfect__right-col {
        position: absolute;
        bottom: -20px;
        right: 0;
        left: auto;
        display: flex;
        width: auto;
    }
    .reviews-block-perfect__rating-avatars {
        height: 75px;
        border-radius: 50%;
        z-index: 3;
        padding-right: 0;
    }

    .reviews-block-perfect__total-rating {
        width: 100%;
    }

    .reviews-block-perfect__rating-group {
        justify-content: end;
        margin-right: 40px;
    }
    .reviews-block-perfect__rating-label br {
        display: none;
    }
    .reviews-block-perfect__center-col {
        margin-bottom: 60px;
    }
    .reviews-block-perfect__fox-image {
        width: 100px;
        right: 0px;
        bottom: -25px;
    }
    .reviews-block-perfect {
        position: relative;
        padding: 80px 0 0px 0;
        border-radius: 0;
    }
    .client-video-section__title {
        width: 100%;
        text-align: center;
    }
    .reviews-block-perfect .crabit-title {
        margin-bottom: 10px;
    }
    .reviews-card-perfect {
        padding: 20px;
    }

}

/* Block: text */
.text-section p {
    padding-bottom: 20px;
}
.text-section {
    padding: 20px 0 20px 0;
    width: 100%;
    font-size: 18px;
    line-height: 1.8;
}


/* Block: title */
.title-section {
    padding: 50px 0 30px 0;
    width: 100%;
}


/* Block: videos */
/* client_video_styles.css */

/* Общая секция и контейнер */
.client-video-section {
    padding: 60px 0;
    /* Условный фоновый цвет/изображение, как на макете */
    background-color: #f7f7f7; 
    overflow: hidden;
}

.client-video-section .container {
    padding-right: var(--bs-gutter-x, 0.75rem); /* Убираем отступы контейнера, если они мешают дизайну */
    padding-left: var(--bs-gutter-x, 0.75rem);
}

/* Заголовок и навигация */
.client-video-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 15px; /* Учитываем внутренние отступы, если контейнер их не имеет */
}

.client-video-section__title {
    font-size: 30px;
    font-weight: 900;
    color: #000; /* Цвет по изображению */
    margin: 0;
    text-transform: uppercase;
}

/* Карточки видео */
.client-video-card {
    cursor: pointer;
    background-color: #000; /* Черный фон для области видео */
    overflow: hidden;
    position: relative;
    padding-top: 56.25%; /* Отношение сторон 16:9 */
    transition: transform 0.3s ease;
}

.client-video-card:hover {
    transform: scale(1.03); /* Легкая анимация при наведении */
}

.client-video-card__preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.client-video-card {
    border-radius: 20px;
    overflow: hidden;
}
.client-video-slider.swiper {
    overflow: visible;
}
.client-video-card__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7; /* Затемнение превью */
}

/* Кнопка воспроизведения */
.client-video-card__play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.9); /* Белый или светло-серый круг */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: background-color 0.2s ease;
}

.client-video-card__play-button:hover {
    background-color: #fff;
}

.client-video-card__play-button svg {
    width: 28px;
    height: 28px;
    fill: #000; /* Цвет треугольника */
    transform: translateX(2px); /* Сдвиг треугольника для центровки */
}

/* Слайдер и его навигация */
.client-video-slider {
    padding: 0 15px; /* Условные отступы по краям, чтобы слайды не прилипали */
}

.client-video-slider__navigation {
    display: flex;
    gap: 10px;
}

.client-video-slider__arrow {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #333; /* Темный цвет, как на макете */
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease;
}

.client-video-slider__arrow:hover {
    background-color: #555;
}

.client-video-slider__arrow::before {
    /* Иконки стрелок, для примера: */
    content: '→'; 
    font-size: 16px;
    line-height: 1;
}

.client-video-slider-prev::before {
    content: '←';
}

/* Модальное окно (Lightbox) */
.client-video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

.client-video-modal.is-active {
    visibility: visible;
    opacity: 1;
}

.client-video-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.client-video-modal__content {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 1200px; /* Максимальная ширина видео */
    padding-top: 56.25%; /* Соотношение 16:9 */
}

.client-video-modal__iframe-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.client-video-modal__iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.client-video-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    z-index: 20;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.client-video-modal__close:hover {
    opacity: 1;
}

/* Адаптивность (Bootstrap breakpoints) */
/* Для планшетов и десктопов: 3 видео в ряд, если это не мобильный слайдер */
@media (min-width: 768px) {
    .client-video-slider.swiper {
        /* Swiper должен показывать 3 слайда */
    }
}

@media (max-width: 575.98px) {
    .client-video-section__title {
        font-size: 24px;
    }
    .client-video-section__header {
        margin-bottom: 20px;
    }
    .client-video-card__play-button {
        width: 50px;
        height: 50px;
    }
    .client-video-card__play-button svg {
        width: 20px;
        height: 20px;
    }
}

/* Block: what */
.what-section {
    position: relative;
    background-color: #000000;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 80px 0;
}
.what-section-fox img {
    width: 100%;
    max-width: 100%;
}
.what-section-fox {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    z-index: 2;
    margin: auto;
}
.what-section .container {
    z-index: 3;
    position: relative;
}
.what-section__item-icon img {
    height: 55px;
}
.what-section__item-title {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;

    /* Градиент */
    background: linear-gradient(to bottom, #ffffff, #D5DBDB);

    /* Вырезаем текст под градиент */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Для поддержки других браузеров */
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.what-section__item-text {
    color: #B3B6B6;
    font-size: 14px;
}
.what-section__item-icon {
    margin-bottom: 30px;
}

.what-section__item {
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    width: 250px;
}
.what-section__items .d-flex .what-section__item:nth-child(2) {
    padding-top: 150px;
}

@media (max-width: 800px) {
    .what-section {
        padding: 50px 0;
    }
    .what-section__items .d-flex .what-section__item:nth-child(2) {
        padding-top: 30px;
    }
    .what-section__item-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .what-section__item-icon {
        margin-bottom: 18px;
    }
    .what-section__item-text {
        font-size: 10px;
    }
    .what-section {
        padding: 50px 0;
        height: 1000px;
        overflow: hidden;
    }
    .what-section-fox {
        position: absolute;
        bottom: -70px;
        width: 80%;
    }
}

/* Block: world */
.world--block {
    padding: 60px 0;
    /* Устанавливаем фон, чтобы имитировать полупрозрачную текстуру, видимую на изображении */
    background: #f7f7f7 url(../assets/img/bg-pattern-light.png) repeat; 
    position: relative;
    overflow: hidden;
}



.world--block__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Сетка с флагами - ОДИН РЯД */
.world--block__flags-grid {
    display: flex;
    justify-content: space-between; /* Распределение элементов по ширине */
    flex-wrap: nowrap; /* Важно, чтобы флаги оставались в один ряд на десктопе */
    margin-bottom: 50px;
    max-width: 1000px; /* Ограничиваем ширину контейнера флагов */
    width: 100%;
}

.world--block__flag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 15%; /* Примерно 6 элементов в ряд */
    position: relative; /* Для позиционирования псевдоэлементов-линий */
}

/* Настройка чередования */

/* Элементы с четным индексом (2, 4, 6) */
.world--block__flags-grid .world--block__flag-item:nth-child(even) {
    /* Меняем порядок: текст сверху, иконка снизу */
    flex-direction: column-reverse;
}
.world--block__flags-grid .world--block__flag-item:nth-child(even) .world--block__flag-text {
    /* Меняем порядок: текст сверху, иконка снизу */
    align-items: flex-start;
}
.world--block__flags-grid .world--block__flag-item .world--block__flag-text {
    /* Меняем порядок: текст сверху, иконка снизу */
    align-items: flex-end;
    height: 50px;
}

.world--block__flag-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    /* Убираем старый margin-bottom, так как позиция меняется */
    margin: 0; 
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.world--block__flag-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.world--block__flag-icon--japan {
    border: 1px solid #ddd; 
}


.world--block__flag-text {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
    height: 80px; /* Фиксируем высоту для выравнивания */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Визуальная полоса, ведущая к флагу --- */

/* Псевдоэлемент для вертикальной линии */
.world--block__flag-item::before {
    content: '';
    position: absolute;
    width: 1px;
    background-color: #00221B; /* Цвет линии */
    left: 50%;
    transform: translateX(-50%);
    opacity: .6;
}

/* Элементы с нечетным индексом (1, 3, 5): Флаг сверху, Текст снизу */
.world--block__flags-grid .world--block__flag-item:nth-child(odd)::before {
    top: 80px; /* От иконки */
    bottom: 80px;
    height: 15%;
}

/* Элементы с четным индексом (2, 4, 6): Текст сверху, Флаг снизу */
.world--block__flags-grid .world--block__flag-item:nth-child(even)::before {
    bottom: 80px;
    height: 15%;
}


/* --- Карта --- */
.world--block__map-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px; 
    /* margin-top: 20px; - Убираем, чтобы карта была ближе к флагам */
    padding-bottom: 25%; 
}

.world--block__map-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    bottom: 0;
    left: 0;
}

/* Точки на карте */
.world--block__map-point {
    position: absolute;
    width: 21px;
    height: 21px;
    border: 4px solid #000; 
    border-radius: 50%;
    transform: translate(-50%, -50%); 
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    z-index: 10;
    
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* --- Адаптивность --- */

@media (max-width: 1200px) {
    .world--block__flags-grid {
        max-width: 90%;
    }
    .world--block__flag-item {
        width: 14%;
    }
}

/* На планшетах переходим к расположению 3х2 или 2х3, чтобы избежать сжатия */
@media (max-width: 992px) {
    .world--block {
        padding: 40px 0;
    }
    .world--block__title {
        margin-bottom: 40px;
        font-size: 32px;
    }
    
    /* Перестраиваем сетку на несколько рядов */
    .world--block__flags-grid {
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 30px 10px;
        max-width: 600px; /* 3 элемента в ряд */
    }
    


    .world--block__flag-item::before {
        content: none;
    }

    .world--block__flag-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }
    .world--block__flag-text {
        height: auto;
    }
}

/* Мобильная адаптивность */
@media (max-width: 700px) {
    .world--block__flag-item {
        margin-bottom: 30px;
    }
    .world--block__flags-grid .world--block__flag-item .world--block__flag-text {
        height: 35px;
    }
    .world--block__flag-icon {
        margin-bottom: 0;
    }
    .world--block__map-wrapper {
        width: 250%;
        max-width: unset;
        padding-bottom: 25%;
        height: 300px;
        transform: translateX(-27%);
    }

}
@media (max-width: 576px) {
    .world--block {
        padding: 30px 0;
    }
    .world--block__title {
        font-size: 24px;
    }
    .world--block__flags-grid {
        gap: 20px 5px;
        max-width: 300px; /* 2 элемента в ряд */
    }
    .world--block__flag-item {
        width: 30%; /* 2 элемента в ряд */
    }
}



/* --- Анимация пульсации в CSS --- */

/* Определяем ключевые кадры для пульсации: opacity и scale меняются */
@keyframes pulse-world- {
    0% {
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(0.8);
    }
    30% { /* Быстрый всплеск */
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.0);
    }
    100% { /* Медленное затухание обратно */
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

/* Применяем общие стили анимации ко всем точкам */
.world--block__map-point {    
    /* Применяем анимацию */
    animation-name: pulse-world-;
    animation-duration: 3s; /* Полная длительность цикла анимации */
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite; /* Постоянное повторение */
    animation-fill-mode: both; /* Удерживать конечное состояние */
}

/* Задаем задержку для поочередной (волновой) пульсации */
.world--block__map-point--1 { animation-delay: 0s; }
.world--block__map-point--2 { animation-delay: 0.5s; } /* Задержка 0.5с */
.world--block__map-point--3 { animation-delay: 1.0s; }
.world--block__map-point--4 { animation-delay: 1.5s; }
.world--block__map-point--5 { animation-delay: 2.0s; }
.world--block__map-point--6 { animation-delay: 2.5s; }

/* Примечание: Общая длительность анимации (3с) должна быть больше, чем суммарная задержка
   последней точки (2.5с), чтобы обеспечить непрерывность волны. */

