:root {
	--wd-text-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(61,61,61);
	--wd-text-font-size: 15px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(31,31,31);
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: rgb(31,31,31);
	--wd-entities-title-color-hover: rgb(111, 143, 136);
	--wd-alternative-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: rgb(31,31,31);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 14px;
	--wd-brd-radius: 20px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(143,175,166);
	--wd-alternative-color: rgb(217,195,173);
	--btn-default-bgcolor: rgb(143,175,166);
	--btn-default-bgcolor-hover: rgb(79,111,104);
	--btn-accented-font-family: "Inter", Arial, Helvetica, sans-serif;
	--btn-accented-bgcolor: rgb(143,175,166);
	--btn-accented-bgcolor-hover: #4F6F68;
	--btn-transform: none;
	--btn-font-size: 15px;
	--wd-form-brd-width: 1px;
	--notices-success-bg: rgb(223,240,216);
	--notices-success-color: rgb(101,156,99);
	--notices-warning-bg: rgb(221,95,95);
	--notices-warning-color: rgb(255,255,255);
	--wd-link-color: rgb(111,143,136);
	--wd-link-color-hover: rgb(92,122,115);
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(95,127,121);
	background-image: none;
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	font-family: "Poppins", Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 18px;
	text-transform: none;
	color: rgb(31,31,31);
}
html .product.wd-cat:hover .wd-entities-title, html .product.wd-cat:hover .wd-entities-title a, .cat-design-side .wd-cat-inner > a:hover ~ .wd-cat-content .wd-entities-title a, html .wd-masonry-first .wd-cat:first-child:hover .wd-entities-title a {
	color: rgb(111,143,136);
}
html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
	font-family: "Poppins", Arial, Helvetica, sans-serif;
	font-weight: 600;
	font-size: 30px;
	text-transform: none;
	color: rgb(31,31,31);
}
html .wd-nav-mobile > li > a, html .wd-nav-mobile .wd-sub-menu li a, html .wd-nav.wd-layout-drilldown > li > a, html .wd-nav.wd-layout-drilldown > li [class*="sub-menu"] > :is(.menu-item,.wd-drilldown-back) > a, html .wd-nav.wd-layout-drilldown .woocommerce-MyAccount-navigation-link > a {
	font-family: "Inter", Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 15px;
	text-transform: none;
	color: rgb(31,31,31);
}
html .wd-nav-mobile > li > a:hover, html .wd-nav-mobile > li.current-menu-item > a, html .wd-nav-mobile .wd-sub-menu li a:hover, html .wd-nav-mobile .wd-sub-menu li.current-menu-item > a, html .wd-nav.wd-layout-drilldown > li > a:hover, html .wd-nav.wd-layout-drilldown > li [class*="sub-menu"] > :is(.menu-item,.wd-drilldown-back) > a:hover, html .wd-nav.wd-layout-drilldown >li [class*="sub-menu"] > .woocommerce-MyAccount-navigation-link > a:hover, html .wd-nav.wd-layout-drilldown li.current-menu-item > a {
	color: rgb(111,143,136);
}
html table th {
	font-family: "Poppins", Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 14px;
	text-transform: none;
	color: rgb(31,31,31);
}
html table th:hover {
	color: rgb(111,143,136);
}
.rank-math-breadcrumb {
	font-size: 12px;
	text-transform: capitalize;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(250,250,250);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(250,250,250);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,245,248);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,245,248);
	background-image: none;
}
html .btn.wd-buy-now-btn {
	font-size: 15px;
	color: rgb(111,143,136);
	background: rgb(217,195,173);
}
html .btn.wd-buy-now-btn:hover {
	color: rgb(92,122,115);
	background: rgb(203,178,154);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(74,74,74);
	--wd-form-placeholder-color: rgb(154,154,154);
	--wd-form-brd-color: rgb(214,214,214);
	--wd-form-brd-color-focus: rgb(111,143,136);
	--wd-form-bg: #FFFFFF;
}
.wd .product-label.onsale {
	background-color: rgb(175,26,133);
}
.wd .product-label.new {
	background-color: rgb(0,0,0);
}
.wd .product-label.featured {
	background-color: rgb(225,74,92);
}
.wd .product-label.out-of-stock {
	background-color: rgb(30,115,190);
	color: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-text-font-size: 14px;
	--wd-widget-title-font-size: 15px;
	--wd-header-el-font-size: 13px;
	}
	html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
		font-size: 16px;
	}
	html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
		font-size: 24px;
	}
	html table th {
		font-size: 14px;
	}
	.rank-math-breadcrumb {
		font-size: 11px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-text-font-size: 14px;
	--wd-widget-title-font-size: 14px;
	--wd-header-el-font-size: 13px;
	}
	html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
		font-size: 15px;
	}
	html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
		font-size: 20px;
	}
	html .wd-nav-mobile > li > a, html .wd-nav-mobile .wd-sub-menu li a, html .wd-nav.wd-layout-drilldown > li > a, html .wd-nav.wd-layout-drilldown > li [class*="sub-menu"] > :is(.menu-item,.wd-drilldown-back) > a, html .wd-nav.wd-layout-drilldown .woocommerce-MyAccount-navigation-link > a {
		font-size: 14px;
	}
	html table th {
		font-size: 13px;
	}
	.rank-math-breadcrumb {
		font-size: 10px;
	}

}
:root{
--wd-container-w: 1660px;
--wd-form-brd-radius: 5px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
}



