.bean-to-cup-carousel{
    position: relative;
    background-color: #d50032;
}
.bean-to-cup-carousel-wrapper{
    display: flex;
    align-items: center;
    background-color: black;
}
.bean-to-cup-carousel-wrapper>div{
    width: 50%;
}
.bean-to-cup-content{
    padding: 130px 0px;
    background-color: #d50032;
}
.bean-to-cup-content-wrapper{
    max-width: 580px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.bean-to-cup-carousel-wrapper .bean-to-cup-carousel-swiper{
    position: absolute;
    right: 0;
}
/* Product Card Styling */
.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-wrapper {
    text-align: center;
   
}

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

.product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bean-to-cup-carousel-wrapper  .product-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px;
    color: #000000;


}



.product-cta-button {
    display: inline-block;
    background-color: #d50032;
    color: #ffffff;
    text-align: center;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
    width: 100%;
}

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

/* Swiper Container */
.bean-to-cup-carousel-swiper {
    background-color: #000000;
    padding: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.bean-to-cup-carousel-swiper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 240px;
    pointer-events: none; /* Allow clicks to pass through */
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.00) 0%, #000 100%);
    z-index: 5;
}
.bean-to-cup-carousel-swiper .swiper-container {
    width: 100%;
}


/* Hide default Swiper navigation */


/* Responsive adjustments */
@media (max-width: 991px) {
    .bean-to-cup-carousel-wrapper {
        flex-direction: column;
    }
    
    .bean-to-cup-carousel-wrapper > div {
        width: 100%;
    }
    
    .bean-to-cup-content {
        padding: 60px 40px;
    }
}

@media (max-width: 767px) {
    .bean-to-cup-content {
        padding: 40px 30px;
    }
    
    .bean-to-cup-carousel-swiper {
        padding: 30px;
    }
    
    .product-card {
        width: 280px;
    }
}


.bean-to-cup-carousel-swiper .swiper-slide {
    max-width: 320px ;
    height: auto !important;
    display: flex;
}




.custom-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px !important;
    height: 24px !important;
    background-color: #d50032;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.custom-arrow svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

/* Hide default Swiper navigation arrow */
.swiper-button-next:after {
    display: none !important;
}
@media screen and (max-width:600px){
    .bean-to-cup-carousel-swiper .product-image{
        max-width: 150px;
        max-height: 150px;
    }
    .bean-to-cup-carousel-swiper .product-title{
        font-size: 14px !important;
    }
    .bean-to-cup-carousel-swiper .price-from-text, .bean-to-cup-carousel-swiper .prive-value, .bean-to-cup-carousel-swiper .lease-from-text, .bean-to-cup-carousel-swiper .lease-price, .bean-to-cup-carousel-swiper .lease-week-text{
        font-size: 12px !important;
    }
}