/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */



/* global */
p:last-child {
    margin-bottom:0 !important;
}

.elementor-widget-text-editor ul,
.elementor-widget-text-editor ol {
    margin-block-end: .9rem;
}

.grecaptcha-badge {
    display: none !important;
}

.elementor-field-type-acceptance .elementor-field-option {
    font-size: 14px;
    display: flex;
    gap:6px;
    align-items: flex-start;
}

.elementor-field-type-acceptance .elementor-field-option input {
    margin-top:0px;
}

.elementor-field-type-acceptance a {
    color: inherit;
    text-decoration: underline;
}

.elementor-field-type-acceptance a:hover {
    text-decoration: none;
}


/* menu */
header .current-menu-item a {
    font-weight: 700 !important;
}




/* content edge */
.content-edge-right {
    padding-left:calc((100vw - var(--container-max-width))/2);
}

.content-edge-left {
    padding-right:calc((100vw - var(--container-max-width))/2);
}



/* menu */
header .current-menu-item a {
    font-weight: 900 !important;
}




/* cms */
.cms * + h2,
.cms * + h3,
.cms * + h4,
.cms * + h5 {
    margin-top:40px !important;
}




/* tag */
.tag * {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 800 !important;
}

.tag .elementor-heading-title {
    display: inline-flex;
    padding:10px 20px;
    border-radius: 50px;
    border:1px solid var(--e-global-color-accent);
}




/* featured products slider */
.featured-products .elementor-swiper-button.elementor-swiper-button-prev,
.featured-products .elementor-swiper-button.elementor-swiper-button-next {
    top:0px !important;
}

.featured-products .elementor-swiper-button.elementor-swiper-button-prev {
    left:calc((100vw - var(--container-max-width))/2) !important;
}

.featured-products .elementor-swiper-button.elementor-swiper-button-next {
    left:calc(calc((100vw - var(--container-max-width))/2) + 40px) !important;
}

.featured-products {
    padding-top:40px;
}




/* product */
.products .product {
    display: flex !important;
    flex-direction: column !important;
    align-items: baseline;
}

.products .product > a:first-child {
    width: 100%;
}

.products .product .woocommerce-loop-product__title {
    color:var(--e-global-color-888f1fb) !important;
    font-family: var(--e-global-typography-text-font-family) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 19px !important;
}

@media (max-width:767px) {
    .products .product .woocommerce-loop-product__title {
        font-size: 17px !important;
    }
}

.products .product .price {
    font-family: var(--e-global-typography-text-font-family) !important;
    font-size: 18px !important;
    color:var(--e-global-color-598aa97) !important;
}

.products .product .add_to_cart_button {
    background-color:var(--e-global-color-8b75fbc) !important;
    border-radius: 0 !important;
    color:var(--e-global-color-secondary) !important;
    background-position: 30px center;
    background-image:url('assets/img/icon-cart.svg') !important;
    background-repeat: no-repeat;  
    background-size: 16px auto;
    padding:12px 30px 12px 54px !important;
    transition:background 0.2s;
    margin-top:auto !important;
}

.products .product .add_to_cart_button:hover {
    background-color:var(--e-global-color-aa2b830) !important;
}

.products .product .button.sold {
    border:2px solid var(--e-global-color-8b75fbc);
    border-radius: 0;
    background-color: transparent;
    cursor: default;
}

.products .product .added_to_cart {
    display: none !important;
}




/* single product */
.single_add_to_cart_button {
     background-position: 30px center;
    background-image:url('assets/img/icon-cart.svg') !important;
    background-repeat: no-repeat;  
    background-size: 16px auto;
    padding:16px 30px 16px 54px !important;
}




/* products archive */
select.orderby {
    background: transparent;
    border: 0;
    color: var(--e-global-color-primary);
    font-weight: 600;
    background-image:url('assets/img/icon-order.svg');
    background-repeat: no-repeat;
    background-size: 17px auto;
    background-position: left center;
    padding-left: 23px;
    padding-right: 0;
    appearance: none;
    max-width: 200px;
}

.woocommerce-ordering {
    margin-bottom:40px !important;
    display: none !important;
}

@media (min-width:1024px) {
    .product-filter {
       
    }
}

.product-filter .berocket_single_filter_widget {
    z-index: 2;
}

.product-filter .elementor-shortcode {
    display: flex;
    align-items: center;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap:10px;
}

.product-filter .elementor-shortcode .berocket_single_filter_widget ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}  


.product-filter .bapf_sfilter {
    margin-bottom:0;
}

.product-filter .bapf_sfilter input[value="galeria"],
.product-filter .bapf_sfilter input[value="galeria"] + label{
    display: none !important;
}

.product-filter .bapf_button,
.product-filter .elementor-shortcode .berocket_single_filter_widget label {
    border:1px solid var(--e-global-color-888f1fb);
    border-color:transparent !important;
    background:transparent !important;
    color: var(--e-global-color-888f1fb) !important;
    border-radius: 5px;
    font-weight: 700;
    padding:14px 20px !important;
    line-height: 1;
    white-space: nowrap;
}

