/*
 Theme Name: Hello Elementor Child
 Theme URI: https://example.com/
 Description: Child Theme per Hello Elementor
 Author: sherwood
 Author URI: https://example.com/
 Template: hello-elementor
 Version: 1.0.0
*/

/* Importa il CSS del tema padre */
/*
	Theme Name: Hello Elementor
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 3.4.7
	Stable tag: 3.4.7
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/



/* RESET */
body {
    margin: 0;
}

/*** SEZIONE: GENERALE ***/
h3.wp-block-heading {
    font-weight: 700;
}

img.wpml-ls-flag {
    width: 35px;
    border-radius: 50px;
}

.elementor-widget:focus,
.elementor-widget:active,
.elementor-widget *:focus,
.elementor-widget *:active {
    outline: none !important;
   
    border: none !important;
}

mark.count {
    display: none;
}

.wpml-ls-legacy-list-horizontal {
    padding: 0 !important;
    border: 0 !important;
    float: left;
}

.elementor-search-form--focus .elementor-search-form:focus,
.elementor-search-form--skin-minimal:focus-within {
    border: none !important;
    outline-width: 0px;
    outline-style: solid;
}

a.braapf_unselect_all {
    display: none;
}

/*** SEZIONE: SINGOLO PRODOTTO ***/
.woocommerce div.product form.cart .variations {
    margin-bottom:35px;
}

.woocommerce div.product form.cart .variations th {
Float:left;
}

.woocommerce div.product form.cart .variations label {
Padding-right:20px;
}

.woocommerce div.product form.cart .variations select {
        padding: 5px;
        
            border-radius: 20px;

}


span.detail-label,
span.sku_wrapper.detail-container {
    display: none;
}

.price bdi {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 60%, rgba(58, 251, 13, 1) 60%, rgba(58, 251, 13, 1) 100%);
    padding: 0 5px;
}

select#pa_colore {
    border-radius: 20px;
    padding: 10px;
}

.single-product .quantity .qty {
    background: black;
    border: none;
    border-radius: 10px;
    color: white !important;
}

small.woocommerce-price-suffix {
    font-size: 15px;
}

/*** SEZIONE: LISTA PRODOTTI ***/
.woocommerce ul.products li.product {
    margin-bottom: 0px;
}

