
.archive ul.products {
    margin: 0 4px 0 24px !important;
}
.archive .woocommerce-products-header {
    padding: 0 24px !important;
    box-sizing: border-box;
}
.archive .woocommerce-result-count {
    margin: 0 24px !important;
    box-sizing: border-box;
}
.archive .woocommerce-ordering {
    margin:  24px !important;
    margin-top: -30px !important;
    box-sizing: border-box;
}

.archive .site-main, .single .site-main {
    background: #F9F9F9;
    position: relative;
}
.archive .product {
    padding: 1rem !important;
    background: #FFF !important;
    background-color: #FFFFFF !important;
    border: 1px solid #DDD;
    border-radius: 9px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .1);
}

.archive  ul.products li.product .onsale {
    top: 0;
    right: 0;
    left: auto;
    margin: -2.5em -1.5em 0 0;
}
.archive  span.onsale {
    min-height: 3.236em;
    min-width: 6.336em;
    padding: .202em;
    font-size: 1em;
    font-weight: 700;
    position: absolute;
    text-align: center;
    line-height: 5.636;
    top: -.5em;
    left: -.5em;
    margin: 0;
    border-radius: 100%;
    background-color: #b3af54;
    color: #fff;
    font-size: .857em;
    z-index: 9;
}

.archive  ul.products li.product .woocommerce-loop-category__title, .archive  ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
    padding: .5em 0;
    margin: 0;
    line-height: 1.3rem;
    min-height: 3.6rem;
    font-size: 1em;
}

.archive  ul.products li.product, .archive .woocommerce-page ul.products li.product {
    float: left;
    margin: 0 2% 3em 0;
    padding: 0;
    position: relative;
    width: 23.0%;
    margin-left: 0;
}

.archive  ul.products li.product .button {
    width: 100%;
    text-align: center;
}

.archive:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
    color: #141412;
    font-size: 1.6em;
}

.archive  ul.products li.product .price del {
    opacity: 0.3;
    display: inline-block;
    rotate: -18deg;
    display: inline-block;
    font-size: 1.4rem;
}

@media only screen and (max-width: 768px) {
    .archive ul.products {
        margin: 0 38px  !important;
    }
}

@media only screen and (max-width: 576px) {
    .archive ul.products {
        margin: 0 4px  !important;
    }
    .archive  ul.products[class*=columns-] li.product, .archive .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100% !important;
    }
    .archive .woocommerce-ordering {
        display: block !important;
        float: none !important;
        margin-top: 20px !important;
    }
    .archive .woocommerce-result-count {
        float: none !important; 
    }
}


.single .main .site-main {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.single .main .product {
    max-width: 1180px;
    margin: 0 2rem ;
    background-color:#FFF;
    padding:2rem;
    border-radius: 9px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .1);
    border: 1px solid #DDD;
}

.single .main .product_title {
    font-size: 2rem;
    margin-bottom: 2rem;
    line-height: 2.2rem;
}

.single .main .input-text.qty {
    width: 80px;
    padding: 0.4rem;
    font-size: 1.65rem;
}

.single .main .woocommerce-Price-amount.amount {
    font-size: 2rem;
    color: #141412;
    margin-bottom:1rem;
    display: block;
}

.single .main .woocommerce-product-details__short-description {
    margin: 1rem 0;
}

.single  .main.flex-viewport {
    margin-bottom: 1rem;
}

.single .main .flex-control-thumbs li {
    margin-right: 0.5rem !important;
    border: 1px solid #DDD;
    border-radius: 9px;
    padding: 0.5rem;
}
.single th.label label {
    vertical-align: sub !important;
    font-size: 16px;
    padding: 0;
    padding-right: 6px;
}
.single .main .ppc-button-wrapper {
    margin-bottom: .8rem;
}
.single .main .product_meta {
    font-size: 12px;
}

.single.woocommerce  .main div.product form.cart .variations select {
    max-width: 70%;
    float: left;
}

.single .main .reset_variations {
    
    font-family: inherit;
    font-size: inherit;
    line-height: 32px;
    min-height: 32px;
    padding: 0 12px;
    cursor: pointer;
    border: 1px solid transparent;
    margin: 0;
    width: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #333333;
    border-width: 2px;
    border-color: #ddd;
    border-radius: 0;
    border-style: solid;
    border-radius: 32px;
    font-weight: 400;
}

.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
    float: left;
    width: 38%;
}

.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
    float: right;
    width: 58%;
    clear: none;
}


.single .related.products .woocommerce-Price-amount.amount { 
    font-size: 1rem;
    color: #141412;
}

.single .related.products  ul.products li.product, .single .related.products ul.products li.product {
    padding: 1rem;
    margin: 0 1.4rem 2rem 0;
}

