.home-hero-wrapper {
    margin-bottom: clamp(40px, 6vw, 96px);
}

.home-arrivals-container {
    margin-bottom: clamp(48px, 6.5vw, 110px);
}

.home-arrivals {
    background: linear-gradient(135deg, rgba(239, 40, 83, 0.12), rgba(239, 40, 83, 0.04));
    border-radius: clamp(18px, 1.9vw, 32px);
    padding: clamp(24px, 3vw, 52px);
    position: relative;
    overflow: hidden;

    &::after {
        content: "";
        position: absolute;
        inset: auto -40px -60px auto;
        width: clamp(160px, 22vw, 260px);
        height: clamp(160px, 22vw, 260px);
        background: radial-gradient(circle at center, rgba(239, 40, 83, 0.18), transparent 65%);
        pointer-events: none;

        @include sm {
            inset: auto -60px -80px auto;
        }
    }

    &__head {
        display: flex;
        justify-content: space-between;
        gap: clamp(18px, 3vw, 46px);
        flex-wrap: wrap;

        @include sm {
            flex-direction: column;
        }
    }

    &__eyebrow {
        display: inline-flex;
        align-items: center;
        padding: 6px 12px;
        border-radius: 999px;
        background: rgba(239, 40, 83, 0.12);
        color: rgba(239, 40, 83, 0.9);
        font-size: 0.78rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        margin-bottom: clamp(6px, 0.9vw, 12px);
    }

    &__title {
        font-size: clamp(26px, 3vw, 42px);
        margin-bottom: clamp(6px, 1vw, 14px);
        color: var(--black);
    }

    &__subtitle {
        max-width: clamp(260px, 42vw, 520px);
        color: rgba(15, 23, 42, 0.75);
        margin: 0;
    }

    &__controls {
        display: flex;
        align-items: center;
        gap: 16px;

        @include md {
            width: 100%;
            justify-content: space-between;
        }

        @include sm {
            flex-direction: column;
            align-items: stretch;
        }
    }

    &__tabs {
        display: inline-flex;
        background: rgba(255, 255, 255, 0.7);
        border-radius: 999px;
        border: 1px solid rgba(15, 23, 42, 0.08);
        padding: 4px;
        gap: 6px;

        @include sm {
            display: none;
        }
    }

    &__tab {
        border: 0;
        background: transparent;
        padding: 8px 18px;
        border-radius: 999px;
        font-weight: 600;
        font-size: 0.9rem;
        color: rgba(15, 23, 42, 0.6);
        cursor: pointer;
        transition: background 0.2s ease, color 0.2s ease;

        &.is-active {
            background: linear-gradient(135deg, #ef2853, #ff7aa4);
            color: #fff;
            box-shadow: 0 12px 22px -12px rgba(239, 40, 83, 0.45);
        }
    }

    &__select {
        display: none;

        @include sm {
            display: block;
            width: 100%;
        }

        select {
            border-radius: 999px;
            border: 1px solid rgba(148, 163, 184, 0.35);
            padding: 10px 16px;
            background: rgba(255, 255, 255, 0.85);
            font-weight: 600;
            color: rgba(15, 23, 42, 0.75);
        }
    }

    &__panels {
        margin-top: clamp(26px, 3vw, 42px);
    }

    &__panel {
        display: none;

        &.is-active {
            display: block;
        }
    }

    &__nav {
        display: flex;
        justify-content: flex-end;
        gap: 14px;
        margin-top: 18px;

        @include md {
            justify-content: center;
        }

        button {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            border: 1px solid rgba(15, 23, 42, 0.12);
            background: rgba(255, 255, 255, 0.9);
            color: var(--black);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: border-color 0.2s ease, color 0.2s ease;

            &:hover {
                color: #ef2853;
                border-color: rgba(239, 40, 83, 0.4);
            }
        }
    }

    &__link {
        display: flex;
        justify-content: flex-end;
        margin-top: 18px;

        @include md {
            justify-content: center;
        }

        .ul-btn--ghost {
            border-color: rgba(15, 23, 42, 0.12);
            color: var(--black);

            &:hover {
                border-color: rgba(239, 40, 83, 0.65);
                color: #ef2853;
            }
        }
    }

    &__empty {
        margin: 12px 0 0;
        color: rgba(15, 23, 42, 0.65);
        font-size: 0.95rem;
    }
}

.ul-banner {
    display: flex;
    gap: clamp(15px, 1.58vw, 30px);
}

.ul-banner-slider {
    max-width: clamp(310px, 59.12vw, 1125px);
    border-radius: 30px;

    @include sm {
        max-width: calc(100vw - (clamp(15px, 3.15vw, 60px)*2));
    }

    @include xxs {
        border-radius: 0;
    }

    &-wrapper {
        width: max-content;
        position: relative;
        z-index: 11;
        background-color: var(--white);
        position: relative;

        &::before,
        &::after {
            content: "";
            position: absolute;
            right: 100%;
            background-color: var(--white);
            top: 0;
            height: 100%;
            width: 60px;
        }

        &::after {
            width: 10px;
            left: 100%;
            right: auto;
        }
    }

    &-nav-wrapper {
        @include xxs {
            position: absolute;
            inset: 0;
            aspect-ratio: 400/460;
        }
    }

    &-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
        z-index: 1;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        border-radius: 20px 0 0 20px;

        @include xxs {
            border-radius: 20px 20px 0 0;
            flex-direction: row;
            right: 50%;
            transform: translateX(50%);
            top: auto;
            bottom: 0;
        }

        button {
            display: flex;
            align-items: center;
            padding: 10px;
            font-size: 22px;
            color: var(--black);

            &:first-child {
                transform: rotate(180deg);

                @include xxs {
                    transform: rotate(90deg);
                }
            }

            @include xxs {
                transform: rotate(-90deg);
            }

            &:hover {
                color: var(--ul-primary);
            }

            span,
            i {
                display: inline-flex;
            }
        }
    }
}

