/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Tema Child per la riprogettazione estetica avanzata.
 Author:         Alessio Guacci
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.6.99
*/

/* Inserisci il tuo CSS personalizzato sotto questa riga */

/*
 * Design tokens estratti dalla landing Stampakodak:
 * palette Kodak/Fadini, tipografia Inter e motion morbido usati come base per gli override Divi.
 */
:root {
    --ff-kodak-yellow: #FAB617;
    --ff-kodak-red: #BD0007;
    --ff-bg-main: #ffffff;
    --ff-bg-soft: #f8fafc;
    --ff-text-main: #1e293b;
    --ff-text-muted: #64748b;
    --ff-border-soft: rgba(15, 23, 42, 0.08);
    --ff-nav-border: rgba(0, 0, 0, 0.15);
    --ff-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
    --ff-shadow-nav: 0 15px 40px -10px rgba(0, 0, 0, 0.2);
    --ff-motion-soft: cubic-bezier(0.165, 0.84, 0.44, 1);
    --ff-kodak-yellow-soft: rgba(250, 182, 23, 0.14);
    --ff-cart-badge-offset-y: -2.5px;
    --ff-gallery-stage-height: min(62vw, 520px);
}

/* ================================================================
 * HOMEPAGE — prodotti più scelti subito dopo l'hero
 * ================================================================ */
.ff-home-bestsellers {
    padding: clamp(3.25rem, 7vw, 5.5rem) 1.25rem;
    background: var(--ff-bg-soft);
}

.ff-home-bestsellers.ff-product-suggestions {
    padding: clamp(3.25rem, 7vw, 5.5rem) 1.25rem 4rem;
}

.ff-home-bestsellers__inner {
    width: min(100%, 1120px);
    margin: 0 auto;
}

.ff-home-bestsellers__header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    text-align: center;
}

.ff-home-bestsellers h2 {
    margin: 0;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.ff-home-bestsellers h2 span {
    color: var(--ff-kodak-red);
}

.ff-home-bestsellers__header p {
    max-width: 42rem;
    margin: 0.75rem 0 0;
    color: var(--ff-text-muted);
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    line-height: 1.55;
    margin-right: auto;
    margin-left: auto;
}

.ff-home-bestsellers__products .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.2rem !important;
    margin: 0 !important;
}

.ff-home-bestsellers__products .woocommerce ul.products::before,
.ff-home-bestsellers__products .woocommerce ul.products::after {
    display: none !important;
}

.ff-home-bestsellers__products .woocommerce ul.products li.product {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
}

@media (max-width: 980px) {
    .ff-home-bestsellers__products .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    .ff-home-bestsellers.ff-product-suggestions {
        padding: 2rem 1rem 3.75rem;
    }

    .ff-home-bestsellers__header {
        align-items: center;
    }

    .ff-home-bestsellers__products .woocommerce ul.products {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* ================================================================
 * CHECKOUT — percorso ordine e tempi di consegna
 * ================================================================ */
.ff-checkout-journey {
    position: sticky;
    top: 76px;
    z-index: 9998;
    width: min(calc(100% - 1.5rem), 390px);
    margin: 0.7rem auto 0;
    padding: 0;
    pointer-events: none;
}

.ff-checkout-journey__track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.2rem;
    margin: 0;
    padding: 0.3rem;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 999px;
    background: #eef0f2;
    box-shadow: 0 7px 18px rgba(15, 23, 42, 0.11);
    list-style: none;
}

.ff-checkout-journey__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    min-height: 36px;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    color: var(--ff-text-muted);
    font-family: "Inter", sans-serif;
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
}

.ff-checkout-journey__step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 0.66rem;
}

.ff-checkout-journey__step.is-current {
    background: var(--ff-kodak-yellow);
    color: var(--ff-text-main);
    box-shadow: 0 5px 14px rgba(250, 182, 23, 0.3);
}

body.ff-checkout-page .ff-checkout-delivery-lead {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0 0 0.8rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid rgba(250, 182, 23, 0.35);
    border-radius: 15px;
    background: rgba(250, 182, 23, 0.11);
}

body.ff-checkout-page .ff-checkout-delivery-lead img,
body.ff-checkout-page .ff-checkout-delivery-lead__fallback {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    object-fit: contain;
}

body.ff-checkout-page .ff-checkout-delivery-lead__fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
}

body.ff-checkout-page .ff-checkout-delivery-lead p {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    margin: 0;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    line-height: 1.35;
}

body.ff-checkout-page .ff-checkout-delivery-lead strong {
    color: var(--ff-kodak-red);
    font-size: 0.92rem;
    font-weight: 800;
}

body.ff-checkout-page .ff-checkout-delivery-lead span:not(.ff-checkout-delivery-lead__fallback) {
    color: var(--ff-text-muted);
    font-size: 0.84rem;
    font-weight: 600;
}

@media (min-width: 981px) {
    .ff-checkout-journey {
        top: 78px;
    }
}

@media (max-width: 480px) {
    .ff-checkout-journey {
        width: min(calc(100% - 1rem), 350px);
        top: 70px;
        margin-top: 0.55rem;
    }

    .ff-checkout-journey__step {
        min-height: 35px;
        padding: 0.42rem 0.48rem;
        font-size: 0.76rem;
    }

    body.ff-checkout-page .ff-checkout-delivery-lead {
        gap: 0.7rem;
        padding: 0.72rem 0.78rem;
    }

    body.ff-checkout-page .ff-checkout-delivery-lead img,
    body.ff-checkout-page .ff-checkout-delivery-lead__fallback {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
}

/*
 * Alert WooCommerce — override rosa Divi customizer (#fc61c4) con giallo Kodak.
 */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--ff-kodak-yellow) !important;
    color: #ffffff !important;
    font-family: "Inter", sans-serif !important;
    font-weight: 700 !important;
    box-shadow: 0 10px 24px rgba(250, 182, 23, 0.2) !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    color: #ffffff !important;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
    color: #ffffff !important;
    text-decoration: underline;
}

/*
 * Base tipografica dalla landing Stampakodak:
 * applicata al body Divi per riportare Inter e una resa piu morbida del testo.
 */
body {
    background: var(--ff-bg-main);
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
}

/*
 * Island navbar: padding-top azzerato perché la navbar floating flotta sopra il contenuto.
 * Selettore multiplo per coprire tutti gli stati Divi (con e senza classe di scroll).
 * Divi può iniettare padding-top via JS inline style — il !important CSS lo sovrascrive.
 */
body.et_fixed_nav #page-container,
body.et_show_nav #page-container,
body.et_fixed_nav.et_show_nav #page-container,
#page-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/*
 * Navbar ad isola dalla landing Stampakodak:
 * override del wrapper Divi #main-header e della .et_menu_container nativa.
 */
/*
 * menu_height:115 in Divi options causa height:115px inline via JS.
 * height:auto!important forza il header a contenere solo il suo contenuto (60px),
 * eliminando il vuoto bianco sotto le voci di navigazione.
 */
#main-header {
    position: fixed !important;
    top: 12px !important;
    left: 50% !important;
    z-index: 100000 !important;
    width: calc(100% - 24px) !important;
    max-width: 1200px !important;
    height: auto !important;
    min-height: 58px !important;
    border: 1px solid var(--ff-nav-border) !important;
    border-radius: 24px !important;
    background: rgba(248, 250, 252, 0.86) !important;
    box-shadow: var(--ff-shadow-nav) !important;
    transform: translateX(-50%) !important;
    transition: background-color 0.4s ease, box-shadow 0.4s ease !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}

#main-header.et-fixed-header {
    top: 8px !important;
    background: rgba(248, 250, 252, 0.92) !important;
    box-shadow: 0 18px 42px -12px rgba(15, 23, 42, 0.26) !important;
}

/*
 * Admin bar offset: quando l'utente è loggato, WordPress aggiunge una barra
 * fissa di 32px (desktop) o 46px (mobile ≤782px). Spostiamo l'island verso il basso
 * per evitare che sia tagliata o sovrapposta alla barra.
 */
html.admin-bar #main-header {
    top: calc(32px + 8px) !important;
}

html.admin-bar #main-header.et-fixed-header {
    top: calc(32px + 8px) !important;
}

@media (max-width: 782px) {
    html.admin-bar #main-header {
        top: calc(46px + 10px) !important;
    }
    html.admin-bar #main-header.et-fixed-header {
        top: calc(46px + 10px) !important;
    }
}

#main-header .container.et_menu_container {
    display: flex;
    width: 100%;
    max-width: none;
    height: auto !important;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.1rem 0.78rem;
}

#main-header::after,
#main-header .container::before,
#main-header .container::after {
    content: none;
}

/*
 * Area logo Divi:
 * mantiene il link nativo alla home e replica lo slot logo a sinistra della landing.
 */
#main-header .logo_container {
    position: static;
    width: auto;
    height: auto;
    flex: 0 0 auto;
    order: 1;
}

#main-header .logo_container a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: flex-start;
    border-radius: 18px;
    transition: transform 0.3s ease;
}

#main-header .logo_container a:hover {
    transform: scale(1.02);
}

#main-header .ff-mobile-back { display:none; }
@media (max-width:980px) {
    #main-header .logo_container { gap:8px; }
    #main-header button.ff-mobile-back { appearance:none; display:grid; place-items:center; flex:0 0 40px; width:40px; height:44px; padding:0; margin:0; border:0; border-radius:12px; background:transparent; color:#172334; font:400 28px/1 Inter,sans-serif; cursor:pointer; transition:background-color .2s ease,transform .2s ease; }
    #main-header button.ff-mobile-back:active { background:#e7ebef; transform:scale(.94); }
    #main-header button.ff-mobile-back:focus-visible { outline:2px solid var(--ff-kodak-red,#bd0007); outline-offset:2px; }
}

#main-header .logo_helper {
    display: none;
}

#main-header #logo {
    display: block;
    width: auto;
    max-width: 142px;
    max-height: 44px;
    object-fit: contain;
}

#main-header #logo.ff-reference-logo {
    max-width: 132px;
    max-height: 42px;
}

#main-header .logo_container.ff-logo-missing #logo {
    display: none;
}

.logo_container.ff-logo-missing a::before {
    content: "";
    display: block;
    width: 118px;
    height: 38px;
    border: 1px dashed rgba(15, 23, 42, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.42);
}

/*
 * Navigazione principale Divi:
 * centra le voci richieste e riprende hover morbidi e colore rosso dalla landing.
 */
#et-top-navigation {
    display: flex !important;
    flex: 1 1 auto !important;
    height: auto !important;
    order: 2 !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.5rem !important;
    padding: 0 !important;
    line-height: 1 !important;
}

#top-menu-nav {
    display: none;
    float: none;
}

#top-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.15rem !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
    line-height: 1 !important;
}

#top-menu > li {
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
}

/*
 * !important obbligatorio su padding, line-height, height:
 * Divi parent CSS sovrascrive padding-bottom (~30px) e line-height (16px)
 * sui link della navbar e poi li anima durante scroll → scatto visivo.
 * Con !important blocchiamo l'override e congeliamo la geometria dei link.
 */
#top-menu > li > a {
    display: inline-flex !important;
    height: auto !important;
    min-height: 36px !important;
    max-height: 44px !important;
    align-items: center !important;
    padding: 0 0.72rem !important;
    border-radius: 999px !important;
    color: var(--ff-text-main) !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
    line-height: 1 !important;
    background: transparent;
    box-shadow: inset 0 0 0 1px transparent;
    transition:
        background-color 0.5s var(--ff-motion-soft),
        color 0.5s var(--ff-motion-soft),
        box-shadow 0.5s var(--ff-motion-soft),
        transform 0.65s var(--ff-motion-soft) !important;
    will-change: transform;
}

/*
 * Hover nav desktop — sollevamento morbido come landing Stampakodak.
 */
#top-menu > li > a:hover,
#top-menu > li.current-menu-item > a,
#top-menu > li.current-menu-ancestor > a {
    background: rgba(189, 0, 7, 0.07);
    color: var(--ff-kodak-red) !important;
    box-shadow: inset 0 0 0 1px rgba(189, 0, 7, 0.14);
    opacity: 1;
    transform: translateY(-2px);
}

/*
 * Divi aggiunge .et-disabled-animations allo scroll e azzera le transition.
 * Ripristiniamo motion morbido sui controlli custom della navbar.
 */
#main-header.et-disabled-animations #top-menu > li > a,
#main-header.et-disabled-animations #et-top-navigation .et-cart-info,
#main-header.et-disabled-animations .mobile_menu_bar,
#main-header.et-disabled-animations #top-menu li li a {
    transition-duration: 0.65s !important;
    transition-timing-function: var(--ff-motion-soft) !important;
}

#top-menu .menu-item-has-children > a:first-child {
    padding-right: 0.86rem;
}

#top-menu .menu-item-has-children > a:first-child::after {
    position: static;
    margin-top: 0;
    margin-left: 0.38rem;
    color: currentColor;
    font-size: 0.8rem;
    line-height: 1;
}

/*
 * Dropdown Divi — espansione verso il basso, stacking verticale.
 * position:absolute+top:100%+left:0 assicura che il pannello parta sotto il li padre.
 * flex-direction:column corregge il layout orizzontale di Divi 5 (che usa display:flex).
 * NON forziamo display: il toggle show/hide di Divi usa inline style display:none/block
 * che ha sempre priorità su !important CSS — lasciar fare a Divi.
 */
.nav li ul,
#top-menu li ul,
.et_pb_menu ul li ul {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    flex-direction: column !important;
    min-width: 300px !important;
    width: auto !important;
    padding: 0.6rem 0.5rem !important;
    margin-top: 8px !important;
    border: 1px solid var(--ff-border-soft) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.14) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    z-index: 100001 !important;
    overflow: visible !important;
}

/*
 * Voci dropdown: layout a blocco, larghezza piena, niente float.
 * display:block!important è sicuro qui perché Divi gestisce show/hide sull'ul
 * padre, non sui singoli li.
 */
#top-menu li li {
    display: block !important;
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

#top-menu li li a {
    width: 100%;
    padding: 0.82rem 0.95rem;
    border-radius: 16px;
    color: var(--ff-text-main);
    font-size: 0.86rem;
    font-weight: 760;
    line-height: 1.15;
    transition:
        transform 0.5s var(--ff-motion-soft),
        background-color 0.45s var(--ff-motion-soft),
        color 0.45s var(--ff-motion-soft);
}

#top-menu li li a:hover,
#top-menu li ul li a:hover,
.nav #top-menu li li a:hover {
    background: var(--ff-kodak-yellow) !important;
    color: #ffffff !important;
    opacity: 1 !important;
    transform: translateX(4px);
}

/*
 * Elementi header Divi da nascondere — evita bottoni fantasma accanto al carrello.
 */
#et-top-navigation .select_page,
#et-top-navigation .mobile_nav .select_page,
.mobile_nav .select_page {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

#et-top-navigation button.et_pb_menu__icon,
#et-top-navigation a.et_pb_menu__icon,
#et-top-navigation .et_pb_header_toggle,
#et-top-navigation .mobile_menu_bar.et_toggle_fullscreen_menu,
#et-top-navigation .et_slide_menu_top {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (min-width: 981px) {
    #et-top-navigation #et_mobile_nav_menu,
    #et-top-navigation .mobile_nav,
    #et-top-navigation .mobile_menu_bar {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    html.ff-force-mobile-nav #main-header #et-top-navigation #et_mobile_nav_menu,
    html.ff-force-mobile-nav #main-header #et-top-navigation #et_mobile_nav_menu .mobile_nav,
    html.ff-force-mobile-nav #main-header #et-top-navigation #et_mobile_nav_menu .mobile_menu_bar {
        display: flex !important;
        visibility: visible !important;
        width: auto !important;
        height: auto !important;
        min-width: 38px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    html.ff-force-mobile-nav #main-header #et-top-navigation #et_mobile_nav_menu .mobile_menu_bar {
        display: inline-flex !important;
        width: 38px !important;
        height: 38px !important;
        flex: 0 0 38px !important;
    }
}

@media (max-width: 980px) {
    #main-header #et-top-navigation #et_mobile_nav_menu,
    #main-header #et-top-navigation #et_mobile_nav_menu .mobile_nav {
        display: flex !important;
        visibility: visible !important;
        flex-shrink: 0 !important;
        min-width: 38px !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    #main-header #et-top-navigation #et_mobile_nav_menu .mobile_menu_bar {
        display: inline-flex !important;
        visibility: visible !important;
        width: 38px !important;
        min-width: 38px !important;
        height: 38px !important;
        flex: 0 0 38px !important;
        flex-shrink: 0 !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

/*
 * Icona carrello WooCommerce:
 * posizionata a destra in modo speculare allo slot logo, senza CTA aggiuntive.
 */
/*
 * Icona ricerca Divi — nascosta con !important perché alcuni header style
 * (centered/split) la forzano visibile anche senza icona funzionante.
 */
#et_top_search,
#et_search_icon,
.et_header_style_centered #et_top_search,
.et_header_style_split #et_top_search,
.et_header_style_fullscreen #et_top_search {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/*
 * Voce Home nel menu — il logo copre già la navigazione alla homepage.
 */
#top-menu > li.menu-item-home,
#top-menu > li.ff-hide-nav-item,
.et_mobile_menu > li.menu-item-home,
.et_mobile_menu > li.ff-hide-nav-item {
    display: none !important;
}

#et-top-navigation .et-cart-info {
    display: inline-flex;
    position: relative;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: var(--ff-text-main);
    float: none;
    line-height: 1;
    box-shadow: none;
    transition:
        transform 0.65s var(--ff-motion-soft),
        background-color 0.5s var(--ff-motion-soft),
        color 0.5s var(--ff-motion-soft),
        box-shadow 0.5s var(--ff-motion-soft);
    will-change: transform;
}

#et-top-navigation .et-cart-info::before {
    content: "\e07a" !important;
    display: block !important;
    font-family: ETmodules !important;
    font-size: 22px;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    color: inherit;
    -webkit-font-smoothing: antialiased;
}

/*
 * Nasconde lo span vuoto nativo Divi e neutralizza i ::before su tutti gli span
 * (Divi applica un secondo glyph cart su .et-cart-info span:before).
 */
#et-top-navigation .et-cart-info > span:first-child:not(.ff-cart-count-badge) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

#et-top-navigation .et-cart-info > span:first-child:not(.ff-cart-count-badge)::before,
#et-top-navigation .et-cart-info > span:first-child:not(.ff-cart-count-badge)::after,
#et-top-navigation .et-cart-info .ff-cart-count-badge::before,
#et-top-navigation .et-cart-info .ff-cart-count-badge::after {
    content: none !important;
    display: none !important;
}

#et-top-navigation .et-cart-info span.ff-cart-count-badge {
    position: absolute;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
}

#et-top-navigation .et-cart-info:hover {
    background: var(--ff-kodak-yellow);
    color: #ffffff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 26px rgba(250, 182, 23, 0.28);
}

#et-top-navigation .et-cart-info:hover .ff-cart-count-badge {
    color: var(--ff-text-main);
}

#et-top-navigation .et-cart-info.ff-cart-bump {
    animation: ff-cart-bump 0.7s var(--ff-motion-soft);
}

#et-top-navigation .ff-cart-count-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 0.58rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    box-shadow: none;
    pointer-events: none;
    transform: translate(-50%, calc(-50% + var(--ff-cart-badge-offset-y)));
}

#et-top-navigation .ff-cart-count-badge.ff-cart-count-badge--wide {
    font-size: 0.48rem;
    letter-spacing: -0.06em;
}

.ff-single-product-page .single_add_to_cart_button.ff-cart-dots-active { position:relative; }
.ff-purchase-label { display:inline-block; opacity:1; transition:opacity .18s ease; }
.ff-cart-dots-active .ff-purchase-label,.ff-buy-cart-active .ff-purchase-label { opacity:0; }
.ff-single-product-page .ff-buy-now-button.ff-buy-cart-active { position:relative; overflow:hidden; }
.ff-buy-now-cart { position:absolute; left:50%; top:50%; width:28px; height:28px; color:#fff; pointer-events:none; }
.ff-buy-now-cart svg { display:block; width:100%; height:100%; }
.ff-single-product-page .ff-buy-now-button.ff-buy-cart-active::after { display:none!important; }
.ff-single-product-page .single_add_to_cart_button.ff-cart-dots-active::after { display:none!important; }
.ff-cart-loading-dots { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; gap:7px; pointer-events:none; transition:opacity .16s ease; animation:ff-cart-dots-in .18s .18s both; }
@keyframes ff-cart-dots-in { from { opacity:0; } to { opacity:1; } }
.ff-cart-loading-dots > span { display:block; width:8px; height:8px; border-radius:50%; background:#fff; animation:ff-cart-dot-wave .6s ease-in-out infinite; }
.ff-cart-loading-dots > span:nth-child(2) { animation-delay:.1s; }
.ff-cart-loading-dots > span:nth-child(3) { animation-delay:.2s; }
@keyframes ff-cart-dot-wave { 0%,100% { transform:translateY(3px); } 50% { transform:translateY(-5px); } }
.ff-cart-loading-dots.is-merging > span { animation:ff-cart-dot-merge-center .28s ease forwards; }
.ff-cart-loading-dots.is-merging > span:first-child { animation-name:ff-cart-dot-merge-left; }
.ff-cart-loading-dots.is-merging > span:last-child { animation-name:ff-cart-dot-merge-right; }
@keyframes ff-cart-dot-merge-left { to { transform:translateX(15px); } }
@keyframes ff-cart-dot-merge-center { to { transform:translateY(0); } }
@keyframes ff-cart-dot-merge-right { to { transform:translateX(-15px); } }
.ff-cart-loading-dots.is-fading { animation:none; opacity:0; }
.ff-cart-fly-ball {
    position: fixed;
    z-index: 99999;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border-radius: 50%;
    background: var(--ff-text-muted);
    border: 2px solid #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.32);
    pointer-events: none;
    opacity: 1;
    transform: translate(0, 0) scale(1);
    transition:
        transform 1.15s cubic-bezier(0.22, 0.85, 0.28, 1),
        opacity 0.35s ease 0.95s;
}

@keyframes ff-cart-bump {
    0% { transform: translateY(0) scale(1); }
    35% { transform: translateY(-4px) scale(1.08); }
    100% { transform: translateY(0) scale(1); }
}

/*
 * Hamburger mobile — linee CSS su ::before/::after (no dipendenza da JS).
 * Divi inietta glyph ETmodules su ::before: lo sovrascriviamo con barre custom.
 */
.mobile_menu_bar {
    position: relative !important;
    display: none !important;
    width: 42px !important;
    height: 42px !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.05) !important;
    padding: 0 !important;
    line-height: 0 !important;
    cursor: pointer !important;
    transition:
        background-color 0.5s var(--ff-motion-soft),
        transform 0.65s var(--ff-motion-soft) !important;
    will-change: transform;
}

@media (max-width: 980px) {
    #et-top-navigation .mobile_menu_bar,
    #et-top-navigation #et_mobile_nav_menu .mobile_menu_bar,
    #main-header #et-top-navigation #et_mobile_nav_menu .mobile_menu_bar {
        display: inline-flex !important;
        visibility: visible !important;
        width: 38px !important;
        min-width: 38px !important;
        height: 38px !important;
        flex: 0 0 38px !important;
        flex-shrink: 0 !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

.mobile_menu_bar::before,
.mobile_menu_bar::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 20px !important;
    height: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background-color: #454A54 !important;
    font-family: inherit !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    pointer-events: none !important;
    transform-origin: center center !important;
    transition:
        transform 0.45s var(--ff-motion-soft),
        background-color 0.45s var(--ff-motion-soft) !important;
}

.mobile_menu_bar::before {
    transform: translate(-50%, calc(-50% - 5px)) !important;
}

.mobile_menu_bar::after {
    transform: translate(-50%, calc(-50% + 5px)) !important;
}

/* Span/svg originali Divi — nascosti (linee gestite da pseudo-elementi) */
.mobile_menu_bar > span:not(.ff-line-1):not(.ff-line-2),
.mobile_menu_bar > svg {
    display: none !important;
    visibility: hidden !important;
}

/* Fallback JS legacy — se presenti, non duplicare le linee */
.mobile_menu_bar .ff-line-1,
.mobile_menu_bar .ff-line-2 {
    display: none !important;
}

.mobile_menu_bar.ff-menu-open {
    background: var(--ff-kodak-red) !important;
}

.mobile_menu_bar.ff-menu-open::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
    background-color: #ffffff !important;
}

.mobile_menu_bar.ff-menu-open::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
    background-color: #ffffff !important;
}

/* Hover: sfondo giallo Kodak + linee bianche */
.mobile_menu_bar:hover {
    background: var(--ff-kodak-yellow) !important;
    transform: scale(1.04) !important;
}

.mobile_menu_bar:hover::before,
.mobile_menu_bar:hover::after {
    background-color: #ffffff !important;
}

/*
 * Mobile menu overlay — replica del .mobile-nav-island-overlay della landing:
 * padding aumentato da 1rem a 2rem 1.4rem e gap tra le voci allineato al riferimento.
 * !important necessario: Divi carica il suo CSS async dopo il nostro inline style.
 */
.et_mobile_menu {
    left: 0 !important;
    width: 100% !important;
    margin-top: 8px !important;
    max-height: calc(100vh - 88px) !important;
    overflow-y: auto !important;
    padding: 1.4rem 1.15rem !important;
    border: 0 !important;
    border-radius: 24px !important;
    background: var(--ff-kodak-red) !important;
    box-shadow: 0 18px 40px rgba(189, 0, 7, 0.28) !important;
    overscroll-behavior: contain !important;
}

/*
 * Voci mobile — replica di .mobile-nav-link dalla landing:
 * font-size 1.05rem, font-weight 800, letter-spacing 1px, gap verticale tramite padding.
 * !important per battere il CSS di Divi su .et_mobile_menu li a.
 */
.et_mobile_menu li a {
    display: flex !important;
    min-height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.62rem 0.85rem !important;
    border-bottom: 0 !important;
    border-radius: 16px !important;
    color: #ffffff !important;
    font-size: 0.94rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    transition:
        transform 0.5s var(--ff-motion-soft),
        background-color 0.45s var(--ff-motion-soft),
        color 0.45s var(--ff-motion-soft);
}

.et_mobile_menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ff-kodak-yellow);
    opacity: 1;
    transform: scale(1.03);
}

.et_mobile_menu .menu-item-has-children > a {
    position: relative;
    background: transparent;
}

/*
 * Nasconde il doppio indicatore submenu di Divi (caret nativo + nostro ::after).
 */
.et_mobile_menu .menu-item-has-children > a .et-pb-icon,
.et_mobile_menu .menu-item-has-children > a .et-pb-icon-wrap,
.et_mobile_menu .menu-item-has-children > a > span:not(.ff-submenu-label) {
    display: none !important;
}

.et_mobile_menu > .menu-item-has-children > a::after {
    content: "3";
    position: absolute;
    right: 1rem;
    top: 50%;
    color: currentColor;
    font-family: ETmodules;
    font-size: 1rem;
    line-height: 1;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.35s var(--ff-motion-soft), color 0.35s ease;
}

.et_mobile_menu > .menu-item-has-children.ff-submenu-open > a {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ff-kodak-yellow) !important;
    -webkit-text-fill-color: var(--ff-kodak-yellow) !important;
}

.et_mobile_menu > .menu-item-has-children.ff-submenu-open > a::after {
    transform: translateY(-50%) rotate(180deg);
}

.et_mobile_menu ul.sub-menu {
    max-height: 0;
    overflow: hidden;
    padding-left: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.45s var(--ff-motion-soft), opacity 0.35s ease, transform 0.35s ease;
}

.et_mobile_menu .ff-submenu-open > ul.sub-menu {
    max-height: 520px;
    opacity: 1;
    transform: translateY(0);
}

.et_mobile_menu ul.sub-menu li a {
    min-height: 34px;
    margin: 0.08rem 0;
    padding: 0.52rem 0.85rem;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 760;
    letter-spacing: 0.03em;
}

/*
 * Tendina "Foto idee" — linea gialla Kodak sotto "Foto tela" (fine sottovoci).
 * Visibile solo con .ff-submenu-open; scompare alla chiusura della tendina.
 */
.et_mobile_menu > .ff-nav-foto-idee.ff-submenu-open > ul.sub-menu > li.ff-submenu-end-divider::after {
    content: '';
    display: block;
    width: min(72%, 230px);
    height: 2.5px;
    margin: 0.48rem auto 0.12rem;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(250, 182, 23, 0.55) 12%,
        var(--ff-kodak-yellow) 50%,
        rgba(250, 182, 23, 0.55) 88%,
        transparent 100%
    );
    box-shadow: 0 0 6px rgba(250, 182, 23, 0.35);
    opacity: 1;
    pointer-events: none;
}

@media (min-width: 981px) {
    body.et_fixed_nav #page-container,
    body.et_show_nav #page-container,
    #page-container {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    #main-header {
        top: 8px !important;
        width: 94% !important;
    }

/*
 * Altezza container fissa 60px — elimina il disallineamento al top-pagina.
 * Divi cambia padding/min-height del container tra stato "default" e "scrollato";
 * con height:60px!important il calcolo top:50%+translateY(-50%) è sempre deterministico.
 */
    #main-header .container.et_menu_container {
        position: relative !important;
        height: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
        padding: 0 1.2rem !important;
        transition: none !important;
    }

/*
 * Navbar desktop — centering stabile con top:0/bottom:0.
 * top:50%+translateY(-50%) dipende dall'altezza del container e salta
 * se Divi JS la modifica di 1px. Con top:0;bottom:0;align-items:center
 * il centramento verticale è sempre corretto indipendentemente dall'altezza.
 */
    #top-menu-nav {
        display: flex !important;
        position: absolute !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        height: auto !important;
        flex: none !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 999 !important;
        white-space: nowrap !important;
        overflow: visible !important;
        transition: none !important;
    }

    #et-top-navigation {
        flex: 0 0 auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        justify-content: flex-end;
        align-items: center;
        transition: none !important;
    }

    #top-menu {
        display: flex !important;
        align-items: center !important;
        overflow: visible !important;
    }

/*
 * position:relative su ogni li → positioning context corretto per il dropdown ul.
 * Senza questo il dropdown si posiziona rispetto a #top-menu-nav o al container
 * causando l'espansione laterale invece che verso il basso.
 */
    #top-menu > li {
        position: relative !important;
        display: inline-flex !important;
        align-items: center !important;
        padding: 0 !important;
        overflow: visible !important;
    }

/*
 * Hover bridge: elemento trasparente sotto ogni voce con sottomenù.
 * Copre il margin-top:8px del dropdown, impedendo che mouseleave scatti
 * durante il transito del cursore dalla voce al pannello.
 */
    #top-menu > li.menu-item-has-children::after {
        content: '';
        position: absolute;
        bottom: -12px;
        left: 0;
        right: 0;
        height: 12px;
        background: transparent;
        pointer-events: auto;
        z-index: 99999;
        display: block !important;
    }
}

@media (min-width: 1100px) {
    #top-menu {
        gap: 0.35rem;
    }

    #top-menu > li > a {
        padding-right: 0.86rem !important;
        padding-left: 0.86rem !important;
        font-size: 0.94rem !important;
    }
}

@media (max-width: 980px) {
/*
 * Mobile header — allineamento compatto come navbar-inner della landing (padding 0.08rem 0.78rem).
 * Il container flex deve restare centrato verticalmente fra logo, carrello e hamburger.
 */
    #main-header {
        top: 10px;
        width: calc(100% - 20px);
        min-height: 54px;
    }

    #main-header .container.et_menu_container {
        min-height: 54px;
        padding: 0.08rem 0.78rem;
        gap: 0.4rem;
    }

    #main-header #logo {
        max-width: 130px;
        max-height: 40px;
    }

    #et-top-navigation {
        flex: 0 0 auto;
        gap: 0.65rem;
        align-items: center;
    }

    #et-top-navigation #top-menu-nav {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    #et-top-navigation #et_mobile_nav_menu,
    #et-top-navigation #et_mobile_nav_menu .mobile_nav {
        display: flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
        width: auto !important;
        height: auto !important;
        min-width: 38px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    #et-top-navigation #et_mobile_nav_menu .mobile_nav > ul.et_mobile_menu,
    #et-top-navigation #et_mobile_nav_menu .mobile_nav > ul#mobile_menu {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    #et-top-navigation #et_mobile_nav_menu .mobile_nav.opened > ul.et_mobile_menu,
    #et-top-navigation #et_mobile_nav_menu .mobile_nav.opened > ul#mobile_menu {
        display: block !important;
        width: auto !important;
        height: auto !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    #et-top-navigation #et_mobile_nav_menu .mobile_nav > *:not(.mobile_menu_bar):not(ul.et_mobile_menu):not(ul#mobile_menu) {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    #et-top-navigation > *:not(.et-cart-info):not(#et_mobile_nav_menu):not(#top-menu-nav) {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    #main-header #et_search_icon,
    #main-header #et_top_search,
    #main-header .et-search-form,
    #main-header .et_close_search_field {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /*
     * Ordine mobile: hamburger (a sinistra del cart) → cart (a destra).
     * L'ordine va impostato su #et_mobile_nav_menu (flex item diretto di #et-top-navigation)
     * NON su .mobile_menu_bar che è annidato dentro #et_mobile_nav_menu.
     * align-self: center garantisce stesso asse Y di logo e cart.
     */
    #et_mobile_nav_menu {
        order: 1 !important;
        display: flex !important;
        visibility: visible !important;
        align-items: center !important;
        align-self: center !important;
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
        width: auto !important;
        min-width: 38px !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    #et-top-navigation #et_mobile_nav_menu {
        min-width: 38px !important;
        flex-shrink: 0 !important;
    }

    #et_mobile_nav_menu .mobile_nav {
        display: flex !important;
        align-items: center !important;
        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    /*
     * .mobile_nav è il padre diretto di .mobile_menu_bar.
     * Senza questo, .mobile_menu_bar si posiziona in cima al .mobile_nav
     * invece che al centro — il wrapper esterno non riesce a centrare
     * perché .mobile_nav occupa tutta l'altezza disponibile.
     */
    .mobile_nav {
        display: flex !important;
        align-items: center !important;
        height: 38px !important;
    }

    #et-top-navigation .et-cart-info {
        order: 2 !important;
        width: 38px !important;
        height: 38px !important;
        flex-basis: 38px !important;
        align-self: center !important;
    }

    #et-top-navigation .ff-cart-count-badge {
        font-size: 0.56rem;
    }

    #main-header #et-top-navigation #et_mobile_nav_menu .mobile_menu_bar {
        display: inline-flex !important;
        visibility: visible !important;
        width: 38px !important;
        min-width: 38px !important;
        height: 38px !important;
        flex: 0 0 38px !important;
        flex-shrink: 0 !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .mobile_menu_bar {
        width: 38px !important;
        min-width: 38px !important;
        height: 38px !important;
        flex-shrink: 0 !important;
        align-self: center !important;
    }

    /* Logo stesso asse Y degli altri elementi mobile */
    #main-header .logo_container {
        align-self: center !important;
        display: flex !important;
        align-items: center !important;
    }

/*
 * Dropdown mobile — padding più ariosi e border-radius come il mobile-nav-island-overlay
 * della landing: 2rem 1.4rem, border-radius 24px, gap verticale uniforme tra le voci.
 */
    .et_mobile_menu {
        margin-top: 8px !important;
        padding: 1.3rem 1.05rem !important;
        border-radius: 22px !important;
    }

    .et_mobile_menu li a {
        min-height: 38px !important;
        padding: 0.58rem 0.85rem !important;
        font-size: 0.92rem !important;
    }
}

@media (max-width: 374px) {
    #main-header {
        width: calc(100% - 16px);
    }

    #main-header .container.et_menu_container {
        padding-right: 0.55rem;
        padding-left: 0.55rem;
    }

    #main-header #logo {
        max-width: 112px;
    }
}

