
input[type="submit"], button[type="submit"],a.submit_button, a.checkout-button,.woocommerce #payment #place_order, .woocommerce-page #payment #place_order{
    border-radius: 2px !important;
}

@media screen and (min-width: 48em){
     .single-post:not(.has-sidebar) #primary,
.page.page-one-column:not(.twentyseventeen-front-page) #primary,
.archive.page-one-column:not(.has-sidebar) .page-header,
.archive.page-one-column:not(.has-sidebar) #primary, .product.type-product ,.wrap{
         max-width: 1440px !important;
         margin: 0 auto;
    }
}
@media screen and (max-width: 768px){
    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product{
    	width: 100%;
    }
}
#variations_clear{
    display: none;
}
.woocommerce div.product form.cart .wc-no-matching-variations{
    display: none !important;
}
.site-main {
    max-width: 1440px;
    margin: 0 auto;
}
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    border: 0;
    background: #f8f8f7;
    outline: 0;
    line-height: 1;
    height: 28px;
    border-radius: 1px;
    font-size: 11px;
}
.woocommerce form .form-row textarea {
    height: 100%;
}
.woocommerce-error, .woocommerce-info, .woocommerce-message{
    display: none;
}

.woocommerce-error {
    border-top-color: #b81c23;
    position: absolute;
    border: none;
    bottom: 100px;
    background: none;
    color: red;
    padding: 0;
    margin: 0;
    font-size: 13px;
    display: block;
}
form.checkout .woocommerce-error{
    display: none;
}

.woocommerce form .form-row.woocommerce-invalid label{
    color: #000;
}
.woocommerce-error::before{
    display: none;
}
.woocommerce li.product.type-product.status-publish{
     position: relative;
}

.woocommerce div.product form.cart .reset_variations{
    display: none !important;
}

 .woocommerce ul.products li.product a {
    text-decoration: none;
    position: relative;
    display: block;
    box-shadow: none;
    color: #000;
}
.woocommerce ul.products li.product a:hover .sub-article-details{
	display:  block !important;
	z-index: 3;
}
.woocommerce ul.products li.product a img{
	margin: 0;
}
 .woocommerce li.product.type-product.status-publish h2{
     position: absolute;
     width: 100%;
     top:80%;
     left:0;
     z-index: 2;
     color: #FFF;
     background: none;
     text-align: center;
     font-size: 22px;
     text-transform: uppercase;
     letter-spacing: 3px;
}
.woocommerce ul.products li.product .sub-article-details{
	display: none;
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	height: 100%;
    background: #000;
    opacity: 0.7;
}

.woocommerce ul.products li.product .price,.woocommerce ul.products li.product .sku {
    position: absolute;
    left: 0;
    width: 100%;
    color: #FFF;
    text-align: center;
    z-index: 3;
    font-weight: 300;
}
.woocommerce ul.products li.product .price {
    top: 89%;
    font-size: 22px;
    letter-spacing: 1px;
}
.woocommerce ul.products li.product .sku {
    top: 72%;
    font-size: 32px;
    font-family: 'AGaramondPro-Regular';
    font-weight: bold;
    letter-spacing: 1px;
}

h1.woocommerce-products-header__title.page-title {
    display: none;
}
th.product-remove, td.product-remove {
    text-align: center;
}
.woocommerce table.shop_table th.product-remove {
    text-align: right;
}
.woocommerce a.remove {
    display: block;
    width: 15px;
    height: 16px;
    line-height: 16px;
    background: url(../../../images/shop/ics.png) no-repeat top left transparent;
    border-radius: 0;
    color: #000 !important;
    border: none !important;
    border-bottom-color: transparent;
    box-shadow: none;
    margin: 0 auto;
}
.woocommerce a.remove:hover{
    color: #000 !important;
    background: url(../../../images/shop/ics.png) no-repeat top left transparent;
    text-decoration: none;
}

.cart_item td.product-quantity .label_quantity_select{
    display: none;
}



.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, 
.woocommerce button.button.alt, .woocommerce input.button.alt, 
.woocommerce #respond input#submit, .woocommerce a.button, 
.woocommerce button.button, .woocommerce input.button{
    background: #212120;
    border-radius: 1px;
    height: 29px;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1px;
    color: #fff;
    font-family: 'AGaramondPro-Regular';
    text-transform: uppercase;
}

.woocommerce #respond input#submit.alt:hover, 
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover,
form#login input[type="submit"]:hover, 
form#registration input[type="submit"]:hover, 
form#lostPasswordForm input[type="submit"]:hover,
.container-fluid.registration .submit_button:hover,
.container-fluid.edit_account .submit_button:hover,
.woocommerce div.product form.cart .button:hover{
    background: transparent;
    color: #212120 !important;
    border: 1px solid #212120;
}


.woocommerce #content table.cart td.actions .input-text, .woocommerce table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .input-text{
    width: 70%;
}
.woocommerce #respond input#submit.alt.disabled, .woocommerce #respond input#submit.alt.disabled:hover, .woocommerce #respond input#submit.alt:disabled, .woocommerce #respond input#submit.alt:disabled:hover, .woocommerce #respond input#submit.alt:disabled[disabled], .woocommerce #respond input#submit.alt:disabled[disabled]:hover, .woocommerce a.button.alt.disabled, .woocommerce a.button.alt.disabled:hover, .woocommerce a.button.alt:disabled, .woocommerce a.button.alt:disabled:hover, .woocommerce a.button.alt:disabled[disabled], .woocommerce a.button.alt:disabled[disabled]:hover, .woocommerce button.button.alt.disabled, .woocommerce button.button.alt.disabled:hover, .woocommerce button.button.alt:disabled, .woocommerce button.button.alt:disabled:hover, .woocommerce button.button.alt:disabled[disabled], .woocommerce button.button.alt:disabled[disabled]:hover, .woocommerce input.button.alt.disabled, .woocommerce input.button.alt.disabled:hover, .woocommerce input.button.alt:disabled, .woocommerce input.button.alt:disabled:hover, .woocommerce input.button.alt:disabled[disabled], .woocommerce input.button.alt:disabled[disabled]:hover{
    background: #000;
}

form.woocommerce-cart-form{
    margin-top: 30px;
}

.woocommerce div.product{
    font-family: 'AGaramondPro-Regular';
    font-size: 14px;
}
.woocommerce div.product h1.product_title{
    font-size: 24px;
    letter-spacing: 4px;
    margin:0;
    padding: 0;
}
.woocommerce div.product div.summary{
    margin: 40px 0 0;
}
.woocommerce div.product div.summary .product_meta{
    display: none;
}
.woocommerce div.product form.cart .variations{
    margin: 10px 0 0;
}
.woocommerce div.product form.cart .variations select{
    border:none;
}
.woocommerce div.product form.cart .variations label{
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
}
.woocommerce div.product form.cart .variations td.label{
    padding: 0;
    width: 80px;
}
.woocommerce div.product p.price{
    margin: 30px 0 0;
}
.woocommerce div.product form.cart .variations .inner_value{
    display: block;
    min-width: 75px;
    height: 33px;
    float: left;
    border-radius: 1px;
    background: url(../../../images/shop/select-arrow.png)  95% 65% no-repeat #f8f8f7;
}

