/*
 Theme Name:   Bercar
 Theme URI:    www.fusionn.digital
 Description:  A child theme of Twenty Twenty-One WordPress theme.
 Author:       Fusionn.digital
 Author URI:   www.fusionn.digital
 Template:     twentytwentyone
 Version:      1.0.0
*/ 


.category-section .elementor-widget-shortcode, 
.bestseller-section .elementor-widget-shortcode{
    width: calc(100vw - 20px);
    margin-left: auto;
    margin-right: calc(-50vw + 50% + 10px);
    max-width: unset !important;
}

.category-section .custom-slider-controls, .bestseller-section .custom-slider-controls{
    display: flex;
    gap: 16px;
    position: absolute;
    top: -94px;
    z-index: 1;
    right: auto;
    max-width: 1248px;
    left: 0;
    justify-content: flex-end;
    width: 100%;
}
.custom-category-list, .bestseller-section ul.products, .insta-feed-slider #sbi_images, .related-products{
    display: flex !important;
    gap: 24px;
    padding-left: 0;
    width: 100% !important;
    max-width: 5000px;
    white-space: nowrap;
    padding-bottom: 50px;
    overflow-x: scroll;
    transition: all 0.3s ease-in-out;
    scroll-behavior: smooth;
    padding-right: 120px;
}
.bestseller-section ul.products li.product a.button{
    top: 0 !important;
}
.bestseller-section .product-short-description{
    white-space: normal;
}
.custom-category-list::-webkit-scrollbar, .bestseller-products::-webkit-scrollbar{
    height: 2px;
    background: #e9e4de;
    border-radius: 126px;
}
.custom-category-list::-webkit-scrollbar-thumb, .bestseller-products::-webkit-scrollbar-thumb{
    height: 2px;
    background-color:#121212;
    border-radius: 50px;
}
.insta-feed-slider #sbi_images::-webkit-scrollbar{
    opacity: 0;
     height: 0;
}
.custom-category-list .custom-category-item, .bestseller-section ul.products .product, .insta-feed-slider #sbi_images .sbi_item, .related-products .product{
    min-width: 294px;
}
.custom-category-list .custom-category-item img {
    width: 100%;
    max-width: 100%;
    padding: 20%;
    background: #fff;
    border-radius: 16px !important;
    margin-bottom: 16px;
}
.custom-category-list h3 {
    font-size: 20px !important;
    font-weight: 400;
    font-family: inherit !important;
}

.custom-slider-controls .nav-btn {
    border-radius: 50%;
    width: 48px;
    display: flex;
    height: 48px;
    border: 2px solid #e8e8ec;
    justify-content: center;
    align-items: center;
    color: #ec1666;
    cursor: pointer;
    background: #f8f8f7;
    position: relative;
    z-index: 1;
}
.custom-slider-controls .nav-btn .fa{
    opacity: 0.6;
}
.custom-slider-controls .nav-btn:hover .fa{
    opacity: 1;
}
.custom-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}
.custom-pagination span.dot {
    width: 10px;
    height: 10px;
    display: inline-block;
    background: #323231;
    border-radius: 50%;
}
/* Product css start */

.bestseller-section ul.products{
    display: flex;
    gap: 24px;;
   }
   .products:before{
	content: unset !important;
   }
   ul.products li.product, .shop-archive-wrapper .products-area ul.products li.product{
    position: relative;
	margin:0 !important;
	width: 100% !important;
	max-width: 100% !important;
	justify-content: flex-start;
  }
  ul.products .product .woocommerce-loop-product__title {
    font-size: 20px !important;
    color: #000 !important;
    font-weight: 500 !important;
    font-family: inherit;
	margin-bottom: 8px !important;
    line-height: normal !important;
    white-space: normal;
}
ul.products .product .attribute-values, .single-product-wrapper .attribute-values {
    font-size: 16px !important;
    color: #000 !important;
    margin-bottom: 12px !important;
	display: flex;
    gap: 18px;
}
ul.products .product  span.pipe, .single-product-wrapper .attribute-values span.pipe {
    color: #e0e0f2 !important;
}
ul.products li.product .size-woocommerce_thumbnail{
	width: 100% !important;
	max-width:100% !important;
	height: auto !important;
	padding: 20% !important;
    background: #fff !important;
	border-radius: 16px;
}
ul.products li.product a.button {
    position: absolute;
    width: 100%;
    height: 100%;
	opacity: 0;
}
ul.products .product .product-tags {
    position: absolute;
    top: 20px;
    left: 30px;
}
ul.products .product span.tagged_as {
    display: flex;
    gap: 10px;
	flex-wrap: wrap;
}

