/* ======================================================================
   01. VARIABILI GLOBALI
   ====================================================================== */
.cart-collaterals .cart_totals table.shop_table_responsive tr.points_message td::before {
    display: none !important;
}

#yith-par-message-cart {
    display: none !important;
}

#yith-par-message-cart-sidebar {
    background: #fff !important;
    display: block;
    font-size: 1rem;
    text-align: left;
    margin: 0 !important;
    padding: 0 0 15px 0.5em !important;
    border: none !important;
    text-transform: uppercase;
}

#yith-par-message-cart-sidebar a {
    font-size: 1rem;
}

/* ==============================================================
   CARRELLO SAUTÓN - DESIGN WARM & NATURAL (Mockup v1)
   ============================================================== */
:root {
    --cream: #FDFAF5;
    --sand: #F7F3ED;
    --sand-dk: #EDE8E0;
    --black: #1A1A1A;
    --brown: #5C5548;
    --brown-lt: #8B7355;
    --brown-dk: #4A4339;
    --yellow: #FFD91F;
    --orange: #D35400;
    --success: #2D8659;
    --border: #E8E2D8;
}

/* ======================================================================
   02. RESET GLOBALI
   ====================================================================== */

section {
    background-color: var(--cream);
}

/* ==============================================================
   RESET GLOBALE ICONE SVG (Design Warm & Natural)
   ============================================================== */
svg.ico {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.6 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

/* ======================================================================
   03. LAYOUT GENERALE
   ====================================================================== */

.sauton-cart-wrapper .page-head {
    padding: 0 0 28px;
}

.sauton-cart-wrapper .eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brown);
    display: block;
    margin-bottom: 10px;
}

.sauton-cart-wrapper h1 {
    font-size: 42px;
    font-weight: 600;
}

.sauton-cart-wrapper .step {
    font-size: 14px;
    color: var(--brown-lt);
    margin-top: 8px;
}

.sauton-cart-wrapper .layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
    padding-bottom: 0px;
}

/* ======================================================================
   04. BARRA SPEDIZIONE
   ====================================================================== */

/* Barra di Spedizione */
.ship-bar {
    background: var(--sand);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 24px;
}

.ship-bar .top {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 12px;
}

.ship-bar .top .ico {
    width: 20px;
    height: 20px;
    color: var(--brown);
}

.ship-bar .top strong {
    color: var(--success);
}

.ship-track {
    height: 7px;
    background: var(--sand-dk);
    border-radius: 5px;
    overflow: hidden;
}

.ship-fill {
    height: 100%;
    background: var(--success);
    border-radius: 5px;
    transition: width .4s;
}

.ship-fill.gift {
    background: var(--brown);
}

.ship-milestones {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 11px;
    color: var(--brown-lt);
}

.ship-milestones .m {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ship-milestones .m.done {
    color: var(--success);
    font-weight: 600;
}

.ship-milestones .m .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sand-dk);
}

.ship-milestones .m.done .dot {
    background: var(--success);
}

.ship-milestones .m.next .dot {
    background: var(--brown);
}

.gift-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-top: 10px;
    color: var(--brown-dk);
}

.gift-note .ico {
    width: 18px;
    height: 18px;
    color: var(--brown);
}

.wrap.sauton-cart-wrapper {
    max-width: 1250px !important;
    padding: 10px;
    margin: 0 auto;
}

/* ======================================================================
   05. PRODOTTI NEL CARRELLO
   ====================================================================== */

/* Prodotti nel Carrello */


.cart-item {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}

.cart-thumb img {
    width: 96px;
    height: 96px;
    border-radius: 8px;
    background: var(--sand);
    object-fit: cover;
}

.cart-info .cat {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brown-lt);
    margin-bottom: 5px;
}

.cart-info h3 {
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 4px;
}


.cart-info h3 a.name {
    font-family: var(--nh-display) !important;
}

.cart-price span.unit * {
    font-family: var(--nh-body) !important;
}

span.woocommerce-Price-amount.amount * {
    font-family: var(--nh-display);
}

span.woocommerce-Price-currencySymbol {
    font-family: var(--nh-display) !important;
}


.cart-info .variant {
    font-size: 13px;
    color: var(--brown-lt);
    margin-bottom: 12px;
}

.cart-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ======================================================================
   06. QUANTITA'
   ====================================================================== */

/* Styling del controllo Quantità di default di WooCommerce */
.product-quantity .quantity {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    width: auto;
    padding: 0;
}

