/*
 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 */
@import url("../hello-elementor/style.css");


/* 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: url('https://www.ottopuntouno.net/wp-content/uploads/2025/06/pit-bike.png');
  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: url('https://www.ottopuntouno.net/wp-content/uploads/2025/06/scooter.png');
  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: url('https://www.ottopuntouno.net/wp-content/uploads/2025/06/vespa.png');
  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: url('https://www.ottopuntouno.net/wp-content/uploads/2025/06/abbigliamento.png');
  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: url('https://www.ottopuntouno.net/wp-content/uploads/2025/06/olio-lubrificanti.png');
  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;
}