.woocommerce div.product form.cart .variations .inner_value select{
    background: transparent;;
    min-width: 75px !important;
    width: 135px;/*auto !important;*/
    height: 33px;
    line-height: 1;
    border: 0;
    border-radius: 1px;
    margin: 0;
    text-indent: 10px;
    font-size: 11px;
    letter-spacing: 1px;
}


.woocommerce-variation-add-to-cart .quantity{
    display: block;
    height: 33px;
    float: left;
    border-radius: 1px;
    background: none;
}
.woocommerce-variation-add-to-cart .quantity select{
    background: transparent;;
    width: 75px !important;
    height: 29px;
    line-height: 1;
    border: 0;
    border-radius: 0;
} 

.woocommerce div.product form.cart .label_quantity_select{
    margin-right: 20px; 
    float: left;
    height: 29px;
    line-height: 29px;
}

.woocommerce div.product form.cart .button{
    clear: both;
    margin-top: 40px;
    background: #000;
    height: 25px;
    line-height: 28px;
    color: #fff;
    width: 137px;
    padding: 0;
    opacity: 1;
    font-weight: 400;
    font-size: 14px;
}

.woocommerce div.product form.cart{
    margin: 0;
    letter-spacing: 1px;
    font-size: 14px;
    padding: 0;
    position: relative;
}
.woocommerce-variation-availability {
    position: absolute;
    top: 140px;
    left: 70px;
}
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th{
    height: 38px;
    line-height: 38px;
    padding: 0;
}

.woocommerce div.product p.stock.in-stock {
    display: none;
}

/* WOOCOMMERCE TABS */
.woocommerce #content div.product .woocommerce-tabs, .woocommerce div.product .woocommerce-tabs, .woocommerce-page #content div.product .woocommerce-tabs, .woocommerce-page div.product .woocommerce-tabs{
    clear: none;
    float: left;
}
.woocommerce div.product .woocommerce-tabs ul.tabs{
    overflow: visible;
    padding: 0;
    margin: 0;
}
.woocommerce .wc-tab h2:first-child{
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs li {
    font-size: 12px;
    text-transform: uppercase;
    color: #000;
    padding: 0;
    margin: 0 20px 0 0;
    letter-spacing: 2px;
    background: none;
}
.woocommerce div.product .woocommerce-tabs .panel{
    padding: 20px 0 0;
    font-size: 12px;
    letter-spacing: 2px;
    line-height: 20px;
    max-width: 435px;
}
.woocommerce div.product .woocommerce-tabs .panel p.space{
    margin-top: 30px !important;
}
.woocommerce div.product .woocommerce-tabs .panel p.np{
    padding-bottom: 0px !important;
    letter-spacing: 2px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs li.active{
    color: #c3c5c9;
}
.woocommerce div.product p.price, .woocommerce div.product span.price{
    color: #000;
    font-size: 14px;
    letter-spacing: 1px;
}
.woocommerce div.product p.price span.label{
    padding: 0;
    width: 80px;
}
#add_payment_method table.cart img, .woocommerce-cart table.cart img, .woocommerce-checkout table.cart img{
    width: 100px;
    height: 117px;
    float: left;
    margin-right: 20px;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger{
    display: none;
}
.woocommerce div.product form.cart select{
    background: url(../../../images/shop/select-arrow.png) 95% 40% no-repeat #f8f8f7 !important;
    min-width: 75px !important;
    border-radius: 1px;
    height: 33px;
    text-indent: 10px;
    width: -webkit-min-content;
    width: -moz-min-content;
    width: min-content;
    font-size: 11px;
}
#add_payment_method table.cart input, .woocommerce-cart table.cart input, .woocommerce-checkout table.cart input{
    border:none;
}
.woocommerce table.shop_table{
    border: none;
    font-family: 'AGaramondPro-Regular';
}
.woocommerce table.shop_table tr{
    border:none;
    border-color: transparent;
}
.woocommerce table.woocommerce-cart-form__contents tr td{
    padding: 20px 0;
    text-align: center;
}
.cart_totals h2 {
    display: none;
}
.woocommerce table.shop_table tr:last-child td {
    border-top: 1px solid #000;
}
.woocommerce table.shop_table.woocommerce-checkout-review-order-table tr:last-child td {
    border-bottom: 1px solid #000;
    border-top: none;
}
.woocommerce table.shop_table td{
    padding: 20px 0;
}
.woocommerce table.shop_table td,.woocommerce table.shop_table td, .woocommerce table.shop_table tr.order-total td{
   /* padding: 0;
    */border-top: none;
}

.woocommerce table.shop_table td.product-name a, .woocommerce-shipping-calculator a{
    color: #000;
    text-decoration: none;
    box-shadow: none;
}
.woocommerce table.shop_table td.product-name .sku{
    font-size: 20px;
    line-height: 22px;
    font-weight: 400;
    letter-spacing: 4px;
    font-family: 'AGaramondPro-Semibold';
}
.woocommerce table.shop_table td.product-name a{
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    letter-spacing: 4px;
}
.woocommerce #content div.product .woocommerce-tabs, .woocommerce div.product .woocommerce-tabs, .woocommerce-page #content div.product .woocommerce-tabs, .woocommerce-page div.product .woocommerce-tabs{
    width: 48%;
    float: right;
    margin-top: 40px;
}
.woocommerce-shipping-calculator a:hover{
    text-decoration: none;
    box-shadow: none;
}
.woocommerce #content table.cart td.actions .coupon label, 
.woocommerce table.cart td.actions .coupon label, 
.woocommerce-page #content table.cart td.actions .coupon label, 
.woocommerce-page table.cart td.actions .coupon label{
    display: block;
    text-align: left;
    color: #000;
    line-height:30px;
    letter-spacing: 2px;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 12px;
}
a.woocommerce-remove-coupon {
    display: none;
}
.woocommerce-cart table.cart td.actions .coupon .input-text {
    box-sizing: border-box;
    width: 250px;
    margin: 0;
    border: 0;
    background: #f8f8f7 !important;
    outline: 0;
    line-height: 1;
    height: 28px;
    border-radius: 1px;
    font-family: 'AGaramondPro-Regular';
    font-size: 12px;
    letter-spacing: 1px;
    color: #000;
    max-width: 250px;
    display: block;
    width: 100%;
}
.woocommerce table.shop_table .coupon{
    width: 320px;
}
.coupon.submit{
    font-family: 'AGaramondPro-Regular';

}