.product-quantity .quantity input[type="button"],
.product-quantity .quantity button,
.product-quantity .quantity .minus,
.product-quantity .quantity .plus {
    width: 34px;
    height: 38px;
    border: none;
    background: var(--cream);
    font-size: 16px;
    cursor: pointer;
    color: var(--brown);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-quantity .quantity input[type="button"]:hover,
.product-quantity .quantity button:hover,
.product-quantity .quantity .minus:hover,
.product-quantity .quantity .plus:hover {
    background: var(--sand);
}

.product-quantity .quantity input.qty {
    height: 38px;
    border: none;
    text-align: center;
    background: var(--cream);
    padding: 0;
    font-size: 14px;
    margin: 0;
    border: none !important;
    width: 45%;
}

/* Rimuovi le freccette native del browser dai campi number */
.product-quantity .quantity input.qty::-webkit-outer-spin-button,
.product-quantity .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.remove {
    font-size: 13px;
    color: var(--brown-lt);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.remove:hover {
    color: var(--orange);
}

.remove .ico {
    width: 14px;
    height: 14px;
}

.cart-price {
    text-align: right;
    font-size: 19px;
    font-weight: 500;
    white-space: nowrap;
}

.cart-price .unit {
    display: block;
    font-size: 12px;
    color: var(--brown-lt);
    font-weight: 400;
    margin-top: 3px;
}

/* Notifiche Scadenza/Stock */
.expiry {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    background: var(--sand);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 9px 12px;
    margin: 12px 0;
    font-size: 12.5px;
    color: var(--brown-dk);
}

.expiry .ico {
    width: 16px;
    height: 16px;
    color: var(--brown);
    min-width: 16px;
    margin-top: 1px;
}

/* ======================================================================
   07. SIDEBAR RIEPILOGO
   ====================================================================== */

/* Colonna Riepilogo (Aside) */
.summary {
    background: var(--sand);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    position: sticky;
    top: 96px;
}

.sum-reassure {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sum-reassure div {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    color: var(--brown-lt);
}

.sum-reassure .ico {
    width: 16px;
    height: 16px;
    color: var(--brown);
    min-width: 16px;
}

.pay-icons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 16px;
}

/* loghi circuiti carta — monocromatici, placeholder per asset ufficiali */
.card-marks {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    flex-wrap: wrap
}

.cmark {
    height: 22px;
    padding: 0 7px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--cream);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .4px;
    color: var(--brown-lt);
    text-transform: uppercase
}

.cmark svg {
    display: block
}


.pay-chip {
    font-size: 10px;
    font-weight: 600;
    color: var(--brown);
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 4px 8px;
    letter-spacing: .3px;
}

.link-disc {
    font-size: 13px;
    font-weight: 500;
    color: var(--brown);
    border-bottom: 1px solid var(--brown);
    padding-bottom: 1px;
    text-decoration: none;
    transition: color .2s;
}

.link-disc:hover {
    color: var(--black);
    border-color: var(--black);
}

/* Override Pulsanti Generici per adattarsi al form "Procedi all'ordine" */
.checkout-button, .button.btn-brown {
    background: var(--brown) !important;
    color: var(--cream) !important;
    font-size: 15px;
    font-weight: 600;
    padding: 16px 28px;
    border-radius: 4px;
    display: block;
    text-align: center;
    width: 100%;
    transition: background .2s;
}

.checkout-button:hover, .button.btn-brown:hover {
    background: var(--brown-dk) !important;
}

@media(max-width:880px) {
    .sauton-cart-wrapper .layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .summary {
        position: static;
    }

    .cart-item {
        grid-template-columns: 72px 1fr;
        gap: 14px;
    }

    .cart-thumb img {
        width: 72px;
        height: 72px;
    }

    .cart-price {
        grid-column: 2;
        text-align: left;
        margin-top: 6px;
    }
}

/* ==============================================================
   CART ASIDE (RIEPILOGO) - OVERRIDE WOOCOMMERCE
   ============================================================== */
.cart_totals h2 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: var(--font-display);
}

/* ======================================================================
   08. COUPON
   ====================================================================== */

/* Form del Codice Sconto (Toggle a scomparsa) */
.custom-coupon-form {
    margin: 8px 0 24px;
    border-top: 0;
}

.coupon-toggle {
    font-size: 13px;
    color: var(--brown);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity .2s;
}

.coupon-toggle:hover {
    opacity: .8;
}

