/* ======================================================
   PRODUCT SLIDER WRAPPER
====================================================== */

.custom-product-section {
    background: linear-gradient(
        180deg,
        #FDF5D8 90%,
        var(--e-global-color-b1c1909) 10%
    );
    pointer-events: auto;
}


.custom-product-slider{
    position:relative;
    width:100%;
    font-family:'Poppins',sans-serif;
}

.custom-container{
    max-width: 1230px;
    margin: 0 auto;
}

.product-item {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.custom-product-slider .product-slider-wrapper{
    position:relative;
     transition: opacity .3s ease;
}

.product-slider-wrapper.loading{
    opacity:.2;
    transform:translateY(0px);
    pointer-events:none;
}

.custom-width-product-slider{
    display: block !important;
}

/* ======================================================
   CATEGORY TABS
====================================================== */

.custom-product-slider .product-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    padding-bottom: 5px;
    justify-content: center;
}

/* Custom Scrollbar for Category Tabs */
.custom-product-slider .product-tabs::-webkit-scrollbar {
    height: 0px;
}

.custom-product-slider .product-tabs::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 0px;
}

.custom-product-slider .product-tabs::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 0px;
}

.custom-product-slider .product-tab{
    flex-shrink: 0;
    white-space: nowrap;
    position: relative;
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
    color: #000;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    padding: 0 0px 10px 0px;
    transition: .3s;
    font-family: 'Arsenal';
    border-radius: 0;
    margin-right: 40px;
    margin-bottom: 0px;
    text-transform: capitalize;
}

.custom-product-slider .product-tab:last-child{
    margin-right: 0px;
}

.custom-product-slider .product-tab:hover,
.custom-product-slider .product-tab:focus,
.custom-product-slider .product-tab:active{
    color:#D81F26;
    outline:none;
    border:none;
    box-shadow:none;
}

.custom-product-slider .product-tab::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-1px;
    width:0;
    height:1px;
    background:#D81F26;
    transition:width .3s ease;
}

.custom-product-slider .product-tab:hover::after,
.custom-product-slider .product-tab:focus::after,
.custom-product-slider .product-tab.active::after{
    width:100%;
}

/* ======================================================
   LOADER
====================================================== */

.custom-product-slider .loading-products{

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:20px;

    font-weight:600;

    color:#D81F26;

}

/* ======================================================
   SWIPER
====================================================== */

.custom-product-slider .product-swiper{

    overflow:hidden;

    position:relative;

    padding-bottom:0px;

}

.custom-product-slider .swiper-wrapper{

    align-items:stretch;

}

.custom-product-slider .swiper-slide{

    height:auto;

}


/* ===================================================
   PRODUCT ITEM
=================================================== */

.custom-product-slider .product-item{
    display:flex;
    flex-direction:column;
    height:100%;
    background:transparent;
}

.custom-product-slider .swiper-slide{
    height:auto;
}

/* ===================================================
   IMAGE AREA
=================================================== */

.product-images-container{
    background:transparent !important;
}

.product-images-container{
    position:relative;
    overflow:hidden;
    height:430px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.custom-product-slider .product-images-link{
    display:block;
    flex:1;
    position:relative;

}

.custom-product-slider .product-images-inner{
    position:relative;
    width:100%;
    height:100%;
}

/* ===================================================
   FOOD SHOT
=================================================== */

.custom-product-slider .product-food-shot{
    position:absolute;
    left:5%;
    bottom:0;
    max-width:350px;
    max-height:248px;
    object-fit:contain;
    z-index:1;
    transition:.35s;
}

.custom-product-slider .product-item:hover .product-food-shot{
    transform:scale(1.05);
}

/* ===================================================
   PACKSHOT
=================================================== */

.custom-product-slider .product-packshot{
    position: absolute;
    right: -35px;
    bottom: 0%;
    max-width: 223px;
    max-height: 205px;
    object-fit: contain;
    z-index: 2;
    transition: .35s;
}

.custom-product-slider .product-item:hover .product-packshot{
    transform:translateY(-8px);
}

/* ===================================================
   CONTENT
=================================================== */

.custom-product-slider .product-content{
    text-align: center;
    padding: 40px 20px 0px 20px;
    position: relative;
    z-index: 5;
}

.custom-product-slider .product-title{
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1em;
    font-family: 'Arsenal';
}

.custom-product-slider .product-title a{
    color:#000;
    text-decoration:none;
}

.custom-product-slider .product-title a:hover{
    color:#c52b2b;
}

/* ===================================================
   KNOW MORE BUTTON
=================================================== */

.custom-product-slider .know-more-btn{
display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #B61D22;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Arsenal';
}

/* ===================================================
   EXPLORE RANGE BUTTON
=================================================== */

.custom-product-slider .explore-range-wrapper{
    text-align:center;
    margin-top:45px;
}

.custom-product-slider .swiper-button-prev,
.custom-product-slider .swiper-button-next{
    display:none;
}
/* ============================================
   PAGINATION
============================================ */

.custom-product-slider .swiper-pagination {
    position: relative;
    margin-top: 35px;
    bottom: 0 !important;
}

.custom-product-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #D0D0D0;
    opacity: 1;
    margin: 0 5px !important;
}