/* ================================================================
 * HERO SECTION — override di .et_pb_section_0
 * Replica la hero-section della landing Stampakodak (mobile-first).
 * La classe .ff-hero-section viene aggiunta via JS (wp_footer):
 * tutti gli override operano SOLO quando la classe è presente,
 * rendendo sicuro l'uso su qualsiasi altra pagina Divi.
 *
 * Mobile:   sfondo-mobile.jpeg, gradiente bianco→trasparente dal basso verso l'alto,
 *           contenuto centrato in fondo alla sezione.
 * Desktop:  sfondo-desktop.jpeg, gradiente bianco→trasparente da sinistra verso destra,
 *           contenuto allineato a sinistra, verticalmente centrato.
 * ================================================================ */

/* 1. Nasconde le righe Divi originali — solo quando il JS ha attivato il layout hero */
.et_pb_section_0.ff-hero-section .et_pb_row {
    display: none !important;
}

/* 2. Trasforma la sezione nel contenitore hero — mobile first */
.et_pb_section_0.ff-hero-section {
    position: relative !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    overflow: hidden !important;
    background: transparent !important;
}

/* 3. Pseudo-elemento: gradiente bianco→trasparente + immagine di sfondo mobile */
.et_pb_section_0.ff-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0)    0%,
            rgba(255, 255, 255, 0.30) 35%,
            rgba(255, 255, 255, 0.98) 65%,
            #ffffff                  82%
        ),
        var(--ff-hero-bg-mobile, linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%));
    /* Gradiente full-bleed; foto a larghezza piena senza crop orizzontale (destra visibile) */
    background-size: 100% 100%, 100% auto;
    background-position: center top, center top;
    background-repeat: no-repeat;
    z-index: 0;
}

/* 4. Film-separator dalla landing Stampakodak — striscia Kodak Yellow in fondo alla sezione */
.ff-hero-section .ff-film-separator {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 32px;
    z-index: 10;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--ff-kodak-yellow);
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='32' viewBox='0 0 24 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='6' y='7' width='12' height='18' rx='2' fill='white'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;
}

/* 5. Wrapper contenuto hero — mobile: centrato in basso */
.ff-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 1.5rem 5.75rem;
    text-align: center;
}

.ff-hero-content {
    width: 100%;
}

/* 6. Kicker — rimosso dalla hero (testo + pillola rossa) */
.ff-hero-kicker {
    display: none !important;
}

/* 7. Titolo hero — font-size fluido su mobile, ombra per leggibilità sul gradiente */
.ff-hero-title {
    margin: 0 0 1rem;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: clamp(3rem, 13vw, 3.8rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1.5px;
    text-shadow: 0 2px 14px rgba(255, 255, 255, 0.92);
}

/* Span rosso Kodak nel titolo */
.ff-hero-highlight {
    color: var(--ff-kodak-red);
}

/* 8. Sottotitolo hero */
.ff-hero-subtitle {
    max-width: 620px;
    margin: 0 auto 2rem;
    padding: 0 0.25rem;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.55;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.85);
}

/* Testo rosso inline nel sottotitolo */
.ff-hero-subtitle .ff-text-red {
    color: var(--ff-kodak-red);
}

/* "momenti" — rosso Kodak, leggermente più pesante del testo circostante */
.ff-hero-subtitle .ff-subtitle-momenti {
    color: var(--ff-kodak-red);
    font-weight: 600;
}

/* A-capo mostrato solo su mobile */
.ff-mobile-br {
    display: block;
}

@media (min-width: 768px) {
    .ff-mobile-br {
        display: none;
    }
}

/* 9. Wrapper CTA — colonna centrata su mobile */
.ff-hero-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

/* 10. Bottone CTA — pillola Kodak Yellow, replica hero-cta-btn della landing */
.ff-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 70px;
    padding: 0 2.2rem;
    border-radius: 999px;
    background: var(--ff-kodak-yellow);
    color: #fff !important;
    font-family: "Inter", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: 0 15px 30px rgba(250, 182, 23, 0.35);
    transition:
        transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.35s ease,
        background-color 0.35s ease;
    user-select: none;
    cursor: pointer;
}

.ff-hero-btn:hover {
    background: var(--ff-kodak-red);
    box-shadow: 0 18px 34px rgba(189, 0, 7, 0.22);
    transform: translateY(-4px) scale(1.02);
    color: #fff !important;
}

/* 11. Link secondario "Scopri il servizio" */
.ff-hero-link {
    display: inline-block;
    color: var(--ff-text-muted);
    font-family: "Inter", sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ff-hero-link:hover {
    color: var(--ff-kodak-red);
}

/* ================================================================
 * HERO DESKTOP — ≥981px
 * Sfondo desktop (gradiente orizzontale), testo a sinistra,
 * layout verticalmente centrato — replica la hero desktop della landing.
 * ================================================================ */
@media (min-width: 981px) {
    /* Layout: flessibile verso sinistra */
    .et_pb_section_0.ff-hero-section {
        align-items: flex-start !important;
        justify-content: center !important;
        padding-top: 0 !important;
    }

    /* Gradiente da sinistra (bianco) verso destra (trasparente) + immagine desktop */
    .et_pb_section_0.ff-hero-section::before {
        background-image:
            linear-gradient(
                to right,
                #ffffff                  10%,
                rgba(255, 255, 255, 0.80) 35%,
                rgba(255, 255, 255, 0)   65%
            ),
            var(--ff-hero-bg-desktop, var(--ff-hero-bg-mobile, linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%)));
        background-size: cover;
        background-position: center center;
    }

    /* Contenuto in colonna a sinistra, allineato al container globale */
    .ff-hero-inner {
        width: 94%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1.5rem;
        text-align: left;
    }

    /* Titolo — testo corto, font molto grande come nella landing */
    .ff-hero-title {
        font-size: clamp(5.2rem, 7vw, 7rem);
        letter-spacing: -3px;
        text-shadow: none;
        line-height: 0.95;
    }

    /* Sottotitolo più grande, allineato a sinistra */
    .ff-hero-subtitle {
        margin-left: 0;
        font-size: 1.45rem;
        font-weight: 500;
        line-height: 1.5;
        text-shadow: none;
    }

    /* CTA allineata a sinistra su desktop */
    .ff-hero-cta-wrap {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 1.5rem;
    }
}

/* ================================================================
 * HERO MOBILE SMALL — ≤480px
 * Riduzione font-size per schermi molto piccoli.
 * ================================================================ */
@media (max-width: 480px) {
    .ff-hero-inner {
        padding: 0 1.25rem 5.75rem;
    }

    .ff-hero-title {
        font-size: clamp(2.7rem, 12vw, 3.2rem);
        letter-spacing: -1px;
    }

    .ff-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.6rem;
    }

    .ff-hero-btn {
        min-width: 200px;
        min-height: 58px;
        font-size: 1rem;
    }
}

/* ================================================================
 * MOBILE HAMBURGER MENU — visibilità legata allo stato Divi .opened/.closed
 * Il position:fixed va SOLO quando aperto: altrimenti il menu resta visibile
 * anche con .mobile_nav.closed (comportamento visto su produzione).
 * ================================================================ */
@media (max-width: 980px) {
    #et-top-navigation .mobile_nav.closed > ul.et_mobile_menu,
    #et-top-navigation .mobile_nav:not(.opened) > ul.et_mobile_menu {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        opacity: 0 !important;
    }

    #et-top-navigation .mobile_nav.opened > ul.et_mobile_menu {
        position: fixed !important;
        top: 68px !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        max-height: calc(100dvh - 74px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        z-index: 100002 !important;
        display: block !important;
        visibility: visible !important;
        pointer-events: auto !important;
        opacity: 1 !important;
    }

    html.admin-bar #et-top-navigation .mobile_nav.opened > ul.et_mobile_menu {
        top: 114px !important;
        max-height: calc(100dvh - 120px) !important;
    }
}

@media (max-width: 374px) {
    #et-top-navigation .mobile_nav.opened > ul.et_mobile_menu {
        left: 8px !important;
        right: 8px !important;
    }
}

/* ================================================================
 * HERO MOBILE — sfondo + blocco testi/CTA più in alto
 * ================================================================ */
@media (max-width: 980px) {
    .et_pb_section_0.ff-hero-section::before {
        background-size: 100% 100%, 100% auto;
        background-position: center top, center calc(-32vw);
    }

    .ff-hero-inner {
        padding-bottom: 6rem;
    }
}

/* Smartphone: famiglia intera, senza crop laterale, nella parte alta della hero. */
@media (max-width: 767px) {
    .et_pb_section_0.ff-hero-section::before {
        background-size: 100% 100%, 100% auto;
        background-position: center top, center calc(-32vw);
    }
}

/* ================================================================
 * MOBILE MENU — centramento sottovoci dei dropdown
 * Divi applica padding-left e/o margin-left alle <ul> nested che
 * sposta le sottovoci verso destra. Si azzerano e si forza il
 * display flex centrato su ogni <a> di sottomenu.
 * Selettori interessati: .sub-menu, li ul
 * ================================================================ */
@media (max-width: 980px) {
    /* Rimuove indentazione sul contenitore ul nested */
    .et_mobile_menu li ul,
    .et_mobile_menu .sub-menu {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        text-align: center !important;
        list-style: none !important;
    }

    /* Rimuove offset sui singoli li figli */
    .et_mobile_menu li ul > li,
    .et_mobile_menu .sub-menu > li {
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        width: 100% !important;
    }

    /* Centra perfettamente il testo di ogni sottovoce */
    .et_mobile_menu li ul > li > a,
    .et_mobile_menu .sub-menu > li > a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0.7rem 0.9rem !important;
    }
}

/* ================================================================
 * SEZIONE "PERCHÈ AFFIDARTI A NOI?" — override .et_pb_section_1
 * Replica feature-card della landing Stampakodak (#qualita).
 * Mobile: titolo → testo → card | Desktop: card sx, testo dx.
 * ================================================================ */
.et_pb_section_1.ff-why-section .et_pb_row {
    display: none !important;
}

.et_pb_section_1.ff-why-section {
    padding: 4rem 0 !important;
    background: var(--ff-bg-main) !important;
}

.ff-why-inner {
    position: relative;
    z-index: 2;
    width: 94%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ff-why-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.ff-why-title {
    margin: 0;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: clamp(2rem, 8vw, 2.9rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -1px;
}

.ff-why-highlight {
    color: var(--ff-kodak-red);
}

.ff-why-layout {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.ff-why-text {
    order: 2;
}

.ff-why-cards {
    order: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.ff-why-text-heading {
    margin: 0 0 1.1rem;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.25;
}

.ff-why-text p {
    margin: 0 0 1rem;
    color: var(--ff-text-muted);
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
}

.ff-why-text p:last-child {
    margin-bottom: 0;
}

/* Feature cards — replica landing #qualita */
.ff-why-section .ff-feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 312px;
    padding: 2.75rem 1.35rem;
    border: 3px solid transparent;
    border-radius: 30px;
    background: var(--ff-kodak-yellow);
    color: #000;
    box-shadow: 0 20px 40px rgba(250, 182, 23, 0.15);
    text-align: center;
    transition:
        opacity 3.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 3.2s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s var(--ff-motion-soft),
        box-shadow 0.4s var(--ff-motion-soft);
}

/* Card reveal — replica landing .feature-card-wrapper.animate-fade-in */
.ff-why-section .ff-feature-card.ff-animate-fade-in {
    opacity: 0;
    transform: translateY(28px);
}

.ff-why-section .ff-feature-card.ff-animate-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ff-why-section .ff-feature-card.ff-animate-fade-in.is-visible:hover,
.ff-why-section .ff-feature-card.ff-animate-fade-in.is-visible.is-active {
    transform: translateY(-8px);
    border-color: var(--ff-kodak-red);
    box-shadow: 0 30px 60px rgba(189, 0, 7, 0.2);
}

.ff-why-section .ff-feature-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    gap: 0.65rem;
}

@media (hover: hover) and (pointer: fine) {
    .ff-why-section .ff-feature-card:not(.ff-animate-fade-in):hover {
        transform: translateY(-8px);
        border-color: var(--ff-kodak-red);
        box-shadow: 0 30px 60px rgba(189, 0, 7, 0.2);
    }
}

.ff-why-section .ff-feature-icon-top {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #000;
    opacity: 0.95;
}

.ff-why-section .ff-feature-icon-top svg {
    width: 100%;
    height: 100%;
}

.ff-why-section .ff-kodak-corner-icon {
    width: 74px;
    height: 74px;
    object-fit: contain;
}

.ff-why-section .ff-feature-number-wrap {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 82px;
    margin: 0;
    color: var(--ff-kodak-red);
    font-family: "Inter", sans-serif;
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1;
}

.ff-why-section .ff-fadini-care-wrap,
.ff-why-section .ff-courier-icon-wrap {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 82px;
    margin: 0;
}

/* Logo Fadini — slide-up + fade (landing .kodak-logo-animated-wrapper) */
.ff-why-section .ff-kodak-logo-animated {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 3.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 3.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ff-why-section .ff-fadini-care {
    transform: translateX(-24px);
}

.ff-why-section .ff-kodak-logo-animated.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ff-why-section .ff-fadini-care.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Icona corriere — slide-in da sinistra (landing .courier-icon-wrapper) */
.ff-why-section .ff-courier-icon-wrap {
    height: 118px;
    opacity: 0;
    transform: translateX(-34px);
    transition:
        opacity 5.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 5.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ff-why-section .ff-courier-icon-wrap.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.ff-why-section .ff-fadini-card-logo {
    width: 150px;
}

.ff-why-section .ff-courier-card-icon {
    width: 190px;
    max-height: 112px;
    object-fit: contain;
    object-position: center center;
    filter:
        brightness(0.78)
        saturate(1.12)
        contrast(1.08)
        drop-shadow(0 14px 18px rgba(0, 0, 0, 0.14));
}

.ff-why-section .ff-feature-card-title {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
    color: var(--ff-kodak-red);
    font-family: "Inter", sans-serif;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.2px;
    text-align: center;
    text-transform: uppercase;
}

.ff-why-section .ff-feature-card-desc {
    flex: 0 0 auto;
    width: 100%;
    max-width: 290px;
    margin: 0 auto;
    padding: 0;
    color: rgba(0, 0, 0, 0.82);
    font-family: "Inter", sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.42;
    text-align: center;
}

.ff-why-section .ff-shipping-card-desc {
    max-width: 310px;
}

.ff-why-section .ff-feature-card:has(.ff-shipping-card-desc) {
    min-height: 370px;
    padding-bottom: 2.75rem;
}

@media (min-width: 981px) {
    .ff-why-text-more {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

.ff-why-section .ff-nowrap {
    white-space: nowrap;
}

@media (max-width: 980px) {
    .ff-why-section .ff-feature-card {
        min-height: 300px;
        padding: 2.5rem 1.3rem;
    }

    .ff-why-section .ff-feature-icon-top {
        top: 1.35rem;
        right: 1.35rem;
    }
}

@media (min-width: 981px) {
    .et_pb_section_1.ff-why-section {
        padding: 5rem 0 !important;
    }

    .ff-why-header {
        margin-bottom: 3rem;
    }

    .ff-why-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        gap: 2.5rem 2.75rem;
        align-items: stretch;
    }

    .ff-why-cards {
        order: 1;
        grid-column: 1;
        grid-row: 1;
        display: grid;
        grid-auto-rows: minmax(min-content, 1fr);
        gap: 1rem;
        height: 100%;
    }

    .ff-why-text {
        order: 2;
        grid-column: 2;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    .ff-why-text-heading {
        font-size: 1.6rem;
        margin-bottom: 1.35rem;
    }

    .ff-why-text p {
        font-size: 1.1rem;
        line-height: 1.68;
        margin-bottom: 1.05rem;
    }

    .ff-why-text p:last-child {
        margin-bottom: 0;
    }

    /* Card proporzionali: contenuto centrato nella card */
    .ff-why-section .ff-feature-card,
    .ff-why-section .ff-feature-card:has(.ff-shipping-card-desc) {
        flex: none;
        min-height: 0;
        padding: 2rem 1.8rem;
        justify-content: center;
    }

    .ff-why-section .ff-feature-card-body {
        gap: 0.55rem;
    }

    .ff-why-section .ff-feature-number-wrap,
    .ff-why-section .ff-fadini-care-wrap,
    .ff-why-section .ff-courier-icon-wrap {
        flex: 0 0 auto;
        height: 82px;
        min-height: 82px;
        max-height: 82px;
    }

    .ff-why-section .ff-feature-number-wrap {
        font-size: clamp(2.4rem, 3.2vw, 3.2rem);
    }

    .ff-why-section .ff-fadini-card-logo {
        width: clamp(110px, 9vw, 140px);
    }

    .ff-why-section .ff-courier-card-icon {
        width: clamp(165px, 13vw, 190px);
        max-height: 100px;
    }

    .ff-why-section .ff-courier-icon-wrap {
        height: 104px;
        min-height: 104px;
        max-height: 104px;
    }

    .ff-why-section .ff-feature-card-title {
        margin: 0;
        font-size: 1.15rem;
    }

    .ff-why-section .ff-feature-card-desc {
        margin: 0 auto;
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .et_pb_section_1.ff-why-section {
        padding: 3.25rem 0 !important;
    }

    .ff-why-inner {
        padding: 0 1.25rem;
    }

    .ff-why-title {
        font-size: clamp(1.35rem, 6vw, 1.65rem);
        letter-spacing: -0.045em;
        white-space: nowrap;
    }

    .ff-why-header {
        margin-bottom: 2rem;
    }

    .ff-why-layout {
        gap: 2rem;
    }

    .ff-why-section .ff-feature-card {
        min-height: 290px;
        padding: 2.35rem 1.2rem;
    }
}

/* ================================================================
 * SEZIONE "SCEGLI IL SERVIZIO" — override .et_pb_section_2
 * Card con foto di sfondo + velo bianco per leggibilità titolo.
 * ================================================================ */
.et_pb_section.ff-services-section .et_pb_row {
    display: none !important;
}

.et_pb_section.ff-services-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 4rem 0 !important;
    background: var(--ff-bg-soft) !important;
}

.ff-services-inner {
    width: 94%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ff-services-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.ff-services-title {
    margin: 0;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: clamp(2rem, 8vw, 2.9rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -1px;
}

.ff-services-highlight {
    color: var(--ff-kodak-red);
}

.ff-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.ff-service-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 2rem 1.5rem;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--ff-shadow-soft);
    color: inherit;
    text-align: center;
    text-decoration: none !important;
    transition:
        transform 0.45s var(--ff-motion-soft),
        box-shadow 0.45s var(--ff-motion-soft),
        border-color 0.35s ease;
}

/* Foto di sfondo — variabile --ff-service-bg-image impostata inline da PHP */
.ff-service-card--has-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background-color: #fff;
    background-image: var(--ff-service-bg-image);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 0.55s var(--ff-motion-soft);
}

/* Velo leggero — il titolo ha già pill bianca dedicata */
.ff-service-card--has-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.38);
    transition: background 0.45s ease;
}

.ff-service-card-title {
    position: relative;
    z-index: 2;
    display: inline-block;
    max-width: 88%;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ff-kodak-red);
    font-family: "Inter", sans-serif;
    font-size: clamp(1rem, 4vw, 1.2rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.2px;
    text-transform: uppercase;
    box-shadow:
        0 2px 12px rgba(255, 255, 255, 0.9),
        0 6px 16px rgba(15, 23, 42, 0.08);
    transition:
        color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.ff-service-card:hover,
.ff-service-card:active,
.ff-service-card:focus-visible {
    transform: translateY(-8px);
    border-color: var(--ff-kodak-yellow);
    box-shadow: 0 20px 40px rgba(250, 182, 23, 0.2);
}

.ff-service-card--has-bg:hover::after,
.ff-service-card--has-bg:active::after,
.ff-service-card--has-bg:focus-visible::after {
    background: rgba(255, 255, 255, 0.24);
}

.ff-service-card--has-bg:hover::before,
.ff-service-card--has-bg:active::before,
.ff-service-card--has-bg:focus-visible::before {
    transform: scale(1.04);
}

.ff-service-card:hover .ff-service-card-title,
.ff-service-card:active .ff-service-card-title,
.ff-service-card:focus-visible .ff-service-card-title {
    color: var(--ff-kodak-red);
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 2px 14px rgba(255, 255, 255, 1),
        0 8px 20px rgba(250, 182, 23, 0.16);
}

@media (min-width: 600px) and (max-width: 980px) {
    .ff-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .ff-service-card {
        min-height: 220px;
    }
}

@media (min-width: 981px) {
    .et_pb_section.ff-services-section {
        padding: 5rem 0 !important;
    }

    .ff-services-header {
        margin-bottom: 3rem;
    }

    .ff-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .ff-service-card {
        min-height: 300px;
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .et_pb_section.ff-services-section {
        padding: 3.25rem 0 !important;
    }

    .ff-services-inner {
        padding: 0 1.25rem;
    }

    .ff-services-header {
        margin-bottom: 2rem;
    }
}

/* ================================================================
 * SEZIONE "I NOSTRI CLIENTI" — replica landing #clienti
 * Carousel recensioni, 1 card mobile / 3 card desktop.
 * ================================================================ */
.et_pb_section.ff-clients-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 4rem 0 !important;
    background: #fff !important;
}

.ff-clients-inner {
    width: 94%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ff-clients-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.ff-clients-title {
    margin: 0;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: clamp(2rem, 8vw, 2.9rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -1px;
}

.ff-clients-highlight {
    color: var(--ff-kodak-red);
}

.ff-clients-carousel {
    position: relative;
}

.ff-clients-viewport {
    overflow: hidden;
    padding: 1rem 0.15rem 2.25rem;
    touch-action: pan-y;
    overscroll-behavior-x: contain;
}

.ff-clients-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.55s var(--ff-motion-soft);
    will-change: transform;
}

.ff-clients-track.is-dragging {
    transition: none;
}

.ff-review-card {
    flex: 0 0 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 326px;
    padding: 1.35rem;
    border: 2px solid var(--ff-border-soft);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
    transition:
        transform 0.4s var(--ff-motion-soft),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    .ff-review-card:hover {
        transform: translateY(-8px);
        border-color: var(--ff-kodak-yellow);
        box-shadow: 0 26px 55px rgba(250, 182, 23, 0.18);
    }
}

.ff-review-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    margin-bottom: 1.05rem;
    text-align: left;
}

.ff-review-avatar {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ff-kodak-red);
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 1.15rem;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(189, 0, 7, 0.18);
}

.ff-review-head h3 {
    margin: 0;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.1;
}

.ff-review-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
}

.ff-review-rating span {
    color: var(--ff-kodak-yellow);
    font-size: 1.28rem;
    letter-spacing: 1.5px;
    line-height: 1;
    text-shadow: 0 5px 12px rgba(250, 182, 23, 0.2);
}

.ff-review-text {
    margin: 0;
    color: #475569;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.48;
    text-align: center;
}

.ff-clients-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.ff-clients-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid var(--ff-border-soft);
    border-radius: 999px;
    background: #fff;
    color: var(--ff-text-main);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    transition:
        transform 0.35s ease,
        background-color 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        opacity 0.35s ease;
}

.ff-clients-arrow svg {
    width: 22px;
    height: 22px;
}

@media (hover: hover) and (pointer: fine) {
    .ff-clients-arrow:hover:not(:disabled) {
        transform: translateY(-3px);
        border-color: var(--ff-kodak-yellow);
        background: var(--ff-kodak-yellow);
        color: #fff;
    }
}

.ff-clients-arrow:disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: default;
}

@media (min-width: 768px) {
    .ff-clients-header {
        margin-bottom: 3rem;
    }

    .ff-clients-track {
        gap: 1.5rem;
    }

    .ff-review-card {
        flex: 0 0 calc((100% - 3rem) / 3);
        min-height: 350px;
        padding: 1.55rem;
    }

    .ff-clients-controls {
        justify-content: flex-end;
    }
}

@media (min-width: 981px) {
    .et_pb_section.ff-clients-section {
        padding: 5rem 0 !important;
    }
}

@media (max-width: 480px) {
    .et_pb_section.ff-clients-section {
        padding: 3.25rem 0 !important;
    }

    .ff-clients-inner {
        padding: 0 1.25rem;
    }

    .ff-clients-header {
        margin-bottom: 2rem;
    }

    .ff-review-card {
        min-height: 300px;
        padding: 1.25rem;
    }

    .ff-review-text {
        font-size: 0.95rem;
        line-height: 1.45;
    }
}

/* ================================================================
 * SEZIONE FAQ — replica landing #faq (senza sottotitolo)
 * Accordion singolo-apertura, animazioni e colori dalla landing.
 * ================================================================ */
.et_pb_section.ff-faq-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    overflow: hidden;
    padding: 4rem 0 1rem !important;
    background: #fff !important;
}

.ff-faq-inner {
    width: 94%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ff-faq-layout {
    display: block;
}

.ff-faq-copy {
    margin-bottom: 4rem;
    text-align: center;
}

.ff-faq-badge {
    display: inline-flex;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(189, 0, 7, 0.06);
    color: var(--ff-kodak-red);
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.8px;
}

.ff-faq-title {
    margin: 1.2rem 0 0;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: clamp(2.2rem, 8vw, 3.4rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.3px;
}

.ff-faq-highlight {
    color: var(--ff-kodak-red);
}

.ff-faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.ff-faq-item {
    overflow: hidden;
    border: 1.5px solid rgba(15, 23, 42, 0.06);
    border-radius: 20px;
    background: rgba(248, 250, 252, 0.72);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
    .ff-faq-item:hover {
        border-color: rgba(189, 0, 7, 0.15);
        transform: translateY(-2px);
    }
}

.ff-faq-item.is-open {
    border-color: rgba(189, 0, 7, 0.2);
    background: #fff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

.ff-faq-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.ff-faq-question-text {
    display: block;
    margin: 0;
    padding-right: 1.5rem;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
}

.ff-faq-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ff-kodak-yellow);
    color: #000;
    font-family: "Inter", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(250, 182, 23, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ff-faq-item.is-open .ff-faq-icon {
    background: var(--ff-kodak-red);
    color: #fff;
    box-shadow: 0 4px 10px rgba(189, 0, 7, 0.2);
    transform: rotate(180deg);
}

.ff-faq-answer {
    overflow: hidden;
    max-height: 0;
    padding: 0 1.5rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ff-faq-item.is-open .ff-faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
    opacity: 1;
}

.ff-faq-answer-text {
    margin: 0;
    color: var(--ff-text-muted);
    font-family: "Inter", sans-serif;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.55;
}

@media (max-width: 767px) {
    .ff-faq-copy {
        width: 100vw;
        margin-left: calc(50% - 50vw + 8px);
        padding: 0 1rem;
        text-align: center;
    }

    .ff-faq-title {
        position: relative;
        left: 50%;
        width: max-content;
        max-width: calc(100vw - 2rem);
        font-size: clamp(2.05rem, 9vw, 2.42rem);
        line-height: 1;
        letter-spacing: -1px;
        text-align: center;
        transform: translateX(-50%);
        white-space: nowrap;
    }
}

@media (min-width: 768px) {
    .ff-faq-layout {
        display: block;
    }

    .ff-faq-copy {
        position: static;
        text-align: center;
    }

    .ff-faq-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .et_pb_section.ff-faq-section {
        padding: 3.25rem 0 1rem !important;
    }

    .ff-faq-inner {
        padding: 0 1.25rem;
    }

    .ff-faq-copy {
        margin-bottom: 2.5rem;
    }

    .ff-faq-btn {
        padding: 1.25rem;
    }

    .ff-faq-question-text {
        font-size: 1rem;
    }
}

/* ================================================================
 * SEZIONE "NUOVO SERVIZIO!" — replica landing #ricordi-racconti (memory-hook)
 * Inserita prima di "Dove trovarci": sfondo giallo Kodak, strisce pellicola rosse.
 * ================================================================ */
.et_pb_section.ff-memory-hook-section {
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: hidden !important;
    padding: 5rem 0 5.5rem !important;
    margin-top: 5rem;
    background:
        linear-gradient(135deg, #ece1ca, #e2d4ba) !important;
    color: #22211e;
}

.ff-memory-hook-inner {
    position: relative;
    z-index: 2;
    width: 94%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.ff-memory-film-separator {
    position: absolute;
    left: 0;
    width: 100%;
    height: 32px;
    z-index: 10;
    overflow: hidden;
    background-color: #3f4935;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='32' viewBox='0 0 24 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='6' y='7' width='12' height='18' rx='2' fill='white'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;
}

.ff-memory-film-separator--top {
    top: 0;
}

.ff-memory-film-separator--bottom {
    bottom: 0;
}

.ff-memory-hook-title {
    margin: 0;
    color: #22211e;
    font-family: "Inter", sans-serif;
    font-size: clamp(1.78rem, 7.6vw, 2rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.2px;
}

.ff-memory-hook-subtitle {
    max-width: 780px;
    margin: 1.4rem auto 0;
    color: #22211e;
    font-family: "Inter", sans-serif;
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.55;
}

.ff-memory-hook-subtitle .ff-memory-mobile-br {
    display: block;
}

.ff-memory-hook-subtitle .ff-memory-desktop-br {
    display: none;
}

.ff-memory-hook-last-line {
    white-space: nowrap;
}

.ff-memory-hook-brand-link {
    color: var(--ff-kodak-red) !important;
    font-weight: 850;
    text-decoration: underline;
    text-decoration-color: rgba(189, 0, 7, 0.35);
    text-underline-offset: 0.18em;
    transition: color 0.35s var(--ff-motion-soft), text-decoration-color 0.35s ease;
}

.ff-memory-hook-brand-link:hover,
.ff-memory-hook-brand-link:focus-visible {
    color: #8f0005 !important;
    text-decoration-color: currentColor;
}

.ff-memory-hook-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    margin-top: 2.2rem;
    padding: 0 2.2rem;
    border-radius: 999px;
    background: #3f4935;
    color: #fff !important;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 850;
    line-height: 1;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 16px 32px rgba(63, 73, 53, 0.20);
    transition:
        transform 0.35s var(--ff-motion-soft),
        box-shadow 0.35s ease,
        background-color 0.35s ease;
}

.ff-memory-hook-cta:hover {
    background: #22211e;
    color: #fff !important;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 22px 42px rgba(34, 33, 30, 0.24);
}

.ff-desktop-br {
    display: none;
}

@media (min-width: 768px) {
    .et_pb_section.ff-memory-hook-section {
        padding: 6rem 0 5.5rem !important;
        margin-top: 8rem;
    }

    .ff-memory-hook-subtitle .ff-memory-mobile-br {
        display: none;
    }

    .ff-memory-hook-subtitle .ff-memory-desktop-br {
        display: block;
    }

    .ff-memory-hook-title {
        font-size: clamp(3rem, 5vw, 3.6rem);
        white-space: nowrap;
    }

    .ff-desktop-br {
        display: block;
    }
}

@media (max-width: 480px) {
    .et_pb_section.ff-memory-hook-section {
        padding: 5rem 0 4.5rem !important;
        margin-top: 3.25rem;
    }

    .ff-memory-hook-subtitle {
        font-size: 1.02rem;
        padding: 0 0.25rem;
    }

    .ff-memory-hook-cta {
        min-height: 50px;
        padding: 0 1.6rem;
        font-size: 0.95rem;
    }
}

/* ================================================================
 * SEZIONE MAPPA — replica landing #map
 * Titolo, iframe Google Maps, pin cliccabile e CTA rossa.
 * ================================================================ */
.et_pb_section.ff-map-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 5rem 0 !important;
    background: var(--ff-bg-soft) !important;
}

.ff-map-inner {
    width: 94%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.ff-map-header {
    margin-bottom: 3rem;
}

.ff-map-title {
    margin: 0 0 0.7rem;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: clamp(2rem, 8vw, 2.9rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -1px;
    text-align: center;
}

.ff-map-highlight {
    color: var(--ff-kodak-red);
}

.ff-map-subtitle {
    max-width: 620px;
    margin: 0 auto;
    color: var(--ff-text-muted);
    font-family: "Inter", sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.55;
}

.ff-map-container {
    width: 100%;
    margin: 0 auto;
}

.ff-animate-fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 3.2s cubic-bezier(0.16, 1, 0.3, 1), transform 3.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ff-animate-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ff-map-frame-wrapper {
    position: relative;
    overflow: hidden;
    height: 350px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.13);
}

.ff-map-frame-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    transform: none;
    filter: grayscale(0.1) contrast(1.05);
}

.ff-map-pin-click-target {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    transform: translate(-50%, -64%);
}

.ff-map-action-btn {
    margin-top: 2rem;
}

.ff-map-btn {
    display: inline-flex;
    width: 100%;
    max-width: 320px;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0 1.25rem;
    border: 0;
    border-radius: 999px;
    background: var(--ff-kodak-red);
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 850;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(189, 0, 7, 0.2);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease, background-color 0.35s ease, color 0.35s ease;
    user-select: none;
}

@media (hover: hover) and (pointer: fine) {
    .ff-map-btn:hover {
        background: #a00006;
        color: #fff;
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 18px 34px rgba(189, 0, 7, 0.28);
    }
}

@media (min-width: 768px) {
    .et_pb_section.ff-map-section {
        padding: 8rem 0 !important;
    }

    .ff-map-header {
        margin-bottom: 5.5rem;
    }

    .ff-map-title {
        font-size: 3.5rem;
        letter-spacing: -1.6px;
    }

    .ff-map-frame-wrapper {
        height: 450px;
        border-radius: 32px;
    }
}

@media (max-width: 480px) {
    .et_pb_section.ff-map-section {
        padding: 3.25rem 0 !important;
    }

    .ff-map-inner {
        padding: 0 1.25rem;
    }

    .ff-map-header {
        margin-bottom: 2.5rem;
    }

    .ff-map-frame-wrapper {
        height: 300px;
        border-radius: 22px;
    }

    .ff-map-action-btn {
        margin-top: 1.5rem;
    }

    .ff-map-btn {
        min-height: 52px;
        font-size: 0.98rem;
    }
}

/* ================================================================
 * FOOTER — replica landing #footer
 * Sostituisce widget Divi con layout a due colonne, card link e CTA.
 * ================================================================ */
#main-footer.ff-main-footer {
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
}

#main-footer.ff-main-footer #footer-widgets,
#main-footer.ff-main-footer #footer-bottom,
#main-footer.ff-main-footer #et-footer-nav {
    display: none !important;
}

.ff-footer-section {
    padding: 5rem 0 3rem;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    background: #fff;
}

.ff-footer-inner {
    width: 94%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ff-footer-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    text-align: center;
}

.ff-footer-logo {
    width: 176px;
    max-width: 100%;
    height: auto;
}

.ff-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.ff-footer-column-title {
    margin: 0 0 2rem;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-align: center;
}

.ff-footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ff-footer-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 1.8rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 20px;
    background: #fff;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (hover: hover) and (pointer: fine) {
    .ff-footer-card-link:not(.ff-footer-no-hover):hover {
        border-color: var(--ff-kodak-yellow);
        color: var(--ff-kodak-red);
        box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
        transform: translateY(-5px);
    }

    .ff-footer-card-link:not(.ff-footer-no-hover):hover .ff-footer-arrow {
        color: var(--ff-kodak-red);
        transform: translate(3px, -3px);
    }
}

.ff-footer-arrow {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--ff-kodak-yellow);
    transition: all 0.3s ease;
}

.ff-footer-arrow svg {
    display: block;
    width: 18px;
    height: 18px;
}

.ff-footer-contact-content {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    min-width: 0;
    text-align: left;
}

.ff-footer-contact-icon {
    display: flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 1.4rem;
    line-height: 1;
}

.ff-footer-contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.ff-footer-contact-label {
    color: var(--ff-text-main);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
}

.ff-footer-contact-sub {
    color: var(--ff-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

.ff-footer-social-card {
    justify-content: space-between;
}

.ff-footer-social-icons {
    display: flex;
    flex: 0 0 auto;
    gap: 1rem;
}

.ff-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    background: #fff;
    color: var(--ff-text-main);
    transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .ff-footer-social-link:hover {
        border-color: var(--ff-kodak-red);
        background: var(--ff-kodak-red);
        color: #fff;
        transform: translateY(-3px);
    }
}

.ff-footer-no-hover {
    cursor: default;
}

.ff-footer-mobile-br {
    display: block;
}

.ff-footer-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.ff-footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 48px;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    background: var(--ff-kodak-yellow);
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 8px 15px rgba(250, 182, 23, 0.2);
    transition: all 0.3s ease;
    user-select: none;
}