.woocommerce .products ul, .woocommerce ul.products{
    margin: 0;
}

thead th{
    border-bottom: 1px solid #000;
    letter-spacing: 2px;
}

span.woocommerce-Price-amount.amount {
    font-weight: normal;
}

.woocommerce table.shop_table th{
    text-transform: uppercase;
    font-size: 12px;
    line-height: 25px;
    font-weight: normal !important;
    padding: 0 0 5px;
    text-align:center;
}
.woocommerce table.shop_table th.product-name{
    text-align: left;
}
.woocommerce table.shop_table th.product-total{
    font-size: 12px !important;
}
.woocommerce .products .star-rating{
    display: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li{
    border: none;
    border-radius: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
    font-weight: 400;
    color: #000;
    padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover{
    text-decoration: underline;
    color: #c3c5c9;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{
    display:none;
}

/* TAB COLORE */
.column_box{
    margin-right: 38px;
    float: left;
    text-align: center;
}
.color_box{
    width: 70px;
    height: 70px;
    border: 1px solid #c3c5c9;
    margin-bottom: 10px;
}
.color_box.last{
    margin-right: 0;
}
.column_box p{
    margin-bottom: 0;
}
/* TAB COLORE */


/* TAB TAGLIA */

table.custom_table tr td{
    line-height: 28px;
}
table.custom_table {
    margin-bottom: 30px;
    margin-top: 20px;
    width: auto;
}
table.custom_table tr:first-child{
    font-weight: 700;
}
table.custom_table tr td:first-child {
    letter-spacing: 2px;
    text-align: right;
    padding-right: 50px;
}

/* TAB TAGLIA */

/* CONTAINER WOO COMMERCE */
.woo_container {
    position: absolute;
    right: 0;
    top: 40px;
    font-family: 'AGaramondPro-Regular';
    font-size: 10px;
    line-height: 14px;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #000;
}
.woo_container a{
    color: #000;
}
.woo_container a:hover{
    color: #C3C5C9;
    text-decoration: none;
}
.woo_container a[title="My Account"], .woo_container a.login_button.margin {
    border-right: 1px solid #000;
    padding-right: 10px;
    margin-right: 10px;
}
/* CONTAINER WOO COMMERCE */

/* WOO COMMERCE BREADCRUMB */
.woocommerce .woocommerce-breadcrumb{
    color: #000;
    font-size: 10px;
    letter-spacing: 2px;
    line-height: 18px;
    text-transform: uppercase; 
}
.woocommerce .woocommerce-breadcrumb a, .woocommerce .woocommerce-breadcrumb span.delimiter{
    color: #c3c5c9;
}
/* WOO COMMERCE BREADCRUMB */


/* CART STYLE */
.entry-content a:focus, .entry-content a:hover, .entry-summary a:focus, .entry-summary a:hover, .widget a:focus, .widget a:hover, .site-footer .widget-area a:focus, .site-footer .widget-area a:hover, .posts-navigation a:focus, .posts-navigation a:hover, .comment-metadata a:focus, .comment-metadata a:hover, .comment-metadata a.comment-edit-link:focus, .comment-metadata a.comment-edit-link:hover, .comment-reply-link:focus, .comment-reply-link:hover, .widget_authors a:focus strong, .widget_authors a:hover strong, .entry-title a:focus, .entry-title a:hover, .entry-meta a:focus, .entry-meta a:hover, .page-links a:focus .page-number, .page-links a:hover .page-number, .entry-footer a:focus, .entry-footer a:hover, .entry-footer .cat-links a:focus, .entry-footer .cat-links a:hover, .entry-footer .tags-links a:focus, .entry-footer .tags-links a:hover, .post-navigation a:focus, .post-navigation a:hover, .pagination a:not(.prev):not(.next):focus, .pagination a:not(.prev):not(.next):hover, .comments-pagination a:not(.prev):not(.next):focus, .comments-pagination a:not(.prev):not(.next):hover, .logged-in-as a:focus, .logged-in-as a:hover, a:focus .nav-title, a:hover .nav-title, .edit-link a:focus, .edit-link a:hover, .site-info a:focus, .site-info a:hover, .widget .widget-title a:focus, .widget .widget-title a:hover, .widget ul li a:focus, .widget ul li a:hover{
    -webkit-box-shadow:none;
    box-shadow: none;
}

.entry-content a, .entry-summary a, .widget a, .site-footer .widget-area a, .posts-navigation a, .widget_authors a strong{
    -webkit-box-shadow:none;
    box-shadow: none;
    transition: unset;
    -webkit-transition: unset;
}
.woocommerce .quantity .qty{
    width: auto;
    background: none !important;
    border: none;
    padding: 5px;
    display: inline-block;
}
.woocommerce td.product-name p.backorder_notification{
    display: none;
}
/* CART STYLE */



/* CHECKOUT STEPS */
.checkout-menu{
    text-align: center;
    letter-spacing: 4px;
}
.checkout-menu h1{
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 4px;
}
.checkout-menu .checkout-menu-sub{
    font-size: 12px;
    height: 50px;
    max-width: 352px;
    margin: 30px auto 0;
}
.checkout-menu .checkout-menu-sub ul li{
    float: left;
    margin-right: 30px; 
    height:50px;
    list-style: none;
}
.checkout-menu .checkout-menu-sub ul li.last{
    margin-right: 0;
}
.checkout-menu .checkout-menu-sub ul li a{
    display:block;
    height: 25px;
    line-height: 25px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    padding:0 7px 0 10px;
    color: #000;
}
.checkout-menu .checkout-menu-sub ul li a:hover{
    color: #C3C5C9;
    text-decoration: none;;
}
.checkout-menu .checkout-menu-sub ul li a.active:hover{
    text-decoration:none;
}
.checkout-menu .checkout-menu-sub ul li a.active{
    background: #212120;
    color: #fff;
    position: relative;
}
.checkout-menu .checkout-menu-sub ul li a.active:after{
    content: '';
    background: url(../../../images/shop/triangolo-steps.png) no-repeat top right transparent;
    width:9px;
    height: 25px;
    position: absolute;
    right: -9px;
    top: 0;
    display: block;
}

.col-1, .col-2{
    max-width: 50%;
}
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
    border: none;
    padding: 0px;
    margin: 0;
    border-radius: 0;
}
/* CHECKOUT STEPS*/

form.checkout.woocommerce-checkout{
    font-family: 'AGaramondPro-Regular';
    font-size: 12px;
    float: left;
    width: 900px;
    position: static !important;
    zoom: 0 !important;
}

form.checkout.woocommerce-checkout .col-1, form.checkout.woocommerce-checkout .col-2 {
    -webkit-box-flex: unset;
    -ms-flex: unset;
    flex: unset;
    max-width: unset;
}

.woocommerce .colonna1, .woocommerce .colonna2{
    float: left;
}
.woocommerce .colonna1{
    /*max-width: 900px;*/
    width: 100%;
    margin-bottom: 55px;
    padding-top: 20px;
    padding-bottom: 30px;
}
.woocommerce .colonna2{
    max-width: 450px;
}

.woocommerce table.shop_table td.product-name .details{
    float: left;
    margin-top: 30px;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 4px;
    text-align: left;
    letter-spacing: 2px;
}
.woocommerce table.shop_table td.product-name .details.review_order{
    margin-top: 20px;
}
.woocommerce table.shop_table td.product-name .details .quantity{
    clear: both;
    letter-spacing: 2px;
}
.woocommerce td.product-name .wc-item-meta dd, .woocommerce td.product-name dl.variation dd{
    float: left;
    letter-spacing: 2px;
    margin-right: 10px;
    line-height: 22px;
    font-size: 14px;
    word-wrap: unset;
}
.woocommerce td.product-name dl.variation dd:last-child:before {
    content: '/';
    float: left;
    margin: 0 10px 0 0;
}
.woocommerce td.product-name dl.variation p {
    float: left;
}

.woocommerce table.shop_table td.product-name dl dt{
    display: none;
}

.shop_table.woocommerce-checkout-review-order-table td.product-name img{
    max-width: 100px;
    float: left;
    margin-right: 15px;
}

#add_payment_method .wc-proceed-to-checkout, 
.woocommerce-cart .wc-proceed-to-checkout, 
.woocommerce-checkout .wc-proceed-to-checkout{
    padding: 0;
}
.woocommerce-cart .wc-proceed-to-checkout a.button{
    padding: 0;
    margin: 20px 0 0;
    width: 250px;
    float: right;
    line-height: 30px;
    text-transform: uppercase;
}
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table th.product-total,
.woocommerce table.shop_table td.product-total{
    text-align: right;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 400;
}
.woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th{
    border: none;
    padding: 20px 0;
}
.woocommerce table.shop_table tr.order-total td {
    border: none !important;
}

#add_payment_method .cart-collaterals .cart_totals table, .woocommerce-cart .cart-collaterals .cart_totals table, .woocommerce-checkout .cart-collaterals .cart_totals table{
    margin:0;
}
.woocommerce .cart-collaterals, .woocommerce-page .cart-collaterals {
    width: 450px;
    height: 200px;
    float: right;
    margin-top: -100px;
}

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals{
    height: 150px;
}