.custom-product-slider .swiper-pagination-bullet-active {
    background: #D71920;
}

/* ============================================
   EXPLORE RANGE BUTTON
============================================ */

.custom-product-slider .explore-range-wrapper {
    text-align: center;
    margin-top: 30px;
}

.custom-product-slider .explore-range-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    border: 2px solid #D71920;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: .35s;
    background: #D71920;
    padding: 10px 30px;
    font-family: var( --e-global-typography-b6922e2-font-family ), Sans-serif;
}

.custom-product-slider .explore-range-btn:hover {
    background: #fff;
    color: #D71920;
    border:2px solid #D71920;
}

/* ============================================
   NO PRODUCTS
============================================ */

.custom-product-slider .no-products {
    text-align: center;
    padding: 80px 20px;
}

.custom-product-slider .no-products h3 {
    margin: 0;
    font-size: 20px;
    color: #666;
}

/* ============================================
   HOVER EFFECTS
============================================ */

.custom-product-slider .product-item:hover .product-food-shot {
    transform: translateY(-8px) scale(1.04);
}

.custom-product-slider .product-item:hover .product-packshot {
    transform: translateY(-10px);
}

.custom-product-slider .product-item:hover .know-more-btn {
    color: #B11217;
}

/* ============================================
   RESPONSIVE
============================================ */

/* Product Dropdown css start */
.product-dropdown{
    position: relative;
    width: 100%;
    display: none;
}

.custom-product-slider .product-dropdown-toggle{
    width: 100%;
    height: 52px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #D9D9D9;
    border-radius: 50px;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Arsenal';
    letter-spacing: 1px;
    position: relative;
}

.product-dropdown-menu{
    position: absolute;
    top: calc(100% + -15px);
    left: 0;
    right: 0;          /* Makes menu same width as button */
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #D9D9D9;
    border-radius: 16px;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    display: none;
    z-index: 999;
    width: calc(100% - 20px);
    left: 10px;
    padding: 10px;
}

.product-dropdown-menu .product-dropdown-item{
    color: #000;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Arsenal';
    letter-spacing: 1px;
}

.product-dropdown-toggle::after{
    content: "";
    position: absolute;
    top: 50%;
    right: 22px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: translateY(-70%) rotate(45deg);
    transition: transform .3s ease;
}

/* Rotate when open */
.product-dropdown.open .product-dropdown-toggle::after{
    transform: translateY(-30%) rotate(-135deg);
}


.selected-category{
    text-transform: capitalize;
}

.product-dropdown-item{
    text-transform: capitalize;
}

.custom-product-slider .product-dropdown-toggle,
.custom-product-slider .product-dropdown-toggle:hover,
.custom-product-slider .product-dropdown-toggle:focus,
.custom-product-slider .product-dropdown-toggle:active{
    border: 1px solid #D9D9D9 !important;
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none !important;
}
.product-dropdown-menu li{
    margin-bottom: 8px;
}
/* Product dropdoen css end */

@media (max-width:1024px){

    .custom-product-slider .product-images-container{
        height:340px;
    }

    .custom-product-slider .product-food-shot{
        width:72%;
    }

    .custom-product-slider .product-packshot{
        width:34%;
    }

}

@media screen and (min-device-width: 768px) and (max-device-width: 991px){
    .custom-product-slider .product-packshot{
        right: 15px;
        bottom: 0%;
    }
}

@media (max-width:767px){

    .product-tabs{
        display:none;
    }

    .product-dropdown{
        display:block;
        padding: 0px 10px 21px 10px;
    }

    .custom-product-slider .product-content {
        padding: 30px 20px 20px 20px;
    }

    .custom-product-slider .product-title{
        font-size:18px;
    }

    .custom-product-slider .know-more-btn{
        font-size:15px;
    }

    .custom-product-slider .swiper-button-prev,
    .custom-product-slider .swiper-button-next{
        display:none;
    }

    .custom-product-slider .product-packshot{
        right: 16px;
        bottom: 5%;

    }
    .custom-product-slider .product-food-shot {
        left: 5%;
        bottom: -20px;
    }
    .custom-product-slider .swiper-pagination{
        margin-top: 10px !important;
    }
    .custom-product-slider .explore-range-btn{
            padding: 12px 30px;
            width: 100%;
            font-size: 16px;
            font-weight: 700;
    }
    .explore-range-wrapper{
        padding: 0 10px;

    }

    .custom-product-slider .product-tabs {
        display: none;
    }


    .custom-product-section {
        background: linear-gradient(180deg, #FDF5D8 0%, var(--e-global-color-b1c1909) 34%);
    }

}

@media (max-width:480px){
    .custom-product-slider .product-images-container{
        height: 280px;
    }
}