.ff-footer-cta-btn span {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    line-height: 1;
}

@media (hover: hover) and (pointer: fine) {
    .ff-footer-cta-btn:hover {
        background: var(--ff-kodak-red);
        color: #fff;
        box-shadow: 0 12px 20px rgba(189, 0, 7, 0.25);
        transform: translateY(-3px);
    }
}

.ff-footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    text-align: center;
}

.ff-footer-bottom p {
    margin: 0 0 0.75rem;
    color: var(--ff-text-muted);
    font-family: "Inter", sans-serif;
    font-size: 0.88rem;
    line-height: 1.55;
}

.ff-footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    color: #94a3b8;
    font-family: "Inter", sans-serif;
    font-size: 0.84rem;
}

.ff-footer-legal-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: #94a3b8;
    font-family: "Inter", sans-serif;
    font-size: 0.84rem;
    line-height: 1.4;
    cursor: pointer;
    transition: color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .ff-footer-legal-link:hover {
        color: var(--ff-kodak-red);
    }
}

/* ================================================================
 * MODALE LEGAL + WHATSAPP FLOAT — replica landing
 * ================================================================ */
body.ff-is-locked {
    overflow: hidden !important;
}

.ff-legal-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.84);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ff-legal-modal-overlay[hidden] {
    display: none !important;
}

.ff-legal-modal-content {
    position: relative;
    width: min(95vw, 840px);
    max-height: 88vh;
    overflow-y: auto;
    padding: 3rem 1.5rem;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 34px 70px rgba(0, 0, 0, 0.45);
}

.ff-legal-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.15rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
}

.ff-legal-modal-title {
    margin: 0 0 1.8rem;
    color: var(--ff-kodak-red);
    font-family: "Inter", sans-serif;
    font-size: 1.7rem;
    font-weight: 900;
}

.ff-legal-text-rendered {
    color: #334155;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    line-height: 1.75;
}

.ff-legal-text-rendered h3,
.ff-legal-text-rendered h4 {
    margin: 1.25rem 0 0.65rem;
    color: var(--ff-text-main);
    font-weight: 800;
}

.ff-legal-text-rendered p {
    margin: 0 0 0.85rem;
}

.ff-whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999999;
    display: flex;
    width: 50px;
    height: 50px;
    max-width: 56px;
    max-height: 56px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.17);
    transition: all 0.3s ease;
    overflow: hidden;
    flex-shrink: 0;
}

@media (hover: hover) and (pointer: fine) {
    .ff-whatsapp-float:hover {
        transform: translateY(-3px) scale(1.08);
    }
}

.ff-whatsapp-float svg {
    display: block;
    width: 28px;
    height: 28px;
    max-width: 32px;
    max-height: 32px;
    flex-shrink: 0;
}

.ff-mobile-nav-progress {
    display: none;
}

@media (max-width: 980px) {
    .ff-mobile-nav-progress {
        position: fixed;
        left: 50%;
        bottom: calc(28px + env(safe-area-inset-bottom, 0px));
        z-index: 9999998;
        display: block;
        width: min(46vw, 190px);
        padding: 7px;
        border: 1px solid rgba(15, 23, 42, 0.09);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
        opacity: 0;
        pointer-events: none;
        transform: translate(-50%, calc(100% + 44px));
        transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
    }

    .ff-mobile-nav-progress.is-active {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    .ff-mobile-nav-progress__track {
        display: block;
        height: 6px;
        overflow: hidden;
        border-radius: 999px;
        background: #edf0f3;
    }

    .ff-mobile-nav-progress__bar {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: inherit;
        background: var(--ff-kodak-red);
        box-shadow: 0 0 9px rgba(189, 0, 7, 0.38);
        transform: scaleX(0);
        transform-origin: left center;
        will-change: transform;
    }

    .ff-mobile-nav-progress.is-active .ff-mobile-nav-progress__bar {
        animation: ff-mobile-nav-progress-fill 880ms linear 120ms forwards;
    }
}

@keyframes ff-mobile-nav-progress-fill {
    0% { transform: scaleX(0); }
    14% { transform: scaleX(0.42); }
    36% { transform: scaleX(0.73); }
    64% { transform: scaleX(0.9); }
    100% { transform: scaleX(0.97); }
}

@media (max-width: 980px) and (prefers-reduced-motion: reduce) {
    .ff-mobile-nav-progress,
    .ff-mobile-nav-progress__bar,
    .ff-mobile-nav-progress.is-active .ff-mobile-nav-progress__bar {
        transition-duration: 0.01ms;
        animation-duration: 0.01ms;
    }
}

@media (min-width: 768px) {
    .ff-legal-modal-content {
        padding: 4rem 3rem;
    }

    .ff-whatsapp-float {
        right: 30px;
        bottom: 30px;
        width: 56px;
        height: 56px;
    }

    .ff-whatsapp-float svg {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 767px) {
    .ff-footer-section {
        padding-top: 4rem;
    }

    .ff-footer-column-title {
        font-size: 1.2rem;
        text-align: center;
    }

    .ff-footer-card-link {
        padding: 1.2rem 1.4rem;
        font-size: 1rem;
    }

    .ff-footer-contact-label {
        font-size: 1rem;
    }

    .ff-footer-contact-sub {
        font-size: 0.8rem;
    }

    .ff-footer-social-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .ff-footer-social-card .ff-footer-contact-content {
        justify-content: flex-start;
    }

    .ff-footer-social-card .ff-footer-social-icons {
        justify-content: flex-end;
        gap: 0.6rem;
    }

    .ff-footer-social-card .ff-footer-social-link {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
}

@media (min-width: 768px) {
    .ff-footer-logo-wrap {
        justify-content: flex-start;
    }

    .ff-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }

    .ff-footer-column-title {
        font-size: 1.35rem;
        text-align: left;
    }

    .ff-footer-mobile-br {
        display: none;
    }
}

/* ================================================================
 * BANNER PAGINE INTERNE — redesign coerente landing Kodak
 * Prima sezione Divi: sfondo giallo, titolo/sottotitolo Inter, pellicola 35mm rossa.
 * ================================================================ */
body.ff-inner-page .ff-page-banner.et_pb_section,
body.ff-inner-page #main-content .ff-page-banner.et_pb_section[class*="et_pb_section_"] {
    position: relative !important;
    overflow: hidden !important;
    padding: 5rem 0 calc(4.5rem + 32px) !important;
    background: var(--ff-kodak-yellow) !important;
    background-color: var(--ff-kodak-yellow) !important;
    background-image: linear-gradient(
        135deg,
        rgba(250, 182, 23, 0.96),
        rgba(255, 216, 0, 0.94)
    ) !important;
}

body.ff-inner-page .ff-page-banner .et_pb_row {
    position: relative;
    z-index: 2;
    width: 94% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

body.ff-inner-page .ff-page-banner.ff-page-banner--visible .et_pb_row {
    opacity: 1;
    transform: translateY(0);
}

body.ff-inner-page .ff-page-banner .et_pb_divider {
    display: none !important;
}

body.ff-inner-page .ff-page-banner .et_pb_text {
    text-align: center !important;
}

body.ff-inner-page .ff-page-banner h1 {
    margin: 0 0 0.85rem !important;
    color: var(--ff-kodak-red) !important;
    font-family: "Inter", sans-serif !important;
    font-size: clamp(2rem, 8vw, 3.5rem) !important;
    font-weight: 850 !important;
    line-height: 1.08 !important;
    letter-spacing: -1px !important;
    text-align: center !important;
}

body.ff-inner-page .ff-page-banner h3 {
    margin: 0 auto 1.25rem !important;
    color: var(--ff-text-muted) !important;
    font-family: "Inter", sans-serif !important;
    font-size: clamp(1rem, 4.2vw, 1.2rem) !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
    letter-spacing: -0.01em !important;
    text-align: center !important;
    max-width: 36rem;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    box-sizing: border-box;
}

body.ff-inner-page .ff-page-banner .et_pb_text p {
    color: var(--ff-text-main) !important;
    font-family: "Inter", sans-serif !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    line-height: 1.65 !important;
    text-align: center !important;
}

body.ff-inner-page .ff-page-banner .et_pb_text p strong {
    color: var(--ff-text-main) !important;
    font-weight: 600 !important;
}

body.ff-inner-page .ff-page-banner-film {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 32px;
    z-index: 3;
    overflow: hidden;
    background-color: var(--ff-kodak-red);
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='32' viewBox='0 0 24 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='6' y='7' width='12' height='18' rx='2' fill='white'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;
    opacity: 0;
    transform: translateY(100%);
    transition:
        opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
        transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

body.ff-inner-page .ff-page-banner.ff-page-banner--visible .ff-page-banner-film {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    body.ff-inner-page .ff-page-banner .et_pb_row {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        box-sizing: border-box;
    }

    body.ff-inner-page .ff-page-banner h1 {
        font-size: clamp(2.55rem, 11.5vw, 3.4rem) !important;
        letter-spacing: -1.1px !important;
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }

    body.ff-inner-page .ff-page-banner h3 {
        max-width: 100% !important;
        width: 100%;
        padding-left: 0.7rem !important;
        padding-right: 0.7rem !important;
        box-sizing: border-box;
    }

    body.ff-inner-page .ff-page-banner .et_pb_text p {
        padding-left: 0.7rem !important;
        padding-right: 0.7rem !important;
        box-sizing: border-box;
    }

    body.ff-inner-page .ff-page-banner .et_pb_text:has(h3) {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (min-width: 981px) {
    body.ff-inner-page .ff-page-banner.et_pb_section {
        padding: 6rem 0 calc(5rem + 32px) !important;
    }

    body.ff-inner-page .ff-page-banner h1 {
        font-size: clamp(2.6rem, 5vw, 3.6rem) !important;
        letter-spacing: -1.2px !important;
    }

    body.ff-inner-page .ff-page-banner h3 {
        max-width: 780px;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 1.2rem !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    body.ff-inner-page .ff-page-banner.et_pb_section {
        padding: 4rem 0 calc(3.5rem + 32px) !important;
    }
}

/* ================================================================
 * SCHEDE PRODOTTO — card scroll modulo et_pb_shop (WooCommerce)
 * Card bianca stondata, placeholder immagine, titolo 2 righe, prezzo + Esplora.
 * ================================================================ */

body.ff-inner-page .et_pb_section:has(.et_pb_shop) {
    padding-top: 3rem !important;
    padding-bottom: 4rem !important;
    background: var(--ff-bg-soft) !important;
}

/* Shop incastrato in colonne Divi strette (1/4, 1/3…) — forza layout catalogo full-width */
body.ff-inner-page .et_pb_section:has(.et_pb_shop) .et_pb_row {
    display: flex !important;
    flex-wrap: wrap !important;
    width: min(100%, 1120px) !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    box-sizing: border-box;
}

body.ff-inner-page .et_pb_section:has(.et_pb_shop) .et_pb_column,
body.ff-inner-page .et_pb_section:has(.et_pb_shop) .et_pb_column_1_2,
body.ff-inner-page .et_pb_section:has(.et_pb_shop) .et_pb_column_1_3,
body.ff-inner-page .et_pb_section:has(.et_pb_shop) .et_pb_column_1_4,
body.ff-inner-page .et_pb_section:has(.et_pb_shop) .et_pb_column_2_3,
body.ff-inner-page .et_pb_section:has(.et_pb_shop) .et_pb_column_3_4 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    float: none !important;
    flex: 0 0 100% !important;
}

body.ff-inner-page .et_pb_section:has(.et_pb_shop) .et_pb_module.et_pb_shop,
body.ff-inner-page .et_pb_section:has(.et_pb_shop) .woocommerce {
    width: 100% !important;
    max-width: 100% !important;
}

.et_pb_shop .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem 1.25rem;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.et_pb_shop .woocommerce ul.products::before,
.et_pb_shop .woocommerce ul.products::after {
    display: none !important;
}

.et_pb_shop .woocommerce ul.products li.product {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    background: var(--ff-bg-main);
    border: 1px solid var(--ff-border-soft);
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    transition:
        transform 0.4s var(--ff-motion-soft),
        box-shadow 0.4s var(--ff-motion-soft),
        border-color 0.35s ease;
}

body .et_pb_module.et_pb_shop .woocommerce ul.products li.product {
    width: 100% !important;
    margin-right: 0 !important;
}

.et_pb_shop .woocommerce ul.products li.product:hover,
.et_pb_shop .woocommerce ul.products li.product:focus-within,
.et_pb_shop .woocommerce ul.products li.product:active {
    transform: translateY(-4px);
    border: 2.5px solid var(--ff-kodak-yellow);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.11);
}

.et_pb_shop .woocommerce ul.products li.product > a.woocommerce-loop-product__link {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    min-height: 100%;
    padding: 0.85rem 0.85rem 1rem;
    text-decoration: none !important;
    color: inherit;
}

/* Pellicola banner rossa sulle pagine con griglia prodotti */
body.ff-shop-page .ff-page-banner-film {
    background-color: var(--ff-kodak-red);
}

/* Area immagine — featured image WP o placeholder vuoto */
.et_pb_shop .ff-product-image-wrap {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0 0 0.85rem;
    border-radius: 14px;
    overflow: hidden;
    background: var(--ff-bg-soft);
    flex-shrink: 0;
}

.et_pb_shop .ff-product-image-wrap img.ff-product-image-broken {
    display: none !important;
}

.et_pb_shop .ff-product-image-wrap--has-image .ff-product-image-placeholder {
    display: none !important;
}

.et_pb_shop .ff-product-image-wrap--no-image .ff-product-image-placeholder,
.et_pb_shop .ff-product-image-wrap--has-image:has(img.ff-product-image-broken) .ff-product-image-placeholder {
    display: block !important;
}

.et_pb_shop .ff-product-image-wrap img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.et_pb_shop .ff-product-image-placeholder {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 10rem;
    border: 1px dashed rgba(15, 23, 42, 0.14);
    border-radius: 14px;
    background: linear-gradient(145deg, #f1f5f9 0%, #e8edf3 100%);
}

.et_pb_shop .ff-product-image-placeholder::before {
    content: "";
    position: absolute;
    inset: 16%;
    border: 2px solid rgba(15, 23, 42, 0.07);
    border-radius: 10px;
    pointer-events: none;
}

.et_pb_shop .ff-product-image-placeholder::after {
    content: "";
    position: absolute;
    inset: 16%;
    background:
        linear-gradient(
            to top right,
            transparent calc(50% - 1px),
            rgba(15, 23, 42, 0.09) calc(50% - 1px),
            rgba(15, 23, 42, 0.09) calc(50% + 1px),
            transparent calc(50% + 1px)
        ),
        linear-gradient(
            to top left,
            transparent calc(50% - 1px),
            rgba(15, 23, 42, 0.09) calc(50% - 1px),
            rgba(15, 23, 42, 0.09) calc(50% + 1px),
            transparent calc(50% + 1px)
        );
    border-radius: 10px;
    pointer-events: none;
}

/* ================================================================
 * CARD BLURB PAGINE INTERNE — placeholder immagine (es. Cornici)
 * Modulo Divi et_pb_blurb: area immagine con fallback se file mancante.
 * ================================================================ */
body.ff-inner-page .et_pb_blurb .et_pb_main_blurb_image {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    min-height: 11rem;
    border-radius: 18px;
    aspect-ratio: 4 / 3;
    background: linear-gradient(145deg, #f1f5f9 0%, #e8edf3 100%);
}

body.ff-inner-page .et_pb_blurb .et_pb_image_wrap {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

body.ff-inner-page .et_pb_blurb .ff-blurb-image-placeholder {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    border: 1px dashed rgba(15, 23, 42, 0.14);
    border-radius: 18px;
    background: linear-gradient(145deg, #f1f5f9 0%, #e8edf3 100%);
    pointer-events: none;
}

body.ff-inner-page .et_pb_blurb .ff-blurb-image-placeholder::before,
body.ff-inner-page .et_pb_blurb .ff-blurb-image-placeholder::after {
    content: "";
    position: absolute;
    inset: 18%;
    border-radius: 10px;
    pointer-events: none;
}

body.ff-inner-page .et_pb_blurb .ff-blurb-image-placeholder::before {
    border: 2px solid rgba(15, 23, 42, 0.07);
}

body.ff-inner-page .et_pb_blurb .ff-blurb-image-placeholder::after {
    background:
        linear-gradient(
            to top right,
            transparent calc(50% - 1px),
            rgba(15, 23, 42, 0.09) calc(50% - 1px),
            rgba(15, 23, 42, 0.09) calc(50% + 1px),
            transparent calc(50% + 1px)
        ),
        linear-gradient(
            to top left,
            transparent calc(50% - 1px),
            rgba(15, 23, 42, 0.09) calc(50% - 1px),
            rgba(15, 23, 42, 0.09) calc(50% + 1px),
            transparent calc(50% + 1px)
        );
}

body.ff-inner-page .et_pb_blurb .et_pb_main_blurb_image img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

body.ff-inner-page .et_pb_blurb .et_pb_main_blurb_image img.ff-blurb-image-broken {
    display: none !important;
}

body.ff-inner-page .et_pb_blurb .et_pb_main_blurb_image.ff-blurb-image-wrap--broken .ff-blurb-image-placeholder {
    display: block !important;
}

body.ff-inner-page .et_pb_blurb .et_pb_main_blurb_image:not(.ff-blurb-image-wrap--broken) .ff-blurb-image-placeholder {
    display: none !important;
}

/* ================================================================
 * HUB CORNICI — card categorie + CTA "Scopri la collezione"
 * Riferimento: card et_pb_shop (scheda prodotto catalogo)
 * ================================================================ */
body.ff-cornici-hub-page #main-content .et_pb_section:not(.ff-page-banner) {
    padding: 3rem 1.25rem 4.5rem !important;
    background: var(--ff-bg-soft) !important;
    background-image: none !important;
}

body.ff-cornici-hub-page #main-content .et_pb_section:not(.ff-page-banner) .et_pb_row {
    width: min(100%, 1120px) !important;
    max-width: 1120px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem 1.25rem;
}

body.ff-cornici-hub-page #main-content .et_pb_section:not(.ff-page-banner) .et_pb_column_1_3 {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    float: none !important;
    flex-basis: auto !important;
}

body.ff-cornici-hub-page .ff-cornici-card {
    display: flex !important;
    flex-direction: column;
    height: 100%;
    margin: 0 !important;
    padding: 0.85rem 0.85rem 1.15rem !important;
    border: 1px solid var(--ff-border-soft);
    border-radius: 20px;
    background: var(--ff-bg-main);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
    cursor: pointer;
    transition:
        transform 0.4s var(--ff-motion-soft),
        box-shadow 0.4s var(--ff-motion-soft),
        border-color 0.35s ease;
}

body.ff-cornici-hub-page .ff-cornici-card:hover,
body.ff-cornici-hub-page .ff-cornici-card:focus-within {
    transform: translateY(-4px);
    border-color: var(--ff-kodak-yellow);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.11);
}

body.ff-cornici-hub-page .ff-cornici-card--unlinked {
    cursor: default;
    pointer-events: none;
}

body.ff-cornici-hub-page .ff-cornici-card .et_pb_blurb {
    flex: 1 1 auto;
    margin-bottom: 0 !important;
}

body.ff-cornici-hub-page .ff-cornici-card .et_pb_blurb_content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

body.ff-cornici-hub-page .ff-cornici-card .et_pb_module_header,
body.ff-cornici-hub-page .ff-cornici-card .et_pb_module_header span {
    color: #000000 !important;
    font-family: "Inter", sans-serif !important;
    font-size: clamp(0.98rem, 2.4vw, 1.08rem) !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.01em;
}

body.ff-cornici-hub-page .ff-cornici-card .et_pb_blurb_description,
body.ff-cornici-hub-page .ff-cornici-card .et_pb_blurb_description p {
    color: var(--ff-text-muted) !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
}

body.ff-cornici-hub-page .ff-cornici-card .et_pb_button_module_wrapper {
    margin: 0.75rem 0 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

body.ff-cornici-hub-page .ff-cornici-card .ff-cornici-card__cta,
body.ff-cornici-hub-page .ff-cornici-card .et_pb_button,
body.ff-cornici-hub-page .ff-cornici-card .et_pb_button:link,
body.ff-cornici-hub-page .ff-cornici-card .et_pb_button:visited {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    padding: 0.55rem 1.1rem !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--ff-kodak-red) !important;
    background-color: var(--ff-kodak-red) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
    text-decoration: none !important;
    word-spacing: normal !important;
    white-space: nowrap;
    box-shadow: none !important;
    pointer-events: none;
    transform: none !important;
    transition: background-color 0.35s ease !important;
}

body.ff-cornici-hub-page .ff-cornici-card .ff-cornici-card__cta::before,
body.ff-cornici-hub-page .ff-cornici-card .ff-cornici-card__cta::after,
body.ff-cornici-hub-page .ff-cornici-card .et_pb_button::before,
body.ff-cornici-hub-page .ff-cornici-card .et_pb_button::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
}

body.ff-cornici-hub-page .ff-cornici-card:hover .ff-cornici-card__cta,
body.ff-cornici-hub-page .ff-cornici-card:focus-within .ff-cornici-card__cta,
body.ff-cornici-hub-page .ff-cornici-card:active .ff-cornici-card__cta,
body.ff-cornici-hub-page .ff-cornici-card:hover .et_pb_button,
body.ff-cornici-hub-page .ff-cornici-card:focus-within .et_pb_button,
body.ff-cornici-hub-page .ff-cornici-card:active .et_pb_button {
    background: var(--ff-kodak-yellow) !important;
    background-color: var(--ff-kodak-yellow) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    padding: 0.55rem 1.1rem !important;
    letter-spacing: -0.01em !important;
    transform: none !important;
}

body.ff-cornici-hub-page .ff-cornici-card .et_pb_button.et_hover_enabled,
body.ff-cornici-hub-page .ff-cornici-card .et_pb_button.et_pb_hovered,
body.ff-cornici-hub-page .ff-cornici-card .ff-cornici-card__cta.et_hover_enabled,
body.ff-cornici-hub-page .ff-cornici-card .ff-cornici-card__cta.et_pb_hovered {
    padding: 0.55rem 1.1rem !important;
    letter-spacing: -0.01em !important;
    transform: none !important;
    font-size: 0.875rem !important;
}

@media (max-width: 980px) {
    body.ff-cornici-hub-page #main-content .et_pb_section:not(.ff-page-banner) .et_pb_row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    body.ff-cornici-hub-page #main-content .et_pb_section:not(.ff-page-banner) {
        padding: 2.25rem 1rem 3.5rem !important;
    }

    body.ff-cornici-hub-page #main-content .et_pb_section:not(.ff-page-banner) .et_pb_row {
        grid-template-columns: 1fr;
    }
}

.et_pb_shop .et_overlay {
    display: none !important;
}

.et_pb_shop .star-rating {
    display: none !important;
}

/* Titolo prodotto — nero, max 2 righe con ellissi */
.et_pb_shop .woocommerce-loop-product__title {
    margin: 0 0 0.5rem !important;
    padding: 0 !important;
    color: #000000 !important;
    font-family: "Inter", sans-serif !important;
    font-size: clamp(0.92rem, 2.6vw, 1.05rem) !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.01em;
    text-align: left !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(1.35em * 2);
}

/* Footer: prezzo + Esplora in basso a destra */
.et_pb_shop .ff-product-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 0.35rem;
    flex-wrap: wrap;
}

/* Prezzo rosso Kodak — specificità alta per battere gli inline Divi (#c39d63) */
body .et_pb_module.et_pb_shop .woocommerce ul.products li.product .price,
body .et_pb_module.et_pb_shop .woocommerce ul.products li.product .price .amount,
body .et_pb_module.et_pb_shop .woocommerce ul.products li.product .price .amount bdi,
body .et_pb_shop .woocommerce ul.products li.product .price,
body .et_pb_shop .woocommerce ul.products li.product .price .amount,
body .et_pb_shop .woocommerce ul.products li.product .price .amount bdi {
    color: var(--ff-kodak-red) !important;
    letter-spacing: 0 !important;
}

body .et_pb_module.et_pb_shop .woocommerce ul.products li.product .price {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: right !important;
}

body .et_pb_module.et_pb_shop .woocommerce ul.products li.product .price del,
body .et_pb_module.et_pb_shop .woocommerce ul.products li.product .price del .amount,
body .et_pb_shop .woocommerce ul.products li.product .price del,
body .et_pb_shop .woocommerce ul.products li.product .price del .amount {
    opacity: 0.55;
    font-size: 0.88em;
    font-weight: 500;
    color: var(--ff-text-muted) !important;
}

body .et_pb_module.et_pb_shop .woocommerce ul.products li.product .price ins,
body .et_pb_module.et_pb_shop .woocommerce ul.products li.product .price ins .amount,
body .et_pb_shop .woocommerce ul.products li.product .price ins,
body .et_pb_shop .woocommerce ul.products li.product .price ins .amount {
    text-decoration: none;
    font-weight: 700;
    color: var(--ff-kodak-red) !important;
}

.et_pb_shop .ff-product-explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    background: var(--ff-kodak-yellow);
    color: #ffffff !important;
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.03em;
    text-transform: none;
    transition:
        background-color 0.35s ease,
        transform 0.35s var(--ff-motion-soft);
    flex-shrink: 0;
}

.et_pb_shop .woocommerce ul.products li.product:hover .ff-product-explore-btn,
.et_pb_shop .woocommerce ul.products li.product:focus-within .ff-product-explore-btn,
.et_pb_shop .woocommerce ul.products li.product:active .ff-product-explore-btn,
.et_pb_shop .ff-product-explore-btn:hover,
.et_pb_shop .ff-product-explore-btn:focus-visible,
.et_pb_shop .ff-product-explore-btn:active,
.ff-product-suggestions .ff-product-explore-btn:hover,
.ff-product-suggestions .ff-product-explore-btn:focus-visible,
.ff-product-suggestions .ff-product-explore-btn:active,
.ff-product-suggestions .woocommerce ul.products li.product:hover .ff-product-explore-btn,
.ff-product-suggestions .woocommerce ul.products li.product:focus-within .ff-product-explore-btn,
.ff-product-suggestions .woocommerce ul.products li.product:active .ff-product-explore-btn {
    background: var(--ff-kodak-red) !important;
}

.et_pb_shop .woocommerce ul.products li.product:active {
    transform: translateY(-1px);
}

/* Badge promo card catalogo — pill, ancorato dentro il riquadro immagine tratteggiato */
.et_pb_shop .ff-product-image-wrap span.onsale {
    position: absolute;
    z-index: 3;
    top: 0.65rem;
    left: 0.65rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: auto;
    min-width: 0;
    margin: 0 !important;
    padding: 0.3rem 0.72rem !important;
    border-radius: 999px !important;
    gap: 0.28rem;
    background: #bd0007 !important;
    color: #ffffff !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

body.woocommerce ul.products li.product span.onsale,
body.woocommerce-page ul.products li.product span.onsale {
    position: absolute !important;
    z-index: 3 !important;
    top: 0.65rem !important;
    left: 0.65rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0.34rem 0.7rem !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #bd0007 !important;
    background-color: #bd0007 !important;
    color: #ffffff !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    box-shadow: 0 4px 10px rgba(189, 0, 7, 0.24) !important;
}

body.woocommerce ul.products li.product span.onsale .ff-sale-badge__flame,
body.woocommerce-page ul.products li.product span.onsale .ff-sale-badge__flame {
    display: inline-flex;
    width: 0.82rem;
    height: 0.82rem;
    color: #ffffff;
}

body.woocommerce ul.products li.product span.onsale .ff-sale-badge__flame svg,
body.woocommerce-page ul.products li.product span.onsale .ff-sale-badge__flame svg {
    width: 100%;
    height: 100%;
}

body.woocommerce nav.woocommerce-pagination,
body.woocommerce-page nav.woocommerce-pagination {
    display: none !important;
}

@media (max-width: 980px) {
    body.ff-inner-page .et_pb_section:has(.et_pb_shop) .et_pb_row {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    .et_pb_shop .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    body.ff-inner-page .et_pb_section:has(.et_pb_shop) {
        padding-top: 2.25rem !important;
        padding-bottom: 3rem !important;
    }

    body.ff-inner-page .et_pb_section:has(.et_pb_shop) .et_pb_row {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        box-sizing: border-box;
    }

    .et_pb_shop .woocommerce ul.products {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .et_pb_shop .woocommerce ul.products li.product > a.woocommerce-loop-product__link {
        padding: 0.7rem 0.7rem 0.85rem;
    }

    .et_pb_shop .ff-product-card-footer {
        gap: 0.5rem;
    }

    .et_pb_shop .ff-product-explore-btn {
        font-size: 0.76rem;
        padding: 0.38rem 0.75rem;
    }
}

/* ================================================================
 * SCHEDA PRODOTTO SINGOLA — layout ispirato a gallery sx / summary dx
 * Moduli Divi: et_pb_wc_images, et_pb_wc_title, et_pb_wc_price,
 * et_pb_wc_description, et_pb_wc_add_to_cart.
 * ================================================================ */
.ff-single-product-page #main-content {
    background: #fff !important;
}

.ff-single-product-page .product .et_pb_section.ff-single-product {
    padding: 6.25rem 0 3.5rem !important;
    background: #fff !important;
}

.ff-single-product-page .ff-single-product .et_pb_row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 2.5rem;
    width: min(100%, 1120px) !important;
    max-width: 1120px !important;
    margin: 0 auto !important;
    padding: 0 1.25rem !important;
}

.ff-single-product-page .ff-single-product-gallery,
.ff-single-product-page .ff-single-product-summary {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ff-single-product-page .ff-single-product-gallery {
    flex: 1 1 100%;
    overflow: hidden;
}

.ff-single-product-page .ff-single-product-gallery .et_pb_wc_description,
.ff-single-product-page .ff-single-product-gallery .woocommerce-product-details__short-description,
.ff-single-product-page .ff-single-product-gallery .et_pb_text:not(:has(.woocommerce-product-gallery)) {
    display: none !important;
}

.ff-single-product-page .ff-single-product-summary {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ff-single-product-page .ff-single-product-gallery .et_pb_module,
.ff-single-product-page .ff-single-product-summary .et_pb_module {
    margin-bottom: 0 !important;
}

/* Galleria prodotto */
/* Scheda prodotto — nasconde badge promo in galleria, mantiene quello nei suggerimenti */
.ff-single-product-page span.onsale {
    display: none !important;
}

.ff-single-product-page .ff-product-suggestions span.onsale {
    display: inline-flex !important;
}

body.ff-cart-page .ff-product-suggestions span.onsale {
    display: inline-flex !important;
}

.ff-single-product-page .woocommerce-product-gallery {
    position: relative;
    margin: 0 !important;
    padding: 0.75rem;
    border: 1px solid var(--ff-border-soft);
    border-radius: 24px;
    background: var(--ff-bg-soft);
    overflow: hidden;
}

.ff-single-product-page .woocommerce-product-gallery.ff-product-gallery--enhanced {
    opacity: 1 !important;
}

/* Galleria prodotto — box immagine fisso, footer sovrapposto in basso */
.ff-single-product-page .woocommerce-product-gallery.ff-product-gallery--enhanced .flex-viewport {
    position: relative;
    z-index: 1;
    border-radius: 18px;
    background: #fff;
    width: 100% !important;
    overflow: hidden !important;
    height: var(--ff-gallery-stage-height) !important;
    max-height: var(--ff-gallery-stage-height) !important;
    cursor: pointer;
}

.ff-single-product-page .woocommerce-product-gallery:has(.flex-viewport) .woocommerce-product-gallery__wrapper {
    height: 100%;
    max-height: 100%;
}

.ff-single-product-page .woocommerce-product-gallery:has(.flex-viewport) .woocommerce-product-gallery__image {
    display: block !important;
    float: left !important;
    box-sizing: border-box;
    height: var(--ff-gallery-stage-height);
}

.ff-single-product-page .woocommerce-product-gallery:has(.flex-viewport) .woocommerce-product-gallery__image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
}

.ff-single-product-page .woocommerce-product-gallery:has(.flex-viewport) .woocommerce-product-gallery__image a > img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 100% !important;
    margin: 0 auto !important;
    object-fit: contain;
    object-position: center center;
    opacity: 1 !important;
    visibility: visible !important;
}

/* WooCommerce zoom — clone nascosto (altrimenti duplica l'immagine nel box) */
.ff-single-product-page .woocommerce-product-gallery__image .zoomImg {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.ff-single-product-page .woocommerce-product-gallery__trigger {
    z-index: 8;
    pointer-events: auto;
    cursor: pointer;
    border: 0;
    padding: 0;
    background: transparent;
    font: inherit;
}

.ff-single-product-page .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
    overflow: hidden !important;
}

.ff-single-product-page .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper {
    height: var(--ff-gallery-stage-height);
    max-height: var(--ff-gallery-stage-height);
}

.ff-single-product-page .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
    display: none !important;
}

.ff-single-product-page .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image.flex-active-slide,
.ff-single-product-page .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper:not(.flexslider) > .woocommerce-product-gallery__image:first-child {
    display: block !important;
}

.ff-single-product-page .woocommerce-product-gallery__image {
    overflow: hidden;
}

.ff-single-product-page .woocommerce-product-gallery__image a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    height: var(--ff-gallery-stage-height);
    pointer-events: auto;
    cursor: pointer;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    text-indent: -9999px;
}

.ff-single-product-page .woocommerce-product-gallery__image a img,
.ff-single-product-page .woocommerce-product-gallery:has(.flex-viewport) .woocommerce-product-gallery__image a > img {
    cursor: pointer;
    pointer-events: none;
}

.ff-single-product-page .woocommerce-product-gallery__image img {
    display: block;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 100% !important;
    margin: 0 auto !important;
    border-radius: 18px;
    object-fit: contain;
    object-position: center center;
    transition: opacity 0.35s ease;
    text-indent: 0;
    font-size: initial;
    color: transparent;
    overflow: hidden;
}

.ff-single-product-page .woocommerce-product-gallery__image.ff-product-gallery-slide--placeholder a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--ff-gallery-stage-height);
    height: var(--ff-gallery-stage-height);
    max-height: var(--ff-gallery-stage-height);
    aspect-ratio: auto;
    border: 1px dashed rgba(15, 23, 42, 0.14);
    background: #fff;
    text-decoration: none;
}

.ff-single-product-page .woocommerce-product-gallery__image.ff-product-gallery-slide--placeholder a::after,
.ff-single-product-page .ff-product-gallery-preview--placeholder::after {
    content: "";
    width: 62%;
    aspect-ratio: 1 / 1;
    border: 2px solid rgba(250, 182, 23, 0.42);
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
    pointer-events: none;
}

.ff-single-product-page .woocommerce-product-gallery__image img.ff-product-gallery-img--broken {
    display: none !important;
}

.ff-single-product-page .flex-control-nav.flex-control-thumbs,
.ff-single-product-page .flex-control-nav.flex-control-thumbs.ff-product-gallery-thumbs--native {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Scheda prodotto — barra bassa in cornice: anteprime piccole + frecce */
.ff-single-product-page .woocommerce-product-gallery .ff-product-gallery-footer {
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 6;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.45rem;
    padding: 1.6rem 0.5rem 0.42rem;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.84) 52%,
        rgba(255, 255, 255, 0.97) 100%
    );
    pointer-events: none;
}

.ff-single-product-page .ff-product-gallery-footer > * {
    pointer-events: auto;
}

