/* MACFaaast Module: Homepage Hero, Shortcodes, Bestsellers Showroom & Responsive Grid */

/* --- HOME PAGE RESPONSIVE GRID & PREMIUM STYLE OPTIMIZATION (FINAL) --- */

/* 1. TABLET VIEW (768px to 1199px) - 3 Columns */
@media only screen and (min-width: 768px) and (max-width: 1199px) {

    .home .products .product,
.home .ts-product.ts-shortcode .products .product,
.home .products .product.swiper-slide {
        width: 32.333% !important;
        /* Slightly less than 33% to account for gaps/margins if any */
        min-width: 32.333% !important;
        flex: 0 0 32.333% !important;
        max-width: 32.333% !important;
        padding: 10px !important;
        box-sizing: border-box !important;
    }
}

/* 2. MOBILE VIEW (< 768px) - 2 Columns */
@media only screen and (max-width: 767px) {

    .home .products .product,
.home .ts-product.ts-shortcode .products .product,
.home .products .product.swiper-slide {
        width: 49% !important;
        /* Slightly less than 50% for safety */
        min-width: 49% !important;
        flex: 0 0 49% !important;
        max-width: 49% !important;
        padding: 5px !important;
        box-sizing: border-box !important;
        margin: 0 0.5% !important;
        /* Tiny margin for cleaner grid */
    }

    /* PREMIUM CARD UPGRADE FOR HOME PRODUCTS ON MOBILE (I più venduti, Novità, ecc.) */
    /* Targettizza unicamente il .product-wrapper dei prodotti per non interferire con le categorie */
    .home .ts-product.ts-shortcode .products .product .product-wrapper {
        background: #ffffff !important;
        border: 1px solid #f2f2f7 !important;
        border-radius: 14px !important;
        /* Arrotondamento più compatto e pulito */
        box-shadow: none !important;
        /* Rimosso l'effetto ombra per un look piatto, ultra-minimale ed elegante */
        padding: 10px 8px !important;
        /* Spaziatura interna ottimizzata per massima pulizia */
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
    }

    /* Product Title: Flessibile fino a 5 righe per accogliere interamente i nomi lunghi (es. Grado Buono/Ottimo) senza tagli o limitazioni rigide */
    .home .products .product .product-name,
    .home .products .product .heading-title {
        display: -webkit-box !important;
        -webkit-line-clamp: 5 !important;
        /* Permette fino a 5 righe per non tagliare mai i testi dei gradi estesi */
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        min-height: 58px !important;
        /* Altezza minima per mantenere allineamento con titoli corti */
        max-height: none !important;
        /* Rimosso il blocco di altezza massima per consentire lo sviluppo naturale del testo */
        font-size: 12px !important;
        /* Leggermente ridotto per far entrare più parole per riga */
        line-height: 1.35 !important;
        margin-top: 10px !important;
        margin-bottom: 6px !important;
        text-align: left !important;
        white-space: normal !important;
        font-weight: 600 !important;
        color: #1d1d1f !important;
    }

    .home .products .product .product-name a,
    .home .products .product .heading-title a {
        display: inline !important;
        font-size: inherit !important;
        line-height: inherit !important;
        font-weight: inherit !important;
        color: inherit !important;
    }

    /* Thumbnail spacing: impilamento verticale per liberare spazio alla foto ed evitare qualsiasi sovrapposizione dei badge */
    .home .products .product .thumbnail-wrapper {
        padding: 4px 6px !important;
        background: transparent !important;
        display: flex !important;
        flex-direction: column !important;
        /* Forza l'impilamento verticale: badge sopra, foto sotto */
        align-items: flex-start !important;
        /* Allinea i badge a sinistra */
        justify-content: flex-start !important;
        border-radius: 10px !important;
        min-height: 152px !important;
        /* Più spazio verticale per accogliere badge + foto grande */
        position: relative !important;
        width: 100% !important;
    }

    .home .products .product .thumbnail-wrapper>a {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin-top: 6px !important;
        /* Spazio di sicurezza tra i badge e l'inizio della foto */
    }

    .home .products .product .thumbnail-wrapper img:not(.emoji) {
        max-height: 140px !important;
        /* Foto ingrandita ulteriormente per massima visibilità */
        width: auto !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        display: block !important;
    }

    /* Prezzo e sconti coordinati su mobile */
    .home .products .product .price {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #53627b !important;
        margin-bottom: 8px !important;
        text-align: left !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: baseline !important;
        gap: 4px !important;
    }

    .home .products .product .price del {
        font-size: 11.5px !important;
        color: #8e8e93 !important;
    }

    .home .products .product .price ins {
        text-decoration: none !important;
        color: #00ade6 !important;
    }

    /* Pulsante CTA d'acquisto stile App Store su mobile */
    .home .products .product .product-group-button-meta {
        margin-top: auto !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        padding-top: 14px !important;
        /* Spazio protettivo generoso tra testi/prezzo e bottone */
        padding-bottom: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center !important;
    }

    .home .products .product .product-group-button-meta .button {
        display: inline-block !important;
        width: 100% !important;
        background-color: #53627B !important;
        color: #ffffff !important;
        border-radius: 50px !important;
        padding: 6px 12px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        text-align: center !important;
        box-sizing: border-box !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* STATO AGGIUNTO AL CARRELLO: Colore verde premium senza ingrandimenti o scompaginazioni */
    .home .products .product .product-group-button-meta .button.added {
        background-color: #34C759 !important;
        /* Elegant success green */
        color: #ffffff !important;
    }

    /* Mantiene le medesime dimensioni, spaziatura e impedisce al testo di andare a capo */
    .home .products .product .product-group-button-meta .button.added,
    .home .products .product .product-group-button-meta .button.loading {
        padding: 6px 12px !important;
        font-size: 12px !important;
        height: auto !important;
        line-height: inherit !important;
        white-space: nowrap !important;
    }

    /* Nasconde l'icona di spunta (checkmark) che WooCommerce aggiunge e che farebbe andare a capo il testo */
    .home .products .product .product-group-button-meta .button.added::before,
    .home .products .product .product-group-button-meta .button.loading::before {
        display: none !important;
        content: "" !important;
        margin: 0 !important;
        width: 0 !important;
        height: 0 !important;
    }

    /* Nasconde completamente il link duplicato "Visualizza il carrello" che si inserisce sotto il bottone su mobile */
    .home .products .product .product-group-button-meta a.added_to_cart {
        display: none !important;
    }

    /* Riproposizionamento dei badge: riga naturale e stabile in alto per non sovrapporsi MAI alla foto */
    .home .product-label.on-thumbnail {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 4px !important;
        margin-top: 0 !important;
        margin-bottom: 4px !important;
        width: 100% !important;
        height: auto !important;
        z-index: 5 !important;
    }

    /* Badge individuali: etichette piatte Apple-like, pulite, stabili e leggibili */
    .home .product-label.on-thumbnail>span,
    .home .product-label.on-thumbnail .onsale,
    .home .product-label.on-thumbnail .new-product-badge,
    .home .product-label.on-thumbnail .badge-novita,
    .home .product-label.on-thumbnail .badge-scontato {
        position: static !important;
        padding: 3px 8px !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        border-radius: 6px !important;
        line-height: 1.2 !important;
        height: auto !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    /* Sposta leggermente la scritta "I più venduti" e le intestazioni dei prodotti su mobile rispetto all'immagine/banner sopra */
    .home .ts-product.ts-shortcode {
        margin-top: 30px !important;
    }

    

    /* Fix sfarfallio e scomparsa dei badge (Nuovo/Offerta) e del cuore wishlist durante lo scorrimento dello slider (Swiper) su mobile */
    .home .product-label.on-thumbnail,
    .home .product-label.on-thumbnail>span,
    .home .products .product .onsale,
    .home .products .product .new-product-badge,
    .home .products .product .badge-novita,
    .home .products .product .badge-scontato,
    .woocommerce span.onsale,
    .woocommerce .new-product-badge,
    .woocommerce .onsale,
    .home .products .product .product-group-button>div.wishlist a,
    .home .products .product .product-group-button-meta>div.wishlist a,
    .home .products .product .ts-add-to-wishlist a,
    .home .products .product .yith-wcwl-add-to-wishlist a,
    .home .products .product .yith-wcwl-add-button a,
    .home .products .product a.add_to_wishlist,
    .home .products .product .yith-wcwl-icon,
    .home .products .product .yith-wcwl-wishlist a {
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
        -webkit-transform: translate3d(0, 0, 0) !important;
        transform: translate3d(0, 0, 0) !important;
        will-change: transform !important;
        z-index: 10 !important;
    }

    /* Forza il mantenimento del contesto 3D sulle card prodotto e contenitori durante lo scorrimento */
    .home .products .product,
    .home .products .product .product-wrapper,
    .home .products .product .thumbnail-wrapper {
        -webkit-transform-style: preserve-3d !important;
        transform-style: preserve-3d !important;
    }

    /* Reset degli effetti di ingrandimento / elevazione al passaggio o spostamento col dito su mobile per rendere il modulo minimale */
    body.home .products .product:hover,
.home .products .product:hover,
.home .products .product .product-wrapper:hover,
.home .products .product:active,
.home .products .product .product-wrapper:active {
        transform: none !important;
        -webkit-transform: none !important;
        box-shadow: none !important;
        border-color: #f2f2f7 !important;
    }

    /* PREMIUM ALWAYS-VISIBLE WHITE WISHLIST CIRCLE ON MOBILE IMAGE CORNER */
    /* Mostra sempre il contenitore della wishlist sopra l'immagine del prodotto su mobile */
    .home .products .product .thumbnail-wrapper .product-group-button {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: absolute !important;
        bottom: 8px !important;
        right: 8px !important;
        top: auto !important;
        left: auto !important;
        z-index: 99 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        width: auto !important;
        height: auto !important;
        animation: none !important;
        transform: none !important;
        -webkit-transform: none !important;
    }

    /* Nascondi gli altri pulsanti ad-hoc non necessari all'interno della miniatura su mobile */
    .home .products .product .thumbnail-wrapper .product-group-button>div:not(.wishlist) {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* Forza il cerchio bianco della wishlist a rimanere statico, visibile e privo di animazioni fastidiose */
    .home .products .product .thumbnail-wrapper .product-group-button>div.wishlist,
    .home .products .product:hover .thumbnail-wrapper .product-group-button>div.wishlist,
    .home .products .product .product-wrapper:hover .thumbnail-wrapper .product-group-button>div.wishlist,
    .home .products .product .product-wrapper:active .thumbnail-wrapper .product-group-button>div.wishlist {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        background-color: #ffffff !important;
        border-radius: 50% !important;
        width: 34px !important;
        height: 34px !important;
        position: relative !important;
        bottom: 0 !important;
        right: 0 !important;
        left: 0 !important;
        top: 0 !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12) !important;
        border: 1px solid #f2f2f7 !important;
        animation: none !important;
        transform: none !important;
        -webkit-transform: none !important;
        transition: transform 0.2s ease, background-color 0.2s ease !important;
    }

    /* Struttura interna dell'ancora della wishlist per centrare l'icona perfettamente */
    .home .products .product .thumbnail-wrapper .product-group-button>div.wishlist a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        position: relative !important;
        line-height: 34px !important;
        text-align: center !important;
        background: transparent !important;
        border: none !important;
    }

    .home .products .product .thumbnail-wrapper .product-group-button>div.wishlist a:before {
        display: none !important;
        content: "" !important;
    }

    /* Icona a cuore: disegnata sempre al centro con il font nativo del tema 'tb-icon' */
    .home .products .product .thumbnail-wrapper .product-group-button>div.wishlist a:after {
        content: "\e95b" !important;
        font-family: 'tb-icon' !important;
        color: #1d1d1f !important;
        font-size: 16px !important;
        line-height: 34px !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        -webkit-transform: translate(-50%, -50%) !important;
        transition: none !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Cuore attivo (prodotto aggiunto): colore premium rosa/rosso vivace */
    .home .products .product .thumbnail-wrapper .product-group-button>div.wishlist a.added:after {
        content: "\e95c" !important;
        color: #E0245E !important;
    }
}

/* 3. SHARED RULES FOR ALL SMALL DEVICES (Mobile & Tablet) */
@media only screen and (max-width: 1199px) {

    /* Keep generic positioning for product slides but reset background transparent to let inner wrapper be the white card */
    .home .products .product {
        background: transparent !important;
        border: none !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* Ensure meta container is in flow and visible */
    .home .product-group-button-meta {
        margin-top: auto !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: relative !important;
        z-index: 5 !important;
        width: 100% !important;
        padding-top: 14px !important;
        /* Spazio protettivo generoso tra testi/prezzo e bottone */
        padding-bottom: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* 4. BUTTON COLOR & STYLE (#56647A - Requested) */
.product-group-button-meta .loop-add-to-cart a.button,
.product .product-group-button-meta .button,
.woocommerce ul.products li.product .product-group-button-meta .button,
.woocommerce.apple-card-main-archive .product-group-button-meta .button {
    background-color: #53627B !important;
    color: #ffffff !important;
    border-radius: 980px !important;
    padding: 8px 18px !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    border: none !important;
    width: auto !important;
    min-width: 100px !important;
}

/* Slight opacity or scale shift for hover to give premium feedback */
.product-group-button-meta .loop-add-to-cart a.button:hover,
.product .product-group-button-meta .button:hover {
    background-color: #53627B !important;
    opacity: 0.9 !important;
    transform: translateY(-1px);
}

/* 5. DESKTOP CONSISTENCY (Titles align) */
@media only screen and (min-width: 1200px) {

    .home .products .product .product-name,
    .home .products .product .heading-title {
        min-height: 64px !important;
        max-height: 64px !important;
        -webkit-line-clamp: 3 !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

/* [MODULAR CSS] Section WISHLIST moved to /css/ conditional bundle */

/* --- HOMEPAGE: BEST SELLERS PRODUCT CARD STYLING --- */

/* Fix definitivo per evitare il taglio del bordo superiore/badge in hover */

/* Selettore potenziato per vincere conflitti di specificità con WooCommerce/Elementor */

/* ==========================================================================
   MACFAAAST PREMIUM BLOG LAYOUTS (Migrati interamente nel file blog.css)
   ========================================================================== */

/* Mobile Homepage Full-Bleed Viewport */
@media only screen and (max-width: 767px) {

    /* 1. ELIMINAZIONE DEI PADDING LATERALI SU MOBILE (FULL-BLEED VIEWPORT) - SOLO HOME PAGE */
    .home,
    .home #page,
    .home #main,
    .home .page-container,
    .home #content,
    .home .site-content,
    .home #primary,
    .home #main-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Forza le sezioni ed i contenitori Elementor ad occupare il 100% dello schermo - SOLO HOME PAGE */
    

}

/* ==========================================================================
   HOME BLOG BANNER - PREMIUM TECH STYLE
   ========================================================================== */

#home-blog-banner {
    width: 100% !important;
    background-image: linear-gradient(135deg, #53627b, #00ade6, #53627b, #00ade6) !important;
    background-size: 300% 300% !important;
    background-repeat: no-repeat !important;
    background-position: 0% 50% !important;
    /* Managed dynamically via JavaScript requestAnimationFrame */
    padding: 70px 20px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    color: #ffffff !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    /* Perfect transition between sections */
    border-radius: 0 !important;
    /* Full bleed layout across the page */
}

#home-blog-banner::before {
    content: '' !important;
    position: absolute !important;
    width: 500px !important;
    height: 500px !important;
    background: radial-gradient(circle, rgba(0, 173, 230, 0.4) 0%, rgba(0, 173, 230, 0) 70%) !important;
    top: -150px !important;
    left: -150px !important;
    pointer-events: none !important;
    z-index: 1 !important;
    animation: floatGlow1 22s ease-in-out infinite alternate !important;
    filter: blur(50px) !important;
}

#home-blog-banner::after {
    content: '' !important;
    position: absolute !important;
    width: 600px !important;
    height: 600px !important;
    background: radial-gradient(circle, rgba(83, 98, 123, 0.35) 0%, rgba(83, 98, 123, 0) 70%) !important;
    bottom: -200px !important;
    right: -150px !important;
    pointer-events: none !important;
    z-index: 1 !important;
    animation: floatGlow2 28s ease-in-out infinite alternate !important;
    filter: blur(60px) !important;
}

#home-blog-banner .banner-content {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 2 !important;
}

#home-blog-banner .banner-title {
    font-family: 'Outfit', 'Inter', sans-serif !important;
    font-size: 3.2rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    color: #ffffff !important;
    margin: 0 0 12px 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
    text-transform: none !important;
}

#home-blog-banner .banner-subtitle {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.3rem !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    margin: 0 0 40px 0 !important;
    letter-spacing: 0.2px !important;
}

/* GENERIC MAIN BLOG LINK */
#home-blog-banner .main-blog-link-wrapper {
    margin-bottom: 55px !important;
}

#home-blog-banner .main-blog-btn {
    background: #ffffff !important;
    color: #111e38 !important;
    padding: 16px 38px !important;
    border-radius: 50px !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 173, 230, 0.4) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 2px solid #ffffff !important;
}

