/* 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: 10px 8px 10px 8px!important;
    transition: all 0.3s ease;
    background: var(--gcid-primary-color);
    color: #fff!important;
    margin-left: 10px;
    margin-right: 10px;
    border: none;
}

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

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


.woocommerce a.button:after {
    font-size: inherit!important;
    line-height: inherit;
    position: relative;
    margin-left: 2px!important;
    opacity: 1;
    content: '\e07a';
}

.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;
    }
    
    .woocommerce-page.columns-5 ul.products li.product, .woocommerce.columns-5 ul.products li.product  {
       width: 18.4% !important; 
    }
}

/* 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; 
    }
    
    .woocommerce-page ul.products li.product:nth-child(n) {
        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;
}



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

.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: 5px 0px 5px 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: 5px;
    font-weight: 600;
    line-height: 1em;
    background: var(--gcid-primary-color);
}

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

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

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

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

.woocommerce .woocommerce-breadcrumb {
    margin-bottom: 0px!important;
}

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

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

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

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

.irs--round .irs-from:before, .irs--round .irs-single:before, .irs--round .irs-to:before {
    border-top-color: var(--gcid-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;
}


/* 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(--gcid-primary-color)!important;
    border-radius: 5px;
}

.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(--gcid-primary-color);
 }
 
.woofc-area.woofc-rounded-yes .woofc-inner .woofc-area-mid .woofc-item .woofc-item-inner {
    border-radius: 5px;
}

.woofc-area.woofc-rounded-yes .woofc-inner .woofc-area-bot .woofc-action .woofc-action-inner > div a {
    border-radius: 5px;
}

.woofc-menu-item-inner-subtotal {
    display: none;
}