.ff-single-product-page .ff-product-gallery-previews {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.ff-single-product-page .ff-product-gallery-previews::-webkit-scrollbar {
    display: none;
}

.ff-single-product-page .ff-product-gallery-preview,
.ff-single-product-page .ff-product-gallery-more {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    transition:
        border-color 0.35s ease,
        transform 0.35s var(--ff-motion-soft),
        box-shadow 0.35s ease,
        background-color 0.35s ease;
}

.ff-single-product-page .ff-product-gallery-preview--placeholder {
    border-color: rgba(15, 23, 42, 0.08);
    background: #fff;
}

.ff-single-product-page .ff-product-gallery-preview {
    background: #fff;
}

.ff-single-product-page .ff-product-gallery-preview img {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    pointer-events: none;
}

.ff-single-product-page .ff-product-gallery-preview--active {
    border-color: var(--ff-kodak-yellow) !important;
    box-shadow: 0 0 0 1px var(--ff-kodak-yellow);
}

.ff-single-product-page .ff-product-gallery-preview:hover,
.ff-single-product-page .ff-product-gallery-preview:focus-visible,
.ff-single-product-page .ff-product-gallery-more:hover,
.ff-single-product-page .ff-product-gallery-more:focus-visible {
    border-color: var(--ff-kodak-yellow);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.ff-single-product-page .ff-product-gallery-preview--active:hover,
.ff-single-product-page .ff-product-gallery-preview--active:focus-visible {
    border-color: var(--ff-kodak-yellow) !important;
    box-shadow: 0 0 0 1px var(--ff-kodak-yellow);
}

.ff-single-product-page .ff-product-gallery-more:hover,
.ff-single-product-page .ff-product-gallery-more:focus-visible {
    background: rgba(250, 182, 23, 0.12);
    color: var(--ff-kodak-red);
}

.ff-single-product-page .ff-product-gallery-more {
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    background: rgba(0, 0, 0, 0.04);
}

.ff-single-product-page .ff-product-gallery-nav {
    position: static;
    right: auto;
    bottom: auto;
    display: flex;
    flex: 0 0 auto;
    gap: 0.3rem;
    z-index: 6;
}

.ff-single-product-page .ff-product-gallery-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--ff-border-soft);
    border-radius: 999px;
    background: #fff;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    transition:
        border-color 0.35s ease,
        color 0.35s ease,
        transform 0.35s var(--ff-motion-soft),
        background-color 0.35s ease;
}

.ff-single-product-page .ff-product-gallery-nav-btn:hover,
.ff-single-product-page .ff-product-gallery-nav-btn:focus-visible {
    border-color: var(--ff-kodak-red);
    color: var(--ff-kodak-red);
    background: rgba(250, 182, 23, 0.14);
    transform: scale(1.04);
}

.ff-single-product-page .ff-product-gallery-nav-btn:disabled,
.ff-single-product-page .ff-product-gallery-nav-btn[aria-disabled="true"] {
    opacity: 0.34;
    cursor: default;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}

/* Summary — titolo, prezzo, descrizione */
body.ff-single-product-page .ff-single-product .et_pb_wc_title h1,
.ff-single-product-page .et_pb_wc_title h1 {
    margin: 0 0 0.65rem !important;
    color: var(--ff-text-main) !important;
    font-size: clamp(1.08rem, 1.55vw, 1.38rem) !important;
    font-weight: 700 !important;
    line-height: 1.32 !important;
    letter-spacing: -0.01em;
    text-align: left !important;
}

.ff-single-product-page .et_pb_wc_price {
    text-align: left !important;
}

.ff-single-product-page .et_pb_wc_price .price,
.ff-single-product-page .woocommerce-variation-price .price {
    margin: 0 !important;
    color: var(--ff-kodak-red) !important;
    font-size: clamp(1.35rem, 2.8vw, 1.75rem) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: left !important;
}

/* Prezzo + quantità — pill come carrello */
.ff-single-product-page .ff-product-price-qty-bar,
.ff-single-product-page .ff-product-price-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.ff-single-product-page .ff-product-price-qty-bar {
    margin: 0 0 1rem !important;
}

.ff-single-product-page .ff-product-variant-bar .ff-product-price-qty-row {
    margin: 0 0 0.85rem !important;
}

.ff-single-product-page .ff-product-price-qty-row .et_pb_wc_price {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 !important;
    padding-top: 0 !important;
}

.ff-single-product-page .ff-product-qty-slot {
    flex: 0 0 auto;
}

/* Pill quantità — stesso stile carrello (anche fuori dal form, in .ff-product-qty-slot) */
.ff-single-product-page .quantity.ff-cart-qty,
.ff-single-product-page .ff-product-qty-slot .quantity,
.ff-single-product-page .ff-product-price-qty-row .quantity,
.ff-single-product-page form.cart .quantity,
.ff-single-product-page form.variations_form .quantity {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: 7.25rem;
    margin: 0 !important;
    padding: 0.15rem;
    border: 1px solid var(--ff-border-soft);
    border-radius: 999px;
    background: var(--ff-bg-soft);
    box-sizing: border-box;
}

.ff-single-product-page .quantity.ff-cart-qty .qty,
.ff-single-product-page .ff-product-qty-slot .quantity .qty,
.ff-single-product-page .ff-product-price-qty-row .quantity .qty,
.ff-single-product-page form.cart .quantity .qty,
.ff-single-product-page form.variations_form .quantity .qty {
    width: 2.15rem;
    min-height: 2rem;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
    box-shadow: none !important;
    -moz-appearance: textfield;
    appearance: textfield;
}

.ff-single-product-page .quantity.ff-cart-qty .qty::-webkit-outer-spin-button,
.ff-single-product-page .quantity.ff-cart-qty .qty::-webkit-inner-spin-button,
.ff-single-product-page .ff-product-qty-slot .quantity .qty::-webkit-outer-spin-button,
.ff-single-product-page .ff-product-qty-slot .quantity .qty::-webkit-inner-spin-button,
.ff-single-product-page form.cart .quantity .qty::-webkit-outer-spin-button,
.ff-single-product-page form.cart .quantity .qty::-webkit-inner-spin-button,
.ff-single-product-page form.variations_form .quantity .qty::-webkit-outer-spin-button,
.ff-single-product-page form.variations_form .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ff-single-product-page .ff-cart-qty__btn,
.ff-single-product-page .ff-product-qty-slot .ff-cart-qty__btn,
.ff-single-product-page form.cart .ff-cart-qty__btn,
.ff-single-product-page form.variations_form .ff-cart-qty__btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: none !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ff-single-product-page .ff-cart-qty__btn:hover,
.ff-single-product-page .ff-cart-qty__btn:focus-visible,
.ff-single-product-page .ff-product-qty-slot .ff-cart-qty__btn:hover,
.ff-single-product-page .ff-product-qty-slot .ff-cart-qty__btn:focus-visible,
.ff-single-product-page form.cart .ff-cart-qty__btn:hover,
.ff-single-product-page form.cart .ff-cart-qty__btn:focus-visible,
.ff-single-product-page form.variations_form .ff-cart-qty__btn:hover,
.ff-single-product-page form.variations_form .ff-cart-qty__btn:focus-visible {
    background: rgba(250, 182, 23, 0.18);
    color: var(--ff-kodak-red);
}

/* Override Divi/WooCommerce quantity default borders on product page */
.ff-single-product-page .ff-product-qty-slot .quantity input[type="number"],
.ff-single-product-page .quantity.ff-cart-qty input[type="number"] {
    border: 0 !important;
    background: transparent !important;
}

.ff-single-product-page .et_pb_wc_price.ff-single-product-price--hidden {
    display: none !important;
}

/* Varianti prodotto — prezzo sx, tendina dx, hint sotto */
.ff-single-product-page .ff-product-variant-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0 0 1rem !important;
}

.ff-single-product-page .ff-product-variant-bar .et_pb_wc_price {
    flex: 0 0 auto;
    margin: 0 !important;
    padding-top: 0.45rem !important;
    text-align: left !important;
}

.ff-single-product-page .ff-product-variant-bar .et_pb_wc_price .price {
    margin: 0 !important;
    white-space: nowrap;
}

.ff-single-product-page .ff-product-variant-control {
    flex: 1 1 auto;
    min-width: 0;
}

/* Richiamo variante: due punti rossi percorrono un bordo morbido finché non
 * viene effettuata una scelta. */
.ff-single-product-page .ff-product-variant-callout {
    position: relative;
    width: 100%;
    margin: 0.85rem 0 0.7rem !important;
    padding: 2px;
    border-radius: 999px;
    overflow: visible;
    isolation: isolate;
    box-sizing: border-box;
}

.ff-single-product-page .ff-product-variant-callout .ff-variant-orbit {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    filter: drop-shadow(0 0 2px rgba(201, 0, 0, 0.2));
    transition: opacity 200ms ease;
}
.ff-single-product-page .ff-variant-orbit rect {
    stroke: #c90000;
    stroke-width: 2.2px;
    stroke-linecap: round;
    opacity: 0.055;
    animation: ff-variant-selection-orbit 5.2s linear infinite;
}

.ff-single-product-page .ff-product-variant-callout > .ff-product-variant-control {
    position: relative;
    z-index: 1;
    padding: 0;
    border-radius: 999px;
    background: #fff;
}

.ff-single-product-page .ff-product-variant-callout.is-selected .ff-variant-orbit {
    opacity: 0;
}
.ff-single-product-page .ff-product-variant-callout.is-selected .ff-variant-orbit rect {
    animation-play-state: paused;
}

@keyframes ff-variant-selection-orbit {
    from { stroke-dashoffset: var(--ff-orbit-from); }
    to { stroke-dashoffset: var(--ff-orbit-to); }
}

@media (prefers-reduced-motion: reduce) {
    .ff-single-product-page .ff-variant-orbit rect {
        animation: none;
    }
}

.ff-single-product-page .ff-product-variant-control select,
.ff-single-product-page .variations select,
.ff-single-product-page .ff-variant-picker__trigger {
    width: 100%;
    min-height: 48px;
    margin: 0 !important;
    padding: 0 2.75rem 0 1.05rem;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px 14px;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.2;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s var(--ff-motion-soft);
}

.ff-single-product-page .ff-product-variant-control select:hover,
.ff-single-product-page .variations select:hover,
.ff-single-product-page .ff-variant-picker__trigger:hover {
    border-color: rgba(250, 182, 23, 0.65);
}

.ff-single-product-page .ff-product-variant-control select:focus,
.ff-single-product-page .variations select:focus,
.ff-single-product-page .ff-variant-picker__trigger:focus-visible {
    outline: none;
    border-color: var(--ff-kodak-yellow);
    box-shadow: 0 0 0 3px rgba(250, 182, 23, 0.18);
}

/*
 * Variante prodotto — picker personalizzato al posto del menu nativo (striscia blu / bordi spigolosi).
 * Il select resta nel DOM per WooCommerce; trigger + sheet gestiscono l'interazione.
 */
.ff-variant-picker {
    position: relative;
    width: 100%;
}

.ff-variant-picker__native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.ff-variant-picker__trigger {
    display: block;
    text-align: left;
}

.ff-variant-picker__trigger.is-placeholder {
    color: var(--ff-text-muted);
    font-weight: 600;
}

.ff-variant-picker__backdrop {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(15, 23, 42, 0.44);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s ease;
}

.ff-variant-picker__backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.ff-variant-picker__sheet {
    position: fixed;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    z-index: 100001;
    width: 100%;
    max-width: 100%;
    max-height: min(72vh, 24rem);
    margin: 0;
    padding: 0;
    border: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -14px 36px rgba(15, 23, 42, 0.16);
    overflow: hidden;
    transform: translateY(105%) !important;
    opacity: 1 !important;
    transition: transform 0.38s var(--ff-motion-soft);
}

.ff-variant-picker__sheet.is-visible {
    transform: translateY(0) !important;
}

.ff-variant-picker__sheet-head {
    padding: 0.55rem 1rem;
    background: var(--ff-kodak-yellow);
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 0.01em;
}

.ff-variant-picker__list {
    margin: 0;
    padding: 0.4rem 0 0.55rem;
    list-style: none;
    max-height: calc(min(68vh, 20rem) - 2.1rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.ff-variant-picker__option {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.78rem 1.1rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ff-variant-picker__option:hover,
.ff-variant-picker__option:focus-visible {
    background: rgba(250, 182, 23, 0.14);
    outline: none;
}

.ff-variant-picker__option.is-selected {
    color: var(--ff-kodak-red);
    background: rgba(189, 0, 7, 0.06);
}

body.ff-variant-picker-open {
    overflow: hidden;
}

.ff-single-product-page .ff-product-variations-table--hidden,
.ff-single-product-page table.variations.ff-product-variations-table--hidden {
    display: none !important;
}

.ff-single-product-page .reset_variations {
    display: none !important;
}

.ff-single-product-page .single_variation_wrap .woocommerce-variation-price,
.ff-single-product-page .woocommerce-variation-price {
    display: none !important;
}

.ff-single-product-page .yith-wccl-variation-list li a,
.ff-single-product-page .select_box .select_option,
.ff-single-product-page .yith-wccl-variation-list .select_option {
    border-radius: 16px !important;
}

.ff-single-product-page .woocommerce-Price-suffix,
.ff-single-product-page .wc-gzd-additional-info,
.ff-single-product-page .legal-price-info,
.ff-single-product-page .includes_tax,
.ff-single-product-page .woocommerce-product-details__short-description + .price .woocommerce-Price-suffix {
    display: none !important;
}

.ff-single-product-page .et_pb_wc_description {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    margin: 0 0 0.5rem !important;
}

.ff-single-product-page .ff-product-desc-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    margin: 0.15rem 0 0;
    padding: 1rem 1.1rem 1.05rem;
    border: 1px solid var(--ff-border-soft);
    border-radius: 20px;
    background: var(--ff-bg-main);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.ff-single-product-page .ff-product-desc-heading {
    margin: 0 0 0.75rem !important;
    padding: 0;
    color: var(--ff-text-main) !important;
    font-family: "Inter", sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em;
    text-align: left !important;
    text-transform: none !important;
}

.ff-single-product-page .ff-product-desc--ready .woocommerce-product-details__short-description:not(.ff-product-desc-body) {
    display: none !important;
}

body.ff-has-product-desc-box .ff-product-desc-legacy,
body.ff-has-product-desc-box .ff-single-product-summary .et_pb_wc_description:not(.ff-product-desc-mounted),
.ff-single-product-page .product .et_pb_wc_description:not(.ff-product-desc-mounted),
.ff-single-product-page .ff-single-product-gallery .et_pb_wc_description,
.ff-single-product-page .ff-single-product-gallery .woocommerce-product-details__short-description,
.ff-single-product-page .et_pb_wc_description:not(.ff-product-desc-mounted):not(.ff-product-desc--ready),
.ff-single-product-page .ff-product-desc-legacy,
.ff-single-product-page .woocommerce-product-details__short-description:not(.ff-product-desc-body),
.ff-single-product-page .ff-single-product-summary > .et_pb_text:not(:has(.ff-product-desc-mounted)),
.ff-single-product-page .et_pb_row.ff-product-desc-legacy-row,
.ff-single-product-page #ff-product-desc-mount,
.ff-single-product-page .woocommerce-tabs .woocommerce-Tabs-panel--description,
.ff-single-product-page .entry-summary .woocommerce-product-details__short-description:not(.ff-product-desc-body) {
    display: none !important;
}

.ff-single-product-page .ff-product-desc-card--collapsed {
    flex: 0 0 auto;
    height: auto !important;
    max-height: none !important;
}

.ff-single-product-page .ff-product-desc-card--collapsed .ff-product-desc-body {
    flex: 0 0 auto;
    display: block;
    overflow: hidden;
    max-height: calc(1.75em * 3);
}

.ff-single-product-page .ff-product-desc-card .ff-product-desc-toggle {
    display: inline-block;
    align-self: flex-start;
    margin: 0.65rem 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color 0.25s ease;
}

.ff-single-product-page .ff-product-desc-card .ff-product-desc-toggle:hover,
.ff-single-product-page .ff-product-desc-card .ff-product-desc-toggle:focus-visible {
    color: var(--ff-kodak-red);
}

.ff-single-product-page .ff-product-desc-card .ff-product-desc-toggle[hidden] {
    display: none !important;
}

.ff-single-product-page .ff-product-desc-card--expanded .ff-product-desc-body {
    flex: 1 1 auto;
    min-height: 0;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: none;
    padding-right: 0.2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 23, 42, 0.2) transparent;
}

.ff-single-product-page .ff-product-desc-card--expanded .ff-product-desc-body::-webkit-scrollbar {
    width: 6px;
}

.ff-single-product-page .ff-product-desc-card--expanded .ff-product-desc-body::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.2);
}

.ff-single-product-page .et_pb_wc_description .et_pb_module_inner {
    color: var(--ff-text-muted) !important;
    font-size: 1rem !important;
    line-height: 1.75 !important;
    text-align: left !important;
}

.ff-single-product-page .et_pb_wc_description .ff-product-desc-body *,
.ff-single-product-page .et_pb_wc_description .et_pb_module_inner * {
    font-size: inherit !important;
    line-height: inherit !important;
    letter-spacing: normal !important;
}

.ff-single-product-page .et_pb_wc_description h1,
.ff-single-product-page .et_pb_wc_description h2,
.ff-single-product-page .et_pb_wc_description h3,
.ff-single-product-page .et_pb_wc_description h4,
.ff-single-product-page .et_pb_wc_description h5,
.ff-single-product-page .et_pb_wc_description h6 {
    margin: 0 0 0.85rem !important;
    color: var(--ff-text-muted) !important;
    font-family: "Inter", sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.75 !important;
    text-transform: none !important;
}

.ff-single-product-page .et_pb_wc_description p {
    margin: 0 0 0.85rem;
}

.ff-single-product-page .et_pb_wc_description p:last-child {
    margin-bottom: 0;
}

.ff-single-product-page .et_pb_wc_rating,
.ff-single-product-page .woocommerce-breadcrumb,
.ff-single-product-page .product_meta {
    display: none !important;
}

/* Form acquisto */
.ff-single-product-page form.cart {
    margin: 0 !important;
}

.ff-single-product-page form.cart > .single_add_to_cart_button {
    margin-bottom: 0.65rem !important;
}

.ff-single-product-page form.cart .ff-single-product-buttons {
    margin-bottom: 0 !important;
}

.ff-single-product-page .variations {
    width: 100%;
    margin: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
}

.ff-single-product-page .variations td,
.ff-single-product-page .variations th {
    padding: 0 !important;
    border: 0 !important;
    vertical-align: middle;
}

.ff-single-product-page .variations .label label {
    display: none !important;
}

.ff-single-product-page .stock,
.ff-single-product-page .woocommerce-variation-availability,
.ff-single-product-page p.stock {
    display: none !important;
}

.ff-single-product-page .single_variation_wrap {
    margin-top: 0.25rem;
}

.ff-single-product-page .ff-single-product-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.65rem !important;
    row-gap: 0.65rem !important;
    width: 100%;
    margin-top: 0.15rem;
}

.ff-single-product-page .ff-single-product-buttons > .single_add_to_cart_button,
.ff-single-product-page .ff-single-product-buttons > .ff-buy-now-button {
    margin: 0 !important;
}

.ff-single-product-page .single_add_to_cart_button + .ff-buy-now-button {
    margin-top: 0 !important;
}

.ff-single-product-page .single_add_to_cart_button,
.ff-single-product-page .ff-buy-now-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 1.25rem !important;
    border-radius: 999px !important;
    font-family: "Inter", sans-serif !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0.02em;
    text-transform: none !important;
    cursor: pointer;
    transition:
        transform 0.35s var(--ff-motion-soft),
        box-shadow 0.35s ease,
        background-color 0.35s ease,
        border-color 0.35s ease,
        color 0.35s ease;
}

.ff-single-product-page .single_add_to_cart_button {
    border: 0 !important;
    background: var(--ff-kodak-yellow) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(250, 182, 23, 0.28) !important;
}

.ff-single-product-page .single_add_to_cart_button:hover,
.ff-single-product-page .single_add_to_cart_button:focus-visible {
    border-color: transparent !important;
    background: var(--ff-kodak-yellow) !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(250, 182, 23, 0.38) !important;
}

.ff-single-product-page .ff-buy-now-button {
    border: 0 !important;
    background: var(--ff-kodak-red) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(189, 0, 7, 0.22) !important;
}

.ff-single-product-page .ff-buy-now-button:hover,
.ff-single-product-page .ff-buy-now-button:focus-visible {
    background: #a00006 !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(189, 0, 7, 0.34) !important;
}

.ff-single-product-page .single_add_to_cart_button:active,
.ff-single-product-page .ff-buy-now-button:active {
    transform: translateY(0) scale(0.99);
}

.ff-single-product-page .single_add_to_cart_button.disabled,
.ff-single-product-page .ff-buy-now-button.disabled,
.ff-single-product-page .ff-buy-now-button:disabled,
.ff-single-product-page .single_add_to_cart_button:disabled,
.ff-single-product-page .ff-buy-now-button.ff-buy-now-pending,
.ff-single-product-page .single_add_to_cart_button.ff-ajax-pending {
    opacity: 0.55;
    pointer-events: none;
    transform: none !important;
    cursor: not-allowed;
}

.ff-single-product-page .single_add_to_cart_button:not(.disabled):not(:disabled):not(.ff-ajax-pending),
.ff-single-product-page .ff-buy-now-button:not(.disabled):not(:disabled):not(.ff-buy-now-pending) {
    cursor: pointer !important;
    pointer-events: auto !important;
}

.ff-single-product-page .single_add_to_cart_button.ff-ajax-pending,
.ff-single-product-page .ff-buy-now-button.ff-buy-now-pending {
    opacity:1!important;
    filter:none!important;
    cursor:wait;
}
.ff-single-product-page .single_add_to_cart_button.ff-ajax-pending {
    background:var(--ff-kodak-yellow)!important;
}

/*
 * Prodotto singolo — nasconde la descrizione variante WooCommerce (duplicata rispetto al box).
 */
.ff-single-product-page .woocommerce-variation-description {
    display: none !important;
}

/*
 * Prodotto singolo — nasconde "Visualizza carrello" iniettato da WooCommerce dopo AJAX.
 */
body.ff-single-product-page form.cart a.added_to_cart,
body.ff-single-product-page form.variations_form a.added_to_cart,
body.ff-single-product-page .ff-single-product-buttons a.added_to_cart {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

@media (min-width: 981px) {
    .ff-single-product-page {
        --ff-gallery-stage-height: min(56vw, 520px);
    }

    .ff-single-product-page .ff-single-product-gallery {
        flex: 0 1 calc(50% - 1.25rem);
        max-width: calc(50% - 1.25rem);
        display: flex;
        flex-direction: column;
    }

    .ff-single-product-page .ff-single-product-summary {
        flex: 0 1 calc(50% - 1.25rem);
        max-width: calc(50% - 1.25rem);
        padding-top: 0.35rem !important;
        min-height: 100%;
    }

    .ff-single-product-page .ff-single-product-summary > .et_pb_wc_title {
        order: 1;
    }

    .ff-single-product-page .ff-single-product-summary > .ff-product-variant-bar,
    .ff-single-product-page .ff-single-product-summary > .ff-product-price-qty-bar,
    .ff-single-product-page .ff-single-product-summary > .et_pb_wc_price {
        order: 2;
    }

    .ff-single-product-page .ff-single-product-summary > .ff-product-desc-mounted,
    .ff-single-product-page .ff-single-product-summary > .et_pb_wc_description,
    .ff-single-product-page .ff-single-product-summary > .ff-product-desc-fallback {
        order: 3;
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
        margin-bottom: 0 !important;
    }

    .ff-single-product-page .ff-single-product-summary > .ff-product-desc-mounted .ff-product-desc-card,
    .ff-single-product-page .ff-single-product-summary > .et_pb_wc_description .ff-product-desc-card,
    .ff-single-product-page .ff-single-product-summary > .ff-product-desc-fallback .ff-product-desc-card {
        flex: 1 1 auto;
        min-height: 0;
        max-height: none !important;
    }

    .ff-single-product-page .ff-single-product-summary > .et_pb_wc_add_to_cart {
        order: 4;
        flex: 0 0 auto;
        margin-top: auto !important;
        padding-top: 0.85rem !important;
    }

    .ff-single-product-page .ff-single-product-summary .ff-product-desc-card {
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .ff-single-product-page .ff-single-product-summary .ff-product-desc-card--collapsed,
    .ff-single-product-page .ff-single-product-summary .ff-product-desc-card--expanded {
        flex: 1 1 auto !important;
        min-height: 0;
        max-height: none !important;
    }

    .ff-single-product-page .ff-single-product-summary .ff-product-desc-card--collapsed .ff-product-desc-body {
        flex: 0 0 auto;
        min-height: auto;
        display: block;
        overflow: hidden;
        max-height: calc(1.75em * 3);
    }

    .ff-single-product-page .ff-single-product-summary .ff-product-desc-card--expanded {
        overflow: hidden;
    }

    .ff-single-product-page .ff-single-product-summary .ff-product-desc-card--expanded .ff-product-desc-body {
        flex: 1 1 auto;
        min-height: 0;
        display: block;
        overflow-x: hidden;
        overflow-y: scroll;
        max-height: none;
        padding-right: 0.35rem;
        scrollbar-width: thin;
        scrollbar-color: rgba(15, 23, 42, 0.28) rgba(15, 23, 42, 0.06);
    }

    .ff-single-product-page .ff-single-product-summary .ff-product-desc-card--expanded .ff-product-desc-body::-webkit-scrollbar {
        width: 7px;
    }

    .ff-single-product-page .ff-single-product-summary .ff-product-desc-card--expanded .ff-product-desc-body::-webkit-scrollbar-track {
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.06);
    }

    .ff-single-product-page .ff-single-product-summary .ff-product-desc-card--expanded .ff-product-desc-body::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.28);
    }

    .ff-single-product-page .ff-single-product-summary .ff-product-desc-card .ff-product-desc-toggle {
        flex: 0 0 auto;
    }

    .ff-single-product-page .woocommerce-product-gallery__image img {
        max-height: 100%;
    }

    .ff-single-product-page .ff-product-gallery-preview,
    .ff-single-product-page .ff-product-gallery-more {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        border-radius: 9px;
    }

    .ff-single-product-page .ff-product-gallery-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

@media (max-width: 980px) {
    .ff-single-product-page {
        --ff-gallery-stage-height: min(72vw, 420px);
    }

    .ff-single-product-page .product .et_pb_section.ff-single-product {
        padding: 5.5rem 0 2.5rem !important;
    }

    .ff-single-product-page .ff-single-product .et_pb_row {
        gap: 1.35rem;
        padding: 0 1rem !important;
    }

    .ff-single-product-page .ff-single-product-summary {
        gap: 0;
    }

    .ff-single-product-page .et_pb_wc_title h1 {
        font-size: clamp(1.05rem, 4.8vw, 1.22rem) !important;
        line-height: 1.34 !important;
        margin-bottom: 0.75rem !important;
    }

    .ff-single-product-page .et_pb_wc_price .price,
    .ff-single-product-page .ff-product-variant-bar .et_pb_wc_price .price {
        margin-bottom: 0 !important;
    }

    .ff-single-product-page .ff-single-product-summary > .et_pb_wc_price:not(.ff-product-price-qty-row .et_pb_wc_price) {
        display: none !important;
    }

    .ff-single-product-page .ff-product-price-qty-row,
    .ff-single-product-page .ff-product-price-qty-bar .ff-product-price-qty-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.75rem;
        width: 100%;
        margin: 0 0 1rem !important;
    }

    .ff-single-product-page .ff-product-price-qty-row .et_pb_wc_price,
    .ff-single-product-page .ff-product-price-qty-row .woocommerce-variation-price {
        display: flex !important;
        align-items: center !important;
        flex: 1 1 auto;
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    .ff-single-product-page .ff-product-price-qty-row .et_pb_wc_price .price,
    .ff-single-product-page .ff-product-price-qty-row .woocommerce-variation-price .price {
        margin: 0 !important;
        line-height: 1 !important;
    }

    .ff-single-product-page .ff-product-qty-slot {
        flex: 0 0 auto;
        margin-left: auto;
        display: flex;
        align-items: center;
    }

    .ff-single-product-page .ff-product-variant-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
        margin-bottom: 0.25rem;
    }

    .ff-single-product-page .ff-product-variant-bar .et_pb_wc_price .price {
        margin-bottom: 0 !important;
        text-align: left !important;
    }

    .ff-single-product-page .ff-product-variant-control {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }

    .ff-single-product-page .et_pb_wc_add_to_cart {
        margin: 0 0 1.1rem !important;
        padding-top: 0 !important;
    }

    .ff-single-product-page .ff-single-product-buttons {
        gap: 0.55rem !important;
        row-gap: 0.55rem !important;
    }

    .ff-single-product-page .ff-product-gallery-previews {
        gap: 0.3rem;
    }

    .ff-single-product-page .ff-product-gallery-preview,
    .ff-single-product-page .ff-product-gallery-more {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        border-radius: 7px;
    }

    .ff-single-product-page .ff-product-gallery-nav-btn {
        width: 28px;
        height: 28px;
        font-size: 0.88rem;
    }

    .ff-single-product-page .woocommerce-product-gallery__image img {
        max-height: 100%;
    }

    .ff-single-product-page .ff-product-desc-mounted,
    .ff-single-product-page .et_pb_wc_description,
    .ff-single-product-page .ff-product-desc-fallback {
        flex: 0 0 auto;
        min-height: 0;
        max-height: none;
        margin: 1rem 0 0 !important;
        padding-top: 0;
    }

    .ff-single-product-page .ff-product-desc-card {
        flex: 0 0 auto;
        min-height: 0;
        margin: 0;
    }

    .ff-single-product-page .ff-product-desc-card--collapsed {
        flex: 0 0 auto;
        max-height: none;
    }

    .ff-single-product-page .ff-product-desc-card--expanded {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .ff-single-product-page .ff-product-desc-card--expanded .ff-product-desc-body {
        flex: 1 1 auto;
        min-height: 0;
        display: block;
        overflow-y: auto;
        max-height: none;
    }
}

/*
 * Scheda prodotto — il banner giallo pagine interne non deve applicarsi qui.
 */
body.ff-single-product-page .product .et_pb_section.ff-page-banner,
body.ff-single-product-page #main-content .et_pb_section.ff-page-banner {
    padding: 6.25rem 0 3.5rem !important;
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
}

/*
 * Scheda prodotto — nasconde pellicola rossa del banner, mantiene quella gialla dei suggerimenti.
 */
.ff-single-product-page .ff-page-banner-film {
    display: none !important;
}

/* ================================================================
 * SCHEDA PRODOTTO — "Potrebbero piacerti..." carousel sotto pellicola 35mm
 * Replica pattern recensioni home: frecce, 1 card mobile / 3 card desktop.
 * ================================================================ */
.ff-single-product-page .et_pb_wc_related_products,
.ff-single-product-page .related.products {
    display: none !important;
}

.ff-product-suggestions {
    position: relative;
    padding: 0 0 4rem;
    background: var(--ff-bg-soft);
    overflow: hidden;
    overflow-x: clip;
}

.ff-product-suggestions-film {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: 32px;
    background-color: var(--ff-kodak-yellow);
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='32' viewBox='0 0 24 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='6' y='7' width='12' height='18' rx='2' fill='white'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;
}

.ff-product-suggestions-inner {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 2.75rem 1.25rem 0;
}

.ff-product-suggestions-header {
    margin-bottom: 2rem;
    text-align: center;
}

.ff-product-suggestions-title {
    margin: 0;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: clamp(1.85rem, 6vw, 2.5rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -0.8px;
}

.ff-product-suggestions-highlight {
    color: var(--ff-kodak-red);
}

.ff-product-suggestions-carousel {
    position: relative;
}

.ff-product-suggestions-viewport {
    overflow: hidden;
    padding: 1rem 0 2.25rem;
    touch-action: pan-y;
    overscroll-behavior-x: contain;
}

.ff-product-suggestions-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.55s var(--ff-motion-soft);
    will-change: transform;
}

.ff-product-suggestions-track.is-dragging {
    transition: none;
}

/* Carousel suggerimenti — stesse card del catalogo et_pb_shop */
.ff-product-suggestions .ff-suggestions-catalog.et_pb_shop {
    padding: 0;
    background: transparent;
}

.ff-product-suggestions .ff-suggestions-catalog .woocommerce {
    margin: 0;
}

/* Vince la griglia catalogo et_pb_shop — track orizzontale come recensioni home */
.ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products.ff-product-suggestions-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    grid-auto-flow: unset !important;
    gap: 1rem;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.ff-product-suggestions .ff-suggestions-catalog .woocommerce ul.products.ff-product-suggestions-track::before,
.ff-product-suggestions .ff-suggestions-catalog .woocommerce ul.products.ff-product-suggestions-track::after {
    display: none !important;
}

.ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products.ff-product-suggestions-track li.product,
.ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products.ff-product-suggestions-track .ff-suggestion-card {
    flex: 0 0 100%;
    width: 100% !important;
    max-width: 100%;
    float: none !important;
}

/* Prezzo suggerimenti — stessi selettori/specificità del catalogo et_pb_shop */
body.ff-single-product-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price,
body.ff-single-product-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .ff-product-card-footer .price,
body.ff-single-product-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price .amount,
body.ff-single-product-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price .amount bdi,
body.ff-single-product-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price .woocommerce-Price-amount,
body.ff-cart-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price,
body.ff-cart-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .ff-product-card-footer .price,
body.ff-cart-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price .amount,
body.ff-cart-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price .amount bdi,
body.ff-cart-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price .woocommerce-Price-amount {
    color: var(--ff-kodak-red) !important;
    letter-spacing: 0 !important;
}

body.ff-single-product-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price,
body.ff-single-product-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .ff-product-card-footer .price,
body.ff-cart-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price,
body.ff-cart-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .ff-product-card-footer .price {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: right !important;
}

body.ff-single-product-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price del,
body.ff-single-product-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price del .amount,
body.ff-cart-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price del,
body.ff-cart-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price del .amount {
    opacity: 0.55;
    font-size: 0.88em;
    font-weight: 500;
    color: var(--ff-text-muted) !important;
}

body.ff-single-product-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price ins,
body.ff-single-product-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price ins .amount,
body.ff-cart-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price ins,
body.ff-cart-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price ins .amount {
    text-decoration: none;
    font-weight: 700;
    color: var(--ff-kodak-red) !important;
}

.ff-product-suggestions-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.ff-product-suggestions-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid var(--ff-border-soft);
    border-radius: 999px;
    background: #fff;
    color: var(--ff-text-main);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    transition:
        transform 0.35s ease,
        background-color 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        opacity 0.35s ease;
}

.ff-product-suggestions-arrow svg {
    width: 22px;
    height: 22px;
}

@media (hover: hover) and (pointer: fine) {
    .ff-product-suggestions-arrow:hover:not(:disabled) {
        transform: translateY(-3px);
        border-color: var(--ff-kodak-yellow);
        background: var(--ff-kodak-yellow);
        color: #fff;
    }
}

.ff-product-suggestions-arrow:disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: default;
}

@media (min-width: 768px) {
    .ff-product-suggestions-inner {
        padding-top: 3.25rem;
    }

    .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products.ff-product-suggestions-track {
        gap: 1.5rem;
    }

    .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products.ff-product-suggestions-track li.product,
    .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products.ff-product-suggestions-track .ff-suggestion-card {
        flex: 0 0 calc((100% - 3rem) / 3);
        max-width: calc((100% - 3rem) / 3);
    }

    .ff-product-suggestions-controls {
        justify-content: flex-end;
    }
}

@media (max-width: 767px) {
    .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products.ff-product-suggestions-track li.product,
    .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products.ff-product-suggestions-track .ff-suggestion-card {
        flex: 0 0 100%;
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* ================================================================
 * PAGINA CARRELLO — banner giallo + pellicola rossa, stato vuoto centrato
 * ================================================================ */
body.ff-cart-page #main-content {
    background: var(--ff-bg-main) !important;
}

body.ff-cart-page .entry-content > .et_builder_inner_content > .et_pb_section:not(.ff-page-banner) {
    width: 100% !important;
    max-width: 100% !important;
    padding: 3.25rem 1.25rem 4.5rem !important;
    background: var(--ff-bg-main) !important;
}

body.ff-cart-page:not(.ff-cart-page--has-items) .entry-content > .et_builder_inner_content > .et_pb_section:not(.ff-page-banner) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5.5rem 1.25rem 6.25rem !important;
}