.woocommerce-cart .cart-collaterals .cart_totals table{
    width: 540px;
    float: right;
}
.woocommerce-cart .cart-collaterals .cart_totals table th{
    letter-spacing: 2px;
}
.woocommerce-cart .cart-collaterals .cart_totals table th,.woocommerce-cart .cart-collaterals .cart_totals table td {
    text-align: right;
    padding: 0;
    height: 33px;
    line-height: 33px;
}

/* */
.woocommerce-account .woocommerce-MyAccount-content{
    float: left;
    width: 100%;
    margin: 100px 0 250px;
}
.woocommerce h1.page_title{
    text-align: center;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 40px 0 30px;
}

form.checkout.woocommerce-checkout .form-row{
    width: 100%;
    margin: 5px 0;
}
form.checkout.woocommerce-checkout .form-row .select2-container--default .select2-selection--single .select2-selection__rendered,
form.checkout.woocommerce-checkout .form-row  .select2-container--default .select2-selection--single{
    width:100% !important;
}

.success-box{
    width: 530px;
    margin: 100px auto 0px;
    text-align: center;
    padding-bottom: 200px;
}

.success-box-text p{
    font-size: 14px;
    line-height: 33px;
}

.success-box .controls a.continue, .success-box .controls a.exit{
    width: 250px;
    background: #212120;
    color: #fff;
    height: 29px;
    line-height: 32px;
    text-align: center;
    display: block;
    letter-spacing: 2px;
}

.success-box .controls{
    margin-top: 120px;
}

.success-box .controls a.continue{
    float: left;
}
.success-box .controls a.exit{
    float: right;
}

/* */
form.edit-account {
    max-width: 1040px;
    margin: 0 auto;
    background: #f8f8f7;
    padding: 20px;
}
form.woocommerce-EditAccountForm.edit-account {
    background: none;
    padding: 0;
}
form.edit-account input[type="text"],form.edit-account input[type="tel"],form.edit-account input[type="email"]{
    background: #fff !important;
}
form.edit-account .data{
    max-width: 540px;
}
form.edit-account .data p, form.edit-account h3{
    font-size: 12px;
    line-height: 22px;
    margin: 0;
    letter-spacing: 2px;
    padding: 0;
    clear: both;
    float: none;
    color: #000;
}
form.edit-account h3{
    text-transform: uppercase;
    margin-bottom: 25px;
}
form.edit-account .data p:first-child{
    margin-bottom: 25px;
}
form.edit-account .data p label{
    line-height: 22px;
    text-transform: uppercase;
    width: 100%;
}
form.edit-account .data.sx p label{
    width: auto;
    margin-right: 10px;    
}
form.edit-account .data.sx{
    float: left;
    width: 50%;
    background: #f8f8f7;
    padding: 20px;
}
form.edit-account .data.dx
{
    width: 300px;
    padding: 20px;
    background: #f8f8f7;
    float: right;
}
.woocommerce-password-hint {
    margin: 10px 0 0;
    display: block;
    font-size: 10px;
    letter-spacing: 0px;
}
form.edit-account button{
    float: right;
    max-width: 256px !important;
}
form.edit-account button{
    margin-top: 25px !important;
    height: 29px !important;
    line-height: 28px !important;
    width: 100%;
    padding: 0 !important;
}
form.edit-account .data.dx input[type="password"]{
    background: #fff !important;
}

/* PAYMENT METHODS */
.payment_box.payment_method_paypal, .payment_box.payment_method_bacs {
    display: none;
}


/* AJAX OVERLAY STYLES */
.woocommerce form .input-text, .woocommerce-page form .input-text,
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
    box-sizing: border-box;
    width: 100%;
    background-color: #fff !important;
    border: none;
    color: #000;
    border-radius: 1px;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #f8f8f7 inset;
}

form.overlay_form label{
    font-weight: 300;
    color: #000;
}
form.overlay_form{    
    display: none;
    background-color: #FFFFFF;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 50px 100px;
    z-index: 999;
    border-radius: 2px;
}
form.edit-account .data.sx a#show_edit_account{
    letter-spacing: 1px;
    color: #000;
    display: block;
    float: right;
    height: 16px;
    line-height: 27px;
    padding-left: 25px;
    cursor: pointer;
    background: url(../../../images/shop/edit_pen.png) no-repeat top left transparent;
    background-size: 16px;
    font-size: 12px;
}

