/* ==========================================================================
   Gamma Slider B - Estilos aislados para FSE
   ========================================================================== */
.gsb-swiper-container {
    width: 100%;
    height: var(--gsb-h, 550px);
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

.gsb-swiper-container .swiper-wrapper {
    height: 100%;
}

.gsb-swiper-container .gsb-slide {
    height: 100%;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.gsb-swiper-container .gsb-slide-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    height: 100%;
    box-sizing: border-box;
    gap: 50px;
    padding: 20px 80px;
}

.gsb-swiper-container .gsb-content-box {
    flex: 1;
    max-width: 600px;
    max-height: calc(100% - 40px);
    overflow-y: auto;
    padding: 45px;
    border-radius: 8px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    z-index: 20;
}

/* Scrollbar interna estilizada */
.gsb-swiper-container .gsb-content-box::-webkit-scrollbar { 
    width: 4px; 
}
.gsb-swiper-container .gsb-content-box::-webkit-scrollbar-thumb { 
    background: rgba(0, 0, 0, 0.25); 
    border-radius: 4px; 
}

.gsb-swiper-container .gsb-img-col {
    flex-shrink: 0;
    width: 350px;
    height: calc(100% - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-sizing: border-box;
}

.gsb-swiper-container .gsb-img-col a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.gsb-swiper-container .gsb-img-col img {
    display: block;
    height: 100%;
    max-height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    background: #ffffff;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

/* TIPOGRAFÍA BASE */
.gsb-swiper-container .gsb-badge {
    font-family: inherit;
    font-size: 0.75em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0;
}

.gsb-swiper-container .gsb-title {
    font-family: inherit;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.gsb-swiper-container .gsb-subtitle {
    font-family: inherit;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.3;
    font-weight: 600;
    margin: 0;
}

.gsb-swiper-container .gsb-review {
    font-family: inherit;
    font-size: 1.1rem;
    line-height: 1.55;
    font-weight: 400;
    margin: 0;
}

/* CONTROLES NAVEGACIÓN SWIPER */
.gsb-swiper-container .swiper-button-next,
.gsb-swiper-container .swiper-button-prev {
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    width: 60px;
    height: 100%;
    top: 0;
    margin-top: 0;
    z-index: 50;
}
.gsb-swiper-container .swiper-button-prev { left: 0; }
.gsb-swiper-container .swiper-button-next { right: 0; }

.gsb-swiper-container .swiper-button-prev::after,
.gsb-swiper-container .swiper-button-next::after { 
    font-size: 28px; 
    font-weight: bold; 
}
.gsb-swiper-container .swiper-pagination { bottom: 15px; z-index: 10; }
.gsb-swiper-container .swiper-pagination-bullet { background: #ffffff; opacity: 0.5; }
.gsb-swiper-container .swiper-pagination-bullet-active { background: #ffffff; opacity: 1; }

/* ==========================================================================
   RESPONSIVE FSE (tablet y smartphone)
   ========================================================================== */
@media (max-width: 992px) {
    .gsb-swiper-container {
        height: auto !important;
        background-attachment: scroll !important;
    }
    .gsb-swiper-container .swiper-wrapper { height: auto; }
    .gsb-swiper-container .gsb-slide { height: auto; }
    .gsb-swiper-container .gsb-slide-inner {
        flex-direction: column;
        padding: 50px 30px 60px 30px;
        text-align: center;
        height: auto;
        gap: 30px;
    }
    .gsb-swiper-container .gsb-content-box {
        max-width: 100%;
        width: 100%;
        max-height: none;
        overflow-y: visible;
    }
    .gsb-swiper-container .gsb-img-col {
        width: 100%;
        order: -1;
        height: auto;
    }
    .gsb-swiper-container .gsb-img-col img {
        height: auto;
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .gsb-swiper-container .gsb-slide-inner { padding: 35px 20px 50px 20px; }
    .gsb-swiper-container .gsb-img-col img { max-width: 180px; }
    .gsb-swiper-container .swiper-button-next,
    .gsb-swiper-container .swiper-button-prev { display: none !important; }
}
/* FSE: bloque alineado a ancho completo sin márgenes laterales extra */
.gsb-swiper-container.alignfull { margin-left: 0; margin-right: 0; max-width: none; }
.gsb-swiper-container, .gsb-swiper-container * { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) {
    .gsb-swiper-container .swiper-wrapper { scroll-behavior: auto; }
}
