/* ============================================================
   Smilora — Акції та бонуси (головна)
   ============================================================ */

.home-promotions-con {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 72% 52% at 8% 18%, rgba(58, 68, 152, 0.08) 0%, transparent 62%),
        radial-gradient(ellipse 68% 48% at 92% 82%, rgba(153, 162, 220, 0.16) 0%, transparent 58%),
        linear-gradient(180deg, #ffffff 0%, var(--bg--color) 100%);
}

.home-promotions-con__inner,
.home-promotions-slider-bleed {
    position: relative;
    z-index: 1;
}

.home-promotions-con .heading-title-con {
    margin-bottom: 40px;
}

.home-promotions-heading .special-text {
    color: var(--primary--color);
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 14px;
    font-weight: 400;
}

.home-promotions-geo {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.home-promotions-geo__shape {
    position: absolute;
    pointer-events: none;
    will-change: transform;
}

.home-promotions-geo__shape--ring-a {
    width: clamp(120px, 14vw, 200px);
    height: clamp(120px, 14vw, 200px);
    top: 8%;
    left: 4%;
    border: 2px dashed rgba(58, 68, 152, 0.22);
    border-radius: 50%;
    animation: home-promo-geo-drift-a 18s ease-in-out infinite;
}

.home-promotions-geo__shape--ring-b {
    width: clamp(72px, 8vw, 110px);
    height: clamp(72px, 8vw, 110px);
    top: 18%;
    right: 8%;
    border: 2px solid rgba(153, 162, 220, 0.45);
    border-radius: 50%;
    animation: home-promo-geo-drift-b 14s ease-in-out infinite reverse;
}

.home-promotions-geo__shape--ring-c {
    width: clamp(160px, 18vw, 240px);
    height: clamp(160px, 18vw, 240px);
    bottom: 6%;
    right: 6%;
    border: 1px solid rgba(58, 68, 152, 0.14);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(227, 232, 254, 0.55) 0%, transparent 68%);
    animation: home-promo-geo-drift-c 22s ease-in-out infinite;
}

.home-promotions-geo__shape--plus-a,
.home-promotions-geo__shape--plus-b {
    width: clamp(28px, 3vw, 42px);
    height: clamp(28px, 3vw, 42px);
    opacity: 0.28;
}

.home-promotions-geo__shape--plus-a::before,
.home-promotions-geo__shape--plus-a::after,
.home-promotions-geo__shape--plus-b::before,
.home-promotions-geo__shape--plus-b::after {
    content: '';
    position: absolute;
    background: var(--primary--color);
    border-radius: 999px;
}

.home-promotions-geo__shape--plus-a::before,
.home-promotions-geo__shape--plus-b::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    transform: translateY(-50%);
}

.home-promotions-geo__shape--plus-a::after,
.home-promotions-geo__shape--plus-b::after {
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    transform: translateX(-50%);
}

.home-promotions-geo__shape--plus-a {
    top: 42%;
    left: 10%;
    animation: home-promo-geo-pulse 10s ease-in-out infinite;
}

.home-promotions-geo__shape--plus-b {
    bottom: 22%;
    left: 28%;
    animation: home-promo-geo-pulse 12s ease-in-out infinite 1.5s;
}

.home-promotions-geo__shape--pill-a,
.home-promotions-geo__shape--pill-b {
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(58, 68, 152, 0.1) 0%, rgba(153, 162, 220, 0.08) 100%);
    border: 1px solid rgba(58, 68, 152, 0.12);
}

.home-promotions-geo__shape--pill-a {
    width: clamp(54px, 6vw, 86px);
    height: clamp(18px, 2vw, 28px);
    top: 12%;
    left: 22%;
    transform: rotate(-24deg);
    animation: home-promo-geo-drift-a 16s ease-in-out infinite 0.8s;
}

.home-promotions-geo__shape--pill-b {
    width: clamp(68px, 7vw, 104px);
    height: clamp(22px, 2.4vw, 34px);
    bottom: 14%;
    left: 6%;
    transform: rotate(18deg);
    animation: home-promo-geo-drift-b 19s ease-in-out infinite;
}

.home-promotions-geo__shape--arc-a {
    width: clamp(140px, 16vw, 220px);
    height: clamp(70px, 8vw, 110px);
    top: 52%;
    right: 4%;
    border: 2px solid transparent;
    border-top-color: rgba(58, 68, 152, 0.2);
    border-right-color: rgba(153, 162, 220, 0.28);
    border-radius: 50%;
    transform: rotate(24deg);
    animation: home-promo-geo-drift-c 17s ease-in-out infinite reverse;
}

.home-promotions-geo__shape--dots {
    width: clamp(110px, 12vw, 170px);
    height: clamp(110px, 12vw, 170px);
    bottom: 10%;
    right: 22%;
    opacity: 0.35;
    background-image: radial-gradient(rgba(58, 68, 152, 0.34) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    mask-image: radial-gradient(circle at center, #000 28%, transparent 72%);
    animation: home-promo-geo-drift-a 20s ease-in-out infinite;
}

@keyframes home-promo-geo-drift-a {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, -14px) rotate(6deg); }
}

@keyframes home-promo-geo-drift-b {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-12px, 10px) rotate(-5deg); }
}

@keyframes home-promo-geo-drift-c {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(8px, 12px) scale(1.04); }
}

@keyframes home-promo-geo-pulse {
    0%, 100% { opacity: 0.22; transform: scale(1); }
    50% { opacity: 0.38; transform: scale(1.08); }
}

