.gift-carousel__controls {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.gift-carousel__button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(27, 0, 86, 0.18);
    border-radius: 8px;
    background: #fff;
    color: #1b0056;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.gift-carousel__button:hover:not(:disabled),
.gift-carousel__button:focus-visible:not(:disabled) {
    background: #31117e;
    color: #fff;
}

.gift-carousel__button:disabled {
    cursor: default;
    opacity: 0.4;
}

.gift-carousel__track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 2px 2px 1rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.gift-carousel__track::-webkit-scrollbar {
    display: none;
}

.gift-carousel__slide {
    flex: 0 0 min(84%, 380px);
    min-width: 0;
    scroll-snap-align: start;
}

.gift-carousel__image {
    position: relative;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    overflow: hidden;
    min-height: 0;
    border: 1px solid rgba(202, 196, 212, 0.55);
    border-radius: 12px;
    background: #fff;
}

.gift-carousel__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gift-carousel__slide figcaption {
    padding: 0.75rem 0.25rem 0;
    color: #1b0056;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
}

.client-logo-carousel {
    overflow: hidden;
}

.client-logo-carousel__track {
    align-items: center;
    display: flex;
    width: max-content;
    animation: client-logo-marquee 32s linear infinite;
    will-change: transform;
}

.client-logo-carousel__group {
    display: flex;
    flex: none;
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    padding-inline-end: clamp(2rem, 6vw, 5rem);
}

.client-logo-carousel__slide {
    flex: 0 0 clamp(140px, 22vw, 210px);
    height: 96px;
    display: grid;
    place-items: center;
    padding: 0.75rem 1rem;
}

.client-logo-carousel__slide img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 64px;
    object-fit: contain;
}

@keyframes client-logo-marquee {
    to {
        transform: translateX(-50%);
    }
}

@media (min-width: 768px) {
    .gift-carousel__slide {
        flex-basis: calc((100% - 2rem) / 3);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gift-carousel__track {
        scroll-behavior: auto;
    }

    .client-logo-carousel {
        overflow-x: auto;
    }

    .client-logo-carousel__track {
        animation: none;
    }
}