.single .related.products .woocommerce-loop-product__title {
    font-size: 1rem;
    line-height: 1.3rem;
    margin: 0;
}

.single .related.products .columns-4 li {
    width: 30%;

}
@media only screen and (max-width: 1280px) {
    .single .related.products .columns-4 li {
        width: 45% !important;
        min-height: 486px;
    }
}

@media only screen and (max-width: 768px) {
    .single .related.products .columns-4 li {
        width: 100% !important;
        min-height: 0;
    }
    .woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
        width: 100% !important;
        float: none;
    }

    .woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
        float: none;
        width: 100% !important;
        clear:both;
    }
}


#billing_phone {
    padding: 12px 24px;
}
.disabled-field label {
    min-width: 150px;
    display: inline-block !important;
    line-height: normal !important;
    padding: 0 !important;
    text-transform: uppercase;
}
 .disabled-field .woocommerce-input-wrapper {
    display: inline !important;
    width: 100% !important;
}
.form-row.disabled-field  {
    padding: 0;
    margin: 0;
   
    display: flex;
}

.disabled-field .optional {
    display: none;
}

.disabled-field input {
    border: none !important;
    cursor: inherit !important;
    display: inline !important;
    width: inherit !important;
    font-weight: bold;
    padding: 0 !important;
    height: inherit !important;
    text-transform: uppercase;
}

.woocommerce-billing-fields {
    margin-bottom:2rem;
}

.woocommerce form .form-row-first, .woocommerce-page form .form-row-first,
.woocommerce form .form-row-last, .woocommerce-page form .form-row-last { 
    width:100%;
    float:none;
}


/* STAMPA TESSERA */
.stampa-tessera .pc-card {
    position: relative;
    width:400px;
    float:left;
}
.stampa-tessera .pc-print {
    float:left;
    width:400px;
}
.stampa-tessera .pc-print .btn {
    margin-top:90px;
    line-height: 28px;
}
.stampa-tessera .pc-print .btn i {
    vertical-align: middle;
    padding-right:12px;
}
.stampa-tessera .pc-card .labels {
    position: absolute;
    top:12px;
    right:24px;
    z-index: 1;
}
.stampa-tessera .pc-card .marker {
    position: absolute;
    top: 12px;
    left: 18px;
    z-index: 1;
    width: 200px;
    font-size: 12px;
}
.stampa-tessera .pc-card .year-print {display: none;}
.stampa-tessera .pc-card .year{
    position: absolute;
    top: 110px;
    right: 26px;
    z-index: 1;
    font-weight: 700;
    color: #fff;
    font-size: 26px;
}
.stampa-tessera .pc-card .labels span {
    display: block;
    text-transform: uppercase;
    font-size:15px;
    text-align: right;
}
.stampa-tessera .pc-card .nome,
.stampa-tessera .pc-card .validita {
    font-weight: 700;
}


@media print {
    body {background: #FFF;}
    .no-print,
    .sidebar,
    .stampa-tessera .pc-print,
    .mp_wrapper {
        display: none;
    }
    .stampa-tessera {}
    .stampa-tessera .pc-card {
        float:none;
        margin:100px auto 0;
    }
    .stampa-tessera .pc-card .labels span {
        line-height:20px;
    }
    .stampa-tessera .pc-card .marker {
        font-size: 12px;
        line-height:18px;
    }
 
   
    
}


@media only screen and (max-width: 768px) {
    .stampa-tessera {
        zoom:.75;
    }
}

@media print
{    
    .no-print, .no-print *, .aside, .aside *, .footer, .footer *
    {
        display: none !important;
    }
}


.woocommerce-billing-fields__field-wrapper .input-text {
    text-transform: uppercase;
}


.wc-block-cart__submit-container .wc-block-cart__submit-button {
    color: #fff;
    border-width: 2px;
    border-color: #CC0256 !important;
    background-color: #CC0256 !important;
    border-style: solid;
    border-radius: 42px;
    font-weight: 400;
    text-decoration: none;
}

.wc-block-cart__submit-container .wc-block-cart__submit-button:hover {
    background-color: #FFF !important;
    color: #CC0256;
    text-decoration: none;
}

.wc_payment_method.payment_method_ppcp-gateway {
    list-style: none !important;
}

.product-detail .cart {
    display: block !important;
}

.woocommerce-variation-add-to-cart.variations_button {
    display: block;

}

.variations_form .variations select {
margin-top: 35px;
}


.single_add_to_cart_button {
    margin-top:20px !important;
    color: #fff;
    border-width: 2px !important;
    border-color: #CC0256 !important;
    background-color: #CC0256 !important;
    border-style: solid  !important;
    border-radius: 42px !important;
    font-weight: 400;
    text-decoration: none;
}
.single_add_to_cart_button:hover {
    background-color: #FFF !important;
    color: #CC0256 !important;
    text-decoration: none;
    border-color: #CC0256 !important;
}

.product-detail .cart .quantity input {
    border-radius: 0 !important;
}


.xoo-wsch-top > .xoo-wsc-notice-container {
    max-width: 400px;
}


.popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 1000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease-in-out !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    min-width: unset !important;
    min-height: unset !important;
    max-width: unset !important;
    max-height: unset !important;
    box-sizing: border-box !important;
  }
  