ul.products .product span.tagged_as .tag{
	display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    border: 2px solid #eaeaee;
    background: #fff;
    text-decoration: none;
    font-size: 12px !important;
    color: #000;
    font-weight: 500;
	text-transform: capitalize;
}
ul.products .product span.tagged_as .last-few-left {
    background: #ff9500 !important;
    color: #fff;
}
ul.products .product-short-description p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Location distributions Css */
.distribution-section #wpsl-wrap {
    display: flex;
    flex-direction: column;
}
.distribution-section .wpsl-search.wpsl-clearfix.wpsl-no-filters {
    order: 2;
    margin: 48px 0;
    background: unset;
}
.distribution-section #wpsl-gmap {
    order: 1;
    border-radius: 16px;
}
.distribution-section #wpsl-result-list {
    order: 3;
}
.distribution-section #wpsl-stores {
    height: auto !important;
}
.distribution-section #wpsl-stores ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc(100% / 4), 1fr));
    gap: 20px;
}
.distribution-section #wpsl-result-list a {
    outline: 0;
    color: #EC1666;
    font-size: 14px;
    text-transform: capitalize;
}
.wpsl-store-location strong {
    color: #000;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 8px;
    display: inline-block;
}
.wpsl-input{
    display: block !important;
    width: 100% !important;
    max-width: 45% !important;
    min-width: 300px;
    position: relative;
}
#wpsl-search-wrap #wpsl-search-input{
    width: 100% !important;
    max-width: 100% !important;
    padding: 5px 40px;
    border-color: #D0D5DD !important;
    border-radius: 8px;
}
#wpsl-search-wrap #wpsl-search-input:focus{
    outline: unset !important;
}
.wpsl-store-location #wpsl-search-wrap form{
  display: flex !important;
  align-items: center !important;
}
#wpsl-search-wrap .wpsl-input label{
    display: none !important;
}
#wpsl-search-wrap .wpsl-input:after {
    content: "\f002";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    left: 10px;
    top: 10px;
    opacity: 0.7;
    position: absolute;
}
.event_wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc(100% / 4), 1fr));
    gap: 24px;
}
.event_wrapper .featured_img img {
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}
.event_wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc(100% / 5 + 100px), 1fr));
    gap: 24px;
}
.event_wrapper .featured_img img {
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    height: 230px !important;
}
.event_box .info_box {
    margin-top: 24px;
}
.event_box span.location {
    font-size: 16px !important;
    font-weight: 500;
    color: #EC1666;
    text-transform: capitalize;
    margin-bottom: 10px;
    display: inline-block;   
}
.event_wrapper .event_name{
    font-size: 24px;
}
.event_box {
    position: relative;
}
.event_box .info_box p{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 10px 0;
}
.event_box .event_info {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: 14px;
    color: #000;
}
.event_box a.event_link {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    display: inline-block;
    cursor: pointer;
    opacity: 0;
}
.event-section .pagination {
    border: unset;
    margin: 64px 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.event-section .pagination .numbers{
    display: flex;
    align-items: center;
}
.event-section .pagination .numbers span.current{
    background: #ec1666;
    font-weight: 500;
    color: #fff !important;
}
.event-section .pagination .numbers span.current, .event-section .pagination .numbers a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 12px;
    color: #8e8e93;
}
.event-section .pagination .pre-next a, .event-section .pagination .pre-next{
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px !important;
}
.event-section .pagination .pre-next:hover, .event-section .pagination .pre-next a:hover{
    color: #EC1666;
}
/* megamenu submenu */
.sub-categories{
    position: relative;
}
.sub-categories:after{
    content: "";
    font-family: dashicons;
    position: absolute;
    top: 8px;
    right: 25px;
    transition: all 0.3s ease-in-out;
}
.sub-categories:hover:after{
    color: #EC1666;
    transform: rotate(180deg);
    transition: all 0.3s ease-in-out;
}
.active-subcategories .sub-menu{
   display: block !important;
}
.sub-categories .sub-menu {
    display: none;
    transition: all 0.3s ease-in-out;
}
.sub-categories:hover .sub-menu{
    display: block;
    transition: all 0.3s ease-in-out;
} 

/*  */