.product-filter .elementor-shortcode .berocket_single_filter_widget li.checked label,
.product-filter:not(:has(li.checked)) .bapf_button {
    border:1px solid var(--e-global-color-primary) !important;   
}

.product-filter .elementor-shortcode .berocket_single_filter_widget li.checked label:before {
    display: none !important;
}

.product-filter .bapf_button:hover {
    border:1px solid var(--e-global-color-primary);
    background:transparent;
    color: var(--e-global-color-primary);
}


.product-filter ul li:nth-child(1) {
  order: 3;
}

.product-filter ul li:nth-child(2) {
  order: 10;
}

.product-filter ul li:nth-child(3) {
  order: 1;
}

.product-filter ul li:nth-child(4) {
  order: 2;
}

.woocommerce div.product div.images .flex-control-thumbs {
    display: none !important;
}

.flex-viewport {
    height: auto !important;
    overflow: initial !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    width: 100% !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper > div {
    float:none !important;
    width:100%;
}

.quantity button {
    background-color:transparent !important;
    padding:0;
    color: var(--e-global-color-text) !important;
    font-size: 20px !important;
    margin-block-start:0 !important;
    padding:10px !important;
}

.quantity input {
    background-color:transparent !important;
    height: auto !important;
    border:0 !important;
    font-size: 18px;
    font-weight: 700;
}

.quantity {
    display: flex;
    float:none;
    align-items: center !important;
}

.elementor-widget-woocommerce-cart .woocommerce .input-text.qty {
    text-align: center;
    max-width: 30px;
}

.woocommerce div.product form.cart .variations td, 
.woocommerce div.product form.cart .variations th {
    padding-left:0;
    padding-right: 0;
    background:transparent;
    text-align: left;
}

.woocommerce div.product form.cart .variations label {
    padding-top: 7px;
}

.reset_variations {
    font-weight: 700;
}

.woocommerce div.product div.images{
    margin-bottom:0;
}



.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, 
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    color: var(--e-global-color-primary);
    font-weight: 700;
}


.woocommerce-privacy-policy-text {
    margin-bottom:20px !important;
}


.woocommerce-additional-fields:not(:has(*)) {
    display: none !important;
}

@media (max-width: 767px) {
    .elementor-widget-wc-archive-products .products {
        grid-template-columns: repeat(1, 1fr);
    }
}


.shop_table .product-quantity {
    align-items: center;
}

.shop_table .product-name,
.shop_table .product-quantity {
    display: flex !important;
    justify-content: space-between;
    
    gap:30px;
}

.shop_table .product-name a {
    text-align: left;
}

.lmp_products_loading > span{
    display: none !important;
}






/* product simple */
.elementor-add-to-cart {
    display: flex;
    gap:20px;
}

.elementor-add-to-cart .stock {
    order:2;
    margin-top:10px;
    font-family: var(--e-global-typography-bea2e9b-font-family), Sans-serif;
    color:var(--e-global-color-text) !important;
}

.elementor-add-to-cart .stock:not(.out-of-stock) {
    margin-left:-10px;
}

.elementor-add-to-cart .e-atc-qty-button-holder {
    max-width:160px;
}

.elementor-add-to-cart .quantity > button {
    width: 40px;
    height: 40px;
    background-color:white !important;
    border:1px solid var(--e-global-color-secondary) !important;
    padding-top: 4px !important;
}

.elementor-add-to-cart .quantity input {
    width: 2.631em !important;
}





/* gtranslate */
.gtranslate_wrapper .gt_options {
    position: absolute !important;
    background: white;
}

.gt_float_switcher img {
    display: none !important;
}

.gt_float_switcher,
.gt_float_switcher .gt-selected .gt-current-lang span.gt-lang-code {
    font-size: 14px !important;
    color: var(--e-global-color-primary);
    font-weight: 400;
}

.gt_float_switcher {
    background:transparent !important;
    box-shadow: none !important;
}

.gt_float_switcher .gt-selected {
    background:transparent !important;  
}

.gt_float_switcher .gt-selected .gt-current-lang {
    display: flex;
    gap:5px;
    padding: 0 !important;
    margin-top: 8px;
}

.gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 285 285'><path d='M282 76.5l-14.2-14.3a9 9 0 0 0-13.1 0L142.5 174.4 30.3 62.2a9 9 0 0 0-13.2 0L3 76.5a9 9 0 0 0 0 13.1l133 133a9 9 0 0 0 13.1 0l133-133a9 9 0 0 0 0-13z' style='fill:%23415CA5'/></svg>") !important;
}



/* galeria */
.galeria-grid img {
	aspect-ratio:1/1;
}
.galeria-grid .elementor-image-box-title {
	color: var(--e-global-color-888f1fb) !important;
    font-family: var(--e-global-typography-text-font-family) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 19px !important;
}