.elementor-4284 .elementor-element.elementor-element-ad8057e{--display:flex;--min-height:65vh;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--overlay-opacity:0.06;}.elementor-4284 .elementor-element.elementor-element-ad8057e:not(.elementor-motion-effects-element-type-background), .elementor-4284 .elementor-element.elementor-element-ad8057e > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:transparent;background-image:radial-gradient(at center center, #0055BE 24%, #023D86 100%);}.elementor-4284 .elementor-element.elementor-element-ad8057e::before, .elementor-4284 .elementor-element.elementor-element-ad8057e > .elementor-background-video-container::before, .elementor-4284 .elementor-element.elementor-element-ad8057e > .e-con-inner > .elementor-background-video-container::before, .elementor-4284 .elementor-element.elementor-element-ad8057e > .elementor-background-slideshow::before, .elementor-4284 .elementor-element.elementor-element-ad8057e > .e-con-inner > .elementor-background-slideshow::before, .elementor-4284 .elementor-element.elementor-element-ad8057e > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-image:url("https://marcelloibbalotto.it/wp-content/uploads/2026/03/mi-presento2.webp");--background-overlay:'';}.elementor-4284 .elementor-element.elementor-element-ad8057e > .elementor-shape-bottom svg, .elementor-4284 .elementor-element.elementor-element-ad8057e > .e-con-inner > .elementor-shape-bottom svg{height:135px;}.elementor-4284 .elementor-element.elementor-element-2b2e20d{--display:flex;--justify-content:center;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-4284 .elementor-element.elementor-element-3979cd3{width:var( --container-widget-width, 105.874% );max-width:105.874%;--container-widget-width:105.874%;--container-widget-flex-grow:0;text-align:center;}.elementor-4284 .elementor-element.elementor-element-3979cd3.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-4284 .elementor-element.elementor-element-3979cd3 .elementor-heading-title{font-family:"Encode Sans Semi Expanded", Sans-serif;font-size:100px;font-weight:600;line-height:100px;text-shadow:1px 0px 35px rgba(2.0000000000000044, 20.00000000000007, 58.000000000000014, 0.71);}.elementor-4284 .elementor-element.elementor-element-d81cdda{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--padding-top:10px;--padding-bottom:10px;--padding-left:10px;--padding-right:10px;}@media(max-width:767px){.elementor-4284 .elementor-element.elementor-element-3979cd3 .elementor-heading-title{font-size:60px;line-height:1em;}}@media(min-width:768px){.elementor-4284 .elementor-element.elementor-element-ad8057e{--content-width:100%;}.elementor-4284 .elementor-element.elementor-element-d81cdda{--content-width:100%;}}/* Start custom CSS for html, class: .elementor-element-eb4d71d *//* ======================================================
   CARRELLO – STILE COERENTE DEFINITIVO
   ====================================================== */

/* ======================================================
   TITOLI
   ====================================================== */
body.woocommerce-cart .entry-title,
body.woocommerce-cart header.entry-header .entry-title,
body.woocommerce-cart .page-title,
body.woocommerce-cart .woocommerce-page-title,
body.woocommerce-cart .woocommerce-products-header__title,
body.woocommerce-cart .woocommerce > h1:first-child,
body.woocommerce-cart .woocommerce h1:first-child {
    font-family: "Cinzel", serif !important;
    font-weight: 700 !important;
}

body.woocommerce-cart .cart_totals > h2,
body.woocommerce-cart .cart_totals h2 {
    font-family: "Encode Sans Semi Expanded", sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ======================================================
   TABELLA CARRELLO (DESKTOP)
   ====================================================== */
.woocommerce-cart table.shop_table {
    width: 100% !important;
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    background: #fff !important;
    border-collapse: collapse !important;
}

.woocommerce-cart table.shop_table thead {
    background: #f8f6f3;
}

.woocommerce-cart table.shop_table th {
    font-weight: 600;
    font-size: 14px;
    padding: 16px;
}

.woocommerce-cart table.shop_table td {
    padding: 18px 16px;
    border-top: 1px solid #f0f0f0;
    vertical-align: middle;
}

.woocommerce-cart td.product-name a {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.4;
    word-break: break-word;
}

.woocommerce-cart .amount {
    font-weight: 700;
    font-size: 16px;
}

.woocommerce-cart input.qty {
    width: 60px !important;
    height: 42px !important;
    border-radius: 999px !important; /* Tondi anche in desktop */
    border: 1px solid #ddd !important;
    text-align: center !important;
}

.woocommerce-cart .product-remove a {
    color: #e5a90a !important;
    font-size: 18px;
}

/* ======================================================
   COUPON BOX DESKTOP
   ====================================================== */
.woocommerce-cart .coupon {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 25px;
    background: #faf8f5;
    border-radius: 16px;
    margin-bottom: 22px;
}

.woocommerce-cart .coupon input.input-text {
    flex: 1 1 auto !important;
    min-width: 200px !important;
    height: 48px !important;
    padding: 0 16px !important;
    border: 1px solid #ddd !important;
    border-radius: 999px !important; /* Tondi anche in desktop */
    background: #fff !important;
}

/* ======================================================
   BOX TOTALE
   ====================================================== */
.cart_totals {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.cart_totals .order-total .amount {
    font-size: 22px;
    font-weight: 700;
}

/* ======================================================
   BOTTONI GENERALI (CAPSULA TONDA)
   ====================================================== */
.woocommerce-cart .button,
.woocommerce-cart .checkout-button,
.woocommerce-cart button[name="apply_coupon"],
.woocommerce-cart button[name="update_cart"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(90deg, #f8d36a 0%, #f1b933 50%, #e5a90a 100%) !important;
    border: none !important;
    border-radius: 999px !important; /* Forza la forma a capsula tonda */
    padding: 16px 32px !important;
    min-height: 48px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    line-height: 1.1 !important;
    text-align: center !important;
}

.woocommerce-cart .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(241, 185, 51, 0.35);
}

/* ======================================================
   MOBILE (FIX AZIONI E COUPON)
   ====================================================== */

@media (max-width: 767px) {

    /* Rendi ogni riga della tabella un blocco verticale */
    .woocommerce-cart table.shop_table_responsive tr {
        display: block !important;
        width: 100% !important;
        margin-bottom: 20px !important;
        border: 1px solid #eee !important;
        border-radius: 12px !important;
        padding: 10px !important;
        background: #fff !important;
    }

    .woocommerce-cart table.shop_table_responsive td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 8px 0 !important;
        width: 100% !important;
    }

    /* --- FIX SPECIFICO AREA AZIONI E COUPON (Il tuo problema principale) --- */
    
    .woocommerce-cart table.cart td.actions,
    .woocommerce-page table.cart td.actions {
        display: block !important; /* Forza il contenitore a occupare tutto lo spazio in verticale */
        width: 100% !important;
        padding: 15px 0 !important;
        border: none !important;
    }

    /* Contenitore principale del coupon */
    .woocommerce-cart .coupon {
        display: flex !important;
        flex-wrap: wrap !important; /* Permette di andare a capo */
        width: 100% !important;
        padding: 0 !important;
        background: transparent !important;
        margin: 0 !important;
        gap: 12px !important; /* Spazio tra input e bottone giallo */
    }

    /* Input e Bottone "Applica" affiancati */
    .woocommerce-cart .coupon input.input-text {
        flex: 1 1 50% !important; /* Occupa circa il 50% dello spazio */
        min-width: 150px !important;
        width: auto !important;
        height: 50px !important;
        border-radius: 999px !important; /* Tondo */
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .woocommerce-cart .coupon button[name="apply_coupon"] {
        flex: 1 1 40% !important; /* Occupa lo spazio rimanente */
        width: auto !important;
        display: inline-flex !important;
        height: 50px !important;
        margin: 0 !important;
        border-radius: 999px !important; /* Tondo */
        font-size: 14px !important; /* Leggermente più piccolo per stare su una riga */
        padding: 10px 15px !important;
    }

    /* Bottone "Aggiorna Carrello" sotto a tutto */
    .woocommerce-cart table.cart td.actions > button[name="update_cart"],
    .woocommerce-cart table.cart td.actions > .button[name="update_cart"] {
        display: flex !important;
        width: 100% !important; /* Occupa tutta la larghezza sotto il coupon */
        margin-top: 20px !important; /* Spazio dal coupon sopra */
        height: 50px !important;
        border-radius: 999px !important; /* Tondo */
        float: none !important; /* Rimuove float residui */
        background: #f0f0f0 !important; /* Grigio neutro per differenziarlo */
        color: #666 !important;
        font-weight: 500 !important;
        box-sizing: border-box !important;
    }

    /* Box Totale */
    .cart_totals {
        width: 100% !important;
        padding: 20px !important;
        margin-top: 30px !important;
    }
}/* End custom CSS */