.woocommerce ul.products li.product a img {
    width: 80%;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title {
    font-size: 13px;
    padding: 0px;
}

.woocommerce .products ul,
.woocommerce ul.products {
    margin-bottom: 0px;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

/*** SEZIONE: MEDIA QUERY ***/
@media (max-width: 767px) {
    .elementor-tab-title.elementor-tab-mobile-title,
    .elementor-tab-title.elementor-tab-mobile-title.elementor-active {
        display: none;
    }

    .elementor-tabs .elementor-tabs-wrapper {
        display: inline !important;
    }

    .woocommerce ul.products li.product a img {
        width: 100%;
    }
}

@media only screen and (min-width: 400px) {
    .elementor-5606 .elementor-element.elementor-element-4994bd57 .wpml-elementor-ls .wpml-ls-flag {
        margin: 0;
        width: 30px;
        border-radius: 30px;
    }
}

@media only screen and (max-width: 600px) {
    .elementor-5606 .elementor-element.elementor-element-4994bd57 .wpml-elementor-ls .wpml-ls-flag {
        margin: 0;
        width: 30px !important;
        border-radius: 30px;
    }

    .woocommerce #content table.cart .product-thumbnail,
    .woocommerce table.cart .product-thumbnail {
        display: block;
        width: 150px;
    }

    .woocommerce table.shop_table_responsive tbody tr:first-child td:first-child {
        padding: 0px;
    }

    td.product-thumbnail {
        padding: 0px !important;
    }

    td.product-thumbnail::before {
        display: none;
    }
}

/*** SEZIONE: WISHLIST ***/
.wishlist_table.mobile {
    list-style: none;
    margin-left: opx !important;
    padding-left: 0px;
    padding: 20px;
    padding-top: 0px;
}

.woocommerce .wishlist-title,
.yith_wcwl_wishlist_footer .yith-wcwl-share {
    display: none;
}

.woocommerce table.shop_table {
    border: none;
}

.wishlist_table .product-add-to-cart a {
    background: black;
    color: white;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 10px;
}

.wishlist_table .product-add-to-cart a:hover {
    background: #3AFB0D;
    color: black;
}

.wishlist_table thead tr th {
    background: none;
    font-size: 14px;
}

table.wishlist_table tbody td,
table.wishlist_table thead th {
    border: none;
}

.yith-wcwl-add-to-wishlist .yith-wcwl-add-button {
    display: block;
}

/*** SEZIONE: MENU ***/
.elementor-5606 .elementor-element.elementor-element-4acf8b2a > .elementor-widget-container:hover {
    background-color: black;
}

.elementor-5606 .elementor-element.elementor-element-4acf8b2a .elementor-icon-list-text:hover {
    color: white;
    transition: none;
}

.elementor-page-5599 #menu_basso {
    display: none;
}

/*** SEZIONE: WIDGET PREZZO ***/
.woocommerce .widget_price_filter .ui-slider .ui-slider-range,
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    background-color: black !important;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button {
    background-color: black;
    color: white;
}

/*** SEZIONE: PERSONALIZZAZIONE MARCO ***/
.webmt-loop-product .elementor-widget-image a {
    position: relative;
    display: inline-block;
    background-color: white;
    overflow: hidden;
}

.webmt-loop-product .elementor-widget-image a img {
    display: block;
    width: 100%;
    height: auto;
    -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: cover;
    mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: cover;
    -webkit-mask-composite: destination-in;
    mask-composite: exclude;
}

/*** SEZIONE: MIO ACCOUNT ***/
td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
    margin-top: 20px;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/*** SEZIONE: CATEGORIE PRODOTTO ***/
.woocommerce.widget_layered_nav_filters h5 {
    margin-top: 10px;
}

.woocommerce.widget_layered_nav_filters {
    display: flex;
}

.woocommerce.widget_layered_nav_filters ul {
margin-top: 10px;
    margin-left:20px;
}


/***** newsletter *****/

#newsletter .wpcf7-form input[type=email]
{
    background-color: #ffffff;
  border-width: 0px 0px 0px 0px;
  border-radius: 50px 50px 50px 50px;
    font-size: 12px;
    line-height: 24px;
    padding: 10px 20px;
    width: 90%
}

#newsletter .wpcf7-form input[type=submit]
{
    background-color: #3AFB0D;
  border-width: 0px 0px 0px 0px;
  border-radius: 50px 50px 50px 50px;
    font-size: 12px;
    line-height: 24px;
    padding: 10px 20px;
    min-width: 160px;
    color: black;
    text-transform: uppercase;
    font-weight: 600;
}

#newsletter .wpcf7-form .privacy_container p a{
    color: white;
}

#newsletter .wpcf7-form p{
    margin: 5px 0px
}

#newsletter .wpcf7-form .ctf7_submit p{
    text-align: left;
}

/***** contact form *****/
.custom-form {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Due colonne uguali */
    gap: 10px; /* Spaziatura tra gli elementi */
    max-width: 600px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.custom-form .form-row {
    display: contents; /* Gli input seguono la struttura della griglia */
}

.custom-form .form-row-single {
    grid-column: span 2; /* Occupano tutta la larghezza */
}

.custom-form .form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 5px;
    font-size: 16px;
    margin-top:20px;
}

.custom-form .form-textarea {
    grid-column: span 2; /* Occupa entrambe le colonne */
    width: 100%;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 5px;
    resize: none;
    height: 100px;
}

.custom-form .form-checkbox {
    font-size: 14px;
    display: flex;
    align-items: center;
}

.custom-form .form-checkbox input {
    margin-right: 10px;
}

.custom-form .form-submit {
    background-color: #000;
    color: #fff;
    border: none;
    padding-bottom:20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    width: 100%; /* Pulsante completamente centrato */
}
.custom-form p {
    margin:0px;
}
.custom-form .form-submit:hover {
    background-color: #333;
}

.custom-form .form-input::placeholder,
.custom-form .form-textarea::placeholder {
    color: #999;
}

