.ibic-carousel {
    position: relative;
    width: 100%;
    --ibic-max-height: 450px;
    --ibic-gap: 14px;
}

.ibic-viewport {
    overflow: hidden;
    width: 100%;
    cursor: grab;
    touch-action: pan-y;
}

.ibic-viewport.is-dragging {
    cursor: grabbing;
}

.ibic-track {
    display: flex;
    align-items: center;
    gap: var(--ibic-gap);
    will-change: transform;
    user-select: none;
}

.ibic-slide {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--ibic-max-height);
    max-height: var(--ibic-max-height);
}

.ibic-slide img {
    display: block;
    width: auto;
    height: var(--ibic-max-height);
    max-width: none;
    object-fit: contain;
    pointer-events: none;
    -webkit-user-drag: none;
}

.ibic-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    cursor: pointer;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.ibic-arrow:hover,
.ibic-arrow:focus-visible {
    opacity: 0.9;
    outline: none;
}

.ibic-arrow-prev {
    left: 14px;
}

.ibic-arrow-next {
    right: 14px;
}

.ibic-empty-state {
    padding: 20px;
    border: 1px dashed #888;
    text-align: center;
}

@media (max-width: 767px) {
    .ibic-arrow {
        width: 40px;
        height: 40px;
    }

    .ibic-arrow-prev {
        left: 10px;
    }

    .ibic-arrow-next {
        right: 10px;
    }
}
