/* ========================================
   HERO SLIDER (ÑƒÐ¼ÐµÐ½ÑŒÑˆÐµÐ½ Ð² 1.5 Ñ€Ð°Ð·Ð°)
   ======================================== */
.hero-slider-wrapper {
    padding: 20px 0 0;
    background: var(--color-light, #faf7f5);
}

.hero-slider {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: visible;
    background: #faf7f5;
    margin-bottom: 0;
    z-index: 1;
}

/* ===== BACKGROUND ===== */
.hero-slider__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    transition: background-image 0.8s ease;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

/* ===== TRAPEZOID CUTOUT ===== */
.hero-slider__cutout {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 20px;
    z-index: 2;
    pointer-events: none;
}

.hero-slider__cutout svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ===== SLIDES ===== */
.hero-slider__slides {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.hero-slider__slide {
    display: none;
    align-items: center;
    width: 100%;
    min-height: 280px;
    padding: 30px 0 90px;
    box-sizing: border-box;
    animation: heroFadeIn 0.6s ease forwards;
    flex-shrink: 0;
}

.hero-slider__slide.active {
    display: flex;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-slider__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== GRID LAYOUT ===== */
.hero-slider__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-slider__content {
    max-width: 100%;
}

.hero-slider__badge {
    display: inline-block;
    padding: 4px 14px;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(230, 84, 118, 0.15);
    border-radius: 999px;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #E65476;
}

.hero-slider__title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.08;
    color: var(--color-dark, #1E1E1E);
    margin: 0 0 12px;
}

.hero-slider__title .highlight {
    color: #E65476;
}

.hero-slider__subtitle {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-gray, #6B6B6B);
    margin: 0 0 22px;
}

/* ===== BONUS INFO ===== */
.hero-slider__bonus-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 12px 20px;
    background: rgba(230, 84, 118, 0.08);
    border-radius: 10px;
    flex-wrap: wrap;
}

.hero-slider__bonus-amount {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 28px;
    font-weight: 700;
    color: #E65476;
}

.hero-slider__bonus-text {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 14px;
    color: var(--color-gray, #6B6B6B);
}

.hero-slider__bonus-divider {
    color: #DCDCDC;
    font-weight: 300;
}

.hero-slider__bonus-percent {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 16px;
    font-weight: 600;
    color: #E65476;
}

.hero-slider__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-slider__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    background: #E65476;
    color: #FFFFFF;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 14px rgba(230, 84, 118, 0.25);
    line-height: 1;
}

.hero-slider__btn:hover {
    background: #D43F62;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 84, 118, 0.35);
    color: #FFFFFF;
    text-decoration: none;
}

.hero-slider__btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-gray, #6B6B6B);
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-slider__btn-link:hover {
    color: #E65476;
    text-decoration: none;
    gap: 10px;
}

/* ===== PRODUCT CARD ===== */
.hero-slider__product {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    position: relative;
    max-width: 100%;
    margin: 0;
}

.hero-slider__product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #E65476;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    z-index: 2;
}

.hero-slider__product-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
    border-radius: 12px;
    background: #f8f8f8;
}

.hero-slider__product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider__product-info {
    padding-top: 16px;
}

.hero-slider__product-title {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-dark, #1E1E1E);
    margin: 0 0 8px;
    line-height: 1.3;
}

.hero-slider__product-prices {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.hero-slider__product-old-price {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 14px;
    color: #B0B0B0;
    text-decoration: line-through;
}

.hero-slider__product-price {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 18px;
    font-weight: 700;
    color: #E65476;
}

.hero-slider__product-cart {
    width: 100%;
    padding: 10px;
    background: #E65476;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider__product-cart:hover {
    background: #D43F62;
    transform: translateY(-1px);
}

/* ===== CARDS ===== */
.hero-slider__cards-wrapper {
    position: relative;
    z-index: 3;
    padding: 30px 40px;
    margin-top: -80px;
    display: flex;
    min-height: 70px;
}

.hero-slider__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 800px;
    padding: 0;
    width: 100%;
}

