/* Coffee Consumables Subcategories Widget Styles */
.consumables-subcategories-widget {
    width: 100%;
    overflow: hidden;
}

.consumables-widget-wrapper {
   
    min-height: 500px;
    position: relative;
    background-color: #d50032;
}
.consumables-title{
    margin-bottom: 32px;
    margin-top: 0;
}
.consumables-description{
    margin-bottom: 32px;
}
/* Left Side Content */
.consumables-content {
    display: flex;
    align-items: center;
    padding: 180px 0;
    width: 100%;

}

.consumables-content-inner {
    width: 100%;
    max-width: 580px;
    color: #ffffff;
}



.consumables-button {
    display: inline-block;
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 10px 20px;
}

.consumables-button:hover {
    background-color: #f0f0f0;
}

/* Right Side Carousel */
.consumables-carousel {
    background-color: #000000;
    position: relative;
    overflow: hidden;
    padding-left: 30px;
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
}

.consumables-carousel .swiper-container {
    width: 100%;
    height: 100%;
}

.consumables-carousel .swiper-slide {
    width: 450px;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Subcategory Card */
.subcategory-card {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    max-width: 450px;
    max-height: 450px;
    border-radius: 8px;
    border: 1px solid #282828;
}

.subcategory-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: end;
    justify-content: center;
}

.subcategory-card-content {
    color: #ffffff;
    width: 100%;
    padding-bottom: 30px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #000 100%);
    text-align: center;
    max-width: 400px;



}

.subcategory-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.subcategory-card-description {
    font-size: 16px;
    line-height: 1.4;
    color: #ffffff;
    opacity: 0.9;
}

/* Navigation Arrow */
.swiper-button-next {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #d50032;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: #ffffff;
}

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

.swiper-button-next svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

/* Gradient Overlay */
.carousel-gradient-overlay {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
    pointer-events: none;
    z-index: 5;
}
@media screen and (max-width:1300px){
    .consumables-widget-wrapper .consumables-content{
        padding-left: 16px;
    }
    
}
@media screen and (max-width:1275px){
    .consumables-widget-wrapper {
        display: flex;
        align-items: stretch;
    }
    .consumables-content {
        padding: 0 16px;
        flex : 0 0 50%;
        background-color: #d50032;
    }
    .consumables-carousel {
        flex: 0 0 50%;
        position: relative;
        height: auto;
        width: auto;
        
    }
}
@media screen and (max-width:1000px) {
    .consumables-widget-wrapper{
        flex-direction: column;
    }
    .consumables-widget-wrapper .swiper-container{
        height: 350px;
    }
    .consumables-widget-wrapper .swiper-slide{
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .consumables-widget-wrapper .consumables-content{
        padding-top: 16px;
        padding-bottom: 16px;
        padding-right: 16px;
    }
    
    
}
@media screen and (max-width:700px){
    .consumables-widget-wrapper .consumables-content .consumables-title{
        font-size: 24px !important;
        margin-bottom: 16px !important;
    }
    .consumables-widget-wrapper .consumables-content .consumables-description{
        font-size: 12px !important;
        margin-bottom: 16px !important;
    }
    .consumables-widget-wrapper .consumables-content .consumables-content-inner{
        max-width: 100%;
    }
    .consumables-widget-wrapper .consumables-content .consumables-button{
        width: 100%;
        text-align: center;
    }
    .consumables-widget-wrapper .subcategory-card .subcategory-card-title{
        font-size: 12px !important;
    }
    .consumables-widget-wrapper .subcategory-card .subcategory-card-description{
        font-size: 12px !important;
    }
}