@media(max-width:1386px){
    .category-section .custom-slider-controls, .bestseller-section .custom-slider-controls{
        right: 94px;
        left: auto;
        max-width: unset;
    }
}
@media(max-width:767px){
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
        padding: 0px !important;
    }
    .bercar_header.header-sticky-active{
        position: fixed !important;
        background: #fff !important;
    }
    .distribution-section #wpsl-stores ul {
        grid-template-columns: repeat(auto-fill, minmax(calc(100% / 4 + 90px), 1fr));
    }
    .custom-category-list .custom-category-item, .bestseller-section ul.products .product, .insta-feed-slider #sbi_images .sbi_item{
        min-width: 180px;
    }
    .custom-category-list, .bestseller-section ul.products, .insta-feed-slider #sbi_images, .related-products{
        gap: 16px !important;
    }
    .product .product-tags {
		top: 15px !important;
        left: 15px !important;
	}
    .event-section .pagination .pre-next span{
       display: none;
    }
    .sub-categories:hover .sub-menu{
        display: none;
        transition: all 0.3s ease-in-out;
    } 
   
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item nav{
        display: none;
    }
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item.active-mega-menu-item nav{
       display: block;
    }
    #mega-menu-wrap-primary nav.menu-label-menu-container {
        display: block !important;
    }
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item.active-mega-menu-item {
        position: fixed;
        height: 100vh;
        background: #fff !important;
        top: 121px;
        bottom: 0 !important;
        z-index: 9999;
        left: 0;
        right: 0;
        padding: 25px 15px 0 15px !important;
        overflow-y: auto;
    }
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu, #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu.mega-menu-item.mega-toggle-on ul.mega-sub-menu{
        box-shadow: unset !important;
    }
    #mega-menu-primary .menu-item {
        padding: 15px 0 !important;
    }
    #mega-menu-primary .mega-menu-item {
        padding: 12px 0 !important;
      
    }
    #mega-menu-primary .mega-menu-megamenu .mega-sub-menu{
        display: none !important;
    }
    #mega-menu-primary .mega-menu-megamenu.mega-menu-megamenu-active .mega-sub-menu{
        display: block !important;
    }
    #mega-menu-primary .mega-menu-megamenu.mega-menu-megamenu-active {
        background: #fff !important;
        height: 100% !important;
    }
    #mega-menu-primary  ul#menu-label-menu {
        border-bottom: 2px solid #f2f2f7;
        padding-bottom: 10px;
    }
    #mega-menu-primary #menu-label-menu .menu-item > a{
        font-weight: 500;
        font-size: 16px;
        color: #000;
    }
    .active-subcategories > a{
        color: #EC1666 !important;
        padding-bottom: 12px;
        display: inline-block;
    }
    .active-subcategories:after{
        color: #EC1666;
        transform: rotate(180deg) !important;
        transition: all 0.3s ease-in-out;
    }
    .sub-categories:hover:after{
        transform: unset;
    }
    #mega-menu-primary .sub-categories:after{
        right: 0 ;
        top: 16px !important;
    }
    #mega-menu-primary .mega-menu-item.active-mega-menu-item h4.mega-block-title{
        padding-left: 25px !important;
        font-size: 14px !important;
        color: #8e8e93 !important;
        font-weight: 500 !important;
    }
    #mega-menu-primary .mega-menu-item h4.mega-block-title{
        position: relative !important;
        color: #000 !important;
        font-weight: 400  !important;
        font-size: 16px  !important;
    }
    #mega-menu-primary .active-mega-menu-item h4.mega-block-title:before {
        content: "";
        font-family: dashicons;
        transform: rotate(90deg);
        display: inline-block;
        position: absolute;
        left: 0;
    }
    #mega-menu-primary .active-mega-menu-item h4.mega-block-title::after{
        content: unset;
    }
    #mega-menu-primary h4.mega-block-title::after{
        content: "";
        font-family: dashicons;
        transform: rotate(270deg);
        display: inline-block;
        position: absolute;
        right: 0;
    }

#mega-menu-item-83.mega-menu-megamenu-active > .mega-menu-link {
    position: relative;
 }
 #mega-menu-item-83.mega-menu-megamenu-active .mega-menu-link:before{
     position: absolute !important;
     content: "Back" !important;
     left:0 !important;
     right:0 !important;
     top:0 !important;
     bottom:0 !important;
     background:#fff !important;
     width:100% !important;
     height:100% !important;
     padding-left: 40px !important;
     margin: 0 !important;
     font-size: 14px !important;
     color: #8e8e93 !important;
     font-weight: 500 !important;
 }
 #mega-menu-item-83 span.mega-indicator:after{
    content: "" !important;
    transform: rotate(270deg) !important;
 }
 #mega-menu-item-83.mega-menu-megamenu-active .mega-indicator{
    position: absolute !important;
    left: 10px !important;
    top: 3px;
 }
 #mega-menu-item-83.mega-menu-megamenu-active .mega-indicator:after{
       content: "" !important;
       transform: rotate(90deg) !important;
       left: 0 !important;
       color: #8e8e93 !important;
 }
 .category-section .custom-slider-controls, .bestseller-section .custom-slider-controls{
    position: unset;
    width: 100%;
    justify-content: space-between;
    padding-right: 15px;
 }
 .custom-bestseller-wrapper .bestseller-products .attribute-values{
    gap:8px !important;
 }
 .custom-category-list::-webkit-scrollbar, .bestseller-products::-webkit-scrollbar{
    height: 0;
    display: none;
 }
 .custom-category-wrapper .custom-pagination, .custom-bestseller-wrapper .custom-pagination{
    width: 80%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background: #f2f2f7;
    height: 4px;
    border-radius: 16px;
    margin-top: -24px;
    margin-right: 12%;
}
.custom-pagination .pagination-dot {
    background: #f2f2f7;
    width: 100%;
    height: 4px;
    border-radius: 16px;
}
.custom-pagination .pagination-dot.active {
    width: 83px;
    background: #000;
}
 
}
@media(max-width:520px){
    .custom-category-list .custom-category-item, .bestseller-section ul.products .product, .insta-feed-slider #sbi_images .sbi_item{
        min-width: 144px;
    }
}