.form-textarea {
        margin-top:15px;
    }

.form-submit {
        margin-top:20px;
    }

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .login .button {
background: #3AFA0E;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-form__label-for-checkbox span {
Color:black;
}

@media screen and (max-width: 600px) {
  .custom-form {
    display: block;
}
    .form-textarea {
        margin-top:20px;
    }
    .form-submit {
        margin-top:20px;
    }
    .cky-btn-revisit-wrapper {
margin-bottom: 60px;
}
}

/***** woocommerce ****/

button.woocommerce-button.button.woocommerce-form-login__submit.e-woocommerce-form-login-submit {
background-color: #3afa0e;
color: black;
}

button.woocommerce-button.button.woocommerce-form-login__submit.e-woocommerce-form-login-submit:hover {
background-color: black;
color: white;
}


/***** css fixing ****/

.dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input{
    font-size: 15px !important;
}

.single-product .woocommerce-message{
    display: flex;
    flex-direction: column;
}

.variations select, .variations select:focus{
    border: 2px solid black !important;
    padding: 5px 10px !important
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .register .button, .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .login .button{
    background-color: #3AFA0E;
    border-radius: 50px 50px 50px 50px;
    text-transform: uppercase;
  font-weight: 600;
    font-size: 12px;
}


/*** update 12/05/25 */

#mega-menu-shop-desktop > ul {
    columns: 1;
}

@media (min-width: 600px) {
    #mega-menu-shop-desktop > ul {
        columns: 2;
    }
}

@media (min-width: 900px) {
    #mega-menu-shop-desktop .eael-tab-content-item > ul {
        columns: 2;
                padding-left: 0px;
    }
    #mega-menu-shop-desktop	.eael-tab-content-item  li > a 	 {
            font-size: 12px;
            font-weight: 700;
    }
    
#mega-menu-shop-desktop	.eael-tab-content-item li li > a 	 {
            font-size: 12px;
            font-weight: 500;
    }
    
    #mega-menu-shop-desktop .eael-tab-content-item > ul ul {
                padding-left: 10px;
    }
}

p.price {
    margin: 0px;
}

/** immagini menu mobile macrocategorie **/

.pitbike > a.elementor-item {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-left: 30px; /* spazio per l'immagine a sinistra, opzionale */
}

/** pitbike **/

.pitbike > a.elementor-item::before {
    position:relative;
  content: "";
  display: inline-block;
  width: 70px;
  height: 70px;
  background-image: var(--wpr-bg-656a1734-4e48-40b0-b196-3f79dad5cc6e);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
     flex-shrink: 0;
  opacity: 1 !important; /* forza visibilità */
  visibility: visible !important; /* forza visibilità */
}

/** scooter **/

.scooter > a.elementor-item {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-left: 30px; /* spazio per l'immagine a sinistra, opzionale */
}

.scooter > a.elementor-item::before {
    position:relative;
  content: "";
  display: inline-block;
  width: 70px;
  height: 70px;
  background-image: var(--wpr-bg-46383a6a-6100-404d-a727-96adf4b084cd);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
     flex-shrink: 0;
  opacity: 1 !important; /* forza visibilità */
  visibility: visible !important; /* forza visibilità */
}

/** vespa **/

.vespa > a.elementor-item {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-left: 30px; /* spazio per l'immagine a sinistra, opzionale */
}

.vespa > a.elementor-item::before {
    position:relative;
  content: "";
  display: inline-block;
  width: 70px;
  height: 70px;
  background-image: var(--wpr-bg-8e4e6ba3-c023-4c82-87db-bcd09d296702);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
     flex-shrink: 0;
  opacity: 1 !important; /* forza visibilità */
  visibility: visible !important; /* forza visibilità */
}

/** abbigliamento **/

.abbigliamento > a.elementor-item {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-left: 30px; /* spazio per l'immagine a sinistra, opzionale */
}

.abbigliamento > a.elementor-item::before {
    position:relative;
  content: "";
  display: inline-block;
  width: 70px;
  height: 70px;
  background-image: var(--wpr-bg-3adaf43a-ffd6-464b-8164-84b5a6a32a23);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
     flex-shrink: 0;
  opacity: 1 !important; /* forza visibilità */
  visibility: visible !important; /* forza visibilità */
}

