/* =========================================================
   SMH PLANS
   Las clases .plans-grid / .plan-card / .plan-featured /
   .popular-badge / .plan-label / .plan-price YA existen en el
   tema (fidelidad 1:1 con el diseño original) — aquí solo se
   añade lo que el plugin incorpora: fondo intercambiable y el
   modo carrusel (que el CSS estático original no tenía).
========================================================= */

.smhplans-section { position: relative; overflow: hidden; }

.smhplans-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.smhplans-bg-video { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.smhplans-bg-video iframe,
.smhplans-bg-video video {
    position: absolute; top: 50%; left: 50%;
    width: 100%; height: 100%;
    min-width: 177.78vh; min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover; border: 0; pointer-events: none;
}
.smhplans-bg-shield { position: absolute; inset: 0; z-index: 1; }

.smhplans-section .container { position: relative; z-index: 2; }

/* ---------- Carrusel (alternativa al grid) ---------- */

.smhplans-carousel {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,100,31,.4) transparent;
    cursor: grab;
}
.smhplans-carousel.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}
.smhplans-carousel::-webkit-scrollbar { height: 6px; }
.smhplans-carousel::-webkit-scrollbar-thumb { background: rgba(255,100,31,.4); border-radius: 20px; }

.smhplans-slide {
    flex: 0 0 min(300px, 82vw);
    scroll-snap-align: start;
}

@media (max-width: 900px) {
    .smhplans-carousel { gap: 14px; }
}
