/* BANNER SUPERIOR - RESPONSIVE - SIN CONFLICTOS */
.banner_movil22,
.banner_pc22 {
    
    position: relative;
    width: 95%;
    max-width: 1440px;
    margin: 1rem auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    height: auto;
    line-height: 0;
    display: none;
    
}
.banner_movil22 {
    
    display: block;
    
}
@media only screen and (min-width: 768px) {
    .banner_movil22 {
    
        display: none;
        
    }
    .banner_pc22 {
    
        display: block;
        
    }
}
.banner_catalogo {
    margin:                 0 auto;
    max-width:              1440px;
    position:               relative;
    width:                  95%;
}

.banner_catalogo .control_banner {
    position:               absolute;
    top:                    50%;
    width:                  100%;
    display:                flex;
    justify-content:        space-between;
    transform:              translateY( -50% );
    z-index:                10;
}

.banner_catalogo .control_banner .prev_banner,
.banner_catalogo .control_banner .next_banner {
    background:             rgba(0, 0, 0, 0.5);
    border-radius:          50%;
    color:                  white;
    cursor:                 pointer;
    padding:                12px 18px;
    position:               absolute;
    text-align:             center;
    z-index:                1;
    transition:             background 0.3s ease;
}

.banner_catalogo .control_banner .prev_banner:hover,
.banner_catalogo .control_banner .next_banner:hover {
    background:             #007bff;
}

.banner_catalogo .control_banner .prev_banner {
    left:                   10px;
}

.banner_catalogo .control_banner .next_banner {
    right:                  10px;
}

.slider-container {
    margin:                 1em auto 0;
    overflow:               hidden;
    padding:                0;
    pointer-events:         auto;
    position:               relative;
    width:                  100%;
    max-width:              98%;
}

.slider_catalogo img {
    aspect-ratio:           16 / 9;
    border-radius:          8px;
    height:                 auto;
    object-fit:             cover;
    padding:                0 .5em;
    user-select:            none;
    width:                  100%;
}

.titulo_separador {
    text-align:             center;
}

.ofertas_del_mes {
    margin:                 0 auto;
    max-width:              1440px;
    position:               relative;
    width:                  95%;
}

.ofertas_del_mes .control_banner {
    position:               absolute;
    top:                    50%;
    width:                  100%;
    display:                flex;
    justify-content:        space-between;
    transform:              translateY( -50% );
    z-index:                10;
}

.ofertas_del_mes .control_banner .prev_banner,
.ofertas_del_mes .control_banner .next_banner {
    background:             rgba(0, 0, 0, 0.5);
    border-radius:          50%;
    color:                  white;
    cursor:                 pointer;
    padding:                12px 18px;
    position:               absolute;
    text-align:             center;
    z-index:                1;
    transition:             background 0.3s ease;
}

.ofertas_del_mes .control_banner .prev_banner:hover,
.ofertas_del_mes .control_banner .next_banner:hover {
    background:             #007bff;
}

.ofertas_del_mes .control_banner .prev_banner {
    left:                   10px;
}

.ofertas_del_mes .control_banner .next_banner {
    right:                  10px;
}

.ofertas_del_mes .slider_ofertas_del_mes {
    display:                flex;
    width:                  100%;
}

.ofertas_del_mes .slider_ofertas_del_mes .elemento_cuadricula {
    text-align:             center;
    padding:                20px;
    border:                 1px solid #ddd;
    border-radius:          8px;
    background:             #fff;
    min-width:              250px;
    margin:                 0 10px;
}

.ofertas_del_mes .slider_ofertas_del_mes .imagen_producto {
    width:                  100%;
    height:                 auto;
    object-fit:             contain;
    max-height:             200px;
}

.ofertas_del_mes .slider_ofertas_del_mes .boton_ver_producto,
.ofertas_del_mes .slider_ofertas_del_mes .boton_whatsapp {
    display:                inline-block;
    margin-top:             10px;
    padding:                8px 16px;
    border-radius:          4px;
    text-decoration:        none;
}

.ofertas_del_mes .slider_ofertas_del_mes .boton_ver_producto {
    background:             #007bff;
    color:                  #fff;
}

.ofertas_del_mes .slider_ofertas_del_mes .boton_whatsapp {
    background:             #25d366;
    color:                  #fff;
}

.ofertas_del_mes .tns-nav {
    bottom:                 15px;
    left:                   50%;
    position:               absolute;
    transform:              translateX( -50% );
    text-align:             center;
}

.ofertas_del_mes .tns-nav button {
    background:             #ccc;
    border:                 none;
    border-radius:          50%;
    cursor:                 pointer;
    height:                 12px;
    margin:                 0 5px;
    transition:             background 0.3s ease;
    width:                  12px;
}