form.overlay_form p.status
{
    display: none;
    font-size: 11px;
}

form.overlay_form p.status p.error{
    margin: 0;
    line-height: 13px;
    padding: 0;
    color: red;
}

.login_overlay,.registration_overlay{
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: 0.7;
    position: fixed;
    z-index: 998;
}
form#login h3, form#registration h3, form#lostPasswordForm h3, form#edit_account h3{
    font-size: 16px;
    text-align: center;
    line-height: 34px;
    margin: 0 0 30px;
    padding: 0;
}
form#registration .checkbox-custom-label{
    text-transform: none;
}
form#registration input#new_user_birth_date::placeholder, 
form#registration input#new_user_birth_place::placeholder,
form#edit_account input#edit_user_birth_date::placeholder,
form#edit_account input#edit_user_birth_place::placeholder{
    color: #666;
    font-size: 10px;
    font-family: "AGaramondPro-Regular";
    letter-spacing: 1px;
}
form.overlay_form a.close{
    display: block;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 10px;
    right: 10px;
    background: url(../../../images/shop/ics-close.png) no-repeat top right transparent;
    background-size: 15px;
    opacity: 1;
    float: none;
    text-shadow: none;
}
form#login label,
form#registration label,
form#lostPasswordForm label   {
    width: 100px;
    float: left;
    font-size: 12px;
    clear: none;
    letter-spacing: 1px;
    line-height: 28px;
    text-transform: uppercase;
}
form#login label[for="password"]{
    clear: both;
    margin-top: 20px;
}
form#login input#password{
    margin-top: 20px;
}
form#login .clear, form#registration .clear, form#lostPasswordForm .clear{
    margin-bottom: 20px;
}
form#login input#username, 
form#login input#password, 
form#lostPasswordForm input[type="email"], 
form#lostPasswordForm input[type="text"], 
form#registration input[type="email"],
form#registration input[type="password"], 
form#registration input[type="text"]{
    border-radius: 1px;
    float: left;
    border: none;
    clear: none;
    background: #f8f8f7 !important;
    height: 28px;
    line-height: 28px;
    font-size: 12px;
    width: 256px;
}
 
form#registration label{
    width: 134px;
}

form#login input[type="submit"],
form#registration input[type="submit"],
form#lostPasswordForm input[type="submit"] {
    padding: 0;
    height: 28px;
    line-height: 30px;
    width: 256px;
    margin-left: 100px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 300;
    border-radius: 1px;
    letter-spacing: 1px;
    float: left;
    background: #212120;
    border: 1px solid #fff;
}

form#login .actions,
form#lostPasswordForm .actions{
    clear: both;
    float: left;
    margin-top: 30px;
    width: 256px;
    margin-left: 100px;
}
form#login .actions a, form#lostPasswordForm .actions a{
    text-transform: uppercase;
    font-size: 11px;
    color: #000;
    text-decoration: none;
    letter-spacing: 2px;
    float: left;
    cursor: pointer;
}
form#login .actions a:hover,form#lostPasswordForm .actions a:hover{
    text-decoration: underline;
}
form#login .actions a:first-child{
    border-right: 1px solid #000;
    padding-right: 5px;
}
form#login .actions a:last-child{
    padding-left: 5px;
}
/* AJAX OVERLAY STYLES */
form.overlay_form h3{
    text-align: center;
    font-size: 16px;
    letter-spacing: 2.5px;
    padding-bottom: 30px;
}
/* EDIT ACCOUNT */
.container-fluid.edit_account{
    padding: 0;
    width: 900px;
}
.container-fluid.edit_account label {
    display: block;
    font-size: 12px;
    line-height: 29px;
    width: 100%;
    text-transform: uppercase;
}
.container-fluid.edit_account span.email {
    font-size: 12px;
    color: #f8f8f7;
}
.container-fluid.edit_account .input-text{
    font-size: 11px;
    border-radius: 1px;
    padding: 0; 
    text-indent: 10px;
    width: 100%;
    max-width: 286px;
    height: 28px;
    background: #f8f8f7 !important;
}
.container-fluid.edit_account .submit_button{
    background: #212120;
    border-radius: 1px;
    -webkit-border-radius: 1px;
    display: block;
    float: right;
    font-size: 14px;
    height: 29px;
    line-height: 29px;
    width: 135px;
    transition: unset;
    -webkit-transition: unset;
    font-weight: 300;
    padding: 0;
    letter-spacing: 1px;
}
.container-fluid.edit_account .row.align-items-start {
    margin: 0 0 20px;
}
.container-fluid.edit_account .row.align-items-start.last{
    margin: 0;
}
/* REGISTRATION */
.container-fluid.registration{
    padding: 0;
    width: 920px;
}
.container-fluid.registration label {
    display: block;
    font-size: 12px;
    line-height: 29px;
    width: 100%;
    text-transform: uppercase;
}
.container-fluid.registration .input-text, .container-fluid.registration .select{
    font-size: 11px;
    border-radius: 1px;
    padding: 0; 
    text-indent: 10px;
    width:  256px;/*100%;*/
    height: 28px;
    border: none;
}
.container-fluid.registration .select{
    background: url(../../../images/shop/select-arrow.png) 98% 50% no-repeat #f8f8f7;
}
.container-fluid.registration .submit_button{
    background: #212120;
    border-radius: 1px;
    -webkit-border-radius: 1px;
    display: block;
    float: right;
    font-size: 14px;
    height: 29px;
    line-height: 29px;
    width: 135px;
    transition: unset;
    -webkit-transition: unset;
    font-weight: 300;
    padding: 0;
    letter-spacing: 1px;
}
.container-fluid.registration .submit_button[name="btnregister"] {
    margin-right: 20px;
}
.container-fluid.registration .col-sm-6.top-40{
    margin-top: -40px;
}
.container-fluid.registration  a#reset_registration_form{
    margin-right: 20px;
    color: #fff;
    text-align: center;
    line-height: 29px;
    cursor:pointer;
}
.container-fluid.registration .row.align-items-start {
    margin: 0 0 20px;
}
.container-fluid.registration .row.align-items-start.last{
    margin: 0;
}

/* EDIT ADDRESSES */
.woocommerce-MyAccount-content .woocommerce-address-fields .form-row {
    margin: 0 20px 20px 0px;
    clear: none;
    max-width: 48%;
    width: 100%;
    display: block;
    height: 28px;
}
.woocommerce-MyAccount-content .woocommerce-address-fields .form-row label{
    clear: none;
    max-width: 130px;
    width: 100%;
    margin-right: 10px;
    float: left;
    height: 28px;
    margin-right: 10px;
    line-height: 28px;
}
.woocommerce-MyAccount-content .woocommerce-address-fields .form-row .select2-container--default .select2-selection--single .select2-selection__rendered,.select2-container--default .select2-selection--single {
    width:100% !important;
    background: url(../../../images/shop/select-arrow.png) 98% 50% no-repeat #fff;
    height: 28px;
    line-height: 28px;
    float: right;
}
.woocommerce-MyAccount-content .woocommerce-address-fields .select2-container{
    width: 286px !important;
    overflow: hidden;
    float: right;
    height: 28px !important;
    line-height: 28px !important;    
}
.select2-container--default .select2-selection--single{
    border: none;
    border-radius: 1px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
    display: none;
}
form.edit-account p.clear {
    margin-right: 20px;
}

