/* DIVI WOO PRODUCT - ADD TO CART BUTTON */
.woocommerce ul.products li.product .button {
    display: flex;
    justify-content: center;
    margin-top: -50px;
    border-radius: 5px!important;
    opacity: 0;
    line-height: 1.5em;
    font-size: 16px!important;
    font-weight: 600;
    text-align: center;
    padding: 8px 8px 8px 8px!important;
    transition: all 0.3s ease;
    padding-top: 6px;
    padding-bottom: 6px;
    background: var(--et-primary-color);
    color: #fff!important;
    margin-left: 10px;
    margin-right: 10px;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--et-secondary-color);
}

.woocommerce ul.products li.product:hover .button {
    opacity: 1;
    margin-top: -50px;
}

.woocommerce a.added_to_cart {
    display: none;
}

/* DIVI WOO PRODUCT - ADD TO CART BUTTON ICON */
.et_button_icon_visible.woocommerce a.button:after {
    font-family: ETmodules;
    font-size: 16px!important;
    line-height: 1.5em;
    content: "\e07a";
    opacity: 1;
    margin-left: 0.2em;
    position: unset;
    left: auto;
    color: #fff;
    -webkit-transition: all .2s;
    transition: all .2s;
}

/* HIDE ADD TO CART BUTTON ON MOBILE */
@media (max-width: 980px) {
  .woocommerce ul.products li.product .button {
    display: none !important;
  }
  
  .dwe_single_woo_product_add_to_cart a.button, .dwe_single_woo_product_add_to_cart a.add_to_cart_button {
    display: none!important;
  }
}

/* DIVI WOO PRODUCT - PRODUCT GRID SIZE AND SPACE */
@media only screen and (min-width: 981px) {
    .woocommerce-page.columns-4 ul.products li.product,
    .woocommerce.columns-4 ul.products li.product {
        width: 23.5% !important;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        margin: 0 2% 2% 0;
    }

    .woocommerce ul.products li.last,
    .woocommerce-page ul.products li.last {
        margin-right: 0;
    }
}

/* DIVI WOO MODULE - EQUAL GRID */
.woocommerce .products ul, .woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0px;
}


@media only screen and (max-width: 980px) { 
     .et_pb_shop ul.products.columns-4 li.product {
        margin-bottom: 5%!important; 
    }
}

/* DIVI PRODUCT GRID SPACING */
.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
    padding: 10px!important;
}



/* DWE WISHLIST ICON */
.shop-page .dwe_wishlist_enabled .dwe_add_to_wishlist_button, .dwe_wishlist_enabled .dwe_wishlist_modal .dwe_add_to_wishlist_button, .woocommerce .dwe_wishlist_modal .dwe_add_to_wishlist_button, .woocommerce .product .dwe_add_to_wishlist_button {
    padding: 8px;
    background: rgba(255, 255, 255, .8);
    border-radius: 5px;
    margin: 5px 5px 0px 0px;
}

/* DIVI WOO MODULE - PRODUCT IMAGE ZOOM IN ON HOVER */
.woocommerce ul.products li.product {
    overflow: hidden;
    position: relative;
    padding: 0px 0px 15px 0px;
    background: #fff;
    border-radius: 5px;
}

.woocommerce ul.products li.product img {
    transition: transform 0.4s ease;
    display: block;
    width: 100%;
    height: auto;
}

/* Zoom effect on hover */
.woocommerce ul.products li.product:hover img {
    transform: scale(1.1);
}

.woocommerce-page ul.products li.product a img, .woocommerce ul.products li.product a img {
    margin: 0!important;
}

.et_portfolio_image, .et_shop_image {
    overflow: hidden;
    border-radius: 0px;
}

/* DIVI WOO MODULE PAGINATION */
.woocommerce nav.woocommerce-pagination ul {
    border: none!important;
}
.woocommerce nav.woocommerce-pagination ul li {
    border: none!important;
    padding: 0;
    margin-right: 5px;
}

.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
    padding: 10px!important;
    color: #fff!important;
    border-radius: 3px;
    font-weight: 600;
    line-height: 1em;
    background: var(--et-primary-color);
}

.woocommerce nav.woocommerce-pagination ul li span.current { 
    background: var(--et-secondary-color);
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: var(--et-secondary-color);
}

.woocommerce nav.woocommerce-pagination ul li a:focus {
    background: var(--et-secondary-color);
}

/* WOO MODULE ORDER SELECT AND RESULT COUNT */
.woocommerce .woocommerce-ordering select {
    background: #fff;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
}
.woocommerce .woocommerce-result-count {
    color: #555555;
    font-weight: 600;
}

