/* Related Products Widget Styles */
.related-products-widget {
    position: relative;
    overflow: hidden;
    padding-bottom: 80px;
}

.related-products-title {
    margin-bottom: 30px;
    color: #000000;
}

.related-products-carousel-wrapper {
    clip-path: inset(-100vw -100vw -100vw -17px);
}
/* Swiper Container */
.related-products-carousel-wrapper .swiper-container {
    overflow: visible;
    width: 100%;
}

.related-products-carousel-wrapper .swiper-slide {
    width: 280px;
    height: auto;
}

/* Product Card */
.product-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 320px;
    margin: 0 auto;
    height: 100%;
    text-align: center;
    
}


.product-image-link {
    display: block;
    margin-bottom: 15px;
    text-align: center;
}

.product-image {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.related-products-widget .product-title {
    margin: 0 0 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-title a {
    color: inherit;
    text-decoration: none;
}

.product-price {
    margin-bottom: 5px;
}









.product-button {
    display: block;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.product-button:hover {
    background-color: #b50029;
}

/* Navigation */
.swiper-button-next {
    position: absolute;
    top: 60%;
    right: 20px;
    transform: translateY(-50%);
    width: 20px !important;
    height: 20px !important;
    background-color: #d50032;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after {
    display: none;
}

/* Gradient Overlay */
.swiper-gradient-overlay {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 220px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
    z-index: 5;
}
.related-products-carousel-wrapper .swiper-slide{
    max-width: 320px ;
    height: auto !important;
    display: flex;


}

/* Responsive Styles */
@media (max-width: 991px) {
    .related-products-title {
        font-size: 28px;
    }
    
    .swiper-gradient-overlay {
        width: 60px;
    }
}

@media screen and (max-width:600px){
    .related-products-carousel-wrapper .product-image{
        max-width: 150px;
        max-height: 150px;
    }
    .related-products-carousel-wrapper .product-title{
        font-size: 14px !important;
    }
    .related-products-carousel-wrapper .price-from-text, .related-products-carousel-wrapper .prive-value, .related-products-carousel-wrapper .lease-from-text, .related-products-carousel-wrapper .lease-price, .related-products-carousel-wrapper .lease-week-text{
        font-size: 12px !important;
    }
    .related-products-widget .related-products-title{
        font-size: 24px !important;
    }
}