.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1,.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2{
    background: #f8f8f7;
    padding: 20px !important;
}
header.title{
    padding: 0;
}

.woocommerce-MyAccount-content .woocommerce-address-fields .form-row input[type="email"],.woocommerce-MyAccount-content .woocommerce-address-fields .form-row input[type="text"],.woocommerce-MyAccount-content .woocommerce-address-fields .form-row input[type="tel"], .woocommerce-address-fields .form-row select {
    font-size: 11px;
    border-radius: 1px;
    padding: 0;
    text-indent: 10px;
    width: 100%;
    max-width: 286px;
    height: 28px;
    float: right;
    clear: none !important;
}

.woocommerce-account .addresses .title h3{
    font-size: 12px;
    line-height: 22px;
    margin: 0 0 15px;
    letter-spacing: 2px;
    padding: 0;
    float: left;
    color: #000;
}
.woocommerce-account .addresses  address{
    line-height: 20px;
    font-size: 12px;
    letter-spacing: 1px;
}


.woocommerce-account .addresses .title .edit{
    letter-spacing: 1px;
    color: #000;
    display: block;
    float: right;
    height: 16px;
    line-height: 27px;
    padding-left: 25px;
    cursor: pointer;
    background: url(../../../images/shop/edit_pen.png) no-repeat top left transparent;
    background-size: 16px;
    font-size: 12px;
}


.woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
    max-width: 1040px;
    float: none;
    margin: 100px auto 250px;
}

#add_payment_method .cart-collaterals .cart_totals tr td, #add_payment_method .cart-collaterals .cart_totals tr th, .woocommerce-cart .cart-collaterals .cart_totals tr td, .woocommerce-cart .cart-collaterals .cart_totals tr th, .woocommerce-checkout .cart-collaterals .cart_totals tr td, .woocommerce-checkout .cart-collaterals .cart_totals tr th{
    border: none;
}

section.shipping-calculator-form p{
    width: 100%;
    margin: 0 auto 10px !important;
}

section.shipping-calculator-form p span{
    width: 100%;
}

table.variations tr {
    border-bottom: none;
}

.only-mobile{
    display: none;
}


form#login label.ckbx, form#registration label.ckbx, form#lostPasswordForm label.ckbx{
    width: 100%;
}

form#login label.ckbx a, form#registration label.ckbx a, form#lostPasswordForm label.ckbx a{
    color: #212120;
}

span.list-item-label::before {
    content: '';
    background: #f8f8f7;
    border: none;
    display: block;
    width: 15px;
    height: 15px;
    margin-right: 10px;
    position: absolute;
    left: 15px;
    top: 12px;
    cursor: pointer;
}

.checkbox-custom:checked + span.list-item-label::before{
    content: '';
    background: url(../../../images/shop/check_on.png);
}

div.edit_account input[type="submit"]:hover{
    background: transparent;
    color: #fff;
    border: 1px solid #212120;
}

/* Gallery */
.woocommerce div.product div.images .flex-control-thumbs{
   margin: 20px auto;
   display: table; 
}
.woocommerce div.product div.images .flex-control-thumbs li{
    clear: none !important;
    float: left;
    position: relative;
    width: 15px;
    height: 17px;
    margin:0 5px;
}
ol.flex-control-thumbs li::before {
    content: '';
    width: 15px;
    height: 15px;
    display: block;
    border-radius: 15px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #000;
}

ol.flex-control-thumbs li.active::before{
    background: #000;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active, .woocommerce div.product div.images .flex-control-thumbs li img:hover{
    opacity: 0;
}
.woocommerce div.product div.images .flex-control-thumbs li img {
    cursor: pointer;
    max-width: 15px;
    opacity: 0;
    margin: 0;
    height: 15px;
    display: block;
    width: 15px;
}

/* Gallery */
.container.clothes {
    /* margin-top: 100px !important; */
}

/* On sale */
.woocommerce span.onsale{
    display: none;
}

.wc_payment_method {
    display: block;
}
.wc_payment_method > [for="payment_method_ppcp-gateway"] {
    display: none;
}

.wcppec-checkout-buttons {
    width: 151px !important;
}

.woocommerce div.product form.cart .button {
    width: auto !important;
    padding: 0 15px;
}

#woo_pp_ec_button_checkout .paypal-buttons {
    width: 80%!important;
}

.woocommerce table.shop_table td.product-name .details.review_order {
    width: 67%;
}

.woocommerce-NoticeGroup-checkout .woocommerce-error{
    top: 80px;
}

.woocommerce-terms-and-conditions-wrapper{
    width: 100%;
}

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order{
    /* display: none !important; */
}

.popup-vat-container .row{
    padding: 30px 0;
}

.single-product .paypal-buttons-context-iframe{
    width: 150px !important;
    margin-top: 5px;
}

.woocommerce-checkout .paypal-buttons-context-iframe{
    width: 250px !important;
}

.single-product.has-sidebar #primary {
    width: 100%;
    float: none;
}

.single-product.has-sidebar #secondary{
    display: none;
    float: none;
}


/* ==========================================================================
   MODIFICHE CSS PER BLOCCO DATI SX EDIT ACCOUNT
   ========================================================================== */

/* 1. Nasconde il blocco di modifica nel flusso normale della pagina account */
.woocommerce-MyAccount-content div.container-fluid.edit_account {
    display: none;
}

/* 2. Quando il modale si apre, permettiamo al form di mostrarsi correttamente 
   (se il tuo layout interno usa il flex, metti display: flex altrimenti display: block) */
body:has(.registration_overlay) div.container-fluid.edit_account {
    display: block; 
}


/* ==========================================================================
   MODIFICHE CSS PER BLOCCO DATI DX PASSWORD (Icona a destra e spaziature)
   ========================================================================== */

/* 1. Spaziatura corretta tra righe ed etichette */
form.edit-account .data.dx p.woocommerce-form-row {
    margin-bottom: 25px !important;
}

form.edit-account .data.dx p label {
    display: block !important;
    margin-bottom: 10px !important;
    margin-top: 0 !important;
}