.coupon-toggle .ico {
    width: 16px;
    height: 16px;
}

.coupon-body {
    display: none;
    margin-top: 12px;
    gap: 8px;
}

.coupon-body.open {
    display: flex;
    animation: revealfade .25s ease;
}

.coupon .coupon-body input {
    flex: 1;
    padding: 11px 12px;
    border: 1px solid var(--border) !important;
    border-radius: 4px !important;
    font-family: var(--font-body) !important;
    font-size: 14px;
    background: var(--cream);
    outline: none;
    box-shadow: none !important;
}

.coupon-body input:focus {
    border-color: var(--brown);
}

.coupon-body button {
    flex-shrink: 0;
    background: transparent !important;
    color: var(--brown) !important;
    border: 1.5px solid var(--brown) !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 9px 16px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all .2s;
    height: 40px !important;
    display: block !important;
    width: auto !important;
}

.coupon-body button:hover {
    background: var(--brown);
    color: var(--cream);
}

@keyframes revealfade {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================================================================
   09. YITH POINTS & REWARDS
   ====================================================================== */

/* ==============================================================
   OVERRIDE YITH POINTS & REWARDS PER ASIDE SAUTON (ID Corretto)
   ============================================================== */

/* Il contenitore del messaggio YITH */
#yith-par-message-reward-cart {
    background: var(--sand) !important;
    border-radius: 8px !important;
    margin: 10px 0 10px !important;
    color: var(--brown-dk) !important;
    font-size: 13.5px !important;
    box-shadow: none !important;
    line-height: 1.5 !important;
    width: 100%;
    padding: 0;
    border: none;
}

div#yith-par-message-reward-cart svg {
    margin-bottom: -4px;
}

.sauton-yith-points-head button {
    text-decoration: underline;
    cursor: pointer;
}

.sauton-yith-points-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex-flow: wrap;
}

/* Rimuoviamo il bordo colorato e le icone di default di WooCommerce info */
#yith-par-message-reward-cart::before {
    display: none !important;
}

/* Il link testuale "Applica sconto" */
#yith-par-message-reward-cart a.ywpar-button-message {
    color: var(--brown) !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    transition: color 0.2s !important;
    display: inline-block !important;
    margin-left: 5px !important;
    font-size: 13px;
}

#yith-par-message-reward-cart a.ywpar-button-message:hover {
    color: var(--orange) !important;
}

/* Il contenitore del form che si apre al click */
#yith-par-message-reward-cart .ywpar_apply_discounts_container {
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px dashed var(--border) !important;
}

/* Affianchiamo input e bottone */
#yith-par-message-reward-cart form.ywpar_apply_discounts {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    margin: 0 !important;
}

/* Resettiamo i paragrafi nativi di YITH che scombinano il layout */
#yith-par-message-reward-cart form.ywpar_apply_discounts p.form-row {
    margin: 0 !important;
    padding: 0 !important;
}

#yith-par-message-reward-cart form.ywpar_apply_discounts p.form-row-first {
    flex: 1 !important;
}

#yith-par-message-reward-cart form.ywpar_apply_discounts p.form-row-last {
    flex-shrink: 0 !important;
}

/* Il campo numerico dei punti */
#yith-par-message-reward-cart input[name="ywpar_input_points"] {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid var(--border) !important;
    border-radius: 4px !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    background: var(--cream) !important;
    outline: none !important;
    margin: 0 !important;
    color: var(--black) !important;
    box-shadow: none !important;
    max-width: 100%;
}

#yith-par-message-reward-cart input[name="ywpar_input_points"]:focus {
    border-color: var(--brown) !important;
}

/* Il bottone "Applica Sconto" di YITH */
#yith-par-message-reward-cart input[type="submit"].button {
    background: transparent !important;
    color: var(--brown) !important;
    border: 1.5px solid var(--brown) !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 9.5px 16px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all .2s !important;
    margin: 0 !important;
    text-transform: none !important;
}

#yith-par-message-reward-cart input[type="submit"].button:hover {
    background: var(--brown) !important;
    color: var(--cream) !important;
}

/* ======================================================================
   10. RIMOZIONE PRODOTTO WOOCOMMERCE
   ====================================================================== */

/** rimuovi **/
/* ==============================================================
   OVERRIDE WOOCOMMERCE: TASTO "RIMUOVI" CON CESTINO
   ============================================================== */