#home-blog-banner .main-blog-btn:hover {
    background: transparent !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    transform: translateY(-5px) scale(1.03) !important;
    box-shadow: 0 15px 40px rgba(0, 173, 230, 0.6) !important;
}

#home-blog-banner .main-blog-btn .arrow-icon {
    transition: transform 0.3s ease !important;
    vertical-align: middle !important;
}

#home-blog-banner .main-blog-btn:hover .arrow-icon {
    transform: translateX(6px) !important;
}

/* MACRO-AREAS SECTOR */
#home-blog-banner .macro-areas-section {
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
}

#home-blog-banner .macro-areas-title {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    margin-bottom: 30px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    /* Significantly improved header visibility */
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
}

#home-blog-banner .macro-areas-title::before,
#home-blog-banner .macro-areas-title::after {
    content: '' !important;
    flex: 1 !important;
    height: 1px !important;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
    /* Brighter lines */
}

#home-blog-banner .macro-areas-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    justify-content: center !important;
}

#home-blog-banner .macro-area-card {
    background: rgba(255, 255, 255, 0.14) !important;
    /* Elevated frosted glass opacity for superior visibility */
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    /* Clearly defined borders for strong contrast */
    border-radius: 16px !important;
    padding: 20px 24px !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    text-decoration: none !important;
    color: #ffffff !important;
    /* Solid white text for perfect legibility */
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    backdrop-filter: blur(16px) !important;
    /* Enhanced backdrop blur */
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    /* High depth shadow */
    text-align: left !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) !important;
    /* Extra text definition */
}

#home-blog-banner .macro-area-card .btn-icon {
    color: #ffffff !important;
    /* Pure white icon */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15)) !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
}

#home-blog-banner .macro-area-card:hover {
    background: rgba(255, 255, 255, 0.24) !important;
    /* Frosted glass hover highlight */
    border-color: rgba(255, 255, 255, 0.5) !important;
    /* Prominent glowing border */
    color: #ffffff !important;
    transform: translateY(-5px) scale(1.03) !important;
    /* More active lifting/scale effect */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), 0 0 20px rgba(255, 255, 255, 0.15) !important;
}

#home-blog-banner .macro-area-card:hover .btn-icon {
    transform: scale(1.18) !important;
    color: #ffffff !important;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6)) !important;
}

@keyframes floatGlow1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(120px, 80px) scale(1.2);
    }

    100% {
        transform: translate(-50px, 150px) scale(0.9);
    }
}

@keyframes floatGlow2 {
    0% {
        transform: translate(0, 0) scale(1.1);
    }

    50% {
        transform: translate(-150px, -90px) scale(0.85);
    }

    100% {
        transform: translate(80px, -40px) scale(1.15);
    }
}

/* SUBTLE FLOATING PARTICLES */
#home-blog-banner .banner-bg-particles {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

#home-blog-banner .banner-bg-particles span {
    position: absolute !important;
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-radius: 50% !important;
    bottom: -20px !important;
    animation: floatUp 15s infinite linear !important;
}

#home-blog-banner .banner-bg-particles span:nth-child(1) {
    left: 10% !important;
    width: 14px !important;
    height: 14px !important;
    animation-delay: 0s !important;
    animation-duration: 20s !important;
}

#home-blog-banner .banner-bg-particles span:nth-child(2) {
    left: 30% !important;
    width: 8px !important;
    height: 8px !important;
    animation-delay: 3s !important;
    animation-duration: 16s !important;
    background: rgba(0, 173, 230, 0.22) !important;
}

#home-blog-banner .banner-bg-particles span:nth-child(3) {
    left: 50% !important;
    width: 12px !important;
    height: 12px !important;
    animation-delay: 6s !important;
    animation-duration: 24s !important;
}

#home-blog-banner .banner-bg-particles span:nth-child(4) {
    left: 70% !important;
    width: 6px !important;
    height: 6px !important;
    animation-delay: 1.5s !important;
    animation-duration: 12s !important;
    background: rgba(0, 173, 230, 0.35) !important;
    /* Slightly more vibrant blue particle */
}

#home-blog-banner .banner-bg-particles span:nth-child(5) {
    left: 90% !important;
    width: 18px !important;
    height: 18px !important;
    animation-delay: 9s !important;
    animation-duration: 28s !important;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg) scale(0.8);
        opacity: 0;
    }

    10% {
        opacity: 0.85;
        /* Better visibility earlier */
    }

    90% {
        opacity: 0.85;
        /* Better visibility later */
    }

    100% {
        transform: translateY(-800px) rotate(180deg) scale(0.5);
        /* Floats past the top of the taller banner perfectly */
        opacity: 0;
    }
}

@media (max-width: 992px) {
    #home-blog-banner .macro-areas-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    #home-blog-banner {
        padding: 60px 15px !important;
    }

    #home-blog-banner .banner-title {
        font-size: 2.3rem !important;
    }

    #home-blog-banner .banner-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 30px !important;
    }

    #home-blog-banner .main-blog-link-wrapper {
        margin-bottom: 40px !important;
    }

    #home-blog-banner .main-blog-btn {
        padding: 14px 30px !important;
        font-size: 1.05rem !important;
    }

    #home-blog-banner .macro-areas-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }

    #home-blog-banner .macro-area-card {
        padding: 16px 20px !important;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 600px) {
    #home-blog-banner .macro-areas-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   HOMEPAGE HEADINGS COLOR OPTIMIZATION (#53627B)
   ========================================================================== */
.home h1,
.home h2,
.home h3,
.home h4,
.home h5,
.home h1 a,
.home h2 a,
.home h3 a,
.home h4 a,
.home h5 a {
    color: #53627b !important;
    /* General headings target H1 through H5 only */
}

/* Specific override to keep H6 Elementor headings (like 'Mondo Mac') white */

/* Specific override for H3 headings overlaying photos (like 'Consegna garantita') - Premium Apple-style diffuse shadow */

/* Ensure headings in our custom blog banner remain white for readability */
#home-blog-banner h1,
#home-blog-banner h2,
#home-blog-banner h3,
#home-blog-banner h4,
#home-blog-banner h5,
#home-blog-banner h6,
#home-blog-banner h1 a,
#home-blog-banner h2 a,
#home-blog-banner h3 a,
#home-blog-banner h4 a,
#home-blog-banner h5 a,
#home-blog-banner h6 a {
    color: #ffffff !important;
}

/* [MODULAR CSS] Section ACCOUNT moved to /css/ conditional bundle */

/* ==========================================================================
   17. HERO TRUST BAR & VALUE PROPOSITION (ABOVE THE FOLD)
       DESIGN ELEGANTE, MINIMALE E AD ALTA CONVERSIONE IN STILE APPLE
       COLORI UFFICIALI MARCHIO MACFAAAST:
       - Azzurro Faaast: #00ade6
       - Grigio Ardesia Scuro MAC: #3d4b64
       - Grigio Ardesia Testi: #53627b
       - Oro Google: #fbbc05
   ========================================================================== */

/* Hero Slider CTA Button styles live in .mf-hero-btn (Slider Revolution rules removed) */

/* Centratura Assoluta del Container Trust Bar rispetto alla Pagina */

/* Contenitore Principale Trust Bar */
.macfaaast-trust-bar-container {
    width: 100% !important;
    max-width: 1340px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 15px !important;
    position: relative !important;
    z-index: 10 !important;
    box-sizing: border-box !important;
}

.macfaaast-trust-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    align-items: stretch !important;
    background: #ffffff !important;
    border: 1px solid rgba(83, 98, 123, 0.12) !important;
    border-radius: 20px !important;
    box-shadow: 0 14px 38px -10px rgba(61, 75, 100, 0.08), 0 2px 6px rgba(61, 75, 100, 0.03) !important;
    overflow: hidden !important;
    transition: box-shadow 0.3s ease !important;
}

.macfaaast-trust-grid:hover {
    box-shadow: 0 20px 48px -10px rgba(61, 75, 100, 0.12), 0 4px 10px rgba(61, 75, 100, 0.04) !important;
}

/* Singola Card di Fiducia */
.macfaaast-trust-grid .trust-card {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 18px 20px !important;
    text-decoration: none !important;
    color: inherit !important;
    position: relative !important;
    background: transparent !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Separatore verticale raffinato tra le colonne */
.macfaaast-trust-grid .trust-card:not(:last-child)::after {
    content: '' !important;
    position: absolute !important;
    right: 0 !important;
    top: 20% !important;
    height: 60% !important;
    width: 1px !important;
    background: rgba(83, 98, 123, 0.12) !important;
}

/* Hover su ciascuna Card */
.macfaaast-trust-grid .trust-card:hover {
    background: rgba(0, 173, 230, 0.03) !important;
}

/* Icon Wrap Box */
.trust-icon-wrap {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.trust-icon-wrap.google-icon-wrap {
    background: #ffffff !important;
    border: 1px solid rgba(83, 98, 123, 0.12) !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04) !important;
}

.trust-icon-wrap.brand-icon-wrap,
.trust-icon-wrap.brand-icon-wrap svg {
    background: rgba(0, 173, 230, 0.09) !important;
    color: #00ade6 !important;
    /* Azzurro Faaast */
}

.trust-icon-wrap.brand-icon-wrap svg {
    background: transparent !important;
    stroke: #00ade6 !important;
}

.macfaaast-trust-grid .trust-card:hover .brand-icon-wrap,
.macfaaast-trust-grid .trust-card:focus-within .brand-icon-wrap {
    background: #00ade6 !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
    box-shadow: 0 6px 16px rgba(0, 173, 230, 0.35) !important;
}

.macfaaast-trust-grid .trust-card:hover .brand-icon-wrap svg,
.macfaaast-trust-grid .trust-card:hover .brand-icon-wrap svg *,
.macfaaast-trust-grid .trust-card:focus-within .brand-icon-wrap svg,
.macfaaast-trust-grid .trust-card:focus-within .brand-icon-wrap svg * {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.macfaaast-trust-grid .trust-card:hover .google-icon-wrap {
    transform: scale(1.08) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
}

/* Contenuto Testuale */
.trust-text-wrap {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
    flex: 1 !important;
}

/* Titolo Primario */
.trust-title {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #3d4b64 !important;
    /* Ardesia scuro MAC */
    letter-spacing: -0.015em !important;
    line-height: 1.25 !important;
}

/* Riga Rating Google */
.trust-title-row {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    flex-wrap: wrap !important;
}

.trust-rating-val {
    font-size: 15.5px !important;
    font-weight: 800 !important;
    color: #3d4b64 !important;
    letter-spacing: -0.02em !important;
}

.trust-stars-row {
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
}

.trust-stars-row .star-icon {
    color: #fbbc05 !important;
    /* Oro Google ufficiale */
    font-size: 13px !important;
    line-height: 1 !important;
}

/* Sottotitolo Descrittivo */
.trust-sub,
.trust-sub-row {
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: #53627b !important;
    /* Grigio ardesia MAC */
    margin-top: 3px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
}

/* Responsive: Tablet e Mobile */
@media (max-width: 1024px) {
    .macfaaast-trust-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .macfaaast-trust-grid .trust-card:nth-child(2)::after {
        display: none !important;
    }

    .macfaaast-trust-grid .trust-card:nth-child(1),
    .macfaaast-trust-grid .trust-card:nth-child(2) {
        border-bottom: 1px solid rgba(83, 98, 123, 0.1) !important;
    }
}

@media (max-width: 767px) {
    .macfaaast-trust-grid {
        grid-template-columns: 1fr !important;
        border-radius: 16px !important;
    }

    .macfaaast-trust-grid .trust-card::after {
        display: none !important;
    }

    .macfaaast-trust-grid .trust-card:not(:last-child) {
        border-bottom: 1px solid rgba(83, 98, 123, 0.08) !important;
    }

    .macfaaast-trust-grid .trust-card {
        padding: 15px 16px !important;
        gap: 12px !important;
    }
}

/* ==========================================================================
   18. SELETTORE CATEGORIE COMPLETO & MODERNO (MONDO MAC, SMART, WINDOWS)
       SEGMENTED CONTROL IN STILE APPLE, CARD RESPONSIVE & CONTEGGIO DINAMICO
       COLORI MARCHIO MACFAAAST:
       - Azzurro Faaast: #00ade6
       - Grigio Ardesia Scuro: #3d4b64
       - Grigio Ardesia Testi: #53627b
       - Verde Stock: #34c759 / #248a3d
   ========================================================================== */

.mf-cat-section {
    width: 100% !important;
    padding: 0 !important;
    font-family: inherit !important;
}

.mf-cat-inner {
    width: 100% !important;
    max-width: 1340px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* Header della sezione */
.mf-cat-header {
    text-align: center !important;
    margin-bottom: 28px !important;
}

.mf-cat-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #53627B !important;
    letter-spacing: -0.02em !important;
    text-transform: uppercase !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.25 !important;
}

.mf-cat-divider {
    width: 48px !important;
    height: 3px !important;
    background: #00ade6 !important;
    border-radius: 99px !important;
    margin: 0 auto 14px auto !important;
}

.mf-cat-subtitle {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #53627b !important;
    max-width: 680px !important;
    margin: 0 auto !important;
    line-height: 1.45 !important;
}

/* Segmented Control / Tab Switcher Stile Apple */
.mf-cat-nav-wrapper {
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 32px !important;
}

.mf-cat-nav {
    display: inline-flex !important;
    align-items: center !important;
    background: #f1f4f8 !important;
    padding: 6px !important;
    border-radius: 99px !important;
    gap: 6px !important;
    border: 1px solid rgba(83, 98, 123, 0.12) !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    max-width: 100% !important;
}

/* Responsive Desktop vs Mobile Tab Labels */
.mf-title-mobile {
    display: none !important;
}

.mf-title-desktop {
    display: inline !important;
}

.mf-cat-tab-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    padding: 10px 22px !important;
    border-radius: 99px !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #53627b !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
    user-select: none !important;
    outline: none !important;
}

.mf-cat-tab-btn .mf-tab-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: currentColor !important;
    transition: transform 0.2s ease !important;
}