/* 2. Contenitore dell'input perimetrato */
form.edit-account .data.dx span.password-input {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

/* 3. Campo bianco con "muro" protettivo a DESTRA per il testo */
body form.edit-account .data.dx span.password-input input.woocommerce-Input {
    padding-right: 45px !important; /* Crea lo spazio vitale a destra per l'icona */
    padding-left: 12px !important;  /* Ripristina lo spazio a sinistra */
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 4. Forzatura del bottone e della sua icona a DESTRA */
body form.edit-account .data.dx span.password-input button.show-password-input {
    position: absolute !important;
    right: 10px !important;         /* Incolla il bottone a destra */
    left: auto !important;          /* Uccide qualsiasi allineamento a sinistra del tema */
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 30px !important;         /* FONDAMENTALE: impedisce al bottone di occupare tutto il campo */
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important; /* Centra l'icona nel suo piccolo spazio di 30px */
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 99 !important;
}

/* 5. Se l'icona è un simbolo ::after/::before generato dal tema, sblocchiamo anche quello */
body form.edit-account .data.dx span.password-input button.show-password-input::before,
body form.edit-account .data.dx span.password-input button.show-password-input::after {
    position: static !important;
    right: auto !important;
    left: auto !important;
    margin: 0 !important;
}

/* ==========================================================================
   ALLINEAMENTO MENU VARIANTI (Colore, Taglia)
   ========================================================================== */

/* Fissa la larghezza della colonna con le etichette */
table.variations th.label {
    width: 140px !important;
    text-align: left !important;
    vertical-align: middle !important;
    padding-left: 0 !important;
}

/* Forza la colonna dei selettori ad allinearsi a sinistra */
table.variations td.value {
    text-align: left !important;
    vertical-align: middle !important;
}

/* Uniforma la larghezza visiva dei menu a tendina */
table.variations td.value select {
    min-width: 180px !important; 
    margin-left: 0 !important;
}

/* Gestisce il tasto "Svuota" per non far sballare il layout */
table.variations td.value a.reset_variations {
    display: inline-block !important;
    margin-left: 10px !important;
}

/* ==========================================================================
   ALLINEAMENTO CAMPO QUANTITÀ E BOTTONE AGGIUNGI
   ========================================================================== */

/* Dispone l'etichetta e il box in riga e previene lo schiacciamento */
.woocommerce div.product form.cart .quantity {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important; 
    margin: 0 !important;
}

/* Dimensioni del box numerico e allineamento a piombo con i menu (60px) */
.woocommerce div.product form.cart .quantity input.qty {
    width: 70px !important; 
    min-width: 70px !important;
    max-width: 70px !important;
    padding-left: 15px !important;
    box-sizing: border-box !important;
    margin-left: 60px !important; 
}

/* Incolonna Quantità e Bottone uno sotto l'altro con il giusto respiro */
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important; 
    gap: 25px !important; 
}

/* Resetta i margini del bottone nero e ne preserva le dimensioni */
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart button.single_add_to_cart_button {
    margin-left: 0 !important;
    margin-top: 10px !important;
    width: auto !important; 
}

/* ==========================================================================
   FIX SOVRAPPOSIZIONE ETICHETTE INDIRIZZI
   ========================================================================== */

/* Sblocca l'altezza della riga e usa overflow per contenere i campi flottanti */
.woocommerce-MyAccount-content .woocommerce-address-fields .form-row {
    height: auto !important;
    min-height: 28px !important;
    overflow: hidden !important; 
}

/* Sblocca l'altezza dell'etichetta e riduce l'interlinea per la lettura su più righe */
.woocommerce-MyAccount-content .woocommerce-address-fields .form-row label {
    height: auto !important;
    line-height: 14px !important; 
    padding-top: 5px !important; /* Centra visivamente il testo rispetto all'input a destra */
}


/* ==========================================================================
   NASCONDE (FACOLTATIVO) SOLO DAL CAMPO AZIENDA
   ========================================================================== */
#billing_company_field label .optional,
#shipping_company_field label .optional {
    display: none !important;
}

/* ==========================================================================
   CENTRATURA PERFETTA MENU MY ACCOUNT (Tutte le lingue)
   ========================================================================== */
.woocommerce-MyAccount-navigation ul {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding-left: 0 !important; /* Rimuove lo spazio vuoto colpevole dello sbandamento */
    margin: 0 auto 50px !important; /* Centra il blocco e dà respiro sotto */
    width: 100% !important;
}


/* ==========================================================================
   PAREGGIO ALTEZZA BOX DATI ACCOUNT E PASSWORD (CORRETTO)
   ========================================================================== */
@media screen and (min-width: 769px) {
    /* Il selettore ora include .woocommerce-EditAccountForm per non toccare gli indirizzi */
    form.woocommerce-EditAccountForm.edit-account {
        display: flex !important;
        justify-content: space-between !important;
        align-items: stretch !important; /* Forza i due box ad avere la stessa altezza */
    }

    /* Disinnesca i vecchi float solo in questo specifico form */
    form.woocommerce-EditAccountForm.edit-account .data.sx,
    form.woocommerce-EditAccountForm.edit-account .data.dx {
        float: none !important;
        height: auto !important; 
    }

    /* Nasconde l'elemento di pulizia */
    form.woocommerce-EditAccountForm.edit-account .clear {
        display: none !important;
    }
}

/*----------------------*/

/* ==========================================================================
   RESTYLING PULITO CALCOLATORE SPEDIZIONE (HTML UNIFORME)
   ========================================================================== */

/* 1. Sblocca le altezze del carrello */
.woocommerce .cart-collaterals,
.woocommerce-page .cart-collaterals,
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
    height: auto !important;
    min-height: 200px !important;
}
.woocommerce-cart .cart-collaterals .cart_totals table td,
.woocommerce-cart .cart-collaterals .cart_totals table th {
    height: auto !important; 
    padding-bottom: 15px !important;
}

/* 2. Resetta il contenitore del modulo */
.shipping-calculator-form {
    margin-top: 15px !important;
    clear: both !important;
}

/* 3. Nasconde le scritte opzionali e i campi non necessari */
.shipping-calculator-form label .optional {
    display: none !important;
}
.shipping-calculator-form p[style*="display: none"],
.shipping-calculator-form p[style*="display:none"],
.shipping-calculator-form p#calc_shipping_state_field:has(input[type="hidden"]) {
    display: none !important;
}

/* 4. TRASFORMA TUTTI I PARAGRAFI IN RIGHE FLEX AFFIANCATE IDENTICHE */
.shipping-calculator-form p:not([style*="display: none"]) {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
    width: 100% !important;
}

/* 5. ETICHETTE A SINISTRA (Fisse a 140px, testo allineato a destra) */
.shipping-calculator-form p label {
    display: block !important;
    width: 140px !important; 
    text-align: right !important;
    margin: 0 15px 0 0 !important;
    line-height: 28px !important;
    font-size: 12px !important;
    color: #000 !important;
    padding: 0 !important;
}

