/* 
Theme Name: S99 Child
Theme URI: https://studio99.sm
Description: S99 Child is a child theme of S99, created by Studio99 team
Author: Studio99 Team
Author URI: https://studio99.sm
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* =========================
   CUSTOM HEADER ANIMATED
========================= */


/* Stato "scrolled" - altezza ridotta */
/*.s99-header.s99-header--scrolled { height: 120px !important; min-height: 132px !important; }*/

.s99-header-mobile { backdrop-filter: blur(20px) saturate(180%) !important; -webkit-backdrop-filter: blur(20px) saturate(180%) !important; }


/* ===================
BORDER MENU SHOP HEADER
=====================*/

#e-n-menu-title-26710 .e-n-menu-title-container { border: 1px solid #fff !important; padding: 4px 8px; }


/* ===================
CUSTOM FILTER BEROCKET
=====================*/

select, textarea { border: 1px solid #000; border-radius: 0px; width: 100%; background-color: white; }

.bapf_slct select { font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: 16px; letter-spacing: 2px; }

.bapf_sfilter.bapf_button_berocket .bapf_button { font-family: 'DM Sans', sans-serif !important; font-weight: 400 !important; font-size: 16px !important; letter-spacing: 2px !important; padding: 8px 30px; border-radius: 0px; line-height: 28px; display: inline-block; color: #fff; text-transform: uppercase; text-align: center; text-decoration: none; background-color: #000 !important; }


/* ===== Selettore quantità WooCommerce (sfondo bianco, testo nero) ===== */

/* contenitore principale */
.woocommerce .quantity.has-qty-btns,
.quantity.has-qty-btns{
    display: inline-flex !important;
    align-items: stretch;
    width: 132px;
    max-width: 100%;
    height: 46px;
    margin: 0;
    border: 1px solid #d9d9d9;
    border-radius: 0px;
    background: #ffffff !important;
    color: #000000 !important;
    overflow: hidden;
    transition: border-color .25s ease;
    box-sizing: border-box;
    color-scheme: light; /* impedisce al browser di applicare il tema scuro */
}

/* bordo nero in hover e quando il campo è attivo */
.quantity.has-qty-btns:hover,
.quantity.has-qty-btns:focus-within{
    border-color: #000000;
}

/* pulsanti + e − */
.quantity.has-qty-btns .qty-btn{
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000;
    font-size: 22px;
    line-height: 1;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent; /* toglie l'evidenziazione al tocco su mobile */
    touch-action: manipulation;               /* evita lo zoom col doppio tap */
    transition: background .2s ease;
}

/* hover / tocco sui pulsanti: grigio chiaro, testo sempre nero */
.quantity.has-qty-btns .qty-btn:hover,
.quantity.has-qty-btns .qty-btn:active,
.quantity.has-qty-btns .qty-btn:focus{
    background: #f0f0f0 !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000;
    outline: none;
}

/* campo numerico */
.quantity.has-qty-btns input.qty{
    flex: 1 1 auto;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    outline: none !important;
    text-align: center;
    font-size: 16px !important;  /* 16px evita lo zoom automatico su iOS */
    font-weight: 500;
    color: #000000 !important;
    -webkit-text-fill-color: #000000; /* iOS/Safari: forza il nero */
    opacity: 1;
    -moz-appearance: textfield;
    appearance: textfield;
}

/* rimuove le freccette native del browser */
.quantity.has-qty-btns input.qty::-webkit-inner-spin-button,
.quantity.has-qty-btns input.qty::-webkit-outer-spin-button{
    -webkit-appearance: none;
    margin: 0;
}

/* ===== Mobile ===== */
@media (max-width: 767px){

    .quantity.has-qty-btns{
        width: 120px;
        height: 44px;
    }

    /* pagina prodotto: quantità e pulsante sulla stessa riga senza overflow */
    .woocommerce div.product form.cart{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }

    .woocommerce div.product form.cart .single_add_to_cart_button{
        flex: 1 1 auto;
        margin: 0 !important;
    }

    /* carrello: evita che il selettore si schiacci dentro la tabella */
    .woocommerce-cart-form .quantity.has-qty-btns{
        margin-left: auto;
    }
}

/* ===== Allineamento verticale (versione robusta) ===== */

/* il contenitore centra tutto in verticale */
html body .quantity.has-qty-btns{
    display: inline-flex !important;
    align-items: center !important;
    height: 46px !important;
    padding: 0 !important;
}

/* campo numerico: niente altezza fissa, niente padding/margini che spingono il numero */
html body .quantity.has-qty-btns input.qty,
html body .quantity.has-qty-btns input.input-text.qty,
html body .elementor-widget-woocommerce-cart .woocommerce .quantity.has-qty-btns input.qty{
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    line-height: normal !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    align-self: center !important;
    display: block !important;
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    vertical-align: middle !important;
}

/* pulsanti + e −: stesso centraggio */
html body .quantity.has-qty-btns .qty-btn{
    height: 100% !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    align-self: stretch !important;
}

@media (max-width: 767px){
    html body .quantity.has-qty-btns{
        height: 44px !important;
    }
}


/* ===================
   BEFORE AFTER
=====================*/

img-comparison-slider { outline: none !important; width: 100% !important; }

img-comparison-slider:focus { outline: none !important; }

img-comparison-slider:focus-visible { outline: none !important; }

img-comparison-slider { border-radius: 50px !important; }

img-comparison-slider { --divider-width: 4px; }


/* ========================================================
   CHANGE ELEMENTOR LOOP GRID TO 3 COLUMNS ON 1280PX SCREENS
=========================================================== */

@media (min-width: 1024px) and (max-width: 1280px) {
    .elementor-element-c92e995 .elementor-loop-container { grid-template-columns: repeat(3, 1fr) !important; }
}


/* ==================
   SLIDER PRIMA DOPO
====================== */

/* Contenitore principale: definisce l'altezza dello slider. Modifica il valore di --s99-ba-height (o sovrascrivilo con un CSS responsive) */
.s99-ba { --s99-ba-height: 700px; --s99-ba-line-color: #fff; --s99-ba-handle-size: 48px; position: relative; width: 100%; height: var(--s99-ba-height); border-radius: 0px; overflow: hidden; user-select: none; touch-action: pan-y; cursor: ew-resize; }

.s99-ba__after, .s99-ba__before { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Il layer "prima" viene ritagliato via clip-path in base alla posizione dello slider (posizione iniziale: 50%) */
.s99-ba__before { clip-path: inset(0 50% 0 0); }

.s99-ba__after img, .s99-ba__before img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }

/* Linea verticale di separazione (--s99-ba-split viene aggiornata via JS durante il trascinamento) */
.s99-ba { --s99-ba-split: 50%; }

.s99-ba::before { content: ""; position: absolute; top: 0; left: var(--s99-ba-split); width: 2px; height: 100%; background: var(--s99-ba-line-color); transform: translateX(-50%); pointer-events: none; z-index: 2; }

/* Maniglia con freccia (pointer-events: none perché il drag è gestito dal contenitore) */
.s99-ba__handle { position: absolute; top: 50%; left: 50%; width: var(--s99-ba-handle-size); height: var(--s99-ba-handle-size); background: var(--s99-ba-line-color); border-radius: 0px; display: flex; align-items: center; justify-content: center; transform: translate(-50%, -50%); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); z-index: 3; pointer-events: none; }

.s99-ba__arrow { font-size: 16px; line-height: 1; color: #111; }

/* Mobile */
@media (max-width: 767px) {
    .s99-ba { --s99-ba-height: 450px; }
}


/* ==============================================================
Nascondere la lente d’ingrandimento nella galleria del prodotto
=================================================================*/

.woocommerce div.product div.images .woocommerce-product-gallery__trigger { display: none !important; }


/* ===================
Offcanvas shop custom
=====================*/

/* === Contenitore generale dell'off-canvas === */
.elementor-menu-cart__main, .elementor-menu-cart__main * { font-family: 'DM Sans', sans-serif !important; }

.elementor-menu-cart__main { background: #ffffff; padding: 24px 20px; box-sizing: border-box; }

/* === Pulsante chiudi (X) === */
.elementor-menu-cart__close-button-custom { display: flex; justify-content: flex-end; margin-bottom: 20px; cursor: pointer; }

.elementor-menu-cart__close-button-custom svg path { fill: #1d1d1b; transition: opacity 0.2s ease; }

.elementor-menu-cart__close-button-custom:hover svg { opacity: 0.6; }

/* === Lista prodotti === */
.elementor-menu-cart__products { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }

.elementor-menu-cart__product { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid #f0f0f0; position: relative; }

.elementor-menu-cart__product:last-child { border-bottom: none; padding-bottom: 0; }

/* Immagine del prodotto */
.elementor-menu-cart__product-image img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; display: block; }

/* Nome del prodotto */
.elementor-menu-cart__product-name { grid-column: 2; grid-row: 1; }

.elementor-menu-cart__product-name a { font-size: 15px; font-weight: 600; color: #1d1d1b; text-decoration: none; line-height: 1.3; }

/* Prezzo / quantità */
.elementor-menu-cart__product-price { grid-column: 2; grid-row: 2; margin-top: 4px; }

.elementor-menu-cart__product-price .quantity { font-size: 13px; color: #8a8a8a; font-weight: 400; }

.elementor-menu-cart__product-price .woocommerce-Price-amount { color: #1d1d1b; font-weight: 500; }

/* === Pulsante rimuovi prodotto === */
.elementor-menu-cart__product-remove { grid-column: 3; grid-row: 1 / span 2; justify-self: end; position: relative; z-index: 20; }

/* Pulsante Elementor: quello realmente visibile e cliccabile */
.elementor-menu-cart__product-remove a.elementor_remove_from_cart_button { width: 22px; height: 22px; border: 1px solid #d9d9d9; border-radius: 50%; display: flex !important; align-items: center; justify-content: center; position: relative; z-index: 30; text-decoration: none; color: transparent; cursor: pointer; pointer-events: auto !important; transition: border-color 0.2s ease, background 0.2s ease; }

/* X */
.elementor-menu-cart__product-remove a.elementor_remove_from_cart_button::before { content: "\00d7"; color: #8a8a8a; font-size: 14px; line-height: 1; font-weight: 400; pointer-events: none; }

/* Hover */
.elementor-menu-cart__product-remove a.elementor_remove_from_cart_button:hover { border-color: #1d1d1b; background: #1d1d1b; }

.elementor-menu-cart__product-remove a.elementor_remove_from_cart_button:hover::before { color: #ffffff; }

/* ELIMINA COMPLETAMENTE IL SECONDO LINK */
.elementor-menu-cart__product-remove a.remove_from_cart_button { display: none !important; }

/* Nascondiamo il secondo link duplicato di "remove" generato da WooCommerce */
.elementor-menu-cart__product-remove a.remove_from_cart_button { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* === Subtotale === */
.elementor-menu-cart__subtotal { display: flex; align-items: center; justify-content: space-between; border: 1px solid #1d1d1b; border-radius: 0px; padding: 14px 18px; margin-bottom: 20px; }

.elementor-menu-cart__subtotal strong { font-size: 14px; font-weight: 500; color: #1d1d1b; }

.elementor-menu-cart__subtotal .woocommerce-Price-amount { font-size: 16px; font-weight: 700; color: #1d1d1b; }

/* === Pulsanti inferiori === */
.elementor-menu-cart__footer-buttons { display: flex; flex-direction: column; gap: 10px; }

/* Nascondiamo il pulsante Pagamento */
.elementor-menu-cart__footer-buttons .elementor-button--checkout { display: none !important; }

/* Pulsante "Visualizza carrello" stile scuro a larghezza piena */
.elementor-menu-cart__footer-buttons .elementor-button--view-cart { background: #1d1d1b; color: #ffffff; border: none; border-radius: 0px; padding: 16px 20px; text-align: center; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; font-weight: 600; transition: opacity 0.2s ease; }

.elementor-menu-cart__footer-buttons .elementor-button--view-cart:hover { opacity: 0.85; color: #ffffff; }

.elementor-menu-cart__footer-buttons .elementor-button--view-cart .elementor-button-text { color: inherit; }


/* =========================================
   S99 - ANIMAZIONE GLOBALE
   Movimento leggero, elegante e performante
   ========================================= */

.s99-animate { opacity: 1; transform: none; }

/* Attiviamo lo stato iniziale solo sul frontend dopo che JavaScript ha preparato la pagina */
html.s99-motion-ready .s99-animate { opacity: 0; transform: translate3d(0, 22px, 0) scale(0.985); transition: opacity 1000ms cubic-bezier(0.22, 1, 0.36, 1), transform 1000ms cubic-bezier(0.22, 1, 0.36, 1); }

/* Stato finale dell'animazione */
html.s99-motion-ready .s99-animate.s99-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }

/* Evitiamo movimenti troppo visibili sui dispositivi piccoli */
@media (max-width: 767px) {
    html.s99-motion-ready .s99-animate { transform: translate3d(0, 14px, 0) scale(0.99); transition-duration: 650ms; }
}

/* Rispettiamo la preferenza dell'utente per ridurre il movimento */
@media (prefers-reduced-motion: reduce) {
    html.s99-motion-ready .s99-animate, html.s99-motion-ready .s99-animate.s99-visible { opacity: 1; transform: none; transition: none; }
}

/* Protezione aggiuntiva per l'editor Elementor */
body.elementor-editor-active .s99-animate, body.elementor-editor-preview .s99-animate { opacity: 1 !important; transform: none !important; transition: none !important; }


/* =========================================
   PALLINI CUSTOM SLIDER
   ========================================= */

/* PAGINAZIONE */
.swiper-pagination { display: flex; align-items: center; justify-content: center; }

/* TUTTI I PALLINI */
.swiper-pagination-bullet { width: 7px !important; height: 7px !important; min-width: 7px; min-height: 7px; background: #3f3b35 !important; opacity: 1 !important; border-radius: 50%; margin: 0 8px !important; position: relative; flex: 0 0 7px; }

/* ATTIVO: rimane della stessa dimensione degli altri */
.swiper-pagination-bullet-active { width: 7px !important; height: 7px !important; transform: none !important; }

/* CERCHIO ESTERNO */
.swiper-pagination-bullet-active::before { content: ""; position: absolute; width: 20px; height: 20px; background: #a6a39d; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: -1; }

/* PALLINO INTERNO */
.swiper-pagination-bullet-active::after { content: ""; position: absolute; width: 6px; height: 6px; background: #3f3b35; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }



/* ===================
   EFFETTO SPECCHIO AL PASSAGGIO DEL MOUSE
   Solo riflesso luminoso + zoom
   =================== */

.s99-mirror-hover {
    --s99-ease: cubic-bezier(.22, .61, .36, 1);

    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 0;
}

/* Rimuove i sei punti luminosi */
.s99-mirror-hover::before {
    content: none;
}

/* Effetto di luce che scorre sull'immagine */
.s99-mirror-hover::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 45%;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, .16) 50%,
        transparent 100%
    );
    transform: translate3d(-130%, 0, 0);
    transition:
        transform 1.3s var(--s99-ease),
        opacity .5s ease;
    will-change: transform, opacity;
}

/* Zoom delicato dell'immagine */
.s99-mirror-hover img {
    display: block;
    max-width: 100%;
    transition: transform 1.2s var(--s99-ease);
}

@media (hover: hover) {
    .s99-mirror-hover:hover::after {
        opacity: 1;
        transform: translate3d(320%, 0, 0);
    }

    .s99-mirror-hover:hover img {
        transform: scale(1.025);
    }
}

/* Accessibilità: riduce le animazioni */
@media (prefers-reduced-motion: reduce) {
    .s99-mirror-hover::after,
    .s99-mirror-hover img {
        transition: none;
        transform: none !important;
    }
}


/* ===============================
   NASCONDI FRECCE SLIDER MOBILE
   =============================== */

@media (max-width: 767px) {
    .elementor-swiper-button-prev, .elementor-swiper-button-next { display: none !important; }
}


```css
/* =========================================================
   WOOCOMMERCE - MESSAGGI "IL MIO ACCOUNT"
   DM SANS / BIANCO + NERO / SENZA BORDI ARROTONDATI
   ========================================================= */

/* Tipografia */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');


/* Contenitore generale */
.woocommerce-MyAccount-content {
    font-family: 'DM Sans', sans-serif;
    color: #000;
}


/* =========================================================
   AVVISI
   ========================================================= */

.woocommerce-MyAccount-content .woocommerce-info {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;

    width: 100%;
    margin: 0 0 16px;
    padding: 24px 0;

    background: #fff;
    color: #000;

    border: 0;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;

    border-radius: 0;

    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
}


/* Rimuove l'icona predefinita di WooCommerce */
.woocommerce-MyAccount-content .woocommerce-info::before {
    display: none;
}


/* =========================================================
   TESTO DELL'AVVISO
   ========================================================= */

.woocommerce-MyAccount-content .woocommerce-info {
    font-weight: 400;
}


/* =========================================================
   PULSANTI
   ========================================================= */

.woocommerce-MyAccount-content .woocommerce-info .button,
.woocommerce-MyAccount-content .woocommerce-info a.button,
.woocommerce-MyAccount-content .woocommerce-info .woocommerce-Button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 16px 0 0;
    padding: 11px 18px;

    background: #000 !important;
    color: #fff !important;

    border: 1px solid #000 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


/* Effetto al passaggio del mouse */
.woocommerce-MyAccount-content .woocommerce-info .button:hover,
.woocommerce-MyAccount-content .woocommerce-info a.button:hover,
.woocommerce-MyAccount-content .woocommerce-info .woocommerce-Button:hover {
    background: #fff !important;
    color: #000 !important;

    border-color: #000 !important;
}


/* =========================================================
   SECONDO AVVISO - "NESSUN ORDINE"
   ========================================================= */

.woocommerce-MyAccount-content .woocommerce-info + .woocommerce-info {
    margin-top: 32px;
}


/* =========================================================
   LINK NORMALI ALL'INTERNO DEGLI AVVISI
   ========================================================= */

.woocommerce-MyAccount-content .woocommerce-info a:not(.button) {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* =========================================================
   DISPOSITIVI MOBILI
   ========================================================= */

@media (max-width: 767px) {

    .woocommerce-MyAccount-content .woocommerce-info {
        padding: 20px 0;
        font-size: 14px;
    }

    .woocommerce-MyAccount-content .woocommerce-info .button,
    .woocommerce-MyAccount-content .woocommerce-info a.button,
    .woocommerce-MyAccount-content .woocommerce-info .woocommerce-Button {
        width: 100%;
        margin-top: 14px;
    }
}

/* ===================
   CUPON STYLE CUSTOM
   ================== */

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    letter-spacing: normal;
    padding: .5em;
    display: block;
    background-color: var(--wc-form-color-background, #fff);
    border: var(--wc-form-border-width) solid var(--wc-form-border-color);
    border-radius: 0px;
    color: var(--wc-form-color-text, #000);
    box-sizing: border-box;
    width: 100%;
    margin: 0px;
    line-height: normal;
    height: 100%;
}


/* ========================= WOOCOMMERCE DISCLAIMER CUSTOM ========================= */ 
#toast-container > div { background-color: #000 !important; opacity: 1; box-shadow: none !important; font-family: "DM Sans", sans-serif; } .woocommerce-message { background-color: #000000; color: #ffffff; border-top: 1px solid #000; font-family: "DM Sans", sans-serif; } .woocommerce-message::before { content: "\e015"; color: #000; } .woocommerce-message { border-top-color: #000; }

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    font-family: "DM Sans", sans-serif;
    font-size: 100%;
    font-weight: 700;
    line-height: 1;
    padding: .618em 1em;
    border-radius: 0;
    color: #fff;
    background-color: #000;
    border: 1px solid #fff;
    box-shadow: none;
    text-shadow: none;
}
.woocommerce-info {border-top-color: #000000 !important;}

.woocommerce-info::before {color: #000000 !important;}

.wlfmc-list .decrease .variation-rate {color: #000000 !important;}

/* ========================= BLOCK HORIZONTAL SCROLL ========================= */ 
html, body {overflow-x: hidden !important;}

/* ========================= OFFSET SCROLL ========================= */ 

html { scroll-padding-top: 100px;}

/* ========================= HIDEN OUT STOCK ========================= */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .out-of-stock {display: none;}



/* ==========================================
   SELETTORE TIPO CLIENTE - WOOCOMMERCE
   Stile a due schede: Privato / Azienda
   ========================================== */


/* CONTENITORE PRINCIPALE */
#billing_s99_tipo_cliente_field {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 22px;
}


/* TITOLO "TIPO CLIENTE" */
#billing_s99_tipo_cliente_field > label {
    display: block;
    width: 100%;
    margin-bottom: 12px;

    color: #222;
}


/* CONTENITORE DELLE DUE OPZIONI */
#billing_s99_tipo_cliente_field .woocommerce-input-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}


/* NASCONDE I RADIO BUTTON ORIGINALI */
#billing_s99_tipo_cliente_field input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}


/* STILE DELLE SCHEDE PRIVATO E AZIENDA */
#billing_s99_tipo_cliente_field label.radio {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 12px;
    margin: 0;
    border: 1px solid #dedede;
    border-radius: 10px;
    background: #fff;
    color: #444;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    border-radius: 0px;
}


/* NASCONDE L'ASTERISCO OBBLIGATORIO
   PRESENTE NELLE ETICHETTE INTERNE */
#billing_s99_tipo_cliente_field label.radio .required {
    display: none;
}


/* EFFETTO AL PASSAGGIO DEL MOUSE */
#billing_s99_tipo_cliente_field label.radio:hover {
    border-color: #999;
    background: #f8f8f8;
}


/* STILE DELLA SCHEDA SELEZIONATA */
#billing_s99_tipo_cliente_field input[type="radio"]:checked + label.radio {
    border: 2px solid #222;
    background: #f5f5f5;
    color: #111;
    font-weight: 600;
    border-radius: 0px;
}


/* EVIDENZIAZIONE PER LA NAVIGAZIONE DA TASTIERA */
#billing_s99_tipo_cliente_field input[type="radio"]:focus-visible + label.radio {
    outline: 2px solid #777;
    outline-offset: 3px;
    border-radius: 0px;
}


/* ADATTAMENTO PER DISPOSITIVI MOBILI */
@media (max-width: 480px) {

    /* Riduce lo spazio tra le due schede */
    #billing_s99_tipo_cliente_field .woocommerce-input-wrapper {
        gap: 8px;
    }

    /* Riduce le dimensioni interne delle schede */
    #billing_s99_tipo_cliente_field label.radio {
        padding: 13px 8px;
        font-size: 13px;
    }
}


/* ==========================================
   FIX BUTTOM FILTER SEARCH 
   ========================================== */

@media (max-width: 767px) {

    .elementor-element-7d01d3b {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .elementor-element-7d01d3b .elementor-widget-container,
    .elementor-element-7d01d3b .s99sf,
    .elementor-element-7d01d3b .s99sf__campo {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .elementor-element-7d01d3b .s99sf__input {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

}