/* BEROCKET FILTER */
.irs--round .irs-handle {
    top: 28px;
    width: 18px;
    height: 18px;
    border: none;
    background: var(--et-primary-color);
}

.irs--round .irs-handle.state_hover, .irs--round .irs-handle:hover {
    background-color: var(--et-secondary-color);
}

.irs--round .irs-bar {
    top: 35px;
    height: 5px;
    background-color: var(--et-secondary-color);
}

.irs--round .irs-from, .irs--round .irs-single, .irs--round .irs-to {
    background-color: var(--et-secondary-color);
    font-family: Manrope;
}

.irs--round .irs-from:before, .irs--round .irs-single:before, .irs--round .irs-to:before {
    border-top-color: var(--et-secondary-color)!important;
}

.berocket_single_filter_widget .bapf-clean-rounded li label {
    display: inline-block !important;
    border: none;
    padding: 3px 15px;
    font-weight: 500;
    border-radius: 5px;
    color: #313131;
    position: relative;
    background: #f2f5fa;
    font-size: 14px;
}

.fa-plus:before {
    font-size: 12px;
}

.bapf_sfilter .bapf_cchild, .bapf_sfilter .bapf_ochild {
    padding: 5px 5px;
    float: right;
}

.bapf_sfilter .bapf_body ul li ul {
    padding-bottom: 5px!important;
}

.bapf-sfa-grey-rounded .berocket_aapf_widget_selected_area li a {
    border: none!important;
    border-radius: 5px;
    background: #fff!important;
    padding: 3px 22px 3px 10px;
    font-weight: 500;
}

.bapf-sfa-grey-rounded .berocket_aapf_widget_selected_area a.braapf_unselect_all { background: none!important;
}

.bapf-sfa-grey-rounded .berocket_aapf_widget_selected_area li a:before {
    font-size: 22px;
    right: 12px;
}

/* DWE WISHLIST */
.dwe_single_woo_product .dwe_add_to_wishlist_button {
    background: rgba(255, 255, 255, .8);
    border-radius: 5px;
}

.dwe_wishlist_button_wrapper {
    top: 0px!important;
    right: 0px!important;
}

/* DWE PRODUCT CAROUSEL */
.dwe_arrows_top_center, .dwe_arrows_top_left, .dwe_arrows_top_right {
    margin-bottom: 20px;
}

.carousel1 .dwe_woo_products_carousel_layout>.dwe_swiper_navigation .swiper-button-next {
    border-radius: 5px;
}

.carousel1 .dwe_woo_products_carousel_layout>.dwe_swiper_navigation .swiper-button-prev {
    border-radius: 5px;
}

.dwe_woo_products_carousel_layout>.dwe_swiper_navigation .swiper-button-prev, .dwe_woo_products_carousel_layout>.dwe_swiper_navigation .swiper-button-next {
    transition: all 0.3s;
}

.dwe_single_woo_product_thumbnail_wrapper {
    border-radius: 0px;
}

/* DWE PRODUCT GRID */
.dwe_woo_products_layout {
    display: flex;
    flex-wrap: wrap;
}

.dwe_woo_products_isotope_item {
    display: flex;
}

.dwe_wishlist_enabled .dwe_woo_products_layout.layout3 .dwe_wishlist_button_on_image {
    top: 10px;
    right: 10px;
}

/* PRODUCT PAGE */
.woocommerce div.product div.images .flex-control-thumbs {
    margin-top: 20px!important;
}

/* FLY CART */
.woofc-area.woofc-style-01 .woofc-inner, .woofc-area.woofc-style-03 .woofc-inner, .woofc-area.woofc-style-02 .woofc-area-bot .woofc-action .woofc-action-inner > div a:hover, .woofc-area.woofc-style-04 .woofc-area-bot .woofc-action .woofc-action-inner > div a:hover {
    background-color: var(--et-primary-color)!important;
}

.woofc-area.woofc-style-01 .woofc-area-bot .woofc-action .woofc-action-inner > div a, .woofc-area.woofc-style-02 .woofc-area-bot .woofc-action .woofc-action-inner > div a, .woofc-area.woofc-style-03 .woofc-area-bot .woofc-action .woofc-action-inner > div a, .woofc-area.woofc-style-04 .woofc-area-bot .woofc-action .woofc-action-inner > div a {
    color: var(--et-primary-color);
 }
 

/* FIX DF SLIDER VS DWE SLIDER */
.swiper-button-next, .swiper-button-prev {
    transform: none!important;
}