.ofertas_del_mes .tns-nav button.tns-nav-active {
    background:             #007bff;
}

.banner_redes_sociales {
    margin:                 0 auto;
    max-width:              1440px;
    position:               relative;
    width:                  95%;
}

.banner_redes_sociales .control_banner {
    position:               absolute;
    top:                    50%;
    width:                  100%;
    display:                flex;
    justify-content:        space-between;
    transform:              translateY( -50% );
    z-index:                10;
}

.banner_redes_sociales .control_banner .prev_banner,
.banner_redes_sociales .control_banner .next_banner {
    background:             rgba(0, 0, 0, 0.5);
    border-radius:          50%;
    color:                  white;
    cursor:                 pointer;
    padding:                12px 18px;
    position:               absolute;
    text-align:             center;
    z-index:                1;
    transition:             background 0.3s ease;
}

.banner_redes_sociales .control_banner .prev_banner:hover,
.banner_redes_sociales .control_banner .next_banner:hover {
    background:             #007bff;
}

.banner_redes_sociales .control_banner .prev_banner {
    left:                   10px;
}

.banner_redes_sociales .control_banner .next_banner {
    right:                  10px;
}

.banner_redes_sociales .slider_redes_sociales {
    height:                 auto;
    width:                  100%;
}

.banner_redes_sociales .slider_redes_sociales div {
    text-align:             center;
}

.banner_redes_sociales .slider_redes_sociales img {
    height:                 auto;
    max-height:             200px;
    object-fit:             contain;
    width:                  100%;
}

.banner_redes_sociales .slider_redes_sociales p {
    color:                  #333;
    font-family:            'Roboto', sans-serif;
    margin:                 10px 0;
}

.banner_redes_sociales .tns-nav {
    bottom:                 15px;
    left:                   50%;
    position:               absolute;
    transform:              translateX( -50% );
    text-align:             center;
}

.banner_redes_sociales .tns-nav button {
    background:             #ccc;
    border:                 none;
    border-radius:          50%;
    cursor:                 pointer;
    height:                 12px;
    margin:                 0 5px;
    transition:             background 0.3s ease;
    width:                  12px;
}

.banner_redes_sociales .tns-nav button.tns-nav-active {
    background:             #007bff;
}

.banner_testimonios {
    margin:                 0 auto;
    max-width:              1440px;
    position:               relative;
    width:                  95%;
}

.banner_testimonios .control_banner {
    position:               absolute;
    top:                    50%;
    width:                  100%;
    display:                flex;
    justify-content:        space-between;
    transform:              translateY( -50% );
    z-index:                10;
}

.banner_testimonios .control_banner .prev_banner,
.banner_testimonios .control_banner .next_banner {
    background:             rgba(0, 0, 0, 0.5);
    border-radius:          50%;
    color:                  white;
    cursor:                 pointer;
    padding:                12px 18px;
    position:               absolute;
    text-align:             center;
    z-index:                1;
    transition:             background 0.3s ease;
}

.banner_testimonios .control_banner .prev_banner:hover,
.banner_testimonios .control_banner .next_banner:hover {
    background:             #007bff;
}

.banner_testimonios .control_banner .prev_banner {
    left:                   10px;
}

.banner_testimonios .control_banner .next_banner {
    right:                  10px;
}

.banner_testimonios .slider_testimonios {
    width:                  100%;
}

.banner_testimonios .slider_testimonios img {
    height:                 100%;
    object-fit:             cover;
    object-position:        center;
    width:                  100%;
}

.banner_testimonios .tns-nav {
    bottom:                 15px;
    left:                   50%;
    position:               absolute;
    transform:              translateX( -50% );
    text-align:             center;
}

.banner_testimonios .tns-nav button {
    background:             #ccc;
    border:                 none;
    border-radius:          50%;
    cursor:                 pointer;
    height:                 12px;
    margin:                 0 5px;
    transition:             background 0.3s ease;
    width:                  12px;
}

.banner_testimonios .tns-nav button.tns-nav-active {
    background:             #007bff;
}

.seccion_beneficios {
    margin:                 0 auto;
    max-width:              1440px;
    width:                  95%;
    padding:                20px 10px;
    display:                block;
    box-sizing:             border-box;
}

.seccion_beneficios .masonry-grid {
    margin:                 0 auto;
    max-width:              1440px;
    width:                  auto;
    display:                block;
    box-sizing:             border-box;
}

.seccion_beneficios .elemento_beneficio {
    width:                  300px;
    margin:                 10px;
    box-sizing:             border-box;
}

.seccion_beneficios .elemento_beneficio img {
    width:                  100%;
    height:                 auto;
    display:                block;
    border-radius:          8px;
}