.home-promotions-geo__shape--pill-a {
    animation-name: home-promo-geo-pill-a;
}

.home-promotions-geo__shape--pill-b {
    animation-name: home-promo-geo-pill-b;
}

@keyframes home-promo-geo-pill-a {
    0%, 100% { transform: rotate(-24deg) translate(0, 0); }
    50% { transform: rotate(-18deg) translate(12px, -8px); }
}

@keyframes home-promo-geo-pill-b {
    0%, 100% { transform: rotate(18deg) translate(0, 0); }
    50% { transform: rotate(24deg) translate(-10px, 8px); }
}

.home-promotions-geo__shape--arc-a {
    animation-name: home-promo-geo-arc;
}

@keyframes home-promo-geo-arc {
    0%, 100% { transform: rotate(24deg) translate(0, 0); }
    50% { transform: rotate(30deg) translate(-8px, -10px); }
}

.home-promotions-slider-bleed {
    width: 100%;
}

.home-promotions-slider {
    position: relative;
    --hp-arrow-size: 48px;
    --hp-slide-gap: 24px;
    padding: 0 calc(var(--hp-arrow-size) + 16px);
}

.home-promotions-slider__viewport {
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
}

.home-promotions-slider__viewport.is-grabbing {
    cursor: grabbing;
    touch-action: none;
}

body.home-promotions-slider-grabbing {
    cursor: grabbing !important;
    user-select: none;
}

.home-promotions-slider__viewport img,
.home-promo-card__trigger img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
    user-select: none;
}

.home-promotions-slider__viewport.is-grabbing .home-promo-card__trigger:hover {
    transform: none;
    box-shadow: none;
}

.home-promotions-slider__track {
    display: flex;
    align-items: stretch;
    gap: var(--hp-slide-gap);
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.home-promotions-slider__track.is-dragging {
    transition: none;
}

.home-promotions-slider__slide {
    flex: 0 0 var(--hp-slide-width, 100%);
    min-width: var(--hp-slide-width, 100%);
    box-sizing: border-box;
}

.home-promotions-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: var(--hp-arrow-size);
    height: var(--hp-arrow-size);
    border: none;
    border-radius: 50%;
    background: var(--primary--color);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease, opacity 0.25s ease;
    box-shadow: 0 8px 24px rgba(58, 68, 152, 0.28);
}

.home-promotions-slider__nav:hover:not(:disabled) {
    background: var(--black--family--color2);
}

.home-promotions-slider__nav:active:not(:disabled) {
    transform: translateY(-50%) scale(0.96);
}

.home-promotions-slider__nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.home-promotions-slider__nav--prev {
    left: 0;
}

.home-promotions-slider__nav--next {
    right: 0;
}

.home-promotions-slider__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.home-promotions-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: var(--lavender--color);
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.home-promotions-slider__dot.is-active {
    background: var(--primary--color);
    transform: scale(1.25);
}

.home-promo-card {
    height: 100%;
}

.home-promo-card__trigger {
    width: 100%;
    height: 100%;
    border: 1px solid var(--border--color);
    border-radius: 20px;
    background: var(--secondary--color);
    padding: 0;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
}

.home-promo-card__trigger:hover,
.home-promo-card__trigger:focus-visible {
    border-color: var(--primary--color);
    box-shadow: 0 14px 36px rgba(58, 68, 152, 0.14);
    transform: translateY(-2px);
    outline: none;
}

.home-promo-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(145deg, #e3e8fe 0%, #f1f3fe 100%);
}

.home-promo-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-promo-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--primary--color);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 18px rgba(58, 68, 152, 0.28);
}

.home-promo-card__badge--gift {
    background: #2f9e62;
}

.home-promo-card__badge--kids {
    background: #5b7fd6;
}

.home-promo-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 22px 24px;
}

.home-promo-card__title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 28px;
    font-weight: 700;
    color: var(--black--family--color2);
}

.home-promo-card__text {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 24px;
    color: var(--text--color);
    flex: 1;
}

.home-promo-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    color: var(--primary--color);
}

.home-promo-card__cta i {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.home-promo-card__trigger:hover .home-promo-card__cta i {
    transform: translateX(4px);
}

@media (min-width: 992px) {
    .home-promotions-slider-bleed {
        width: 100vw;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    .home-promotions-slider {
        --hp-arrow-size: 52px;
        padding: 0;
        max-width: 100vw;
    }

    .home-promotions-slider__nav--prev {
        left: clamp(14px, 2.2vw, 36px);
    }

    .home-promotions-slider__nav--next {
        right: clamp(14px, 2.2vw, 36px);
    }
}

@media (max-width: 991px) {
    .home-promotions-slider {
        --hp-arrow-size: 44px;
        padding: 0 calc(var(--hp-arrow-size) + 14px);
    }
}

@media (max-width: 767px) {
    .home-promotions-geo__shape--plus-b,
    .home-promotions-geo__shape--dots,
    .home-promotions-geo__shape--ring-c {
        display: none;
    }

    .home-promotions-slider {
        --hp-arrow-size: 40px;
        padding: 0 calc(var(--hp-arrow-size) + 10px);
    }

    .home-promo-card__body {
        padding: 18px 18px 20px;
    }

    .home-promo-card__title {
        font-size: 20px;
        line-height: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-promotions-slider__track,
    .home-promo-card__trigger,
    .home-promotions-geo__shape {
        transition: none;
        animation: none !important;
    }
}