/* Resetta il link e lo allinea perfettamente con l'icona */
.woocommerce-cart-form .product-remove a.remove,
.product-remove a.remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--brown-lt) !important;
    text-decoration: none !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    line-height: 1 !important;
    padding: 0 !important;
    transition: color 0.2s ease !important;
}

/* Effetto hover (passaggio del mouse) in arancione Sautón */
.woocommerce-cart-form .product-remove a.remove:hover,
.product-remove a.remove:hover {
    color: var(--orange) !important;
    background: transparent !important;
}

/* Stile dell'icona SVG (tratto sottile come nello screen) */
.woocommerce-cart-form .product-remove a.remove svg.ico,
.product-remove a.remove svg.ico {
    width: 15px !important;
    height: 15px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.5 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    margin: 0 !important;
}

/* Nasconde l'eventuale "X" rossa di default di Woo se dovesse riapparire come pseudo-elemento */
.woocommerce-cart-form .product-remove a.remove::before {
    display: none !important;
}

/* ======================================================================
   11. CROSS SELL & CONSULENZA
   ====================================================================== */

/* ==============================================================
   CROSS-SELL & CONSULENZA (Design Warm & Natural)
   ============================================================== */

/* Contenitore principale */
.sauton-xsell-wrapper {
    padding: 20px 0 80px;
}

/* Intestazione */
.xsell-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 22px;
}

.xsell-head h2 {
    font-size: 26px;
    font-weight: 500;
    font-family: var(--font-display);
    margin: 0;
}

.xsell-head h2 em {
    font-style: italic;
    color: var(--brown);
}

/* Griglia Prodotti */
.xsell-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Singola Card Prodotto */
.xs {
    display: flex;
    gap: 16px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    align-items: center;
}

/* Immagine Prodotto */
.xs-img {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 8px;
    background: var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.xs-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    /* Reset per temi WordPress */
}

/* Corpo Testuale */
.xs-body {
    flex: 1;
}

.xs-body h4 {
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-body);
    margin: 0 0 3px 0;
    color: var(--black);
    line-height: 1.2;
}

.xs-body .why {
    font-size: 12px;
    color: var(--brown);
    margin-bottom: 8px;
    line-height: 1.3;
}

.xs-body .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
}

.xs-body .pr {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--brown-dk);
    width: 50%;
}

span.pr ins {
    text-decoration: none;
}

span.pr del {
    font-size: 14px;
    opacity: 0.5;
}

/* Pulsante "Aggiungi" (override WooCommerce) */
.xs-body a.btn-brown.sm {
    background: var(--brown) !important;
    color: var(--cream) !important;
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 8px 14px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: background .2s, transform .15s !important;
    text-decoration: none !important;
    line-height: 1 !important;
    text-transform: none !important;
    width: 50%;
}

.xs-body a.btn-brown.sm:hover {
    background: var(--brown-dk) !important;
    transform: translateY(-1px) !important;
}

/* Banner Consulenza */
.consult {
    background: var(--sand);
    border-radius: 12px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
}

.consult .ic {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: var(--cream);
    color: var(--brown);
    display: flex;
    align-items: center;
    justify-content: center;
}

.consult .ic .ico {
    width: 24px;
    height: 24px;
}

.consult .tx {
    flex: 1;
}

.wrap .sauton-xsell-wrapper .consult h4 {
    font-size: 17px;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    margin: 0 0 4px 0;
    color: var(--black);
}

.consult p {
    font-size: 13.5px;
    color: var(--brown-lt);
    margin: 0;
    line-height: 1.5;
}

/* Pulsante "Prenota gratis" */
a.btn-outline {
    background: transparent !important;
    color: var(--brown) !important;
    border: 1.5px solid var(--brown) !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 11px 20px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all .2s !important;
    text-decoration: none !important;
    white-space: nowrap;
    width: auto;
}

a.btn-outline:hover {
    background: var(--brown) !important;
    color: var(--cream) !important;
}

/* Responsiveness per Tablet e Mobile */
@media(max-width: 880px) {
    .xsell-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 600px) {
    .consult {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .consult a.btn-outline {
        width: 100%;
        text-align: center;
    }
}

/* ======================================================================
   12. TOTALI WOOCOMMERCE
   ====================================================================== */

/* ==============================================================
   CART ASIDE (RIEPILOGO) - FIX TABELLA WOOCOMMERCE
   ============================================================== */
.woocommerce ul#shipping_method .amount {
    font-weight: normal !important;
}