/** olio e lubrificanti **/

.olio > a.elementor-item {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-left: 30px; /* spazio per l'immagine a sinistra, opzionale */
}

.olio > a.elementor-item::before {
    position:relative;
  content: "";
  display: inline-block;
  width: 70px;
  height: 70px;
  background-image: var(--wpr-bg-d48eb9d7-2864-42a4-9373-900e940ef43a);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
     flex-shrink: 0;
  opacity: 1 !important; /* forza visibilità */
  visibility: visible !important; /* forza visibilità */
}

.black-days-popup .dialog-lightbox-close-button{
    z-index: 9999999999999999
}

fieldset.hidden-fields-container {
    display: none;
}

#review_form .comment-form-rating {
    display: block !important;
}
#review_form .stars {
    display: inline-block !important;
}

/* RESET */
body {
    margin: 0;
}

/*** SEZIONE: GENERALE ***/
h3.wp-block-heading {
    font-weight: 700;
}

img.wpml-ls-flag {
    width: 35px;
    border-radius: 50px;
}

.elementor-widget:focus,
.elementor-widget:active,
.elementor-widget *:focus,
.elementor-widget *:active {
    outline: none !important;
   
    border: none !important;
}

mark.count {
    display: none;
}

.wpml-ls-legacy-list-horizontal {
    padding: 0 !important;
    border: 0 !important;
    float: left;
}

.elementor-search-form--focus .elementor-search-form:focus,
.elementor-search-form--skin-minimal:focus-within {
    border: none !important;
    outline-width: 0px;
    outline-style: solid;
}

a.braapf_unselect_all {
    display: none;
}

/*** SEZIONE: SINGOLO PRODOTTO ***/
.woocommerce div.product form.cart .variations {
  margin-bottom:35px;
}

.woocommerce div.product form.cart .variations th {
Float:left;
}

.woocommerce div.product form.cart .variations label {
Padding-right:20px;
}

.woocommerce div.product form.cart .variations select {
    padding: 5px;
    
        border-radius: 20px;

}


span.detail-label,
span.sku_wrapper.detail-container {
    display: none;
}

.price bdi {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 60%, rgba(58, 251, 13, 1) 60%, rgba(58, 251, 13, 1) 100%);
    padding: 0 5px;
}

select#pa_colore {
    border-radius: 20px;
    padding: 10px;
}

.single-product .quantity .qty {
    background: black;
    border: none;
    border-radius: 10px;
    color: white !important;
}

small.woocommerce-price-suffix {
    font-size: 15px;
}

/*** SEZIONE: LISTA PRODOTTI ***/
.woocommerce ul.products li.product {
    margin-bottom: 0px;
}