.mf-cat-tab-btn .mf-tab-badge {
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 99px !important;
    background: rgba(83, 98, 123, 0.12) !important;
    color: #53627b !important;
    transition: all 0.22s ease !important;
}

.mf-cat-tab-btn:hover {
    color: #00ade6 !important;
    background: rgba(255, 255, 255, 0.6) !important;
}

.mf-cat-tab-btn:hover .mf-tab-icon {
    transform: scale(1.1) !important;
}

.mf-cat-tab-btn.active {
    background: #ffffff !important;
    color: #00ade6 !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

.mf-cat-tab-btn.active .mf-tab-badge {
    background: #00ade6 !important;
    color: #ffffff !important;
}

/* Tab Panes */
.mf-cat-panes {
    width: 100% !important;
    position: relative !important;
}

.mf-cat-pane {
    display: none !important;
    opacity: 0 !important;
    transition: opacity 0.25s ease !important;
}

.mf-cat-pane.active {
    display: block !important;
    opacity: 1 !important;
    animation: mfCatFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes mfCatFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

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

/* Griglia Cards */
.mf-cat-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 22px !important;
    width: 100% !important;
}

/* Card Prodotto Stile Apple: Immagini Grandi su Vetrina Pedistallo & Zero Spazio Bianco Inutile */
.mf-cat-card {
    background: #ffffff !important;
    border: 1px solid rgba(83, 98, 123, 0.14) !important;
    border-radius: 20px !important;
    padding: 16px 18px 16px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    position: relative !important;
    box-shadow: 0 3px 12px rgba(61, 75, 100, 0.04) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
    box-sizing: border-box !important;
}

.mf-cat-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 30px rgba(61, 75, 100, 0.09) !important;
    border-color: #00ade6 !important;
}

/* Top bar della card: Icona e Badge */
.mf-card-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 10px !important;
}

.mf-card-icon-wrap {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: rgba(0, 173, 230, 0.08) !important;
    color: #00ade6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s ease !important;
}

.mf-cat-card:hover .mf-card-icon-wrap {
    background: #00ade6 !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
    box-shadow: 0 4px 12px rgba(0, 173, 230, 0.35) !important;
}

.mf-cat-card:hover .mf-card-icon-wrap svg,
.mf-cat-card:hover .mf-card-icon-wrap svg * {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.mf-card-badge {
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 9px !important;
    border-radius: 99px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    letter-spacing: -0.01em !important;
}

.mf-badge-in-stock {
    background: #edfbf2 !important;
    color: #1e7e34 !important;
}

.mf-badge-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #28a745 !important;
}

.mf-badge-on-demand {
    background: #f1f5f9 !important;
    color: #64748b !important;
}

/* Vetrina Pedistallo con Immagine Grande & Profondità Visiva (Zero Bianco Vuoto) */
.mf-card-img-wrap {
    height: 195px !important;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
    border: 1px solid rgba(83, 98, 123, 0.08) !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 16px !important;
    margin-bottom: 12px !important;
    overflow: hidden !important;
}

.mf-card-img {
    max-height: 165px !important;
    max-width: 92% !important;
    width: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 8px 16px rgba(61, 75, 100, 0.09)) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mf-cat-card:hover .mf-card-img {
    transform: scale(1.05) !important;
}

/* Corpo Testuale Integrato */
.mf-card-body {
    flex: 1 !important;
    margin-bottom: 12px !important;
}

.mf-card-title {
    font-size: 19px !important;
    font-weight: 700 !important;
    color: #3d4b64 !important;
    margin: 0 0 3px 0 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.25 !important;
    transition: color 0.2s ease !important;
}

.mf-cat-card:hover .mf-card-title {
    color: #00ade6 !important;
}

.mf-card-tagline {
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: #53627b !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    min-height: 35px !important;
}

/* Footer & Bottone Pill Full-Width (Completa la Card e Rimuove il Vuoto) */
.mf-card-footer {
    display: flex !important;
    align-items: center !important;
    margin-top: auto !important;
    width: 100% !important;
}

.mf-card-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    background: #f1f8fc !important;
    color: #006b99 !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    padding: 9px 14px !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.mf-cta-arrow {
    transition: transform 0.2s ease !important;
}

.mf-cat-card:hover .mf-card-cta {
    background: #00ade6 !important;
    color: #ffffff !important;
    padding-right: 16px !important;
    box-shadow: 0 4px 14px rgba(0, 173, 230, 0.35) !important;
}

.mf-cat-card:hover .mf-cta-arrow {
    transform: translateX(4px) !important;
}

/* Responsive Tablet */
@media (max-width: 1024px) {
    .mf-cat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px !important;
    }

    .mf-cat-title {
        font-size: 22px !important;
    }
}

/* Responsive Mobile */
@media (max-width: 767px) {
    .mf-title-desktop {
        display: none !important;
    }

    .mf-title-mobile {
        display: inline !important;
    }

    .mf-cat-nav-wrapper {
        overflow-x: visible !important;
        justify-content: center !important;
        padding: 0 10px 18px 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .mf-cat-nav {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 4px !important;
        gap: 4px !important;
        border-radius: 99px !important;
        background: #f1f4f8 !important;
        border: 1px solid rgba(83, 98, 123, 0.12) !important;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04) !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
    }

    .mf-cat-tab-btn {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 9px 4px !important;
        gap: 6px !important;
        border-radius: 99px !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        letter-spacing: -0.01em !important;
        white-space: nowrap !important;
        -webkit-tap-highlight-color: transparent !important;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .mf-cat-tab-btn .mf-tab-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .mf-cat-tab-btn .mf-tab-icon svg {
        width: 15px !important;
        height: 15px !important;
    }

    .mf-cat-tab-btn .mf-tab-badge {
        font-size: 10.5px !important;
        font-weight: 700 !important;
        padding: 1px 6px !important;
        border-radius: 99px !important;
        flex-shrink: 0 !important;
        min-width: 17px !important;
        height: 17px !important;
        line-height: 15px !important;
    }

    .mf-cat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .mf-cat-card {
        padding: 12px 10px 10px !important;
        border-radius: 16px !important;
    }

    .mf-card-top {
        margin-bottom: 6px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .mf-card-icon-wrap {
        width: 26px !important;
        height: 26px !important;
        border-radius: 6px !important;
    }

    .mf-card-icon-wrap svg {
        width: 14px !important;
        height: 14px !important;
    }

    .mf-card-badge {
        font-size: 9px !important;
        padding: 2px 6px !important;
        border-radius: 6px !important;
    }

    .mf-card-img-wrap {
        height: 125px !important;
        margin-bottom: 8px !important;
        padding: 4px 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .mf-card-img {
        max-height: 115px !important;
        width: 100% !important;
        object-fit: contain !important;
        display: block !important;
    }

    .mf-card-title {
        font-size: 14px !important;
        margin: 0 0 2px 0 !important;
        line-height: 1.25 !important;
    }

    .mf-card-tagline {
        display: none !important;
    }

    .mf-card-footer {
        margin-top: 6px !important;
    }

    .mf-card-cta {
        padding: 6px 10px !important;
        font-size: 11px !important;
        border-radius: 8px !important;
    }

    .mf-cat-title {
        font-size: 18px !important;
    }

    .mf-cat-subtitle {
        font-size: 12.5px !important;
    }
}

/* ==========================================================================
   19. GUIDA VISUALE AI GRADI ESTETICI (NUOVO, ECCELLENTE, OTTIMO, BUONO, ACCETTABILE, DISCRETO)
       VERSIONE 3.5: 100% RESPONSIVE E POSIZIONATA SUL PIANO STRATEGICO (PRIMA DELLE RECENSIONI)
       - DESKTOP: 6 COLONNE AFFIANCATE (REPEAT 6, 1FR)
       - TABLET: 3 COLONNE X 2 RIGHE (REPEAT 3, 1FR)
       - MOBILE: 2 COLONNE X 3 RIGHE (REPEAT 2, 1FR) - TUTTI I 6 GRADI VISIBILI SUBITO
   ========================================================================== */

.mf-grades-section {
    width: 100% !important;
    padding: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

.mf-grades-inner {
    width: 100% !important;
    max-width: 1340px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    padding: 0 15px !important;
}

/* Header Sezione */
.mf-grades-header {
    text-align: center !important;
    margin-bottom: 20px !important;
}

.mf-grades-eyebrow {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #00ade6 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    margin-bottom: 4px !important;
}

.mf-grades-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #3d4b64 !important;
    letter-spacing: -0.01em !important;
    text-transform: uppercase !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.25 !important;
}

.mf-grades-subtitle {
    font-size: 13.5px !important;
    color: #53627b !important;
    line-height: 1.45 !important;
    margin: 0 auto !important;
    max-width: 700px !important;
}

.mf-grades-subtitle strong {
    color: #3d4b64 !important;
    font-weight: 700 !important;
}

/* Griglia Desktop: 6 Colonne Affiancate */
.mf-grades-compact-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 16px !important;
    margin-bottom: 22px !important;
    width: 100% !important;
    overflow-x: visible !important;
}

.mf-cg-card {
    background: #ffffff !important;
    border: 1.5px solid rgba(83, 98, 123, 0.16) !important;
    border-radius: 18px !important;
    padding: 20px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    box-shadow: 0 4px 14px rgba(61, 75, 100, 0.05) !important;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease !important;
}

.mf-cg-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(61, 75, 100, 0.12) !important;
    border-color: #00ade6 !important;
}

.mf-cg-featured {
    border: 2px solid #00ade6 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f4fbfe 100%) !important;
    box-shadow: 0 6px 22px rgba(0, 173, 230, 0.16) !important;
}

.mf-cg-ribbon {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    background: linear-gradient(135deg, #007eb8 0%, #006b99 100%) !important;
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    padding: 4px 8px !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 6px rgba(0, 107, 153, 0.25) !important;
    white-space: nowrap !important;
}

.mf-cg-header {
    margin-bottom: 12px !important;
}

.mf-cg-name-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 4px 8px !important;
    margin-bottom: 5px !important;
}

.mf-cg-name {
    font-size: 18.5px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.mf-cg-tagline {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #0369a1 !important;
    display: block !important;
    line-height: 1.3 !important;
}

.mf-cg-gauge {
    display: flex !important;
    gap: 4px !important;
    align-items: center !important;
    margin-bottom: 14px !important;
}

.mf-cg-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #e2e8f0 !important;
    display: inline-block !important;
}

.mf-cg-dot.filled {
    background: #00ade6 !important;
}

.mf-cg-specs {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    margin-top: auto !important;
    border: 1px solid rgba(226, 232, 240, 0.7) !important;
}

.mf-cg-spec {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

.mf-cg-spec-label {
    color: #64748b !important;
    font-weight: 500 !important;
}

.mf-cg-spec-val {
    font-weight: 700 !important;
    color: #1e293b !important;
    text-align: right !important;
}

/* Barra Garanzia Slim */
.mf-grades-guarantee-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    background: #f8fafc !important;
    border: 1px solid rgba(83, 98, 123, 0.12) !important;
    border-radius: 12px !important;
    padding: 10px 18px !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

.mf-gg-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 12px !important;
    color: #3d4b64 !important;
}

.mf-gg-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.mf-gg-item strong {
    font-weight: 700 !important;
    color: #3d4b64 !important;
}

/* Responsive Tablet: 3 Colonne x 2 Righe */
@media (max-width: 1024px) {
    .mf-grades-compact-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
        overflow-x: visible !important;
    }

    .mf-cg-card {
        min-width: auto !important;
        max-width: none !important;
    }

    .mf-grades-title {
        font-size: 20px !important;
    }

    .mf-grades-guarantee-bar {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        padding: 12px 14px !important;
    }
}