/* 6. CAMPI E TENDINE A DESTRA (Fissi a 250px e grigi #f8f8f7) */
.shipping-calculator-form select,
.shipping-calculator-form input.input-text {
    width: 250px !important; 
    height: 28px !important;
    background-color: #f8f8f7 !important;
    border: none !important;
    border-radius: 1px !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    font-size: 11px !important;
    color: #000 !important;
    margin: 0 !important;
}

/* 7. Freccia personalizzata per le tendine */
.shipping-calculator-form select {
    -webkit-appearance: none !important;
    appearance: none !important;
    background: url('../../../images/shop/select-arrow.png') 95% 50% no-repeat #f8f8f7 !important; 
    padding-right: 25px !important; 
}

/* Fix per eventuali tendine Select2 generate dal tema */
.shipping-calculator-form .select2-container {
    width: 250px !important;
    text-align: left !important;
    margin: 0 !important;
}
.shipping-calculator-form .select2-selection {
    background-color: #f8f8f7 !important;
    border: none !important;
    height: 28px !important;
}

/* 8. Posizionamento e Stile del Bottone AGGIORNA */
.shipping-calculator-form button[name="calc_shipping"] {
    width: 250px !important;
    float: right !important;
    margin-top: 10px !important;
    padding: 0 !important;
    background: #212120 !important;
    color: #fff !important;
    height: 29px !important;
    border: none !important;
    transition: all 0.2s ease !important;
}
.shipping-calculator-form button[name="calc_shipping"]:hover {
    background: transparent !important;
    color: #212120 !important;
    border: 1px solid #212120 !important;
}

/* 9. Rimoizione loader blockui */
.cart_totals .blockUI,
.cart_totals .blockOverlay,
.woocommerce-shipping-calculator .blockUI,
.woocommerce-shipping-calculator .blockOverlay {
    background: transparent !important;
    opacity: 0 !important;
    display: none !important;
}

/* ==========================================================================
   RIPRISTINO E STILE LABEL COUPON NEL CARRELLO
   ========================================================================== */
.woocommerce-cart .coupon label,
.woocommerce form.cart .coupon label,
.woocommerce-shipping-calculator .coupon label {
    display: block !important;
    width: 100% !important;
    text-align: left !important; /* O right se preferisci allinearla a destra */
    margin-bottom: 5px !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    color: #000 !important;
    
    /* Annulla l'occultamento di WooCommerce */
    clip: auto !important;
    clip-path: none !important;
    position: static !important;
    height: auto !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ==========================================================================
   STYLING PULITO BLOCCO SPEDIZIONE (CART TOTALS)
   ========================================================================== */

/* 1. Allinea tutto il contenuto della colonna spedizione a destra */
.woocommerce-cart .cart_totals tr.shipping td {
    text-align: right !important;
}

/* 2. Nome della tariffa di spedizione e etichette all'interno della lista */
.woocommerce-cart .cart_totals tr.shipping ul#shipping_method {
    list-style: none !important;
    padding: 0 !important;
    margin: 6px 0 5px 0 !important;
    text-align: right !important;
}
.woocommerce-cart .cart_totals tr.shipping ul#shipping_method li {
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #000 !important;
}

/* 3. ASSICURA CHE IL PREZZO DELLA SPEDIZIONE SIA UGUALE AGLI ALTRI IMPORTI */
.woocommerce-cart .cart_totals tr.shipping ul#shipping_method li .amount,
.woocommerce-cart .cart_totals tr.shipping span.amount {
    font-size: 16px !important;          /* Modifica qui la dimensione se gli altri importi usano un font diverso */
    text-transform: none !important;
    letter-spacing: normal !important;
    font-weight: normal !important;     /* O bold, a seconda di come sono gli altri totali */
}

/* 4. Testo dell'indirizzo di destinazione (Spedizione a...) */
.woocommerce-cart .cart_totals tr.shipping p.woocommerce-shipping-destination {
    font-size: 12px !important;
    color: #444 !important;
    margin: 5px 0 8px 0 !important;
    line-height: 1.4 !important;
    text-align: right !important;
}

/* 5. Pulsante/Link "Modifica indirizzo" */
.woocommerce-cart .cart_totals tr.shipping a.shipping-calculator-button {
    display: inline-block !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: #111 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #111 !important;
    padding-bottom: 1px !important;
    margin-top: 4px !important;
    transition: all 0.2s ease !important;
}

.woocommerce-cart .cart_totals tr.shipping a.shipping-calculator-button:hover {
    color: #666 !important;
    border-color: #666 !important;
}

/*----------------------*/

/* ==========================================================================
  CSS TRASFERITI DA WP BACKEND
   ========================================================================== */

.color_box{
    -webkit-border-radius: 34px !important;
    -moz-border-radius: 34px !important;
    border-radius: 34px !important;
}

.woocommerce-loop-product__title{
    font-size: 20px !important;
}

.navigation-top ul li.hidden {
        visibility: hidden !important;
}

.navigation-top ul li.red a{
    color: red !important;
}

.navigation-top ul li.red a:after{
    color: red !important;
    background: red !important;
}

.navigation-top ul li.red a:hover:after{
    color: red !important;
    background: red !important;
}

.delete {display:none !important}


.label-sale {margin-bottom:20px !important; letter-spacing:2px !important; color:#d30101 !important}

.single_add_to_cart_button {margin-bottom:20px !important;}

.navigation-top ul li a[href="#"] {cursor:none !important;
pointer-events: none !important;}

.navigation-top ul li.disabled-link a{
    cursor: default !important;
    pointer-events: none !important;
    text-decoration: none !important;
    color:#c5c5c5 !important;
}
#apple-applepay-container {
    width: 250px;
}

#apple-ppc-button-applepay-container {
    width: 250px;

}

#ppc-button-googlepay-container {
    width: 250px;
}

.product_cat-defective_estate_23-it .label-sale {display:none !important}

.product_cat-defective_estate_23-eng .label-sale {display:none !important}

.slb_data_content {display:none !important}

.slb_controls {display:none !important}

.slb_container {border-radius:0px !important; padding:15px !important}

.padding-right {padding-right:10px !important}

.wc_payment_method > [for="payment_method_ppcp-gateway"]
{display:inline-block !important }

.wc_payment_method > [for="payment_method_ppcp-applepay"]
{display:inline-block !important }

.wc_payment_method > [for="payment_method_ppcp-mybank"]{display:none !important }

#payment_method_ppcp-mybank,
label[for="payment_method_ppcp-mybank"] {
  display: none;
}
.woocommerce-variation-availability{
    left: 0px !important
}
.woocommerce-error{
  display: none !important;
}
/* mette visibile i tasti applePay e GooglePay */
.ppcp-button-apm {
    overflow: visible !important;
    float: left !important;
    margin-top: 0px !important;
}   