.hero-slider__card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    background: #FFFFFF;
    border-radius: 10px;
    border: 2px solid transparent;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.hero-slider__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.hero-slider__card.active {
    border-color: #E65476;
}

.hero-slider__card-icon {
    font-size: 16px;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF0F3;
    border-radius: 50%;
    color: #E65476;
    font-weight: 700;
    transition: all 0.3s ease;
}

.hero-slider__card.active .hero-slider__card-icon {
    background: #E65476;
    color: #FFFFFF;
}

.hero-slider__card-content {
    flex: 1;
    min-width: 0;
}

.hero-slider__card-title {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-dark, #1E1E1E);
    margin: 0 0 1px;
}

.hero-slider__card-text {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 11px;
    color: var(--color-gray, #6B6B6B);
    margin: 0;
}

/* ===== PROGRESS BAR ===== */
.hero-slider__card-progress {
    position: absolute;
    bottom: 0;
    left: 4px;
    right: 4px;
    height: 2px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.hero-slider__card-progress-bar {
    height: 100%;
    width: 0%;
    background: #E65476;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.hero-slider__card-progress-bar.active {
    width: 100%;
    animation: progressAnim 5s linear forwards;
}

@keyframes progressAnim {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

/* ========================================
   DOTS
   ======================================== */
.hero-slider__dots-wrapper {
    display: flex;
    justify-content: center;
    padding: 4px 0 0;
    position: relative;
    z-index: 5;
}

.hero-slider__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border-radius: 50px;
    min-width: 60px;
}

.hero-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #DCDCDC;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

.hero-slider__dot:hover {
    border-color: #E65476;
    transform: scale(1.2);
}

.hero-slider__dot.active {
    background: #E65476;
    border-color: #E65476;
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(230, 84, 118, 0.30);
}

/* ========================================
   HIDE CARDS ON MOBILE
   ======================================== */
@media (max-width: 768px) {
    .hero-slider__cards-wrapper {
        display: none !important;
    }

    .hero-slider__slide {
        padding: 20px 0 30px;
    }

    .hero-slider__cutout {
        width: 100px;
        height: 16px;
    }
}

/* ========================================
   TABLET (Ð´Ð¾ 1200px)
   ======================================== */
@media (max-width: 1200px) {
    .hero-slider__title {
        font-size: 30px;
    }

    .hero-slider__subtitle {
        font-size: 13px;
    }

    .hero-slider__container {
        padding: 0 30px;
    }

    .hero-slider__cards-wrapper {
        padding: 0 30px;
    }

    .hero-slider__grid {
        gap: 30px;
    }
}

/* ========================================
   TABLET (Ð´Ð¾ 992px)
   ======================================== */
@media (max-width: 992px) {
    .hero-slider__slide {
        padding: 24px 0 80px;
    }

    .hero-slider__container {
        padding: 0 16px;
    }

    .hero-slider__title {
        font-size: 26px;
    }

    .hero-slider__subtitle {
        font-size: 13px;
    }

    .hero-slider__cutout {
        width: 120px;
        height: 18px;
    }

    .hero-slider__cards-wrapper {
        padding: 0 16px;
    }

    .hero-slider__cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .hero-slider__dots {
        gap: 8px;
        padding: 3px 12px;
    }

    .hero-slider__dot {
        width: 7px;
        height: 7px;
    }

    .hero-slider__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-slider__product {
        max-width: 320px;
        margin: 0 auto;
    }
}

/* ========================================
   MOBILE (Ð´Ð¾ 768px)
   ======================================== */
@media (max-width: 768px) {
    .hero-slider-wrapper {
        padding: 12px 0 0;
    }

    .hero-slider {
        border-radius: 14px;
        overflow: hidden;
    }

    .hero-slider__bg {
        border-radius: 14px;
        background-position: 50% center !important;
    }

    .hero-slider__bg::after {
        content: '';
        position: absolute;
        inset: 0;
        /* backdrop-filter: blur(4px); */
        -webkit-backdrop-filter: blur(4px);
        border-radius: 14px;
        z-index: 1;
    }

    .hero-slider__slide {
        padding: 24px 0 40px;
        min-height: auto;
        position: relative;
        z-index: 2;
    }

    .hero-slider__container {
        padding: 0 16px;
        position: relative;
        z-index: 3;
    }

    .hero-slider__grid {
        display: grid;
        grid-template-columns: 1fr 0.66fr;
        gap: 14px;
        align-items: center;
    }

    .hero-slider__content {
        max-width: 100%;
        text-align: left;
    }

    .hero-slider__badge {
        font-size: 9px;
        padding: 3px 10px;
        margin-bottom: 8px;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(230, 84, 118, 0.15);
        border-radius: 999px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #E65476;
        display: inline-block;
    }

    .hero-slider__title {
        font-size: 20px;
        margin-bottom: 6px;
        line-height: 1.1;
        color: #1E1E1E;
        font-weight: 700;
    }

    .hero-slider__title .highlight {
        color: #E65476;
    }

    .hero-slider__subtitle {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 12px;
        max-width: 100%;
        color: #1f1f1f;
    }

    .hero-slider__bonus-info {
        font-size: 10px;
        padding: 4px 10px;
        margin-bottom: 14px;
        gap: 4px;
        flex-wrap: wrap;
        background: rgba(230, 84, 118, 0.08);
        border-radius: 8px;
        display: flex;
        align-items: center;
    }

    .hero-slider__bonus-amount {
        font-size: 16px;
        font-weight: 700;
        color: #E65476;
    }

    .hero-slider__bonus-percent {
        font-size: 12px;
        font-weight: 600;
        color: #E65476;
    }

    .hero-slider__bonus-text {
        font-size: 10px;
        color: var(--color-gray, #6B6B6B);
    }

    .hero-slider__bonus-divider {
        display: none;
    }

    .hero-slider__actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        flex-wrap: nowrap;
        width: 100%;
        text-align: center;
        justify-content: left;
        align-items: normal;
    }

    .hero-slider__btn {
        padding: 8px 14px;
        font-size: 11px;
        font-weight: 600;
        border: none;
        border-radius: 6px;
        background: #E65476;
        color: #FFFFFF;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        box-shadow: 0 3px 14px rgba(230, 84, 118, 0.3);
        line-height: 1;
        white-space: nowrap;
        flex: 1;
        justify-content: center;
        min-width: 0;
    }

    .hero-slider__btn:hover {
        background: #D43F62;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(230, 84, 118, 0.4);
        color: #FFFFFF;
        text-decoration: none;
    }

    .hero-slider__btn-link {
        font-size: 10px;
        font-weight: 400;
        color: #1f1f1f;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 3px;
        transition: all 0.3s ease;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .hero-slider__btn-link:hover {
        color: #E65476;
        text-decoration: none;
        gap: 6px;
    }

    .hero-slider__product {
        background: #FFFFFF;
        border-radius: 12px;
        padding: 10px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        position: relative;
        max-width: 100%;
        margin: 0;
    }

    .hero-slider__product-badge {
        position: absolute;
        top: 6px;
        left: 6px;
        background: #E65476;
        color: #FFFFFF;
        font-size: 8px;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 4px;
        z-index: 2;
    }

    .hero-slider__product-image-wrapper {
        position: relative;
        width: 100%;
        padding-bottom: 75%;
        overflow: hidden;
        border-radius: 8px;
        background: #f8f8f8;
    }

    .hero-slider__product-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-slider__product-info {
        padding-top: 8px;
    }

    .hero-slider__product-title {
        font-size: 10px;
        font-weight: 500;
        color: var(--color-dark, #1E1E1E);
        margin: 0 0 3px;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-slider__product-prices {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 6px;
    }

    .hero-slider__product-old-price {
        font-size: 9px;
        color: #B0B0B0;
        text-decoration: line-through;
    }

    .hero-slider__product-price {
        font-size: 13px;
        font-weight: 700;
        color: #E65476;
    }

    .hero-slider__product-cart {
        width: 100%;
        padding: 6px;
        background: #E65476;
        color: #FFFFFF;
        border: none;
        border-radius: 6px;
        font-size: 10px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .hero-slider__product-cart:hover {
        background: #D43F62;
    }

    .hero-slider__cards-wrapper {
        display: none !important;
    }

    .hero-slider__cutout {
        width: 130px;
        height: 15px;
        bottom: 0px;
    }

    .hero-slider__cutout svg path {
        d: path("M 50 30 L 58 10 L 162 10 L 170 30 Z");
    }

    .hero-slider__dots-wrapper {
        display: flex;
        justify-content: center;
        padding: 4px 0 0;
        position: relative;
        z-index: 5;
    }

    .hero-slider__dots {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: transparent;
        border-radius: 50px;
        min-width: 60px;
        padding: 1px 0;
    }

    .hero-slider__dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: transparent;
        border: 2px solid #DCDCDC;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
        outline: none;
    }

    .hero-slider__dot:hover {
        border-color: #E65476;
        transform: scale(1.2);
    }

    .hero-slider__dot.active {
        background: #E65476;
        border-color: #E65476;
        transform: scale(1.2);
        box-shadow: 0 0 12px rgba(230, 84, 118, 0.30);
    }

    .hero-slider__slides {
        min-height: auto;
        border-radius: 14px;
    }

    .hero-slider__slide {
        min-height: auto;
    }
}

/* ========================================
   SMALL MOBILE (Ð´Ð¾ 480px)
   ======================================== */
@media (max-width: 480px) {
    .hero-slider-wrapper {
        padding: 0;
    }

    .hero-slider {
        border-radius: 0;
    }

    .hero-slider__bg {
        border-radius: 0;
    }

    .hero-slider__bg::after {
        border-radius: 12px;
        /* backdrop-filter: blur(3px); */
        -webkit-backdrop-filter: blur(3px);
    }

    .hero-slider__slide {
        padding: 16px 0 28px;
    }

    .hero-slider__container {
        padding: 0 16px;
    }

    .hero-slider__grid {
        /* gap: 10px; */
    }

    .hero-slider__badge {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 16px;
    }

    .hero-slider__title {
        font-size: 24px;
        margin-bottom: 4px;
    }

    .hero-slider__subtitle {
        font-size: 12px;
        margin: 10px 0;
    }

    .hero-slider__bonus-info {
        font-size: 9px;
        padding: 3px 8px;
        margin-bottom: 10px;
    }

    .hero-slider__bonus-amount {
        font-size: 14px;
    }

    .hero-slider__bonus-percent {
        font-size: 11px;
    }

    .hero-slider__bonus-text {
        font-size: 9px;
    }

    .hero-slider__actions {
        gap: 5px;
        margin-top: 20px;
    }

    .hero-slider__btn {
        padding: 10px 14px;
        font-size: 12px;
    }

    .hero-slider__btn-link {
        font-size: 12px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .hero-slider__product {
        padding: 8px;
        border-radius: 8px;
    }

    .hero-slider__product-badge {
        font-size: 7px;
        padding: 1px 6px;
        top: 4px;
        left: 4px;
    }

    .hero-slider__product-title {
        font-size: 9px;
    }

    .hero-slider__product-price {
        font-size: 11px;
    }

    .hero-slider__product-old-price {
        font-size: 8px;
    }

    .hero-slider__product-cart {
        padding: 5px;
        font-size: 9px;
    }

    .hero-slider__cutout {
        width: 106px;
        height: 15px;
        bottom: 0px;
    }

    .hero-slider__cutout svg path {
        d: path("M 50 30 L 58 10 L 162 10 L 170 30 Z");
    }

    .hero-slider__dots-wrapper {
        padding: 4px 0 0;
    }

    .hero-slider__dots {
        gap: 6px;
    }

    .hero-slider__dot {
        width: 6px;
        height: 6px;
        border-width: 1.5px;
    }

    .hero-slider__slides {
        border-radius: 12px;
    }
}

/* ========================================
   JS â€” SLIDE HEIGHT EQUALIZING
   ======================================== */
.hero-slider__slides {
    min-height: 280px;
}

.hero-slider__slide {
    min-height: 280px;
}


.container-slider {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container-slider {
        padding: 0px;
    }
}