/* ============================================================
   Hero Slider — style.css
   ============================================================ */

/* Секция-обёртка */
.hero-slider {
    width: 100%;
    overflow: hidden;
    background: #fff;
}

/* Swiper-контейнер */
.hero-swiper {
    max-width: 1754px;
    height: auto;
}

/* Один слайд */
.hero-slide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 480px;
    padding: 24px 80px;
    box-sizing: border-box;
    background: #fff;
}

/* ── Левая колонка ── */
.hero-slide__content {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Метка (Акция / Новинка) */
.hero-slide__label {
    display: inline-block;
    background: #F4883F;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 60px;
    border-radius: 30px;
    width: fit-content;
}

/* Заголовок */
.hero-slide__title {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 700;
    color: #1A1A2E;
    margin: 0;
    line-height: 1.2;
}

/* Описание */
.hero-slide__text {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin: 0 0 20px 0;
}

/* Кнопка */
.hero-slide__btn {
    display: inline-block;
    background: #1e5fa6;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.15s ease;
    width: fit-content;
}

.hero-slide__btn:hover {
    background: #1f6fbe;
    transform: translateY(-2px);
}

/* Цены */
.hero-slide__prices {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 4px;
}

.hero-slide__price-old {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
}

.hero-slide__price-new {
    font-size: 36px;
    font-weight: 700;
    color: #48a103;
}

/* ── Правая колонка ── */
.hero-slide__media {
    flex: 0 0 44%;
    max-width: 44%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

/* Геометрический фон */
.hero-slide__media-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #DBEAFE 0%, #EFF6FF 100%);
    border-radius: 32% 68% 44% 56% / 38% 32% 68% 62%;
    z-index: 0;
}

.hero-slide__img {
    position: relative;
    z-index: 1;
    max-height: 475px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(59,130,246,.18));
}

/* ── Пагинация ── */
.hero-swiper__pagination {
    bottom: 24px !important;
}

.hero-swiper__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #CBD5E1;
    opacity: 1;
    transition: background 0.2s;
}

.hero-swiper__pagination .swiper-pagination-bullet-active {
    background: #3B82F6;
}

/* ── Стрелки ── */
.hero-swiper__prev,
.hero-swiper__next {
    color: #3B82F6;
}

.hero-swiper__prev::after,
.hero-swiper__next::after {
    font-size: 20px;
    font-weight: 700;
}

/* ── Адаптив ── */
@media (max-width: 900px) {
    .hero-slide {
        flex-direction: column-reverse;
        padding: 40px 32px 60px;
        text-align: center;
        align-items: center;
    }

    .hero-slide__content,
    .hero-slide__media {
        flex: unset;
        max-width: 100%;
        width: 100%;
    }

    .hero-slide__content {
        align-items: center;
    }

    .hero-slide__media {
        min-height: 220px;
    }
}

@media (max-width: 480px) {
    .hero-slide {
        padding: 32px 20px 56px;
        gap: 24px;
    }

    .hero-slide__btn {
        width: 100%;
        text-align: center;
    }

    .hero-slide__prices {
        justify-content: center;
    }
}
