/* ── Mi Custom Carousel ─────────────────────────────────────── */

.mcc-wrapper {
    position: relative;
    width: 100%;
}

.mcc-swiper {
    width: 100%;
    overflow: hidden;
}

.mcc-slide {
    height: auto;
    box-sizing: border-box;
}

/* Slide vacío (editor) */
.mcc-empty-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 30px;
    background: #f5f5f5;
    border: 2px dashed #ccc;
    border-radius: 6px;
    text-align: center;
    color: #666;
}

.mcc-empty-slide span {
    font-weight: 700;
    font-size: 16px;
    display: block;
    margin-bottom: 6px;
}

.mcc-empty-slide p {
    font-size: 13px;
    margin: 0;
}

/* ── Flechas ─────────────────────────────────────────────────── */

.mcc-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.2s, transform 0.2s;
    font-size: 18px;
    color: #000;
    outline: none;
}

.mcc-btn:hover {
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.mcc-btn-prev {
    left: -22px;
}

.mcc-btn-next {
    right: -22px;
}

/* Cuando el wrapper no tiene overflow visible */
.elementor-widget-mcc_carousel > .elementor-widget-container {
    overflow: visible;
}

/* ── Paginación ──────────────────────────────────────────────── */

.mcc-pagination {
    position: relative;
    text-align: center;
    margin-top: 16px;
    bottom: unset !important;
}

.mcc-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    transition: background 0.2s;
}

.mcc-pagination .swiper-pagination-bullet-active {
    background: #000;
}

/* ── Swiper overrides ────────────────────────────────────────── */

.mcc-swiper .swiper-wrapper {
    align-items: stretch;
}

.mcc-swiper .swiper-slide {
    height: auto;
}