/* Responsive Mobile: 2 Colonne x 3 Righe (100% Responsivo, Tutti i 6 Gradi Visibili Subito) */
@media (max-width: 767px) {
    .mf-grades-compact-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        overflow-x: visible !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .mf-cg-card {
        min-width: auto !important;
        max-width: none !important;
        padding: 12px 10px !important;
        border-radius: 12px !important;
    }

    .mf-cg-name {
        font-size: 14px !important;
    }

    .mf-cg-tagline {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    .mf-cg-gauge {
        margin-bottom: 8px !important;
        gap: 2.5px !important;
    }

    .mf-cg-dot {
        width: 5px !important;
        height: 5px !important;
    }

    .mf-cg-specs {
        padding: 6px 8px !important;
        gap: 3px !important;
        border-radius: 6px !important;
    }

    .mf-cg-spec {
        font-size: 10px !important;
    }

    .mf-grades-title {
        font-size: 18px !important;
    }

    .mf-grades-subtitle {
        font-size: 12.5px !important;
    }

    .mf-grades-guarantee-bar {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        padding: 10px 12px !important;
    }

    .mf-gg-item {
        font-size: 11px !important;
        gap: 6px !important;
    }
}

@media (max-width: 360px) {
    .mf-grades-compact-grid {
        grid-template-columns: 1fr !important;
    }

    .mf-grades-guarantee-bar {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   SECTION 20: GUIDA AI SETUP E SCENARI D'USO MACFAAAST (PUNTO 4)
   Sostituisce i 4 vecchi banner fotografici con 3 Card Lifestyle & Scenari
   ========================================================================== */

.mf-setup-guide-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.mf-setup-guide-inner {
    max-width: 1340px;
    width: 100%;
    margin: 0 auto;
}

/* Header Sezione */
.mf-sg-header {
    text-align: center;
    margin-bottom: 35px;
}

.mf-sg-eyebrow {
    font-size: 13px;
    font-weight: 700;
    color: #00ade6;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    display: inline-block;
    margin-bottom: 8px;
}

.mf-sg-title {
    font-size: 28px;
    font-weight: 700;
    color: #3d4b64;
    margin: 0 0 10px;
    line-height: 1.25;
}

.mf-sg-subtitle {
    font-size: 15px;
    color: #53627b;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Griglia delle 3 Card */
.mf-sg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 55px;
}

.mf-sg-card {
    background: #ffffff;
    border: 1px solid rgba(83, 98, 123, 0.15);
    border-radius: 20px;
    padding: 24px 20px 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 18px rgba(61, 75, 100, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mf-sg-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(61, 75, 100, 0.12);
    border-color: #00ade6;
}

/* Card Featured (Creativi & Pro) */
.mf-sg-card-featured {
    border: 2px solid #00ade6 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f6fcfe 100%);
    box-shadow: 0 8px 25px rgba(0, 173, 230, 0.12);
}

.mf-sg-ribbon-tag {
    position: absolute;
    top: -11px;
    right: 24px;
    background: linear-gradient(135deg, #00ade6 0%, #008bb8 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 173, 230, 0.35);
}

/* Card Top */
.mf-sg-card-top {
    margin-bottom: 14px;
}

.mf-sg-card-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.mf-sg-badge-cyan {
    background: #e6f7fc;
    color: #008bb8;
}

.mf-sg-badge-featured {
    background: #e6f7fc;
    color: #00ade6;
    font-weight: 800;
}

.mf-sg-badge-slate {
    background: #f0f4f8;
    color: #53627b;
}

.mf-sg-card-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.mf-sg-card-icon {
    font-size: 20px;
    line-height: 1;
}

.mf-sg-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #3d4b64;
    margin: 0;
    line-height: 1.2;
}

.mf-sg-card-desc {
    font-size: 13px;
    color: #53627b;
    margin: 0;
    line-height: 1.45;
    min-height: 38px;
}

/* Card Media */
.mf-sg-card-media {
    width: 100%;
    height: 235px;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 16px;
    background: #eef4fc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mf-sg-card-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.mf-sg-card-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.35s ease;
}

.mf-sg-card:hover .mf-sg-card-media img {
    transform: scale(1.04);
}

/* Specs */
.mf-sg-card-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: 12px;
}

.mf-sg-spec-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.mf-sg-spec-icon {
    font-size: 15px;
    line-height: 1.3;
    flex-shrink: 0;
}

.mf-sg-spec-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.mf-sg-spec-text strong {
    font-size: 12px;
    font-weight: 600;
    color: #3d4b64;
}

.mf-sg-spec-text small {
    font-size: 11px;
    color: #76869e;
}

/* Price Box */
.mf-sg-price-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px dashed rgba(83, 98, 123, 0.2);
    margin-top: auto;
    margin-bottom: 14px;
}

.mf-sg-price-info {
    display: flex;
    flex-direction: column;
}

.mf-sg-price-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #76869e;
}

.mf-sg-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.mf-sg-price-val {
    font-size: 21px;
    font-weight: 800;
    color: #3d4b64;
}

.mf-sg-price-old {
    font-size: 11px;
    color: #a0aec0;
    text-decoration: line-through;
}

.mf-sg-savings-chip {
    background: #e6f9f0;
    color: #0e8a4d;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

/* Actions */
.mf-sg-card-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mf-sg-btn-primary {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 14px;
    border-radius: 25px;
    background: #00ade6;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}

.mf-sg-btn-primary:hover {
    background: #0096c7;
    transform: translateY(-1px);
}

.mf-sg-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 14px;
    border-radius: 25px;
    background: #f0f4f8;
    color: #3d4b64 !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.mf-sg-btn-secondary:hover {
    background: #e2e8f0;
    color: #00ade6 !important;
}

/* Concierge WhatsApp Bar */
.mf-sg-concierge-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #f8fafc 0%, #eef5fa 100%);
    border: 1px solid rgba(83, 98, 123, 0.12);
    border-radius: 16px;
    padding: 16px 24px;
    gap: 16px;
}

.mf-sg-cb-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mf-sg-cb-icon {
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
}

.mf-sg-cb-text {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.mf-sg-cb-text strong {
    color: #3d4b64;
    font-size: 14px;
    margin-bottom: 2px;
}

.mf-sg-cb-text span {
    color: #53627b;
}

.mf-sg-cb-right {
    flex-shrink: 0;
}

.mf-sg-cb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #047857;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 3px 10px rgba(4, 120, 87, 0.24);
}

.mf-sg-cb-btn:hover {
    background: #065f46;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(4, 120, 87, 0.34);
}

/* Enforce uniform section spacings (55px desktop, 35px mobile) */

/* Tablet Responsive */
@media (max-width: 1024px) {
    .mf-sg-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px !important;
    }

    .mf-sg-card-desc {
        min-height: auto;
    }

    .mf-sg-title {
        font-size: 24px !important;
    }
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .mf-sg-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .mf-sg-card {
        padding: 18px 16px 16px !important;
        border-radius: 18px !important;
    }

    .mf-sg-card-media {
        height: 220px !important;
        margin: -18px -16px 16px -16px !important;
        border-radius: 18px 18px 0 0 !important;
        overflow: hidden !important;
    }

    .mf-sg-card-media img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .mf-sg-title {
        font-size: 20px !important;
    }

    .mf-sg-subtitle {
        font-size: 13px !important;
    }

    .mf-sg-card-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }

    .mf-sg-btn-primary,
    .mf-sg-btn-secondary {
        width: 100% !important;
        flex: none !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
        justify-content: center !important;
        padding: 12px 16px !important;
        font-size: 13.5px !important;
    }

    .mf-sg-concierge-bar {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 12px !important;
        padding: 16px !important;
    }

    .mf-sg-cb-btn {
        width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    
}

/* ==========================================================================
   SECTION 22: PUNTO 5 - BANNER PERMUTA & TRADE-IN USATO APPLE
   ========================================================================== */

.mf-tradein-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.mf-tradein-inner {
    max-width: 1340px;
    width: 100%;
    margin: 0 auto;
}

.mf-tradein-card {
    background: linear-gradient(135deg, #f8fafc 0%, #edf7fc 100%);
    border: 1px solid rgba(0, 173, 230, 0.25);
    border-radius: 24px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 36px;
    align-items: center;
    box-shadow: 0 8px 30px rgba(61, 75, 100, 0.06);
    position: relative;
    overflow: hidden;
}

.mf-tradein-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e6f7fc;
    color: #008bb8;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.mf-tradein-title {
    font-size: 26px;
    font-weight: 700;
    color: #3d4b64;
    margin: 0 0 12px;
    line-height: 1.25;
}

.mf-tradein-desc {
    font-size: 14px;
    color: #53627b;
    margin: 0 0 24px;
    line-height: 1.55;
}

.mf-tradein-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 26px;
}

.mf-ti-step {
    background: #ffffff;
    border: 1px solid rgba(83, 98, 123, 0.12);
    border-radius: 14px;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mf-ti-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #00ade6;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mf-ti-step-text strong {
    font-size: 12px;
    font-weight: 700;
    color: #3d4b64;
    display: block;
    margin-bottom: 2px;
}

.mf-ti-step-text span {
    font-size: 11px;
    color: #76869e;
    line-height: 1.35;
    display: block;
}

.mf-tradein-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.mf-ti-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #047857;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(4, 120, 87, 0.26);
}

.mf-ti-btn-primary:hover {
    background: #065f46;
    transform: translateY(-1px);
}

.mf-ti-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 25px;
    background: #ffffff;
    color: #3d4b64 !important;
    border: 1px solid rgba(83, 98, 123, 0.2);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.mf-ti-btn-secondary:hover {
    background: #f0f4f8;
    color: #00ade6 !important;
}

/* Right Visual */
.mf-ti-visual-box {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(83, 98, 123, 0.12);
    padding: 20px;
    box-shadow: 0 6px 20px rgba(61, 75, 100, 0.05);
}

.mf-ti-vb-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #00ade6;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.mf-ti-vb-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 14px;
}

.mf-ti-vb-perks {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mf-ti-perk {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #3d4b64;
}

.mf-ti-perk-check {
    color: #0e8a4d;
    font-weight: 800;
}

/* Tablet & Mobile Trade-In */
@media (max-width: 1024px) {
    .mf-tradein-card {
        grid-template-columns: 1fr !important;
        padding: 30px !important;
        gap: 24px !important;
    }
}

@media (max-width: 767px) {
    .mf-tradein-card {
        padding: 22px 16px !important;
        gap: 16px !important;
    }

    .mf-tradein-visual {
        order: -1 !important;
        margin-bottom: 8px !important;
    }

    .mf-ti-img {
        width: 100% !important;
        max-width: 320px !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
    }

    .mf-tradein-title {
        font-size: 20px !important;
    }

    .mf-tradein-steps {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .mf-ti-step {
        padding: 10px 12px !important;
    }

    .mf-ti-btn-primary,
    .mf-ti-btn-secondary {
        width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================================
   SECTION 23: FOOTER REFINEMENT & UNIFORM SPACING
   ========================================================================== */

/* Nascondi rigorosamente il testo screen-only di Elementor per i social */

/* Base icone vettore nel footer scuro: argento brillante e visibilità perfetta */

/* Link e testi nel footer: leggibilità nitida su sfondo scuro */

/* Titoli Colonne Footer: Bianco puro brillante */
#colophon h6,
#colophon h3,
#colophon h4 {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
}

/* Colonna Info e Contatti: Testo pulito e sobrio */

/* ==========================================================================
   SPAZIATURE UNIFORMI TRA TUTTE LE SEZIONI DELLA HOMEPAGE
   RIGOROSAMENTE 55PX SU DESKTOP / 35PX SU MOBILE TRA OGNI SINGOLA SEZIONE
   NUOVO ORDINE: SLIDER -> TRUST -> CATEGORIE -> SETUP -> SPEDIZIONI -> BESTSELLERS -> TRADEIN -> GRADI -> RECENSIONI
   ========================================================================== */

/* 1. Slider -> Trust Bar */

/* 2. Trust Bar -> Selettore Categorie */

/* 3. Selettore Categorie -> Guida Setup Ideali */

/* 4. Guida Setup Ideali -> Banner Spedizioni */

/* 5. Banner Spedizioni -> I più venduti */

/* 6. I più venduti -> Banner Permuta Trade-In */

/* 7. Banner Permuta Trade-In -> Guida Gradi Estetici */

/* 8. Guida Gradi Estetici -> Titolo Recensioni */

/* 9. Titolo Recensioni -> Widget Trustindex */

/* 10. Widget Trustindex -> Footer */

/* Uniformità Mobile (35px costante) */

/* ==========================================================================
   22. VETRINA SHOWROOM "I PIÙ VENDUTI" APPLE-STYLE (.mf-bestsellers-section)
   ========================================================================== */
.mf-bestsellers-section {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    padding: 0 20px;
}

.mf-bs-inner {
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Header di Sezione */
.mf-bs-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.mf-bs-header-info {
    flex: 1;
}

.mf-bs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(0, 173, 230, 0.08);
    border: 1px solid rgba(0, 173, 230, 0.2);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #00ade6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.mf-bs-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00ade6;
    box-shadow: 0 0 0 0 rgba(0, 173, 230, 0.7);
    animation: mfBsPulse 2s infinite;
}

@keyframes mfBsPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 173, 230, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(0, 173, 230, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 173, 230, 0);
    }
}

.mf-bs-title {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #1c2838 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 4px 0 !important;
}

.mf-bs-subtitle {
    font-size: 13px !important;
    color: #53627b !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* Azioni e Controlli */
.mf-bs-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.mf-bs-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mf-bs-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #3d4b64 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03) !important;
    padding: 0 !important;
    outline: none !important;
}

.mf-bs-arrow:hover {
    border-color: #00ade6 !important;
    color: #00ade6 !important;
    background: #f0f9ff !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(0, 173, 230, 0.16) !important;
}

.mf-bs-arrow svg {
    display: block;
}

.mf-bs-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #3d4b64 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    line-height: 1.2 !important;
}

.mf-bs-view-all:hover {
    border-color: #00ade6 !important;
    color: #00ade6 !important;
    background: #f0f9ff !important;
}

/* Binario dello Slider (Track) */
.mf-bs-track-wrapper {
    position: relative;
    overflow: hidden;
    padding: 12px 4px 18px 4px !important;
    margin-top: -10px !important;
    margin-bottom: -10px !important;
}

.mf-bs-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px 4px 14px 4px !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mf-bs-track::-webkit-scrollbar {
    display: none;
}

/* Scheda Prodotto (Card Showroom) */
.mf-bs-card {
    flex: 0 0 calc((100% - (3 * 18px)) / 4) !important;
    max-width: calc((100% - (3 * 18px)) / 4) !important;
    min-width: 260px !important;
    scroll-snap-align: start;
    background: #ffffff !important;
    border: 1px solid #e9edf3 !important;
    border-radius: 20px !important;
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: relative;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 3px 12px rgba(61, 75, 100, 0.04) !important;
    text-decoration: none !important;
    color: inherit !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
}

.mf-bs-card:hover {
    border: 1px solid #00ade6 !important;
    border-top: 1px solid #00ade6 !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 30px rgba(0, 173, 230, 0.12), 0 4px 10px rgba(61, 75, 100, 0.05) !important;
}

