
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: var(--custom-color-2)
}


.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
    border-radius: 50px;
    background-color: var(--accent-color);
    color: white;
    font-weight: 400;
    border: 1px solid;
    border-color:var(--accent-color);
    transition:0.3s ease;

}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button:hover {
    background-color:  white;
    color:var(--accent-color);
    border-color:var(--accent-color);
    transition:0.3s ease;

}

/****** carrello  *****/

.woocommerce table.shop_table {
    background: white;
    border-radius: 10px;
    padding: 20px;
    border: 0;
}
input#coupon_code {
    width: max-content;
    background-color: var(--background-color-body);
    border: 1px solid var(--background-color-body);
    border-radius: 50px;
    padding: 10px 20px;
    transition: 0.3s ease;
}

input#coupon_code:active, input#coupon_code:focus {
    border: 1px solid;
    transition: 0.3s ease;
}

img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail, td.product-thumbnail a {
    width: 80px!important;
}

.button[disabled] {
    color: white!important;
}

th.product-name,th.product-subtotal, th.product-price, th.product-quantity, th {
    font-size:12px;
    text-transform:uppercase;
}

#add_payment_method .wc-proceed-to-checkout a.checkout-button, .woocommerce-cart .wc-proceed-to-checkout a.checkout-button, .woocommerce-checkout .wc-proceed-to-checkout a.checkout-button {
    background-color: var(--accent-color);
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:hover {
    background-color:var(--background-color-body);
    color:  var(--accent-color);
}

.woocommerce input.input-text.qty {
    border-radius:50px;
    border: 1px solid var(--text-color);
    opacity: 1;
}


/****** scheda prodotto ****/

@media screen and (max-width: 1720px) {
    .type-product.product .yith-par-message-variation, .type-product.product .yith-par-message {
        width: auto;
        flex-wrap:wrap;
    }
}


/********* cart ********/

.woocommerce-cart .woocommerce-info::before, .woocommerce-info::before {
    color: var(--text-color);
}

.woocommerce-cart section#visore-home {
    width: var(--w-container);
}
.woocommerce-info {
    border-top-color:var(--text-color)
}

div#yith-par-message-cart::before {
    display: none;
}



/************* checkout ***************/


.woocommerce-checkout .woocommerce-info {
    border-top: 1px solid;
    margin: 0;
}

.woocommerce-checkout div#yith-par-message-cart {
    background-color: white;
    border-radius: 20px;
    border-top: 0;
    padding: 20px 20px;
    justify-content: center;
    max-width: var(--w-container-stretto);
    margin: 30px auto;
}

.woocommerce-checkout a.showlogin,.woocommerce-checkout a.showcoupon {
    font-weight: 600;
    font-size: 15px;
}


.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 5px 20px;
    border: 0;
}

.woocommerce-checkout .select2-container .select2-selection--single {
    height: 40px!important;
    border: 0;
}

.woocommerce-checkout .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
    border: 0;
    border-radius: 6px;
}

.woocommerce-checkout .woocommerce form .form-row label {
    font-size: 14px;
    font-weight: 500;
    padding: 4px 10px;
}


.woocommerce-checkout #add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
    background: none;
}

.woocommerce-checkout #add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
    background-color: white;
}

.woocommerce-checkout #add_payment_method #payment div.payment_box p:last-child, .woocommerce-cart #payment div.payment_box p:last-child, .woocommerce-checkout #payment div.payment_box p:last-child {
    font-size: 14px;
}

.woocommerce-checkout #add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before {
    border: 1em solid white;
    border-right-color: transparent;
    border-top-color: transparent;
    border-left-color: transparent;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:hover{
    background: var(--accent-color)!important;
    color: white;
}


.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt{
        background: var(--accent-color);
}


/******** categoria prodotto ********/

.archive .page-numbers.dots {
    border: 0!important;
    background-color:none;
}

/****** news ******/

.section-banner-l1 {
    border-radius: 10px;
    padding:20px;
}



/******* account ******/


.woocommerce-account nav.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin:0;
}

.woocommerce-account nav.woocommerce-MyAccount-navigation ul li  {
    font-family: 'ivyjournal';
    padding-bottom:10px!important;
    padding-top: 10px;
    border-bottom: 1px solid rgb(94 53 26 / 10%);
}


.woocommerce-account div#ywpar_banner {
    background-color: white!important;
}

.woocommerce-account .ywpar_tabcontent #ywpar_banner .banner_header h3 {
    color: var(--text-color)!important;
    
}

.woocommerce-account .ywpar_tabcontent #ywpar_banner .banner_header h4 {
    font-family: 'Commissioner';
    color: var(--accent-color)!important;
}

.woocommerce-account .ywpar_tabs_header ul li.active {
    font-weight: bold;
    color: var(--accent-color);
    border-bottom: 2px outset var(--accent-color)!important;
}

.woocommerce-account .ywpar_myaccount_entry_info > div {
    background-color: white;
    border-radius: 10px;
    text-align: center;
    padding: 20px 10px;
    min-width: 250px;
    margin: 0 10px 0 0;
}

.woocommerce-account .ywpar_summary_badge {
    display:flex;
    flex-direction:column;
    row-gap: 5px;
    padding:10px 10px!important;
}

div#share_points {
    background-color: white;
}


/********* Address my account *********/ 

body:not(woocommerce-account).woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
    background: white;
    border: 0;
}

.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 5px 20px;
}

.woocommerce-account .select2-container--default, .woocommerce-account .selection, .woocommerce-account .select2-selection.select2-selection--single  {
    height:40px;
    border:0;
}

.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__arrow {
      padding: 18px 20px;
}

.woocommerce form .form-row label {
    font-size: 14px;
    font-weight: 500;
}

.woocommerce-account p#shipping_state_field {
    margin-bottom: 30px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder, input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea, input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus {
    color: var(--text-color);
    opacity: 1;
    font-size: 14px;
    border-color: #EDE8DF;
    font-weight: 500;
    border-radius: 10px;
}