/* --- Woo Product Slider CSS --- */

.wpi-slider-container {
    position: relative;
    width: 100%;
    /* Height determined by content (auto) */
    overflow: hidden;
}

.wpi-product-swiper {
    width: 100%;
    /* No fixed height */
}

.wpi-product-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    /* Let image dictate height */
}

.wpi-slider-img {
    width: 100%;
    height: auto;
    /* Maintain aspect ratio */
    display: block;
}

/* Navigation Buttons */
.wpi-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    /* Higher than slides */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpi-nav-button:hover {
    opacity: 0.8;
}

.wpi-prev {
    left: 10px;
}

.wpi-next {
    right: 10px;
}

/* Icons (using Swiper Font if available, or simple CSS arrow fallback) */
.wpi-nav-button:after {
    font-family: swiper-icons;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}

.wpi-next:after {
    content: 'next';
}

.wpi-prev:after {
    content: 'prev';
}