.wd-page-title {
background-color: rgb(246,245,248);
}

/* Sposta il pulsante PayPal sotto ad "Aggiungi al carrello" nella pagina prodotto */
.single-product form.cart > .wc-ppcp-product-payments__container.bottom {
    order: 99999 !important;
    margin-top: 12px !important;
}


@media (max-width: 767px) {

    /* Riepilogo superiore verso l'header */
    .woocommerce-checkout
    .wp-block-woocommerce-checkout-order-summary-block:not(
        .checkout-order-summary-block-fill-wrapper
    ) {
        transform: translateY(-60px) !important;
    }

    /* Fa risalire tutto il corpo del checkout,
       compreso Pagamento rapido */
    .woocommerce-checkout
    .wc-block-checkout__main {
        margin-top: -60px !important;
    }

}
/* =========================================================
 * CHECK OUT CAMPO TELEFONO 
 * Nasconde la dicitura "FACOLTATIVO"
 * ========================================================= */
.woocommerce-checkout
.wc-block-components-text-input:has(#shipping-phone) label,
.woocommerce-checkout
.wc-block-components-text-input:has(#billing-phone) label {
    font-size: 0 !important;
}

.woocommerce-checkout
.wc-block-components-text-input:has(#shipping-phone) label::after,
.woocommerce-checkout
.wc-block-components-text-input:has(#billing-phone) label::after {
    content: "Telefono";
    font-size: 13px;
}

/* =========================================================
 * SPEDIZIONE GRATUITA
 * Nasconde la dicitura ridondante "GRATUITO"
 * ========================================================= */


/* Metodo di spedizione */
body.woocommerce-checkout
.wc-block-components-radio-control__option:has(
    .wc-block-checkout__shipping-option--free
)
.wc-block-components-radio-control__secondary-label {
    display: none !important;
}


/* Riepilogo ordine */
body.woocommerce-checkout:has(
    .wc-block-checkout__shipping-option--free
)
.wc-block-components-totals-shipping
.wc-block-components-totals-item__value {
    display: none !important;
}
/* =====================================================
 * CARRELLO - BLOCCO REGALO WOODMART
 * ===================================================== */

.woocommerce-cart .wd-fg h4.wd-el-title {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 7px;
    margin-top: 0;
    margin-bottom: 18px;
}

/* Badge */
.woocommerce-cart .wd-fg h4.wd-el-title::before {
    content: "OMAGGIO DISPONIBILE";
    display: inline-block;
    width: fit-content;
    padding: 4px 9px;

    border-radius: 999px;
    background: rgba(111, 143, 136, 0.14);
    color: #6f8f88;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
}
/* =====================================================
 * MINI-CART MOBILE
 * Nasconde il pulsante diretto al checkout
 * Il cliente passa prima dalla pagina Carrello
 * ===================================================== */

.cart-widget-side .shopping-cart-widget-footer .checkout {
    display: none !important;
}


.woocommerce-product-details__short-description .stock {
    display: none !important;
}
/* Nascondi barra inferiore durante il checkout mobile */
@media (max-width: 768px) {

    .woocommerce-checkout .wd-toolbar.wd-toolbar-label-show {
        display: none !important;
    }

    body.woocommerce-checkout {
        padding-bottom: 0 !important;
    }
}

/* Minimizza il Copyright nel mobile*/
@media (max-width: 767px) {
    .copyrights-wrapper {
        font-size: 8px !important;
        line-height: 1.5 !important;
        text-align: center;
    }

    .copyrights-wrapper p {
        font-size: inherit !important;
        line-height: inherit !important;
        margin-bottom: 5px;
    }
}


/* Ambrosiana Stock - Recesso / Reso guidato */

/* Layout generale */
.as-recesso-wrap {
  max-width: 920px;
  margin: 0 auto;
}

/* Card principali */
.as-recesso-card {
  border: 1px solid var(--wd-border-color, #e5e5e5);
  background: #ffffff !important;
  color: #111111;
  border-radius: 12px;
  padding: 24px;
  margin: 20px 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

/* Titoli */
.as-recesso-card h2,
.as-recesso-card h3 {
  color: var(--wd-title-color, inherit);
  margin-top: 0;
}

/* Campi form */
.as-recesso-row input[type="text"],
.as-recesso-row input[type="email"],
.as-recesso-row textarea,
.as-recesso-row select {
  border-radius: 6px;
  border: 1px solid var(--wd-form-brd-color, #d9d9d9);
}

/* Box informativo */
.as-recesso-note {
  background: #ffffff !important;
  color: #111111;
  border: 1px solid var(--wd-border-color, #e5e5e5);
  border-left: 4px solid var(--wd-primary-color, #1f7a4d);
  padding: 14px 16px;
  border-radius: 8px;
}

/* Avviso ordini vecchi */
.as-recesso-warning {
  background: #fff8e5;
  border: 1px solid #f0d28a;
  color: #684b00;
  border-radius: 8px;
}

/* Messaggi successo */
.as-recesso-success {
  background: #effaf1;
  border: 1px solid #bfe7c6;
  color: #1f6b2b;
  border-radius: 8px;
}

/* Messaggi errore */
.as-recesso-error {
  background: #fff2f2;
  border: 1px solid #f0b6b6;
  color: #8a1f1f;
  border-radius: 8px;
}

/* Lista prodotti */
.as-recesso-products li {
  border: 1px solid var(--wd-border-color, #e5e5e5);
  border-radius: 10px;
  padding: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.as-recesso-products li:hover {
  border-color: var(--wd-primary-color, #1f7a4d);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.05);
}

/* Pulsanti: eredita palette Woodmart */
.as-recesso-button,
.as-recesso-wrap .button,
.as-recesso-wrap button[type="submit"],
.as-recesso-wrap input[type="submit"] {
  background-color: var(--wd-primary-color, #1f7a4d) !important;
  color: #fff !important;
  border-color: var(--wd-primary-color, #1f7a4d) !important;
  border-radius: var(--btn-accented-brd-radius, 6px);
  font-weight: 600;
  text-transform: none;
  box-shadow: none;
}

/* Hover pulsanti */
.as-recesso-button:hover,
.as-recesso-wrap .button:hover,
.as-recesso-wrap button[type="submit"]:hover,
.as-recesso-wrap input[type="submit"]:hover {
  background-color: var(--wd-primary-color-hover, var(--wd-primary-color, #17633d)) !important;
  border-color: var(--wd-primary-color-hover, var(--wd-primary-color, #17633d)) !important;
  color: #fff !important;
  opacity: 0.92;
}

/* Tabella ordini nel frontend */
.as-recesso-orders th,
.as-recesso-orders td {
  border-bottom: 1px solid var(--wd-border-color, #e5e5e5);
}

/* Box nella pagina dettaglio ordine */
.as-recesso-account-cta,
.as-recesso-order-summary {
  border: 1px solid var(--wd-border-color, #e5e5e5);
  border-radius: 12px;
  background: #ffffff !important;
  color: #111111;
}



/* =========================================================
 * AMBROSIANA STOCK
 * WooCommerce Native Block Checkout
 * ========================================================= */


/* =========================================================
 * 0. FIREFOX MOBILE - BLOCCA TEXT AUTOSIZING
 * Evita l'ingrandimento casuale dei caratteri
 * ========================================================= */

html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}


/* =========================================================
 * 1. PULSANTE "PAGA ORA"
 * ========================================================= */

.woocommerce-checkout
.wc-block-components-checkout-place-order-button {
    background: #95b7ad;
    color: #ffffff;
    border: 0;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color .2s ease;
}

.woocommerce-checkout
.wc-block-components-checkout-place-order-button:hover,
.woocommerce-checkout
.wc-block-components-checkout-place-order-button:focus {
    background: #587b72;
    color: #ffffff;
}


/* =========================================================
 * 2. COLORI GENERALI
 * ATTENZIONE: niente font-size globale sul checkout
 * ========================================================= */

.woocommerce-checkout .wc-block-checkout,
.woocommerce-checkout .wc-block-components-sidebar,
.woocommerce-checkout .wc-block-components-main {
    color: #252525;
}


/* =========================================================
 * 3. TITOLI DELLE SEZIONI
 *
 * Contatti
 * Indirizzo di spedizione
 * Metodo di pagamento
 * Informazioni aggiuntive
 *
 * Per renderli ancora più delicati:
 * font-weight: 400;
 *
 * Per rimpicciolirli:
 * font-size: 19px;
 * ========================================================= */

.woocommerce-checkout
.wc-block-components-checkout-step__title {
    color: #222222;
    font-weight: 500 !important;
}


/* =========================================================
 * 4. TESTI NORMALI / CHECKBOX / RADIO
 * ========================================================= */

.woocommerce-checkout
.wc-block-components-checkbox__label,

.woocommerce-checkout
.wc-block-components-radio-control__label,

.woocommerce-checkout
.wc-block-components-checkout-step__description,

.woocommerce-checkout
.wc-block-components-totals-item__label {
    color: #333333;
    font-weight: 400;
}


/* =========================================================
 * 5. CAMPI DEL CHECKOUT
 * Testo digitato o precompilato
 *
 * CAMBIA SFONDO QUI:
 * background-color: #ffffff !important;
 *
 * Esempio leggermente grigio:
 * background-color: #fafafa !important;
 *
 * Esempio caldo/chiarissimo:
 * background-color: #fdfcfb !important;
 * ========================================================= */

.woocommerce-checkout
.wc-block-components-text-input input,

.woocommerce-checkout
.wc-block-components-combobox-control input,

.woocommerce-checkout
.wc-block-components-address-form select {
    font-weight: 400 !important;
    color: #555555 !important;

    /* DECOMMENTA PER MODIFICARE LO SFONDO */
    /* background-color: #fafafa !important;*/
}


/* Placeholder: ancora più delicati */
.woocommerce-checkout
.wc-block-components-text-input input::placeholder,

.woocommerce-checkout
.wc-block-components-combobox-control input::placeholder {
    color: #777777 !important;
    font-weight: 400 !important;
    opacity: 1;
}


/* Label flottanti: Nome, Paese/Regione ecc. */
.woocommerce-checkout
.wc-block-components-text-input label,

.woocommerce-checkout
.wc-block-components-combobox-control label {
    font-weight: 400 !important;
	  font-size: 13px !important;
	  color: #777777 !important;
}


/* =========================================================
 * 6. COUPON
 * ========================================================= */

.woocommerce-checkout
.wc-block-components-totals-coupon-link {
    color: #222222;
    font-weight: 500;
    font-size: 15px;
}

.woocommerce-checkout
.wc-block-components-totals-coupon-link:hover {
    color: #587b72;
}


/* Pulsante Applica */
.woocommerce-checkout
.wc-block-components-totals-coupon__button {
    background-color: #dcebe7 !important;
    color: #587b72 !important;
    border: 0 !important;
    border-radius: 7px;
    font-weight: 600;
    padding-left: 18px;
    padding-right: 18px;
    opacity: 1 !important;
    transition: background-color .2s ease, color .2s ease;
}

.woocommerce-checkout
.wc-block-components-totals-coupon__button:not(:disabled) {
    background-color: #95b7ad !important;
    color: #ffffff !important;
}

.woocommerce-checkout
.wc-block-components-totals-coupon__button:not(:disabled):hover {
    background-color: #587b72 !important;
    color: #ffffff !important;
}

.woocommerce-checkout
.wc-block-components-totals-coupon__button:disabled {
    background-color: #dcebe7 !important;
    color: #7a9c93 !important;
    opacity: 1 !important;
}


/* =========================================================
 * 7. RIEPILOGO PRODOTTI
 * Nasconde descrizione
 * ========================================================= */

.woocommerce-checkout
.wc-block-components-product-metadata {
    display: none;
}


/* Prezzo singolo prodotto */
.woocommerce-checkout
.wc-block-components-order-summary-item__total-price,

.woocommerce-checkout
.wc-block-components-order-summary-item
.wc-block-components-product-price {
    font-size: 16px;
    font-weight: 600;
    color: #587b72;
}


/* =========================================================
 * 8. CONSENSO TERMINI E PRIVACY
 * ========================================================= */

.woocommerce-checkout
.wc-block-checkout__terms {
    background: #f7faf9;
    border: 1px solid #d9e5e1;
    border-radius: 8px;
    padding: 14px;
    margin-top: 8px;
}

.woocommerce-checkout
.wc-block-checkout__terms
.wc-block-components-checkbox__label {
    color: #252525;
    font-weight: 400;
    line-height: 1.5;
}

.woocommerce-checkout
.wc-block-checkout__terms a {
    color: #587b72;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.woocommerce-checkout
.wc-block-checkout__terms
.wc-block-components-checkbox__input {
    appearance: auto !important;
    -webkit-appearance: auto !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    background: initial !important;
    border-radius: 4px !important;
    cursor: pointer;
}

.woocommerce-checkout
.wc-block-checkout__terms
.wc-block-components-checkbox__input:focus-visible {
    outline: 2px solid #587b72;
    outline-offset: 2px;
}


/* =========================================================
 * 9. DESKTOP - LARGHEZZA CHECKOUT
 * Cambia 1180px per allargare/stringere
 * ========================================================= */

@media (min-width: 1024px) {

    .woocommerce-checkout
    .wp-block-woocommerce-checkout {
        max-width: 1180px;
        margin-left: auto;
        margin-right: auto;
    }


    /* Spazi tra i campi */
    .woocommerce-checkout
    .wc-block-components-address-form {
        gap: 10px;
    }


    /* Spazio tra sezioni */
    .woocommerce-checkout
    .wc-block-components-checkout-step {
        margin-bottom: 22px;
    }


    .woocommerce-checkout
    .wc-block-components-checkout-step__heading {
        margin-bottom: 12px;
    }


    .woocommerce-checkout
    .wc-block-components-checkbox {
        margin-top: 8px;
        margin-bottom: 8px;
    }

}


/* =========================================================
 * 10. MOBILE
 * ========================================================= */

@media (max-width: 767px) {


    /* -----------------------------------------------------
     * TITOLI SEZIONI MOBILE
     *
     * Contatti / Consegna / Metodo di pagamento ecc.
     * Obiettivo: meno bold, più simile al riferimento
     * ----------------------------------------------------- */

    .woocommerce-checkout
    .wc-block-components-checkout-step__title {
        font-size: 20px;
        font-weight: 500 !important;
        line-height: 1.25;
        color: #222222;
    }


    /* -----------------------------------------------------
     * CAMPI MOBILE
     * Testo/precompilato più leggero
     *
     * Per alleggerire ancora:
     * color: #555555 !important;
     *
     * Per cambiare sfondo:
     * background-color: #fafafa !important;
     * ----------------------------------------------------- */

    .woocommerce-checkout
    .wc-block-components-text-input input,

    .woocommerce-checkout
    .wc-block-components-combobox-control input,

    .woocommerce-checkout
    .wc-block-components-address-form select {
        font-weight: 400 !important;
        color: #444444 !important;

        /* background-color: #fafafa !important; */
    }


    /* -----------------------------------------------------
     * RIEPILOGO ORDINE SUPERIORE
     *
     * Titolo più discreto
     * Prezzo più importante
     * ----------------------------------------------------- */

    .woocommerce-checkout
    .wc-block-components-checkout-order-summary__title-text {
        color: #222222 !important;
        font-size: 14px !important;
        font-weight: 400 !important;
    }


    /* Prezzo totale nella barra riepilogo */
    .woocommerce-checkout
    .wc-block-components-checkout-order-summary__title-price {
        color: #222222 !important;
        font-size: 17px !important;
        font-weight: 600 !important;
    }


    /* Freccia riepilogo */
    .woocommerce-checkout
    .wc-block-components-checkout-order-summary__title-icon {
        color: #333333;
    }

 /* =========================================================
 * MOBILE - RIEPILOGO ORDINE
 * Rende trasparente l'area prodotti
 * ========================================================= */

@media (max-width: 767px) {

    .woocommerce-checkout
    .wc-block-components-order-summary,

    .woocommerce-checkout
    .wc-block-components-order-summary__content,

    .woocommerce-checkout
    .wc-block-components-order-summary-item,

    .woocommerce-checkout
    .wc-block-components-order-summary-item__description,

    .woocommerce-checkout
    .wc-block-components-order-summary-item__total-price {
        background-color: transparent !important;
    }

}

    /* -----------------------------------------------------
     * LINK ACCEDI
     * ----------------------------------------------------- */

    .woocommerce-checkout
    .wc-block-components-checkout-step__heading-content a {
        color: #6f8f88 !important;
        font-weight: 400 !important;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .woocommerce-checkout
    .wc-block-components-checkout-step__heading-content a:hover {
        color: #587b72 !important;
    }


    /* -----------------------------------------------------
     * SPOSTA SOLO IL RIEPILOGO SUPERIORE
     *
     * Modifica -60px per regolare la posizione:
     * -50px = più basso
     * -60px = attuale
     * -70px = più alto
     * ----------------------------------------------------- */

    /*.woocommerce-checkout
    .wp-block-woocommerce-checkout-order-summary-block:not(
        .checkout-order-summary-block-fill-wrapper
    ) {
        transform: translateY(-70px);
    }*/


    /* -----------------------------------------------------
     * AVVICINA IL PAGAMENTO RAPIDO
     *
     * -20px = più distante
     * -30px = attuale
     * -40px = più vicino al riepilogo
     * ----------------------------------------------------- */

    .woocommerce-checkout
    .wc-block-components-express-payment {
        margin-top: 0 !important;
    }


    /* -----------------------------------------------------
     * NASCONDE IL SECONDO RIEPILOGO INFERIORE
     * ----------------------------------------------------- */

    .woocommerce-checkout
    .wc-block-checkout__actions
    .checkout-order-summary-block-fill-wrapper {
        display: none;
    }

}

@media (max-width: 767px) {

    /* =====================================================
     * SFONDO GENERALE CHECKOUT MOBILE
     * ===================================================== */

    .woocommerce-checkout {
        background-color: #f8f2f0;
    }


    /* =====================================================
     * AREA PRINCIPALE DEL CHECKOUT
     * Mantiene il fondale uniforme
     * ===================================================== */

    .woocommerce-checkout
    .wp-block-woocommerce-checkout {
        background-color: transparent;
    }


    /* =====================================================
     * CAMPI INPUT
     * Restano chiari per creare contrasto col fondale
     * ===================================================== */

    .woocommerce-checkout
    .wc-block-components-text-input input,

    .woocommerce-checkout
    .wc-block-components-combobox-control input,

    .woocommerce-checkout
    .wc-block-components-address-form select {
        background-color: #ffffff !important;
        border-color: #dedede !important;
    }


    /* =====================================================
     * CARD / BOX PAGAMENTI
     * ===================================================== */

    .woocommerce-checkout
    .wc-block-components-radio-control,

    .woocommerce-checkout
    .wc-block-components-address-card,

    .woocommerce-checkout
    .wc-block-components-order-summary {
        background-color: #ffffff;
    }

}

/* =========================================================
 * MOBILE - FONDALE GENERALE PAGINA CHECKOUT
 *
 * Colora tutta l'area sotto l'header, non solo il blocco
 * Gutenberg.
 *
 * Cambia #f5f7f6 per provare altre tonalità.
 * ========================================================= */

@media (max-width: 767px) {

    body.woocommerce-checkout,
    body.woocommerce-checkout .main-page-wrapper,
    body.woocommerce-checkout .site-content {
        background-color: #f3f7f6 !important;
			  /*background-color: #defcf5 !important;*/
    }


    /* I contenitori del checkout lasciano vedere il fondale */
    body.woocommerce-checkout
    .wp-block-woocommerce-checkout,

    body.woocommerce-checkout
    .wc-block-checkout {
        background-color: transparent !important;
    }
}


/* =========================================================
 * MESSAGGIO SICUREZZA SOTTO "PAGA ORA"
 * Desktop + Mobile
 * ========================================================= */
    /* Pulsante Paga ora */
    .woocommerce-checkout
    .wc-block-components-checkout-place-order-button {
        position: relative;
        margin-bottom: 36px !important;
    }

    /* Messaggio sicurezza sotto al pulsante */
    .woocommerce-checkout
    .wc-block-components-checkout-place-order-button::after {
        content: "I tuoi dati sono protetti con crittografia SSL";

        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 8px);

        display: block;

        color: #64756f;

        font-size: 12px;
        font-weight: 400;
        line-height: 18px;

        text-align: center;
        white-space: normal;

        pointer-events: none;
    }

    /* Lucchetto SVG */
    .woocommerce-checkout
    .wc-block-components-checkout-place-order-button::before {
        content: "";

        position: absolute;

        top: calc(100% + 8px);

        left: calc(50% - 145px);

        width: 16px;
        height: 16px;

        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;

        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364756f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='16' r='1'/%3E%3Crect x='3' y='10' width='18' height='12' rx='2'/%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3'/%3E%3C/svg%3E");

        pointer-events: none;
    }
}

/* =========================================================
 * CHECKOUT - TOAST INFO
 * Coupon applicato / rimosso
 * ========================================================= */

.woocommerce-checkout
.wc-block-components-notice-snackbar.is-info {
    background-color: #d8ebe5 !important;
    border-color: #6f8f88 !important;
    color: #29463f !important;
}

/* Testo */
.woocommerce-checkout
.wc-block-components-notice-snackbar.is-info
.wc-block-components-notice-banner__content {
    color: #29463f !important;
    font-weight: 500;
}

/* Icona */
.woocommerce-checkout
.wc-block-components-notice-snackbar.is-info svg,
.woocommerce-checkout
.wc-block-components-notice-snackbar.is-info svg * {
    color: #587b72 !important;
    fill: #587b72 !important;
    stroke: #587b72 !important;
}



/* =========================================================
 * PULSANTE PAGA ORA - ALLINEAMENTO TESTO/PREZZO
 * ========================================================= */

.woocommerce-checkout
.wc-block-components-checkout-place-order-button {
    justify-content: center !important;
    gap: 6px !important;
}


/* Testo, separatore e prezzo non devono espandersi */
.woocommerce-checkout
.wc-block-components-checkout-place-order-button
.wc-block-components-button__text,

.woocommerce-checkout
.wc-block-components-checkout-place-order-button
.wc-block-components-checkout-place-order-button__separator,

.woocommerce-checkout
.wc-block-components-checkout-place-order-button
.wc-block-components-checkout-place-order-button__price {
    flex: 0 0 auto !important;
    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* Piccolo spazio PRIMA del prezzo */
.woocommerce-checkout
.wc-block-components-checkout-place-order-button
.wc-block-components-checkout-place-order-button__price {
    margin-left: 4px !important;
}

/* Aggiunge EUR dopo il prezzo */
.woocommerce-checkout
.wc-block-components-checkout-place-order-button
.wc-block-components-checkout-place-order-button__price::after {
    content: " EUR";
    font-size: 0.95em;
    font-weight: 500;
}

@media (max-width: 767px) {

    /* Avvicina il footer al contenuto del checkout */
    .woocommerce-checkout footer,
    .woocommerce-checkout .footer-container,
    .woocommerce-checkout .site-footer {
        margin-top: -40px !important;
    }

}

@media (max-width: 767px) {

    /* =====================================================
     * KLARNA
     * ===================================================== */

    .woocommerce-checkout
    .wc-block-components-payment-method-label--with-icon:has(
        img.wcpay-payment-method-icon[alt="Klarna"]
    ) {
        display: inline-flex !important;
        align-items: center;
        gap: 7px;
        width: auto !important;
    }

    /* Nasconde SOLO il logo Klarna originale */
    .woocommerce-checkout
    .wc-block-components-payment-method-label--with-icon
    img.wcpay-payment-method-icon[alt="Klarna"] {
        display: none !important;
    }

    /* Reinserisce Klarna dopo il testo */
    .woocommerce-checkout
    .wc-block-components-payment-method-label--with-icon:has(
        img.wcpay-payment-method-icon[alt="Klarna"]
    )::after {
        content: "";

        display: inline-block;

        width: 52px;
        height: 22px;

        background-image: url("/wp-content/plugins/woocommerce-payments/assets/images/payment-methods/klarna-pill.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;

        flex: 0 0 auto;
    }


    /* =====================================================
     * SATISPAY
     * ===================================================== */

    .woocommerce-checkout
    .wc-block-components-payment-method-label--with-icon:has(
        img[alt="Satispay"]
    ) {
        display: inline-flex !important;
        align-items: center;
        flex-direction: row-reverse !important;
        justify-content: flex-end;
        gap: 7px;

        width: auto !important;
    }

    .woocommerce-checkout
    .wc-block-components-payment-method-label--with-icon
    img[alt="Satispay"] {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;

        position: static !important;

        width: auto !important;
        height: auto !important;

        max-width: 28px !important;
        max-height: 22px !important;

        margin: 0 !important;

        flex: 0 0 auto !important;
    }

/* =====================================================
 * PAYPAL - logo accanto al testo su checkout mobile
 * ===================================================== */

    .woocommerce-checkout
    .wc-block-components-payment-method-icon--paypal {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;

        width: auto !important;
        max-height: 22px !important;

        margin-left: 6px !important;
        margin-right: auto !important;
    }



}