/* Badge Flottanti in Alto su Bianco */
.mf-bs-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 2px 6px 2px;
    z-index: 2;
    pointer-events: none;
}

.mf-bs-badge-sale {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 3px 8px !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25) !important;
    letter-spacing: -0.01em !important;
}

.mf-bs-badge-grade {
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
}

.mf-bs-badge-grade.grade-eccellente {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    color: #0369a1 !important;
}

.mf-bs-badge-grade.grade-ottimo {
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    color: #15803d !important;
}

.mf-bs-badge-grade.grade-buono {
    background: #fffbeb !important;
    border: 1px solid #fef3c7 !important;
    color: #b45309 !important;
}

.mf-bs-badge-grade.grade-accettabile,
.mf-bs-badge-grade.grade-discreto {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
}

/* PURE WHITE STAGE (Completamente Bianco Senza Grigi) */
.mf-bs-stage {
    height: 165px;
    width: 100%;
    background: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 6px;
    box-sizing: border-box;
}

/* Floor Glow delicato sotto la foto per dare naturalezza all'appoggio */
.mf-bs-stage::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 15%;
    right: 15%;
    height: 8px;
    background: radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.07) 0%, rgba(255, 255, 255, 0) 75%);
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mf-bs-card:hover .mf-bs-stage::after {
    transform: scaleX(0.85);
    opacity: 0.6;
}

.mf-bs-img {
    max-height: 135px !important;
    max-width: 90% !important;
    width: auto !important;
    object-fit: contain !important;
    background: transparent !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: block;
    z-index: 1;
}

.mf-bs-card:hover .mf-bs-img {
    transform: scale(1.06) translateY(-2px) !important;
}

/* BOX SFUMATO SOTTO (Soft Shaded Info Box for Specs, Price & CTA) */
.mf-bs-bottom-box {
    background: #f8fafc !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 14px !important;
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    margin-top: 6px !important;
    transition: background 0.2s ease, border-color 0.2s ease !important;
    box-sizing: border-box !important;
}

.mf-bs-card:hover .mf-bs-bottom-box {
    background: #f1f8fc !important;
    border-color: #e0f2fe !important;
}

.mf-bs-card-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #1c2838 !important;
    line-height: 1.25 !important;
    margin: 0 0 6px 0 !important;
    transition: color 0.2s ease !important;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mf-bs-card:hover .mf-bs-card-title {
    color: #00ade6 !important;
}

/* Chip Specifiche Tecniche */
.mf-bs-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}

.mf-bs-chip {
    background: #ffffff !important;
    color: #475569 !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    padding: 2.5px 7px !important;
    border-radius: 6px !important;
    border: 1px solid #e2e8f0 !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
}

.mf-bs-chip.mf-chip-year {
    background: #f0f9ff !important;
    color: #0369a1 !important;
    border-color: #bae6fd !important;
    font-weight: 700 !important;
}

/* Prezzo & Risparmio */
.mf-bs-price-block {
    border-top: 1px solid rgba(226, 232, 240, 0.7) !important;
    padding-top: 8px !important;
    margin-top: 2px !important;
}

.mf-bs-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.mf-bs-price-current {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.02em !important;
    line-height: 1 !important;
}

.mf-bs-price-current .woocommerce-Price-amount {
    color: #0f172a !important;
    font-weight: 800 !important;
}

.mf-bs-price-old {
    font-size: 12px !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
}

.mf-bs-price-old .woocommerce-Price-amount {
    color: #94a3b8 !important;
    text-decoration: line-through !important;
}

.mf-bs-saving {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #059669;
    margin-top: 3px;
}

.mf-bs-saving svg {
    display: block;
    color: #059669;
}

/* Pulsante CTA Card */
.mf-bs-btn {
    width: 100%;
    margin-top: 10px;
    padding: 8px 12px !important;
    border-radius: 10px !important;
    background: #53627B !important;
    color: #ffffff !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
}

.mf-bs-card:hover .mf-bs-btn {
    background: #00ade6 !important;
    box-shadow: 0 4px 12px rgba(0, 173, 230, 0.28) !important;
}

.mf-bs-btn svg {
    display: block;
    transition: transform 0.2s ease;
}

.mf-bs-card:hover .mf-bs-btn svg {
    transform: translateX(3px);
}

/* Trust Bar a piè di sezione */
.mf-bs-trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e9edf3;
    font-size: 12px;
    font-weight: 600;
    color: #53627b;
}

.mf-bs-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mf-bs-trust-item span {
    color: #00ade6;
    font-weight: 800;
}

/* Media Queries Tablet */
@media (max-width: 1199px) {
    .mf-bs-card {
        flex: 0 0 calc((100% - (2 * 16px)) / 3) !important;
        max-width: calc((100% - (2 * 16px)) / 3) !important;
    }
}

@media (max-width: 860px) {
    .mf-bs-card {
        flex: 0 0 calc((100% - 14px) / 2) !important;
        max-width: calc((100% - 14px) / 2) !important;
    }

    .mf-bs-trust-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* Media Query Mobile Perfetta (<=640px) */
@media (max-width: 640px) {
    .mf-bs-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 14px;
    }

    .mf-bs-title {
        font-size: 20px !important;
        line-height: 1.25 !important;
        margin-bottom: 2px !important;
    }

    .mf-bs-subtitle {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .mf-bs-actions {
        width: 100%;
        justify-content: space-between;
        margin-top: 2px;
    }

    .mf-bs-arrow {
        width: 34px !important;
        height: 34px !important;
    }

    .mf-bs-view-all {
        padding: 7px 13px !important;
        font-size: 12px !important;
    }

    .mf-bs-track-wrapper {
        padding: 8px 2px 14px 2px !important;
    }

    .mf-bs-track {
        gap: 12px !important;
        padding: 6px 2px 10px 2px !important;
    }

    .mf-bs-card {
        flex: 0 0 76vw !important;
        max-width: 76vw !important;
        min-width: 255px !important;
        padding: 10px !important;
        border-radius: 18px !important;
    }

    .mf-bs-stage {
        height: 135px !important;
        padding: 4px !important;
    }

    .mf-bs-img {
        max-height: 115px !important;
    }

    .mf-bs-bottom-box {
        padding: 10px !important;
        border-radius: 12px !important;
    }

    .mf-bs-card-title {
        font-size: 14px !important;
    }

    .mf-bs-price-current {
        font-size: 16px !important;
    }

    .mf-bs-price-old {
        font-size: 11.5px !important;
    }

    .mf-bs-trust-bar {
        grid-template-columns: 1fr;
        gap: 6px;
        font-size: 11.5px !important;
        margin-top: 14px !important;
        padding-top: 12px !important;
    }
}

/* ==========================================================================
   25. COMPREHENSIVE MOBILE HOMEPAGE OPTIMIZATION
   1. Hero Slider: Eliminate button overlap onto subtitle text & frosted arrows
   2. Categories: 1 card per row for maximum legibility, large image & full tagline
   3. Setup Guide: Eliminate image overlap onto description ("Studio & Mobilità")
   4. Aesthetic Grades: 1 card per row with crisp 13px spec rows (zero wrapping)
   ========================================================================== */

@media (max-width: 767px) {

    /* 1. HERO SLIDER MOBILE STYLES MOVED TO .mf-hero-slider-wrap */

    /* 2. CATEGORY CARDS: 1 PER ROW WITH PROMINENT IMAGE & READABLE TEXT */
    .mf-cat-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 0 4px !important;
    }

    .mf-cat-card {
        padding: 16px 14px 14px 14px !important;
        border-radius: 18px !important;
        background: #ffffff !important;
        border: 1px solid rgba(83, 98, 123, 0.14) !important;
        box-shadow: 0 4px 16px rgba(61, 75, 100, 0.06) !important;
    }

    .mf-card-img-wrap {
        height: 180px !important;
        border-radius: 14px !important;
        margin-bottom: 12px !important;
        background: #ffffff !important;
        border: 1px solid rgba(83, 98, 123, 0.08) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px !important;
    }

    .mf-card-img {
        max-height: 155px !important;
        max-width: 90% !important;
        object-fit: contain !important;
    }

    .mf-card-title {
        font-size: 19px !important;
        font-weight: 700 !important;
        color: #3d4b64 !important;
        margin-bottom: 4px !important;
    }

    .mf-card-tagline {
        font-size: 13.5px !important;
        font-weight: 500 !important;
        color: #53627b !important;
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
        min-height: auto !important;
    }

    .mf-card-cta {
        padding: 11px 16px !important;
        font-size: 13.5px !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
    }

    /* 3. SETUP GUIDE BANNER (STUDIO & MOBILITA): ZERO OVERLAP ON DESCRIPTION */
    .mf-sg-card-top {
        margin-bottom: 0 !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .mf-sg-card-desc {
        font-size: 13.5px !important;
        line-height: 1.45 !important;
        margin-bottom: 14px !important;
        min-height: auto !important;
        color: #53627b !important;
    }

    .mf-sg-card-media {
        height: 200px !important;
        margin: 0 0 16px 0 !important;
        border-radius: 14px !important;
        overflow: hidden !important;
        background: #f8fafc !important;
        position: relative !important;
        z-index: 1 !important;
    }

    .mf-sg-card-media img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* 4. AESTHETIC GRADES GUIDE: 1 PER ROW WITH ULTRA READABLE SPECS */
    .mf-grades-compact-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 0 !important;
    }

    .mf-cg-card {
        padding: 14px 16px !important;
        border-radius: 14px !important;
    }

    .mf-cg-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        gap: 4px 10px !important;
        margin-bottom: 8px !important;
    }

    .mf-cg-name-row {
        margin-bottom: 0 !important;
        gap: 8px !important;
    }

    .mf-cg-name {
        font-size: 17px !important;
        font-weight: 800 !important;
    }

    .mf-cg-ribbon {
        font-size: 9px !important;
        padding: 3.5px 8px !important;
    }

    .mf-cg-tagline {
        font-size: 12.5px !important;
        color: #0369a1 !important;
        font-weight: 600 !important;
    }

    .mf-cg-gauge {
        margin-bottom: 10px !important;
        gap: 4px !important;
    }

    .mf-cg-dot {
        width: 8px !important;
        height: 8px !important;
    }

    .mf-cg-specs {
        padding: 10px 14px !important;
        gap: 6px !important;
        border-radius: 10px !important;
        background: #f8fafc !important;
        border: 1px solid rgba(83, 98, 123, 0.08) !important;
    }

    .mf-cg-spec {
        font-size: 13px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        line-height: 1.4 !important;
    }

    .mf-cg-spec-label {
        color: #64748b !important;
        font-weight: 500 !important;
    }

    .mf-cg-spec-val {
        color: #1e293b !important;
        font-weight: 700 !important;
    }
}

/* ==========================================================================
   🎯 HOMEPAGE: REFINED SEGMENTED CONTROL (.mf-hcs-*) - APPLE DESIGN SYSTEM
   ========================================================================== */
.mf-hcs-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto 36px auto !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
}

.mf-hcs-track {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f1f5f9 !important;
    padding: 4px !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(83, 98, 123, 0.14) !important;
    box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.05) !important;
    gap: 4px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.mf-hcs-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 38px !important;
    padding: 0 18px !important;
    border-radius: 9999px !important;
    border: none !important;
    background: transparent !important;
    color: #53627B !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
    cursor: pointer !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
    outline: none !important;
    user-select: none !important;
    box-sizing: border-box !important;
}

.mf-hcs-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: currentColor !important;
    flex-shrink: 0 !important;
}

.mf-hcs-icon svg {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    max-width: 15px !important;
    display: block !important;
}

.mf-hcs-label {
    display: inline !important;
    line-height: 1 !important;
}

.mf-hcs-label-desktop {
    display: inline !important;
}

.mf-hcs-label-mobile {
    display: none !important;
}

.mf-hcs-badge {
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    padding: 3px 7px !important;
    border-radius: 9999px !important;
    background: rgba(83, 98, 123, 0.10) !important;
    color: #53627B !important;
    transition: all 0.2s ease !important;
}

.mf-hcs-btn:hover:not(.is-active) {
    color: #0f172a !important;
    background: rgba(255, 255, 255, 0.6) !important;
}

.mf-hcs-btn.is-active,
.mf-hcs-btn.active {
    background: #ffffff !important;
    color: #006b99 !important;
    font-weight: 700 !important;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.mf-hcs-btn.is-active .mf-hcs-badge,
.mf-hcs-btn.active .mf-hcs-badge {
    background: #0072a3 !important;
    color: #ffffff !important;
}

@media (max-width: 767px) {
    .mf-hcs-wrapper {
        padding: 0 10px !important;
        margin-bottom: 24px !important;
    }

    .mf-hcs-track {
        width: 100% !important;
        max-width: 380px !important;
        gap: 2px !important;
        padding: 3px !important;
    }

    .mf-hcs-btn {
        flex: 1 !important;
        height: 34px !important;
        padding: 0 8px !important;
        font-size: 11.5px !important;
        gap: 5px !important;
    }

    .mf-hcs-label-desktop {
        display: none !important;
    }

    .mf-hcs-label-mobile {
        display: inline !important;
    }

    .mf-hcs-badge {
        font-size: 10px !important;
        padding: 2px 5px !important;
    }
}

/* ==========================================================================
   🚚 HOMEPAGE: BANNER SPEDIZIONE RAPIDA (.mf-qsb-*) - ULTRA COMPATTO APPLE
   ========================================================================== */
.mf-qsb-wrapper {
    width: 100% !important;
    max-width: 1410px !important;
    margin: 30px auto 40px auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    clear: both !important;
}

.mf-qsb-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
    padding: 20px 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 28px !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
}

.mf-qsb-main {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.mf-qsb-icon-box {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    border-radius: 14px !important;
    background: rgba(0, 173, 230, 0.08) !important;
    border: 1px solid rgba(0, 173, 230, 0.18) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.mf-qsb-icon-box svg {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    stroke: #00ade6 !important;
    display: block !important;
}

.mf-qsb-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    min-width: 0 !important;
}

.mf-qsb-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    color: #008bb8 !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
}

.mf-qsb-tag-dot {
    width: 6px !important;
    height: 6px !important;
    min-width: 6px !important;
    border-radius: 50% !important;
    background: #34c759 !important;
    display: inline-block !important;
}

.mf-qsb-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #53627B !important;
    letter-spacing: -0.015em !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.25 !important;
}