/* Coupon (Sconto ed Elimina) */
table.sum-table .cart-discount .woocommerce-remove-coupon {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--brown);
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 6px;
    letter-spacing: 0.5px;
}

table.sum-table .cart-discount .woocommerce-remove-coupon:hover {
    color: var(--orange);
}

/* Spedizione */
table.sum-table .woocommerce-shipping-totals th {
    border-bottom: none;
    padding-bottom: 4px;
    font-weight: 600;
}

table.sum-table .woocommerce-shipping-totals td {
    padding-top: 0;
    text-align: left;
}

table.sum-table .delivery-date-cart {
    font-size: 13px;
    color: #3aa89b;
    /* Colore Teal del tuo screen */
    margin: 4px 0 12px 0;
    font-weight: 600;
}

table.sum-table ul#shipping_method {
    list-style: none;
    padding: 0;
    margin: 0;
}

table.sum-table ul#shipping_method input[type="radio"],
table.sum-table ul#shipping_method input[type="hidden"] {
    margin: 0;
    accent-color: var(--brown);
}

/* Totale */
table.sum-table .order-total th,
table.sum-table .order-total td {
    border-bottom: none;
    padding-top: 20px;
}

table.sum-table .order-total th .lbl {
    font-size: 16px;
    font-weight: 600;
}

table.sum-table .order-total td .val strong {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
}

table.sum-table .order-total td .includes_tax {
    display: block;
    font-size: 12px;
    color: var(--brown-lt);
    font-weight: 400;
    margin-top: 4px;
}

/* Nascondi righe spurie di YITH che inquinano la tabella */
table.sum-table tr.points_message {
    display: none !important;
}

/* ======================================================================
   13. MESSAGGIO PUNTI
   ====================================================================== */

/* ==============================================================
   MESSAGGIO PUNTI (Sotto il Pulsante)
   ============================================================== */
.sauton-points-message {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    gap: 8px;
}

.sauton-points-message span {
    font-size: 12px;
    color: var(--brown-lt);
    line-height: 1.45 !important;
    text-align: left;
    display: block;
}

.sauton-points-message .ico {
    width: 16px;
    height: 16px;
    min-width: 16px;
    color: var(--brown);
    margin-top: 2px;
}

.sauton-points-message strong {
    color: var(--brown-lt);
}

/* ======================================================================
   14. OVERRIDE GLOBALI WOOCOMMERCE
   ====================================================================== */

/* ==============================================================
   CART ASIDE (RIEPILOGO) - DESIGN WARM & NATURAL
   ============================================================== */
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    float: none;
    width: 100%;
}

table.shop_table.shop_table_responsive.sum-table {
    border: none;
}

table.shop_table.shop_table_responsive.sum-table {
    border: none;
}

tbody {
    background: none;
    border: none;
}

tbody tr {
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

tbody td, tbody th {
    width: 100% !important;
    padding: 8px 0 !important;
}

tr, th, td {
    border: none !important;
}

td {
    text-align: right;
}

tbody tr:nth-child(even) {
    background-color: transparent;
}

tr.order-total {
    flex-flow: wrap;
}

tr.order-total th, tr.order-total td {
    width: 50% !important;
}

tr.woocommerce-shipping-totals.shipping {
    display: flex;
    align-items: center !important;
}

tr.woocommerce-shipping-totals.shipping ul li {
    margin: 0 !important;
}

tr.woocommerce-shipping-totals.shipping td {
    padding: 0 !important;
}

tr.woocommerce-shipping-totals.shipping ul {
    text-align: right;
}

span.shipping-free-label {
    color: green;
    font-weight: bold;
}



.woocommerce .quantity {
    float: left;
    margin: 0 4px 0 0;
    width: 120px;
    overflow: hidden;
}

.woocommerce .quantity .minus, .woocommerce-page .quantity .minus, .woocommerce .quantity .plus, .woocommerce-page .quantity .plus {
    position: relative;
    width: 28px;
    height: 42px;
    color: #515151;
    border: 1px solid #f0f0f0;
    background-color: #f0f0f0;
    float: left;
}

.woocommerce .quantity .minus, .woocommerce-page .quantity .minus, .woocommerce .quantity .plus, .woocommerce-page .quantity .plus {
    position: relative;
    width: 28px;
    height: 42px;
    color: #515151;
    border: 1px solid #f0f0f0;
    background-color: #f0f0f0;
    float: left;
}

tbody th {
    font-weight: normal !important;
    font-size: 14px;
}

tbody td span *, tbody td span.woocommerce-Price-amount.amount .woocommerce-Price-currencySymbol {
    font-family: var(--nh-body) !important;
}

tr.cart-coupon-before-total {
    display: block;
}

td.codicescontocart {
    width: 100% !important;
    display: block;
}

tr.order-total span *, tr.order-total span span.woocommerce-Price-amount.amount span.woocommerce-Price-currencySymbol {
    font-family: var(--nh-display) !important;
    font-size: 35px;
}

small.sauton-vat-included {
    color: var(--brown-dk) !important;
    font-size: 13px;
}

/* ======================================================================
   15. RESPONSIVE CARRELLO SAUTÓN
   ====================================================================== */

/* Desktop medi / laptop */
@media (max-width: 1180px) {
    .wrap.sauton-cart-wrapper {
        max-width: 100% !important;
        padding-left: 22px;
        padding-right: 22px;
    }

    .sauton-cart-wrapper .layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 28px;
    }

    .summary {
        padding: 24px;
    }

    .cart-item {
        grid-template-columns: 88px minmax(0, 1fr) auto;
        gap: 18px;
    }

    .cart-thumb img {
        width: 88px;
        height: 88px;
    }
}

