/* =============================================
   SLIDER DE GALERÍA DE PRODUCTO WOOCOMMERCE
   INDEPENDIENTE DEL CPT OUTLET
   ============================================= */

.product-gallery-slider {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    opacity: 1 !important;
}

.product-gallery-slider .swiper-slide {
    position: relative;
    height: auto !important;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-gallery-slider .swiper-slide:hover {
    transform: translateY(-2px);
    z-index: 2;
}

.product-gallery-slider .slide-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.product-gallery-slider .slide-image-wrapper img {
    display: block;
    transition: transform 0.5s ease;
}

.product-gallery-slider .slide-image-wrapper:hover img {
    transform: scale(1.03);
}

/* OCULTAR flechas nativas de Swiper */
.product-gallery-slider .swiper-button-next,
.product-gallery-slider .swiper-button-prev,
.product-gallery-slider .swiper-button-next:after,
.product-gallery-slider .swiper-button-prev:after {
    display: none !important;
}

/* Flechas personalizadas */
.product-gallery-slider .product-swiper-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-gallery-slider .product-swiper-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.product-gallery-slider .product-swiper-arrow svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

.product-gallery-slider .product-swiper-button-prev {
    left: 15px;
}

.product-gallery-slider .product-swiper-button-next {
    right: 15px;
}

/* Puntos */
.product-gallery-slider .swiper-pagination {
    position: absolute;
    bottom: 10px;
    text-align: center;
    z-index: 10;
}

.product-gallery-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    display: inline-block;
    opacity: 0.5;
    background: #ffffff;
}

.product-gallery-slider .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .product-gallery-slider .product-swiper-arrow {
        width: 30px;
        height: 30px;
    }
    .product-gallery-slider .product-swiper-arrow svg {
        width: 14px;
        height: 14px;
    }
    .product-gallery-slider .product-swiper-button-prev {
        left: 8px;
    }
    .product-gallery-slider .product-swiper-button-next {
        right: 8px;
    }
}

@media (max-width: 480px) {
    .product-gallery-slider .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
}

/* Grid fix */
.woocommerce .product-gallery-slider,
.elementor-widget-product_gallery_slider .product-gallery-slider {
    width: 100%;
}