.woocommerce ul.products li.product a img {
    width: 80%;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title {
    font-size: 13px;
    padding: 0px;
}

.woocommerce .products ul,
.woocommerce ul.products {
    margin-bottom: 0px;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

/*** SEZIONE: MEDIA QUERY ***/
@media (max-width: 767px) {
    .elementor-tab-title.elementor-tab-mobile-title,
    .elementor-tab-title.elementor-tab-mobile-title.elementor-active {
        display: none;
    }

    .elementor-tabs .elementor-tabs-wrapper {
        display: inline !important;
    }

    .woocommerce ul.products li.product a img {
        width: 100%;
    }
}

@media only screen and (min-width: 400px) {
    .elementor-5606 .elementor-element.elementor-element-4994bd57 .wpml-elementor-ls .wpml-ls-flag {
        margin: 0;
        width: 30px;
        border-radius: 30px;
    }
}

@media only screen and (max-width: 600px) {
    .elementor-5606 .elementor-element.elementor-element-4994bd57 .wpml-elementor-ls .wpml-ls-flag {
        margin: 0;
        width: 30px !important;
        border-radius: 30px;
    }

    .woocommerce #content table.cart .product-thumbnail,
    .woocommerce table.cart .product-thumbnail {
        display: block;
        width: 150px;
    }

    .woocommerce table.shop_table_responsive tbody tr:first-child td:first-child {
        padding: 0px;
    }

    td.product-thumbnail {
        padding: 0px !important;
    }

    td.product-thumbnail::before {
        display: none;
    }
}

/*** SEZIONE: WISHLIST ***/
.wishlist_table.mobile {
    list-style: none;
    margin-left: opx !important;
    padding-left: 0px;
    padding: 20px;
    padding-top: 0px;
}

.woocommerce .wishlist-title,
.yith_wcwl_wishlist_footer .yith-wcwl-share {
    display: none;
}

.woocommerce table.shop_table {
    border: none;
}

.wishlist_table .product-add-to-cart a {
    background: black;
    color: white;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 10px;
}

.wishlist_table .product-add-to-cart a:hover {
    background: #3AFB0D;
    color: black;
}

.wishlist_table thead tr th {
    background: none;
    font-size: 14px;
}

table.wishlist_table tbody td,
table.wishlist_table thead th {
    border: none;
}

.yith-wcwl-add-to-wishlist .yith-wcwl-add-button {
    display: block;
}

/*** SEZIONE: MENU ***/
.elementor-5606 .elementor-element.elementor-element-4acf8b2a > .elementor-widget-container:hover {
    background-color: black;
}

.elementor-5606 .elementor-element.elementor-element-4acf8b2a .elementor-icon-list-text:hover {
    color: white;
    transition: none;
}

.elementor-page-5599 #menu_basso {
    display: none;
}

/*** SEZIONE: WIDGET PREZZO ***/
.woocommerce .widget_price_filter .ui-slider .ui-slider-range,
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    background-color: black !important;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button {
    background-color: black;
    color: white;
}

/*** SEZIONE: PERSONALIZZAZIONE MARCO ***/
.webmt-loop-product .elementor-widget-image a {
    position: relative;
    display: inline-block;
    background-color: white;
    overflow: hidden;
}

.webmt-loop-product .elementor-widget-image a img {
    display: block;
    width: 100%;
    height: auto;
    -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: cover;
    mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: cover;
    -webkit-mask-composite: destination-in;
    mask-composite: exclude;
}

/*** SEZIONE: MIO ACCOUNT ***/
td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
    margin-top: 20px;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/*** SEZIONE: CATEGORIE PRODOTTO ***/
.woocommerce.widget_layered_nav_filters h5 {
    margin-top: 10px;
}

.woocommerce.widget_layered_nav_filters {
    display: flex;
}

.woocommerce.widget_layered_nav_filters ul {
margin-top: 10px;
  margin-left:20px;
}


/***** newsletter *****/

#newsletter .wpcf7-form input[type=email]
{
  background-color: #ffffff;
  border-width: 0px 0px 0px 0px;
  border-radius: 50px 50px 50px 50px;
  font-size: 12px;
  line-height: 24px;
  padding: 10px 20px;
  width: 90%
}

#newsletter .wpcf7-form input[type=submit]
{
  background-color: #3AFB0D;
  border-width: 0px 0px 0px 0px;
  border-radius: 50px 50px 50px 50px;
  font-size: 12px;
  line-height: 24px;
  padding: 10px 20px;
  min-width: 160px;
  color: black;
  text-transform: uppercase;
  font-weight: 600;
}

#newsletter .wpcf7-form .privacy_container p a{
  color: white;
}

#newsletter .wpcf7-form p{
  margin: 5px 0px
}

#newsletter .wpcf7-form .ctf7_submit p{
  text-align: left;
}

/***** contact form *****/
.custom-form {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Due colonne uguali */
    gap: 10px; /* Spaziatura tra gli elementi */
    max-width: 600px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.custom-form .form-row {
    display: contents; /* Gli input seguono la struttura della griglia */
}

.custom-form .form-row-single {
    grid-column: span 2; /* Occupano tutta la larghezza */
}

.custom-form .form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 5px;
    font-size: 16px;
  margin-top:20px;
}

.custom-form .form-textarea {
    grid-column: span 2; /* Occupa entrambe le colonne */
    width: 100%;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 5px;
    resize: none;
    height: 100px;
}

