/*
Theme Name: Shoptimizer Child Theme
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 1.2.5e
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/

/* header */

.top-bar svg {
    margin-bottom: -5px;
    color: #6bff62;
}

/* translate press language switcher */

.trp-language-switcher .trp-ls-shortcode-current-language, .trp-language-switcher > div, .trp-language-switcher > div > a:hover {
	background: none;
	    border: none;
}
.trp-language-switcher > div > a > img {
	width: 30px;
	height: 30px;
	color: #fff;
}

.jet-menu-container .jet-sub-mega-menu a:hover {
	text-decoration: underline!important;
}
.trp-language-switcher > div {
    border: none!important;
}

.main-navigation ul ul, .secondary-navigation ul ul {
	background: #ffffff;
}

/* facetwp */

#secondary .widget {
    border-bottom: none;
    margin-bottom: 16px;
    padding-bottom: 10px;
}

#secondary .widget .widget-title {
    font-size: 16px;
}
.woocommerce .facetwp-facet {
    margin-bottom: 0;
    font-size: 14px;
}
.facetwp-facet .facetwp-slider-reset {
    display: none;
}
.facetwp-facet .facetwp-checkbox {
    background: none;
    position: relative;
}
.facetwp-facet .facetwp-checkbox.checked {
    background: none;
}
.facetwp-facet .facetwp-checkbox:before {
    content: "";
    width: 12px;
    height: 12px;
    border: 1px solid #000;
    display: block;
    position: absolute;
    left: 0;
    bottom: 5px;
}
.facetwp-facet .facetwp-checkbox.checked:before {
    background-color: #3bb54a;
}

.shop-loop-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.shop-loop-footer__result {
    flex: 0 0 auto;
}

.shop-loop-footer__pager {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.shop-loop-footer__ordering {
    flex: 0 0 auto;
    margin-left: auto;
}

.shop-loop-footer__ordering .woocommerce-ordering {
    margin: 0;
}

.shop-loop-footer__ordering select.orderby {
    min-width: 220px;
}

@media (max-width: 768px) {
    .shop-loop-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .shop-loop-footer__pager {
        justify-content: flex-start;
    }

    .shop-loop-footer__ordering {
        margin-left: 0;
    }
}

/* pdp product page */

.wpc-select2-dropdown ul li .info .desc .amount {
    display: none;
}

.woocommerce-tabs .woocommerce-Tabs-panel.commercekit-Tabs-panel--additional_information {
        background-color: #f8f8f8;
}

/* cart */
.shoptimizer-mini-cart-wrap .widget_shopping_cart .woocommerce-mini-cart-item.wooco-item-child .amount{
    display: none;
}


/* below content */

.below-content svg {
    color: #6bff62;
}

/* checkout wc */
.commercekit-order-bump .ckobp-image img {
    height: auto;
}

@media (max-width: 768px) {
    
  ul.products li.product.purchasable  .woocommerce-loop-product__title, ul.products li.product.purchasable .price {
      max-width: calc(100% - 50px);
  }
   .site ul.products li.product .add_to_cart_button.ajax_add_to_cart {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px; 
        height: 40px;
        padding: 0;
        overflow: hidden;
        text-indent: -9999px;

        border: none;
        position: absolute;
        right: 10px;
        bottom: 10px;

    }
    .site ul.products li.product .add_to_cart_button.ajax_add_to_cart.added {
        display: none;
    }
    .add_to_cart_button.ajax_add_to_cart::before {
        content: "";
        display: block;
        width: 24px; 
        height: 24px;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="white"><path d="M 4 7 C 3.449219 7 3 7.449219 3 8 C 3 8.550781 3.449219 9 4 9 L 6.21875 9 L 8.84375 19.5 C 9.066406 20.390625 9.863281 21 10.78125 21 L 23.25 21 C 24.152344 21 24.917969 20.402344 25.15625 19.53125 L 27.75 10 L 25.65625 10 L 23.25 19 L 10.78125 19 L 8.15625 8.5 C 7.933594 7.609375 7.136719 7 6.21875 7 Z M 22 21 C 20.355469 21 19 22.355469 19 24 C 19 25.644531 20.355469 27 22 27 C 23.644531 27 25 25.644531 25 24 C 25 22.355469 23.644531 21 22 21 Z M 13 21 C 11.355469 21 10 22.355469 10 24 C 10 25.644531 11.355469 27 13 27 C 14.644531 27 16 25.644531 16 24 C 16 22.355469 14.644531 21 13 21 Z M 16 7 L 16 10 L 13 10 L 13 12 L 16 12 L 16 15 L 18 15 L 18 12 L 21 12 L 21 10 L 18 10 L 18 7 Z M 13 23 C 13.5625 23 14 23.4375 14 24 C 14 24.5625 13.5625 25 13 25 C 12.4375 25 12 24.5625 12 24 C 12 23.4375 12.4375 23 13 23 Z M 22 23 C 22.5625 23 23 23.4375 23 24 C 23 24.5625 22.5625 25 22 25 C 21.4375 25 21 24.5625 21 24 C 21 23.4375 21.4375 23 22 23 Z"/></svg>');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}