/* ══════════════════════════════════════════════
   EXPERTIA CAROUSEL – Multi-slide carousel
   ══════════════════════════════════════════════ */

.exp-carousel {
    position: relative;
    width: 100%;
    max-height: var(--exp-car-height, 500px);
    overflow: hidden;
    border-radius: 12px;
    background: #f0f0f0;
}

/* ── Track & slides ── */
.exp-carousel__track {
    display: flex;
    gap: 24px;
    height: var(--exp-car-height, 500px);
    transition: transform 0.5s ease;
    padding: 20px 12px;
    cursor: grab;
    user-select: none;
}

.exp-carousel__track:active {
    cursor: grabbing;
}

.exp-carousel__slide {
    flex: 0 0 calc((100% - (var(--exp-car-slides-desktop, 1) - 1) * 24px) / var(--exp-car-slides-desktop, 1));
    height: 100%;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.exp-carousel__img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* ── Arrows (Ocultas) ── */
.exp-carousel__arrow {
    display: none !important;
}

/* ── Dots ── */
.exp-carousel__dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 6px;
}

.exp-carousel__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    background: #999;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.exp-carousel__dot.is-active {
    background: #000;
    width: 8px;
    height: 8px;
}

.exp-carousel__dot:hover {
    background: #333;
}

/* ── Responsive – Tablet ── */
@media (max-width: 1024px) {
    .exp-carousel__slide {
        flex: 0 0 calc((100% - (var(--exp-car-slides-tablet, 1) - 1) * 20px) / var(--exp-car-slides-tablet, 1));
        padding: 15px;
    }
    .exp-carousel__track {
        gap: 20px;
        padding: 15px 10px;
    }
}

/* ── Responsive – Mobile ── */
@media (max-width: 600px) {
    .exp-carousel__slide {
        flex: 0 0 calc((100% - (var(--exp-car-slides-mobile, 1) - 1) * 16px) / var(--exp-car-slides-mobile, 1));
        padding: 12px;
    }
    .exp-carousel__track {
        gap: 16px;
        padding: 12px 8px;
    }
    .exp-carousel__arrow { width: 36px; height: 36px; font-size: 1rem; }
    .exp-carousel__arrow--prev { left: 8px; }
    .exp-carousel__arrow--next { right: 8px; }
}
