/* === Hero Slider (Eternitex) === */
.eternitex-slider-grid {
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    align-items: center;
    background: #EEE5E5;
    overflow: hidden;
    position: relative;
}

/* Центральный блок (сам слайдер) */
.eternitex-slider-wrapper {
    overflow: hidden;
}

.eternitex-slider {
    background: #EEE5E5;
    padding: 0px 0;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Внутренний контейнер */
.hero-slide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    gap: 80px;
    width: 100%;
    flex-wrap: nowrap;
}

/* Левая часть */
.hero-left {
    flex: 1;
    min-width: 0;
}

.hero-left h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 40px;
    line-height: 1.1;
    color: #1b1b1b;
    margin-bottom: 20px;
}

.hero-left .subtitle {
    font-size: 17px;
    color: #444;
    margin-bottom: 30px;
}

/* Кнопки */
.hero-buttons a {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.btn-outline {
    border: 1.6px solid #E3000F;
    color: #E3000F;
}
.btn-outline:hover {
    background: #E3000F;
    color: #fff;
}

.btn-red {
    background: #E3000F;
    color: #fff;
}
.btn-red:hover {
    opacity: 0.9;
}

/* Бренды */
.hero-brands {
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}
.hero-brands img {
    height: 15px;
    width: auto;
    opacity: 0.9;
    transition: transform 0.2s ease;
}

/* Отзывы */
.hero-reviews {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding-left: 10px;
}

.hero-reviews span b {
    color: #E3000F;
}

.hero-reviews .avatars img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: -10px;
    border: 2px solid #fff;
}

.hero-reviews span {
    font-size: 15px;
    color: #222;
}

/* Правая часть */
.hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.hero-right img {
    width: 100%;
    max-width: 640px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: auto;
    object-fit: cover;
}

/* === Стрелки === */
.eternitex-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}
.eternitex-nav .swiper-button-prev,
.eternitex-nav .swiper-button-next {
    position: relative;
    color: #000;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}
.eternitex-nav .swiper-button-prev::after,
.eternitex-nav .swiper-button-next::after {
    font-size: 22px;
}
.eternitex-nav .swiper-button-prev:hover,
.eternitex-nav .swiper-button-next:hover {
    color: #E3000F;
    transform: scale(1.1);
}

/* === Адаптив === */
@media (max-width: 1200px) {
    .hero-slide {
        gap: 50px;
    }
    .hero-left h1 {
        font-size: 46px;
    }
    .hero-right img {
        max-width: 520px;
    }
}

@media (max-width: 1024px) {
    .eternitex-slider-grid {
        grid-template-columns: 1fr;
    }
    .hero-slide {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-right img {
        width: 90%;
        max-width: 500px;
    }
    .hero-left {
        max-width: 100%;
    }
    .eternitex-nav {
        display: none;
    }
}

/* === Пагинация === */
.eternitex-slider {
    position: relative;
}

.swiper-pagination {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: auto !important;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #E3000F !important;
    transform: scale(1.2);
}

/* Внешняя */
.eternitex-pagination {
    margin-top: 30px;
    padding-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px;
}

.eternitex-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #232323;
    border-radius: 50%;
    transition: 0.3s;
    opacity: 1;
}
.eternitex-pagination .swiper-pagination-bullet-active {
    background: #E3000F !important;
    transform: scale(1.2);
}

/* Слайд 2 */
.slide-2 .hero-right img {
    border-radius: 28px !important;
}



/* === MOBILE FIXES === */
@media (max-width: 768px) {

    .hero-right {
        order: -1;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-right img {
        max-width: 90%;
        border-radius: 20px;
    }

    .hero-left h1 {
        font-size: 28px !important;
        line-height: 1.2 !important;
        text-align: center;
    }

    .hero-left .subtitle {
        text-align: center;
        font-size: 15px;
    }

    .hero-buttons {
        text-align: center;
    }

    .hero-buttons a {
        margin: 5px;
    }

    .hero-brands img {
        height: 12px !important;
    }

    .hero-brands {
        justify-content: center;
        gap: 10px;
    }

    .hero-reviews {
        justify-content: center;
        text-align: center;
    }
}

/* Дублирующиеся mobile fixes (оставил как есть, твой оригинал) */
@media (max-width: 768px) {

    .hero-reviews {
        display: flex;
        align-items: center;
        justify-content: flex-start !important;
        gap: 12px !important;
        padding-left: 0 !important;
        margin-top: 20px;
        text-align: left !important;
    }

    .hero-reviews .avatars {
        display: flex;
        gap: 6px;
    }

    .hero-reviews .avatars img {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        margin-left: 0 !important;
    }

    .hero-reviews span {
        font-size: 14px;
        line-height: 1.2;
        text-align: left !important;
        display: block;
        max-width: 180px;
    }
}

/* Ещё один mobile fixes — не трогаю */
@media (max-width: 768px) {

    .hero-reviews {
        display: flex;
        flex-direction: row;
        justify-content: center !important;
        align-items: center;
        gap: 12px !important;
        width: 100%;
        text-align: center;
        padding-left: 0 !important;
    }

    .hero-reviews .avatars {
        display: flex;
        flex-direction: row;
        gap: 6px;
        justify-content: center;
        align-items: center;
    }

    .hero-reviews .avatars img {
        width: 36px;
        height: 36px;
        margin-left: 0 !important;
    }

    .hero-reviews span {
        display: block;
        text-align: left !important;
        max-width: 180px;
    }
}

@media (max-width: 900px) {
    .swiper-pagination-bullet,
    .eternitex-pagination .swiper-pagination-bullet {
        margin: 0 6px !important;
    }
}