.mf-qsb-desc {
    font-size: 0.85rem !important;
    color: #64748b !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

.mf-qsb-features {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
}

.mf-qsb-feat-pill {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 8px 14px !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.mf-qsb-feat-pill:hover {
    background: #ffffff !important;
    border-color: #00ade6 !important;
    box-shadow: 0 4px 12px rgba(0, 173, 230, 0.12) !important;
    transform: translateY(-1px) !important;
}

.mf-qsb-feat-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.mf-qsb-feat-icon svg {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    max-width: 17px !important;
    stroke: #00ade6 !important;
    display: block !important;
}

.mf-qsb-feat-text {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.15 !important;
}

.mf-qsb-feat-val {
    font-size: 13px !important;
    font-weight: 750 !important;
    color: #0f172a !important;
    letter-spacing: -0.01em !important;
}

.mf-qsb-feat-sub {
    font-size: 11px !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

@media (max-width: 1024px) {
    .mf-qsb-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 18px 20px !important;
        gap: 16px !important;
    }

    .mf-qsb-features {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    .mf-qsb-feat-pill {
        padding: 8px 10px !important;
        gap: 8px !important;
    }

    .mf-qsb-feat-icon {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        max-width: 28px !important;
    }

    .mf-qsb-feat-icon svg {
        width: 15px !important;
        height: 15px !important;
        min-width: 15px !important;
        max-width: 15px !important;
    }

    .mf-qsb-feat-val {
        font-size: 12px !important;
    }

    .mf-qsb-feat-sub {
        font-size: 10px !important;
    }
}

@media (max-width: 640px) {
    .mf-qsb-features {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .mf-qsb-main {
        gap: 14px !important;
    }

    .mf-qsb-title {
        font-size: 0.98rem !important;
    }

    .mf-qsb-desc {
        font-size: 0.82rem !important;
    }
}

/* ==========================================================================
   MACFAAAST APPLE-GRADE LIGHTNING HERO SLIDER (REPLACES SLIDER REVOLUTION)
   ========================================================================== */
/* Garantisce piena larghezza 100% dentro container Elementor flex-row (.elementor-widget-shortcode ha intrinsic width 0 con slide absolute) */

.mf-hero-slider-wrap {
    position: relative;
    width: 100%;
    max-width: 1380px;
    height: 500px !important;
    min-height: 500px !important;
    max-height: 500px !important;
    margin: 24px auto 30px auto !important;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f0f7ff 100%);
    border: 1px solid rgba(0, 153, 229, 0.18);
    border-radius: 28px;
    overflow: hidden !important;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    box-sizing: border-box;
}

.mf-hero-slider-track {
    position: relative;
    width: 100%;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    overflow: hidden;
}

/* ALL slides are strictly absolute and identical in size — inactive slides hide immediately so outgoing text/CTA never ghost behind incoming slide */
.mf-hero-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: none;
    transform: scale(0.985);
    z-index: 1;
    box-sizing: border-box;
}

.mf-hero-slide.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: opacity 0.36s cubic-bezier(0.16, 1, 0.3, 1), transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1) !important;
    z-index: 2 !important;
}

.mf-hero-slide-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 90px;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    box-sizing: border-box;
}

.mf-hero-content {
    flex: 1 1 52%;
    max-width: 620px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mf-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0099e5;
    background: rgba(0, 153, 229, 0.09);
    padding: 6px 16px;
    border-radius: 9999px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 153, 229, 0.22);
    width: fit-content;
}

.mf-hero-title {
    font-size: clamp(2.2rem, 3.6vw, 3.35rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin: 0 0 16px 0;
}

.mf-hero-desc {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 28px 0;
    max-width: 520px;
}

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

.mf-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    background: linear-gradient(135deg, #0099e5 0%, #0077b6 100%) !important;
    color: #ffffff !important;
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 9999px !important;
    text-decoration: none !important;
    box-shadow: 0 8px 22px -4px rgba(0, 153, 229, 0.5) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: none !important;
    cursor: pointer;
}

.mf-hero-btn:hover {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(0, 153, 229, 0.65) !important;
    color: #ffffff !important;
}

.mf-hero-btn svg {
    display: inline-block !important;
    stroke: #ffffff !important;
    transition: transform 0.25s ease;
}

.mf-hero-btn:hover svg {
    transform: translateX(4px);
}

.mf-hero-media {
    flex: 1 1 48%;
    height: 100% !important;
    max-height: 420px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow: visible !important;
}

.mf-hero-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.mf-hero-img {
    max-width: 100% !important;
    max-height: 365px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.08));
    transition: transform 0.4s ease;
}

.mf-hero-slide.is-active .mf-hero-img {
    animation: mfHeroFloat 4s ease-in-out infinite alternate;
}

@keyframes mfHeroFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-8px);
    }
}

/* ==========================================================================
   HERO BUTTONS & CONTROLS: HIGH CONTRAST & CLEARLY VISIBLE
   ========================================================================== */
.mf-hero-nav {
    position: absolute !important;
    bottom: 22px !important;
    top: auto !important;
    transform: none !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #3d4b64 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 6px 18px rgba(61, 75, 100, 0.12) !important;
    padding: 0 !important;
    outline: none !important;
}

.mf-hero-nav svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    stroke: #3d4b64 !important;
    fill: none !important;
    pointer-events: none;
    transition: stroke 0.2s ease, transform 0.2s ease;
}

.mf-hero-nav svg polyline {
    stroke: #3d4b64 !important;
    fill: none !important;
    stroke-width: 3 !important;
}

.mf-hero-nav:hover {
    background: #0099e5 !important;
    border-color: #0099e5 !important;
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 24px rgba(0, 153, 229, 0.4) !important;
}

.mf-hero-nav:hover svg,
.mf-hero-nav:hover svg polyline {
    stroke: #ffffff !important;
}

.mf-hero-prev {
    left: 28px !important;
    right: auto !important;
}

.mf-hero-next {
    right: 28px !important;
    left: auto !important;
}

/* Indicators: Solid capsule, distinct contrast & WCAG touch target */
.mf-hero-dots {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    z-index: 10 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12) !important;
    padding: 3px 8px !important;
    border-radius: 9999px !important;
}

.mf-hero-dot {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    border-radius: 9999px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
}

.mf-hero-dot::before {
    display: none !important;
    content: none !important;
}