body.ff-cart-page:not(.ff-cart-page--has-items) .entry-content .woocommerce {
    width: min(100%, 720px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

body.ff-cart-page .entry-content > .et_builder_inner_content > .et_pb_section:not(.ff-page-banner) .et_pb_row {
    width: min(100%, 720px) !important;
    max-width: 720px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

body.ff-cart-page .wc-empty-cart-message,
body.ff-cart-page .return-to-shop {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

body.ff-cart-page:not(.ff-cart-page--has-items) .wc-empty-cart-message,
body.ff-cart-page:not(.ff-cart-page--has-items) .return-to-shop {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.ff-cart-page .cart-empty.woocommerce-info {
    margin: 0 0 1.35rem !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--ff-text-main) !important;
    font-family: "Inter", sans-serif !important;
    font-size: clamp(1.15rem, 3.2vw, 1.45rem) !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.02em;
    text-align: center !important;
    box-shadow: none !important;
    filter: none !important;
}

body.ff-cart-page .cart-empty.woocommerce-info::before {
    display: none !important;
}

body.ff-cart-page .return-to-shop {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.ff-cart-page .return-to-shop .button,
body.ff-cart-page .return-to-shop .wc-backward {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    width: auto !important;
    min-width: max-content;
    min-height: 48px;
    padding: 0.82rem 1.65rem !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--ff-kodak-red) !important;
    color: #ffffff !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(189, 0, 7, 0.28);
    transform: translateY(0) scale(1);
    transition:
        background-color 0.35s ease,
        transform 0.35s var(--ff-motion-soft),
        box-shadow 0.35s ease;
}

body.ff-cart-page .return-to-shop .button::before,
body.ff-cart-page .return-to-shop .wc-backward::before {
    display: none !important;
    content: none !important;
}

body.ff-cart-page .return-to-shop .button:hover,
body.ff-cart-page .return-to-shop .wc-backward:hover,
body.ff-cart-page .return-to-shop .button:focus-visible,
body.ff-cart-page .return-to-shop .wc-backward:focus-visible {
    background: var(--ff-kodak-red) !important;
    color: #ffffff !important;
    padding: 0.82rem 1.65rem !important;
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 18px 36px rgba(189, 0, 7, 0.34);
}

body.ff-cart-page .return-to-shop .button:active,
body.ff-cart-page .return-to-shop .wc-backward:active {
    background: var(--ff-kodak-red) !important;
    color: #ffffff !important;
    padding: 0.82rem 1.65rem !important;
    transform: translateY(-1px) scale(1.01) !important;
    box-shadow: 0 14px 30px rgba(189, 0, 7, 0.26);
}

@media (max-width: 767px) {
    body.ff-cart-page .entry-content > .et_builder_inner_content > .et_pb_section:not(.ff-page-banner) {
        padding: 2.5rem 1.1rem 3.5rem !important;
    }

    body.ff-cart-page--has-items .entry-content > .et_builder_inner_content > .et_pb_section:not(.ff-page-banner) {
        padding: 0 1.1rem 3.5rem !important;
    }

    body.ff-cart-page--has-items .entry-content > .et_builder_inner_content > .et_pb_section:not(.ff-page-banner) > .et_pb_row {
        padding-top: 0 !important;
    }

    body.ff-cart-page--has-items .ff-cart-layout {
        margin-top: -2.25rem;
    }

    body.ff-cart-page:not(.ff-cart-page--has-items) .entry-content > .et_builder_inner_content > .et_pb_section:not(.ff-page-banner) {
        padding: 4rem 1.1rem 4.75rem !important;
    }

    body.ff-cart-page .cart-empty.woocommerce-info {
        font-size: 1.1rem !important;
    }
}

/* ================================================================
 * PAGINA CARRELLO — layout con prodotti (desktop 2 colonne + mobile stack)
 * Riferimento strutturale: lista prodotti | sidebar riepilogo + spedizione gratuita
 * ================================================================ */
body.ff-cart-page--has-items .entry-content > .et_builder_inner_content > .et_pb_section:not(.ff-page-banner) .et_pb_row {
    width: min(100%, 1120px) !important;
    max-width: 1120px !important;
}

body.ff-cart-page--has-items .woocommerce.ff-cart-shell {
    font-family: "Inter", sans-serif;
}

body.ff-cart-page--has-items .ff-cart-layout {
    display: grid;
    gap: 2rem;
    align-items: start;
}

body.ff-cart-page--has-items .ff-cart-layout__main {
    min-width: 0;
}

body.ff-cart-page--has-items .ff-cart-layout__sidebar {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

body.ff-cart-page--has-items .ff-cart-layout__sidebar > * {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Alert in pagina carrello */
body.ff-cart-page .woocommerce-notices-wrapper {
    margin: 0 0 1.25rem;
}

body.ff-cart-page .woocommerce-message,
body.ff-cart-page .woocommerce-info:not(.cart-empty),
body.ff-cart-page .woocommerce-error,
body.ff-cart-page .woocommerce-notices-wrapper .woocommerce-message,
body.ff-cart-page .woocommerce-notices-wrapper .woocommerce-info:not(.cart-empty),
body.ff-cart-page .woocommerce-notices-wrapper .woocommerce-error {
    margin: 0 0 1rem !important;
    padding: 0.95rem 1.15rem !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--ff-kodak-yellow) !important;
    color: #ffffff !important;
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
    box-shadow: 0 10px 24px rgba(250, 182, 23, 0.22) !important;
}

body.ff-cart-page .woocommerce-message::before,
body.ff-cart-page .woocommerce-info::before,
body.ff-cart-page .woocommerce-error::before {
    color: #ffffff !important;
}

/* Box lista prodotti */
body.ff-cart-page--has-items form.woocommerce-cart-form {
    border: 1px solid var(--ff-border-soft);
    border-radius: 16px;
    background: var(--ff-bg-main);
    box-shadow: var(--ff-shadow-soft);
    padding: 0.35rem 1.35rem 0.65rem;
    overflow: hidden;
}

/* Banner spedizione gratuita */
body.ff-cart-page--has-items .ff-cart-shipping-notice {
    position: relative;
    margin: 0;
    border: 1px solid var(--ff-border-soft);
    border-radius: 14px;
    background: var(--ff-bg-soft);
    overflow: hidden;
    box-shadow: var(--ff-shadow-soft);
}

body.ff-cart-page--has-items .ff-cart-shipping-notice__bar {
    display: block;
    width: 100%;
    height: 4px;
    background: rgba(250, 182, 23, 0.18);
    overflow: hidden;
}

body.ff-cart-page--has-items .ff-cart-shipping-notice__fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--ff-kodak-yellow);
    transition: width 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

body.ff-cart-page--has-items .ff-cart-shipping-notice__text {
    margin: 0;
    padding: 0.95rem 1.1rem;
    color: var(--ff-text-main);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    letter-spacing: -0.01em;
}

body.ff-cart-page--has-items .ff-cart-shipping-notice.is-complete .ff-cart-shipping-notice__text {
    color: var(--ff-kodak-red);
}

body.ff-cart-page--has-items .ff-shipping-confetti-screen {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    width: 100vw;
    height: 100dvh;
    overflow: hidden;
    pointer-events: none;
}

body.ff-cart-page--has-items .ff-shipping-confetti-screen span {
    position: absolute;
    left: var(--ff-confetti-left);
    top: 88%;
    width: 7px;
    height: 11px;
    border-radius: 2px;
    background: var(--ff-confetti-color);
    opacity: 0;
}

body.ff-cart-page--has-items .ff-shipping-confetti-screen.is-active span {
    animation: ff-shipping-confetti 1.5s cubic-bezier(0.2, 0.7, 0.25, 1) var(--ff-confetti-delay) both;
}

@keyframes ff-shipping-confetti {
    0% {
        opacity: 0;
        transform: translate(0, 8px) rotate(0deg) scale(0.7);
    }
    12% {
        opacity: 1;
    }
    52% {
        opacity: 1;
        transform: translate(var(--ff-confetti-x), var(--ff-confetti-rise)) rotate(var(--ff-confetti-rotate)) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--ff-confetti-x), 18vh) rotate(var(--ff-confetti-rotate)) scale(0.85);
    }
}

/* Tabella prodotti — rimuove griglia squadrata WooCommerce/Divi (border #eee su table.cart) */
body.ff-cart-page--has-items table.woocommerce-cart-form__contents {
    width: 100%;
    border: 0 !important;
    border-collapse: collapse;
    border-spacing: 0;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents th,
body.ff-cart-page--has-items .woocommerce-cart-form__contents td {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents thead th {
    padding: 1rem 0 0.85rem;
    border-bottom: 1px solid var(--ff-border-soft);
    color: var(--ff-text-main);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents thead .product-price,
body.ff-cart-page--has-items .woocommerce-cart-form__contents thead .product-remove {
    display: none;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody tr {
    border-bottom: 1px solid var(--ff-border-soft);
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody td {
    padding: 1.15rem 0;
    vertical-align: middle;
    color: var(--ff-text-main);
    font-size: 0.95rem;
    line-height: 1.45;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody tr:last-child td {
    padding-bottom: 1rem;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-thumbnail {
    width: 4.5rem;
    padding-right: 1rem;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-thumb {
    display: block;
    position: relative;
    width: 4.5rem;
    height: 5.5rem;
    overflow: hidden;
    border-radius: 10px;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-thumb-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--ff-border-soft);
    background: #fff;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-thumb-img--broken {
    display: none !important;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-thumb-placeholder {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    border: 1px solid var(--ff-border-soft);
    border-radius: 10px;
    background: linear-gradient(145deg, #f1f5f9 0%, #e8edf3 100%);
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-thumb-placeholder::before {
    content: "";
    position: absolute;
    inset: 14%;
    border: 2px solid rgba(15, 23, 42, 0.07);
    border-radius: 8px;
    pointer-events: none;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-thumb-placeholder::after {
    content: "";
    position: absolute;
    inset: 14%;
    background:
        linear-gradient(
            to top right,
            transparent calc(50% - 1px),
            rgba(15, 23, 42, 0.09) calc(50% - 1px),
            rgba(15, 23, 42, 0.09) calc(50% + 1px),
            transparent calc(50% + 1px)
        ),
        linear-gradient(
            to top left,
            transparent calc(50% - 1px),
            rgba(15, 23, 42, 0.09) calc(50% - 1px),
            rgba(15, 23, 42, 0.09) calc(50% + 1px),
            transparent calc(50% + 1px)
        );
    pointer-events: none;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-thumb--has-image:not(:has(.ff-cart-thumb-img--broken)) .ff-cart-thumb-placeholder {
    display: none;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-thumbnail img:not(.ff-cart-thumb-img) {
    width: 4.5rem;
    height: 5.5rem;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--ff-border-soft);
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-name a {
    color: var(--ff-text-main);
    font-weight: 700;
    text-decoration: none;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-name a:hover {
    color: var(--ff-kodak-red);
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-price {
    display: none;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-name .woocommerce-Price-amount,
body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-name .amount,
body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-name .ff-cart-line-price {
    display: none !important;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-name dl.variation {
    margin-top: 0.35rem;
    color: var(--ff-text-muted);
    font-size: 0.88rem;
    font-weight: 600;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-line-price {
    display: none !important;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-row-subtotal {
    margin-top: 0.45rem;
    color: var(--ff-text-main);
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-row-subtotal .woocommerce-Price-amount {
    font-weight: 800;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-qty-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-row-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-quantity {
    white-space: nowrap;
    vertical-align: middle;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .quantity {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0.2rem;
    border: 1px solid var(--ff-border-soft);
    border-radius: 999px;
    background: var(--ff-bg-soft);
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .quantity .qty {
    width: 2.4rem;
    min-height: 2rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .quantity .qty::-webkit-outer-spin-button,
body.ff-cart-page--has-items .woocommerce-cart-form__contents .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-remove {
    width: 2.25rem;
    padding: 0;
    text-align: center;
    vertical-align: middle;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-remove a.remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    color: var(--ff-text-muted) !important;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition: color 0.25s ease, background-color 0.25s ease;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-remove a.remove:hover {
    color: var(--ff-kodak-red) !important;
    background: rgba(189, 0, 7, 0.08);
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-subtotal {
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents tr.actions {
    display: none;
}

/* Sidebar riepilogo */
body.ff-cart-page--has-items .cart-collaterals {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

body.ff-cart-page--has-items .cart_totals {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 1.2rem 1.15rem 1.25rem;
    border: 1px solid var(--ff-border-soft);
    border-radius: 16px;
    background: var(--ff-bg-soft);
    box-shadow: var(--ff-shadow-soft);
    box-sizing: border-box;
}

body.ff-cart-page--has-items .cart_totals > h2 {
    display: block;
    margin: 0 0 1rem;
    padding: 0;
    color: var(--ff-kodak-red);
    font-family: "Inter", sans-serif;
    font-size: clamp(1.2rem, 2.3vw, 1.45rem);
    font-weight: 800;
    line-height: 1.25;
}

body.ff-cart-page--has-items .cart_totals table {
    width: 100%;
    margin: 0 0 0.85rem;
    border: 0;
}

body.ff-cart-page--has-items .cart_totals table tr:not(.order-total) {
    display: none;
}

body.ff-cart-page--has-items .cart_totals table tr.ff-cart-threshold-shipping-row {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.35s ease, margin 0.35s ease;
}

body.ff-cart-page--has-items .cart_totals table tr.ff-cart-threshold-shipping-row.is-visible {
    max-height: 52px;
    margin: 0 0 0.75rem;
    opacity: 1;
    transform: translateY(0);
}

body.ff-cart-page--has-items .cart_totals table tr.ff-cart-threshold-shipping-row.is-leaving {
    max-height: 0;
    margin: 0;
    opacity: 0;
    transform: translateY(-6px);
}

body.ff-cart-page--has-items .cart_totals table tr.ff-cart-threshold-shipping-row th,
body.ff-cart-page--has-items .cart_totals table tr.ff-cart-threshold-shipping-row td {
    display: block;
    margin: 0;
    padding: 0.65rem 0;
    border: 0;
    background: transparent;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
    vertical-align: middle;
}

body.ff-cart-page--has-items .cart_totals table tr.ff-cart-threshold-shipping-row td {
    text-align: right;
    white-space: nowrap;
}

body.ff-cart-page--has-items .cart_totals table tr.ff-cart-coupon-discount-row {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    margin: 0 0 0.75rem;
}

body.ff-cart-page--has-items .cart_totals table tr.ff-cart-coupon-discount-row th,
body.ff-cart-page--has-items .cart_totals table tr.ff-cart-coupon-discount-row td {
    display: block;
    margin: 0;
    padding: 0.1rem 0;
    border: 0;
    background: transparent;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
}

body.ff-cart-page--has-items .cart_totals table tr.ff-cart-coupon-discount-row td {
    color: var(--ff-kodak-red);
    text-align: right;
    white-space: nowrap;
}

body.ff-cart-page--has-items .cart_totals table tr.order-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    width: 100%;
}

body.ff-cart-page--has-items .cart_totals table tr.order-total th,
body.ff-cart-page--has-items .cart_totals table tr.order-total td {
    display: block;
    padding: 0 0 0.35rem;
    border: 0;
    background: transparent;
    color: var(--ff-text-main);
    font-size: 1rem;
    font-weight: 700;
    vertical-align: baseline;
}

body.ff-cart-page--has-items .cart_totals table tr.order-total td {
    text-align: right;
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

body.ff-cart-page--has-items .ff-cart-checkout-note {
    margin: 0 0 1rem;
    color: var(--ff-text-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

body.ff-cart-page--has-items .ff-cart-utilities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    margin: 0 0 1.15rem;
}

body.ff-cart-page--has-items .ff-cart-utilities__link {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    cursor: pointer;
    transition: color 0.25s ease;
}

body.ff-cart-page--has-items .ff-cart-utilities__link:hover,
body.ff-cart-page--has-items .ff-cart-utilities__link:focus-visible {
    color: var(--ff-kodak-red);
}

body.ff-cart-page--has-items .ff-cart-coupon-slot {
    margin: 0 0 1.15rem;
    padding: 0;
}

body.ff-cart-page--has-items .cart_totals .ff-cart-coupon-slot {
    margin: 0 0 1.15rem;
    border-top: 1px solid var(--ff-border-soft);
    border-bottom: 1px solid var(--ff-border-soft);
    background: transparent;
}

body.ff-cart-page--has-items .ff-cart-coupon-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 0.7rem 0;
    border: 0;
    background: transparent;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

body.ff-cart-page--has-items .ff-cart-coupon-details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 46px;
    padding: 0.7rem 0;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.25;
    list-style: none;
    cursor: pointer;
}

body.ff-cart-page--has-items .ff-cart-coupon-details > summary::-webkit-details-marker {
    display: none;
}

body.ff-cart-page--has-items .ff-cart-coupon-details > summary:hover,
body.ff-cart-page--has-items .ff-cart-coupon-details > summary:focus-visible {
    color: var(--ff-kodak-red);
    outline: none;
}

body.ff-cart-page--has-items .ff-cart-coupon-details[open] .ff-cart-coupon-toggle__arrow {
    transform: rotate(225deg) translate(-2px, -2px);
}

body.ff-cart-page--has-items .ff-cart-coupon-toggle:hover,
body.ff-cart-page--has-items .ff-cart-coupon-toggle:focus-visible {
    color: var(--ff-kodak-red);
    outline: none;
}

body.ff-cart-page--has-items .ff-cart-coupon-toggle__arrow {
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    margin-right: 0.2rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.25s ease;
}

body.ff-cart-page--has-items .ff-cart-coupon-toggle[aria-expanded="true"] .ff-cart-coupon-toggle__arrow {
    transform: rotate(225deg) translate(-2px, -2px);
}

body.ff-cart-page--has-items .ff-cart-coupon-panel[hidden] {
    display: none !important;
}

body.ff-cart-page--has-items .ff-cart-coupon-panel {
    display: block;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-5px);
    transition:
        max-height 0.28s ease,
        padding 0.28s ease,
        opacity 0.22s ease,
        transform 0.28s ease;
}

body.ff-cart-page--has-items .ff-cart-coupon-slot.is-open .ff-cart-coupon-panel {
    max-height: 190px;
    padding: 0.15rem 0 0.75rem;
    opacity: 1;
    transform: translateY(0);
}

body.ff-cart-page--has-items .ff-cart-coupon-slot .coupon {
    display: flex !important;
    flex-direction: column;
    gap: 0.65rem;
    align-items: stretch;
}

body.ff-cart-page--has-items .ff-cart-coupon-slot .coupon label {
    display: none;
}

body.ff-cart-page--has-items .ff-cart-coupon-slot .coupon input[type="text"] {
    width: 100%;
    min-height: 44px;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--ff-border-soft);
    border-radius: 12px;
    background: var(--ff-bg-main);
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    box-sizing: border-box;
}

body.ff-cart-page--has-items .ff-cart-coupon-slot .coupon .button {
    width: 100%;
    min-height: 44px;
    padding: 0.6rem 1rem !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--ff-kodak-yellow) !important;
    color: #ffffff !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    box-shadow: 0 10px 22px rgba(250, 182, 23, 0.28);
    transition:
        transform 0.35s var(--ff-motion-soft),
        box-shadow 0.35s ease;
}

body.ff-cart-page--has-items .ff-cart-coupon-slot .coupon .button:hover,
body.ff-cart-page--has-items .ff-cart-coupon-slot .coupon .button:focus-visible {
    background: var(--ff-kodak-yellow) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(250, 182, 23, 0.38) !important;
}

body.ff-cart-page--has-items form.woocommerce-cart-form .coupon {
    display: none !important;
}

body.ff-cart-page--has-items .wc-proceed-to-checkout {
    margin: 0;
    padding: 0;
}

body.ff-cart-page--has-items .wc-proceed-to-checkout .checkout-button,
body.ff-cart-page--has-items .wc-proceed-to-checkout a.button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 50px;
    padding: 0.9rem 1.25rem !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--ff-kodak-red) !important;
    color: #ffffff !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0.01em;
    text-decoration: none !important;
    box-shadow: 0 10px 22px rgba(189, 0, 7, 0.22);
    transition:
        transform 0.35s var(--ff-motion-soft),
        box-shadow 0.35s ease;
}

body.ff-cart-page--has-items .wc-proceed-to-checkout .checkout-button::before,
body.ff-cart-page--has-items .wc-proceed-to-checkout a.button::before {
    content: "";
    display: inline-block;
    width: 0.95rem;
    height: 0.95rem;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.ff-cart-page--has-items .wc-proceed-to-checkout .checkout-button:hover,
body.ff-cart-page--has-items .wc-proceed-to-checkout a.button:hover,
body.ff-cart-page--has-items .wc-proceed-to-checkout .checkout-button:focus-visible,
body.ff-cart-page--has-items .wc-proceed-to-checkout a.button:focus-visible {
    background: var(--ff-kodak-red) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(189, 0, 7, 0.34) !important;
}

body.ff-cart-page--has-items .cart-collaterals .cross-sells {
    display: none;
}

body.ff-cart-page--has-items .woocommerce-shipping-calculator {
    display: none;
    margin-top: 0.75rem;
}

body.ff-cart-page--has-items .woocommerce-shipping-calculator.ff-cart-panel--open {
    display: block;
}

body.ff-cart-page--has-items .shipping-calculator-form {
    display: none;
}

body.ff-cart-page--has-items .shipping-calculator-form.ff-cart-panel--open,
body.ff-cart-page--has-items .woocommerce-shipping-calculator.ff-cart-panel--open .shipping-calculator-form {
    display: block;
}

body.ff-cart-page--has-items .shipping-calculator-button {
    display: none !important;
}

/* Carrello — sezione "Potrebbero piacerti..." sotto il box principale */
body.ff-cart-page #ff-cart-potrebbero-piacerti.ff-product-suggestions {
    margin-top: 2.5rem;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

@media (max-width: 767px) {
    body.ff-cart-page #ff-cart-potrebbero-piacerti.ff-product-suggestions {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    body.ff-cart-page #ff-cart-potrebbero-piacerti .ff-product-suggestions-film {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 981px) {
    body.ff-cart-page--has-items .ff-cart-layout {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
        gap: 2.5rem;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents thead,
    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody {
        display: block;
        width: 100%;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents thead tr,
    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody tr.cart_item,
    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item {
        display: grid;
        grid-template-columns: 5.25rem minmax(0, 1.45fr) minmax(11.5rem, 1fr) minmax(7.5rem, 0.8fr);
        align-items: center;
        column-gap: 1rem;
        width: 100%;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents thead tr {
        padding-bottom: 0.15rem;
        border-bottom: 1px solid var(--ff-border-soft);
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents thead th,
    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody td {
        display: block;
        width: auto !important;
        padding: 0;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents thead .product-thumbnail[data-ff-hidden="1"],
    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody .product-remove,
    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody .product-price,
    body.ff-cart-page--has-items .woocommerce-cart-form__contents thead .product-price,
    body.ff-cart-page--has-items .woocommerce-cart-form__contents thead .product-remove {
        display: none !important;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents thead .product-thumbnail[data-ff-hidden="1"] {
        display: none;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents thead .product-name {
        grid-column: 1 / 3;
        text-align: center;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents thead .product-quantity {
        grid-column: 3;
        text-align: center;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents thead .product-subtotal {
        grid-column: 4;
        text-align: right;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody .product-thumbnail {
        grid-column: 1;
        width: auto;
        padding: 0;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody .product-name {
        grid-column: 2;
        min-width: 0;
        padding-right: 0.5rem;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody .product-quantity {
        grid-column: 3;
        justify-self: center;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody .product-subtotal {
        grid-column: 4;
        justify-self: end;
        padding-left: 0;
        text-align: right;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-thumb {
        width: 5rem;
        height: 5rem;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-thumbnail img:not(.ff-cart-thumb-img) {
        width: 5rem;
        height: 5rem;
    }

    body.ff-cart-page--has-items table.woocommerce-cart-form__contents {
        table-layout: auto;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody td {
        vertical-align: middle;
        padding: 1.15rem 0;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-name a {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-quantity {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        text-align: center;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-qty-stack {
        align-items: center;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-remove[data-ff-empty="1"] {
        display: none !important;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-row-controls a.remove.ff-cart-remove-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
        margin: 0;
        padding: 0;
        border: 1px solid var(--ff-border-soft);
        border-radius: 10px;
        background: var(--ff-bg-soft);
        color: var(--ff-text-main);
        font-size: 0 !important;
        line-height: 1;
        text-decoration: none;
        transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-row-controls a.remove.ff-cart-remove-btn::before {
        content: "";
        display: block;
        width: 1.05rem;
        height: 1.05rem;
        background-color: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3Cpath d='M9 6V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3Cpath d='M9 6V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-row-controls a.remove.ff-cart-remove-btn:hover,
    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-row-controls a.remove.ff-cart-remove-btn:focus-visible {
        border-color: var(--ff-kodak-red);
        background: rgba(227, 6, 19, 0.08);
        color: var(--ff-kodak-red);
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .quantity.ff-cart-qty {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 7.25rem;
        padding: 0.15rem;
        border: 1px solid var(--ff-border-soft);
        border-radius: 999px;
        background: var(--ff-bg-soft);
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-qty__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2rem;
        height: 2rem;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: var(--ff-text-main);
        font-family: "Inter", sans-serif;
        font-size: 1.05rem;
        font-weight: 700;
        line-height: 1;
        cursor: pointer;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-qty__btn:hover,
    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-qty__btn:focus-visible {
        background: rgba(250, 182, 23, 0.18);
        color: var(--ff-kodak-red);
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .quantity.ff-cart-qty .qty {
        width: 2.15rem;
        min-height: 2rem;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-row-subtotal {
        display: none !important;
    }
}

@media (max-width: 980px) {
    body.ff-cart-page--has-items .ff-cart-layout {
        gap: 1rem;
    }

    body.ff-cart-page--has-items .ff-cart-layout > .ff-cart-shipping-notice {
        order: -1;
        margin: 0 0 0.1rem;
    }

    body.ff-cart-page--has-items form.woocommerce-cart-form {
        height: fit-content !important;
        min-height: 0 !important;
        padding: 0.45rem 0.85rem 0 !important;
    }

    body.ff-cart-page--has-items table.woocommerce-cart-form__contents,
    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents,
    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody,
    body.ff-cart-page--has-items .woocommerce-cart-form__contents tr,
    body.ff-cart-page--has-items .woocommerce-cart-form__contents td {
        background: transparent !important;
        box-shadow: none !important;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents thead {
        display: none;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody td::before {
        display: none !important;
        content: none !important;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody tr {
        display: grid;
        grid-template-columns: 5rem minmax(0, 1fr) auto;
        grid-template-areas:
            "thumb meta remove"
            "thumb footer footer";
        gap: 0.5rem 0.85rem;
        height: auto !important;
        min-height: 0 !important;
        padding: 0.35rem 0 0 !important;
        border-bottom: 0 !important;
        text-align: left !important;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody tr:last-child {
        border-bottom: 0;
        padding-bottom: 0.1rem !important;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody tr.cart_item:last-of-type,
    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item:last-of-type {
        padding-bottom: 0 !important;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody > tr:not(.cart_item):not(.woocommerce-cart-form__cart-item) {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody tr.actions,
    body.ff-cart-page--has-items .woocommerce-cart-form__contents tr.actions {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody td {
        display: block;
        padding: 0;
        border: 0 !important;
        text-align: left !important;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-thumbnail {
        grid-area: thumb;
        display: block !important;
        width: auto;
        padding: 0;
        align-self: start;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-thumbnail .ff-cart-thumb {
        width: 5rem;
        height: 5.5rem;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-name {
        grid-area: meta;
        padding-right: 0.15rem;
        align-self: start;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-name a {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.92rem;
        line-height: 1.35;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-price,
    body.ff-cart-page--has-items .woocommerce-cart-form__contents tbody td.product-subtotal {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-quantity {
        grid-area: footer;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        justify-self: stretch;
        align-self: start;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
        transform: translateY(-0.65rem);
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-qty-stack {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        width: 100%;
        gap: 0.5rem;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-row-controls {
        display: inline-flex;
        flex: 0 1 auto;
        min-width: 0;
        align-items: center;
        gap: 0.5rem;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-row-subtotal {
        flex: 0 0 auto;
        display: block;
        margin: 0 0 0 auto;
        padding: 0;
        font-size: clamp(0.9rem, 4vw, 1rem);
        line-height: 2rem;
        white-space: nowrap;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-remove {
        grid-area: remove;
        width: auto;
        padding: 0;
        align-self: start;
        justify-self: end;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-row-controls a.remove.ff-cart-remove-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: clamp(1.65rem, 7vw, 1.85rem);
        height: clamp(1.65rem, 7vw, 1.85rem);
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: var(--ff-text-muted);
        font-size: 0 !important;
        line-height: 1;
        text-decoration: none !important;
        transition: color 0.2s ease, background-color 0.2s ease;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-row-controls a.remove.ff-cart-remove-btn::before {
        content: "";
        display: block;
        width: 1rem;
        height: 1rem;
        background-color: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3Cpath d='M9 6V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3Cpath d='M9 6V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-row-controls a.remove.ff-cart-remove-btn:hover,
    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-row-controls a.remove.ff-cart-remove-btn:focus-visible {
        color: var(--ff-kodak-red);
        background: rgba(227, 6, 19, 0.08);
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .quantity.ff-cart-qty {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        min-width: 0;
        width: clamp(5.25rem, 28vw, 6rem);
        padding: 0.1rem;
        border: 1px solid var(--ff-border-soft);
        border-radius: 999px;
        background: var(--ff-bg-soft);
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-qty__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: clamp(1.65rem, 7vw, 1.85rem);
        height: clamp(1.65rem, 7vw, 1.85rem);
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: var(--ff-text-main);
        font-family: "Inter", sans-serif;
        font-size: clamp(0.9rem, 3.8vw, 1rem);
        font-weight: 700;
        line-height: 1;
        cursor: pointer;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-qty__btn:hover,
    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-qty__btn:focus-visible {
        background: rgba(250, 182, 23, 0.18);
        color: var(--ff-kodak-red);
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .quantity.ff-cart-qty .qty {
        width: clamp(1.75rem, 8vw, 2rem);
        min-height: clamp(1.65rem, 7vw, 1.85rem);
    }

    body.ff-cart-page--has-items .cart_totals table td::before {
        display: none !important;
        content: none !important;
    }

    body.ff-cart-page--has-items .cart_totals table tr.order-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.85rem;
        width: 100%;
    }

    body.ff-cart-page--has-items .cart_totals table tr.order-total th {
        flex: 0 1 46%;
        max-width: 9.5rem;
        padding: 0;
        font-size: 1rem;
        line-height: 1.15;
        text-align: left;
        white-space: normal;
    }

    body.ff-cart-page--has-items .cart_totals table tr.order-total td {
        flex: 1 1 auto;
        padding: 0;
        font-size: clamp(1.35rem, 5.2vw, 1.7rem) !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        text-align: right !important;
    }

    body.ff-cart-page--has-items .cart_totals table tr.order-total td .woocommerce-Price-amount {
        white-space: nowrap;
    }

    body.ff-cart-page--has-items .ff-cart-utilities {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
    }
}

/* ================================================================
 * PAGINA CHECKOUT — alert gialli, campi arrotondati, coupon custom
 * Riferimento: alert carrello + variant picker scheda prodotto
 * ================================================================ */
body.ff-checkout-page #main-footer,
body.ff-checkout-page .ff-main-footer {
    display: none !important;
}

body.ff-checkout-page .ff-checkout-page-banner.et_pb_section {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Nasconde il titolo pagina Divi duplicato sopra il banner */
body.ff-checkout-page .entry-title,
body.ff-checkout-page .et_pb_title_container,
body.ff-checkout-page #main-content > .container > .entry-title,
body.ff-checkout-page .et_pb_section:not(.ff-page-banner) > .et_pb_row .et_pb_post_title {
    display: none !important;
}

body.ff-checkout-page #main-content {
    background: var(--ff-bg-main) !important;
    padding-bottom: 3rem !important;
}

/* Nasconde sezioni Divi legacy sopra il checkout custom */
body.ff-checkout-page #main-content .et_pb_section:not(.ff-page-banner):not(.ff-checkout-page-banner):not(:has(.woocommerce-checkout)) {
    background: transparent !important;
    background-image: none !important;
}

body.ff-checkout-page .entry-content > .et_builder_inner_content > .et_pb_section:not(.ff-page-banner) {
    width: 100% !important;
    max-width: 100% !important;
    padding: 3.25rem 1.25rem 8rem !important;
    background: var(--ff-bg-main) !important;
}

body.ff-checkout-page .entry-content > .et_builder_inner_content > .et_pb_section:not(.ff-page-banner) .et_pb_row {
    width: min(100%, 1120px) !important;
    max-width: 1120px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

body.ff-checkout-page .woocommerce-checkout {
    font-family: "Inter", sans-serif;
}

/* Ordine rapido: primo contenuto utile della cassa, prima del modulo. */
body.ff-checkout-page .ff-checkout-quick-order {
    width: min(calc(100% - 2.5rem), 1120px);
    max-width: 1120px;
    margin: 0 auto 2rem;
    padding: 1rem;
    border: 1px solid var(--ff-border-soft);
    border-radius: 18px;
    background: var(--ff-bg-main);
    box-shadow: var(--ff-shadow-soft);
    box-sizing: border-box;
}

body.ff-checkout-page .ff-checkout-quick-order__title {
    margin: 0 0 0.8rem !important;
    color: var(--ff-kodak-red) !important;
    font-family: "Inter", sans-serif !important;
    font-size: clamp(1.3rem, 3vw, 1.65rem) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.025em;
    text-align: center !important;
}

body.ff-checkout-page .fadini-photo-consent {
    position: relative;
    z-index: 5;
    max-height: 480px;
    margin: 0;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    transition: max-height 0.38s ease, margin 0.38s ease, opacity 0.28s ease, transform 0.38s ease;
}

body.ff-checkout-page .ff-checkout-quick-order.fadini-photo-consent-required {
    overflow: visible !important;
}

body.ff-checkout-page .fadini-photo-consent__label {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.9rem 1rem;
    border: 1px solid #fab617 !important;
    border-radius: 12px;
    background: #fff8e7 !important;
    color: #10213a !important;
    font-family: "Inter", sans-serif;
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.45;
    cursor: pointer;
}

body.ff-checkout-page .fadini-photo-consent__checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 0.08rem 0 0;
    border: 2px solid #667085;
    border-radius: 4px;
    background: #ffffff;
    color-scheme: light;
    cursor: pointer;
}

body.ff-checkout-page .fadini-photo-consent__checkbox:checked {
    border-color: #bd0007;
    background-color: #bd0007;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3 8.2 6.3 11.5 13 4.8'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px 14px;
}

body.ff-checkout-page .fadini-photo-consent__label span,
body.ff-checkout-page #ff-photo-consent-text {
    color: #10213a !important;
    -webkit-text-fill-color: #10213a !important;
}

body.ff-checkout-page .fadini-photo-consent.ff-photo-consent-duplicate,
body.ff-checkout-page .fadini-photo-consent[hidden] {
    display: none !important;
}

body.ff-checkout-page .ff-checkout-quick-order.fadini-photo-consent-accepted .fadini-photo-consent {
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

body.ff-checkout-page .ff-photo-consent-confirmation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-height: 0;
    margin: 0 !important;
    overflow: hidden;
    color: #176b3a !important;
    font-family: "Inter", sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.35s ease, margin 0.35s ease, opacity 0.28s ease, transform 0.35s ease;
}

body.ff-checkout-page .ff-photo-consent-confirmation > span {
    display: inline-grid;
    width: 1.35rem;
    height: 1.35rem;
    flex: 0 0 1.35rem;
    place-items: center;
    border-radius: 50%;
    background: #e7f6ed;
    color: #176b3a;
}

body.ff-checkout-page .ff-checkout-quick-order.fadini-photo-consent-accepted .ff-photo-consent-confirmation {
    max-height: 80px;
    margin: 0 0 0.65rem !important;
    opacity: 1;
    transform: translateY(0);
}

body.ff-checkout-page .ff-checkout-quick-order__loading,
body.ff-checkout-page .ff-checkout-quick-order__wallets,
body.ff-checkout-page .ff-checkout-quick-order #wc-stripe-express-checkout-element,
body.ff-checkout-page .ff-checkout-quick-order #wc-stripe-payment-request-wrapper {
    transition: opacity 0.35s ease, visibility 0.35s ease, max-height 0.4s ease, margin 0.4s ease;
}

body.ff-checkout-page .ff-checkout-quick-order.fadini-photo-consent-required .ff-checkout-quick-order__loading,
body.ff-checkout-page .ff-checkout-quick-order.fadini-photo-consent-required .ff-checkout-quick-order__wallets,
body.ff-checkout-page .ff-checkout-quick-order.fadini-photo-consent-required #wc-stripe-express-checkout-element,
body.ff-checkout-page .ff-checkout-quick-order.fadini-photo-consent-required #wc-stripe-payment-request-wrapper {
    max-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.ff-checkout-page .ff-checkout-quick-order.fadini-photo-consent-accepted .ff-checkout-quick-order__loading,
body.ff-checkout-page .ff-checkout-quick-order.fadini-photo-consent-accepted .ff-checkout-quick-order__wallets,
body.ff-checkout-page .ff-checkout-quick-order.fadini-photo-consent-accepted #wc-stripe-express-checkout-element,
body.ff-checkout-page .ff-checkout-quick-order.fadini-photo-consent-accepted #wc-stripe-payment-request-wrapper {
    max-height: 600px;
    visibility: visible;
    opacity: 1;
}

body.ff-checkout-page .ff-checkout-quick-order__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    min-height: 48px;
    padding: 0.7rem 1rem;
    border: 1px solid var(--ff-border-soft);
    border-radius: 12px;
    background: var(--ff-kodak-yellow-soft);
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    box-sizing: border-box;
}

body.ff-checkout-page .ff-checkout-quick-order__loading-dot {
    width: 0.7rem;
    height: 0.7rem;
    flex: 0 0 0.7rem;
    border-radius: 50%;
    background: var(--ff-kodak-yellow);
    box-shadow: 0 0 0 0 rgba(250, 182, 23, 0.42);
    animation: ff-wallet-loading-pulse 1.15s ease-out infinite;
}

body.ff-checkout-page .ff-checkout-quick-order__wallets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    width: 100%;
    align-items: start;
}

body.ff-checkout-page .ff-checkout-quick-order__wallets > * {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

body.ff-checkout-page .ff-checkout-quick-order__wallets #wc-stripe-express-checkout-element {
    grid-template-columns: minmax(0, 1fr);
}

body.ff-checkout-page .ff-checkout-quick-order__wallets .ppc-button-wrapper iframe {
    width: 100% !important;
    max-width: 100%;
}

body.ff-checkout-page .ff-checkout-quick-order__wallets > *,
body.ff-checkout-page .ff-checkout-quick-order__wallets [id^="ppc-button-"] {
    margin-block: 0 !important;
    padding-block: 0 !important;
}

body.ff-checkout-page .ff-checkout-quick-order__wallets:empty {
    display: none;
}

@media (max-width: 980px) {
    body.ff-checkout-page #wc-stripe-express-checkout-element-applePay,
    body.ff-checkout-page #ppc-button-applepay-container,
    body.ff-checkout-page #ppc-button-ppcp-applepay,
    body.ff-checkout-page .ppcp-button-applepay {
        display: none !important;
    }
}

body.ff-checkout-page .ff-checkout-quick-order__wallets .ppc-button-wrapper,
body.ff-checkout-page .ff-checkout-quick-order__wallets [id^="ppc-button-"],
body.ff-checkout-page .ff-checkout-quick-order__wallets .ppcp-button-apm {
    width: 100%;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 12px;
}

body.ff-checkout-page .ff-checkout-quick-order.fadini-photo-consent-accepted .ff-checkout-quick-order__wallets [id^="ppc-button-"],
body.ff-checkout-page .ff-checkout-quick-order.fadini-photo-consent-accepted .ff-checkout-quick-order__wallets .ppcp-button-apm {
    min-height: 48px;
}

body.ff-checkout-page .ff-checkout-quick-order__wallets #ppc-button-ppcp-gateway iframe {
    min-height: 48px;
}

body.ff-checkout-page .ff-checkout-quick-order.fadini-photo-consent-required .ff-checkout-quick-order__wallets .ppc-button-wrapper {
    pointer-events: none;
    opacity: 0.45;
    filter: grayscale(0.2);
}

body.ff-checkout-page .ff-checkout-quick-order--ready .ff-checkout-quick-order__loading {
    display: none;
}

@keyframes ff-wallet-loading-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(250, 182, 23, 0.42);
    }
    75%,
    100% {
        box-shadow: 0 0 0 0.5rem rgba(250, 182, 23, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.ff-checkout-page .ff-checkout-quick-order__loading-dot {
        animation: none;
    }
}

body.ff-checkout-page .ff-checkout-quick-order #wc-stripe-express-checkout-element {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0.55rem !important;
    align-items: start;
}

body.ff-checkout-page .ff-checkout-quick-order #wc-stripe-express-checkout-element > div {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 12px;
}

body.ff-checkout-page .ff-checkout-quick-order #wc-stripe-express-checkout-element iframe {
    border-radius: 12px;
}

body.ff-checkout-page .ff-checkout-quick-order #wc-stripe-payment-request-wrapper,
body.ff-checkout-page .ff-checkout-quick-order #wc-stripe-payment-request-button,
body.ff-checkout-page .ff-checkout-quick-order #wc-stripe-branded-button {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    border-radius: 12px !important;
}

body.ff-checkout-page .ff-checkout-quick-order #wc-stripe-payment-request-button,
body.ff-checkout-page .ff-checkout-quick-order #wc-stripe-branded-button {
    min-height: 48px !important;
    overflow: hidden;
}

body.ff-checkout-page #wc-stripe-express-checkout-button-separator,
body.ff-checkout-page #wc-stripe-payment-request-button-separator {
    display: none !important;
}

body.ff-checkout-page .ff-checkout-quick-order__separator {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0.85rem 0 0 !important;
    color: var(--ff-text-muted);
    font-family: "Inter", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
}

body.ff-checkout-page .ff-checkout-quick-order__separator::before,
body.ff-checkout-page .ff-checkout-quick-order__separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--ff-border-soft);
}

/* Nessun avviso promozionale o invito al login sopra la cassa. */
body.ff-checkout-page .woocommerce-form-login-toggle,
body.ff-checkout-page .woocommerce-form-coupon-toggle,
body.ff-checkout-page .woocommerce-notices-wrapper > .woocommerce-message,
body.ff-checkout-page .woocommerce-notices-wrapper > .woocommerce-info {
    display: none !important;
}

@media (max-width: 767px) {
    body.ff-checkout-page .ff-checkout-quick-order {
        width: calc(100% - 2.2rem);
        margin-bottom: 1.5rem;
        padding: 1rem 0.9rem;
        border-radius: 16px;
    }

    body.ff-checkout-page .ff-checkout-quick-order__title {
        margin-bottom: 0.8rem !important;
    }

    body.ff-checkout-page .ff-checkout-quick-order__wallets {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.5rem;
    }

    body.ff-checkout-page .ff-checkout-quick-order__wallets .ppc-button-wrapper,
    body.ff-checkout-page .ff-checkout-quick-order__wallets [id^="ppc-button-"],
    body.ff-checkout-page .ff-checkout-quick-order__wallets .paypal-buttons {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: visible;
    }

    body.ff-checkout-page .ff-checkout-quick-order.fadini-photo-consent-accepted .ff-photo-consent-confirmation {
        margin-bottom: 0.7rem !important;
        font-size: 0.8rem;
    }

    body.ff-checkout-page .ff-checkout-quick-order #wc-stripe-express-checkout-element {
        display: block;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.5rem !important;
    }

    body.ff-checkout-page .ff-checkout-quick-order #wc-stripe-express-checkout-element > div,
    body.ff-checkout-page .ff-checkout-quick-order #wc-stripe-payment-request-wrapper {
        min-height: 48px;
    }
}

/* Titoli macrosezioni checkout — rosso Kodak bold */
body.ff-checkout-page #customer_details h3,
body.ff-checkout-page .woocommerce-billing-fields > h3,
body.ff-checkout-page .woocommerce-shipping-fields > h3,
body.ff-checkout-page .woocommerce-additional-fields > h3,
body.ff-checkout-page #order_review_heading,
body.ff-checkout-page h3#order_review_heading,
body.ff-checkout-page .ff-checkout-payment-heading,
body.ff-checkout-page .ff-checkout-order-heading,
body.ff-checkout-page #ship-to-different-address,
body.ff-checkout-page #ship-to-different-address label,
body.ff-checkout-page .woocommerce-checkout h3:not(.ff-checkout-coupon-card__title) {
    color: var(--ff-kodak-red) !important;
    font-family: "Inter", sans-serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
}

body.ff-checkout-page #order_review_heading,
body.ff-checkout-page h3#order_review_heading,
body.ff-checkout-page .ff-checkout-payment-heading,
body.ff-checkout-page .ff-checkout-order-heading,
body.ff-checkout-page .ff-checkout-delivery-heading {
    font-size: clamp(1.25rem, 2.2vw, 1.55rem) !important;
    line-height: 1.3 !important;
    margin: 0 0 1.1rem !important;
    letter-spacing: -0.02em;
}

body.ff-checkout-page .ff-checkout-delivery-heading {
    color: var(--ff-kodak-red) !important;
    font-family: "Inter", sans-serif !important;
    font-weight: 700 !important;
}

/* Card riepilogo — Il tuo ordine */
body.ff-checkout-page .ff-checkout-order-card {
    margin: 0 0 1.15rem;
    padding: 0.15rem 0;
    border: 1px solid rgba(250, 182, 23, 0.28);
    border-radius: 16px;
    background: var(--ff-kodak-yellow-soft);
    box-shadow: var(--ff-shadow-soft);
    overflow: hidden;
}

body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table th,
body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table td {
    padding: 0.85rem 1.1rem;
}

/* Card ordine — solo prodotti e totale (niente subtotale / consegna duplicata) */
body.ff-checkout-page .ff-checkout-order-card tr.cart-subtotal,
body.ff-checkout-page .ff-checkout-order-card tr.woocommerce-shipping-totals,
body.ff-checkout-page .ff-checkout-order-card #shipping_method,
body.ff-checkout-page .ff-checkout-order-card .ff-checkout-delivery-options,
body.ff-checkout-page .ff-checkout-order-card .ff-checkout-delivery-summary {
    display: none !important;
}

body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tfoot tr.order-total th,
body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tfoot tr.order-total td {
    padding-top: 1rem;
    border-top: 1px solid var(--ff-border-soft);
    font-size: 1.05rem;
    font-weight: 700;
}

body.ff-checkout-page .ff-checkout-order-card tr.ff-checkout-shipping-cost-row th,
body.ff-checkout-page .ff-checkout-order-card tr.ff-checkout-shipping-cost-row td {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    border-top: 1px solid var(--ff-border-soft);
    color: var(--ff-text-main);
    font-size: 0.95rem;
    font-weight: 700;
}

body.ff-checkout-page .ff-checkout-order-card tr.ff-checkout-shipping-cost-row td {
    color: var(--ff-text-main);
    text-align: right;
    vertical-align: middle;
    line-height: 1.25;
    white-space: nowrap;
}

body.ff-checkout-page .ff-checkout-order-card tr.ff-checkout-shipping-cost-row td .woocommerce-Price-amount {
    display: inline-flex;
    align-items: center;
    min-height: 1.25em;
    color: var(--ff-text-main) !important;
    line-height: 1.25;
}

/* Coupon applicato — link Elimina rosso Kodak */
body.ff-checkout-page .woocommerce-checkout-review-order-table a.woocommerce-remove-coupon,
body.ff-checkout-page .ff-checkout-order-card a.woocommerce-remove-coupon,
body.ff-checkout-page .cart-discount a,
body.ff-checkout-page tr.cart-discount a {
    color: var(--ff-kodak-red) !important;
    font-weight: 600;
    text-decoration: none;
}

body.ff-checkout-page .woocommerce-checkout-review-order-table a.woocommerce-remove-coupon:hover,
body.ff-checkout-page .woocommerce-checkout-review-order-table a.woocommerce-remove-coupon:focus-visible,
body.ff-checkout-page .ff-checkout-order-card a.woocommerce-remove-coupon:hover,
body.ff-checkout-page .ff-checkout-order-card a.woocommerce-remove-coupon:focus-visible,
body.ff-checkout-page .cart-discount a:hover,
body.ff-checkout-page .cart-discount a:focus-visible,
body.ff-checkout-page tr.cart-discount a:hover,
body.ff-checkout-page tr.cart-discount a:focus-visible {
    color: var(--ff-kodak-red) !important;
    text-decoration: underline;
}

/* Checkout — mai mostrare il banner carrello */
body.ff-checkout-page .ff-cart-page-banner {
    display: none !important;
}

/* Sezione Consegna — separata dalla card ordine */
body.ff-checkout-page .ff-checkout-delivery-section {
    margin: 0 0 1.25rem;
}

body.ff-checkout-page .ff-checkout-delivery-section__body,
body.ff-checkout-page .ff-checkout-delivery-options {
    width: 100%;
}

body.ff-checkout-page .ff-checkout-delivery-row th {
    display: none;
}

body.ff-checkout-page #shipping_method.woocommerce-shipping-methods {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.ff-checkout-page .ff-checkout-delivery-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(250, 182, 23, 0.24);
    border-radius: 12px;
    background: rgba(250, 182, 23, 0.08);
    font-family: "Inter", sans-serif;
}

body.ff-checkout-page .ff-checkout-delivery-summary[hidden] {
    display: none !important;
}

body.ff-checkout-page .ff-checkout-delivery-summary__label {
    color: var(--ff-text-main);
    font-size: 0.92rem;
    font-weight: 600;
}

body.ff-checkout-page .ff-checkout-delivery-summary__value {
    color: var(--ff-kodak-red);
    font-size: 0.92rem;
    font-weight: 700;
}

body.ff-checkout-page .ff-checkout-payment-heading {
    margin-top: 0 !important;
    margin-bottom: 0.85rem !important;
}

body.ff-checkout-page #payment > .ff-checkout-payment-heading {
    display: none;
}

body.ff-checkout-page #order_review > .ff-checkout-payment-heading {
    margin: 0 0 0.85rem !important;
}

/* Card Paga con — ospita i metodi di pagamento */
body.ff-checkout-page .ff-checkout-payment-card {
    margin: 0 0 1.15rem;
    padding: 0.9rem 1rem 1rem;
    border: 1px solid var(--ff-border-soft);
    border-radius: 16px;
    background: var(--ff-bg-main);
    box-shadow: var(--ff-shadow-soft);
}

body.ff-checkout-page .ff-checkout-payment-card .payment_methods {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Wallet Stripe dentro "Paga con": variante chiara, non i pulsanti neri. */
body.ff-checkout-page .ff-checkout-payment-card #wc-stripe-express-checkout-element {
    width: 100%;
    margin: 0 0 0.85rem !important;
    gap: 0.65rem;
    justify-content: stretch;
}

body.ff-checkout-page .ff-checkout-payment-card #wc-stripe-express-checkout-element > div {
    min-width: min(100%, 180px);
    overflow: hidden;
    border-radius: 12px;
}

body.ff-checkout-page .ff-checkout-payment-card #wc-stripe-express-checkout-element iframe {
    border-radius: 12px;
}

body.ff-checkout-page .ff-checkout-payment-card #wc-stripe-express-checkout-button-separator {
    margin: 0.25rem 0 0.85rem !important;
    color: var(--ff-text-muted);
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: lowercase;
}

body.ff-checkout-page #payment > .woocommerce-info,
body.ff-checkout-page #payment > p {
    display: none;
}

body.ff-checkout-page #ship-to-different-address,
body.ff-checkout-page #ship-to-different-address label {
    font-size: clamp(1.05rem, 1.8vw, 1.2rem) !important;
    line-height: 1.35 !important;
}

body.ff-checkout-page #ship-to-different-address {
    margin: 1rem 0 0.85rem !important;
    padding: 0;
    border: 0;
    background: transparent;
}

body.ff-checkout-page #ship-to-different-address label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    cursor: pointer;
}

/* Desktop — billing sx, riepilogo ordine dx */
@media (min-width: 981px) {
    body.ff-checkout-page form.woocommerce-checkout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
        gap: 2rem 2.5rem;
        align-items: start;
    }

    body.ff-checkout-page form.woocommerce-checkout > .woocommerce-NoticeGroup,
    body.ff-checkout-page form.woocommerce-checkout > .woocommerce-notices-wrapper {
        grid-column: 1 / -1;
    }

    body.ff-checkout-page #customer_details {
        grid-column: 1;
        grid-row: 2;
        align-self: start;
    }

    body.ff-checkout-page .ff-checkout-order-column {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        position: sticky;
        top: 5.5rem;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    body.ff-checkout-page #order_review_heading,
    body.ff-checkout-page #order_review {
        grid-column: auto;
        grid-row: auto;
        position: static;
        top: auto;
    }

    body.ff-checkout-page .col2-set {
        display: block;
        width: 100%;
    }

    body.ff-checkout-page .col2-set .col-1,
    body.ff-checkout-page .col2-set .col-2 {
        float: none;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    body.ff-checkout-page .col2-set .col-2 {
        margin-top: 1.25rem;
    }
}
body.ff-checkout-page #order_review,
body.ff-checkout-page #payment {
    overflow: visible !important;
}

/* Contenitori checkout — angoli sempre smussati */
body.ff-checkout-page #order_review,
body.ff-checkout-page .woocommerce-checkout-review-order-table,
body.ff-checkout-page #customer_details .col-1,
body.ff-checkout-page #customer_details .col-2 {
    border-radius: 16px;
}

body.ff-checkout-page #payment {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.ff-checkout-page .woocommerce-checkout-review-order-table {
    border: 1px solid var(--ff-border-soft);
    border-collapse: separate;
    border-spacing: 0;
}

body.ff-checkout-page .woocommerce-checkout-review-order-table th,
body.ff-checkout-page .woocommerce-checkout-review-order-table td {
    border-color: var(--ff-border-soft);
}

body.ff-checkout-page .woocommerce-checkout-review-order-table thead th:first-child {
    border-top-left-radius: 16px;
}

body.ff-checkout-page .woocommerce-checkout-review-order-table thead th:last-child {
    border-top-right-radius: 16px;
}

body.ff-checkout-page .woocommerce-checkout-review-order-table tfoot tr:last-child th:first-child,
body.ff-checkout-page .woocommerce-checkout-review-order-table tfoot tr:last-child td:first-child {
    border-bottom-left-radius: 16px;
}

body.ff-checkout-page .woocommerce-checkout-review-order-table tfoot tr:last-child th:last-child,
body.ff-checkout-page .woocommerce-checkout-review-order-table tfoot tr:last-child td:last-child {
    border-bottom-right-radius: 16px;
}

/* Nasconde il box rosa "Hai un codice promozionale? Fai clic qui..." */
body.ff-checkout-page .woocommerce-form-coupon-toggle,
body.ff-checkout-page form.checkout_coupon:not(.ff-checkout-coupon-card__form) {
    display: none !important;
}

/* Alert checkout — giallo Kodak, testo bianco */
body.ff-checkout-page .woocommerce-notices-wrapper {
    margin: 0 0 1.25rem;
}

body.ff-checkout-page .woocommerce-message,
body.ff-checkout-page .woocommerce-info,
body.ff-checkout-page .woocommerce-error,
body.ff-checkout-page .woocommerce-notices-wrapper .woocommerce-message,
body.ff-checkout-page .woocommerce-notices-wrapper .woocommerce-info,
body.ff-checkout-page .woocommerce-notices-wrapper .woocommerce-error {
    margin: 0 0 1rem !important;
    padding: 0.95rem 1.15rem !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--ff-kodak-yellow) !important;
    color: #ffffff !important;
    font-family: "Inter", sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
    box-shadow: 0 10px 24px rgba(250, 182, 23, 0.22) !important;
}

body.ff-checkout-page .woocommerce-message::before,
body.ff-checkout-page .woocommerce-info::before,
body.ff-checkout-page .woocommerce-error::before {
    color: #ffffff !important;
}

body.ff-checkout-page .woocommerce-message a,
body.ff-checkout-page .woocommerce-info a,
body.ff-checkout-page .woocommerce-error a {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Alert checkout — nasconde "Continua con gli acquisti" / "Visualizza carrello" */
body.ff-checkout-page .woocommerce-message a.button.wc-forward,
body.ff-checkout-page .woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward {
    display: none !important;
}

/* Campi compilazione — angoli stondati, sfondo giallo opacizzato */
/* Griglia dati cliente: campi brevi affiancati, campi lunghi a tutta larghezza. */
body.ff-checkout-page .woocommerce-billing-fields__field-wrapper,
body.ff-checkout-page .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.85rem;
    width: 100%;
}

body.ff-checkout-page .woocommerce-billing-fields__field-wrapper > .form-row,
body.ff-checkout-page .woocommerce-shipping-fields__field-wrapper > .form-row {
    position: relative;
    float: none !important;
    clear: none !important;
    grid-column: 1 / -1;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.ff-checkout-page .woocommerce-billing-fields__field-wrapper > .ff-checkout-field--half,
body.ff-checkout-page .woocommerce-shipping-fields__field-wrapper > .ff-checkout-field--half {
    grid-column: auto;
}

body.ff-checkout-page .woocommerce-billing-fields__field-wrapper > .ff-checkout-field--wide,
body.ff-checkout-page .woocommerce-shipping-fields__field-wrapper > .ff-checkout-field--wide {
    grid-column: 1 / -1;
}

body.ff-checkout-page .woocommerce-billing-fields__field-wrapper > .form-row > label,
body.ff-checkout-page .woocommerce-shipping-fields__field-wrapper > .form-row > label,
body.ff-checkout-page .woocommerce-additional-fields__field-wrapper > .form-row > label {
    position: absolute !important;
    top: 0.48rem;
    left: 1rem;
    z-index: 4;
    display: block !important;
    width: calc(100% - 2rem) !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    border: 0 !important;
    color: var(--ff-text-main) !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 750 !important;
    line-height: 1.15 !important;
    white-space: nowrap;
    pointer-events: none;
}

body.ff-checkout-page .woocommerce-checkout .form-row > label .required {
    color: var(--ff-kodak-red) !important;
}

body.ff-checkout-page .woocommerce-checkout .form-row > label .optional {
    color: var(--ff-text-muted) !important;
    font-size: 0.68rem;
    font-weight: 600;
}

body.ff-checkout-page .woocommerce-checkout .form-row .woocommerce-input-wrapper {
    display: block;
    width: 100%;
}

body.ff-checkout-page .woocommerce-checkout .form-row input.input-text,
body.ff-checkout-page .woocommerce-checkout .form-row textarea,
body.ff-checkout-page .woocommerce-checkout input#coupon_code {
    width: 100%;
    min-height: 64px;
    padding: 1.45rem 1rem 0.45rem;
    border: 1px solid rgba(250, 182, 23, 0.28);
    border-radius: 12px;
    background: var(--ff-kodak-yellow-soft);
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    line-height: 1.35;
    box-sizing: border-box;
    box-shadow: none;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

body.ff-checkout-page .woocommerce-checkout .form-row input.input-text::placeholder,
body.ff-checkout-page .woocommerce-checkout .form-row textarea::placeholder {
    color: var(--ff-text-muted);
    opacity: 1;
}

body.ff-checkout-page .woocommerce-billing-fields__field-wrapper input.input-text::placeholder,
body.ff-checkout-page .woocommerce-shipping-fields__field-wrapper input.input-text::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

body.ff-checkout-page .woocommerce-checkout .form-row textarea {
    min-height: 6.5rem;
    padding-top: 1.65rem;
    resize: vertical;
}

body.ff-checkout-page .woocommerce-checkout .form-row input.input-text:focus,
body.ff-checkout-page .woocommerce-checkout .form-row textarea:focus {
    outline: none;
    border-color: var(--ff-kodak-yellow);
    background: rgba(250, 182, 23, 0.18);
    box-shadow: 0 0 0 3px rgba(250, 182, 23, 0.18);
}

body.ff-checkout-page .woocommerce-checkout .form-row label {
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

@media (max-width: 359px) {
    body.ff-checkout-page .woocommerce-billing-fields__field-wrapper,
    body.ff-checkout-page .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr;
    }

    body.ff-checkout-page .woocommerce-billing-fields__field-wrapper > .ff-checkout-field--half,
    body.ff-checkout-page .woocommerce-shipping-fields__field-wrapper > .ff-checkout-field--half {
        grid-column: 1;
    }
}

/* Select checkout — trigger bottom sheet come scheda prodotto */
body.ff-checkout-page .woocommerce-checkout .select2-container {
    display: none !important;
}

body.ff-checkout-page .woocommerce-checkout select.ff-bottom-sheet-picker__native,
body.ff-checkout-page .woocommerce-checkout select.ff-variant-picker__native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.ff-checkout-page .ff-checkout-picker-slot,
body.ff-checkout-page .ff-bottom-sheet-picker,
body.ff-checkout-page .ff-variant-picker {
    width: 100%;
}

body.ff-checkout-page .ff-bottom-sheet-picker__trigger,
body.ff-checkout-page .ff-variant-picker__trigger {
    width: 100%;
    min-height: 64px;
    margin: 0 !important;
    padding: 1.25rem 3rem 0.25rem 1rem;
    border: 1px solid rgba(250, 182, 23, 0.28);
    border-radius: 12px;
    background-color: var(--ff-kodak-yellow-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px 14px;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

body.ff-checkout-page .ff-bottom-sheet-picker__trigger.is-placeholder,
body.ff-checkout-page .ff-variant-picker__trigger.is-placeholder {
    color: var(--ff-text-muted);
}

body.ff-checkout-page .ff-bottom-sheet-picker__trigger:hover,
body.ff-checkout-page .ff-variant-picker__trigger:hover,
body.ff-checkout-page .ff-bottom-sheet-picker__trigger:focus-visible,
body.ff-checkout-page .ff-variant-picker__trigger:focus-visible {
    border-color: var(--ff-kodak-yellow);
    background-color: rgba(250, 182, 23, 0.18);
    box-shadow: 0 0 0 3px rgba(250, 182, 23, 0.18);
    outline: none;
}

body.ff-checkout-page .ff-bottom-sheet-picker__backdrop,
body.ff-checkout-page .ff-variant-picker__backdrop {
    z-index: 100050;
}

body.ff-checkout-page .ff-bottom-sheet-picker__sheet,
body.ff-checkout-page .ff-variant-picker__sheet {
    z-index: 100051;
}

/* Select nativi residui (prima dell'enhance JS) */
body.ff-checkout-page .woocommerce-checkout select,
body.ff-checkout-page .woocommerce-checkout .select2-container--default .select2-selection--single {
    width: 100%;
    min-height: 64px;
    margin: 0 !important;
    padding: 1.25rem 2.75rem 0.25rem 1rem;
    border: 1px solid rgba(250, 182, 23, 0.28) !important;
    border-radius: 12px !important;
    background-color: var(--ff-kodak-yellow-soft) !important;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif !important;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: none !important;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

body.ff-checkout-page .woocommerce-checkout select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px 14px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

/* Paese con una sola opzione: WooCommerce non lo trasforma nel picker custom. */
body.ff-checkout-page .woocommerce-checkout #billing_country,
body.ff-checkout-page .woocommerce-checkout #shipping_country {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
}

/* Paese/Regione: valore centrato e aspetto esplicitamente interattivo. */
body.ff-checkout-page #billing_country_field,
body.ff-checkout-page #shipping_country_field {
    position: relative;
}

body.ff-checkout-page #billing_country_field .ff-bottom-sheet-picker__trigger,
body.ff-checkout-page #shipping_country_field .ff-bottom-sheet-picker__trigger,
body.ff-checkout-page #billing_country_field .ff-variant-picker__trigger,
body.ff-checkout-page #shipping_country_field .ff-variant-picker__trigger,
body.ff-checkout-page #billing_country_field select,
body.ff-checkout-page #shipping_country_field select {
    min-height: 68px;
    padding: 1.25rem 3.25rem 0.25rem !important;
    border-color: rgba(250, 182, 23, 0.42);
    background-position: right 1.15rem center;
    color: var(--ff-text-main);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

body.ff-checkout-page #billing_country_field .select2-selection__rendered,
body.ff-checkout-page #shipping_country_field .select2-selection__rendered {
    width: 100%;
    text-align: center;
}

body.ff-checkout-page #billing_country_field .ff-bottom-sheet-picker__trigger:hover,
body.ff-checkout-page #shipping_country_field .ff-bottom-sheet-picker__trigger:hover,
body.ff-checkout-page #billing_country_field .ff-bottom-sheet-picker__trigger:focus-visible,
body.ff-checkout-page #shipping_country_field .ff-bottom-sheet-picker__trigger:focus-visible {
    border-color: var(--ff-kodak-yellow);
    background-color: rgba(250, 182, 23, 0.16);
    box-shadow: 0 0 0 3px rgba(250, 182, 23, 0.14), 0 8px 18px rgba(15, 23, 42, 0.06);
}

body.ff-checkout-page #billing_country_field > label,
body.ff-checkout-page #shipping_country_field > label {
    z-index: 3;
}

/* Note ordine: campo chiuso finché il cliente non seleziona la casella. */
body.ff-checkout-page .ff-order-notes-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.55rem;
    margin: 0.35rem 0 0.8rem !important;
    color: var(--ff-text-main) !important;
    font-family: "Inter", sans-serif;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    line-height: 1.3;
    cursor: pointer;
}

body.ff-checkout-page .ff-order-notes-toggle__input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none;
}

body.ff-checkout-page .ff-order-notes-toggle__box {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(100, 116, 139, 0.65);
    border-radius: 4px;
    background: var(--ff-bg-main);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

body.ff-checkout-page .ff-order-notes-toggle__input:checked + .ff-order-notes-toggle__box {
    border-color: var(--ff-kodak-yellow);
    background: var(--ff-kodak-yellow);
    box-shadow: 0 0 0 3px rgba(250, 182, 23, 0.15);
}

body.ff-checkout-page .ff-order-notes-toggle__input:checked + .ff-order-notes-toggle__box::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

body.ff-checkout-page .ff-order-notes-toggle__input:focus-visible + .ff-order-notes-toggle__box {
    outline: 2px solid var(--ff-kodak-red);
    outline-offset: 2px;
}

body.ff-checkout-page #order_comments_field[hidden] {
    display: none !important;
}

body.ff-checkout-page .woocommerce-checkout select:hover,
body.ff-checkout-page .woocommerce-checkout .select2-container--default .select2-selection--single:hover {
    border-color: rgba(250, 182, 23, 0.55) !important;
    background-color: rgba(250, 182, 23, 0.18) !important;
}

body.ff-checkout-page .woocommerce-checkout select:focus,
body.ff-checkout-page .woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single {
    outline: none;
    border-color: var(--ff-kodak-yellow) !important;
    background-color: rgba(250, 182, 23, 0.18) !important;
    box-shadow: 0 0 0 3px rgba(250, 182, 23, 0.18) !important;
}

body.ff-checkout-page .woocommerce-checkout .select2-container--default .select2-selection--single {
    display: flex;
    align-items: flex-end;
    height: 64px !important;
}

body.ff-checkout-page .woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0 !important;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.2;
}

body.ff-checkout-page .woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 64px;
    right: 0.85rem;
}

/* Scelte Consegna / Paga con — compatte, testo a dx del radio su una riga */
body.ff-checkout-page #shipping_method li,
body.ff-checkout-page #shipping_method .ff-checkout-delivery-option,
body.ff-checkout-page #payment .payment_methods > li {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
    margin: 0 0 0.45rem !important;
    padding: 0.55rem 1rem !important;
    border: 1px solid rgba(250, 182, 23, 0.28) !important;
    border-radius: 12px !important;
    background: var(--ff-kodak-yellow-soft);
    list-style: none;
    min-height: 2.75rem;
    width: 100%;
    box-sizing: border-box;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

body.ff-checkout-page #shipping_method li label,
body.ff-checkout-page #shipping_method .ff-checkout-delivery-option label,
body.ff-checkout-page #payment .payment_methods > li > label {
    flex: 1 1 auto;
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.35rem 0.5rem;
    margin: 0 !important;
    min-width: 0;
    white-space: normal;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.25;
    cursor: pointer;
}

body.ff-checkout-page .ff-checkout-delivery-option__label {
    flex: 0 0 auto;
}

body.ff-checkout-page .ff-checkout-delivery-option__address {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--ff-text-muted);
    font-weight: 500;
    line-height: 1.25;
}

body.ff-checkout-page #shipping_method li:last-child,
body.ff-checkout-page #payment .payment_methods > li:last-child {
    margin-bottom: 0 !important;
}

body.ff-checkout-page #shipping_method li:has(input:checked),
body.ff-checkout-page #payment .payment_methods > li:has(input:checked) {
    border-color: var(--ff-kodak-yellow) !important;
    background: rgba(250, 182, 23, 0.08);
    box-shadow: 0 0 0 3px rgba(250, 182, 23, 0.12);
}

/* Radio fuori dalla label — affiancati */
body.ff-checkout-page #shipping_method li > input[type="radio"],
body.ff-checkout-page #payment .payment_methods > li > input[type="radio"] {
    flex: 0 0 auto;
    order: 0;
    accent-color: var(--ff-kodak-yellow);
    width: 1rem;
    height: 1rem;
    margin: 0 !important;
}

/* Radio dentro la label — stessa riga */
body.ff-checkout-page #shipping_method li label input[type="radio"],
body.ff-checkout-page #payment .payment_methods > li label input[type="radio"] {
    flex: 0 0 auto;
    order: 0;
    float: none !important;
    position: static !important;
    width: 1rem !important;
    height: 1rem !important;
    min-width: 1rem !important;
    max-width: 1rem !important;
    margin: 0 !important;
    accent-color: var(--ff-kodak-yellow);
}

body.ff-checkout-page #shipping_method li label,
body.ff-checkout-page #payment .payment_methods > li label {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.5rem;
    margin: 0;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.25;
    cursor: pointer;
}

body.ff-checkout-page #payment .payment_methods > li .payment_box {
    flex: 1 1 100%;
    order: 3;
    width: 100%;
    margin: 0.1rem 0 0 !important;
    padding: 0.65rem 0.8rem;
}

body.ff-checkout-page #payment {
    padding: 0;
    margin: 0;
}

body.ff-checkout-page #payment .place-order {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.ff-checkout-page #payment .payment_methods {
    margin: 0;
    padding: 0;
    border: 0;
}

body.ff-checkout-page #payment div.payment_box {
    margin: 0;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(250, 182, 23, 0.22);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.55);
    color: var(--ff-text-muted);
    font-family: "Inter", sans-serif;
    font-size: 0.84rem;
    line-height: 1.35;
}

/* PayPal — nasconde la sottobox descrittiva, resta solo l'etichetta */
body.ff-checkout-page #payment .payment_method_paypal .payment_box,
body.ff-checkout-page #payment .payment_method_ppec_paypal .payment_box,
body.ff-checkout-page #payment .payment_method_ppcp-gateway .payment_box,
body.ff-checkout-page #payment li[class*="paypal"] .payment_box {
    display: none !important;
}

/* PayPal usa il pulsante express nella card "Ordine rapido con". */
body.ff-checkout-page #payment .payment_methods > li.payment_method_paypal,
body.ff-checkout-page #payment .payment_methods > li.payment_method_ppec_paypal,
body.ff-checkout-page #payment .payment_methods > li.payment_method_ppcp-gateway,
body.ff-checkout-page #payment .payment_methods > li[class*="paypal"] {
    display: none !important;
}

/* Pagamento in negozio — nascosto anche via CSS di backup */
body.ff-checkout-page #payment li.payment_method_local_pickup_plus,
body.ff-checkout-page #payment li[class*="negozio"],
body.ff-checkout-page #payment li[class*="in_store"] {
    display: none !important;
}

body.ff-checkout-page #payment .payment_method_cod {
    display: flex !important;
}

body.ff-checkout-page #payment div.payment_box input.input-text {
    background: rgba(255, 255, 255, 0.55);
}

/* Carta: selezionata e aperta, con struttura compatta coerente con il checkout. */
body.ff-checkout-page #payment .payment_methods > li.payment_method_stripe {
    flex-wrap: wrap;
}

body.ff-checkout-page #payment .payment_method_stripe .payment_box {
    display: block;
    margin-top: 0.35rem !important;
    padding: 0.8rem !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--ff-bg-main) !important;
    color: var(--ff-text-main) !important;
}

body.ff-checkout-page #payment .payment_method_stripe .payment_box::before {
    display: none !important;
}

body.ff-checkout-page #payment .payment_method_stripe fieldset,
body.ff-checkout-page #payment .payment_method_stripe .wc-credit-card-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.55rem 0.65rem;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.ff-checkout-page #payment .payment_method_stripe .form-row {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.ff-checkout-page #payment .payment_method_stripe .form-row-wide,
body.ff-checkout-page #payment .payment_method_stripe .wc-stripe-upe-element,
body.ff-checkout-page #payment .payment_method_stripe #wc-stripe-upe-form {
    grid-column: 1 / -1;
}

body.ff-checkout-page #payment .payment_method_stripe label {
    display: block !important;
    margin: 0 0 0.25rem !important;
    color: var(--ff-text-main) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
}

body.ff-checkout-page #payment .payment_method_stripe .wc-stripe-elements-field,
body.ff-checkout-page #payment .payment_method_stripe .StripeElement,
body.ff-checkout-page #payment .payment_method_stripe .wc-stripe-upe-element {
    min-height: 40px;
    padding: 0.65rem 0.7rem !important;
    border: 1px solid rgba(250, 182, 23, 0.48) !important;
    border-radius: 11px !important;
    background: var(--ff-kodak-yellow-soft) !important;
    box-shadow: none !important;
}

body.ff-checkout-page #payment .payment_method_stripe .payment_box p,
body.ff-checkout-page #payment .payment_method_stripe .payment_box span,
body.ff-checkout-page #payment .payment_method_stripe .payment_box legend {
    color: var(--ff-text-main) !important;
}

body.ff-checkout-page #payment .payment_method_stripe .wc-stripe-elements-field.StripeElement--focus,
body.ff-checkout-page #payment .payment_method_stripe .StripeElement--focus,
body.ff-checkout-page #payment .payment_method_stripe .wc-stripe-upe-element:focus-within {
    border-color: var(--ff-kodak-yellow) !important;
    background: var(--ff-bg-main) !important;
    box-shadow: 0 0 0 3px rgba(250, 182, 23, 0.14) !important;
}

/* Stripe UPE gestisce internamente misure e campi nell'iframe: non deve
 * ereditare padding e griglia pensati per i tre campi Stripe legacy. */
body.ff-checkout-page #payment .payment_method_stripe #wc-stripe-upe-form {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
}

body.ff-checkout-page #payment .payment_method_stripe .wc-stripe-upe-element {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.ff-checkout-page #payment .payment_method_stripe .wc-stripe-upe-element iframe {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
}

/* La memorizzazione della carta non viene proposta nel checkout. */
body.ff-checkout-page #payment .woocommerce-SavedPaymentMethods-saveNew,
body.ff-checkout-page #payment .wc-stripe-save-source,
body.ff-checkout-page #payment #wc-stripe-new-payment-method,
body.ff-checkout-page #payment label[for="wc-stripe-new-payment-method"] {
    display: none !important;
}

/* Box coupon checkout — stesso stile carrello, senza riquadro esterno */
body.ff-checkout-page .ff-checkout-coupon-card,
body.ff-checkout-page .ff-cart-coupon-slot.ff-checkout-coupon-card {
    display: block !important;
    margin: 1.15rem 0 1.25rem;
    padding: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.ff-checkout-page .ff-checkout-coupon-card__form,
body.ff-checkout-page .ff-checkout-coupon-card .coupon,
body.ff-checkout-page form.checkout_coupon.ff-checkout-coupon-card__form {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.ff-checkout-page .ff-checkout-coupon-card__title {
    margin: 0 0 0.75rem;
    padding: 0;
    color: var(--ff-text-main) !important;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

body.ff-checkout-page .ff-checkout-coupon-card__form,
body.ff-checkout-page .ff-checkout-coupon-card .coupon {
    display: flex !important;
    flex-direction: column;
    gap: 0.65rem;
    align-items: stretch;
    margin: 0;
    padding: 0;
}

body.ff-checkout-page .ff-checkout-coupon-card__form .form-row,
body.ff-checkout-page .ff-checkout-coupon-card .coupon .form-row {
    width: 100%;
    margin: 0;
    padding: 0;
    float: none;
}

body.ff-checkout-page .ff-checkout-coupon-card__form label,
body.ff-checkout-page .ff-checkout-coupon-card .coupon label {
    display: none;
}

body.ff-checkout-page .ff-checkout-coupon-card__form input[type="text"],
body.ff-checkout-page .ff-checkout-coupon-card .coupon input[type="text"] {
    width: 100%;
    min-height: 44px;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--ff-border-soft);
    border-radius: 12px;
    background: var(--ff-bg-main);
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    box-sizing: border-box;
}

body.ff-checkout-page .ff-checkout-coupon-card__form input[type="text"]::placeholder,
body.ff-checkout-page .ff-checkout-coupon-card .coupon input[type="text"]::placeholder {
    color: var(--ff-text-muted);
    opacity: 1;
}

body.ff-checkout-page .ff-checkout-coupon-card__form .button,
body.ff-checkout-page .ff-checkout-coupon-card .coupon .button {
    width: 100%;
    min-height: 44px;
    padding: 0.6rem 1rem !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--ff-kodak-yellow) !important;
    color: #ffffff !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    box-shadow: 0 10px 22px rgba(250, 182, 23, 0.28);
    transition:
        transform 0.35s var(--ff-motion-soft),
        box-shadow 0.35s ease;
}

body.ff-checkout-page .ff-checkout-coupon-card__form .button:hover,
body.ff-checkout-page .ff-checkout-coupon-card__form .button:focus-visible,
body.ff-checkout-page .ff-checkout-coupon-card .coupon .button:hover,
body.ff-checkout-page .ff-checkout-coupon-card .coupon .button:focus-visible {
    background: var(--ff-kodak-yellow) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(250, 182, 23, 0.38) !important;
}

@media (max-width: 980px) {
    body.ff-checkout-page .ff-checkout-coupon-card,
    body.ff-checkout-page .ff-cart-coupon-slot.ff-checkout-coupon-card {
        margin-top: 1.75rem !important;
        padding-top: 0.35rem;
    }

    body.ff-checkout-page .ff-checkout-payment-heading {
        margin-top: 1rem !important;
    }

    body.ff-checkout-page #shipping_method li,
    body.ff-checkout-page #payment .payment_methods > li {
        padding: 0.45rem 0.75rem !important;
    }
}

/* Ordine in fondo al flusso e coupon integrato nella relativa card. */
body.ff-checkout-page .ff-checkout-order-heading {
    margin: 1.4rem 0 0.8rem !important;
}

/* Il riepilogo resta fuori da #payment: così gli aggiornamenti AJAX di
   WooCommerce non possono più cancellarlo. display:contents permette comunque
   di mantenere il pulsante finale dopo la card ordine. */
body.ff-checkout-page #order_review {
    display: flex;
    flex-direction: column;
}

body.ff-checkout-page #order_review > .ff-checkout-delivery-section {
    order: 10;
}

body.ff-checkout-page #order_review > .ff-checkout-payment-heading {
    order: 20;
}

body.ff-checkout-page #order_review > #payment {
    display: contents !important;
}

body.ff-checkout-page #payment > .ff-checkout-payment-card {
    order: 30;
}

body.ff-checkout-page #order_review > .ff-checkout-order-heading {
    order: 40;
}

body.ff-checkout-page #order_review > .ff-checkout-order-card {
    order: 50;
}

body.ff-checkout-page #payment > .place-order {
    order: 60;
}