/* Tablet: riepilogo sotto al carrello, niente sticky */
@media (max-width: 980px) {
    .sauton-cart-wrapper .page-head {
        padding: 34px 0 22px;
    }

    .sauton-cart-wrapper h1 {
        font-size: 36px;
    }

    .sauton-cart-wrapper .layout {
        display: block;
        padding-bottom: 32px;
    }

    .summary {
        position: static;
        margin-top: 28px;
        padding: 26px;
    }

    .cart-item {
        grid-template-columns: 88px minmax(0, 1fr) auto;
        gap: 18px;
    }

    .xsell-grid {
        grid-template-columns: 1fr;
    }

    .consult {
        align-items: flex-start;
    }
}

/* Mobile grande */
@media (max-width: 760px) {
    .wrap.sauton-cart-wrapper {
        padding-left: 16px;
        padding-right: 16px;
    }

    .sauton-cart-wrapper .page-head {
        padding: 28px 0 18px;
    }

    .sauton-cart-wrapper h1 {
        font-size: 31px;
        line-height: 1.12;
    }

    .sauton-cart-wrapper .step {
        font-size: 13px;
    }

    .ship-bar {
        padding: 16px;
        border-radius: 10px;
    }

    .ship-bar .top,
    .gift-note {
        align-items: flex-start;
        line-height: 1.45;
    }

    .ship-milestones {
        gap: 14px;
        font-size: 10.5px;
    }

    .ship-milestones .m {
        align-items: flex-start;
    }

    .cart-item {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 14px;
        padding: 20px 0;
        position: relative;
    }

    .cart-thumb img {
        width: 76px;
        height: 76px;
    }

    .cart-info .cat {
        font-size: 9.5px;
        letter-spacing: 1.7px;
    }

    .cart-info h3 {
        font-size: 18px;
        line-height: 1.2;
    }

    .cart-actions {
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 10px;
    }

    .cart-price {
        grid-column: 2;
        text-align: left;
        margin-top: 4px;
        font-size: 18px;
    }

    .cart-price .unit {
        font-size: 11.5px;
    }

    .product-quantity .quantity {
        width: 118px;
    }

    .product-quantity .quantity input.qty {
        width: 44px;
        min-width: 44px;
    }

    .summary {
        padding: 24px 22px;
        border-radius: 12px;
    }

    .cart_totals h2 {
        font-size: 24px;
        margin-bottom: 18px;
    }

    table.shop_table.shop_table_responsive.sum-table,
    table.shop_table.shop_table_responsive.sum-table tbody {
        display: block;
        width: 100%;
    }

    table.shop_table.shop_table_responsive.sum-table tbody tr {
        display: flex !important;
        flex-direction: row !important;
        flex-flow: wrap;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 16px;
        width: 100% !important;
    }

    table.shop_table.shop_table_responsive.sum-table tbody th,
    table.shop_table.shop_table_responsive.sum-table tbody td {
        display: block !important;
        width: auto !important;
        max-width: 60%;
        padding: 8px 0 !important;
    }

    table.shop_table.shop_table_responsive.sum-table tbody th {
        text-align: left !important;
        flex: 1 1 auto;
    }

    table.shop_table.shop_table_responsive.sum-table tbody td {
        text-align: right !important;
        flex: 0 0 auto;
    }

    tr.woocommerce-shipping-totals.shipping {
        align-items: flex-start !important;
    }

    tr.woocommerce-shipping-totals.shipping th,
    tr.woocommerce-shipping-totals.shipping td {
        width: auto !important;
    }

    tr.woocommerce-shipping-totals.shipping ul {
        text-align: right;
    }

    tr.cart-coupon-before-total,
    tr.cart-coupon-before-total td.codicescontocart,
    tr.cart-coupon-before-total td {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: left !important;
    }

    tr.cart-coupon-before-total td.codicescontocart,
    tr.cart-coupon-before-total td {
        padding: 14px 0 !important;
    }

    .coupon-toggle {
        width: 100%;
        line-height: 1.35;
    }

    .coupon-body.open {
        display: flex;
    }

    .coupon .coupon-body input {
        min-width: 0;
    }

    tr.order-total {
        align-items: flex-end !important;
    }

    tr.order-total th,
    tr.order-total td {
        width: 50% !important;
        max-width: 50% !important;
    }

    tr.order-total span *,
    tr.order-total span span.woocommerce-Price-amount.amount span.woocommerce-Price-currencySymbol {
        font-size: 30px;
        line-height: 1.05;
    }

    small.sauton-vat-included {
        font-size: 12px;
    }

    .sauton-yith-points-head,
    .sauton-yith-points-box .pts-balance {
        align-items: flex-start;
        gap: 8px 14px;
    }

    .sauton-yith-points-box .pts-balance {
        flex-wrap: wrap;
    }

    .sauton-yith-points-box .pts-balance>div {
        width: 100%;
    }

    .sauton-yith-points-box .pts-balance .link-disc,
    .sauton-yith-points-toggle {
        margin-left: 23px;
    }

    #yith-par-message-reward-cart form.ywpar_apply_discounts {
        flex-wrap: wrap;
    }

    #yith-par-message-reward-cart form.ywpar_apply_discounts p.form-row-first,
    #yith-par-message-reward-cart form.ywpar_apply_discounts p.form-row-last {
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    #yith-par-message-reward-cart input[type="submit"].button {
        width: 100% !important;
        text-align: center !important;
    }

    .wc-proceed-to-checkout .checkout-button {
        font-size: 15px;
        padding: 15px 20px;
    }

    .sum-reassure div {
        align-items: flex-start;
        line-height: 1.4;
    }

    .pay-icons {
        gap: 7px;
    }

    .pay-chip {
        font-size: 9.5px;
        padding: 4px 7px;
    }

    .sauton-xsell-wrapper {
        padding: 30px 0 58px;
    }

    .xsell-head h2 {
        font-size: 24px;
    }

    .xs {
        padding: 16px;
    }

    .xs-body .row {
        align-items: center;
    }

    .consult {
        flex-direction: column;
        text-align: left;
        padding: 22px;
    }

    .consult a.btn-outline {
        width: 100%;
        text-align: center;
    }
}

