/* 
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 */


/*COMPLIANTZ*/
#cmplz-document.cmplz-document {max-width:100%;}

/*PAGINA PRODOTTO*/

/*pulsante paypal*/
.vista360 .woocommerce-variation-add-to-cart {
    margin-bottom: 12px !important;
}

.vista360 .paypal-button {border-radius: 30px;}

.wc-proceed-to-checkout .checkout-button {margin-bottom: 12px !important;}

/* Linea personalizzata sotto la tab attiva */
.single-product .scheda-prodotto .e-n-tabs-heading button.e-n-tab-title[aria-selected="true"]:after {
    content: "";
    position: absolute;
    bottom:-3px;
    width: 24%;
    height: 5px;
    background-color: #E54B3A;
    z-index:9999;
}

.test-drive .e-n-accordion-item-title .e-n-accordion-item-title-header {
    background-color: #151515;
    padding: 20px 90px;
    border-radius: 40px;
}

.test-drive .e-n-accordion-item-title .e-n-accordion-item-title-header:hover {
    background-color: #E54B3A;
}

/*CARRELLO*/
.woocommerce-cart-form .coupon input.input-text {
    min-height: 46px;
    border-radius: 0px;
    padding-left: 20px;
}

.woocommerce-cart-form .e-cart-section .shop_table tr.woocommerce-cart-form__cart-item {
    padding: 20px 0px;
}

/*SELETTORE COLORI WOOCOMMERCE*/

.vista360 .elementor-add-to-cart .variations_form table.variations tbody {display: flex; justify-content: left;}
.vista360 table.variations tr th.label {background-color: #fff; padding: 0px;} 
.vista360 table.variations tr td.value {background-color: #fff;}

.view span.woocommerce-Price-amount.amount bdi {color:#1d1d1d; padding-bottom:20px;}
.view .elementor-add-to-cart button.single_add_to_cart_button {margin-top: 20px !important;}

.view .woocommerce div.product form.cart .variations {margin-bottom: 0px;}

.view .woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th {line-height: 0.6em;}

.sticky-bottom table.variations { display: flex; min-width: 40%; flex-direction: row; }

.sticky-bottom .single_variation_wrap .woocommerce-variation { position: absolute; left: 0px; padding-top: 32px;}

.sticky-bottom .woocommerce-Price-amount.amount bdi {color:#1d1d1d;}

.sticky-bottom a.reset_variations {visibility:hidden !important;}

.sticky-bottom .elementor-add-to-cart .variations_form span.woo-selected-variation-item-name {display: none !important;}

.sticky-bottom .elementor-add-to-cart .variations_form table.variations {margin-bottom: 0px; margin-top: 0px;}

.sticky-bottom .elementor-add-to-cart .variations_form table.variations tbody {display: flex; justify-content: left;}

.sticky-bottom .elementor-add-to-cart .variations_form tr {display: flex;}

.sticky-bottom .elementor-add-to-cart .variations_form tr th.label {background-color: #D3D3DE; padding: 0px 10px 0px 0px;}
.sticky-bottom .elementor-add-to-cart .variations_form tr td.value.woo-variation-items-wrapper {background-color: #D3D3DE; line-height: 0px !important; padding: 0px;}

.sticky-bottom .elementor-widget-woocommerce-product-add-to-cart .ppcp-messages {display: none !important;}

.sticky-bottom .elementor-widget-woocommerce-product-add-to-cart {min-width: 100% !important;}

@media screen and (min-width: 550px) {
.sticky-bottom .elementor-add-to-cart .variations_form div {display: flex; flex-direction: row; justify-content: space-between; column-gap: 10px;}
}

/* Swatches rotondi*/
.elementor-add-to-cart .variations_form tr td.value.woo-variation-items-wrapper li.variable-item {
    width: 24px;
    height: 24px;
    border-radius: 40px;
    box-shadow: 0 0 0 1px #ddd;
}

.elementor-add-to-cart .variations_form tr td.value.woo-variation-items-wrapper li.variable-item span.variable-item-span {border-radius: 40px;}

/* Effetto selezione */
.woo-variation-swatches .variable-item.selected {
    box-shadow: 0 0 0 2px #000;
}

/* Spazio sotto nei loop prodotti */
.products .variations {
    margin-top: 10px;
}

.woocommerce .elementor-1450 .elementor-element.elementor-element-b91979c .price {margin-bottom: 0px;}


/*messaggio aggiunta al carrello*/
.woocommerce-notices-wrapper .woocommerce-message::before {color: #312850;}

.single-product .woocommerce-notices-wrapper .woocommerce-message {
    border-top-color: #312850;
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    min-width: 700px;
    width: auto;
}

.single-product .woocommerce-notices-wrapper .woocommerce-message button {
    background-color: #e54b3a;
    color: #fff;
    padding: 10px 26px;
    border-radius: 30px;
}


@media screen and (max-width: 600px) {
    .elementor-add-to-cart .variations_form div {flex-direction: column;}
    .elementor-add-to-cart .variations_form table.variations tbody {display: flex; justify-content: center;}
    .test-drive .e-n-accordion-item-title .e-n-accordion-item-title-header { padding: 20px 50px;}

}

/*@media screen and (max-width: 860px) and (min-width: 500px){
    .view .elementor-add-to-cart form.cart div{
        display: flex;
        flex-direction: row;
        column-gap: 30px;
    }
}
*/