.custom-form .form-checkbox {
    font-size: 14px;
    display: flex;
    align-items: center;
}

.custom-form .form-checkbox input {
    margin-right: 10px;
}

.custom-form .form-submit {
    background-color: #000;
    color: #fff;
    border: none;
    padding-bottom:20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    width: 100%; /* Pulsante completamente centrato */
}
.custom-form p {
  margin:0px;
}
.custom-form .form-submit:hover {
    background-color: #333;
}

.custom-form .form-input::placeholder,
.custom-form .form-textarea::placeholder {
    color: #999;
}

.form-textarea {
    margin-top:15px;
  }

.form-submit {
    margin-top:20px;
  }

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .login .button {
background: #3AFA0E;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-form__label-for-checkbox span {
Color:black;
}

@media screen and (max-width: 600px) {
  .custom-form {
    display: block;
}
  .form-textarea {
    margin-top:20px;
  }
  .form-submit {
    margin-top:20px;
  }
  .cky-btn-revisit-wrapper {
margin-bottom: 60px;
}
}

/***** woocommerce ****/

button.woocommerce-button.button.woocommerce-form-login__submit.e-woocommerce-form-login-submit {
background-color: #3afa0e;
color: black;
}

button.woocommerce-button.button.woocommerce-form-login__submit.e-woocommerce-form-login-submit:hover {
background-color: black;
color: white;
}


/***** css fixing ****/

.dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input{
  font-size: 15px !important;
}

.single-product .woocommerce-message{
  display: flex;
  flex-direction: column;
}

.variations select, .variations select:focus{
  border: 2px solid black !important;
  padding: 5px 10px !important
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .register .button, .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .login .button{
  background-color: #3AFA0E;
  border-radius: 50px 50px 50px 50px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
}


/*** update 12/05/25 */

#mega-menu-shop-desktop > ul {
    columns: 1;
}

@media (min-width: 600px) {
    #mega-menu-shop-desktop > ul {
        columns: 2;
    }
}

@media (min-width: 900px) {
    #mega-menu-shop-desktop .eael-tab-content-item > ul {
        columns: 2;
        padding-left: 0px;
    }
  #mega-menu-shop-desktop	.eael-tab-content-item  li > a 	 {
      font-size: 12px;
      font-weight: 700;
    }
  
#mega-menu-shop-desktop	.eael-tab-content-item li li > a 	 {
      font-size: 12px;
      font-weight: 500;
    }
  
  #mega-menu-shop-desktop .eael-tab-content-item > ul ul {
        padding-left: 10px;
    }
}

p.price {
    margin: 0px;
}

/** immagini menu mobile macrocategorie **/

.pitbike > a.elementor-item {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-left: 30px; /* spazio per l'immagine a sinistra, opzionale */
}

/** pitbike **/

.pitbike > a.elementor-item::before {
  position:relative;
  content: "";
  display: inline-block;
  width: 70px;
  height: 70px;
  background-image: var(--wpr-bg-d6f471a3-8779-47e1-9d29-eebd5e224035);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
   flex-shrink: 0;
  opacity: 1 !important; /* forza visibilità */
  visibility: visible !important; /* forza visibilità */
}

/** scooter **/

.scooter > a.elementor-item {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-left: 30px; /* spazio per l'immagine a sinistra, opzionale */
}

.scooter > a.elementor-item::before {
  position:relative;
  content: "";
  display: inline-block;
  width: 70px;
  height: 70px;
  background-image: var(--wpr-bg-f8ac87f4-5422-4dd0-8ba8-0325f56be2d2);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
   flex-shrink: 0;
  opacity: 1 !important; /* forza visibilità */
  visibility: visible !important; /* forza visibilità */
}

/** vespa **/

.vespa > a.elementor-item {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-left: 30px; /* spazio per l'immagine a sinistra, opzionale */
}

.vespa > a.elementor-item::before {
  position:relative;
  content: "";
  display: inline-block;
  width: 70px;
  height: 70px;
  background-image: var(--wpr-bg-c1e95ec0-4cd0-4d25-8deb-4c1d47804434);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
   flex-shrink: 0;
  opacity: 1 !important; /* forza visibilità */
  visibility: visible !important; /* forza visibilità */
}

