.elementor-557 .elementor-element.elementor-element-f07d556{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--padding-top:100px;--padding-bottom:100px;--padding-left:10px;--padding-right:10px;}.elementor-557 .elementor-element.elementor-element-b667ff3{--display:flex;}.elementor-557 .elementor-element.elementor-element-d7de3a0{--display:flex;}.elementor-557 .elementor-element.elementor-element-fd69e79{padding:0px 0px 0px 0px;top:0px;z-index:0;}body:not(.rtl) .elementor-557 .elementor-element.elementor-element-fd69e79{left:0px;}body.rtl .elementor-557 .elementor-element.elementor-element-fd69e79{right:0px;}.elementor-widget-woocommerce-product-title .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-557 .elementor-element.elementor-element-dbe6a21 .elementor-heading-title{font-family:"Montserrat", Sans-serif;font-size:24px;font-weight:600;color:#0A2540;}.elementor-widget-woocommerce-product-content{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-557 .elementor-element.elementor-element-5a73410{color:#111827;}.elementor-widget-button .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-557 .elementor-element.elementor-element-d1e32c5 .elementor-button{background-color:#0A2540;border-radius:30px 30px 30px 30px;}@media(max-width:1024px){.elementor-557 .elementor-element.elementor-element-f07d556{--padding-top:50px;--padding-bottom:50px;--padding-left:10px;--padding-right:10px;}}/* Start custom CSS for woocommerce-product-images, class: .elementor-element-e87d850 *//* ============================================================
   1. SLIDER PRINCIPAL (IMAGEN GRANDE) - ESCRITORIO (> 767px)
   ============================================================ */

/* Altura fija de 504px para todos los contenedores del slider grande */
.wcgs-woocommerce-product-gallery .spswiper:not(.gallery-navigation-carousel),
.wcgs-woocommerce-product-gallery .spswiper:not(.gallery-navigation-carousel) .spswiper-wrapper,
.wcgs-woocommerce-product-gallery .spswiper:not(.gallery-navigation-carousel) .spswiper-slide {
    height: 504px !important;
    max-height: 504px !important;
}

/* Centrar cada slide con flexbox */
.wcgs-woocommerce-product-gallery .spswiper:not(.gallery-navigation-carousel) .spswiper-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background-color: #ffffff !important;
}

/* Forzar CONTAIN y anular el estiramiento en la imagen grande */
.wcgs-woocommerce-product-gallery .spswiper:not(.gallery-navigation-carousel) .spswiper-slide img {
    max-height: 504px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
}


/* ============================================================
   2. SLIDER PRINCIPAL (IMAGEN GRANDE) - MÓVIL (<= 767px)
   ============================================================ */
@media (max-width: 767px) {
    .wcgs-woocommerce-product-gallery .spswiper:not(.gallery-navigation-carousel),
    .wcgs-woocommerce-product-gallery .spswiper:not(.gallery-navigation-carousel) .spswiper-wrapper,
    .wcgs-woocommerce-product-gallery .spswiper:not(.gallery-navigation-carousel) .spswiper-slide {
        height: 368px !important;
        max-height: 368px !important;
    }

    .wcgs-woocommerce-product-gallery .spswiper:not(.gallery-navigation-carousel) .spswiper-slide img {
        max-height: 368px !important;
    }
}


/* ============================================================
   3. MINIATURAS (THUMBNAILS INFERIORES) - `.gallery-navigation-carousel`
   ============================================================ */

/* 1. Contenedor general del carrusel de miniaturas */
.gallery-navigation-carousel-wrapper,
.gallery-navigation-carousel,
.gallery-navigation-carousel .spswiper-wrapper {
    height: 85px !important;
    max-height: 85px !important;
}

/* 2. Caja individual de cada miniatura */
.gallery-navigation-carousel .spswiper-slide {
    height: 85px !important;
    max-height: 85px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    padding: 3px !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    outline: none !important;
}

/* 3. Borde azul ÚNICAMENTE para la miniatura seleccionada */
.gallery-navigation-carousel .spswiper-slide.spswiper-slide-thumb-active {
    border: 2px solid #3483fa !important;
}

/* Marco gris normal a los demás slides */
.gallery-navigation-carousel .spswiper-slide-active:not(.spswiper-slide-thumb-active) {
    border: 1px solid #e0e0e0 !important;
}

/* 4. Limpieza de bordes internos dentro de las miniaturas */
.gallery-navigation-carousel .spswiper-slide img,
.gallery-navigation-carousel .spswiper-slide a,
.gallery-navigation-carousel .spswiper-slide a img {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
}

/* 5. Ajustar flechas de navegación de las miniaturas */
.gallery-navigation-carousel .wcgs-spswiper-button-next,
.gallery-navigation-carousel .wcgs-spswiper-button-prev {
    height: 85px !important;
    line-height: 85px !important;
    top: 0 !important;
    margin-top: 0 !important;
}


/* ============================================================
   4. ACTIVACIÓN DE LIGHTBOX (FANCYBOX) EN MÓVIL
   ============================================================ */
@media (max-width: 767px) {
    /* Contenedor relativo de la imagen */
    .wcgs-slider-image {
        position: relative !important;
    }

    /* Expandir la etiqueta <a> de Fancybox sobre toda la foto */
    a.wcgs-slider-lightbox {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 10 !important;
        display: block !important;
        cursor: pointer !important;
        pointer-events: auto !important;
    }

    /* Traspassar eventos de la imagen a la capa <a> */
    .wcgs-slider-image-tag {
        pointer-events: none !important;
    }
}/* End custom CSS */
/* Start custom CSS *//* Sticky */
@media (min-width: 768px) { 
  .sticky-pc-tablet {
    position: -webkit-sticky; 
    position: sticky;
    top: 120px;
  }
}/* End custom CSS */