.ul-banner-slide {
    &-img {
        @include xxs {
            margin-bottom: clamp(20px, 1.58vw, 30px);
        }

        img {

            @include xxs {
                width: 100%;
                aspect-ratio: 400/459;
                object-fit: cover;
                object-position: 100%;
                border-radius: 30px;
            }
        }
    }

    &-txt {
        max-width: 58%;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: clamp(15px, 3.15vw, 60px);

        @include xs {
            max-width: 68%;
        }

        @include xxs {
            max-width: 100%;
            position: static;
            transform: translateY(0);
        }
    }

    &-sub-title {
        font-weight: 400;
        font-size: clamp(16px, 1.05vw, 20px);
        letter-spacing: 0.3em;
        color: var(--ul-primary);
        margin-bottom: clamp(10px, 1.26vw, 24px);
        display: inline-block;
    }

    &-title {
        font-size: clamp(32px, 3.42vw, 65px);
        font-weight: 600;
        line-height: 108%;
        letter-spacing: -0.03em;
        color: var(--black);
        margin-bottom: clamp(7px, 0.89vw, 17px);
        // mix-blend-mode: difference;
        // color: var(--white);
    }

    &-price {
        font-size: clamp(13px, 0.84vw, 16px);
        display: flex;
        align-items: center;
        gap: clamp(6px, 0.79vw, 15px);
        margin-bottom: clamp(13px, 1.21vw, 23px);

        .price {
            font-weight: 600;
            font-size: clamp(18px, 1.58vw, 30px);
            color: var(--ul-primary);
        }
    }

    .ul-btn {
        &:hover {
            background-color: var(--ul-primary);
            color: var(--white);
        }
    }
}

.ul-banner-img-slider-wrapper {
    // max-width: clamp(310px, 33.89vw, 645px);
    max-width: clamp(270px, 23.65vw, 450px);

    @include md {
        max-width: clamp(220px, 19.65vw, 450px);
    }

    @include sm {
        display: none;
    }
}

.ul-banner-img-slider {
    border-radius: 20px;
    height: 100%;
    margin-right: calc(0% - clamp(0px, 12.61vw, 240px));

    img {
        height: 100%;
        width: 100%;
        // aspect-ratio: 450/800;
        border-radius: 20px;
        object-fit: cover;
        aspect-ratio: 1/1;

        @include xl {
            // aspect-ratio: 310/538;
        }

        @include lg {
            // aspect-ratio: auto;
        }
    }
}
