.armani-carousel {
    position: relative;
    width: 100%;
    --armani-carousel-height: 320px;
}

.armani-carousel__viewport {
    width: 100%;
    height: var(--armani-carousel-height);
    overflow: hidden;
    position: relative;
}

.armani-carousel__track {
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
    transform: translate3d(0,0,0);
    transition: transform 650ms ease;
    will-change: transform;
}

.armani-carousel__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

.armani-carousel__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.armani-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 75px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    z-index: 5;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.armani-carousel__arrow:hover,
.armani-carousel__arrow:focus,
.armani-carousel__arrow:active {
    background: transparent !important;
    box-shadow: none !important;
    outline: none;
}

.armani-carousel__prev { left: 16px; }
.armani-carousel__next { right: 16px; }

.armani-carousel__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    justify-content: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 14px;
    max-width: calc(100% - 32px);
    z-index: 6;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.armani-carousel__navbtn {
    border: 0;
    background: #eee;
    color: #333;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 250ms ease, color 250ms ease;
}

.armani-carousel__navbtn.is-active {
    background: #555;
    color: #fff;
}

@media (max-width: 768px) {
    .armani-carousel__viewport {
        height: clamp(180px, 60vw, var(--armani-carousel-height));
    }

    .armani-carousel__prev { left: 10px; }
    .armani-carousel__next { right: 10px; }
    .armani-carousel__arrow { font-size: 60px; }
    .armani-carousel__nav {
        bottom: -35px;
        gap: 5px;
        padding: 10px 12px;
        max-width: calc(100% - 24px);
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }
    .armani-carousel__navbtn {
        padding: 9px 10px;
        font-size: 13px;
        white-space: nowrap;
        flex: 0 0 auto;
    }
}
