/*
 Theme Name:   EJEMPLO
 Description:  Hello Elementor Child Theme
 Author:       EXAMPLE
 Author URI:   https://example.pe
 Template:     hello-elementor
 Version:      1.0
 Text Domain:  hello-elementor
*/

/* -----> GENERAL */

.wd-scrollbar.platform-Windows {
    --wd-scroll-w: 0px !important;
}
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-thumb {
    background: var(--e-global-color-primary);
    border-radius: 10px;
}
::-webkit-scrollbar-track {
    border-radius: 10px;
}
.elementor-icon-box-wrapper .elementor-icon-box-title{
	margin-top: 0 !important;
}
.elementor-widget-icon .elementor-icon-wrapper{
	display: flex !important;
}
.elementor-widget-text-editor .elementor-widget-container>*:last-child,
.elementor-text-editor>*:last-child{
	margin-bottom: 0 !important;
}
.elementor-button-content-wrapper{
    display: flex;
    align-items: center;
}
* .resaltar{
	color: var(--e-global-color-primary) !important;
    font-weight: 800 !important;
}
.items_rep .jet-listing-dynamic-repeater__items {
    flex-wrap: wrap !important;
}
@media(max-width:768px){
    .elementor-icon-box-wrapper{
        display: flex;
        align-items: center;
    }
    .elementor-icon-box-icon{
        line-height:0;   
    }
}

/* -----> CABECERA */

@media (max-width: 767px) {
    body:not(.rtl) .elementor-647 .elementor-element.elementor-element-6900011 .elementor-sitemap-section ul {
        padding-left: 25px;
        margin-left: 0px;
    }
}

/* -----> PIE DE PAGINA */

@keyframes pulso-wsp-foot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgb(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.botones-flotantes a {
    font-family: "Lexend", Arial, Helvetica, sans-serif;
    text-decoration: none;
}

/* IZQUIERDA */

.boton-wsp.flot-izq {
    position: fixed;
    bottom: 20px;
    left: 30px;
    z-index: 1000;
    padding: 8px;
    background: #25d366;
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    animation: pulso-wsp-foot 1.7s infinite;
}

.boton-wsp.flot-izq:before {
    content: "\edaa";
    font-family: "Huge Icons" !important;
    color: #fff;
    font-size: 32px;
}


@media(max-width:768px) {
    .boton-wsp.flot-izq {
        bottom: 20px;
        left: 10px !important;
    }
}

/* -----> PAGINA DE INICIO */

.whatsapp-predeterminado{
    background: #fff;
    color: var(--e-global-color-accent);
    padding: 12px 32px;
	font-size: 16px;
	line-height: 18px;
    position: relative;
    display: flex;
    justify-content: center;
    gap: 8px;
    transition: .4s all ease-in-out;
    font-family: var(--e-global-typography-primary-font-family);
}

.whatsapp-predeterminado i{
	font-size: 20px;
}

.whatsapp-predeterminado:hover{
	background: #25d366;
	color: #fff;
}

/* ==============================> Estilos del Carrusel de Banners Web */
.sw-contenedor-banners {
    width: 100%;
    margin: 0 auto;
    overflow: hidden; /* Asegura que el swiper no se desborde */
    position: relative;
}

.sw-carrusel-banners {
    width: 100%;
    height: auto; /* Alto automático */
}

.sw-carrusel-banners .swiper-slide {
    width: 100%;
    height: auto;
    line-height: 0; /* Eliminar espacio bajo las imágenes */
}

.sw-carrusel-banners .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover; /* Asegura que la imagen cubra el área */
}

/* ==============================> Control de Visibilidad por Dispositivo */

/* Por defecto, si existen banners móviles, ocultamos los de escritorio y mostramos solo los de escritorio */
.sw-contenedor-banners .sw-banner-movil {
    display: none !important; /* Ocultar móvil por defecto */
}

/* Mostrar solo el banner de escritorio por defecto (si la clase está presente) */
.sw-contenedor-banners .sw-banner-escritorio {
    display: block !important;
}


/* ==============================> Responsive: Dispositivos Móviles (<= 768px) */
@media (max-width: 768px) {
    
    /* Si existen banners móviles, ocultamos los de escritorio y mostramos los de móvil */
    .sw-contenedor-banners .sw-banner-escritorio {
        display: none !important; /* Ocultar escritorio en móvil */
    }

    /* Mostrar solo el banner de móvil en móvil (si la clase está presente) */
    .sw-contenedor-banners .sw-banner-movil {
        display: block !important;
    }

}

/* ==============================> Estilos de Navegación y Paginación (Opcional) */

/* Paginación - Usando el color primario global */
.sw-paginacion-banners.swiper-pagination-bullets .swiper-pagination-bullet-active {
    background-color: var(--e-global-color-primary, #0070c9); /* Usar variable global o un fallback */
}

/* Navegación (Flechas) - Usando el color primario global */
.sw-nav-prev-banners,
.sw-nav-next-banners {
    color: var(--e-global-color-primary, #0070c9);
}

.sw-nav-prev-banners:hover,
.sw-nav-next-banners:hover {
    opacity: 0.8;
}