/* Mobile stretto */
@media (max-width: 520px) {

    .wrap.sauton-cart-wrapper {
        padding-left: 0;
        padding-right: 0;
    }


    .ship-bar .top .ico {
        width: 40px;
        height: 40px;
    }

    .sauton-cart-wrapper h1 {
        font-size: 29px;
    }

    .ship-milestones {
        flex-direction: column;
        gap: 7px;
    }

    .cart-item {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 12px;
    }

    .cart-thumb img {
        width: 68px;
        height: 68px;
    }

    .cart-info h3 {
        font-size: 17px;
    }

    .cart-info .variant {
        font-size: 12.5px;
        margin-bottom: 8px;
    }

    .cart-actions {
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
    }

    .product-quantity .quantity {
        width: 126px;
    }

    .remove {
        font-size: 13px;
    }

    .expiry {
        width: 100%;
        font-size: 12px;
        line-height: 1.4;
    }

    .summary {
        padding: 22px 18px;
    }

    table.shop_table.shop_table_responsive.sum-table tbody tr:not(.order-total):not(.cart-coupon-before-total) {
        gap: 10px;
    }

    table.shop_table.shop_table_responsive.sum-table tbody th,
    table.shop_table.shop_table_responsive.sum-table tbody td {
        max-width: 58%;
        font-size: 14px;
    }

    table.shop_table.shop_table_responsive.sum-table tbody td {
        flex: 1;
    }

    table.sum-table .cart-discount .woocommerce-remove-coupon {
        font-size: 9.5px;
    }

    tr.order-total th .lbl {
        font-size: 16px;
    }

    tr.order-total span *,
    tr.order-total span span.woocommerce-Price-amount.amount span.woocommerce-Price-currencySymbol {
        font-size: 27px;
    }

    .coupon-body.open {
        display: block;
    }

    .coupon .coupon-body input {
        width: 100%;
        margin-bottom: 8px;
    }

    .coupon-body button {
        width: 100% !important;
    }

    .xs {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 14px;
    }

    .xs-body .row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .xs-body .pr,
    .xs-body a.btn-brown.sm {
        width: 100%;
    }

    .xs-body a.btn-brown.sm {
        text-align: center;
    }
}