.mf-hero-dot::after {
    content: "" !important;
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 9999px !important;
    background: #94a3b8 !important;
    border: 1.5px solid #64748b !important;
    box-sizing: border-box !important;
    pointer-events: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mf-hero-dot:hover {
    background: transparent !important;
    border: none !important;
}

.mf-hero-dot:hover::after {
    background: #0099e5 !important;
    border-color: #0099e5 !important;
}

.mf-hero-dot.is-active {
    width: 34px !important;
    height: 24px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.mf-hero-dot.is-active::after {
    width: 28px !important;
    height: 10px !important;
    background: #0099e5 !important;
    border-color: #0099e5 !important;
    box-shadow: 0 2px 8px rgba(0, 153, 229, 0.55) !important;
}

/* Tablet Breakpoint (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .mf-hero-slider-wrap {
        height: 470px !important;
        min-height: 470px !important;
        max-height: 470px !important;
    }

    .mf-hero-slide-inner {
        padding: 30px 60px;
    }

    .mf-hero-img {
        max-height: 320px !important;
    }
}

/* Mobile Breakpoint (< 768px) */
@media (max-width: 768px) {
    .mf-hero-slider-wrap {
        height: 540px !important;
        min-height: 540px !important;
        max-height: 540px !important;
        border-radius: 20px;
        margin: 16px auto 24px auto !important;
    }

    .mf-hero-slide-inner {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 20px 18px 72px;
        height: 100% !important;
        min-height: 100% !important;
        max-height: 100% !important;
        gap: 14px;
    }

    .mf-hero-media {
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
        width: 100%;
    }

    .mf-hero-img {
        max-height: 210px !important;
    }

    .mf-hero-content {
        flex: 0 0 auto;
        max-width: 100%;
        padding: 0 5px;
        box-sizing: border-box;
        align-items: center;
    }

    .mf-hero-badge {
        font-size: 0.75rem;
        padding: 4px 12px;
        margin-bottom: 10px;
    }

    .mf-hero-title {
        font-size: clamp(1.4rem, 5.2vw, 1.85rem) !important;
        line-height: 1.2 !important;
        margin: 0 auto 10px auto !important;
        max-width: 320px;
    }

    .mf-hero-desc {
        margin: 0 auto 18px auto;
        font-size: 0.9375rem;
        line-height: 1.45;
        max-width: 310px;
    }

    .mf-hero-actions {
        justify-content: center;
    }

    .mf-hero-btn {
        padding: 12px 28px !important;
        font-size: 0.875rem !important;
    }

    /* Mobile Apple-clean bottom control bar: arrows aligned cleanly with dots in thumb zone (never over image) */
    .mf-hero-nav {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        top: auto !important;
        bottom: 14px !important;
        transform: none !important;
        background: rgba(255, 255, 255, 0.96) !important;
        border: 1px solid #cbd5e1 !important;
        box-shadow: 0 3px 10px rgba(61, 75, 100, 0.1) !important;
    }

    .mf-hero-nav svg {
        width: 15px !important;
        height: 15px !important;
    }

    .mf-hero-prev {
        left: 12px !important;
        right: auto !important;
    }

    .mf-hero-next {
        right: 12px !important;
        left: auto !important;
    }

    /* Compact centered dots capsule flanked cleanly by bottom prev/next buttons */
    .mf-hero-dots {
        gap: 0 !important;
        height: 34px !important;
        padding: 0 8px !important;
        bottom: 14px !important;
        max-width: calc(100% - 104px) !important;
        box-sizing: border-box !important;
        box-shadow: 0 3px 10px rgba(61, 75, 100, 0.08) !important;
    }

    .mf-hero-dot {
        width: 15px !important;
        height: 28px !important;
        min-width: 15px !important;
        min-height: 28px !important;
    }

    .mf-hero-dot::after {
        width: 6px !important;
        height: 6px !important;
        border-width: 1px !important;
    }

    .mf-hero-dot.is-active {
        width: 24px !important;
        height: 28px !important;
    }

    .mf-hero-dot.is-active::after {
        width: 16px !important;
        height: 6px !important;
    }
}

/* ==========================================================================
   BLACK FRIDAY HERO BANNER SLIDE (.mf-slide-bf)
   ========================================================================== */
.mf-hero-slide.mf-slide-bf .mf-hero-content {
    flex: 1 1 44% !important;
    max-width: 530px !important;
}

.mf-hero-slide.mf-slide-bf .mf-hero-media {
    flex: 1 1 56% !important;
    max-height: 410px !important;
}

.mf-hero-slide.mf-slide-bf .mf-hero-img {
    max-height: 365px !important;
    width: 100% !important;
    object-fit: contain !important;
    filter: none !important;
}

.mf-hero-slide.mf-slide-bf .mf-hero-btn.mf-btn-bf {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

@media (max-width: 768px) {
    .mf-hero-slide.mf-slide-bf .mf-hero-slide-inner {
        padding: 18px 16px 68px 16px !important;
        gap: 10px !important;
    }

    .mf-hero-slide.mf-slide-bf .mf-hero-media {
        flex: 0 0 auto !important;
        height: 155px !important;
        min-height: 155px !important;
        max-height: 155px !important;
    }

    .mf-hero-slide.mf-slide-bf .mf-hero-img {
        max-height: 150px !important;
    }

    .mf-hero-slide.mf-slide-bf .mf-hero-content {
        flex: 0 0 auto !important;
    }

    .mf-hero-slide.mf-slide-bf .mf-hero-badge.mf-badge-bf {
        font-size: 11px !important;
        padding: 5px 12px !important;
        margin-bottom: 8px !important;
    }

    .mf-hero-slide.mf-slide-bf .mf-hero-title {
        font-size: 1.42rem !important;
        line-height: 1.18 !important;
        margin-bottom: 6px !important;
    }

    .mf-hero-slide.mf-slide-bf .mf-hero-desc {
        font-size: 0.875rem !important;
        line-height: 1.38 !important;
        margin-bottom: 12px !important;
    }

    .mf-hero-slide.mf-slide-bf .mf-hero-actions {
        justify-content: center !important;
    }

    .mf-hero-slide.mf-slide-bf .mf-hero-btn.mf-btn-bf {
        padding: 10px 24px !important;
        font-size: 0.85rem !important;
    }
}

/* [MODULAR CSS] Section EMPTY_CART moved to /css/ conditional bundle */
/* [MODULAR CSS] Section EMPTY_404 moved to /css/ conditional bundle */

/* ==========================================================================
   HOMEPAGE MOBILE: MARGINI LATERALI 10PX + SPAZIATURA 28PX + FOOTER PRODOTTI HIDDEN
   ========================================================================== */
/* Se la sezione Elementor legacy cc08847 non contiene più #mfHeroSlider (RevSlider disattivato/rimosso), azzerala senza creare spazi */

@media (max-width: 767px) {

    /* 1. Tutti i blocchi principali della Home: 10px per lato e 28px tra un blocco e l'altro */
    body.home .mf-home-hero-standalone {
        padding-left: 10px !important;
        padding-right: 10px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 28px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Titolo recensioni vicino al relativo widget */
    

    

    body.home #home-blog-banner {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* 2. Azzeramento doppi margini/padding interni e larghezza piena 100% su Trust Bar e tutti i card wrapper */
    body.home .mf-home-hero-standalone-inner {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    

    body.home .mf-home-hero-standalone .mf-hero-slider-wrap {
        width: 100% !important;
        max-width: 100% !important;
        margin: 14px 0 0 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    

    

}

/* ==========================================================================
   HOMEPAGE DESKTOP & TABLET: LARGHEZZA UNIFORME (1410PX ALLINEATA A HEADER) & SPAZIATURA 55PX
   ========================================================================== */
@media (min-width: 768px) {

    body.home .mf-home-hero-standalone {
        padding-left: 24px !important;
        padding-right: 24px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    

    body.home .mf-sg-grid {
        margin-bottom: 36px !important;
    }

    body.home #home-blog-banner {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    body.home .mf-home-hero-standalone-inner {
        width: 100% !important;
        max-width: 1410px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    body.home .mf-home-hero-standalone .mf-hero-slider-wrap {
        width: 100% !important;
        max-width: 1410px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    
}

@media (min-width: 1025px) {

    body.home .mf-home-hero-standalone {
        padding-left: 50px !important;
        padding-right: 50px !important;
        margin-bottom: 0 !important;
    }

    

    body.home .mf-sg-grid {
        margin-bottom: 55px !important;
    }

    body.home #home-blog-banner {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* ==========================================================================
   MOBILE HOME DISTINCTION FASCIA (SOLO HOME + SOLO MOBILE <= 767px)
   ========================================================================== */
.mf-mob-distinction-wrap {
    display: none !important;
}

@media (max-width: 767px) {
    body.home .mf-mob-distinction-wrap {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 10px 0 10px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    body.home #main>.page-container,
    body.home .page-container {
        padding-top: 0 !important;
    }

    body.home .mf-home-hero-standalone .mf-hero-slider-wrap {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    body.home .mf-mob-distinction-strip {
        display: flex !important;
        align-items: center !important;
        gap: 11px !important;
        width: 100% !important;
        padding: 10px 13px !important;
        border-radius: 14px !important;
        background: linear-gradient(122deg, #3d4b64 0%, #53627b 36%, #0284c7 80%, #00ade6 100%) !important;
        color: #ffffff !important;
        box-shadow: 0 8px 20px -8px rgba(2, 132, 199, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
        box-sizing: border-box !important;
    }

    body.home .mf-mob-dist-icon {
        flex: 0 0 34px !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: 10px !important;
        background: rgba(255, 255, 255, 0.16) !important;
        border: 1px solid rgba(255, 255, 255, 0.24) !important;
        color: #ffffff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body.home .mf-mob-dist-copy {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    body.home .mf-mob-dist-title {
        color: #ffffff !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        letter-spacing: -0.01em !important;
        text-shadow: 0 1px 1px rgba(15, 23, 42, 0.16) !important;
    }

    body.home .mf-mob-dist-sub {
        color: rgba(255, 255, 255, 0.92) !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        line-height: 1.25 !important;
        letter-spacing: 0.005em !important;
    }
}

/* [MODULAR CSS] Section REGIMI moved to /css/ conditional bundle */

/* --- EXTRACTED FROM mf-home-shortcodes.php (#mf-bestsellers-critical-css) --- */
/* ==========================================================================
                                                                                                                                                                                                                                                                                                           22. VETRINA SHOWROOM "I PIÙ VENDUTI" APPLE-STYLE (.mf-bestsellers-section)
                                                                                                                                                                                                                                                                                                           ========================================================================== */
        .mf-bestsellers-section {
            width: 100%;
            position: relative;
            box-sizing: border-box;
        }

        .mf-bs-inner {
            width: 100%;
            margin: 0 auto;
        }

        /* Header di Sezione */
        .mf-bs-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 20px;
        }

        .mf-bs-header-info {
            flex: 1;
        }

        .mf-bs-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 12px;
            background: rgba(0, 173, 230, 0.08);
            border: 1px solid rgba(0, 173, 230, 0.2);
            border-radius: 999px;
            font-size: 11px;
            font-weight: 700;
            color: #00ade6;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 6px;
        }

        .mf-bs-pulse {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #00ade6;
            box-shadow: 0 0 0 0 rgba(0, 173, 230, 0.7);
            animation: mfBsPulse 2s infinite;
        }

        @keyframes mfBsPulse {
            0% {
                transform: scale(0.95);
                box-shadow: 0 0 0 0 rgba(0, 173, 230, 0.7);
            }

            70% {
                transform: scale(1);
                box-shadow: 0 0 0 6px rgba(0, 173, 230, 0);
            }

            100% {
                transform: scale(0.95);
                box-shadow: 0 0 0 0 rgba(0, 173, 230, 0);
            }
        }

        .mf-bs-title {
            font-size: 26px !important;
            font-weight: 800 !important;
            color: #53627b !important;
            line-height: 1.25 !important;
            letter-spacing: -0.02em !important;
            margin: 0 0 4px 0 !important;
        }

        .mf-bs-subtitle {
            font-size: 13px !important;
            color: #53627b !important;
            margin: 0 !important;
            line-height: 1.4 !important;
        }

        /* Azioni e Controlli */
        .mf-bs-actions {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }

        .mf-bs-arrows {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .mf-bs-arrow {
            width: 38px;
            height: 38px;
            border-radius: 50% !important;
            background: #ffffff !important;
            border: 1px solid #e2e8f0 !important;
            color: #53627b !important;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer !important;
            transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03) !important;
            padding: 0 !important;
            outline: none !important;
        }

        .mf-bs-arrow:hover {
            border-color: #00ade6 !important;
            color: #00ade6 !important;
            background: #f0f9ff !important;
            transform: translateY(-2px) scale(1.05) !important;
            box-shadow: 0 4px 12px rgba(0, 173, 230, 0.16) !important;
        }

        .mf-bs-arrow svg {
            display: block;
        }

        .mf-bs-view-all {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 9px 16px !important;
            background: #ffffff !important;
            border: 1px solid #e2e8f0 !important;
            border-radius: 999px !important;
            font-size: 13px !important;
            font-weight: 700 !important;
            color: #53627b !important;
            text-decoration: none !important;
            transition: all 0.2s ease !important;
            cursor: pointer !important;
            line-height: 1.2 !important;
        }

        .mf-bs-view-all:hover {
            border-color: #00ade6 !important;
            color: #00ade6 !important;
            background: #f0f9ff !important;
        }

        /* Binario dello Slider (Track) */
        .mf-bs-track-wrapper {
            position: relative;
            overflow: hidden;
            padding: 12px 4px 18px 4px !important;
            margin-top: -10px !important;
            margin-bottom: -10px !important;
        }

        .mf-bs-track {
            display: flex;
            gap: 18px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            padding: 10px 4px 14px 4px !important;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .mf-bs-track::-webkit-scrollbar {
            display: none;
        }

        /* Scheda Prodotto (Card Showroom) */
        .mf-bs-card {
            flex: 0 0 calc((100% - (3 * 18px)) / 4) !important;
            max-width: calc((100% - (3 * 18px)) / 4) !important;
            min-width: 260px !important;
            scroll-snap-align: start;
            background: #ffffff !important;
            border: 1px solid #e9edf3 !important;
            border-radius: 20px !important;
            padding: 12px !important;
            display: flex !important;
            flex-direction: column !important;
            justify-content: space-between !important;
            position: relative;
            transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
            box-shadow: 0 3px 12px rgba(61, 75, 100, 0.04) !important;
            text-decoration: none !important;
            color: inherit !important;
            box-sizing: border-box !important;
            cursor: pointer !important;
        }

        .mf-bs-card:hover {
            border: 1px solid #00ade6 !important;
            border-top: 1px solid #00ade6 !important;
            transform: translateY(-5px) !important;
            box-shadow: 0 14px 30px rgba(0, 173, 230, 0.12), 0 4px 10px rgba(61, 75, 100, 0.05) !important;
        }

        /* Badge Flottanti in Alto su Bianco */
        .mf-bs-card-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 2px 2px 6px 2px;
            z-index: 2;
            pointer-events: none;
        }

        .mf-bs-badge-sale {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
            color: #ffffff !important;
            font-size: 11px !important;
            font-weight: 800 !important;
            padding: 3px 8px !important;
            border-radius: 999px !important;
            box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25) !important;
            letter-spacing: -0.01em !important;
        }

        .mf-bs-badge-grade {
            font-size: 11px !important;
            font-weight: 700 !important;
            padding: 3px 8px !important;
            border-radius: 999px !important;
            white-space: nowrap !important;
        }

        .mf-bs-badge-grade.grade-eccellente {
            background: #f0f9ff !important;
            border: 1px solid #bae6fd !important;
            color: #0369a1 !important;
        }

        .mf-bs-badge-grade.grade-ottimo {
            background: #f0fdf4 !important;
            border: 1px solid #bbf7d0 !important;
            color: #15803d !important;
        }

        .mf-bs-badge-grade.grade-buono {
            background: #fffbeb !important;
            border: 1px solid #fef3c7 !important;
            color: #b45309 !important;
        }

        .mf-bs-badge-grade.grade-accettabile,
        .mf-bs-badge-grade.grade-discreto {
            background: #f8fafc !important;
            border: 1px solid #e2e8f0 !important;
            color: #53627b !important;
        }

        .mf-bs-badge-grade.grade-nuovo {
            background: #ecfdf5 !important;
            border: 1px solid #a7f3d0 !important;
            color: #047857 !important;
        }

        /* PURE WHITE STAGE (Completamente Bianco Senza Grigi) */
        .mf-bs-stage {
            height: 165px;
            width: 100%;
            background: #ffffff !important;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
            padding: 6px;
            box-sizing: border-box;
        }

        /* Floor Glow delicato sotto la foto per dare naturalezza all'appoggio */
        .mf-bs-stage::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 15%;
            right: 15%;
            height: 8px;
            background: radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.07) 0%, rgba(255, 255, 255, 0) 75%);
            border-radius: 50%;
            pointer-events: none;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        .mf-bs-card:hover .mf-bs-stage::after {
            transform: scaleX(0.85);
            opacity: 0.6;
        }

        .mf-bs-img {
            max-height: 135px !important;
            max-width: 90% !important;
            width: auto !important;
            object-fit: contain !important;
            background: transparent !important;
            transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
            display: block;
            z-index: 1;
        }

        .mf-bs-card:hover .mf-bs-img {
            transform: scale(1.06) translateY(-2px) !important;
        }

        /* BOX SFUMATO SOTTO (Soft Shaded Info Box for Specs, Price & CTA) */
        .mf-bs-bottom-box {
            background: #f8fafc !important;
            border: 1px solid #edf2f7 !important;
            border-radius: 14px !important;
            padding: 12px !important;
            display: flex !important;
            flex-direction: column !important;
            justify-content: space-between !important;
            margin-top: 6px !important;
            transition: background 0.2s ease, border-color 0.2s ease !important;
            box-sizing: border-box !important;
        }

        .mf-bs-card:hover .mf-bs-bottom-box {
            background: #f1f8fc !important;
            border-color: #e0f2fe !important;
        }

        .mf-bs-card-title {
            font-size: 15px !important;
            font-weight: 800 !important;
            color: #53627b !important;
            line-height: 1.25 !important;
            margin: 0 0 6px 0 !important;
            transition: color 0.2s ease !important;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .mf-bs-card:hover .mf-bs-card-title {
            color: #00ade6 !important;
        }

        /* Chip Specifiche Tecniche */
        .mf-bs-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            margin-bottom: 10px;
        }

        .mf-bs-chip {
            background: #ffffff !important;
            color: #53627b !important;
            font-size: 10px !important;
            font-weight: 600 !important;
            padding: 2.5px 7px !important;
            border-radius: 6px !important;
            border: 1px solid #e2e8f0 !important;
            white-space: nowrap !important;
            line-height: 1.2 !important;
        }

        .mf-bs-chip.mf-chip-year {
            background: #f0f9ff !important;
            color: #0369a1 !important;
            border-color: #bae6fd !important;
            font-weight: 700 !important;
        }

        /* Prezzo & Risparmio */
        .mf-bs-price-block {
            border-top: 1px solid rgba(226, 232, 240, 0.7) !important;
            padding-top: 8px !important;
            margin-top: 2px !important;
        }

        .mf-bs-price-row {
            display: flex;
            align-items: baseline;
            gap: 6px;
        }

        .mf-bs-price-current {
            font-size: 18px !important;
            font-weight: 800 !important;
            color: #53627b !important;
            letter-spacing: -0.02em !important;
            line-height: 1 !important;
        }

        .mf-bs-price-current .woocommerce-Price-amount {
            color: #53627b !important;
            font-weight: 800 !important;
        }

        .mf-bs-price-old {
            font-size: 12px !important;
            color: #94a3b8 !important;
            text-decoration: line-through !important;
        }

        .mf-bs-price-old .woocommerce-Price-amount {
            color: #94a3b8 !important;
            text-decoration: line-through !important;
        }

        .mf-bs-saving {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 11px;
            font-weight: 700;
            color: #059669;
            margin-top: 3px;
        }

        .mf-bs-saving svg {
            display: block;
            color: #059669;
        }

        /* Pulsante CTA Card */
        .mf-bs-btn {
            width: 100%;
            margin-top: 10px;
            padding: 8px 12px !important;
            border-radius: 10px !important;
            background: #53627b !important;
            color: #ffffff !important;
            font-size: 11.5px !important;
            font-weight: 700 !important;
            border: none !important;
            cursor: pointer !important;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
            box-sizing: border-box !important;
        }

        .mf-bs-card:hover .mf-bs-btn {
            background: #00ade6 !important;
            box-shadow: 0 4px 12px rgba(0, 173, 230, 0.28) !important;
        }

        .mf-bs-btn svg {
            display: block;
            transition: transform 0.2s ease;
        }

        .mf-bs-card:hover .mf-bs-btn svg {
            transform: translateX(3px);
        }

        /* Trust Bar a piè di sezione */
        .mf-bs-trust-bar {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
            margin-top: 20px;
            padding-top: 16px;
            border-top: 1px solid #e9edf3;
            font-size: 12px;
            font-weight: 600;
            color: #53627b;
        }

        .mf-bs-trust-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .mf-bs-trust-item span {
            color: #00ade6;
            font-weight: 800;
        }

        /* Media Queries Tablet */
        @media (max-width: 1199px) {
            .mf-bs-card {
                flex: 0 0 calc((100% - (2 * 16px)) / 3) !important;
                max-width: calc((100% - (2 * 16px)) / 3) !important;
            }
        }

        @media (max-width: 860px) {
            .mf-bs-card {
                flex: 0 0 calc((100% - 14px) / 2) !important;
                max-width: calc((100% - 14px) / 2) !important;
            }

            .mf-bs-trust-bar {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
            }
        }

        /* Media Query Mobile Perfetta (<=640px) */
        @media (max-width: 640px) {
            .mf-bs-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
                margin-bottom: 14px;
            }

            .mf-bs-title {
                font-size: 20px !important;
                line-height: 1.25 !important;
                margin-bottom: 2px !important;
            }

            .mf-bs-subtitle {
                font-size: 12px !important;
                line-height: 1.35 !important;
            }

            .mf-bs-actions {
                width: 100%;
                justify-content: space-between;
                margin-top: 2px;
            }

            .mf-bs-arrow {
                width: 34px !important;
                height: 34px !important;
            }

            .mf-bs-view-all {
                padding: 7px 13px !important;
                font-size: 12px !important;
            }

            .mf-bs-track-wrapper {
                padding: 8px 2px 14px 2px !important;
            }

            .mf-bs-track {
                gap: 12px !important;
                padding: 6px 2px 10px 2px !important;
            }

            .mf-bs-card {
                flex: 0 0 76vw !important;
                max-width: 76vw !important;
                min-width: 255px !important;
                padding: 10px !important;
                border-radius: 18px !important;
            }

            .mf-bs-stage {
                height: 135px !important;
                padding: 4px !important;
            }

            .mf-bs-img {
                max-height: 115px !important;
            }

            .mf-bs-bottom-box {
                padding: 10px !important;
                border-radius: 12px !important;
            }

            .mf-bs-card-title {
                font-size: 14px !important;
            }

            .mf-bs-price-current {
                font-size: 16px !important;
            }

            .mf-bs-price-old {
                font-size: 11.5px !important;
            }

            .mf-bs-trust-bar {
                grid-template-columns: 1fr;
                gap: 6px;
                font-size: 11.5px !important;
                margin-top: 14px !important;
                padding-top: 12px !important;
            }
        }

/* ==========================================================================
   APPLE WORLD INTERACTIVE SHOWCASE SLIDER (.mf-as-*)
   ========================================================================== */
.mf-apple-showcase-section {
    position: relative;
}

.mf-as-header {
    text-align: center;
    margin-bottom: 24px;
}

.mf-as-eyebrow {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: #eef8fe;
    border: 1px solid rgba(0, 153, 229, 0.22);
    color: #0088cc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.mf-as-title {
    font-size: 30px;
    font-weight: 800;
    color: #3d4b64;
    margin: 0 0 8px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.mf-as-subtitle {
    font-size: 15px;
    color: #53627b;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Pill Tab Bar */
.mf-as-root {
    margin-bottom: 24px;
}

.mf-as-tabs-outer {
    position: relative;
    margin-bottom: 22px;
    display: flex;
    justify-content: center;
}

.mf-as-tabs {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    background: #f2f7fb;
    border: 1px solid #dfeaf4;
    border-radius: 999px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.mf-as-tabs::-webkit-scrollbar {
    display: none;
}

.mf-as-tab {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent !important;
    color: #53627b !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: none !important;
    letter-spacing: -0.01em !important;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    scroll-snap-align: center;
    transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
    box-shadow: none !important;
}

.mf-as-tab:hover {
    color: #0088cc !important;
    background: rgba(255, 255, 255, 0.72) !important;
}

.mf-as-tab.is-active {
    background: #ffffff !important;
    color: #0088cc !important;
    border-color: rgba(0, 153, 229, 0.28);
    box-shadow: 0 4px 14px rgba(0, 153, 229, 0.14) !important;
}

.mf-as-tab-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    flex-shrink: 0;
}

.mf-as-tab-ico svg {
    width: 15px;
    height: 15px;
    display: block;
}

.mf-as-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    background: #e6f2fa;
    color: #53627b;
    transition: background-color 0.22s ease, color 0.22s ease;
}

.mf-as-tab.is-active .mf-as-tab-count {
    background: #0099e5;
    color: #ffffff;
}

.mf-as-tab-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
}

.mf-as-tab.is-active .mf-as-tab-dot {
    background: #00ade6;
}

/* Main Stage Card */
.mf-as-stage {
    background: #ffffff;
    border: 1px solid rgba(0, 153, 229, 0.16);
    border-radius: 26px;
    box-shadow: 0 16px 44px rgba(83, 98, 123, 0.08);
    overflow: hidden;
}

.mf-as-viewport {
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.mf-as-track {
    display: flex;
    width: 100%;
    transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.mf-as-slide {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
    padding: 32px 36px 26px;
}

.mf-as-slide-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
    gap: 36px;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.mf-as-slide-grid > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* Left Editorial Sample Visual Stage */
.mf-as-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 410px;
    padding: 18px 22px;
    border-radius: 22px;
    background: radial-gradient(circle at 50% 48%, #ffffff 0%, #f3f9fe 68%, #e8f4fc 100%);
    border: 1px solid rgba(0, 153, 229, 0.11);
    overflow: visible;
    box-sizing: border-box;
}

.mf-as-visual-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 2;
}

.mf-as-avail-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.mf-as-avail-pill.is-live {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid rgba(4, 120, 87, 0.18);
}

.mf-as-avail-pill.is-request {
    background: #f1f5f9;
    color: #53627b;
    border: 1px solid rgba(83, 98, 123, 0.16);
}

.mf-as-avail-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.mf-as-avail-pill.is-live .mf-as-avail-dot {
    box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.18);
}

.mf-as-img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 16px 8px;
    text-decoration: none;
    overflow: visible;
}

.mf-as-img {
    max-width: 100%;
    max-height: 295px;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    filter: drop-shadow(0 14px 26px rgba(83, 98, 123, 0.14));
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.mf-as-slide.is-active .mf-as-img {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.mf-as-img-link:hover .mf-as-img {
    transform: translateY(-4px) scale(1.025);
}

.mf-as-visual-foot {
    display: flex;
    justify-content: center;
    z-index: 2;
}

.mf-as-stage-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(83, 98, 123, 0.12);
    color: #53627b;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

/* Right Content & Live Conversion Panel */
.mf-as-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mf-as-cat-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #0088cc;
    background: #eef8fe;
    padding: 4px 11px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.mf-as-item-title {
    font-size: 28px;
    font-weight: 800;
    color: #3d4b64;
    margin: 0 0 6px;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.mf-as-item-desc {
    font-size: 14.5px;
    color: #53627b;
    margin: 0;
    line-height: 1.5;
}

/* Specs */
.mf-as-specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mf-as-spec-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mf-as-spec-ico {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eef8fe;
    color: #0099e5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mf-as-spec-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.mf-as-spec-text strong {
    font-size: 13.5px;
    font-weight: 700;
    color: #3d4b64;
    line-height: 1.25;
}

.mf-as-spec-text span {
    font-size: 12.5px;
    color: #53627b;
    line-height: 1.35;
}

/* Live WooCommerce Price & Quick Models Box */
.mf-as-live-box {
    background: #f7fbfe;
    border: 1px solid #e1eff9;
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.mf-as-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.mf-as-price-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
    margin-bottom: 2px;
}

.mf-as-price-nums {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.mf-as-price-val {
    font-size: 24px;
    font-weight: 800;
    color: #3d4b64;
    line-height: 1.1;
}

.mf-as-price-val.is-text {
    font-size: 18px;
}

.mf-as-price-old {
    font-size: 12.5px;
    color: #8292a8;
    text-decoration: line-through;
    font-weight: 600;
}

.mf-as-savings-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e7f8ef;
    color: #047857;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.mf-as-savings-badge.is-neutral {
    background: #eef3f8;
    color: #53627b;
}

.mf-as-models {
    padding-top: 10px;
    border-top: 1px dashed #d7e7f4;
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    max-width: 100%;
}

.mf-as-models-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #53627b;
}

.mf-as-models-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
}

.mf-as-model-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #d9eaf7;
    color: #3d4b64 !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.mf-as-model-chip:hover {
    border-color: #0099e5;
    background: #f0f9ff;
    transform: translateY(-1px);
}

.mf-as-model-name {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mf-as-model-price {
    color: #0088cc;
    font-weight: 800;
    flex-shrink: 0;
}

.mf-as-request-note {
    margin: 0;
    padding-top: 9px;
    border-top: 1px dashed #d7e7f4;
    font-size: 12.5px;
    color: #53627b;
    line-height: 1.45;
}

/* Action Buttons */
.mf-as-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mf-as-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 1 210px;
    min-height: 46px;
    padding: 11px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0099e5 0%, #00ade6 100%) !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(0, 153, 229, 0.24);
    transition: transform 0.18s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.mf-as-btn-primary:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 11px 24px rgba(0, 153, 229, 0.34);
    filter: brightness(1.03);
}

.mf-as-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 999px;
    background: #eef4f9 !important;
    color: #3d4b64 !important;
    border: 1px solid rgba(83, 98, 123, 0.12);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mf-as-btn-secondary:hover {
    background: #e2eef7 !important;
    color: #0088cc !important;
    border-color: rgba(0, 153, 229, 0.25);
}

/* Bottom Slider Controls Bar */
.mf-as-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 36px 18px;
    border-top: 1px solid #edf4fa;
    background: #fafdff;
}

.mf-as-dots {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.mf-as-dot {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 999px;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: width 0.25s ease;
}

.mf-as-dot::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #cbd8e6;
    pointer-events: none;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.mf-as-dot:hover::after {
    background: #89bde0;
}

.mf-as-dot.is-active {
    width: 32px;
    background: transparent !important;
}

.mf-as-dot.is-active::after {
    width: 24px;
    background: #0099e5;
}

.mf-as-nav-group {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.mf-as-counter {
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    margin-right: 4px;
    font-variant-numeric: tabular-nums;
}

.mf-as-counter strong {
    color: #3d4b64;
    font-weight: 800;
}

.mf-as-arrow {
    appearance: none;
    -webkit-appearance: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #d8e7f4;
    background: #ffffff !important;
    color: #3d4b64 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 2px 8px rgba(83, 98, 123, 0.08);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.mf-as-arrow:hover {
    background: #0099e5 !important;
    color: #ffffff !important;
    border-color: #0099e5;
    transform: translateY(-1px);
}

.mf-as-arrow:hover svg,
.mf-as-arrow:hover svg * {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* Concierge SVG Icon Container */
.mf-as-cb-svg {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(0, 153, 229, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Tablet */
@media (max-width: 1024px) {
    .mf-as-slide {
        padding: 24px 24px 20px;
    }

    .mf-as-slide-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 24px;
    }

    .mf-as-visual {
        min-height: 350px;
    }

    .mf-as-img {
        max-height: 245px;
    }

    .mf-as-item-title {
        font-size: 24px;
    }

    .mf-as-controls {
        padding: 12px 24px 16px;
    }
}

/* Mobile-First Optimization (<= 767px) */
@media (max-width: 767px) {
    .mf-as-header {
        margin-bottom: 16px;
    }

    .mf-as-title {
        font-size: 22px;
    }

    .mf-as-subtitle {
        font-size: 13.5px;
    }

    .mf-as-tabs-outer {
        display: block;
        margin: 0 0 14px;
        padding: 0;
        width: 100%;
        max-width: 100%;
    }

    .mf-as-tabs-outer::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 24px;
        height: 100%;
        pointer-events: none;
        border-radius: 0 16px 16px 0;
        background: linear-gradient(90deg, rgba(242, 247, 251, 0) 0%, #f2f7fb 92%);
    }

    .mf-as-tabs {
        display: flex;
        justify-content: flex-start;
        padding: 5px;
        gap: 5px;
        border-radius: 16px;
        padding-right: 26px;
        width: 100%;
        box-sizing: border-box;
    }

    .mf-as-tab {
        padding: 9px 12px;
        font-size: 12.5px;
        gap: 6px;
    }

    .mf-as-stage {
        border-radius: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .mf-as-slide {
        padding: 14px 14px 16px;
    }

    .mf-as-slide-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .mf-as-visual {
        min-height: 220px;
        padding: 12px 14px;
        border-radius: 16px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .mf-as-img-link {
        padding: 10px 6px;
        width: 100%;
        box-sizing: border-box;
    }

    .mf-as-img {
        max-height: 160px;
        max-width: 92%;
    }

    .mf-as-avail-pill {
        font-size: 11px;
        padding: 5px 10px;
    }

    .mf-as-stage-chip {
        font-size: 11px;
        padding: 5px 11px;
    }

    .mf-as-content {
        gap: 12px;
        min-width: 0;
        max-width: 100%;
    }

    .mf-as-item-title {
        font-size: 21px;
    }

    .mf-as-item-desc {
        font-size: 13.5px;
    }

    .mf-as-specs {
        gap: 8px;
    }

    .mf-as-spec-ico {
        width: 30px;
        height: 30px;
        border-radius: 8px;
    }

    .mf-as-spec-text {
        min-width: 0;
        flex: 1 1 auto;
    }

    .mf-as-spec-text strong {
        font-size: 13px;
    }

    .mf-as-spec-text span {
        font-size: 12px;
    }

    .mf-as-live-box {
        padding: 12px 13px;
        border-radius: 14px;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .mf-as-price-val {
        font-size: 21px;
    }

    .mf-as-model-chip {
        width: 100%;
        justify-content: space-between;
        box-sizing: border-box;
    }

    .mf-as-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .mf-as-btn-primary,
    .mf-as-btn-secondary {
        flex: none;
        width: 100%;
        box-sizing: border-box;
        min-height: 46px;
        font-size: 13.5px;
    }

    .mf-as-controls {
        padding: 10px 12px 12px;
        gap: 6px;
    }

    .mf-as-dots {
        gap: 0;
    }

    .mf-as-dot {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
    }

    .mf-as-dot::after {
        width: 6px;
        height: 6px;
    }

    .mf-as-dot.is-active {
        width: 26px;
    }

    .mf-as-dot.is-active::after {
        width: 18px;
    }

    .mf-as-nav-group {
        gap: 6px;
    }

    .mf-as-arrow {
        width: 34px;
        height: 34px;
    }
}

/* ==========================================================================
   NATIVE PHP HOMEPAGE CONTAINER & GOOGLE REVIEWS (.mf-home-native)
   ========================================================================== */
.mf-home-page-container,
.mf-home-page-container #main-content,
.mf-home-page-container #primary {
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.mf-home-native {
    display: flex;
    flex-direction: column;
    gap: 54px;
    width: 100%;
    box-sizing: border-box;
    padding-top: 24px !important;
}

.mf-home-block {
    width: 100%;
    box-sizing: border-box;
}

.mf-home-block-trust {
    margin-top: -30px !important;
}

.mf-home-reviews-section {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.mf-home-reviews-inner {
    max-width: 1340px;
    margin: 0 auto;
    width: 100%;
}

.mf-home-reviews-head {
    text-align: center;
    margin-bottom: 24px;
}

.mf-home-reviews-title {
    margin: 0 0 8px !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #3d4b64 !important;
    line-height: 1.22 !important;
    letter-spacing: -0.02em;
}

.mf-home-reviews-sub {
    margin: 0 auto !important;
    max-width: 680px;
    font-size: 15px !important;
    color: #53627b !important;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .mf-home-native {
        gap: 36px;
        padding-top: 12px !important;
    }

    .mf-home-block-trust {
        margin-top: -20px !important;
    }

    .mf-home-reviews-section,
    .mf-bestsellers-section {
        padding: 0 12px;
    }

    .mf-home-reviews-title {
        font-size: 22px !important;
    }

    .mf-home-reviews-sub {
        font-size: 13.5px !important;
    }
}