.seccion_productos {
    padding:                2rem 1rem;
}

.contenedor_productos {
    display:                flex;
    justify-content:        center;
    margin:                 0 auto;
    max-width:              90%;
}

.seccion_productos .contenedor_productos .contenedor_flex {
    display:                flex;
    flex-wrap:              wrap;
    justify-content:        space-around;
    gap:                    20px;
}

.seccion_productos .contenedor_productos .elemento_cuadricula {
    text-align:             center;
    padding:                20px;
    border:                 1px solid #ddd;
    border-radius:          8px;
    background:             #fff;
    min-width:              250px;
    max-width:              300px;
    flex:                   1 1 auto;
}

.seccion_productos .contenedor_productos .imagen_producto {
    width:                  100%;
    height:                 auto;
    object-fit:             contain;
    max-height:             200px;
}

.seccion_productos .contenedor_productos .boton_ver_producto,
.seccion_productos .contenedor_productos .boton_whatsapp {
    display:                inline-block;
    margin-top:             10px;
    padding:                8px 16px;
    border-radius:          4px;
    text-decoration:        none;
}

.seccion_productos .contenedor_productos .boton_ver_producto {
    background:             #007bff;
    color:                  #fff;
}

.seccion_productos .contenedor_productos .boton_whatsapp {
    background:             #25d366;
    color:                  #fff;
}

.seccion_productos .contenedor_productos .sin_productos {
    font-family:            'Roboto', sans-serif;
    font-size:              1.125rem;
    color:                  #666;
    text-align:             center;
    width:                  100%;
}

@media only screen and (max-width: 767px) {
    .seccion_beneficios .elemento_beneficio {
        width:              100%;
        max-width:          300px;
        margin:             10px auto;
    }
    .seccion_beneficios .masonry-grid {
        width:              100%;
        max-width:          300px;
        margin:             0 auto;
    }
}

@media only screen and (min-width: 768px) {
    .seccion_beneficios .elemento_beneficio {
        width:              300px;
    }
}

@media only screen and (min-width: 992px) {
    .slider-container {
        padding:                0;
        max-width:              90%;
    }
    
    .banner_catalogo .control_banner .prev_banner,
    .banner_catalogo .control_banner .next_banner {
        padding:                16px 22px;
    }
    
    .ofertas_del_mes .control_banner .prev_banner,
    .ofertas_del_mes .control_banner .next_banner {
        padding:                16px 22px;
    }
    
    .banner_redes_sociales .control_banner .prev_banner,
    .banner_redes_sociales .control_banner .next_banner {
        padding:                16px 22px;
    }
    
    .banner_testimonios .control_banner .prev_banner,
    .banner_testimonios .control_banner .next_banner {
        padding:                16px 22px;
    }
    
    .banner_testimonios .slider_testimonios {
        height:                 700px;
    }
    
    .ofertas_del_mes .tns-nav {
        bottom:                 10px;
    }
    
    .banner_redes_sociales .tns-nav {
        bottom:                 10px;
    }
    
    .banner_testimonios .tns-nav {
        bottom:                 10px;
    }
}
.social-media-container {
    display:                grid;
    grid-template-columns:  repeat(auto-fit, minmax(300px, 1fr));
    gap:                    20px;
    padding:                20px;
    max-width:              1440px;
    width:                  95%;
    margin:                 0 auto;
    font-family:            'Roboto', sans-serif;
}

.social-media-iframe {
    position:               relative;
    width:                  100%;
    height:                 650px; /* 600px iframe + 50px título */
    border-radius:          10px;
    box-shadow:             0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-media-title {
    font-family:            'Roboto', sans-serif;
    font-size:              1.1rem;
    color:                  #333;
    text-align:             center;
    margin:                 10px 0;
    font-weight:            500;
}

.social-media-title i {
    margin-right:           8px;
}

.iframe-wrapper {
    position:               relative;
    width:                  100%;
    height:                 550px; /* Espacio para el iframe */
    overflow:               auto;
}

.iframe-wrapper iframe,
.iframe-wrapper .fb-page {
    position:               absolute;
    top:                    0;
    left:                   0;
    width:                  100% !important;
    height:                 100% !important;
    border:                 none;
    overflow:               auto;
}

.iframe-wrapper .fb-page > div,
.iframe-wrapper .fb-page > div > iframe {
    width:                  100% !important;
    height:                 100% !important;
    min-width:              100% !important;
    min-height:             100% !important;
}

@media only screen and (max-width: 600px) {
    .social-media-container {
        grid-template-columns: 1fr;
        padding:                10px;
    }
    .social-media-iframe {
        height:                 650px; /* Mantener 600px iframe + 50px título */
    }
    .iframe-wrapper {
        height:                 550px;
    }
}