body.ff-checkout-page #order_review_heading[hidden] {
    display: none !important;
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-card,
body.ff-checkout-page .ff-checkout-order-card .ff-cart-coupon-slot.ff-checkout-coupon-card {
    margin: 0 !important;
    padding: 0 !important;
    border-top: 1px solid var(--ff-border-soft) !important;
    background: transparent !important;
}

body.ff-checkout-page .ff-checkout-coupon-card__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 0.75rem 1.1rem;
    border: 0;
    background: transparent;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

body.ff-checkout-page .ff-checkout-coupon-card__toggle:hover,
body.ff-checkout-page .ff-checkout-coupon-card__toggle:focus-visible {
    background: rgba(250, 182, 23, 0.12);
    outline: none;
}

body.ff-checkout-page .ff-checkout-coupon-card__arrow {
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.25s ease;
}

body.ff-checkout-page .ff-checkout-coupon-card__toggle[aria-expanded="true"] .ff-checkout-coupon-card__arrow {
    transform: rotate(225deg) translate(-2px, -2px);
}

body.ff-checkout-page .ff-checkout-coupon-card__panel[hidden] {
    display: none !important;
}

body.ff-checkout-page .ff-checkout-coupon-card__panel {
    display: block;
    padding: 0.25rem 1.1rem 1rem;
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-card__form,
body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-card .coupon {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: stretch;
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-card__form .button,
body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-card .coupon .button {
    width: auto !important;
    min-width: 96px;
    height: 100%;
    box-shadow: none !important;
}

@media (max-width: 420px) {
    body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-card__form,
    body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-card .coupon {
        grid-template-columns: minmax(0, 1fr) 88px;
        gap: 0.5rem;
    }

    body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-card__panel {
        padding-right: 0.8rem;
        padding-left: 0.8rem;
    }

    body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-card__form .button,
    body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-card .coupon .button {
        min-width: 88px;
        padding-right: 0.65rem !important;
        padding-left: 0.65rem !important;
    }
}

/* Riepilogo checkout: stessa gerarchia visiva della card "Paga con". */
body.ff-checkout-page #order_review > .ff-checkout-order-card {
    margin: 0 0 1.15rem;
    padding: 0.75rem;
    border: 1px solid var(--ff-border-soft);
    border-radius: 16px;
    background: var(--ff-bg-main);
    box-shadow: var(--ff-shadow-soft);
    overflow: hidden;
}

body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table {
    width: 100%;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 0.5rem !important;
    background: transparent !important;
}

body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table thead {
    display: none !important;
}

body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tbody tr.cart_item td,
body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tfoot tr.ff-checkout-shipping-cost-row th,
body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tfoot tr.ff-checkout-shipping-cost-row td,
body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tfoot tr.order-total th,
body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tfoot tr.order-total td {
    padding: 0.8rem 0.85rem !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    background: var(--ff-kodak-yellow-soft) !important;
    color: var(--ff-text-main) !important;
    vertical-align: middle !important;
}

body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tbody tr.cart_item td:first-child,
body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tfoot tr th:first-child {
    border-radius: 12px 0 0 12px;
}

body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tbody tr.cart_item td:last-child,
body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tfoot tr td:last-child {
    border-radius: 0 12px 12px 0;
}

body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tbody .product-name {
    width: 100%;
    max-width: 0;
    min-width: 0;
    font-size: 0.94rem;
    font-weight: 650;
    line-height: 1.4;
}

body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tbody .product-name > a,
body.ff-checkout-page .ff-checkout-order-card .ff-checkout-product-title {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tbody .product-total,
body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tfoot td {
    font-weight: 750;
    text-align: right;
    white-space: nowrap;
}

body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tbody .product-total {
    width: 1%;
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-card,
body.ff-checkout-page .ff-checkout-order-card .ff-cart-coupon-slot.ff-checkout-coupon-card {
    margin: 0.5rem 0 0 !important;
    border: 1px solid rgba(250, 182, 23, 0.28) !important;
    border-radius: 12px !important;
    background: var(--ff-kodak-yellow-soft) !important;
    overflow: hidden;
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-card__toggle {
    min-height: 50px;
    padding: 0.8rem 0.9rem;
    color: var(--ff-text-main);
    background: transparent;
    font-size: 0.92rem;
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-card__toggle:hover,
body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-card__toggle:focus-visible {
    color: var(--ff-kodak-red);
    background: rgba(250, 182, 23, 0.12);
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-card__panel {
    display: block;
    max-height: 0;
    padding: 0 0.9rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.25s ease, transform 0.3s ease;
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-card.is-open .ff-checkout-coupon-card__panel {
    max-height: 150px;
    padding-top: 0.15rem;
    padding-bottom: 0.9rem;
    opacity: 1;
    transform: translateY(0);
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-card__form input[type="text"] {
    min-height: 46px;
    border-color: rgba(250, 182, 23, 0.35);
    background: var(--ff-bg-main);
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-card__form .button {
    min-height: 46px;
    border-radius: 12px !important;
    background: var(--ff-kodak-yellow) !important;
    color: #fff !important;
    font-size: 0.88rem !important;
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-card__form .button:hover,
body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-card__form .button:focus-visible {
    background: var(--ff-kodak-yellow) !important;
    box-shadow: 0 8px 18px rgba(250, 182, 23, 0.3) !important;
    transform: translateY(-1px);
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-feedback {
    flex: 0 0 100%;
    width: 100%;
    margin: 0.45rem 0 0;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-feedback.is-success {
    color: #237a3b;
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-coupon-feedback.is-error {
    color: var(--ff-kodak-red);
}

body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tbody .product-name,
body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tbody .product-name > a {
    color: var(--ff-kodak-red) !important;
}

body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tbody .product-name .product-quantity,
body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tbody .product-name dl.variation {
    color: var(--ff-kodak-red) !important;
}

/* Checkout: tutta la descrizione della riga prodotto (titolo e quantita) resta rossa. */
body.ff-checkout-page .ff-checkout-order-card table.woocommerce-checkout-review-order-table tbody tr.cart_item td.product-name,
body.ff-checkout-page .ff-checkout-order-card table.woocommerce-checkout-review-order-table tbody tr.cart_item td.product-name a,
body.ff-checkout-page .ff-checkout-order-card table.woocommerce-checkout-review-order-table tbody tr.cart_item td.product-name span,
body.ff-checkout-page .ff-checkout-order-card table.woocommerce-checkout-review-order-table tbody tr.cart_item td.product-name strong {
    color: var(--ff-kodak-red) !important;
    -webkit-text-fill-color: var(--ff-kodak-red) !important;
}

/* CTA ordine — pill rossa come carrello */
body.ff-checkout-page #place_order {
    width: 100%;
    min-height: 50px;
    padding: 0.9rem 1.25rem !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--ff-kodak-red) !important;
    color: #ffffff !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    box-shadow: 0 12px 28px rgba(189, 0, 7, 0.22);
    transition:
        background-color 0.35s ease,
        transform 0.35s var(--ff-motion-soft),
        box-shadow 0.35s ease;
}

body.ff-checkout-page #place_order:hover,
body.ff-checkout-page #place_order:focus-visible {
    background: var(--ff-kodak-red) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(189, 0, 7, 0.28) !important;
}

@media (max-width: 767px) {
    body.ff-checkout-page .entry-content > .et_builder_inner_content > .et_pb_section:not(.ff-page-banner) {
        padding: 2.5rem 1.1rem 3.5rem !important;
    }
}

/* ================================================================
 * THANK YOU PAGE (YITH) — banner, hero, card ordine come checkout
 * ================================================================ */
body.ff-thankyou-page .ff-thankyou-page-banner.et_pb_section {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.ff-thankyou-page .entry-title,
body.ff-thankyou-page .et_pb_title_container,
body.ff-thankyou-page #main-content > .container > .entry-title {
    display: none !important;
}

body.ff-thankyou-page #main-content {
    background: var(--ff-bg-main) !important;
}

body.ff-thankyou-page .entry-content > .et_builder_inner_content > .et_pb_section:not(.ff-page-banner),
body.ff-thankyou-page .entry-content {
    width: 100% !important;
    max-width: 100% !important;
}

body.ff-thankyou-page .entry-content > .et_builder_inner_content > .et_pb_section:not(.ff-page-banner) {
    padding: 0 1.25rem 4rem !important;
    background: var(--ff-bg-main) !important;
}

body.ff-thankyou-page .entry-content > .et_builder_inner_content > .et_pb_section:not(.ff-page-banner) .et_pb_row,
body.ff-thankyou-page .yith-ctpw-front,
body.ff-thankyou-page .ff-thankyou-page-shell {
    width: min(100%, 1120px) !important;
    max-width: 1120px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

body.ff-thankyou-page .ff-thankyou-page-hero {
    width: min(100%, 1120px);
    max-width: 1120px;
    margin: 0 auto;
    padding: 2rem 1.25rem 1.35rem;
    box-sizing: border-box;
}

body.ff-thankyou-page .ff-thankyou-page-hero__title {
    margin: 0;
    color: var(--ff-text-main) !important;
    font-family: "Inter", sans-serif !important;
    font-size: clamp(1.65rem, 4.2vw, 2.85rem) !important;
    font-weight: 850 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.03em !important;
    text-align: center;
    white-space: nowrap;
}

body.ff-thankyou-page .ff-thankyou-page-hero__title .ff-thankyou-hero-highlight {
    color: var(--ff-kodak-red) !important;
}

/* Thank you — griglia scelta invio foto (WhatsApp / upload sito) */
body.ff-thankyou-page .fadini-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
    max-width: 880px;
    margin: 1.5rem auto 3.25rem;
    align-items: stretch;
}

body.ff-thankyou-page .fadini-choice-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem 1.5rem;
    border-radius: 16px;
    box-sizing: border-box;
    text-align: center;
}

body.ff-thankyou-page .fadini-choice-card--whatsapp,
body.ff-thankyou-page .ff-thankyou-choice-card.fadini-choice-card--whatsapp {
    background: var(--ff-bg-main) !important;
    border: 2px solid var(--ff-border-soft) !important;
    box-shadow: var(--ff-shadow-soft) !important;
    cursor: pointer;
    transition:
        transform 0.35s var(--ff-motion-soft),
        box-shadow 0.35s var(--ff-motion-soft),
        border-color 0.35s ease,
        border-width 0.35s ease;
}

body.ff-thankyou-page .fadini-choice-card--whatsapp:hover,
body.ff-thankyou-page .fadini-choice-card--whatsapp:focus-within,
body.ff-thankyou-page .fadini-choice-card--whatsapp:active,
body.ff-thankyou-page .ff-thankyou-choice-card.fadini-choice-card--whatsapp:hover,
body.ff-thankyou-page .ff-thankyou-choice-card.fadini-choice-card--whatsapp:focus-within,
body.ff-thankyou-page .ff-thankyou-choice-card.fadini-choice-card--whatsapp:active {
    border-color: var(--ff-kodak-red) !important;
    border-width: 3px !important;
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12) !important;
}

body.ff-thankyou-page .fadini-choice-card__title.ff-thankyou-choice-card__title,
body.ff-thankyou-page .fadini-choice-grid .fadini-thankyou-box__title.ff-thankyou-choice-card__title {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
}

body.ff-thankyou-page .ff-thankyou-choice-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

body.ff-thankyou-page .ff-thankyou-choice-card__icon--whatsapp svg {
    display: block;
    width: 1.45rem;
    height: 1.45rem;
}

body.ff-thankyou-page .ff-thankyou-choice-card__icon--web {
    color: var(--ff-text-main);
}

body.ff-thankyou-page .ff-thankyou-choice-card__icon--web svg {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
}

body.ff-thankyou-page .fadini-choice-card__title,
body.ff-thankyou-page .fadini-choice-grid .fadini-thankyou-box__title {
    margin: 0 0 0.65rem !important;
    color: var(--ff-text-main) !important;
    font-family: "Inter", sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

body.ff-thankyou-page .fadini-choice-card__desc,
body.ff-thankyou-page .fadini-choice-grid .fadini-thankyou-box > p:not([class]) {
    margin: 0 0 1.35rem !important;
    color: var(--ff-text-muted) !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    flex-grow: 1;
}

body.ff-thankyou-page .fadini-choice-grid > .fadini-choice-card:not(.fadini-choice-card--whatsapp) {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

body.ff-thankyou-page .fadini-choice-grid .fadini-thankyou-box {
    margin: 0 !important;
    padding: 1.75rem 1.5rem !important;
    background: var(--ff-bg-main) !important;
    border: 2px solid var(--ff-border-soft) !important;
    border-radius: 16px !important;
    box-shadow: var(--ff-shadow-soft) !important;
    display: flex !important;
    flex-direction: column;
    flex-grow: 1 !important;
    text-align: center;
    box-sizing: border-box;
    transition:
        transform 0.35s var(--ff-motion-soft),
        box-shadow 0.35s var(--ff-motion-soft),
        border-color 0.35s ease,
        border-width 0.35s ease;
}

body.ff-thankyou-page .ff-thankyou-choice-card:not(.fadini-choice-card--whatsapp):hover .fadini-thankyou-box,
body.ff-thankyou-page .ff-thankyou-choice-card:not(.fadini-choice-card--whatsapp):focus-within .fadini-thankyou-box,
body.ff-thankyou-page .ff-thankyou-choice-card:not(.fadini-choice-card--whatsapp):active .fadini-thankyou-box {
    border-color: var(--ff-kodak-red) !important;
    border-width: 3px !important;
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12) !important;
}

body.ff-thankyou-page .ff-thankyou-choice-card:not(.fadini-choice-card--whatsapp) {
    cursor: pointer;
}

body.ff-thankyou-page .fadini-choice-card__cta,
body.ff-thankyou-page .fadini-choice-grid .fadini-thankyou-box__cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0.7rem 1.35rem !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--ff-kodak-yellow) !important;
    background-color: var(--ff-kodak-yellow) !important;
    color: #ffffff !important;
    font-family: "Inter", sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    text-decoration: none !important;
    box-shadow: 0 10px 22px rgba(250, 182, 23, 0.28) !important;
    pointer-events: none;
    align-self: center;
    transition:
        background-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s var(--ff-motion-soft);
}

body.ff-thankyou-page .fadini-choice-card--whatsapp:hover .fadini-choice-card__cta,
body.ff-thankyou-page .fadini-choice-card--whatsapp:focus-within .fadini-choice-card__cta,
body.ff-thankyou-page .fadini-choice-card--whatsapp:active .fadini-choice-card__cta,
body.ff-thankyou-page .ff-thankyou-choice-card.fadini-choice-card--whatsapp:hover .fadini-choice-card__cta,
body.ff-thankyou-page .ff-thankyou-choice-card.fadini-choice-card--whatsapp:focus-within .fadini-choice-card__cta,
body.ff-thankyou-page .ff-thankyou-choice-card.fadini-choice-card--whatsapp:active .fadini-choice-card__cta {
    background: #25d366 !important;
    background-color: #25d366 !important;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.32) !important;
    transform: translateY(-1px);
}

body.ff-thankyou-page .ff-thankyou-choice-card:not(.fadini-choice-card--whatsapp):hover .fadini-thankyou-box__cta,
body.ff-thankyou-page .ff-thankyou-choice-card:not(.fadini-choice-card--whatsapp):focus-within .fadini-thankyou-box__cta,
body.ff-thankyou-page .ff-thankyou-choice-card:not(.fadini-choice-card--whatsapp):active .fadini-thankyou-box__cta {
    background: var(--ff-kodak-red) !important;
    background-color: var(--ff-kodak-red) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(189, 0, 7, 0.28) !important;
    transform: translateY(-1px);
}

body.ff-thankyou-page .fadini-choice-grid .fadini-thankyou-box__copy-row {
    margin: 0 0 0.75rem !important;
}

body.ff-thankyou-page .fadini-choice-grid .fadini-thankyou-box__cta-row {
    margin: 0 !important;
}

body.ff-thankyou-page .fadini-choice-grid .fadini-thankyou-box__copy {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    font-size: 0.85rem;
    color: var(--ff-text-muted);
}

@media (max-width: 600px) {
    body.ff-thankyou-page .fadini-choice-grid {
        grid-template-columns: 1fr;
    }
}

body.ff-thankyou-page .yith-ctpw-front,
body.ff-thankyou-page .woocommerce-order-received {
    font-family: "Inter", sans-serif;
    color: var(--ff-text-main);
}

body.ff-thankyou-page .woocommerce-thankyou-order-received {
    display: none !important;
}

body.ff-thankyou-page .woocommerce-thankyou-order-details.order_details,
body.ff-thankyou-page .ff-thankyou-card--overview {
    display: none !important;
}

body.ff-thankyou-page .ff-thankyou-card {
    margin: 0 0 1.15rem;
    padding: 0.9rem 1rem 1rem;
    border: 1px solid rgba(250, 182, 23, 0.28);
    border-radius: 16px;
    background: var(--ff-kodak-yellow-soft);
    box-shadow: var(--ff-shadow-soft);
    overflow: hidden;
}

/* Card riepilogo ordine — stile carrello (bianca) */
body.ff-thankyou-page .ff-thankyou-card--order,
body.ff-thankyou-page .ff-thankyou-order-wrap.ff-thankyou-card--order {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body.ff-thankyou-page .ff-thankyou-order-wrap__title {
    margin: 0 0 0.85rem !important;
    padding: 0;
    color: var(--ff-kodak-red) !important;
    font-family: "Inter", sans-serif !important;
    font-size: clamp(1.15rem, 2vw, 1.4rem) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: left;
}

body.ff-thankyou-page .ff-thankyou-order-card {
    border: 1px solid var(--ff-border-soft);
    border-radius: 16px;
    background: var(--ff-bg-main);
    box-shadow: var(--ff-shadow-soft);
    padding: 0.35rem 1.35rem 0.65rem;
    overflow: hidden;
}

body.ff-thankyou-page .ff-thankyou-order-table.woocommerce-cart-form__contents {
    width: 100%;
    border: 0 !important;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
    background: transparent;
}

body.ff-thankyou-page .ff-thankyou-order-table.woocommerce-cart-form__contents th,
body.ff-thankyou-page .ff-thankyou-order-table.woocommerce-cart-form__contents td {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.ff-thankyou-page .ff-thankyou-order-table.woocommerce-cart-form__contents thead th {
    padding: 1rem 0 0.85rem;
    border-bottom: 1px solid var(--ff-border-soft);
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.ff-thankyou-page .ff-thankyou-order-table.woocommerce-cart-form__contents thead .product-thumbnail {
    width: 4.5rem;
    padding-right: 0;
    font-size: 0;
    line-height: 0;
}

body.ff-thankyou-page .ff-thankyou-order-table.woocommerce-cart-form__contents tbody tr {
    border-bottom: 1px solid var(--ff-border-soft);
}

body.ff-thankyou-page .ff-thankyou-order-table.woocommerce-cart-form__contents tbody td {
    padding: 1.15rem 0;
    vertical-align: middle;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    line-height: 1.45;
}

body.ff-thankyou-page .ff-thankyou-order-table.woocommerce-cart-form__contents tbody tr:last-child td {
    padding-bottom: 1rem;
    border-bottom: 0;
}

body.ff-thankyou-page .ff-thankyou-order-table .product-thumbnail {
    width: 4.5rem;
    padding-right: 1rem;
}

body.ff-thankyou-page .ff-thankyou-order-table .ff-cart-thumb {
    display: block;
    position: relative;
    width: 4.5rem;
    height: 5.5rem;
    overflow: hidden;
    border-radius: 10px;
}

body.ff-thankyou-page .ff-thankyou-order-table .ff-cart-thumb-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--ff-border-soft);
    background: #fff;
}

body.ff-thankyou-page .ff-thankyou-order-table .ff-cart-thumb-img--broken {
    display: none !important;
}

body.ff-thankyou-page .ff-thankyou-order-table .ff-cart-thumb-placeholder {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    border: 1px solid var(--ff-border-soft);
    border-radius: 10px;
    background: linear-gradient(145deg, #f1f5f9 0%, #e8edf3 100%);
}

body.ff-thankyou-page .ff-thankyou-order-table .ff-cart-thumb-placeholder::before {
    content: "";
    position: absolute;
    inset: 14%;
    border: 2px solid rgba(15, 23, 42, 0.07);
    border-radius: 8px;
    pointer-events: none;
}

body.ff-thankyou-page .ff-thankyou-order-table .ff-cart-thumb-placeholder::after {
    content: "";
    position: absolute;
    inset: 14%;
    background:
        linear-gradient(
            to top right,
            transparent calc(50% - 1px),
            rgba(15, 23, 42, 0.09) calc(50% - 1px),
            rgba(15, 23, 42, 0.09) calc(50% + 1px),
            transparent calc(50% + 1px)
        ),
        linear-gradient(
            to top left,
            transparent calc(50% - 1px),
            rgba(15, 23, 42, 0.09) calc(50% - 1px),
            rgba(15, 23, 42, 0.09) calc(50% + 1px),
            transparent calc(50% + 1px)
        );
    pointer-events: none;
}

body.ff-thankyou-page .ff-thankyou-order-table .ff-cart-thumb--has-image:not(:has(.ff-cart-thumb-img--broken)) .ff-cart-thumb-placeholder {
    display: none;
}

body.ff-thankyou-page .ff-thankyou-order-table .product-name a,
body.ff-thankyou-page .ff-thankyou-order-table .product-name span[title] {
    color: var(--ff-text-main);
    font-weight: 700;
    text-decoration: none;
}

body.ff-thankyou-page .ff-thankyou-order-table .product-name a:hover {
    color: var(--ff-kodak-red);
}

body.ff-thankyou-page .ff-thankyou-order-table .product-quantity {
    white-space: nowrap;
    vertical-align: middle;
    text-align: center;
}

body.ff-thankyou-page .ff-thankyou-order-table .ff-thankyou-qty-pill.quantity {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.65rem;
    border: 1px solid var(--ff-border-soft);
    border-radius: 999px;
    background: var(--ff-bg-soft);
}

body.ff-thankyou-page .ff-thankyou-order-table .ff-thankyou-qty-pill .qty {
    min-width: 2.4rem;
    min-height: 2rem;
    margin: 0;
    padding: 0;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
    line-height: 2rem;
}

body.ff-thankyou-page .ff-thankyou-order-table .product-subtotal,
body.ff-thankyou-page .ff-thankyou-order-table .ff-cart-row-subtotal {
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

body.ff-thankyou-page .ff-thankyou-order-table .product-subtotal .woocommerce-Price-amount {
    font-weight: 800;
}

body.ff-thankyou-page .ff-thankyou-order-table tfoot th,
body.ff-thankyou-page .ff-thankyou-order-table tfoot td {
    padding: 0.75rem 0;
    border-top: 1px solid var(--ff-border-soft);
    border-bottom: 0;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    vertical-align: middle;
}

body.ff-thankyou-page .ff-thankyou-order-table tfoot tr:first-child th,
body.ff-thankyou-page .ff-thankyou-order-table tfoot tr:first-child td {
    padding-top: 1rem;
}

body.ff-thankyou-page .ff-thankyou-order-table tfoot th {
    text-align: left;
    font-weight: 600;
}

body.ff-thankyou-page .ff-thankyou-order-table tfoot td {
    text-align: right;
    font-weight: 700;
}

body.ff-thankyou-page .ff-thankyou-order-table tr.order-total th,
body.ff-thankyou-page .ff-thankyou-order-table tr.order-total td {
    padding-top: 1rem;
    border-top: 1px solid var(--ff-border-soft);
    font-size: 1.02rem;
    font-weight: 800;
}

body.ff-thankyou-page .ff-thankyou-order-table tr.order-total td .woocommerce-Price-amount {
    color: var(--ff-kodak-yellow);
    font-weight: 800;
}

body.ff-thankyou-page .ff-thankyou-order-table tr.cart-subtotal {
    display: none !important;
}

body.ff-thankyou-page .ff-thankyou-card--overview {
    padding: 0.75rem 1rem;
}

body.ff-thankyou-page .ff-thankyou-card .order_details_title,
body.ff-thankyou-page .ff-thankyou-card .customer_details,
body.ff-thankyou-page .ff-thankyou-card h2.order_details_title,
body.ff-thankyou-page .ff-thankyou-card h2.customer_details {
    margin: 0 0 0.85rem !important;
    padding: 0;
    color: var(--ff-kodak-red) !important;
    font-family: "Inter", sans-serif !important;
    font-size: clamp(1.15rem, 2vw, 1.4rem) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

body.ff-thankyou-page .woocommerce-thankyou-order-details.order_details {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

body.ff-thankyou-page .woocommerce-thankyou-order-details.order_details li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 !important;
    padding: 0.65rem 0.85rem !important;
    border: 1px solid rgba(250, 182, 23, 0.22) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.45);
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    line-height: 1.35;
}

body.ff-thankyou-page .woocommerce-thankyou-order-details .yctpw_label {
    color: var(--ff-text-muted);
    font-weight: 600;
}

body.ff-thankyou-page .woocommerce-thankyou-order-details .yctpw_value {
    color: var(--ff-text-main);
    font-weight: 700;
    text-align: right;
}

body.ff-thankyou-page .ff-thankyou-card:not(.ff-thankyou-card--order) table.shop_table,
body.ff-thankyou-page .ff-thankyou-card:not(.ff-thankyou-card--order) table.order_details {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    border-collapse: collapse;
}

body.ff-thankyou-page .ff-thankyou-card:not(.ff-thankyou-card--order) table.shop_table th,
body.ff-thankyou-page .ff-thankyou-card:not(.ff-thankyou-card--order) table.shop_table td {
    padding: 0.85rem 0.35rem;
    border-bottom: 1px solid rgba(250, 182, 23, 0.18);
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    vertical-align: middle;
}

body.ff-thankyou-page .ff-thankyou-card:not(.ff-thankyou-card--order) table.shop_table thead th {
    padding-top: 0.15rem;
    color: var(--ff-text-muted);
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

body.ff-thankyou-page .ff-thankyou-card:not(.ff-thankyou-card--order) table.shop_table tfoot th,
body.ff-thankyou-page .ff-thankyou-card:not(.ff-thankyou-card--order) table.shop_table tfoot td {
    font-weight: 700;
}

body.ff-thankyou-page .ff-thankyou-card:not(.ff-thankyou-card--order) table.shop_table tr.order-total th,
body.ff-thankyou-page .ff-thankyou-card:not(.ff-thankyou-card--order) table.shop_table tr.order-total td {
    padding-top: 1rem;
    border-top: 1px solid var(--ff-border-soft);
    border-bottom: 0;
    font-size: 1.02rem;
}

body.ff-thankyou-page .ff-thankyou-card:not(.ff-thankyou-card--order) tr.cart-subtotal {
    display: none !important;
}

body.ff-thankyou-page .ff-thankyou-card:not(.ff-thankyou-card--order) .product-name a {
    color: var(--ff-text-main);
    font-weight: 600;
    text-decoration: none;
}

body.ff-thankyou-page .ff-thankyou-card:not(.ff-thankyou-card--order) .product-name a:hover,
body.ff-thankyou-page .ff-thankyou-card:not(.ff-thankyou-card--order) .product-name a:focus-visible {
    color: var(--ff-kodak-red);
    text-decoration: underline;
}

body.ff-thankyou-page .ff-thankyou-card:not(.ff-thankyou-card--order) .yith_ctpw_thumb img {
    border-radius: 10px;
}

body.ff-thankyou-page .ff-thankyou-card--customer address,
body.ff-thankyou-page .ff-thankyou-card--customer p {
    margin: 0 0 0.55rem;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    line-height: 1.45;
    font-style: normal;
}

body.ff-thankyou-page .ff-thankyou-card--customer .woocommerce-column__title {
    margin: 0 0 0.65rem !important;
    color: var(--ff-kodak-red) !important;
    font-family: "Inter", sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
}

body.ff-thankyou-page .ff-thankyou-card--customer .woocommerce-columns--addresses {
    display: grid;
    gap: 0.85rem;
}

body.ff-thankyou-page .ff-thankyou-card--customer .woocommerce-customer-details,
body.ff-thankyou-page .ff-thankyou-card--customer address,
body.ff-thankyou-page .ff-thankyou-card--customer .woocommerce-column {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.ff-thankyou-page .yith-ctpw-front .button,
body.ff-thankyou-page .yith-ctpw-front a.button {
    border-radius: 999px !important;
}

/* Thank you — nasconde upsells YITH, usa carousel card custom */
body.ff-thankyou-page #ctpw_upsells {
    display: none !important;
}

body.ff-thankyou-page #ff-thankyou-potrebbero-piacerti.ff-product-suggestions {
    margin-top: 2.5rem;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Thank you — prezzi carousel "Potrebbero piacerti" allineati a scheda/carrello */
body.ff-thankyou-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price,
body.ff-thankyou-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .ff-product-card-footer .price,
body.ff-thankyou-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price .amount,
body.ff-thankyou-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price .amount bdi,
body.ff-thankyou-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price .woocommerce-Price-amount {
    color: var(--ff-kodak-red) !important;
    letter-spacing: 0 !important;
}

body.ff-thankyou-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price,
body.ff-thankyou-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .ff-product-card-footer .price {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: right !important;
}

body.ff-thankyou-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price del,
body.ff-thankyou-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price del .amount {
    opacity: 0.55;
    font-size: 0.88em;
    font-weight: 500;
    color: var(--ff-text-muted) !important;
}

body.ff-thankyou-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price ins,
body.ff-thankyou-page .ff-product-suggestions .ff-suggestions-catalog.et_pb_shop .woocommerce ul.products li.product .price ins .amount {
    text-decoration: none;
    font-weight: 700;
    color: var(--ff-kodak-red) !important;
}

/* Thank you — rimuove divisore grigio tra sezioni upload e ordine */
body.ff-thankyou-page .entry-content hr.wp-block-separator,
body.ff-thankyou-page .yith-ctpw-front hr,
body.ff-thankyou-page .entry-content .wp-block-separator {
    display: none !important;
    margin: 0 !important;
    border: 0 !important;
}

@media (min-width: 768px) {
    body.ff-thankyou-page .ff-thankyou-card--customer .woocommerce-columns--addresses {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body.ff-thankyou-page .ff-thankyou-page-hero {
        padding: 1.35rem 1rem 0.9rem;
    }

    body.ff-thankyou-page .ff-thankyou-page-hero__title {
        max-width: 18ch;
        margin-inline: auto;
        font-size: clamp(1.65rem, 7vw, 2.15rem) !important;
        line-height: 1.08 !important;
        white-space: normal;
    }

    body.ff-thankyou-page .fadini-choice-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.9rem;
        width: 100%;
        margin: 1rem auto 2.5rem;
    }

    body.ff-thankyou-page .fadini-choice-card,
    body.ff-thankyou-page .fadini-choice-grid .fadini-thankyou-box {
        min-width: 0;
        padding: 1.25rem 1rem !important;
    }

    body.ff-thankyou-page .entry-content > .et_builder_inner_content > .et_pb_section:not(.ff-page-banner) {
        padding: 0 0.9rem 3rem !important;
    }

    body.ff-thankyou-page .ff-thankyou-card:not(.ff-thankyou-card--order) {
        padding: 0.75rem 0.85rem 0.9rem;
    }

    body.ff-thankyou-page .ff-thankyou-order-card {
        padding: 0.35rem 0.85rem 0.55rem;
    }
}

@media (max-width: 980px) {
    body.ff-thankyou-page .ff-thankyou-order-table.woocommerce-cart-form__contents thead {
        display: none;
    }

    body.ff-thankyou-page .ff-thankyou-order-table.woocommerce-cart-form__contents tbody td::before {
        display: none !important;
        content: none !important;
    }

    body.ff-thankyou-page .ff-thankyou-order-table.woocommerce-cart-form__contents tbody tr {
        display: grid;
        grid-template-columns: 5rem minmax(0, 1fr);
        grid-template-areas:
            "thumb meta"
            "thumb footer";
        gap: 0.5rem 0.85rem;
        padding: 1.1rem 0;
        border-bottom: 1px solid var(--ff-border-soft);
        text-align: left !important;
    }

    body.ff-thankyou-page .ff-thankyou-order-table.woocommerce-cart-form__contents tbody tr:last-child {
        border-bottom: 0;
        padding-bottom: 0.35rem;
    }

    body.ff-thankyou-page .ff-thankyou-order-table.woocommerce-cart-form__contents tbody td {
        display: block;
        width: auto;
        padding: 0;
        border: 0 !important;
        text-align: left !important;
    }

    body.ff-thankyou-page .ff-thankyou-order-table .product-thumbnail {
        grid-area: thumb;
        display: block !important;
        width: auto;
        padding: 0;
        align-self: start;
    }

    body.ff-thankyou-page .ff-thankyou-order-table .product-thumbnail .ff-cart-thumb {
        width: 5rem;
        height: 5.5rem;
    }

    body.ff-thankyou-page .ff-thankyou-order-table .product-name {
        grid-area: meta;
        padding-right: 0.15rem;
        align-self: start;
    }

    body.ff-thankyou-page .ff-thankyou-order-table .product-name a,
    body.ff-thankyou-page .ff-thankyou-order-table .product-name span[title] {
        display: block;
        font-size: 0.92rem;
        line-height: 1.35;
    }

    body.ff-thankyou-page .ff-thankyou-order-table .product-subtotal[data-ff-hidden="1"] {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
    }

    body.ff-thankyou-page .ff-thankyou-order-table .product-quantity {
        grid-area: footer;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        justify-self: end;
        align-self: start;
        width: 100%;
        min-width: 6.5rem;
        margin: 0;
        padding: 0;
        text-align: right;
    }

    body.ff-thankyou-page .ff-thankyou-order-table .ff-cart-qty-stack {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.35rem;
        width: 100%;
    }

    body.ff-thankyou-page .ff-thankyou-order-table .ff-cart-row-subtotal {
        display: block;
        margin-top: 0.1rem;
        font-weight: 800;
        text-align: right;
        white-space: nowrap;
    }

    body.ff-thankyou-page .ff-thankyou-order-table .ff-cart-row-subtotal .woocommerce-Price-amount {
        font-weight: 800;
    }

    body.ff-thankyou-page .ff-thankyou-order-table tfoot tr {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.85rem;
        width: 100%;
    }

    body.ff-thankyou-page .ff-thankyou-order-table tfoot th,
    body.ff-thankyou-page .ff-thankyou-order-table tfoot td {
        display: block;
        width: auto;
        padding: 0.65rem 0;
        border: 0;
        text-align: left;
    }

    body.ff-thankyou-page .ff-thankyou-order-table tfoot th {
        flex: 0 1 auto;
        max-width: 58%;
        font-weight: 600;
        white-space: normal;
    }

    body.ff-thankyou-page .ff-thankyou-order-table tfoot td {
        flex: 1 1 auto;
        text-align: right;
        font-weight: 700;
        white-space: nowrap;
    }

    body.ff-thankyou-page .ff-thankyou-order-table tr.order-total th,
    body.ff-thankyou-page .ff-thankyou-order-table tr.order-total td {
        padding-top: 0.85rem;
        border-top: 1px solid var(--ff-border-soft);
        font-size: 1rem;
        font-weight: 800;
    }

    body.ff-thankyou-page .ff-thankyou-order-table tr.order-total td {
        font-size: clamp(1.2rem, 4.8vw, 1.45rem) !important;
    }
}

/* ================================================================
 * PAGINA UPLOAD FOTO — banner Kodak, card compatta, dropzone gialla
 * Plugin fadini-photo-upload — override body.fadini-pu-body
 * ================================================================ */
body.ff-photo-upload-page.fadini-pu-body {
    margin: 0;
    padding: 0;
    background: var(--ff-bg-soft);
    font-family: "Inter", sans-serif;
    font-size: 15px;
    color: var(--ff-text-main);
    min-height: auto;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
}

html:has(body.ff-photo-upload-page) {
    overflow-y: auto;
    height: auto;
}

/* Banner — stesso linguaggio visivo delle pagine interne */
body.ff-photo-upload-page .ff-photo-upload-page-banner.et_pb_section {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: clamp(3rem, 8vw, 4.5rem) 0 calc(3rem + 32px);
    background: var(--ff-kodak-yellow);
    background-image: linear-gradient(
        135deg,
        rgba(250, 182, 23, 0.96),
        rgba(255, 216, 0, 0.94)
    );
    box-sizing: border-box;
}

body.ff-photo-upload-page .ff-photo-upload-page-banner .et_pb_row {
    position: relative;
    z-index: 2;
    width: 94%;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

body.ff-photo-upload-page .ff-photo-upload-page-banner.ff-page-banner--visible .et_pb_row {
    opacity: 1;
    transform: translateY(0);
}

body.ff-photo-upload-page .ff-photo-upload-page-banner .et_pb_column,
body.ff-photo-upload-page .ff-photo-upload-page-banner .et_pb_text,
body.ff-photo-upload-page .ff-photo-upload-page-banner .et_pb_text_inner {
    width: 100%;
    text-align: center;
}

body.ff-photo-upload-page .ff-photo-upload-page-banner h1 {
    margin: 0;
    color: var(--ff-kodak-red);
    font-family: "Inter", sans-serif;
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -1px;
    text-align: center;
}

body.ff-photo-upload-page .ff-page-banner-film {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 32px;
    z-index: 3;
    overflow: hidden;
    background-color: var(--ff-kodak-red);
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='32' viewBox='0 0 24 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='6' y='7' width='12' height='18' rx='2' fill='white'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;
    opacity: 0;
    transform: translateY(100%);
    transition:
        opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
        transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

body.ff-photo-upload-page .ff-photo-upload-page-banner.ff-page-banner--visible .ff-page-banner-film {
    opacity: 1;
    transform: translateY(0);
}

/* Layout wrap + card compatta */
body.ff-photo-upload-page .fadini-pu-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.5rem 1rem 3rem;
    min-height: 0 !important;
    height: auto !important;
    box-sizing: border-box;
}

@media (min-width: 981px) {
    body.ff-photo-upload-page .fadini-pu-wrap {
        padding-bottom: 5rem;
    }
}

body.ff-photo-upload-page .fpu-card {
    background: var(--ff-bg-main);
    border: 2px solid var(--ff-border-soft);
    border-radius: 16px;
    box-shadow: var(--ff-shadow-soft);
    padding: 1.35rem 1.25rem 1.5rem;
    width: 100%;
    max-width: 480px;
    transition:
        box-shadow 0.35s var(--ff-motion-soft),
        transform 0.35s var(--ff-motion-soft),
        border-color 0.35s ease;
}

body.ff-photo-upload-page .fpu-card:has(.fpu-dropzone):hover,
body.ff-photo-upload-page .fpu-card:has(.fpu-dropzone):focus-within {
    border-color: rgba(189, 0, 7, 0.12);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.1);
}

body.ff-photo-upload-page .fpu-header {
    text-align: center;
    margin-bottom: 1rem;
}

body.ff-photo-upload-page .fpu-header h1 {
    display: none;
}

body.ff-photo-upload-page .fpu-logo img {
    max-height: 44px;
    width: auto;
}

body.ff-photo-upload-page .fpu-order {
    color: var(--ff-text-muted);
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    font-weight: 500;
}

body.ff-photo-upload-page .fpu-order strong {
    color: var(--ff-kodak-red);
    font-weight: 700;
}

body.ff-photo-upload-page .fpu-hint {
    margin: 0 0 0.25rem;
    line-height: 1.55;
    color: var(--ff-text-main);
    font-size: 0.92rem;
    text-align: center;
}

body.ff-photo-upload-page .fpu-limits {
    font-size: 0.78rem;
    color: var(--ff-text-muted);
    margin: 0 0 1rem;
    text-align: center;
}

body.ff-photo-upload-page .fpu-resume-banner {
    background: var(--ff-kodak-yellow-soft);
    border: 1px solid rgba(250, 182, 23, 0.45);
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    font-size: 0.85rem;
    color: var(--ff-text-main);
    margin-bottom: 1rem;
    line-height: 1.45;
}

/* Dropzone — giallo Kodak morbido */
body.ff-photo-upload-page .fpu-dropzone {
    border: 2px dashed rgba(189, 0, 7, 0.22);
    border-radius: 14px;
    padding: 1.65rem 1rem;
    text-align: center;
    cursor: pointer;
    background: rgba(250, 182, 23, 0.2);
    transition:
        border-color 0.35s ease,
        background-color 0.35s ease,
        transform 0.35s var(--ff-motion-soft),
        box-shadow 0.35s var(--ff-motion-soft);
}

body.ff-photo-upload-page .fpu-dropzone:hover,
body.ff-photo-upload-page .fpu-dropzone.is-over {
    border-color: var(--ff-kodak-red);
    background: rgba(250, 182, 23, 0.38);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(250, 182, 23, 0.28);
}

body.ff-photo-upload-page .fpu-dropzone:active {
    transform: translateY(-1px) scale(0.995);
}

body.ff-photo-upload-page .fpu-dropzone svg {
    width: 36px;
    height: 36px;
    color: var(--ff-kodak-red);
    margin-bottom: 0.65rem;
    transition: transform 0.35s var(--ff-motion-soft);
}

body.ff-photo-upload-page .fpu-dropzone:hover svg,
body.ff-photo-upload-page .fpu-dropzone.is-over svg {
    transform: translateY(-4px);
}

body.ff-photo-upload-page .fpu-dropzone p {
    margin: 0 0 0.2rem;
    color: var(--ff-text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

body.ff-photo-upload-page .fpu-dropzone span {
    display: block;
    font-size: 0.8rem;
    color: var(--ff-text-muted);
    margin-bottom: 0.85rem;
}

/* Bottoni — palette Kodak coerente con thank you */
body.ff-photo-upload-page .fpu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    line-height: 1.15;
    white-space: nowrap;
    transition:
        background-color 0.35s ease,
        border-color 0.35s ease,
        color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s var(--ff-motion-soft);
}

body.ff-photo-upload-page .fpu-btn--primary,
body.ff-photo-upload-page .fpu-btn--finish {
    background: var(--ff-kodak-yellow);
    color: #ffffff;
    border-color: var(--ff-kodak-yellow);
    box-shadow: 0 10px 22px rgba(250, 182, 23, 0.28);
}

body.ff-photo-upload-page .fpu-btn--primary:hover,
body.ff-photo-upload-page .fpu-btn--primary:focus-visible,
body.ff-photo-upload-page .fpu-btn--finish:hover,
body.ff-photo-upload-page .fpu-btn--finish:focus-visible {
    background: var(--ff-kodak-red);
    border-color: var(--ff-kodak-red);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(189, 0, 7, 0.28);
    transform: translateY(-2px);
}

body.ff-photo-upload-page .fpu-btn--outline {
    background: rgba(255, 255, 255, 0.65);
    color: var(--ff-kodak-red);
    border-color: var(--ff-kodak-red);
}

body.ff-photo-upload-page .fpu-btn--outline:hover,
body.ff-photo-upload-page .fpu-btn--outline:focus-visible {
    background: var(--ff-kodak-yellow);
    border-color: var(--ff-kodak-yellow);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(250, 182, 23, 0.28);
    transform: translateY(-2px);
}

body.ff-photo-upload-page .fpu-btn--ghost {
    background: transparent;
    color: var(--ff-text-muted);
    border-color: var(--ff-border-soft);
}

body.ff-photo-upload-page .fpu-btn--ghost:hover,
body.ff-photo-upload-page .fpu-btn--ghost:focus-visible {
    background: var(--ff-bg-soft);
    border-color: rgba(189, 0, 7, 0.2);
    color: var(--ff-kodak-red);
    transform: translateY(-1px);
}

body.ff-photo-upload-page .fpu-btn:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

body.ff-photo-upload-page .fpu-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

body.ff-photo-upload-page .fpu-row,
body.ff-photo-upload-page .fpu-finish-row {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    justify-content: center;
}

body.ff-photo-upload-page .fpu-finish-row {
    padding-top: 1rem;
    border-top: 1px solid var(--ff-border-soft);
}

body.ff-photo-upload-page .fpu-summary {
    margin: 0;
    font-size: 0.95rem;
    color: var(--ff-text-main);
    text-align: center;
    font-weight: 600;
}

body.ff-photo-upload-page .fpu-progress__bar {
    height: 10px;
    background: rgba(250, 182, 23, 0.25);
    border-radius: 999px;
}

body.ff-photo-upload-page .fpu-progress__fill {
    background: var(--ff-kodak-red);
    border-radius: 999px;
}

body.ff-photo-upload-page .fpu-result-ok {
    color: var(--ff-kodak-red);
    font-family: "Inter", sans-serif;
}

body.ff-photo-upload-page .fpu-icon {
    background: var(--ff-kodak-yellow);
}

body.ff-photo-upload-page .fpu-icon--green {
    background: var(--ff-kodak-red);
}

/* Schermata ordine completato — icona gialla, check bianco, layout centrato */
body.ff-photo-upload-page #fpuStepFinished:not([hidden]),
body.ff-photo-upload-page .fpu-card--center:has(.fpu-icon--green) {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

body.ff-photo-upload-page #fpuStepFinished .fpu-icon,
body.ff-photo-upload-page #fpuStepFinished .fpu-icon--green,
body.ff-photo-upload-page .fpu-card--center .fpu-icon--green {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 4rem;
    height: 4rem;
    max-width: none;
    margin: 0 auto 1rem !important;
    padding: 0 !important;
    border-radius: 50%;
    background: var(--ff-kodak-yellow);
    color: #ffffff !important;
    font-family: "Inter", sans-serif;
    font-size: 2.2rem !important;
    font-weight: 700;
    line-height: 1 !important;
    text-align: center;
    box-shadow: 0 12px 28px rgba(250, 182, 23, 0.35);
}

body.ff-photo-upload-page #fpuStepFinished h2,
body.ff-photo-upload-page .fpu-card--center h1 {
    margin: 0 0 0.5rem;
    color: var(--ff-text-main);
    font-family: "Inter", sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    width: 100%;
}

body.ff-photo-upload-page #fpuStepFinished p:not(.fpu-icon),
body.ff-photo-upload-page .fpu-card--center p:not(.fpu-icon) {
    margin: 0 0 0.35rem;
    color: var(--ff-text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    text-align: center;
    max-width: 22rem;
}

body.ff-photo-upload-page #fpuStepFinished .fpu-btn--home {
    margin-top: 1.35rem;
}

body.ff-photo-upload-page .fpu-card--center .fpu-btn--home {
    margin-top: 1.35rem;
}

@media (max-width: 980px) {
    body.ff-photo-upload-page .ff-photo-upload-page-banner .et_pb_row {
        width: 100%;
        max-width: 100%;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        box-sizing: border-box;
    }

    body.ff-photo-upload-page .ff-photo-upload-page-banner h1 {
        font-size: clamp(2.2rem, 11vw, 3.2rem);
        letter-spacing: -1.1px;
    }
}

/* ================================================================
 * CTA CLICCABILI — cursore manina coerente (senza toccare layout)
 * ================================================================ */
.ff-hero-btn,
.ff-hero-link,
body.ff-cart-page .wc-proceed-to-checkout .checkout-button,
body.ff-cart-page .wc-proceed-to-checkout a.button,
body.ff-cart-page .return-to-shop .button,
body.ff-cart-page--has-items .ff-cart-coupon-slot .coupon .button,
body.ff-checkout-page #place_order,
body.ff-checkout-page .ff-checkout-coupon-card__form .button,
body.ff-thankyou-page .fadini-choice-card__cta,
body.ff-thankyou-page .fadini-thankyou-box__cta,
body.ff-photo-upload-page .fpu-btn:not(:disabled),
.ff-single-product-page .ff-product-desc-toggle,
.ff-single-product-page .ff-variant-picker__trigger,
.ff-single-product-page .ff-cart-qty__btn {
    cursor: pointer;
}

/* ================================================================
 * ARCHIVIO FOTO IDEE — categoria WooCommerce con design Fadini
 * ================================================================ */
body.ff-foto-idee-category-page #main-content {
    background: var(--ff-bg-soft);
}

body.ff-foto-idee-category-page .ff-foto-idee-category-banner {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 calc(50% - 50vw) !important;
}

/* Sottotitolo: stessa leggerezza e contrasto dei cataloghi già brandizzati. */
body.ff-foto-idee-category-page .ff-foto-idee-category-banner h3 {
    color: #000000 !important;
    font-weight: 500 !important;
}

body.ff-foto-idee-category-page .woocommerce-products-header,
body.ff-foto-idee-category-page .woocommerce-result-count,
body.ff-foto-idee-category-page .woocommerce-ordering,
body.ff-foto-idee-category-page .woocommerce-breadcrumb {
    display: none !important;
}

body.ff-foto-idee-category-page #main-content .container,
body.ff-foto-idee-category-page #main-content #content-area,
body.ff-foto-idee-category-page #main-content #left-area {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.ff-foto-idee-category-page #main-content #left-area {
    float: none !important;
}

body.ff-foto-idee-category-page #sidebar {
    display: none !important;
}

body.ff-foto-idee-category-page #main-content ul.products {
    width: min(calc(100% - 2.5rem), 1120px) !important;
    max-width: 1120px !important;
    margin: 3rem auto 4.5rem !important;
    padding: 0 !important;
    box-sizing: border-box;
}

body.ff-foto-idee-category-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem 1.25rem;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.ff-foto-idee-category-page ul.products::before,
body.ff-foto-idee-category-page ul.products::after {
    display: none !important;
}

body.ff-foto-idee-category-page ul.products li.product {
    display: flex !important;
    flex-direction: column;
    float: none !important;
    clear: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--ff-border-soft);
    border-radius: 20px;
    background: var(--ff-bg-main);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    transition: transform 0.4s var(--ff-motion-soft), box-shadow 0.4s var(--ff-motion-soft), border-color 0.35s ease;
}

body.ff-foto-idee-category-page ul.products li.product:hover,
body.ff-foto-idee-category-page ul.products li.product:focus-within {
    transform: translateY(-4px);
    border: 2.5px solid var(--ff-kodak-yellow);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.11);
}

body.ff-foto-idee-category-page ul.products li.product > a.woocommerce-loop-product__link {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 100%;
    padding: 0.85rem 0.85rem 1rem;
    color: inherit;
    text-decoration: none !important;
    box-sizing: border-box;
}

body.ff-foto-idee-category-page ul.products li.product .ff-product-image-wrap,
body.ff-foto-idee-category-page ul.products li.product > a > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 0 0 0.85rem;
    border-radius: 14px;
    object-fit: cover;
    overflow: hidden;
    background: var(--ff-bg-soft);
}

body.ff-foto-idee-category-page ul.products li.product .ff-product-image-wrap img {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: inherit;
    object-fit: cover;
}

body.ff-foto-idee-category-page .woocommerce-loop-product__title {
    min-height: calc(1.35em * 2);
    margin: 0 0 0.5rem !important;
    padding: 0 !important;
    overflow: hidden;
    color: #000 !important;
    font-family: "Inter", sans-serif !important;
    font-size: clamp(0.92rem, 2.6vw, 1.05rem) !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.01em;
    text-align: left !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

body.ff-foto-idee-category-page ul.products li.product .ff-product-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 0.35rem;
}

body.ff-foto-idee-category-page ul.products li.product .price,
body.ff-foto-idee-category-page ul.products li.product .price .amount,
body.ff-foto-idee-category-page ul.products li.product .price .amount bdi {
    margin: 0 !important;
    color: var(--ff-kodak-red) !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

body.ff-foto-idee-category-page ul.products li.product .ff-product-explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    background: var(--ff-kodak-yellow);
    color: #fff !important;
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
}

body.ff-foto-idee-category-page ul.products li.product:hover .ff-product-explore-btn,
body.ff-foto-idee-category-page ul.products li.product:focus-within .ff-product-explore-btn {
    background: var(--ff-kodak-red);
}

@media (max-width: 980px) {
    body.ff-foto-idee-category-page ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    body.ff-foto-idee-category-page #main-content ul.products {
        width: min(calc(100% - 2rem), 1120px) !important;
        margin-top: 2.25rem !important;
        margin-bottom: 3.5rem !important;
    }

    body.ff-foto-idee-category-page ul.products {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
 * SPEDIZIONE E QUANTITÀ — carrello senza tariffa, checkout dinamico
 * ================================================================ */
body.ff-cart-page--has-items .cart_totals tr.woocommerce-shipping-totals,
body.ff-cart-page--has-items .cart_totals tr.shipping,
body.ff-cart-page--has-items .ff-cart-shipping-notice,
body.ff-cart-page--has-items .ff-cart-threshold-shipping-row {
    display: none !important;
}

/* Mantiene stabile il pill quantità anche per i pacchetti 12/24/36/72. */
body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-quantity .quantity.ff-cart-qty {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 104px !important;
    min-width: 104px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 4px !important;
    border: 1px solid var(--ff-border-soft) !important;
    border-radius: 999px !important;
    background: var(--ff-bg-main) !important;
    box-sizing: border-box !important;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-quantity .quantity.ff-cart-qty .qty {
    flex: 0 0 34px !important;
    width: 34px !important;
    min-width: 0 !important;
    height: 34px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: center !important;
}

/* Mobile: mantiene quantità, cestino e prezzo sulla stessa riga senza tagli. */
@media (max-width: 980px) {
    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-qty-stack {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) max-content;
        align-items: center;
        width: 100%;
        gap: 0.5rem;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-row-controls {
        grid-column: 1;
        justify-self: start;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .ff-cart-row-subtotal {
        grid-column: 2;
        justify-self: end;
        margin: 0;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-quantity .quantity.ff-cart-qty {
        width: clamp(5.5rem, 26vw, 5.8rem) !important;
        min-width: clamp(5.5rem, 26vw, 5.8rem) !important;
        height: clamp(1.65rem, 7vw, 1.85rem) !important;
        min-height: clamp(1.65rem, 7vw, 1.85rem) !important;
        padding: 0 0.2rem !important;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-quantity .quantity.ff-cart-qty .qty {
        flex: 0 0 clamp(1.55rem, 7vw, 1.75rem) !important;
        width: clamp(1.55rem, 7vw, 1.75rem) !important;
        height: clamp(1.65rem, 7vw, 1.85rem) !important;
    }

    body.ff-cart-page--has-items .woocommerce-cart-form__contents .product-quantity .ff-cart-qty__btn {
        width: clamp(1.5rem, 6.5vw, 1.65rem) !important;
        height: clamp(1.65rem, 7vw, 1.85rem) !important;
    }
}

body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tbody tr.ff-checkout-shipping-progress-row td {
    padding: 0 0 0.15rem !important;
    border: 0 !important;
    background: transparent !important;
}

body.ff-checkout-page .ff-checkout-shipping-notice {
    position: relative;
    width: 100%;
    border: 1px solid var(--ff-border-soft);
    border-radius: 13px;
    background: var(--ff-bg-soft);
    box-shadow: var(--ff-shadow-soft);
    overflow: hidden;
    box-sizing: border-box;
}

body.ff-checkout-page .ff-checkout-shipping-notice__bar {
    display: block;
    width: 100%;
    height: 4px;
    background: rgba(250, 182, 23, 0.18);
    overflow: hidden;
}

body.ff-checkout-page .ff-checkout-shipping-notice__fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--ff-kodak-yellow);
    transition: width 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

body.ff-checkout-page .ff-checkout-shipping-notice__text {
    margin: 0 !important;
    padding: 0.85rem 1rem !important;
    color: var(--ff-text-main) !important;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

body.ff-checkout-page .ff-checkout-shipping-notice.is-complete .ff-checkout-shipping-notice__text {
    color: var(--ff-kodak-red) !important;
}

body.ff-checkout-page .ff-shipping-confetti-screen {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    width: 100vw;
    height: 100dvh;
    overflow: hidden;
    pointer-events: none;
}

body.ff-checkout-page .ff-shipping-confetti-screen span {
    position: absolute;
    left: var(--ff-confetti-left);
    top: 88%;
    width: 7px;
    height: 11px;
    border-radius: 2px;
    background: var(--ff-confetti-color);
    opacity: 0;
}

body.ff-checkout-page .ff-shipping-confetti-screen.is-active span {
    animation: ff-shipping-confetti 1.5s cubic-bezier(0.2, 0.7, 0.25, 1) var(--ff-confetti-delay) both;
}

body.ff-checkout-page .ff-checkout-order-card .product-name .ff-checkout-qty {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 96px;
    min-width: 96px;
    height: 34px;
    margin-top: 0.55rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: var(--ff-bg-main);
    color: var(--ff-text-main) !important;
    -webkit-text-fill-color: var(--ff-text-main) !important;
    vertical-align: middle;
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-item-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.5rem;
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-item-actions .ff-checkout-qty {
    margin-top: 0;
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-remove {
    display: inline-grid;
    width: 2.15rem;
    height: 2.15rem;
    flex: 0 0 2.15rem;
    padding: 0;
    place-items: center;
    border: 1px solid var(--ff-border-soft);
    border-radius: 9px;
    background: #ffffff;
    color: var(--ff-kodak-red);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-remove svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-remove:hover,
body.ff-checkout-page .ff-checkout-order-card .ff-checkout-remove:focus-visible {
    border-color: var(--ff-kodak-red);
    background: #fff3f3;
    transform: translateY(-1px);
}

body.ff-checkout-page .ff-checkout-order-card.processing .ff-checkout-remove {
    pointer-events: none;
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-qty__button,
body.ff-checkout-page .ff-checkout-order-card .ff-checkout-qty__value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ff-text-main) !important;
    -webkit-text-fill-color: var(--ff-text-main) !important;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1;
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-qty__button {
    cursor: pointer;
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-qty[data-loading="1"] {
    opacity: 0.55;
    pointer-events: none;
}

@media (max-width: 767px) {
    body.ff-checkout-page .ff-checkout-shipping-notice__text {
        padding: 0.75rem 0.7rem !important;
        font-size: 0.78rem;
    }
}

/* Checkout — la tabella Woo non può ampliare la card oltre al suo contenitore. */
body.ff-checkout-page #order_review,
body.ff-checkout-page #order_review > .ff-checkout-order-card,
body.ff-checkout-page .ff-checkout-order-card {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
}

body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tbody tr.cart_item td.product-name {
    width: calc(100% - 6.25rem) !important;
    min-width: 0 !important;
    max-width: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tbody tr.cart_item td.product-total,
body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tfoot tr td {
    width: 6.25rem !important;
    min-width: 6.25rem !important;
    max-width: 6.25rem !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tfoot tr th {
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

body.ff-checkout-page .ff-checkout-shipping-notice,
body.ff-checkout-page .ff-checkout-shipping-notice__text {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    box-sizing: border-box !important;
}

/* Riga prodotto checkout: miniatura quadrata + titolo centrato sul suo asse. */
body.ff-checkout-page .ff-checkout-order-card .ff-checkout-product-info {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    min-width: 0;
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-product-thumb {
    display: block;
    width: 3.25rem;
    height: 3.25rem;
    flex: 0 0 3.25rem;
    overflow: hidden;
    border-radius: 9px;
    background: var(--ff-bg-soft);
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-product-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.ff-cart-page--has-items .woocommerce-cart-form__contents img.ff-nfc-cart-preview,
body.ff-checkout-page .ff-checkout-order-card .ff-checkout-product-thumb img.ff-nfc-cart-preview {
    object-fit: contain;
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-product-info .ff-checkout-product-title {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: none;
}

body.ff-checkout-page .ff-checkout-order-card .ff-checkout-product-title__mobile {
    display: none;
}

/* Checkout — contenitori coerenti: i campi restano leggibili come il blocco Paga con. */
body.ff-checkout-page .woocommerce-billing-fields__field-wrapper,
body.ff-checkout-page .woocommerce-shipping-fields__field-wrapper,
body.ff-checkout-page .ff-checkout-delivery-section__body {
    box-sizing: border-box;
    padding: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055);
}

/* Il Paese resta fissato a IT in un input tecnico: nessun selettore visibile. */
body.ff-checkout-page .ff-checkout-country-hidden {
    display: none !important;
}

/* Modulo carta: nessun margine superfluo attorno al Payment Element. */
body.ff-checkout-page #payment .payment_method_stripe .payment_box {
    margin-top: 0.25rem !important;
    padding: 0.55rem !important;
}

body.ff-checkout-page #payment .payment_method_stripe #wc-stripe-upe-form,
body.ff-checkout-page #payment .payment_method_stripe .wc-stripe-upe-element {
    margin: 0 !important;
}

@media (max-width: 767px) {
    /* Il messaggio e' volutamente monoriga anche sui 320 px. */
    body.ff-checkout-page .ff-checkout-shipping-notice__text {
        padding: 0.75rem 0.4rem !important;
        font-size: clamp(0.64rem, 3.2vw, 0.72rem) !important;
        letter-spacing: -0.035em;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: clip !important;
    }

    /* Titolo completo: ellissi solo quando termina lo spazio disponibile. */
    body.ff-checkout-page .ff-checkout-order-card .ff-checkout-product-info {
        gap: 0.4rem;
    }

    body.ff-checkout-page .ff-checkout-order-card .ff-checkout-product-thumb {
        width: 2.35rem;
        height: 2.35rem;
        flex-basis: 2.35rem;
    }

    body.ff-checkout-page .ff-checkout-order-card .ff-checkout-product-info .ff-checkout-product-title {
        overflow: hidden !important;
        font-size: 0.68rem !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    body.ff-checkout-page .ff-checkout-order-card .ff-checkout-product-title__desktop {
        display: none !important;
    }

    body.ff-checkout-page .ff-checkout-order-card .ff-checkout-product-title__mobile {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        color: var(--ff-kodak-red);
        font-size: inherit;
        font-weight: 750;
        line-height: inherit;
        white-space: nowrap;
    }

    /* La riga azioni deve avere sempre spazio: niente cestino reciso. */
    body.ff-checkout-page .ff-checkout-order-card .product-name .ff-checkout-qty {
        width: 88px;
        min-width: 88px;
    }

    body.ff-checkout-page .ff-checkout-order-card .ff-checkout-item-actions {
        gap: 0.4rem;
    }

    body.ff-checkout-page .ff-checkout-order-card .ff-checkout-remove {
        width: 2rem;
        height: 2rem;
        flex-basis: 2rem;
    }

    body.ff-checkout-page .ff-checkout-order-card .woocommerce-checkout-review-order-table tbody tr.cart_item td.product-name {
        overflow: visible !important;
    }

    body.ff-checkout-page .woocommerce-billing-fields__field-wrapper,
    body.ff-checkout-page .woocommerce-shipping-fields__field-wrapper,
    body.ff-checkout-page .ff-checkout-delivery-section__body {
        padding: 0.8rem;
        border-radius: 14px;
    }
}
/* ================================================================
 * REVISIONE UX — testo editoriale e consenso cookie mobile
 * ================================================================ */
.ff-why-text-more {
    display: block;
}

.ff-why-text-toggle {
    display: none;
}

@media (max-width: 767px) {
    .ff-why-text-more {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.38s ease, opacity 0.25s ease;
    }

    .ff-why-text--expanded .ff-why-text-more {
        max-height: 70rem;
        opacity: 1;
    }

    .ff-why-text-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        margin-top: 0.15rem;
        padding: 0.65rem 1rem;
        border: 1px solid rgba(189, 0, 7, 0.24);
        border-radius: 999px;
        background: #ffffff;
        color: var(--ff-kodak-red);
        font-family: "Inter", sans-serif;
        font-size: 0.9rem;
        font-weight: 700;
        line-height: 1;
        cursor: pointer;
    }

    .ff-why-text-toggle:focus-visible {
        outline: 3px solid rgba(250, 182, 23, 0.65);
        outline-offset: 3px;
    }

    body #moove_gdpr_cookie_info_bar {
        right: 0.65rem !important;
        bottom: 0.65rem !important;
        left: 0.65rem !important;
        width: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        border-radius: 18px !important;
        box-shadow: 0 14px 36px rgba(15, 23, 42, 0.2) !important;
    }

    body #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container {
        width: 100% !important;
        padding: 0.75rem 0.85rem !important;
    }

    body #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-content {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0.6rem !important;
        padding: 0 !important;
    }

    body #moove_gdpr_cookie_info_bar .moove-gdpr-cookie-notice {
        padding: 0 !important;
    }

    body #moove_gdpr_cookie_info_bar .moove-gdpr-cookie-notice p,
    body #moove_gdpr_cookie_info_bar .moove-gdpr-cookie-notice span {
        margin: 0 !important;
        font-size: 0.78rem !important;
        line-height: 1.35 !important;
    }

    body #moove_gdpr_cookie_info_bar .moove-gdpr-button-holder {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 0.4rem !important;
        padding: 0 !important;
    }

    body #moove_gdpr_cookie_info_bar .moove-gdpr-button-holder button,
    body #moove_gdpr_cookie_info_bar .moove-gdpr-button-holder .mgbutton {
        width: auto !important;
        min-width: 0 !important;
        min-height: 36px !important;
        margin: 0 !important;
        padding: 0.52rem 0.8rem !important;
        border-radius: 999px !important;
        font-size: 0.76rem !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }
}
