/* SS Peek Carousel */
.sspc-root{position:relative;width:100%;overflow:visible}
.sspc-root .sspc-swiper{overflow:visible !important}
/* Forzar overflow:visible en wrappers de Elementor para que el peek lateral no se recorte */
.elementor-widget-sspc_peek_carousel,
.elementor-widget-sspc_peek_carousel .elementor-widget-container{overflow:visible !important}
.sspc-root .swiper-wrapper{align-items:stretch}
.sspc-slide{box-sizing:border-box;height:auto;display:flex}
.sspc-card{transform:scale(var(--sspc-side-scale,.86));opacity:var(--sspc-side-opacity,1);transform-origin:center center;transition:transform var(--sspc-trans,.6s) var(--sspc-easing,cubic-bezier(.22,.61,.36,1)),opacity var(--sspc-trans,.6s) var(--sspc-easing,cubic-bezier(.22,.61,.36,1))}
.sspc-root.is-teleporting .sspc-card{transition:none !important}
.sspc-root .sspc-slide.swiper-slide-active .sspc-card{transform:scale(1);opacity:1}
.sspc-card{position:relative;display:flex;flex-direction:column;width:100%;overflow:hidden;text-decoration:none;color:inherit;background:transparent}
.sspc-card.is-below{background:#fff}

/* Media + img (forzamos para batir resets de Elementor/tema) */
.sspc-media{position:relative;width:100%;overflow:hidden;line-height:0;flex:0 0 auto}
.sspc-root .sspc-card .sspc-media:not(.is-auto){aspect-ratio:var(--sspc-aspect,4/5)}
.sspc-root .sspc-card .sspc-media:not(.is-auto) .sspc-img{width:100% !important;height:100% !important;max-width:none !important;max-height:none !important;object-fit:cover;object-position:center center;display:block}
.sspc-root .sspc-card .sspc-media.is-auto{aspect-ratio:auto}
.sspc-root .sspc-card .sspc-media.is-auto .sspc-img{width:100% !important;height:auto !important;max-width:100% !important;object-fit:initial;display:block}
.sspc-img{-webkit-user-drag:none;user-drag:none;pointer-events:none}

/* Card content */
.sspc-card-content{padding:18px 20px}
.sspc-card.is-overlay .sspc-card-content{position:absolute;left:0;right:0;bottom:0;padding:24px;color:#fff;background:linear-gradient(180deg,transparent 0%,transparent 40%,rgba(0,0,0,.65) 100%)}
.sspc-card.is-overlay .sspc-title,.sspc-card.is-overlay .sspc-subtitle,.sspc-card.is-overlay .sspc-text{color:inherit}
.sspc-subtitle{font-size:.78em;text-transform:uppercase;letter-spacing:.08em;opacity:.85;margin:0 0 6px}
.sspc-title{margin:0 0 6px;font-size:1.25em;line-height:1.2}
.sspc-text{margin:6px 0 0;font-size:.95em;line-height:1.45;opacity:.9}
.sspc-button{display:inline-block;margin-top:12px;padding:8px 14px;border-radius:999px;background:#111;color:#fff;font-size:.85em;line-height:1}
.sspc-card.is-overlay .sspc-button{background:#fff;color:#111}

/* Flechas */
.sspc-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:44px;height:44px;border:0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:#fff;background:transparent;padding:0;transition:opacity .2s,transform .2s}
.sspc-arrow:hover{transform:translateY(-50%) scale(1.06)}
.sspc-arrow-prev{left:12px}
.sspc-arrow-next{right:12px}
.sspc-arrow.swiper-button-disabled{opacity:.35;pointer-events:none}
.sspc-arrow.sspc-arrow--minimal{background:transparent;text-shadow:0 1px 4px rgba(0,0,0,.35)}
.sspc-arrow.sspc-arrow--circle{background:rgba(0,0,0,.5);border-radius:999px}
.sspc-arrow.sspc-arrow--square{background:rgba(0,0,0,.5);border-radius:6px}

/* Paginación */
.sspc-root .swiper-pagination{position:relative;margin-top:18px}
.sspc-root .swiper-pagination-bullet{opacity:.5}
.sspc-root .swiper-pagination-bullet-active{opacity:1}

/* Drag suave */
.sspc-root .swiper-slide{will-change:transform,opacity}

/* Vacío */
.sspc-empty{padding:24px;text-align:center;color:#999;border:1px dashed #ccc;border-radius:8px}

/* Touch / arrastre */
.sspc-root .swiper{touch-action:pan-y}
.sspc-root.is-grabbing,.sspc-root.is-grabbing *{cursor:grabbing!important}