.popup-overlay.xoo-wsc-active  {
    opacity: 1 !important;
    visibility: visible !important;
    
}

.popup-overlay .xoo-wsc-notice-error {
    max-width: 700px !important;
}

.popup-overlay.xoo-wsc-active .xoo-wsc-notice-error:nth-child(2), .popup-overlay.xoo-wsc-active .xoo-wsc-notice-error:nth-child(3) {
    display: none !important;
}
  

.popup-content {
background-color: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
max-width: 500px;
width: 90%;
transform: scale(0.7);
transition: transform 0.3s ease-in-out;
}

.xoo-wsc-active .popup-content {
transform: scale(1);
}

.xoo-wsc-notice-error {
    color: #222 !important;
    background-color: #FFF !important;
}

.xoo-wsc-icon-cross {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #FFF;
    border: 2px solid #888;
    border-radius: 100%;
    cursor: pointer;
    color: #222;
    font-weight: normal;
    font-size: 40px;
}

.popup-overlay .xoo-wsc-icon-cross {
    top: -20px;
    right: -25px;
    
}


.woocommerce-variation-add-to-cart .quantity {
    display:inline-block;
}
.variations_form .variations select {
    margin: 0;
    display: inline-block;
    width: 70%;
    margin-right: 10px;
}

#main > .woocommerce-notices-wrapper > .woocommerce-error {
right: 0;
    border: 0;
    border-radius: 0;
    top: 20%;
    left: auto;
    position: fixed;
    box-shadow: 2px 2px 9px 3px #eee;
    transition: all 0.5s;
    z-index: 999997;
    max-width: 400px;
    background: #fff;
    padding: 20px;
    color:#000;
}

#main > .woocommerce-notices-wrapper > .woocommerce-error:focus-visible {
    outline: none;
}


#main > .woocommerce-notices-wrapper > .woocommerce-error::before {
    content: "";
    display: none;
}

.xoo-wsc-notice-container  li.xoo-wsc-notice-error + li.xoo-wsc-notice-error {
    display: none;
}

#main > .woocommerce-notices-wrapper h4 {
    font-size: 18px;
    line-height: 24px;
    margin:10px 0;
    font-family: "Inter", sans-serif;
    font-size: 24px;
    line-height: 30px;
}

#main > .woocommerce-notices-wrapper .group-buttons {
    display: block;
    width: 100%;
    clear: both;
    margin: 10px 0;
}

.product-description.entry p + p {
    padding-top: 5px;
}

.product-detail .flex-row .hr-2 {
    height: 2px;
}

.product-description.entry {
    padding: 20px;
    background: #FFF;
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.1);
    max-width: 920px;
}

.product-detail .flex-row .price {
    margin:0;
}

/** DAILY POPUP */
.daily-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}


.daily-popup-content {
    position: relative;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 728px;
    width: 90%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    max-height: 80vh;
    overflow-y: auto;
}

.daily-popup-close {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    font-size: 42px;
    color: #666;
    border: none;
    padding: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    background: #FFF;
    border-radius: 20px;
}

.daily-popup-close:hover {
    color: #000;
}

/* Animazione di fade-in */
.daily-popup-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 1020px) {
    .daily-popup-content {
        width: 90%;
        max-width: 100%;
        top: -10%;
        padding: 5px;
        margin: 0;
        line-height: 0;
    }
    .daily-popup-close {
        left: 0;
        font-size: 30px;
        width: 30px;
        height: 30px;
        line-height: 30px;
        min-height: 30px;
    }
}


.woocommerce-notices-wrapper-background {
    opacity: 0.8;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    z-index: 999996;
    transition: opacity 0.2s;
}

.xoo-wsc-basket {
    color:#CC0256;
}
.xoo-wsc-items-count {
    background-color: #CC0256;
}

.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn, .xoo-wsc-container .xoo-wsc-btn {
    background-color: #CC0256;
    color: #ffffff;
    border: 2px solid #CC0256;
    padding: 10px 20px;
    border-radius: 42px;
}

.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn:hover, .xoo-wsc-container .xoo-wsc-btn:hover {
    background-color: #ffffff;
    color: #CC0256;
    border: 2px solid #CC0256;
}