/** abbigliamento **/

.abbigliamento > a.elementor-item {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-left: 30px; /* spazio per l'immagine a sinistra, opzionale */
}

.abbigliamento > a.elementor-item::before {
  position:relative;
  content: "";
  display: inline-block;
  width: 70px;
  height: 70px;
  background-image: var(--wpr-bg-fb1f1993-ccbb-4f1a-b4f4-1339bae70e61);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
   flex-shrink: 0;
  opacity: 1 !important; /* forza visibilità */
  visibility: visible !important; /* forza visibilità */
}

/** olio e lubrificanti **/

.olio > a.elementor-item {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-left: 30px; /* spazio per l'immagine a sinistra, opzionale */
}

.olio > a.elementor-item::before {
  position:relative;
  content: "";
  display: inline-block;
  width: 70px;
  height: 70px;
  background-image: var(--wpr-bg-3706956c-90d9-4473-925f-ca29251b583f);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
   flex-shrink: 0;
  opacity: 1 !important; /* forza visibilità */
  visibility: visible !important; /* forza visibilità */
}

.black-days-popup .dialog-lightbox-close-button{
  z-index: 9999999999999999
}

fieldset.hidden-fields-container {
    display: none;
}

/* Contenitore rating */
.comment-form-rating {
    display: flex;
    align-items: center;
    gap: 10px; /* distanza tra label e stelle */
    margin-bottom: 15px;
}

/* Label a sinistra */
.comment-form-rating label {
    margin: 0;
    font-weight: 600;
}

/* Stelle WooCommerce */
.comment-form-rating .stars {
    display: inline-flex !important;
    align-items: center;
    font-size: 20px;
    gap: 3px;
    cursor: pointer;
}

/* Icone stelle */
.comment-form-rating .stars span {
    opacity: 1 !important;
    line-height: 1 !important;
}

/* Allineamento verticale perfetto */
.comment-form-rating .stars::before,
.comment-form-rating .stars span::before {
    vertical-align: middle !important;
}

table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
    background-color: white;
}

form.cart table.variations label {
  font-weight: 700 !important;
}

.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: black;
    font-size: 35px;
    font-family: "Logik Extended", Sans-serif;
    //padding-bottom: 20px;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .product_title{
  height: 60px;
  display: block;
  overflow: hidden;
}

table tbody tr:hover>td, table tbody tr:hover>th {
    background-color: white;
}

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


:is(.elementor-widget-woocommerce-product-add-to-cart,.woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,.elementor-widget-wc-add-to-cart,.woocommerce div.product .elementor-widget-wc-add-to-cart) form.cart.variations_form .woocommerce-variation-add-to-cart {
    margin-top: 20px;
    margin-bottom: 20px;
}

