.hello-products-carousel {
    --hello-product-zoom: 1.06;
    --hello-product-grad: 0.75;
    --hello-carousel-gap: 22px;
    --hello-carousel-show: 3;
    position: relative;
}

.hello-products-carousel__viewport {
    overflow: visible;
    cursor: grab;
    touch-action: pan-y;
}

.hello-products-carousel__track {
    display: flex;
    gap: var(--hello-carousel-gap);
    transition: transform .38s ease;
    will-change: transform;
}

.hello-products-carousel__slide {
    flex: 0 0 calc((100% - (var(--hello-carousel-gap) * (var(--hello-carousel-show) - 1))) / var(--hello-carousel-show));
    min-width: 0;
}

.hello-products-carousel--ratio-1-1 .hello-product-card__img { aspect-ratio: 1 / 1; }
.hello-products-carousel--ratio-4-5 .hello-product-card__img { aspect-ratio: 4 / 5; }
.hello-products-carousel--ratio-3-4 .hello-product-card__img { aspect-ratio: 3 / 4; }
.hello-products-carousel--ratio-16-9 .hello-product-card__img { aspect-ratio: 16 / 9; }

.hello-products-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 8;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #111827;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.hello-products-carousel__nav:hover {
    background: #111827;
    color: #ffffff;
}

.hello-products-carousel__nav--prev {
    left: -18px;
}

.hello-products-carousel__nav--next {
    right: -18px;
}

.hello-products-carousel:hover .hello-products-carousel__nav {
    opacity: 1;
    pointer-events: auto;
}

.hello-products-carousel__nav[disabled] {
    opacity: .36;
    pointer-events: none;
}

.hello-product-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.hello-product-card__media {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #0b0f17;
}

.hello-product-card__img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transform: scale(1);
    transform-origin: center center;
    transition: transform .45s ease;
}

.hello-product-card:hover .hello-product-card__img {
    transform: scale(var(--hello-product-zoom));
}

.hello-product-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 48%,
        rgba(0, 0, 0, var(--hello-product-grad)) 100%
    );
    opacity: 1;
    transition: opacity .25s ease;
    pointer-events: none;
}

.hello-product-card__meta {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    z-index: 2;
    pointer-events: none;
}

.hello-product-card__title {
    font-size: 34px;
    line-height: 1.1;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.01em;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.hello-product-card__cta {
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .2s ease, transform .2s ease;
}

.hello-products-carousel--no-arrow .hello-product-card__cta {
    display: none;
}

.hello-product-card__pill {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hello-product-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 24px;
    line-height: 1;
    color: #111827;
    transform: translate(1px, -1px);
}

.hello-product-card:hover .hello-product-card__cta {
    opacity: 1;
    transform: translateX(0);
}

.hello-product-card__pill:hover {
    background: #111827;
}

.hello-product-card__pill:hover .hello-product-card__arrow {
    color: #ffffff;
}

@media (max-width: 1024px) {
    .hello-product-card__title {
        font-size: 28px;
    }

    .hello-products-carousel__nav {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 767px) {
    .hello-product-card__title {
        font-size: 24px;
    }
}

