@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.weps-product-slider-section {
    font-family: 'Inter', sans-serif;
    position: relative;
    width: 100%;
}

.weps-product-slider-section * {
    box-sizing: border-box;
}

.weps-section-title {
    font-size: 32px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 30px;
    margin-top: 0;
}

.weps-swiper-container-wrapper {
    position: relative;
}

.weps-productSwiper {
    width: 100%;
    padding-bottom: 20px;
    position: static !important; /* Allow buttons to overflow if needed, or rely on container */
}

/* Ensure swiper relies on wrapper relative positioning */
.weps-product-slider-section .swiper {
    position: relative; 
}

.weps-slide {
    display: flex;
    flex-direction: column;
    background-color: #f7f7f7;
    transition: transform 0.3s ease;
    height: auto; /* Allow equal heights usually handled by swiper */
}

.weps-product-link {
    text-decoration: none !important;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.weps-product-image-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.weps-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.weps-product-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
}

.weps-product-title {
    font-size: 14px;
    font-weight: 700;
    color: #222222;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.weps-product-category {
    font-size: 13px;
    color: #888888;
    margin: 0;
    margin-bottom: 8px;
}

.weps-product-prices {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.weps-sale-price {
    font-size: 13px;
    color: #888888;
    font-weight: 500;
}

.weps-sale-price bdi {
    font-weight: 500;
}

.weps-regular-price {
    font-size: 13px;
    color: #bbbbbb;
    text-decoration: line-through;
}

.weps-regular-price bdi {
    text-decoration: line-through;
}

/* Custom Navigation Arrows */
.weps-swiper-container-wrapper .weps-button-next,
.weps-swiper-container-wrapper .weps-button-prev {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: #333333;
    margin-top: -25px;
    position: absolute;
    top: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.weps-swiper-container-wrapper .weps-button-next:after,
.weps-swiper-container-wrapper .weps-button-prev:after {
    font-size: 18px;
    font-weight: bold;
    font-family: 'swiper-icons';
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}

.weps-swiper-container-wrapper .weps-button-prev:after {
    content: 'prev';
}

.weps-swiper-container-wrapper .weps-button-next:after {
    content: 'next';
}

.weps-swiper-container-wrapper .weps-button-prev {
    left: -25px;
}

.weps-swiper-container-wrapper .weps-button-next {
    right: -25px;
}

.weps-swiper-container-wrapper .swiper-button-disabled {
    opacity: 0 !important;
    cursor: auto;
    pointer-events: none;
}

@media (max-width: 768px) {
    .weps-swiper-container-wrapper .weps-button-prev {
        left: -15px;
    }
    .weps-swiper-container-wrapper .weps-button-next {
        right: -15px;
    }
    .weps-swiper-container-wrapper .weps-button-prev,
    .weps-swiper-container-wrapper .weps-button-next {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }
    .weps-swiper-container-wrapper .weps-button-next:after,
    .weps-swiper-container-wrapper .weps-button-prev:after {
        font-size: 14px;
    }
}