.upsell-products-titles li a {
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.upsell-products-titles li a:hover {
    font-weight: 700;
}

/* RESET WooCommerce layout */

/* RESET TOTALE LISTE SOLO NELLA SEZIONE CROSS-SELL */
.cart-related-wrapper ul,
.cart-related-wrapper ul.products,
.cart-related-wrapper li,
.cart-related-wrapper li.product {
    list-style: none !important;
    list-style-type: none !important;
    list-style-position: outside !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* RIMUOVE IL MARKER MODERNO (::marker) */
.cart-related-wrapper li::marker {
    content: "" !important;
}

/* RIMUOVE BULLET INSERITI VIA ::before / ::after */
.cart-related-wrapper li::before,
.cart-related-wrapper li::after,
.cart-related-wrapper ul::before,
.cart-related-wrapper ul::after {
    content: none !important;
    display: none !important;
}

/* SICUREZZA EXTRA: alcuni temi usano span interni */
.cart-related-wrapper li.product > span {
    display: none !important;
}
.cart-related-wrapper ul.products {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
}

/* Reset elementi Woo */
.cart-related-wrapper ul.products::before,
.cart-related-wrapper ul.products::after {
    display: none !important;
}

/* CARD */
.cart-related-wrapper li.product {
    width: 100% !important;
    float: none !important;
    clear: none !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    padding: 10px !Important;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
}

.cart-related-wrapper li.product a.button {
    display: block;
    width: 100%;
    background: #000;
    color: #fff;
    border-radius: 999px;
    padding: 12px 16px;
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
    white-space: normal;
    margin-top: auto;
}

/* Prezzo */
.cart-related-wrapper li.product .price {
    margin-bottom: 12px;
}

.cart-related-wrapper li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* IMMAGINE */
.cart-related-wrapper li.product img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    margin-bottom: 12px;
}

/* TITOLO */
.cart-related-wrapper .woocommerce-loop-product__title {
    font-size: 14px;
    line-height: 1.3;
    min-height: 40px;
    margin-bottom: 10px;
}

/* PREZZO */
.cart-related-wrapper .price {
    font-size: 20px;
    font-weight: 800;
    font-family: "Logik Extended", sans-serif !important;
}

.cart-related-wrapper .price ins {
    background: #20ff00;
    padding: 2px 6px;
    text-decoration: none;
    font-family: "Logik Extended", sans-serif !important;
}

.cart-related-wrapper .price del {
    font-size: 14px;
    opacity: .4;
    font-family: "Logik Extended", sans-serif !important;
}

/* BOTTONE */
.cart-related-wrapper a.button {
    background: #000;
    color: #fff;
    border-radius: 999px;
    padding: 12px 18px;
    width: 100%;
    text-align: center;
    margin-top: 12px;
    font-weight: 600;
}

/* Wishlist */
.cart-related-wrapper .yith-wcwl-add-to-wishlist,
.cart-related-wrapper .tinvwl_add_to_wishlist_button {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
}

@media (max-width: 1400px) {
    .cart-related-wrapper ul.products {
        
    }
}

@media (max-width: 1024px) {
    .cart-related-wrapper ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .cart-related-wrapper ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 10px; /* margine esterno */
        box-sizing: border-box;
    }
    /* card */
    .cart-related-wrapper li.product {
        padding: 14px;
    }
    
    /* bottone leggermente più compatto su mobile */
    .cart-related-wrapper li.product a.button {
        font-size: 13px;
        padding: 10px 14px;
    }}

.wpml-ls-legacy-list-horizontal .wpml-ls-flag {
  border-radius: 100px !Important;
}

a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    background: black;
    border-radius: 100px;
    color: white;
}

.dgwt-wcas-suggestions-wrapp.woocommerce.dgwt-wcas-has-img.dgwt-wcas-has-price.dgwt-wcas-has-sku.dgwt-wcas-has-headings.js-dgwt-wcas-initialized.dgwt-wcas-suggestions-wrapp-fixed {
    margin-top: 20px;
    border: none;
    border-radius: 30px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}

.dgwt-wcas-details-wrapp.woocommerce.js-dgwt-wcas-initialized.dgwt-wcas-suggestions-wrapp-fixed {
  margin-top: 20px;
  border: none;
  border-radius: 30px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}

.price-from-label{
  font-size: 11px;
  display: block;
  line-height: 11px;
  margin-top: -10px;
  margin-bottom: -5px;
}

table.variations tr th, table.variations tr td{
  padding: 0px 0px 2px;
}


.upsell-products-list {
    width: 100%;
    border-top: 1px solid #e5e5e5;
    font-size: 14px;
}

.upsell-header,
.upsell-row {
    display: grid;
    grid-template-columns: 1fr 120px 100px 140px;
    align-items: center;
    padding: 10px 10px;
}

.upsell-header {
    background: #e1e4e8;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    padding: 10px 10px;
}

.upsell-row {
    border-bottom: 1px solid #eee;
}

.upsell-row:nth-child(even) {
    background: #fafafa;
}

.col-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.col-name img {
    width: 40px;
    height: auto;
}

.col-name a {
    color: #d60000;
    font-weight: 600;
    text-decoration: none;
}

.col-sku {
    color: #555;
}

.col-price {
    font-weight: 700;
}

.col-cart .button {
    background: #d60000;
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
}