/* Mobile extra stretto */
@media (max-width: 380px) {
    .cart-item {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .cart-thumb img {
        width: 60px;
        height: 60px;
    }

    .summary {
        padding: 20px 15px;
    }

    table.shop_table.shop_table_responsive.sum-table tbody tr {
        gap: 8px;
    }

    tr.order-total {
        display: block !important;
    }

    tr.order-total th,
    tr.order-total td {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        text-align: left !important;
    }

    tr.order-total td {
        margin-top: 4px;
    }

    tr.order-total span *,
    tr.order-total span span.woocommerce-Price-amount.amount span.woocommerce-Price-currencySymbol {
        font-size: 25px;
    }


    .woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before {
        content: none;
    }

    td {
        background: transparent !important;
    }
}


/*** EMPTY CART ***/
/* ==========================================================================
   SEZIONE CARRELLO VUOTO (DESIGN WARM & NATURAL)
   ========================================================================== */

.sauton-empty-cart {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Cerchio Icona */
.sauton-empty-cart-icon {
    width: 80px;
    height: 80px;
    background-color: #F5EFE6;
    /* Tonalità di sand ultra-leggera per il cerchio */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

/* Icona SVG Cestino */
.sauton-empty-cart-icon svg.ico {
    width: 28px;
    height: 28px;
    color: var(--brown-dk);
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.5 !important;
}

/* Titolo Principale */
.sauton-empty-cart h2 {
    font-family: var(--font-display), serif;
    font-size: 38px;
    font-weight: 600;
    color: var(--black);
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
}

/* Testo Sottotitolo */
.sauton-empty-cart p {
    font-family: var(--font-body), sans-serif;
    font-size: 16px;
    color: #8B7E74;
    /* Grigio/marrone morbido per il testo descrittivo */
    max-width: 540px;
    line-height: 1.5;
    margin: 0 0 40px 0;
}

/* Contenitore Pulsanti */
.sauton-empty-cart-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

/* Pulsanti Base (Reset e Struttura) */
.sauton-empty-cart-actions a {
    font-family: var(--font-body), sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.25s ease;
    text-align: center;
    min-width: 160px;
}

/* Pulsante Primario (Fai il quiz) */
.sauton-empty-cart-actions a.btn-primary {
    background-color: var(--brown-dk) !important;
    color: var(--cream) !important;
    border: 1px solid var(--brown-dk) !important;
}

.sauton-empty-cart-actions a.btn-primary:hover {
    background-color: var(--black) !important;
    border-color: var(--black) !important;
}

/* Pulsante Secondario (Vedi i bestseller) */
.sauton-empty-cart-actions a.btn-secondary {
    background-color: transparent !important;
    color: var(--brown-dk) !important;
    border: 1px solid var(--brown-dk) !important;
}

.sauton-empty-cart-actions a.btn-secondary:hover {
    background-color: var(--sand) !important;
}

.cart-empty.woocommerce-info {
    display: none;
}

/* Responsiveness per Mobile */
@media (max-width: 600px) {
    .sauton-empty-cart {
        padding: 60px 16px;
    }

    .sauton-empty-cart h2 {
        font-size: 30px;
    }

    .sauton-empty-cart-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .sauton-empty-cart-actions a {
        width: 100%;
    }

    .woocommerce-checkout table.shop_table_responsive tr.shipping td,
    .woocommerce-cart table.shop_table_responsive tr.shipping td {
        background: transparent !important;
        background-color: transparent !important;
    }

    /* Se il colore viene da un blocco interno, colpisci direttamente la riga */
    .woocommerce table.shop_table_responsive tr.shipping {
        background: transparent !important;
    }

    .woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before {
        content: none;
    }

    td {
        background: transparent !important;
    }


}