/* ===================================================================
   ANTONA - REGOLE CSS AGGIUNTIVE (versione unificata)
   Sostituisce TUTTO il contenuto attuale del campo.
   La riga @import DEVE restare la prima regola del campo.
   =================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Open+Sans:wght@400;600;700&display=swap');


/* ===================================================================
   1. IMPOSTAZIONI GENERALI - font e colori di tutto il sito
      Si cambiano QUI e valgono ovunque (anche nei blocchi HTML)
   =================================================================== */
:root{
  --antona-font-titoli: 'Montserrat', 'Open Sans', sans-serif;  /* titoli, prezzi, banner */
  --antona-font-testo:  'Open Sans', Helvetica, sans-serif;     /* tutto il resto */
  --antona-rosso:       #e30613;   /* rosso del logo: pulsanti, etichette */
  --antona-rosso-scuro: #b8050f;   /* rosso al passaggio del mouse */
  --antona-verde:       #00c853;   /* voce di menu evidenziata (webArea_13) */
  --antona-verde-scuro: #059842;
  --antona-nero:        #1d1d1f;   /* testo principale */
  --antona-grigio:      #6b6b70;   /* testo secondario */
}

/* --- Testo: un solo font ovunque (anche campi e pulsanti, che usavano Arial) --- */
body,
input, select, textarea, button{
  font-family: var(--antona-font-testo);
}

/* --- Titoli principali (categoria, scheda prodotto, pagine di contenuti) ---
   :where() tiene "leggera" la regola: i blocchi HTML possono
   sempre personalizzare i propri titoli senza conflitti */
:where(h1, .boxTitle, #staticPage h2, #staticPage h3){
  font-family: var(--antona-font-titoli);
  font-weight: 700;
  letter-spacing: 0;
}

/* --- Prezzi: stesso font dei titoli --- */
.mainPrice{
  font-family: var(--antona-font-titoli);
  font-weight: 700;
}

/* --- Nomi prodotto negli elenchi e nei caroselli: Open Sans, più leggibile --- */
.resultBox h2.title,
.carousel_item h2.title{
  font-family: var(--antona-font-testo);
  font-weight: 600;
}

/* --- Classe di comodo per i blocchi HTML: class="font-titoli" --- */
.font-titoli{ font-family: var(--antona-font-titoli); }


/* ===================================================================
   2. PAGINA, LOGO, MENU
   =================================================================== */

/* Sfondo pagina */
body {
  background: #FFF;
}

/* Logo sito desktop
   >>> max-width = larghezza del logo (prima era 300px) */
#header_responsive #logo {
  padding: 5px !important;
  max-width: 200px;
  height: auto;
}
/* Logo sito mobile */
@media only screen and (max-width: 480px) {
  #header_responsive #logo {
    max-width: 150px !important;
  }
}

/* Voce di menu evidenziata in verde (webArea_13) */
li#webArea_13 {
  background-color: var(--antona-verde);
  border-radius: 30px;
}
li#webArea_13 a {
  color: #ffffff !important;
}
li#webArea_13 a:hover {
  background-color: var(--antona-verde-scuro);
  border-radius: 30px;
}

/* Nasconde navbar */
#navBar {
  display: none;
}


/* ===================================================================
   3. RICERCA E AREA UTENTE
   =================================================================== */

/* --- Barra di ricerca, Accedi e carrello ---
   Solo da tablet in su (768px): su telefono resta la lente originale */
@media (min-width: 768px) {

/* Barra di ricerca: bordo scuro spesso, a pillola */
#header_responsive .top_buttons li.box_search input.txt_search {
  max-width: 100%;
  height: 44px;                              /* altezza barra */
  border: 2px solid var(--antona-nero);      /* >>> spessore e colore del contorno */
  border-radius: 999px;                      /* forma a pillola */
  padding: 0 64px 0 20px;                    /* spazio testo a sinistra / pulsante a destra */
  font-size: 15px;
  color: var(--antona-nero);
  background: #fff;
  outline: none;
}
/* contorno rosso quando si scrive */
#header_responsive .top_buttons li.box_search input.txt_search:focus {
  border-color: var(--antona-rosso);
}
/* testo segnaposto "Cerca" */
#header_responsive .top_buttons li.box_search input.txt_search::placeholder {
  color: #8a8a8f;
  font-style: normal;
}
/* pulsante lente rosso, stessa altezza della barra */
#header_responsive .top_buttons li.box_search input.btn_search.main_butt {
  height: 44px;
  width: 60px;
  padding: 0;
  border-radius: 0 999px 999px 0;
  box-sizing: border-box;
  border: 2px solid var(--antona-nero);      /* il contorno continua attorno al pulsante */
  border-left: 0;
  background-color: var(--antona-rosso);
  background-position: center;
  cursor: pointer;
}
/* quando si scrive, anche il contorno del pulsante diventa rosso */
#header_responsive .top_buttons li.box_search #top_search:focus-within input.btn_search.main_butt {
  border-color: var(--antona-rosso);
}
#header_responsive .top_buttons li.box_search input.btn_search.main_butt:hover {
  background-color: var(--antona-rosso-scuro);
}

/* --- "Accedi / Registrati" e carrello: grassetto, 14px --- */
#header_responsive .top_buttons li.btn_login > a,
#header_responsive .top_buttons li.btn_cart > a {
  font-family: var(--antona-font-testo);
  font-size: 14px;
  font-weight: 700;
  color: var(--antona-nero);
}
#header_responsive .top_buttons li.btn_login > a span,
#header_responsive .top_buttons li.btn_cart > a span {
  font-weight: 700;
}
#header_responsive .top_buttons li.btn_login > a:hover,
#header_responsive .top_buttons li.btn_cart > a:hover {
  color: var(--antona-rosso);
}

} /* fine @media min-width 768px */

/* === LOGGATO: box area personale stretto === */
#top_login:has(#userBoxTop) {
  width: 260px !important;
  max-width: 260px !important;
  min-width: 0 !important;
  right: 0 !important;
  left: auto !important;
  box-sizing: border-box !important;
  padding: 10px !important;
}
#top_login:has(#userBoxTop) #userBox_Title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === NON LOGGATO: box login largo === */
#top_login:has(#loginAndRegisterTop) {
  width: 360px !important;
  max-width: 360px !important;
  min-width: 0 !important;
  right: 0 !important;
  left: auto !important;
  box-sizing: border-box !important;
  padding: 12px !important;
}
#top_login:has(#loginAndRegisterTop) * {
  max-width: none !important;
  white-space: normal !important;
}

/* ===================================================================
   BOX DI ACCESSO (popup "Accedi / Registrati" in testata)
   Layout a una colonna: prima l'accesso, sotto la registrazione.
   =================================================================== */

/* --- Contenitore del popup --- */
#top_login:has(#loginAndRegisterTop) {
  width: 340px !important;
  max-width: 340px !important;
  padding: 24px !important;
  border: 1px solid #ececee !important;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,.14);
}

/* --- Da due colonne a una colonna --- */
#loginAndRegisterTop,
#loginAndRegisterTop .existent_user_box,
#loginAndRegisterTop .new_user_box {
  display: block;
  width: 100%;
  text-align: left;
}

/* --- Titoli: niente riquadro grigio, font titoli --- */
#loginAndRegisterTop .boxTitle {
  background: none;
  padding: 0;
  margin: 0 0 14px 0;
  text-align: left;
  font-family: var(--antona-font-titoli);
  font-size: 19px;
  font-weight: 700;
  color: var(--antona-nero);
}

/* --- Testi descrittivi lunghi: nascosti (>>> togli queste righe per mostrarli) --- */
#loginAndRegisterTop .existent_user_box > p,
#loginAndRegisterTop .new_user_box > p {
  display: none;
}

/* --- Etichette e campi E-mail / Password --- */
#loginAndRegisterTop fieldset {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: left;
}
#loginAndRegisterTop fieldset label {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0 0 12px 0;
  text-align: left;
}
#loginAndRegisterTop fieldset label strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--antona-grigio);
  margin-bottom: 5px;
}
#loginAndRegisterTop fieldset input[type="text"],
#loginAndRegisterTop fieldset input[type="password"] {
  width: 100% !important;
  height: 44px;
  box-sizing: border-box;
  padding: 0 14px;
  border: 2px solid #d6d6da;
  border-radius: 10px;
  font-size: 15px;
  color: var(--antona-nero);
  outline: none;
}
#loginAndRegisterTop fieldset input[type="text"]:focus,
#loginAndRegisterTop fieldset input[type="password"]:focus {
  border-color: var(--antona-nero);
}

/* --- Casella "Ricorda" (se presente): casella e testo sulla stessa riga --- */
#loginAndRegisterTop label:has(input[type="checkbox"]) {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px 0;
  font-size: 13px;
  color: var(--antona-grigio);
}

/* --- Pulsanti: pillola a tutta larghezza --- */
#loginAndRegisterTop input.butt1 {
  display: block;
  width: 100%;
  height: 46px;
  margin: 6px 0 0 0;
  border-radius: 999px;
  font-family: var(--antona-font-testo);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
/* Accedi: rosso pieno */
#loginAndRegisterTop .existent_user_box input.butt1 {
  background-color: var(--antona-rosso) !important;
  border: 2px solid var(--antona-rosso) !important;
  color: #fff;
}
#loginAndRegisterTop .existent_user_box input.butt1:hover {
  background-color: var(--antona-rosso-scuro) !important;
  border-color: var(--antona-rosso-scuro) !important;
}
/* Registrati: bianco con contorno scuro */
#loginAndRegisterTop .new_user_box input.butt1 {
  background-color: #fff !important;
  border: 2px solid var(--antona-nero) !important;
  color: var(--antona-nero);
}
#loginAndRegisterTop .new_user_box input.butt1:hover {
  background-color: var(--antona-nero) !important;
  color: #fff;
}

/* --- "Hai perso la password?" --- */
#loginAndRegisterTop .existent_user_box form > a {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--antona-grigio);
  text-decoration: underline;
}
#loginAndRegisterTop .existent_user_box form > a:hover {
  color: var(--antona-rosso);
}

/* --- Separatore tra accesso e registrazione --- */
#loginAndRegisterTop .new_user_box {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #ececee;
}
#loginAndRegisterTop .new_user_box .boxTitle {
  font-size: 16px;
  margin-bottom: 10px;
}

/* === Box area utente === */
#homeRegUsers .panel ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
  gap: 5px;
  justify-items: start;
  align-items: start;
  width: fit-content;
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}


/* ===================================================================
   4. PULSANTI - tutti con il rosso del logo (variabile --antona-rosso)
   =================================================================== */

/* Pulsante pieno rosso (usato nei contenuti) */
a.pulsanteAntona {
  color: #fff !important;
  background-color: var(--antona-rosso);
  box-shadow: none;
  border-radius: 25px;
  border: 2px solid var(--antona-rosso) !important;
  padding: 5px 15px !important;
}

/* Pulsante bordato (contorno rosso, sfondo trasparente) */
a.pulsanteAntonaInv {
  display: block;
  width: auto;
  color: var(--antona-rosso);
  text-align: left;
  padding: 10px 15px;
  font-family: var(--antona-font-testo);
  font-size: 15px;
  font-weight: normal;
  line-height: 1.5em;
  border: 2px solid var(--antona-rosso);
  border-radius: 25px;
  text-decoration: none;
  cursor: pointer;
  transition-duration: 0.5s;
}

/* Pulsanti principali */
.butt1 {
  text-align: center;
  border: 1px solid var(--antona-rosso) !important;
}

/* Pulsanti rossi generici */
#colDx input.butt1,
#colMid input.butt1,
#colSx input.butt1,
#footer_custom_els_container input.butt1,
#head input.butt1,
#homeRegUsers .butt1,
#homeRegUsers .panel a,
.fancybox-inner .butt1 {
  background-color: var(--antona-rosso) !important;
  border: 1px solid var(--antona-rosso) !important;
}

/* Pulsanti popup e cross selling */
.btn_wrapp .close,
.btn_wrapp .ko,
.btn_wrapp .ok,
.cross_selling.lightbox .cross_selling_cart .butt1 {
  background-color: var(--antona-rosso);
  font-weight: 700;
  border: 1px solid var(--antona-rosso);
}

/* Pulsanti agenti (grigi) */
#preRegistrationPage th a,
#user_agente .agente_contacts_button,
#user_agente .agente_orders_button,
a.agente_create_anag {
  text-align: center;
  background-color: #5f5f5f !important;
  border: 1px solid #5f5f5f !important;
}

/* Nasconde pulsante stampa */
a.buttServPrint {
  display: none;
}


/* ===================================================================
   5. SCHEDA PRODOTTO - immagini e colonna destra
   =================================================================== */

/* Desktop */
@media screen and (min-width: 1025px) {
  /* Proporzioni delle colonne: modifica solo questi valori */
  #sheetBoxTopDetails {
    --larghezza-foto: 55%;   /* colonna foto (es. 50% = metà e metà) */
    --spazio-colonne: 30px;  /* spazio tra foto e informazioni */
    --max-foto: 460px;       /* dimensione massima dell'immagine principale */
  }

  #sheetBoxTopDetails .imagesBox {
    width: var(--larghezza-foto) !important;
    max-width: 100% !important;
    margin: 0 var(--spazio-colonne) 20px 0 !important;
  }

  /* Immagine principale: limitata e centrata nella colonna */
  #sheetBoxTopDetails .imagesBox img.image {
    width: 100% !important;
    max-width: var(--max-foto) !important;
    height: auto !important;
    margin: 0 auto;
    border-radius: 6px;
  }

  #sheetBoxTopDetails .thumbsList img.thumb {
    width: 90px !important;
    height: auto !important;
    margin: 5px;
    border-radius: 4px;
    transition: transform 0.2s ease;
  }
  #sheetBoxTopDetails .thumbsList img.thumb:hover {
    transform: scale(1.05);
  }

  /* La colonna informazioni parte subito dopo le foto */
  #sheetBoxTopDetails .detailsBox,
  #sheetBoxTopDetails .servicesBox,
  #sheetBoxTopDetails #addVotoBox {
    margin-left: calc(var(--larghezza-foto) + var(--spazio-colonne)) !important;
  }
}

/* Mobile e tablet */
@media screen and (max-width: 1024px) {
  #sheetBoxTopDetails .detailsBox,
  #sheetBoxTopDetails .servicesBox,
  #sheetBoxTopDetails #addVotoBox {
    margin-left: 0 !important;
  }
}


/* ===================================================================
   6. ELENCO CATEGORIE
   =================================================================== */

/* Rimuove contorni nell'elenco delle categorie */
ul.onlyLinks.noDesc li,
ul.onlyLinks.noDesc li * {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}


/* ===================================================================
   7. FOOTER (piè di pagina) - scuro e moderno
      Il contenuto (colonne, link, indirizzi) resta quello di Ready Pro:
      qui cambia solo l'aspetto. Vale per tutte le pagine.
      Computer: 3 colonne. Tablet: 2. Smartphone: a fisarmonica (+ / -).
   =================================================================== */

/* --- PANNELLO IMPOSTAZIONI --- */
#footer_custom_els_container,
#bottomElements {
  --footer-sfondo: var(--antona-nero);  /* >>> MODIFICA: colore di sfondo delle colonne      */
  --footer-fondo: #1d1d1f;              /* >>> MODIFICA: colore della fascia finale (©). Uguale alle colonne = un unico nero */
  --footer-testo: #c9c9cf;              /* >>> MODIFICA: colore dei testi e dei link         */
  --footer-accento: var(--antona-rosso);/* >>> MODIFICA: lineetta sotto i titoli             */
}

#foot { display: none; }   /* vecchio footer di Ready Pro: nascosto */

/* --- Fascia con le colonne --- */
div#footer_custom_els_container {
  background: var(--footer-sfondo) !important;
  color: var(--footer-testo);
  min-width: 0;
  border: 0;
  margin-top: 40px;
}
#footer_custom_els_container #footer_custom_els {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;                          /* una colonna per ogni blocco (3, 4, 5...) */
  grid-auto-columns: max-content;                  /* colonne larghe quanto il loro testo... */
  justify-content: center;                        /* ...e raggruppate al centro della pagina */
  column-gap: clamp(60px, 9vw, 160px);            /* >>> MODIFICA: spazio tra le colonne */
  row-gap: 28px;
  max-width: 1200px;
  min-width: 0;
  margin: 0 auto;
  padding: 16px 20px 4px;                         /* >>> MODIFICA: spazio sopra / sotto le colonne */
  box-sizing: border-box;
}
#footer_custom_els .footer_block {
  display: block;
  width: auto;
  padding: 0;
  border: 0;
  color: var(--footer-testo);
  font-family: var(--antona-font-testo);
  font-size: 14px;
  line-height: 1.5;
}

/* --- Titoli delle colonne --- */
#footer_custom_els .footer_block_title {
  display: inline-block;
  font-family: var(--antona-font-titoli);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--footer-accento);
  background-image: none;
}
#footer_custom_els .footer_block_title i { display: none; }

/* --- Link --- */
#footer_custom_els .footer_block a {
  color: var(--footer-testo) !important;
  background-image: none;
  padding: 2px 0;
  text-decoration: none;
  transition: color .2s, padding-left .2s;
}
#footer_custom_els .footer_block a:hover { color: #fff !important; padding-left: 4px; }
#footer_custom_els .footer_block a i.fa { display: none; }

/* --- Testi (indirizzi, telefono) --- */
#footer_custom_els .footer_block_text p { margin: 0 0 6px; }
#footer_custom_els .footer_block_text > p:last-of-type { margin-bottom: 0; }   /* niente spazio dopo l'ultima riga */
#footer_custom_els .footer_block_text > br { display: none; }   /* toglie le righe vuote tra indirizzi e telefono */
#footer_custom_els .footer_block_text div[style*="margin-bottom"] { margin-bottom: 4px !important; }  /* social più vicini */
#footer_custom_els .footer_block_text strong { color: #fff; }
#footer_custom_els .footer_block_text a[href^="tel"] { color: #fff !important; font-weight: 700; }

/* --- Colonna pagamenti (blocco con footer-colonna-pagamenti.html) --- */
.apay {
  display: grid;
  grid-template-columns: repeat(2, 67px);   /* 2 loghi per riga (stessa larghezza dell'immagine) */
  gap: 6px;
  margin-top: 2px;
}
/* Le immagini 2026*.png sono già una "card" bianca con un bordino grigio:
   clip-path taglia via il bordino e lascia solo la card bianca arrotondata */
.apay img {
  width: 67px; height: 45px;               /* >>> MODIFICA: grandezza dei loghi (tieni il rapporto 3:2) */
  object-fit: fill;
  padding: 0;
  background: none;
  clip-path: inset(4.5% 3% round 8px);     /* toglie il contorno grigio disegnato nel file */
  display: block;
}
#footer_custom_els .apay-nota { font-size: 12.5px; margin: 10px 0 0; color: var(--footer-testo); }
#footer_custom_els .apay-nota b { color: #fff; }

/* --- Colonna social (blocco COMMUNITY con footer-colonna-social.html) ---
       Stesse card bianche della colonna pagamenti, con l'icona al centro */
.asoc {
  display: grid;
  grid-template-columns: repeat(2, 67px);   /* uguale a .apay */
  gap: 6px;
  margin-top: 2px;
}
#footer_custom_els .asoc a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 63px; height: 41px;               /* >>> MODIFICA: = parte visibile delle card pagamenti (67x45 meno il bordino tagliato) */
  margin: 2px;                             /* centra la card nella cella da 67x45 */
  padding: 0 !important;
  background: #fff;
  border-radius: 8px;
  transition: transform .2s, box-shadow .2s;
}
#footer_custom_els .asoc a:hover {
  padding: 0 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,.35);
}
.asoc img { width: 24px; height: 24px; margin: 0 !important; display: block; }   /* >>> MODIFICA: grandezza icona */
#footer_custom_els .asoc-nota { font-size: 12.5px; margin: 10px 0 0; color: var(--footer-testo); }

/* --- Fascia finale: loghi pagamento e © --- */
div#bottomElements {
  background: var(--footer-fondo) !important;
  color: #8e8e95;
  font-size: 12.5px;
  line-height: 1.6;
  padding: 6px 20px 4px;                          /* >>> MODIFICA: spazio sopra la riga del (c) */
}
#bottomElements + img { display: block; height: 0; overflow: hidden; }   /* toglie una riga bianca */
#bottomElements #footCustomText { max-width: 1200px; margin: 0 auto; padding: 0; }
#bottomElements #footCustomText p { margin: 0; }
#bottomElements #footCustomText img {
  background: #fff;            /* i loghi stanno su una "pillola" bianca */
  border-radius: 10px;
  padding: 4px 12px;
  max-width: 100%;
  max-height: 44px;            /* >>> MODIFICA: altezza della fascia loghi */
  width: auto;
  margin: 4px 0 6px !important;
  height: auto;
  box-sizing: border-box;
}

/* --- "Preferenze cookie" e logo Ready Pro: stessa fascia scura --- */
body > .cookie-controls,
body > .cookie-controls + div { background: #1d1d1f; margin: 0; }          /* >>> stesso colore di --footer-fondo */
body > .cookie-controls { text-align: center; padding: 0 0 6px; }
body > .cookie-controls a.cookiePreference { color: #8e8e95; font-size: 12.5px; }
body > .cookie-controls a.cookiePreference:hover { color: #fff; }
body > .cookie-controls + div { padding-bottom: 16px !important; height: auto !important; }
body { padding-bottom: 0 !important; }   /* niente striscia bianca in fondo alla pagina */
html { background: #1d1d1f; }            /* >>> stesso colore di --footer-fondo */

/* --- TABLET (fino a 800px): 2 colonne --- */
@media (max-width: 800px) {
  #footer_custom_els_container #footer_custom_els { grid-template-columns: 1fr 1fr; grid-auto-flow: row; gap: 24px; padding: 28px 20px 22px; }
  #footer_custom_els .footer_block:first-child { grid-column: 1 / -1; }
}

/* --- SMARTPHONE (fino a 480px): a fisarmonica, si apre col + --- */
@media (max-width: 480px) {
  div#footer_custom_els_container { margin-top: 30px; }
  #footer_custom_els_container #footer_custom_els { grid-template-columns: 1fr; gap: 0; padding: 10px 18px 18px; }
  #footer_custom_els .footer_block { border-bottom: 1px solid rgba(255,255,255,.12); padding: 4px 0; }
  #footer_custom_els .footer_block:first-child { grid-column: auto; }
  #footer_custom_els .footer_block_title {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 0; margin: 0; padding: 14px 0;
    background-image: none !important;
  }
  #footer_custom_els .footer_block_title::after {
    content: "+"; font-size: 22px; font-weight: 400; line-height: 1; color: #fff;
  }
  #footer_custom_els .footer_block_title.open::after { content: "\2212"; }   /* segno meno */
  #footer_custom_els .footer_block_content.show { padding-bottom: 12px; }
  div#bottomElements { padding: 12px 16px 6px; }
  body > .cookie-controls + div { padding-bottom: 70px !important; }  /* spazio per il pulsante WhatsApp */
}

/* ===================================================================
   8. SCHEDE PRODOTTO NEI CAROSELLI (elementi "Inserzioni")
      Valgono per tutti i caroselli prodotti del sito.
      Lo scorrimento automatico lo aggiunge il blocco HTML
      "CAROSELLI PRODOTTI AUTOMATICI" in fondo alla pagina.
   =================================================================== */

/* --- PANNELLO IMPOSTAZIONI SCHEDE --- */
.carousel {
  --scheda-bordo:   #ececee;   /* >>> colore del contorno della scheda */
  --scheda-raggio:  14px;      /* >>> arrotondamento angoli */
  --scheda-spazio:  8px;       /* >>> metà dello spazio tra una scheda e l'altra */
  --scheda-prezzo:  var(--antona-rosso);  /* >>> colore del prezzo */
  --scheda-btn:     var(--antona-nero);   /* >>> colore pulsante Aggiungi */
}

/* --- Il carosello imposta altezze fisse: le liberiamo, così tutte le
       schede di una riga hanno la stessa altezza --- */
.carousel .carousel_wp { height: auto !important; padding: 4px 0 10px; }
.carousel .carousel_wp > ul { display: flex; align-items: stretch; }
.carousel .carousel_wp > ul > li.carousel_item {
  flex: none;
  height: auto !important;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  padding: 0 calc(var(--scheda-spazio) + 1px) !important;
  text-align: left;
}

/* --- Cornice bianca della scheda (disegnata dietro ai contenuti) --- */
.carousel_item::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: var(--scheda-spazio); right: var(--scheda-spazio);
  z-index: -1;
  background: #fff;
  border: 1px solid var(--scheda-bordo);
  border-radius: var(--scheda-raggio);
  transition: box-shadow .25s ease, transform .25s ease;
}
.carousel_item:hover::before {
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
}

/* --- Foto: riquadro quadrato, prodotto intero e centrato, linea sotto --- */
.carousel_item a.imageLink {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 16px;
  margin: 0 1px;
  border-bottom: 1px solid var(--scheda-bordo);
  box-sizing: border-box;
  overflow: hidden;
}
.carousel_item a.imageLink img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .35s ease;
}
.carousel_item:hover a.imageLink img { transform: scale(1.05); }

/* --- Nome prodotto: a sinistra, massimo 2 righe --- */
.carousel_wp > ul > li.carousel_item h2.title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 2.6em;
  overflow: hidden;
  margin: 14px 0 6px 0 !important;
  padding: 0 16px !important;
  font-family: var(--antona-font-testo);
  font-size: 15px !important;
  font-weight: 600;
  line-height: 1.3em;
  text-align: left;
}
.carousel_item h2.title a { color: var(--antona-nero) !important; }
.carousel_item h2.title a:hover { color: var(--antona-rosso) !important; }

/* --- Prezzo e pulsante: in fondo alla scheda --- */
.carousel_item .details {
  margin-top: auto;
  padding: 0 16px 16px;
  box-sizing: border-box;
  text-align: left;
}
.carousel_item .mainPrice {
  display: flex;
  align-items: baseline;
  gap: 4px;
  justify-content: flex-start !important;
  margin: 4px 0 12px;
  font-family: var(--antona-font-titoli);
  font-size: 22px;
  font-weight: 800;
  color: var(--scheda-prezzo) !important;
}
.carousel_item .mainPrice span { color: inherit !important; }

/* Prezzo pieno barrato (se il prodotto è scontato) */
.carousel_item .grossPrice {
  justify-content: flex-start !important;
  font-size: 13px;
  color: var(--antona-grigio);
  text-decoration: line-through;
}

/* --- Pulsante "Aggiungi" (si attiva nell'elemento Inserzioni:
       opzione Pulsante ACQUISTA) --- */
.carousel_item form.cart_form,
.carousel_item form.cart_form_disabled {
  display: flex !important;
  width: 100%;
  margin: 0;
}
.carousel_item .cart_form_quantity { display: none !important; }   /* nasconde la quantità */
/* :is(#colMid,...) serve a vincere la regola rossa generica dei pulsanti (sezione 4) */
.carousel_item form input.butt1,
:is(#colMid, #colSx, #colDx) .carousel_item form input.butt1 {
  display: block;
  flex: 1 1 auto;
  width: 100% !important;
  padding: 0 !important;
  height: 44px;
  margin: 0;
  border: 0 !important;
  border-radius: 10px;
  background: var(--scheda-btn) !important;
  color: #fff !important;
  font-family: var(--antona-font-testo);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease;
}
.carousel_item form input.butt1:hover,
:is(#colMid, #colSx, #colDx) .carousel_item form input.butt1:hover { background: var(--antona-rosso) !important; }
.carousel_item form.cart_form_disabled input.butt1 { opacity: .45; cursor: not-allowed; }

/* --- Frecce laterali: tonde, discrete --- */
.carousel .carousel_nav.left:after,
.carousel .carousel_nav.right:after {
  width: 26px;
  height: 37px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  opacity: .9;
}

/* --- Telefono: una scheda alla volta, foto meno alta --- */
@media (max-width: 600px) {
  .carousel_item a.imageLink { aspect-ratio: 4 / 3; padding: 12px; }
  .carousel_wp > ul > li.carousel_item h2.title { font-size: 15px !important; }
}


/* ===================================================================
   9. CAROSELLI PRODOTTI AUTOMATICI (scorrimento, frecce, puntini)
      Si attiva solo dove c'è lo script "Caroselli prodotti automatici"
      (Contenuti > Script). Senza lo script queste regole non fanno nulla.
   =================================================================== */
/* --- PANNELLO IMPOSTAZIONI CAROSELLI --- */
.carousel.apc {
  --apc-min: 200px;    /* >>> COMPUTER: larghezza minima di una scheda.
                               200px = 5 schede su schermo largo.
                               Più alta = meno schede per riga */
}
@media (max-width: 600px) {
  .carousel.apc {
    --apc-min: 150px;  /* >>> SMARTPHONE: 150px = 2 schede affiancate.
                               Metti 300px per averne 1 sola */
  }
}
/* Velocità: APC_PAUSA nello script (Contenuti > Script), in millisecondi */

/* --- STILE CAROSELLI: di norma non va modificato
       (vale solo dopo che lo script ha aggiunto la classe "apc") --- */

/* --- Binario che scorre --- */
.carousel.apc { position: relative; }
.carousel.apc .carousel_wp {
  width: 100% !important;
  height: auto !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel.apc .carousel_wp::-webkit-scrollbar { display: none; }
.carousel.apc .carousel_wp > ul {
  width: 100% !important;
  left: 0 !important;
  display: flex;
}

/* --- Larghezza di ogni scheda: --apc-n la calcola lo script --- */
.carousel.apc .carousel_wp > ul > li.carousel_item {
  flex: 0 0 calc(100% / var(--apc-n, 4)) !important;
  width: calc(100% / var(--apc-n, 4)) !important;
  scroll-snap-align: start;
}

/* --- Foto sempre quadrata, prodotto intero --- */
.carousel.apc .carousel_item a.imageLink { aspect-ratio: 1 / 1; }

/* --- Frecce originali nascoste: usiamo le nostre --- */
.carousel.apc .carousel_nav { display: none !important; }
.apc-btn {
  position: absolute;
  top: 45%;
  z-index: 5;
  width: 38px; height: 38px;
  padding: 0;
  border: 1px solid #ececee;
  border-radius: 50%;
  background: #fff;
  color: var(--antona-nero);
  font-size: 20px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,.12);
  transition: background .2s, color .2s;
}
.apc-btn:hover { background: var(--antona-nero); color: #fff; }
.apc-prev { left: -4px; }
.apc-next { right: -4px; }

/* --- Puntini sotto il carosello --- */
.apc-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 6px 0 4px;
}
.apc-dots button {
  width: 7px; height: 7px;
  padding: 0; border: 0;
  border-radius: 999px;
  background: #cfcfd4;
  cursor: pointer;
  transition: width .25s, background .25s;
}
.apc-dots button.on { width: 20px; background: var(--antona-rosso); }
.carousel.apc.apc-fermo .apc-dots,
.carousel.apc.apc-fermo .apc-btn { display: none; }   /* tutto visibile: niente frecce né puntini */

/* --- SMARTPHONE: schede più compatte, niente frecce (si scorre col dito) --- */
@media (max-width: 600px) {
  .carousel.apc { padding: 0 !important; }
  .carousel.apc .boxTitle,
  .carousel.apc .bottomLink { margin-left: 0 !important; margin-right: 0 !important; }
  .apc-btn { display: none; }
  .carousel.apc .carousel_wp > ul > li.carousel_item { padding: 0 4px !important; }
  .carousel.apc .carousel_item::before { left: 4px; right: 4px; border-radius: 12px; }
  .carousel.apc .carousel_item a.imageLink { padding: 10px; }
  .carousel.apc .carousel_wp > ul > li.carousel_item h2.title {
    font-size: 13px !important; padding: 0 10px !important; margin: 10px 0 4px !important;
  }
  .carousel.apc .carousel_item .details { padding: 0 10px 10px; }
  .carousel.apc .carousel_item .mainPrice { font-size: 17px; margin: 2px 0 8px; }
  :is(#colMid, #colSx, #colDx) .carousel.apc .carousel_item form input.butt1 { height: 38px; font-size: 14px; border-radius: 9px; }
}


/* ===================================================================
   10. BANNER CATEGORIA + PRODOTTI AFFIANCATI (blocchi "acat")
       Computer: banner a sinistra, prodotti a destra.
       Tablet e smartphone: banner sopra, prodotti sotto.
   =================================================================== */

/* --- PANNELLO IMPOSTAZIONI --- */
.acat {
  --acat-banner: 1fr;      /* >>> larghezza del banner ...            */
  --acat-prodotti: 2fr;    /* >>> ... rispetto ai prodotti (1 a 2)     */
  --acat-altezza: 380px;   /* >>> altezza minima del banner su computer */
}

/* --- Griglia: banner + prodotti --- */
.acat {
  display: grid;
  grid-template-columns: minmax(260px, var(--acat-banner)) var(--acat-prodotti);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto 30px;
  align-items: stretch;
}
.acat:has(.acat-prodotti:empty) { grid-template-columns: 1fr; }  /* nessun carosello: solo banner */
.acat-prodotti:empty { display: none; }
.acat-prodotti { min-width: 0; display: flex; flex-direction: column; justify-content: center; }

/* --- Variante "acat-inverti": prodotti a sinistra, banner a destra --- */
.acat.acat-inverti { grid-template-columns: var(--acat-prodotti) minmax(260px, var(--acat-banner)); }
.acat.acat-inverti .acat-banner { order: 2; }

/* --- Banner: foto a tutta altezza, sfumatura scura in basso --- */
.acat-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: var(--acat-altezza);
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  color: #fff !important;
  text-decoration: none !important;
}
.acat-banner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  z-index: -2;
  transition: transform .5s ease;
}
.acat-banner:hover img { transform: scale(1.04); }
.acat-banner::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.40) 45%, rgba(0,0,0,.05) 80%);
}

/* --- Testi del banner --- */
.acat-txt { padding: 26px; text-align: left; }
.acat-eyebrow {
  display: inline-block;
  background: var(--antona-rosso); color: #fff;
  font-family: var(--antona-font-testo);
  font-size: 11px; font-weight: 700; line-height: 1;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 6px; margin-bottom: 12px;
}
.acat-banner .acat-title {
  font-family: var(--antona-font-titoli);
  font-size: 28px; font-weight: 800; line-height: 1.1;
  color: #fff; margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.acat-sub {
  font-family: var(--antona-font-testo);
  font-size: 15px; line-height: 1.45;
  color: #fff; opacity: .95;
  margin: 8px 0 18px;
}
.acat-btn {
  display: inline-block;
  font-family: var(--antona-font-testo);
  font-size: 15px; font-weight: 700; line-height: 1;
  padding: 13px 20px; border-radius: 999px;
  background: #fff; color: var(--antona-nero);
  transition: background .2s, color .2s;
}
.acat-banner:hover .acat-btn { background: var(--antona-rosso); color: #fff; }

/* --- Carosello dentro il blocco: niente titolo doppio, niente margini --- */
.acat-prodotti .carousel { margin: 0 !important; }
.acat-prodotti .carousel .boxTitle,
.acat-prodotti .carousel .bottomLink { display: none !important; }

/* --- TABLET (fino a 900px): banner sopra, prodotti sotto --- */
@media (max-width: 900px) {
  .acat, .acat.acat-inverti { grid-template-columns: 1fr; }
  .acat.acat-inverti .acat-banner { order: 0; }   /* anche invertito: banner sopra */
  .acat-banner { min-height: 220px; align-items: center; }
  .acat-banner::before {
    background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,0) 85%);
  }
}

/* --- SMARTPHONE (fino a 600px) --- */
@media (max-width: 600px) {
  .acat { padding: 0 10px; gap: 10px; margin-bottom: 24px; }
  .acat-banner { min-height: 170px; }
  .acat-txt { padding: 18px; }
  .acat-banner .acat-title { font-size: 22px; }
  .acat-sub { display: none; }
  .acat-btn { font-size: 13px; padding: 9px 14px; margin-top: 12px; }
}


/* ===================================================================
   11. LARGHEZZA DEL SITO (pagina più "piena" sugli schermi grandi)
       Ready Pro di serie tiene il sito in una colonna di 1220px.
       Qui la allarghiamo: su schermi grandi il contenuto si estende,
       su schermi più piccoli di questa misura NON cambia nulla
       (smartphone e tablet restano identici).
   =================================================================== */

/* --- PANNELLO IMPOSTAZIONI --- */
:root {
  --antona-larghezza: 1520px;   /* >>> MODIFICA: larghezza massima del sito.
                                       1220px = com'era prima
                                       1520px = come Deghi
                                       100%   = tutto lo schermo, senza limite */
}

/* Colonna principale di Ready Pro (vale per tutte le pagine) */
#mainTableContainer {
  max-width: var(--antona-larghezza) !important;
  width: 100% !important;
}

/* I nostri blocchi della home e il footer seguono la stessa larghezza */
#colMid .ahero,
#colMid .atrust,
#colMid .acat,
#colMid .antona-negozi-box,
#footer_custom_els_container #footer_custom_els,
#bottomElements #footCustomText {
  max-width: var(--antona-larghezza) !important;
}

/* Intestazione: logo e carrello allineati ai bordi del contenuto,
   la barra di ricerca si allarga per occupare lo spazio in mezzo.
   (- 20px = i margini interni della colonna centrale) */
#header_responsive #top_buttons_wrapper .top_buttons,
#menu > ul {
  max-width: calc(var(--antona-larghezza) - 20px) !important;
}

/* Menu (Home, Catalogo, ...) allineato a sinistra, sotto il logo.
   Solo computer: su smartphone il menu è a tendina e non cambia. */
@media (min-width: 801px) {
  #menu > ul { text-align: left !important; }        /* >>> MODIFICA: center = centrato, right = a destra */
  #menu > ul > li:first-child { margin-left: -10px; } /* "Home" parte esattamente sotto il logo */
}


/* ===================================================================
   12. BARRA SUPERIORE (sopra logo e ricerca, in tutte le pagine)
       Il testo si scrive in Ready Pro (vedi barra-superiore.html).
       Computer: messaggio a sinistra, assistenza a destra,
       allineati a logo e carrello. Smartphone: solo il messaggio, centrato.
   =================================================================== */

/* --- PANNELLO IMPOSTAZIONI --- */
#header_top_bar_wrapper {
  --atop-sfondo: var(--antona-nero);   /* >>> MODIFICA: colore di sfondo della barra */
  --atop-testo: #fff;                  /* >>> MODIFICA: colore del testo             */
  --atop-evidenza: #ffd23f;            /* >>> MODIFICA: colore delle parole in <b>   */
}

/* Fascia scura a tutta larghezza */
#header_responsive #header_top_bar_wrapper {
  background: var(--atop-sfondo) !important;
  border: 0;
  padding: 0;
}
/* Contenuto largo come il sito (sezione 11), così si allinea a logo e carrello */
#header_responsive #header_top_bar_wrapper .header_top_bar {
  display: block;
  max-width: calc(var(--antona-larghezza, 1220px) - 20px);
  min-width: 0;
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
}
#header_responsive #header_top_bar_wrapper #top_text {
  display: block;
  width: 100%;
  color: var(--atop-testo);
}

/* Riga con i due testi */
#top_text div.atop {
  display: flex !important;     /* Ready Pro su smartphone nasconderebbe il testo: lo teniamo visibile */
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 7px 0;
  font-family: var(--antona-font-testo);
  font-size: 13px;
  line-height: 1.4;
  color: var(--atop-testo);
}
.atop b { color: var(--atop-evidenza); }
/* Tutti i link della barra (a sinistra e a destra) bianchi, gialli al passaggio */
.atop a, .atop a:link, .atop a:visited { color: var(--atop-testo) !important; text-decoration: none; }
.atop a:hover { color: var(--atop-evidenza) !important; }
.atop a.atop-dx { white-space: nowrap; }

/* --- SMARTPHONE E TABLET: solo il messaggio, centrato --- */
@media (max-width: 800px) {
  #top_text div.atop { justify-content: center; text-align: center; padding: 6px 12px; font-size: 12px; }
  .atop a.atop-dx { display: none; }
}


/* ===================================================================
   13. SCHEDA PRODOTTO - MINIATURE SOTTO LA FOTO
       Di serie Ready Pro le distribuisce su tutta la larghezza (molto
       distanziate). Qui diventano una fila compatta e centrata; se sono
       tante vanno a capo su una seconda riga (niente frecce).
       Cliccandole la foto grande cambia come prima.
   =================================================================== */

/* --- PANNELLO IMPOSTAZIONI --- */
.imagesBox .thumbsList {
  --mini-lato: 84px;        /* >>> MODIFICA: grandezza miniature su computer   */
  --mini-lato-m: 64px;      /* >>> MODIFICA: grandezza miniature su smartphone */
  --mini-spazio: 10px;      /* >>> MODIFICA: spazio tra le miniature           */
}

/* La fila: niente scorrimento, miniature centrate e vicine */
.imagesBox .thumbsList .slick-list { overflow: visible; padding: 0 !important; }
.imagesBox .thumbsList .slick-track {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;          /* >>> MODIFICA: flex-start = allineate a sinistra */
  gap: var(--mini-spazio);
  width: auto !important;
  transform: none !important;
}
.imagesBox .thumbsList .slick-track::before,
.imagesBox .thumbsList .slick-track::after { display: none; }
.imagesBox .thumbsList .slick-slide { float: none !important; width: auto !important; height: auto; margin: 0 !important; }
.imagesBox .thumbsList .thumbParent { display: block !important; width: auto !important; }
.imagesBox .thumbsList .slick-arrow { display: none !important; }

/* La singola miniatura */
.imagesBox .thumbsList img.thumb {
  width: var(--mini-lato) !important;
  height: var(--mini-lato) !important;
  max-width: none;
  object-fit: contain;
  padding: 4px !important;
  margin: 0 !important;
  border: 1px solid #ececee;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color .2s;
}
.imagesBox .thumbsList img.thumb:hover { border-color: #b9b9bf; }
.imagesBox .thumbsList img.thumb.slick-image-selected { border: 2px solid var(--antona-nero); }  /* foto mostrata */

/* --- SMARTPHONE --- */
@media (max-width: 600px) {
  .imagesBox .thumbsList .slick-track { gap: 8px; }
  .imagesBox .thumbsList img.thumb { width: var(--mini-lato-m) !important; height: var(--mini-lato-m) !important; }
}


/* ===================================================================
   14. INTESTAZIONE FISSA IN ALTO (stile Deghi)
       Scorrendo la pagina, la barra nera superiore e il menu scorrono
       via; resta fissa in alto solo la fascia con logo, ricerca,
       accesso e carrello. Vale su computer e smartphone.
       L'altezza della barra nera la misura lo script (Contenuti > Script):
       senza script resta fissa tutta l'intestazione, barra compresa.
   =================================================================== */
:root { --atop-altezza: 0px; }   /* la imposta lo script: non modificare */

#header_responsive {
  position: sticky !important;
  top: calc(-1 * var(--atop-altezza)) !important;   /* fa uscire solo la barra nera */
  z-index: 1000;                                     /* sopra a caroselli e banner */
}
#header_responsive #top_buttons_wrapper { background: #fff; }   /* sfondo pieno: il contenuto non traspare */


/* ===================================================================
   15. ICONA PREFERITI (cuore) ACCANTO AL CARRELLO
       Il cuore lo aggiunge lo script (Contenuti > Script, funzione
       iconaPreferiti) e porta a /wishlist (solo clienti registrati:
       chi non ha fatto l'accesso viene mandato al login).
   =================================================================== */
#header_responsive .top_buttons > li.btn_wish {
  width: 1%;
  white-space: nowrap;
  vertical-align: middle;
}
/* #header_responsive davanti serve a battere la regola di Ready Pro
   che altrimenti metteva il cuore più in alto delle altre icone */
#header_responsive #top_wish_button > a {
  display: flex !important;
  align-items: center;                     /* cuore centrato come account e carrello */
  justify-content: center;
  height: 36px;
  line-height: 36px;
  padding: 0 10px !important;
  color: var(--antona-nero) !important;    /* >>> MODIFICA: colore del cuore */
  background: none !important;
  transition: color .2s, transform .2s;
}
#header_responsive #top_wish_button > a:hover {
  color: var(--antona-rosso) !important;   /* >>> MODIFICA: colore al passaggio del mouse */
  transform: scale(1.08);
}
#top_wish_button svg { display: block; width: 23px; height: 23px; }   /* >>> MODIFICA: grandezza */
#top_wish_button path { stroke-width: 1.6; fill: transparent; transition: fill .2s; }  /* tratto sottile come le altre icone */
#top_wish_button a:hover path { fill: currentColor; }                 /* al passaggio il cuore si riempie di rosso */

/* Smartphone: stessa larghezza delle altre icone */
@media (max-width: 800px) {
  #header_responsive #top_wish_button > a { padding: 0 7px !important; }
}


/* ===================================================================
   16. NUOVE ICONE: MENU (tre lineette), ACCOUNT (omino), CARRELLO
       Stesso stile del cuore dei preferiti: linea sottile, angoli
       arrotondati, nere e rosse al passaggio del mouse.
       Sostituiscono le vecchie icone PNG di Ready Pro.
       >>> MODIFICA COLORI: dentro ogni url(...) il colore è scritto
       come %23 + codice (es. %231d1d1f = #1d1d1f nero,
       %23e30613 = #e30613 rosso). Il simbolo # va scritto %23.
   =================================================================== */
:root {
  --aico-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M4 6.5h16M4 12h16M4 17.5h16'/%3E%3C/svg%3E");
  --aico-menu-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e30613' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M4 6.5h16M4 12h16M4 17.5h16'/%3E%3C/svg%3E");
  --aico-utente: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 20.5c0-4.1 3.4-6.8 7.5-6.8s7.5 2.7 7.5 6.8'/%3E%3C/svg%3E");
  --aico-utente-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 20.5c0-4.1 3.4-6.8 7.5-6.8s7.5 2.7 7.5 6.8'/%3E%3C/svg%3E");
  --aico-carrello: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 3.5h2.4l2.4 11.3a1.6 1.6 0 0 0 1.6 1.2h8.4a1.6 1.6 0 0 0 1.5-1.2l1.7-7.3H5.9'/%3E%3Ccircle cx='9.5' cy='20' r='1.3'/%3E%3Ccircle cx='17' cy='20' r='1.3'/%3E%3C/svg%3E");
  --aico-carrello-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 3.5h2.4l2.4 11.3a1.6 1.6 0 0 0 1.6 1.2h8.4a1.6 1.6 0 0 0 1.5-1.2l1.7-7.3H5.9'/%3E%3Ccircle cx='9.5' cy='20' r='1.3'/%3E%3Ccircle cx='17' cy='20' r='1.3'/%3E%3C/svg%3E");
}

/* posizione e grandezza comuni (come il cuore: 23px) */
#header_responsive #top_menu_button > a,
#header_responsive #top_login_button > a,
#header_responsive #top_cart_button > a {
  background-repeat: no-repeat !important;
  background-position: 0 50% !important;
  background-size: 23px 23px !important;     /* >>> MODIFICA: grandezza icone */
  transition: color .2s;
}

/* le icone */
#header_responsive #top_menu_button > a  { background-image: var(--aico-menu) !important; }
#header_responsive #top_login_button > a { background-image: var(--aico-utente) !important; }
#header_responsive #top_cart_button > a  { background-image: var(--aico-carrello) !important; }

/* al passaggio del mouse diventano rosse, come il cuore */
#header_responsive #top_menu_button > a:hover  { background-image: var(--aico-menu-hover) !important; }
#header_responsive #top_login_button > a:hover { background-image: var(--aico-utente-hover) !important; }
#header_responsive #top_cart_button > a:hover  { background-image: var(--aico-carrello-hover) !important; }

/* LENTE DELLA RICERCA, nello stesso stile:
   computer = lente bianca dentro il pulsante rosso
   smartphone = lente nera come le altre icone */
#header_responsive .top_buttons li.box_search input.btn_search.main_butt {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 20 20'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 50% 50% !important;
  background-size: 22px 22px !important;
}
@media (max-width: 767px) {
  #header_responsive .top_buttons li.box_search input.btn_search.main_butt {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 20 20'/%3E%3C/svg%3E") !important;
    background-size: 23px 23px !important;
  }
}


/* ===================================================================
   17. MENU DELL'ACCOUNT (compare passando sul nome, da cliente entrato)
       Riquadro arrotondato come la finestra di accesso, voci con
       piccole icone nello stile di quelle in alto, Log out discreto.
   =================================================================== */
/* riquadro */
#top_login:has(#userBoxTop) {
  width: 270px !important;               /* >>> MODIFICA: larghezza del menu */
  max-width: 270px !important;
  padding: 8px !important;
  border: 1px solid #ececee !important;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,.14) !important;
}

/* nome del cliente: niente fascia grigia, piccola scritta sopra */
#userBoxTop #userBox_Title {
  background: none !important;
  padding: 10px 12px 12px !important;
  margin: 0 0 6px !important;
  border-bottom: 1px solid #ececee;
  font-family: var(--antona-font-titoli, Montserrat, sans-serif);
  font-size: 16px !important;
  font-weight: 700;
  color: var(--antona-nero) !important;
}
#userBoxTop #userBox_Title::before {
  content: "Il tuo account";               /* >>> MODIFICA: scritta sopra il nome */
  display: block;
  font-family: var(--antona-font-testo, "Open Sans", sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #86868b;
  line-height: 1.6;
}

/* elenco: via i quadratini grigi */
#userBoxTop ul { padding: 0 !important; margin: 0 !important; }
#userBoxTop li {
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
#userBoxTop li > a {
  display: block;
  padding: 9px 12px 9px 42px !important;
  border-radius: 8px;
  font-family: var(--antona-font-testo, "Open Sans", sans-serif);
  font-size: 14px !important;
  line-height: 20px;
  color: var(--antona-nero) !important;
  text-decoration: none !important;
  background-repeat: no-repeat;
  background-position: 13px 50%;
  background-size: 18px 18px;
  transition: background-color .15s, color .15s;
}
#userBoxTop li > a:hover {
  background-color: #f5f5f7;               /* >>> MODIFICA: sfondo al passaggio */
  color: var(--antona-rosso) !important;
}

/* icone delle voci (grigie, stesso tratto delle icone in alto) */
/* Area utente */
#userBoxTop li.homeRegUsers > a { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 20.5c0-4.1 3.4-6.8 7.5-6.8s7.5 2.7 7.5 6.8'/%3E%3C/svg%3E"); }
/* Dati anagrafici */
#userBoxTop li.regChange > a { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Ccircle cx='9' cy='11' r='2'/%3E%3Cpath d='M6 16c.6-1.5 1.7-2.2 3-2.2s2.4.7 3 2.2M14.5 10h3.5M14.5 13.5h3.5'/%3E%3C/svg%3E"); }
/* Modifica password */
#userBoxTop li.pwdModify > a { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2.5'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
/* Ordini */
#userBoxTop li.orders > a { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7.5 12 3l8.5 4.5v9L12 21l-8.5-4.5zM3.5 7.5 12 12l8.5-4.5M12 12v9'/%3E%3C/svg%3E"); }
/* I tuoi feedback */
#userBoxTop li.userFeedback > a { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.9l-5.2 2.7 1-5.8-4.3-4.1 5.9-.9z'/%3E%3C/svg%3E"); }
/* I tuoi preferiti */
#userBoxTop li.whishList > a { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-7.5-4.6-9.3-9.2C1.5 8.2 3.4 4.5 7 4.5c2.1 0 3.6 1.2 5 3 1.4-1.8 2.9-3 5-3 3.6 0 5.5 3.7 4.3 6.8-1.8 4.6-9.3 9.2-9.3 9.2z'/%3E%3C/svg%3E"); }
/* Pagamento carta di credito */
#userBoxTop li.directPayment > a { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5.5' width='19' height='13' rx='2.5'/%3E%3Cpath d='M2.5 10h19M6 15h4'/%3E%3C/svg%3E"); }

/* paragrafo vuoto di Ready Pro */
#userBoxTop > p { display: none; }

/* Log out: pulsante discreto a tutta larghezza, rosso al passaggio */
#userBoxTop form {
  margin: 6px 0 0 !important;
  padding: 10px 4px 4px !important;
  border-top: 1px solid #ececee;
  text-align: left !important;
  font-size: 0;                            /* nasconde lo spazio dopo il pulsante */
}
#userBoxTop form input.butt1 {
  display: block;
  width: 100%;
  padding: 9px 12px !important;
  border: 1px solid #d2d2d7 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--antona-nero) !important;
  font-family: var(--antona-font-testo, "Open Sans", sans-serif);
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
#userBoxTop form input.butt1:hover {
  border-color: var(--antona-rosso) !important;
  color: var(--antona-rosso) !important;
}


/* ===================================================================
   18. INTESTAZIONE: TABLET E SMARTPHONE (+ barra in fondo su smartphone)
   =================================================================== */

/* --- TABLET (da 768 a 800 px): Ready Pro nasconde il campo di testo
       e lascia solo il pulsante rosso, che era "tagliato" a sinistra.
       Qui diventa un pulsante rotondo completo, con il contorno. --- */
@media (min-width: 768px) and (max-width: 800px) {
  #header_responsive .top_buttons li.box_search input.btn_search.main_butt {
    border: 2px solid var(--antona-nero) !important;
    border-radius: 999px !important;
  }
}

/* --- PANNELLO DI RICERCA su tablet e smartphone (si apre toccando
       la lente): bianco, campo arrotondato e pulsante rosso come
       sul computer, al posto della fascia nera --- */
@media (max-width: 800px) {
  #header_responsive .box_text_search {
    background: #fff !important;
    padding: 10px 12px !important;
    box-sizing: border-box;
    border-bottom: 1px solid #ececee;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
  }
  #header_responsive .box_text_search input.txt_search {
    display: block !important;
    width: 100% !important;
    height: 44px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    padding: 0 64px 0 18px !important;
    border: 2px solid var(--antona-nero) !important;
    border-radius: 999px !important;
    background: #fff !important;
    font-size: 16px !important;          /* 16px: l'iPhone non fa lo zoom quando si scrive */
    outline: none;
  }
  #header_responsive .box_text_search input.txt_search:focus {
    border-color: var(--antona-rosso) !important;
  }
  #header_responsive .box_text_search input.btn_search.responsive_butt {
    top: 10px !important;
    right: 12px !important;
    width: 56px !important;
    height: 44px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    border: 2px solid var(--antona-nero) !important;
    border-left: 0 !important;
    border-radius: 0 999px 999px 0 !important;
    background: var(--antona-rosso) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 20 20'/%3E%3C/svg%3E") no-repeat 50% 50% / 22px 22px !important;
    font-size: 0 !important;
    color: transparent !important;
    cursor: pointer;
  }
  #header_responsive .box_text_search:focus-within input.btn_search.responsive_butt {
    border-color: var(--antona-rosso) !important;
  }
}

/* --- SMARTPHONE (fino a 767 px) ---
   In alto:  tre lineette con scritta MENU, logo al centro, cuore preferiti
   In fondo allo schermo: barra fissa Menu | Carrello | Assistenza | Account | Cerca
   (la barra in fondo la crea lo Script, funzione barraInferiore)          */
#abarra { display: none; }      /* su computer e tablet la barra non c'è */

@media (max-width: 767px) {
  /* ---------- riga in alto ---------- */
  #header_responsive .top_buttons {
    display: flex !important;
    align-items: center;
    width: 100% !important;
    min-height: 58px;
  }
  #header_responsive .top_buttons > li {
    display: block !important;
    width: auto !important;
    box-sizing: border-box;
  }
  /* menu a sinistra e cuore a destra occupano lo stesso spazio:
     così il logo resta esattamente al centro */
  #header_responsive .top_buttons > li.btn_menu { order: 1; flex: 1 1 0; padding: 0 0 0 4px !important; }
  #header_responsive .top_buttons > li.box_logo { order: 2; flex: 0 0 auto; padding: 0 !important; text-align: center; }
  #header_responsive .top_buttons > li.btn_wish { order: 3; flex: 1 1 0; padding: 0 4px 0 0 !important; display: flex !important; justify-content: flex-end; }

  /* logo sempre della stessa grandezza (anche col telefono in orizzontale) */
  #header_responsive .top_buttons > li.box_logo #logo {
    width: 160px !important;                      /* >>> MODIFICA: larghezza del logo */
    max-width: 160px !important;
    height: auto !important;
  }

  /* account e carrello passano nella barra in fondo */
  #header_responsive .top_buttons > li.btn_login,
  #header_responsive .top_buttons > li.btn_cart { display: none !important; }

  /* la ricerca resta (serve al pannello che si apre), ma senza pulsante in alto */
  #header_responsive .top_buttons > li.box_search {
    order: 4;
    flex: 0 0 0;
    width: 0 !important;
    padding: 0 !important;
    overflow: visible;
  }
  #header_responsive .top_buttons > li.box_search input.btn_search.main_butt { display: none !important; }

  /* tre lineette con la scritta MENU sotto */
  #header_responsive #top_menu_button > a {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    background-position: 50% 4px !important;
    background-size: 24px 24px !important;
  }
  #header_responsive #top_menu_button > a span { display: none; }
  #header_responsive #top_menu_button > a::after {
    content: "Menu";                              /* >>> MODIFICA: scritta sotto le lineette */
    position: absolute;
    left: 0; right: 0; bottom: 1px;
    text-align: center;
    font: 600 9.5px/1 var(--antona-font-testo, "Open Sans", sans-serif);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--antona-nero);
  }

  /* ---------- barra in fondo ---------- */
  #abarra {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 990;
    display: flex;
    align-items: stretch;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: #fff;                             /* >>> MODIFICA: sfondo della barra */
    border-top: 1px solid #ececee;
    box-shadow: 0 -6px 18px rgba(0,0,0,.06);
  }
  #abarra .abarra-voce {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin: 0;
    padding: 4px 0;
    border: 0;
    background: none;
    color: #6e6e73;                               /* >>> MODIFICA: colore icone e scritte */
    font: 600 10px/1.2 var(--antona-font-testo, "Open Sans", sans-serif);
    letter-spacing: .03em;
    text-transform: uppercase;
    text-decoration: none !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  #abarra .abarra-voce:active { color: var(--antona-rosso); }
  #abarra .abarra-voce svg { display: block; width: 24px; height: 24px; }
  #abarra .abarra-voce span { white-space: nowrap; }

  /* pulsante centrale (Assistenza) evidenziato con un contorno rosso */
  #abarra .abarra-centro {
    max-width: 96px;
    margin: 0 4px;
    border: 1.5px solid var(--antona-rosso);
    border-radius: 12px;
    color: var(--antona-rosso);
  }

  /* pallino con il numero di prodotti nel carrello */
  #abarra .abarra-num {
    position: absolute;
    top: 0;
    left: calc(50% + 4px);
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    box-sizing: border-box;
    border-radius: 9px;
    background: var(--antona-rosso);
    color: #fff;
    font: 700 10px/17px var(--antona-font-testo, "Open Sans", sans-serif);
    text-align: center;
  }
  #abarra .abarra-num[hidden] { display: none; }

  /* spazio in fondo alla pagina, così la barra non copre il piè di pagina */
  body.con-abarra { padding-bottom: calc(66px + env(safe-area-inset-bottom)) !important; }

  /* sotto il logo Ready Pro non serve più lo spazio per WhatsApp (sezione 7) */
  body.con-abarra > .cookie-controls + div { padding-bottom: 10px !important; }

  /* il pulsante tondo di WhatsApp diventa il pulsante centrale della barra;
     se togli il pulsante centrale (nello Script), WhatsApp torna e sta sopra la barra */
  body.con-abarra-assistenza .whatsapp-icon { display: none !important; }
  body.con-abarra .whatsapp-icon { bottom: calc(80px + env(safe-area-inset-bottom)) !important; }
}


/* ===================================================================
   19. AREA UTENTE (pagina /?cmd=homeRegUsers)
       Il contenuto è nel file area-utente.html (classi "aacc").
       Qui nascondo il titolo, il nome e i pulsanti rossi che Ready Pro
       aggiunge da solo: tutto è già nelle nuove schede.
   =================================================================== */
#homeRegUsers:has(.aacc) > h1.boxTitle,
#homeRegUsers:has(.aacc) > .homeRegUsersUserName,
#homeRegUsers:has(.aacc) > .panel { display: none !important; }

.aacc {
  max-width: 1100px;                         /* >>> MODIFICA: larghezza massima */
  margin: 0 auto;
  padding: 28px 16px 48px;
  box-sizing: border-box;
  font-family: var(--antona-font-testo, "Open Sans", sans-serif);
  color: var(--antona-nero);
}
.aacc * { box-sizing: border-box; }

/* --- intestazione: cerchio con l'iniziale + saluto --- */
.aacc-testa { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.aacc-avatar {
  display: block;                            /* serve per prendere solo la prima lettera */
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--antona-nero);            /* >>> MODIFICA: colore del cerchio */
  overflow: hidden;
  white-space: nowrap;
  font-size: 0;                              /* il nome intero è nascosto... */
  text-align: center;
}
.aacc-avatar::first-letter {                 /* ...si vede solo l'iniziale */
  font: 600 32px/72px var(--antona-font-titoli, Montserrat, sans-serif);
  color: #fff;
  text-transform: uppercase;
}
.aacc-ciao { display: flex; flex-direction: column; min-width: 0; }
.aacc-ciao-piccolo { font-size: 14px; color: #86868b; }
.aacc-nome {
  font: 700 22px/1.25 var(--antona-font-titoli, Montserrat, sans-serif);
  overflow-wrap: anywhere;
}
.aacc-dati { margin-top: 2px; font-size: 13px; color: #6e6e73; overflow-wrap: anywhere; }
.aacc-dati b { font-weight: 600; color: var(--antona-nero); }
.aacc-sep { font-style: normal; }

/* --- titolo --- */
.aacc .aacc-titolo {
  margin: 0 0 4px;
  padding: 0;
  font: 700 28px/1.2 var(--antona-font-titoli, Montserrat, sans-serif);
  color: var(--antona-nero);
  text-transform: none;
}
#homeRegUsers .aacc .aacc-intro { margin: 0 0 20px; padding: 0; font-size: 15px; color: #6e6e73; }

/* --- schede --- */
.aacc-schede {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.aacc .aacc-scheda {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  min-height: 86px;
  padding: 16px 40px 16px 16px;
  border: 1px solid #ececee;
  border-radius: 14px;
  background: #fff;
  color: var(--antona-nero) !important;
  text-decoration: none !important;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.aacc .aacc-scheda:hover {
  border-color: #d2d2d7;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
/* cerchio con l'icona */
.aacc-scheda::before {
  content: "";
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #fdeeee;                 /* >>> MODIFICA: sfondo del cerchio delle icone */
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 24px 24px;
}
/* freccetta a destra */
.aacc-scheda::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-top: 2px solid #c7c7cc;
  border-right: 2px solid #c7c7cc;
  transform: rotate(45deg);
}
.aacc-scheda:hover::after { border-color: var(--antona-rosso); }
.aacc-scheda strong {
  align-self: end;
  font: 700 16px/1.3 var(--antona-font-titoli, Montserrat, sans-serif);
}
.aacc-scheda span { align-self: start; margin-top: 2px; font-size: 13px; line-height: 1.4; color: #6e6e73; }

/* icone (rosse, stesso tratto delle icone in alto) */
.aacc-scheda.ico-ordini::before    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7.5 12 3l8.5 4.5v9L12 21l-8.5-4.5zM3.5 7.5 12 12l8.5-4.5M12 12v9'/%3E%3C/svg%3E"); }
.aacc-scheda.ico-dati::before      { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Ccircle cx='9' cy='11' r='2'/%3E%3Cpath d='M6 16c.6-1.5 1.7-2.2 3-2.2s2.4.7 3 2.2M14.5 10h3.5M14.5 13.5h3.5'/%3E%3C/svg%3E"); }
.aacc-scheda.ico-preferiti::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-7.5-4.6-9.3-9.2C1.5 8.2 3.4 4.5 7 4.5c2.1 0 3.6 1.2 5 3 1.4-1.8 2.9-3 5-3 3.6 0 5.5 3.7 4.3 6.8-1.8 4.6-9.3 9.2-9.3 9.2z'/%3E%3C/svg%3E"); }
.aacc-scheda.ico-reso::before      { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14 4 9l5-5'/%3E%3Cpath d='M4 9h11a5 5 0 0 1 0 10h-3'/%3E%3C/svg%3E"); }
.aacc-scheda.ico-password::before  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2.5'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.aacc-scheda.ico-feedback::before  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.9l-5.2 2.7 1-5.8-4.3-4.1 5.9-.9z'/%3E%3C/svg%3E"); }
.aacc-scheda.ico-carta::before     { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5.5' width='19' height='13' rx='2.5'/%3E%3Cpath d='M2.5 10h19M6 15h4'/%3E%3C/svg%3E"); }

/* --- riquadro assistenza --- */
.aacc-aiuto {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: 14px;
  background: #f5f5f7;                       /* >>> MODIFICA: sfondo del riquadro */
}
.aacc-aiuto strong { display: block; font: 700 17px/1.3 var(--antona-font-titoli, Montserrat, sans-serif); }
.aacc-aiuto span { display: block; margin-top: 3px; font-size: 13px; color: #6e6e73; }
.aacc-aiuto-pulsanti { display: flex; gap: 10px; flex: 0 0 auto; }
.aacc .aacc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border: 2px solid var(--antona-nero);
  border-radius: 999px;
  background: #fff;
  color: var(--antona-nero) !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.aacc .aacc-btn:hover { border-color: var(--antona-rosso); color: var(--antona-rosso) !important; }
.aacc .aacc-btn-pieno { background: var(--antona-rosso); border-color: var(--antona-rosso); color: #fff !important; }
.aacc .aacc-btn-pieno:hover { background: var(--antona-rosso-scuro, #b8050f); border-color: var(--antona-rosso-scuro, #b8050f); color: #fff !important; }

/* --- esci --- */
#homeRegUsers .aacc .aacc-esci-riga { margin: 22px 0 0; padding: 0; text-align: center; }
.aacc .aacc-esci {
  font-size: 14px;
  font-weight: 600;
  color: #6e6e73 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.aacc .aacc-esci:hover { color: var(--antona-rosso) !important; }

/* --- TABLET: due schede per riga --- */
@media (max-width: 900px) {
  .aacc-schede { grid-template-columns: repeat(2, 1fr); }
}

/* --- SMARTPHONE: una scheda per riga, tutto a misura di dito --- */
@media (max-width: 600px) {
  .aacc { padding: 18px 12px 32px; }
  .aacc-testa { gap: 14px; margin-bottom: 20px; }
  .aacc-avatar { width: 56px; height: 56px; }
  .aacc-avatar::first-letter { font-size: 24px; line-height: 56px; }
  .aacc-nome { font-size: 18px; }
  .aacc-sep { display: none; }                 /* ID ed email su due righe */
  .aacc-dati > span { display: block; }
  .aacc .aacc-titolo { font-size: 22px; }
  #homeRegUsers .aacc .aacc-intro { margin-bottom: 14px; font-size: 14px; }
  .aacc-schede { grid-template-columns: 1fr; gap: 10px; }
  .aacc .aacc-scheda { min-height: 72px; padding: 12px 36px 12px 12px; grid-template-columns: 44px 1fr; column-gap: 12px; }
  .aacc-scheda::before { width: 44px; height: 44px; background-size: 22px 22px; }
  .aacc-scheda strong { font-size: 15px; }
  .aacc-aiuto { flex-direction: column; align-items: stretch; text-align: center; padding: 18px 16px; }
  .aacc-aiuto-pulsanti { flex-direction: column; }
  .aacc .aacc-btn { width: 100%; }
}


/* ===================================================================
   20. PAGINE DELL'ACCOUNT (solo CSS, nessun HTML da cambiare)
       I miei ordini ........ #userDocuments    (/?cmd=viewDocuments...)
       I miei dati .......... #regForm          (/?cmd=regChange)
       I miei preferiti ..... #productsWishList (/wishlist)
       Cambia password ...... #pwdModify        (/?cmd=pwdModifyStart)
       Le mie recensioni .... #userFeedback     (/?cmd=userFeedback)
       Paga con carta ....... #directEpaymentBox (/directepayment)
       Stesso stile della nuova Area utente (sezione 19).
   =================================================================== */

/* --- 20.1 PARTI COMUNI --------------------------------------------- */

/* via la riga "Ti trovi in Home": in queste pagine non serve */
#body_viewDocuments #navBar,
#body_regChange #navBar,
#body_wishList #navBar,
#body_pwdModifyStart #navBar,
#body_userFeedback #navBar,
#body_directEPayment #navBar { display: none; }

/* contenitore della pagina */
#userDocuments,
#regForm,
#productsWishList,
#pwdModify,
#userFeedback,
#directEpaymentBox {
  max-width: 1100px;                         /* >>> MODIFICA: larghezza massima */
  margin: 0 auto;
  padding: 28px 16px 48px;
  box-sizing: border-box;
  font-family: var(--antona-font-testo, "Open Sans", sans-serif);
  color: var(--antona-nero);
}
/* i moduli (dati, password, pagamento) stanno in una colonna più stretta */
#regForm, #pwdModify, #directEpaymentBox { max-width: 720px; }

/* titoli delle pagine */
#userDocuments > h1.boxTitle,
#productsWishList > h1.boxTitle,
#pwdModify > .boxTitle,
#body_userFeedback #colMid > h1,
#regForm::before,
#directEpaymentBox::before {
  display: block;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: none;
  font: 700 28px/1.2 var(--antona-font-titoli, Montserrat, sans-serif);
  color: var(--antona-nero);
  text-transform: none;
  text-align: left;
}
/* le due pagine senza titolo ne ricevono uno qui */
#body_regChange #regForm::before { content: "I miei dati"; }        /* >>> MODIFICA: titolo pagina dati */
#directEpaymentBox::before { content: "Paga con carta"; }    /* >>> MODIFICA: titolo pagina pagamento */
#body_userFeedback #colMid > h1 { max-width: 1100px; margin: 28px auto 0; padding: 0 16px; box-sizing: border-box; }
#body_userFeedback #userFeedback { padding-top: 14px; }
#userFeedback > h1.boxTitle { display: none; }               /* doppione di "Recensioni" */

/* riquadro bianco dei moduli */
#regForm form,
#pwdModify form,
#directEpaymentBox form {
  padding: 24px;
  border: 1px solid #ececee;
  border-radius: 16px;
  background: #fff;
}

/* tabelle dei moduli: un campo sotto l'altro, etichetta sopra */
#regForm form > table, #regForm form > table > tbody,
#directEpaymentBox form > table, #directEpaymentBox form > table > tbody { display: block; width: 100% !important; }
#regForm form > table, #directEpaymentBox form > table,
#regForm form > table tr, #directEpaymentBox form > table tr,
#regForm form > table td, #directEpaymentBox form > table td { border: 0 !important; background: none !important; box-shadow: none !important; }
#regForm form > table, #directEpaymentBox form > table, #pwdModify form table { margin: 0 !important; padding: 0 !important; }   /* campi allineati al testo */
#regForm form > table > tbody > tr,
#directEpaymentBox form > table > tbody > tr { display: block; margin: 0 0 16px; }
#regForm form > table > tbody > tr > th,
#directEpaymentBox form > table > tbody > tr > th,
#pwdModify form > label {
  display: block;
  width: auto !important;
  padding: 0 0 6px !important;
  border: 0 !important;
  background: none !important;
  text-align: left !important;
  font-size: 13px;
  font-weight: 600;
  color: var(--antona-nero);
}
#regForm form > table > tbody > tr > td,
#directEpaymentBox form > table > tbody > tr > td {
  display: block;
  padding: 0 !important;
  border: 0 !important;
}

/* campi */
#regForm input[type="text"],
#regForm input[type="password"],
#pwdModify input[type="password"],
#directEpaymentBox input[type="text"],
#directEpaymentBox select,
#directEpaymentBox textarea,
#regForm select {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 48px;
  margin: 0;
  padding: 0 14px !important;
  box-sizing: border-box;
  border: 1.5px solid #d2d2d7 !important;
  border-radius: 12px !important;
  background: #fff !important;
  font-family: inherit;
  font-size: 16px !important;               /* 16px: l'iPhone non fa lo zoom */
  color: var(--antona-nero);
  outline: none;
  box-shadow: none;
  transition: border-color .15s, box-shadow .15s;
}
#directEpaymentBox textarea { height: 110px; padding: 12px 14px !important; resize: vertical; }
#regForm input[type="text"]:focus,
#regForm input[type="password"]:focus,
#pwdModify input[type="password"]:focus,
#directEpaymentBox input:focus,
#directEpaymentBox select:focus,
#directEpaymentBox textarea:focus,
#regForm select:focus {
  border-color: var(--antona-rosso) !important;
  box-shadow: 0 0 0 3px rgba(227, 6, 19, .12);
}
#regForm input[disabled] { background: #f5f5f7 !important; color: #6e6e73; cursor: not-allowed; }

/* pulsante principale dei moduli */
#regForm input.butt1,
#pwdModify input.butt1,
#directEpaymentBox input.butt1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 48px;
  margin: 6px 0 0;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--antona-rosso) !important;
  color: #fff !important;
  font: 700 15px/1 var(--antona-font-testo, "Open Sans", sans-serif) !important;
  cursor: pointer;
  transition: background .15s;
}
#regForm input.butt1:hover,
#pwdModify input.butt1:hover,
#directEpaymentBox input.butt1:hover { background: var(--antona-rosso-scuro, #b8050f) !important; }
/* la riga del pulsante non ha etichetta */
#regForm form > table > tbody > tr:last-child > th,
#directEpaymentBox form > table > tbody > tr:last-child > th { display: none; }


/* --- 20.2 I MIEI DATI ------------------------------------------------ */
@media (min-width: 768px) {
  /* due campi per riga; nome, indirizzo, newsletter e pulsante occupano tutta la riga */
  #regForm form > table > tbody { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  #regForm form > table > tbody > tr:has(.th-name),
  #regForm form > table > tbody > tr:has(.th-address),
  #regForm form > table > tbody > tr:has(.th-mailinglist),
  #regForm form > table > tbody > tr:last-child { grid-column: 1 / -1; }
}
#regForm fieldset { margin: 0; padding: 0; border: 0; display: flex; align-items: center; gap: 8px; font-size: 15px; }
#regForm fieldset input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--antona-rosso); }


/* --- 20.3 CAMBIA PASSWORD ------------------------------------------- */
#pwdModify form { text-align: left !important; }
#pwdModify .text p { margin: 0 0 18px; padding: 0; font-size: 14px; color: #6e6e73; }
#pwdModify form > input[type="password"] { margin-bottom: 16px; }
#pwdModify .notes { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; color: #86868b; }


/* --- 20.4 PAGA CON CARTA --------------------------------------------- */
#directEpaymentBox form::before {
  content: "Inserisci l'importo, scegli PayPal o carta di credito e conferma: verrai portato alla pagina di pagamento sicuro.";  /* >>> MODIFICA: frase di spiegazione */
  display: block;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: #6e6e73;
}
#directEpaymentBox select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px 18px !important;
}


/* --- 20.5 I MIEI ORDINI --------------------------------------------- */
#userDocuments .pages p { margin: 0 0 6px; padding: 0; font-size: 13px; color: #86868b; text-align: left; }

/* la tabella di Ready Pro diventa una serie di schede, una per ordine */
#userDocuments > table,
#userDocuments > table > tbody { display: block; width: 100% !important; border: 0; }
#userDocuments > table > tbody > tr { display: block; background: #fff !important; }   /* Ready Pro mette un grigio */
#userDocuments > table > tbody > tr > td { display: block; padding: 4px 0 !important; border: 0 !important; background: none !important; }

/* testata della scheda: "Ordine del ..." */
#userDocuments > table > tbody > tr.head {
  margin-top: 16px;
  padding: 16px 20px 8px;
  border: 1px solid #ececee;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
}
#userDocuments > table > tbody > tr.head td { font: 700 17px/1.3 var(--antona-font-titoli, Montserrat, sans-serif); }
#userDocuments > table > tbody > tr.head td strong { font-weight: 700; }

/* righe interne: importo, pagamento, stato */
#userDocuments > table > tbody > tr:is(.bkg1, .bkg2) {
  padding: 2px 20px;
  border-left: 1px solid #ececee;
  border-right: 1px solid #ececee;
}
#userDocuments > table > tbody > tr:is(.bkg1, .bkg2) > td { font-size: 15px; }
#userDocuments > table > tbody > tr:is(.bkg1, .bkg2) > td > strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #86868b;
}
/* importo e pagamento affiancati */
#userDocuments > table > tbody > tr.head + tr:is(.bkg1, .bkg2) { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 8px; }

/* stato dell'ordine come "etichetta" colorata */
#userDocuments span.help {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff4e0;                       /* >>> MODIFICA: colore etichetta stato */
  color: #a15c00;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: help;
}

/* riga del pulsante "Dettagli documento" (chiude la scheda) */
#userDocuments > table > tbody > tr:is(.bkg1, .bkg2):has(a.butt1) {
  padding: 10px 20px 18px;
  border-bottom: 1px solid #ececee;
}
#userDocuments > table > tbody > tr:is(.bkg1, .bkg2):has(a.butt1):has(+ tr[style*="none"]) { border-radius: 0 0 14px 14px; }
#userDocuments > table > tbody > tr:is(.bkg1, .bkg2):has(a.butt1) > td { text-align: left !important; }
#userDocuments a.butt1:empty { display: none !important; }  /* lentina vuota di Ready Pro */
#userDocuments > table > tbody > tr:is(.bkg1, .bkg2):has(a.butt1) a:not(.butt1) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 2px solid var(--antona-nero);
  border-radius: 999px;
  color: var(--antona-nero) !important;
  font-size: 14px;
  text-decoration: none !important;
  transition: border-color .15s, color .15s;
}
#userDocuments > table > tbody > tr:is(.bkg1, .bkg2):has(a.butt1) a:not(.butt1)::after {
  content: "";
  width: 7px; height: 7px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
#userDocuments > table > tbody > tr:is(.bkg1, .bkg2):has(a.butt1) a:not(.butt1):hover { border-color: var(--antona-rosso); color: var(--antona-rosso) !important; }

/* dettagli aperti: pannello grigio chiaro sotto la scheda */
#userDocuments > table > tbody > tr[id^="row_"] {
  padding: 6px 20px 20px;
  border: 1px solid #ececee;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: #fafafa !important;
}
#userDocuments > table > tbody > tr[id^="row_"] h2 {
  margin: 18px 0 8px !important;
  padding: 0;
  font: 700 15px/1.3 var(--antona-font-titoli, Montserrat, sans-serif);
  color: var(--antona-nero);
  text-transform: none;
  background: none;
  border: 0;
}
#userDocuments a.repeatOrderButton {
  float: none !important;                   /* Ready Pro lo fa galleggiare a sinistra */
  width: auto !important;
  display: inline-flex;
  align-items: center;
  height: 40px;
  margin: 10px 0 0 !important;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--antona-rosso);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
}
#userDocuments a.repeatOrderButton:hover { background: var(--antona-rosso-scuro, #b8050f); }

/* tabelle dentro i dettagli (prodotti, consegna, pagamento) */
#userDocuments table.docsProductsTable,
#userDocuments table.docsTable {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ececee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  font-size: 14px;
}
#userDocuments table.docsProductsTable th,
#userDocuments table.docsTable th {
  padding: 10px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid #ececee !important;
  background: #f5f5f7 !important;
  font-size: 12px;
  font-weight: 600;
  color: #6e6e73;
  text-align: left;
  vertical-align: top;
}
#userDocuments table.docsProductsTable td,
#userDocuments table.docsTable td {
  padding: 10px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid #ececee !important;
  background: #fff !important;
  vertical-align: top;
}
#userDocuments table.docsProductsTable tr:last-child td,
#userDocuments table.docsTable tr:last-child td,
#userDocuments table.docsTable tr:last-child th { border-bottom: 0 !important; }
#userDocuments table.docsProductsTable tfoot td { padding: 4px 12px !important; border: 0 !important; color: #6e6e73; }
#userDocuments table.docsProductsTable tfoot tr:first-child td { padding-top: 12px !important; border-top: 1px solid #ececee !important; }
#userDocuments table.docsProductsTable tfoot tr:last-child td { padding-bottom: 12px !important; font-size: 16px; color: var(--antona-nero); }
#userDocuments table.docsProductsTable th:nth-child(5),
#userDocuments table.docsProductsTable td:nth-child(5) { display: none; }   /* colonna vuota */
#userDocuments table.docsProductsTable thead th:not(:first-child) { text-align: right; }   /* titoli allineati ai numeri */
#userDocuments table.docsProductsTable td a { color: var(--antona-nero) !important; font-weight: 600; }


/* --- 20.6 I MIEI PREFERITI ------------------------------------------ */
#productsWishList .productsWrapper {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
#productsWishList .resultBox.prod {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  border: 0 !important;
  background: none !important;
}
#productsWishList .resultBox .content {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 14px !important;
  box-sizing: border-box;
  border: 1px solid #ececee;
  border-radius: 14px;
  background: #fff;
  transition: box-shadow .15s, transform .15s;
}
#productsWishList .resultBox .content:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
#productsWishList .resultBox .content > * { float: none !important; width: auto !important; margin-left: 0 !important; position: static; }
#productsWishList .imageLink { display: block; order: 0; margin: 0 0 10px !important; }
#productsWishList .imageLink img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
#productsWishList h2.title { order: 1; margin: 0 0 6px !important; padding: 0 !important; }
#productsWishList h2.title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font: 600 15px/1.35 var(--antona-font-testo, "Open Sans", sans-serif) !important;
  color: var(--antona-nero) !important;
  text-decoration: none !important;
}
#productsWishList dl { order: 2; display: flex; gap: 4px; margin: 0 0 6px !important; padding: 0 !important; font-size: 12px; color: #86868b; }
#productsWishList dl dt, #productsWishList dl dd { margin: 0 !important; padding: 0 !important; float: none !important; width: auto !important; }
#productsWishList dl .T9 { display: none; }                /* logo della marca: nascosto per pulizia */
#productsWishList .content > ul { order: 3; margin: auto 0 0 !important; padding: 0 !important; list-style: none; }
#productsWishList .content > ul > li { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
#productsWishList li.availab { font-size: 12px; }
#productsWishList li.availab strong,
#productsWishList li.price strong,
#productsWishList .warehouseList { display: none !important; }
#productsWishList h3.mainPrice {
  margin: 6px 0 0 !important;
  padding: 0 !important;
  font: 700 22px/1.2 var(--antona-font-titoli, Montserrat, sans-serif) !important;
  color: var(--antona-nero) !important;
}
#productsWishList h3.mainPrice span { font: inherit !important; color: inherit !important; }
/* "Rimuovi dai preferiti" = cuore rosso pieno nell'angolo della scheda */
#productsWishList .wishbutton {
  position: absolute !important;
  top: 10px;
  right: 10px;
  z-index: 2;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;                     /* Ready Pro mette una riga grigia */
  background: none !important;
}
#productsWishList a.whishListRemove {
  display: block;
  width: 40px;
  height: 40px;
  padding: 0 !important;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e30613' stroke='%23e30613' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-7.5-4.6-9.3-9.2C1.5 8.2 3.4 4.5 7 4.5c2.1 0 3.6 1.2 5 3 1.4-1.8 2.9-3 5-3 3.6 0 5.5 3.7 4.3 6.8-1.8 4.6-9.3 9.2-9.3 9.2z'/%3E%3C/svg%3E") no-repeat 50% 52% / 22px 22px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  font-size: 0 !important;                   /* testo nascosto, resta per i lettori di schermo */
  color: transparent !important;
  transition: transform .15s;
}
#productsWishList a.whishListRemove:hover { transform: scale(1.1); }
@media (max-width: 600px) {
  #productsWishList .productsWrapper { grid-template-columns: 1fr 1fr; gap: 10px; }
  #productsWishList .resultBox .content { padding: 10px !important; }
  #productsWishList h2.title a { font-size: 13px !important; }
  #productsWishList h3.mainPrice { font-size: 18px !important; }
  #productsWishList a.whishListRemove { width: 34px; height: 34px; background-size: 18px 18px !important; }
}


/* --- 20.7 LE MIE RECENSIONI ----------------------------------------- */
#userFeedback > table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #ececee;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  font-size: 14px;
}
#userFeedback > table th {
  padding: 12px 14px !important;
  border: 0 !important;
  background: #f5f5f7 !important;
  font-size: 12px;
  font-weight: 600;
  color: #6e6e73;
  text-align: left;
}
#userFeedback > table tbody td {
  padding: 12px 14px !important;
  border: 0 !important;
  border-top: 1px solid #ececee !important;
  vertical-align: top;
}
#userFeedback > table tfoot td {
  padding: 10px 14px !important;
  border: 0 !important;
  border-top: 1px solid #ececee !important;
  font-size: 12px;
  color: #86868b;
}
#userFeedback > br { display: none; }
/* nessuna recensione: messaggio al posto della tabella vuota */
#userFeedback:has(tbody:empty) > table { display: none; }
#userFeedback:has(tbody:empty)::after {
  content: "Non hai ancora scritto recensioni. Dopo un acquisto puoi valutare i prodotti dalla loro pagina: la tua opinione aiuta gli altri clienti.";  /* >>> MODIFICA: messaggio */
  display: block;
  padding: 28px 24px 28px 76px;
  border: 1px solid #ececee;
  border-radius: 14px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.9l-5.2 2.7 1-5.8-4.3-4.1 5.9-.9z'/%3E%3C/svg%3E") no-repeat 24px 50% / 32px 32px;
  font-size: 15px;
  line-height: 1.5;
  color: #6e6e73;
}


/* --- 20.8 SMARTPHONE -------------------------------------------------- */
@media (max-width: 600px) {
  #userDocuments, #regForm, #productsWishList, #pwdModify, #userFeedback, #directEpaymentBox { padding: 18px 12px 32px; }
  #userDocuments > h1.boxTitle,
  #productsWishList > h1.boxTitle,
  #pwdModify > .boxTitle,
  #body_userFeedback #colMid > h1,
  #regForm::before,
  #directEpaymentBox::before { font-size: 22px; margin-bottom: 14px; }
  #body_userFeedback #colMid > h1 { margin-top: 18px; padding: 0 12px; }
  #regForm form, #pwdModify form, #directEpaymentBox form { padding: 18px 16px; }
  #regForm input.butt1, #pwdModify input.butt1, #directEpaymentBox input.butt1 { width: 100%; min-width: 0; }

  /* ordini */
  #userDocuments > table > tbody > tr.head,
  #userDocuments > table > tbody > tr:is(.bkg1, .bkg2),
  #userDocuments > table > tbody > tr[id^="row_"] { padding-left: 14px; padding-right: 14px; }
  #userDocuments > table > tbody > tr:is(.bkg1, .bkg2):has(a.butt1) a:not(.butt1) { width: 100%; justify-content: center; box-sizing: border-box; }
  /* prodotti dell'ordine: una scheda per prodotto, etichetta a sinistra e valore a destra */
  #userDocuments table.docsProductsTable thead { display: none; }
  #userDocuments table.docsProductsTable,
  #userDocuments table.docsProductsTable tbody,
  #userDocuments table.docsProductsTable tfoot,
  #userDocuments table.docsProductsTable tr { display: block; width: 100%; }
  #userDocuments table.docsProductsTable tbody td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 12px !important;
    border: 0 !important;
    text-align: right !important;
  }
  #userDocuments table.docsProductsTable tbody td::before {
    content: attr(data-line);
    font-size: 12px;
    font-weight: 600;
    color: #86868b;
    text-align: left;
    position: static !important;             /* Ready Pro le sovrapporrebbe al valore */
    width: auto !important;
  }
  #userDocuments table.docsProductsTable tbody td:first-child { display: block; padding-top: 12px !important; text-align: left !important; }
  #userDocuments table.docsProductsTable tbody td:first-child::before { content: none; }
  #userDocuments table.docsProductsTable tbody tr { border-bottom: 1px solid #ececee; padding-bottom: 6px; }
  #userDocuments table.docsProductsTable tfoot td { display: block; }
  /* consegna e pagamento: etichetta sopra, valore sotto (l'IBAN va a capo) */
  #userDocuments table.docsTable,
  #userDocuments table.docsTable tbody,
  #userDocuments table.docsTable tr,
  #userDocuments table.docsTable th,
  #userDocuments table.docsTable td { display: block; width: auto !important; }
  #userDocuments table.docsTable th { padding-bottom: 2px !important; border-bottom: 0 !important; background: none !important; }
  #userDocuments table.docsTable td { padding-top: 0 !important; overflow-wrap: anywhere; }
  #userDocuments table.docsTable tr:last-child th { padding-bottom: 2px !important; }

  /* recensioni: tabella scorrevole di lato se ci sono molte colonne */
  #userFeedback > table { display: block; overflow-x: auto; }
  #userFeedback:has(tbody:empty)::after { padding: 20px 16px 20px 60px; background-position: 16px 50%; background-size: 28px 28px; font-size: 14px; }
}

/* ===================================================================
   21. CARRELLO E PASSAGGI DELL'ORDINE (solo CSS, nessun HTML da cambiare)
       1 Carrello ........... /?cmd=cartStep   (e /?cmd=showCart)
       2 Dati anagrafici .... /?cmd=regStep    (solo per chi non e' registrato)
       3 Destinazione ....... /?cmd=addressStep
       4 Spedizione ......... /?cmd=courierStep
       5 Pagamento .......... /?cmd=paymentStep
       6 Riepilogo .......... /?cmd=sendStep
       Stesso stile delle pagine dell'account (sezione 20).
   =================================================================== */

/* --- 21.1 BARRA DEI PASSAGGI (1-6) ---------------------------------- */
#orderStepNavBar { height: auto !important; margin: 6px 0 26px !important; padding: 0 !important; border: 0 !important; background: none !important; }
#orderStepNavBar ul {
  display: flex !important;
  height: auto !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
#orderStepNavBar li {
  position: relative;
  flex: 1 1 0;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: none !important;
  text-align: center;
}
/* linea che unisce i cerchi */
#orderStepNavBar li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: #e5e5ea;                       /* passaggi ancora da fare */
}
#orderStepNavBar li:first-child::before { display: none; }
#orderStepNavBar li.current::before,
#orderStepNavBar li:has(~ li.current)::before { background: var(--antona-nero); }   /* strada gia' fatta */
#orderStepNavBar li form { order: 1; position: relative; z-index: 1; display: flex !important; justify-content: center; width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important; }
#orderStepNavBar li strong {
  order: 2;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  color: #86868b;
}
/* il cerchio con il numero (e' il pulsante di Ready Pro) */
#orderStepNavBar li input[type="submit"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  box-sizing: border-box;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 2px solid #d2d2d7 !important;
  border-radius: 50% !important;
  background: #fff none !important;
  box-shadow: none !important;
  color: #86868b !important;
  font: 700 14px/32px var(--antona-font-titoli, Montserrat, sans-serif) !important;
  text-align: center;
  text-indent: 0 !important;
  cursor: default;
}
/* passaggio attuale: rosso */
#orderStepNavBar li.current strong { color: var(--antona-nero); }
#orderStepNavBar li.current input[type="submit"] {
  border-color: var(--antona-rosso) !important;
  background: var(--antona-rosso) none !important;
  color: #fff !important;
  box-shadow: 0 0 0 4px rgba(227, 6, 19, .12) !important;
}
/* passaggi gia' fatti: neri, si possono cliccare per tornare indietro */
#orderStepNavBar li:has(~ li.current) strong { color: var(--antona-nero); }
#orderStepNavBar li:has(~ li.current) input[type="submit"] {
  border-color: var(--antona-nero) !important;
  background: var(--antona-nero) none !important;
  color: #fff !important;
  cursor: pointer;
}
#orderStepNavBar li:has(~ li.current) input[type="submit"]:hover { border-color: var(--antona-rosso) !important; background: var(--antona-rosso) none !important; }

/* --- 21.2 COLONNA DESTRA: "Torna al negozio" e riquadro carrello ---- */
#backToShopButton {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  width: auto !important;
  height: 42px !important;
  margin: 0 0 14px !important;
  padding: 0 18px !important;
  border: 2px solid var(--antona-nero) !important;
  border-radius: 999px !important;
  background: #fff none !important;
  color: var(--antona-nero) !important;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
  box-sizing: border-box;
}
#backToShopButton::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
#backToShopButton span { padding: 0 !important; background: none !important; color: inherit !important; font: inherit !important; }
#backToShopButton:hover { border-color: var(--antona-rosso) !important; color: var(--antona-rosso) !important; }
#cartBoxRight {
  padding: 16px !important;
  border: 1px solid #ececee !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: none !important;
}
#cartBoxRight_Title {
  margin: 0 0 6px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
#cartBoxRight_Title span {
  padding: 0 !important;
  background: none !important;
  color: var(--antona-nero) !important;
  font: 700 15px/1.3 var(--antona-font-titoli, Montserrat, sans-serif) !important;
  text-transform: none !important;
}
#cartBoxRight p { margin: 0 0 12px !important; font-size: 13px; line-height: 1.5; color: #6e6e73; text-align: left !important; }
#cartBoxRight p strong { color: var(--antona-nero); }
#cartBoxRight input.butt1 {
  width: 100% !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 2px solid var(--antona-nero) !important;
  border-radius: 999px !important;
  background: #fff none !important;
  color: var(--antona-nero) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer;
}
#cartBoxRight input.butt1:hover { border-color: var(--antona-rosso) !important; color: var(--antona-rosso) !important; }

/* --- 21.3 TITOLI DEI PASSAGGI ---------------------------------------- */
#showCart > h1.boxTitle:empty { display: none !important; }   /* titolo vuoto di Ready Pro */
#otherDestinationsPage > h4,
#couriersListPage > h4,
#paymentsListPage > h4 {
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  font: 700 24px/1.25 var(--antona-font-titoli, Montserrat, sans-serif) !important;
  color: var(--antona-nero) !important;
  text-transform: none !important;
}

/* --- 21.4 CARRELLO: tabella dei prodotti ------------------------------ */
table.showCartTable {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid #ececee !important;
  border-radius: 16px !important;
  overflow: hidden;
  background: #fff !important;
  font-size: 14px;
}
table.showCartTable thead th {
  padding: 12px 14px !important;
  border: 0 !important;
  background: #f5f5f7 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #86868b !important;
}
table.showCartTable tbody td {
  padding: 16px 14px !important;
  border: 0 !important;
  background: #fff !important;
  vertical-align: middle !important;
}
table.showCartTable tbody tr.productDetails td { border-top: 1px solid #ececee !important; }
table.showCartTable tbody tr.productDetails:first-child td { border-top: 0 !important; }
table.showCartTable td.thumb { width: 104px; }
table.showCartTable td.thumb img {
  display: block;
  width: 88px !important;
  height: 88px !important;
  max-width: none !important;
  padding: 4px;
  box-sizing: border-box;
  border: 1px solid #f0f0f2;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}
table.showCartTable td.name > a {
  color: var(--antona-nero) !important;
  font: 600 15px/1.35 var(--antona-font-testo, "Open Sans", sans-serif) !important;
  text-decoration: none !important;
}
table.showCartTable td.name > a:hover { color: var(--antona-rosso) !important; }
table.showCartTable td.name .info { display: flex !important; gap: 6px; margin-top: 6px; font-size: 12px; color: #86868b; }
table.showCartTable td.name .info strong,
table.showCartTable td.name .info span { width: auto !important; padding: 0 !important; float: none !important; font-weight: 600; color: #86868b; }
/* quantita': menu a pillola */
table.showCartTable select.cart_form_quantity {
  -webkit-appearance: none;
  appearance: none;
  height: 40px !important;
  min-width: 76px;
  padding: 0 34px 0 16px !important;
  border: 1.5px solid #d2d2d7 !important;
  border-radius: 999px !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px 14px !important;
  color: var(--antona-nero) !important;
  font-size: 15px !important;
  font-weight: 600;
  cursor: pointer;
}
table.showCartTable select.cart_form_quantity:focus { outline: none; border-color: var(--antona-rosso) !important; box-shadow: 0 0 0 3px rgba(227, 6, 19, .12); }
table.showCartTable td.price { color: #6e6e73; white-space: nowrap; }
table.showCartTable td.itemTotal { font-weight: 700; color: var(--antona-nero); white-space: nowrap; }
/* cestino: cerchio grigio con l'icona (l'immagine vecchia viene spinta fuori) */
table.showCartTable input.deleteButtonImage {
  display: block;
  box-sizing: border-box;
  width: 40px !important;
  height: 40px !important;
  margin: 0 auto;
  padding: 40px 0 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 50%;
  background: #f5f5f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6M6 7l1 12.5A1.5 1.5 0 0 0 8.5 21h7a1.5 1.5 0 0 0 1.5-1.5L18 7M9 7V4.5A1 1 0 0 1 10 3.5h4a1 1 0 0 1 1 1V7'/%3E%3C/svg%3E") no-repeat 50% 50% / 20px 20px !important;
  cursor: pointer;
  transition: background-color .15s;
}
table.showCartTable input.deleteButtonImage:hover { background-color: #fdeeee !important; }
/* tempi di consegna */
table.showCartTable tr.deliveryTime td { padding-top: 0 !important; font-size: 13px; color: #6e6e73; }
table.showCartTable tr.deliveryTime strong { font-weight: 600; color: #6e6e73; }
table.showCartTable tr.deliveryTime .deliveryTimeDesc { color: #1a7f37; font-weight: 600; }   /* >>> MODIFICA: colore tempi di consegna */
/* totali */
table.showCartTable tfoot td {
  padding: 5px 14px !important;
  border: 0 !important;
  background: #fafafa !important;
  font-size: 14px;
  color: #6e6e73;
  text-align: right;
}
table.showCartTable tfoot tr:first-child td { padding-top: 16px !important; border-top: 1px solid #ececee !important; }
table.showCartTable tfoot tr.mainTotal td { padding-bottom: 16px !important; color: var(--antona-nero); vertical-align: middle; }
table.showCartTable tfoot strong { font-weight: 600; }
table.showCartTable tfoot tr.mainTotal strong { font-size: 16px; font-weight: 700; }
table.showCartTable tfoot .mainTotalValue h3 {
  margin: 0 !important;
  padding: 0 !important;
  font: 700 22px/1.2 var(--antona-font-titoli, Montserrat, sans-serif) !important;
  color: var(--antona-nero) !important;
  white-space: nowrap;
}

/* --- 21.5 CODICE PROMOZIONALE ---------------------------------------- */
#discountCodesBox {
  margin: 16px 0 0 !important;
  padding: 18px 20px !important;
  border: 1px solid #ececee !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: none !important;
}
#discountCodesBox .boxTitle {
  display: block !important;
  margin: 0 0 2px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  font: 700 15px/1.3 var(--antona-font-titoli, Montserrat, sans-serif) !important;
  color: var(--antona-nero) !important;
  text-transform: none !important;
}
#discountCodesBox form { background: none !important; padding: 0 !important; display: flex !important; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 !important; }
#discountCodesBox p { flex: 1 1 100%; width: auto !important; margin: 0 0 2px !important; padding: 0 !important; float: none !important; font-size: 13px !important; color: #6e6e73 !important; text-align: left !important; }
#discountCodesBox input[name="discountCode"] {
  flex: 1 1 200px;
  box-sizing: border-box;
  width: auto !important;
  max-width: 360px;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  float: none !important;
  border: 1.5px solid #d2d2d7 !important;
  border-radius: 999px !important;
  background: #fff !important;
  font-size: 16px !important;
  text-transform: uppercase;
}
#discountCodesBox input[name="discountCode"]:focus { outline: none; border-color: var(--antona-rosso) !important; box-shadow: 0 0 0 3px rgba(227, 6, 19, .12); }
#discountCodesBox input.butt1 {
  width: auto !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  float: none !important;
  border: 2px solid var(--antona-nero) !important;
  border-radius: 999px !important;
  background: #fff none !important;
  color: var(--antona-nero) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer;
}
#discountCodesBox input.butt1:hover { border-color: var(--antona-rosso) !important; color: var(--antona-rosso) !important; }

/* --- 21.6 PULSANTI "Prosegui", "Indietro", "Invia ordine" ------------ */
#colMid a.buttContinueAndOrder,
#colMid input.buttContinueAndOrder,
#colMid input#sendOrderButton {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto !important;
  min-width: 220px;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 32px !important;
  float: none !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--antona-rosso) none !important;   /* >>> MODIFICA: colore pulsante principale */
  box-shadow: 0 6px 18px rgba(227, 6, 19, .25) !important;
  color: #fff !important;
  font: 700 16px/1 var(--antona-font-titoli, Montserrat, sans-serif) !important;
  text-decoration: none !important;
  text-transform: none !important;
  cursor: pointer;
  transition: background-color .15s, transform .15s;
}
#colMid a.buttContinueAndOrder:hover,
#colMid input.buttContinueAndOrder:hover,
#colMid input#sendOrderButton:hover { background-color: var(--antona-rosso-scuro, #b8050f) !important; transform: translateY(-1px); }
#colMid a.buttContinueAndOrder::after {          /* freccetta (solo sul link, i pulsanti non la supportano) */
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
#colMid a.buttBack {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  width: auto !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  float: none !important;
  border: 2px solid var(--antona-nero) !important;
  border-radius: 999px !important;
  background: #fff none !important;
  color: var(--antona-nero) !important;
  font: 700 15px/1 var(--antona-font-titoli, Montserrat, sans-serif) !important;
  text-decoration: none !important;
}
#colMid a.buttBack::before {
  content: "";
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
#colMid a.buttBack:hover { border-color: var(--antona-rosso) !important; color: var(--antona-rosso) !important; }
/* posizione: "Indietro" a sinistra, "Prosegui" a destra */
#cartButtons { display: flex !important; justify-content: flex-end; margin: 22px 0 0 !important; padding: 0 !important; background: none !important; }
#otherDestinationsPage > form,
#couriersListPage > form,
#paymentsListPage > form {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
#otherDestinationsPage > form > table,
#couriersListPage > form > table,
#paymentsListPage > form > table { flex: 1 1 100%; margin: 0 0 10px !important; }

/* --- 21.7 TABELLE DEI PASSAGGI: niente griglia grigia ---------------- */
#otherDestinationsPage table, #otherDestinationsPage tbody, #otherDestinationsPage tr, #otherDestinationsPage th, #otherDestinationsPage td,
#couriersListPage table, #couriersListPage tbody, #couriersListPage tr, #couriersListPage th, #couriersListPage td,
#paymentsListPage table, #paymentsListPage tbody, #paymentsListPage tr, #paymentsListPage th, #paymentsListPage td,
#sendOrderDetails table, #sendOrderDetails tbody, #sendOrderDetails tr, #sendOrderDetails th, #sendOrderDetails td {
  display: block !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  text-align: left !important;
}
/* le etichette a sinistra ("Spedizione*", "Pagamento*", ...) sono gia' nel titolo */
#otherDestinationsPage th, #couriersListPage th, #paymentsListPage th,
#sendOrderDetails th.assuranceCalc { display: none !important; }

/* --- 21.8 DESTINAZIONE ------------------------------------------------ */
#otherDestinationsPage td.otherDestinations {
  position: relative;
  max-width: 520px;
  padding: 18px 20px !important;
  border: 1.5px solid var(--antona-rosso) !important;
  border-radius: 14px !important;
  background: #fffafa !important;
  font-size: 15px;
  line-height: 1.5;
}
#otherDestinationsPage td.otherDestinations span { display: block; color: #3a3a3c; }
#otherDestinationsPage td.otherDestinations .companyName { font-weight: 700; color: var(--antona-nero); }
#otherDestinationsPage a.destinationModifyButton {
  display: inline-flex !important;
  align-items: center;
  height: 36px;
  margin-top: 12px;
  padding: 0 16px !important;
  border: 1.5px solid #d2d2d7 !important;
  border-radius: 999px;
  background: #fff none !important;
  color: var(--antona-nero) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}
#otherDestinationsPage a.destinationModifyButton br { display: none; }
#otherDestinationsPage a.destinationModifyButton:hover { border-color: var(--antona-rosso) !important; color: var(--antona-rosso) !important; }

/* --- 21.9 SPEDIZIONE E PAGAMENTO: ogni scelta e' una scheda ---------- */
#couriersList, #paymentsList { display: grid !important; gap: 10px; margin: 0 !important; padding: 0 !important; list-style: none; }
#couriersList > li, #paymentsList > li {
  position: relative;
  margin: 0 !important;
  padding: 16px 18px !important;
  float: none !important;
  width: auto !important;
  border: 1.5px solid #e5e5ea !important;
  border-radius: 14px !important;
  background: #fff !important;
  list-style: none;
  transition: border-color .15s, box-shadow .15s;
}
#couriersList > li:hover, #paymentsList > li:hover { border-color: #c7c7cc !important; }
/* scelta selezionata: bordo rosso */
#couriersList > li:has(input:checked),
#paymentsList > li:has(input:checked) {
  border-color: var(--antona-rosso) !important;
  background: #fffafa !important;
  box-shadow: 0 0 0 3px rgba(227, 6, 19, .08);
}
#couriersList .title, #paymentsList .title { position: static !important; margin: 0 !important; padding: 0 !important; float: none !important; }
#couriersList label, #paymentsList label { display: flex !important; align-items: center; gap: 12px; margin: 0 !important; cursor: pointer; }
/* tutta la scheda si puo' toccare, non solo il pallino */
#couriersList label::after, #paymentsList label::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
#couriersList input[type="radio"], #paymentsList input[type="radio"] {
  flex: 0 0 auto;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  accent-color: var(--antona-rosso);
  cursor: pointer;
}
#couriersList label strong, #paymentsList label strong {
  position: relative !important;             /* il pallino disegnato da Ready Pro resta accanto al nome */
  font: 700 15px/1.3 var(--antona-font-titoli, Montserrat, sans-serif) !important;
  color: var(--antona-nero) !important;
}
/* pallino di Ready Pro: grigio, rosso quando e' scelto */
#couriersList label.lbl_radio_btn > input[type="radio"] + ::before,
#paymentsList label.lbl_radio_btn > input[type="radio"] + ::before { border: 1.5px solid #c7c7cc !important; }
#couriersList label.lbl_radio_btn > input[type="radio"]:checked + ::before,
#paymentsList label.lbl_radio_btn > input[type="radio"]:checked + ::before {
  border-color: var(--antona-rosso) !important;
  background: radial-gradient(var(--antona-rosso) 0, var(--antona-rosso) 42%, transparent 50%) !important;
}
#couriersList .notes, #paymentsList .notes {
  display: block !important;
  margin: 6px 0 0 32px !important;
  padding: 0 !important;
  float: none !important;
  font-size: 13px !important;
  line-height: 1.5;
  color: #6e6e73 !important;
}
#paymentsList .notes strong { color: #3a3a3c; }
#paymentsList [data-pp-message] { position: relative; z-index: 2; }   /* il link di PayPal resta cliccabile */
/* prezzo della spedizione a destra */
#couriersList .amount {
  position: absolute;
  top: 16px;
  right: 18px;
  margin: 0 !important;
  font: 700 16px/1.3 var(--antona-font-titoli, Montserrat, sans-serif);
  color: var(--antona-nero);
  text-align: right;
  pointer-events: none;                      /* il tocco sul prezzo seleziona la scheda */
}
#couriersList .amount .iva { display: block; font: 400 11px/1.3 var(--antona-font-testo, "Open Sans", sans-serif); color: #86868b; }
#couriersList .title { padding-right: 110px !important; }
#couriersList .notes { padding-right: 110px !important; }
/* avviso sotto i pagamenti (3D Secure) */
#paymentsListPage td.freeText p {
  margin: 4px 0 0 !important;
  padding: 12px 16px !important;
  border-radius: 12px;
  background: #fff4e0;                       /* >>> MODIFICA: colore avviso */
  color: #8a4b00 !important;
  font-size: 13px !important;
  line-height: 1.5;
}
#paymentsListPage td.freeText a { color: #8a4b00 !important; font-weight: 700; text-decoration: underline !important; }

/* --- 21.10 RIEPILOGO ORDINE ------------------------------------------- */
#sendOrderDetails { margin-top: 22px; }
#sendOrderDetails > .container {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: auto !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
}
#destinationBox, #courierBox, #paymentBox {
  position: relative;
  box-sizing: border-box;
  width: auto !important;
  margin: 0 !important;
  padding: 18px 20px !important;
  float: none !important;
  border: 1px solid #ececee !important;
  border-radius: 16px !important;
  background: #fff !important;
  font-size: 14px;
  line-height: 1.5;
  color: #3a3a3c;
}
#destinationBox .boxTitle, #courierBox .boxTitle, #paymentBox .boxTitle {
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
#destinationBox .boxTitle span, #courierBox .boxTitle span, #paymentBox .boxTitle span {
  padding: 0 !important;
  background: none !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #86868b !important;
}
#destinationBox > strong { display: block; margin-bottom: 4px; font-size: 13px; color: var(--antona-nero); }
#destinationBox p, #courierBox p, #paymentBox p { margin: 0 !important; padding: 0 !important; }
#courierBox p strong, #paymentBox p { font-weight: 700; color: var(--antona-nero); }
#courierBox p span { display: block; font-size: 13px; font-weight: 400; color: #6e6e73; }
#sendOrderDetails a.edit {
  position: absolute;
  top: 16px;
  right: 18px;
  padding: 0 !important;
  background: none !important;
  color: var(--antona-rosso) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}
#sendOrderDetails a.edit:hover { text-decoration: underline !important; }
/* note e assicurazione */
#sendOrderDetails th.generalNotes { margin: 0 0 6px !important; font-size: 14px !important; font-weight: 600 !important; color: var(--antona-nero) !important; }
#sendOrderDetails textarea {
  box-sizing: border-box;
  width: 100% !important;
  min-height: 84px;
  padding: 12px 16px !important;
  border: 1.5px solid #d2d2d7 !important;
  border-radius: 12px !important;
  background: #fff !important;
  font: 16px/1.5 var(--antona-font-testo, "Open Sans", sans-serif) !important;
  resize: vertical;
}
#sendOrderDetails textarea:focus { outline: none; border-color: var(--antona-rosso) !important; box-shadow: 0 0 0 3px rgba(227, 6, 19, .12); }
#sendOrderDetails tr.assuranceCalc { margin-top: 12px !important; }
#sendOrderDetails label.lbl_check_btn { display: inline-flex !important; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
#sendOrderDetails label.lbl_check_btn input { width: 18px !important; height: 18px; margin: 0 !important; accent-color: var(--antona-rosso); }
/* totale finale + "Invia ordine" */
#sendOrderDetails .confirmOrderTotal {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 16px;
  margin: 20px 0 0 !important;
  padding: 18px 20px !important;
  float: none !important;
  border-radius: 16px;
  background: #f5f5f7 !important;
  text-align: right;
}
#sendOrderDetails .confirmOrderTotal strong { font-size: 16px; color: var(--antona-nero); }
#sendOrderDetails .confirmOrderTotal h3 {
  margin: 0 !important;
  padding: 0 !important;
  font: 700 26px/1.2 var(--antona-font-titoli, Montserrat, sans-serif) !important;
  color: var(--antona-nero) !important;
}

/* --- 21.11 FINESTRELLA "Sei sicuro di voler eliminare il prodotto?" -- */
.fancybox-skin:has(.ajax_message) { border-radius: 18px !important; }
.ajax_message { padding: 10px 8px 4px; text-align: center; font-size: 15px; color: var(--antona-nero); }
.ajax_message .btn_wrapp { display: flex !important; justify-content: center; gap: 10px; margin-top: 14px; }
.ajax_message .btn_wrapp a.btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 22px !important;
  float: none !important;
  border: 2px solid var(--antona-nero) !important;
  border-radius: 999px !important;
  background: #fff none !important;
  color: var(--antona-nero) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}
.ajax_message .btn_wrapp a.btn.ok { border-color: var(--antona-rosso) !important; background: var(--antona-rosso) none !important; color: #fff !important; }

/* --- 21.12 FINESTRELLA "Modifica" DELLA DESTINAZIONE ----------------- */
.fancybox-skin:has(#otherDestination) { border-radius: 18px !important; padding: 0 !important; }
.fancybox-inner:has(#otherDestination) { width: auto !important; }
.fancybox-wrap:has(#otherDestination) { max-width: calc(100vw - 24px); }
#otherDestination { padding: 22px 24px; font-family: var(--antona-font-testo, "Open Sans", sans-serif); color: var(--antona-nero); }
#otherDestination strong.title {
  display: block;
  margin: 0 0 8px !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
  font: 700 18px/1.3 var(--antona-font-titoli, Montserrat, sans-serif) !important;
  color: var(--antona-nero) !important;
  text-align: left !important;
}
#otherDestination hr { margin: 18px 0 !important; border: 0 !important; border-top: 1px solid #ececee !important; }
#otherDestination label { display: block !important; margin: 0 0 12px !important; padding: 0 !important; float: none !important; }
#otherDestination label > strong:not(.title) {
  display: block;
  width: auto !important;
  margin: 0 0 5px !important;
  padding: 0 !important;
  float: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--antona-nero) !important;
  text-align: left !important;
}
#otherDestination input[type="text"],
#otherDestination select {
  box-sizing: border-box;
  width: 100% !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  float: none !important;
  border: 1.5px solid #d2d2d7 !important;
  border-radius: 12px !important;
  background-color: #fff !important;
  font-size: 16px !important;                /* 16px: l'iPhone non ingrandisce la pagina */
  color: var(--antona-nero) !important;
}
#otherDestination input[type="text"]:disabled,
#otherDestination select:disabled { background-color: #f5f5f7 !important; color: #6e6e73 !important; }
#otherDestination input[type="text"]:focus,
#otherDestination select:focus { outline: none; border-color: var(--antona-rosso) !important; box-shadow: 0 0 0 3px rgba(227, 6, 19, .12); }
#otherDestination a.destinationButton {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  height: 38px;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1.5px solid #d2d2d7 !important;
  border-radius: 999px;
  background: #fff none !important;
  color: var(--antona-nero) !important;
  font-size: 13px !important;
  font-weight: 700;
  text-decoration: none !important;
}
#otherDestination a.destinationButton::before { content: "+"; font-size: 18px; line-height: 1; color: var(--antona-rosso); }
#otherDestination a.destinationButton:hover { border-color: var(--antona-rosso) !important; }
#otherDestination input.butt1 {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100% !important;
  height: 50px !important;
  margin: 8px 0 0 !important;              /* toglie lo spostamento a destra di Ready Pro */
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--antona-rosso) none !important;
  color: #fff !important;
  font: 700 16px/1 var(--antona-font-titoli, Montserrat, sans-serif) !important;
  cursor: pointer;
}
#otherDestination input.butt1:hover { background-color: var(--antona-rosso-scuro, #b8050f) !important; }

/* --- 21.13 TABLET: riepilogo su una colonna ---------------------------- */
@media (max-width: 900px) {
  #sendOrderDetails > .container { grid-template-columns: 1fr; }
}

/* --- 21.14 SMARTPHONE -------------------------------------------------- */
@media (max-width: 600px) {
  /* passaggi: cerchi piu' piccoli, si legge solo il nome del passaggio attuale */
  #orderStepNavBar { margin-bottom: 18px !important; }
  #orderStepNavBar li { gap: 6px; }
  #orderStepNavBar li::before { top: 14px; }
  #orderStepNavBar li input[type="submit"] { width: 30px !important; height: 30px !important; font-size: 12px !important; line-height: 26px !important; }
  #orderStepNavBar li strong { font-size: 10px; }
  #orderStepNavBar li:not(.current) strong { visibility: hidden; }
  #orderStepNavBar li.current strong { white-space: nowrap; }
  #orderStepNavBar li.current:first-child strong { align-self: flex-start; }               /* il nome non esce dallo schermo */
  #orderStepNavBar li.current:last-child strong { align-self: flex-end; text-align: right; }

  #otherDestinationsPage > h4, #couriersListPage > h4, #paymentsListPage > h4 { font-size: 20px !important; }

  /* carrello: ogni prodotto e' una scheda (foto a sinistra, dati a destra) */
  table.showCartTable thead { display: none !important; }
  table.showCartTable tbody tr.productDetails {
    display: grid !important;
    grid-template-columns: 84px 1fr;
    column-gap: 14px;
    row-gap: 10px;
    box-sizing: border-box;
    width: 100% !important;
    padding: 16px 14px 10px;
    border-top: 1px solid #ececee;
  }
  table.showCartTable tbody tr.productDetails:first-child { border-top: 0; }
  table.showCartTable tbody tr.productDetails td {
    display: block !important;
    width: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
  }
  table.showCartTable tbody td::before,
  table.showCartTable td.name .info::before { content: none !important; display: none !important; }   /* via le etichette sovrapposte */
  table.showCartTable td.thumb { grid-column: 1; grid-row: 1 / 4; }
  table.showCartTable td.thumb img { width: 84px !important; height: 84px !important; }
  table.showCartTable td.name { grid-column: 2; grid-row: 1; }
  table.showCartTable td.name > a { font-size: 14px !important; }
  table.showCartTable td.qta { grid-column: 2; grid-row: 2; display: flex !important; align-items: center; gap: 12px; }
  table.showCartTable td.qta form { margin: 0 !important; }
  table.showCartTable td.qta input.deleteButton {      /* "Rimuovi" accanto alla quantita' */
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 4px 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: #6e6e73 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
  }
  table.showCartTable tbody tr.productDetails td.price,
  table.showCartTable tbody tr.productDetails td.delete { display: none !important; }   /* prezzo senza IVA: sul telefono basta il totale */
  table.showCartTable td.itemTotal { grid-column: 2; grid-row: 3; font-size: 17px; }
  table.showCartTable td.delete { display: none !important; }
  table.showCartTable tbody tr.deliveryTime { display: block !important; }
  table.showCartTable tbody tr.deliveryTime td { display: block !important; width: auto !important; padding: 0 14px 14px !important; }
  table.showCartTable tfoot, table.showCartTable tfoot tr { display: block !important; }
  table.showCartTable tfoot tr { display: flex !important; justify-content: space-between; align-items: center; background: #fafafa; }
  table.showCartTable tfoot td { display: block !important; width: auto !important; }
  table.showCartTable tfoot td.empty { display: none !important; }
  table.showCartTable tfoot td.label, table.showCartTable tfoot td.shippingLabel { text-align: left !important; }

  /* pulsanti a tutta larghezza, "Prosegui" sopra "Indietro" */
  #colMid a.buttContinueAndOrder, #colMid input.buttContinueAndOrder, #colMid input#sendOrderButton { width: 100% !important; min-width: 0; }
  #colMid a.buttBack { width: 100% !important; justify-content: center; }
  #otherDestinationsPage > form > .buttContinueAndOrder,
  #couriersListPage > form > .buttContinueAndOrder,
  #paymentsListPage > form > .buttContinueAndOrder { order: 2; }
  #otherDestinationsPage > form > .buttBack,
  #couriersListPage > form > .buttBack,
  #paymentsListPage > form > .buttBack { order: 3; }

  #couriersList > li, #paymentsList > li { padding: 14px !important; }
  #couriersList .title, #couriersList .notes { padding-right: 0 !important; }
  #couriersList .amount { position: static; display: block; margin: 6px 0 0 32px !important; text-align: left; }
  #couriersList .amount .iva { display: inline; margin-left: 6px; }

  #discountCodesBox { padding: 16px !important; }
  #discountCodesBox input[name="discountCode"] { max-width: none; }
  #discountCodesBox input.butt1 { flex: 1 1 100%; }

  #sendOrderDetails .confirmOrderTotal { justify-content: space-between; }
  #sendOrderDetails .confirmOrderTotal input#sendOrderButton { flex: 1 1 100%; }
}

/* ===================================================================
   22. ACCESSO E REGISTRAZIONE (per chi non ha ancora fatto l'accesso)
       Accedi / Registrati ...... /?cmd=homeRegUsers   (#loginAndRegister)
       Scelta Aziende/Privato ... /?cmd=regForm        (#preRegistrationPage)
       Modulo di registrazione .. /?cmd=regForm&regFormTypeIndex=...  (#regForm)
       Si vede anche durante l'ordine, al passaggio 2 "Dati anagrafici".
       Solo CSS, nessun HTML da cambiare.
   =================================================================== */

/* --- 22.1 ACCEDI / REGISTRATI ---------------------------------------- */
#loginAndRegister {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  box-sizing: border-box;
  max-width: 1000px;                         /* >>> MODIFICA: larghezza massima */
  width: auto !important;
  margin: 0 auto !important;
  padding: 28px 16px 48px !important;
  float: none !important;
  font-family: var(--antona-font-testo, "Open Sans", sans-serif);
  color: var(--antona-nero);
}
#loginAndRegister::before {
  content: "Accedi o crea un account";       /* >>> MODIFICA: titolo della pagina */
  grid-column: 1 / -1;
  font: 700 28px/1.2 var(--antona-font-titoli, Montserrat, sans-serif);
  color: var(--antona-nero);
}
#existentUserBox, #newUserBox {
  box-sizing: border-box;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 26px 24px !important;
  float: none !important;
  border: 1px solid #ececee !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: none !important;
}
#newUserBox { background: #f5f5f7 !important; border-color: #f5f5f7 !important; }   /* >>> MODIFICA: sfondo riquadro "nuovo cliente" */
#existentUserBox .boxTitle, #newUserBox .boxTitle { margin: 0 0 6px !important; padding: 0 !important; border: 0 !important; background: none !important; }
#existentUserBox .boxTitle span, #newUserBox .boxTitle span {
  padding: 0 !important;
  background: none !important;
  font: 700 20px/1.3 var(--antona-font-titoli, Montserrat, sans-serif) !important;
  color: var(--antona-nero) !important;
  text-transform: none !important;
}
#existentUserBox > p, #newUserBox > p { margin: 0 0 18px !important; padding: 0 !important; font-size: 14px !important; line-height: 1.5; color: #6e6e73 !important; text-align: left !important; }
#existentUserBox fieldset { margin: 0 !important; padding: 0 !important; border: 0 !important; }
#existentUserBox label { position: relative; display: block !important; margin: 0 0 14px !important; padding: 0 !important; float: none !important; }
#existentUserBox label strong {
  display: block;
  width: auto !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  float: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--antona-nero) !important;
  text-align: left !important;
}
#existentUserBox input[type="text"],
#existentUserBox input[type="password"] {
  box-sizing: border-box;
  width: 100% !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  float: none !important;
  border: 1.5px solid #d2d2d7 !important;
  border-radius: 12px !important;
  background: #fff !important;
  font-size: 16px !important;                /* 16px: l'iPhone non ingrandisce la pagina */
  color: var(--antona-nero) !important;
}
#existentUserBox input[type="text"]:focus,
#existentUserBox input[type="password"]:focus { outline: none; border-color: var(--antona-rosso) !important; box-shadow: 0 0 0 3px rgba(227, 6, 19, .12); }
/* pulsanti: "Accedi" rosso pieno, "Registrati" con il bordo */
#existentUserBox input.butt1,
#newUserBox input.butt1 {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  height: 50px !important;
  margin: 6px 0 0 !important;
  padding: 0 24px !important;
  float: none !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--antona-rosso) none !important;
  color: #fff !important;
  font: 700 16px/1 var(--antona-font-titoli, Montserrat, sans-serif) !important;
  text-transform: none !important;
  cursor: pointer;
}
#existentUserBox input.butt1:hover { background-color: var(--antona-rosso-scuro, #b8050f) !important; }
#newUserBox input.butt1 { border: 2px solid var(--antona-nero) !important; background: #fff none !important; color: var(--antona-nero) !important; }
#newUserBox input.butt1:hover { border-color: var(--antona-rosso) !important; color: var(--antona-rosso) !important; }
#newUserBox form { margin: 0 !important; }
/* vantaggi della registrazione (testo aggiunto dal CSS) */
#newUserBox form::before {
  content: "\2713  Segui i tuoi ordini e le spedizioni\A\2713  Salva i prodotti nei preferiti\A\2713  Acquisti pi\F9  veloci la prossima volta";   /* >>> MODIFICA: vantaggi (\F9 = ù) */
  display: block;
  margin: 0 0 18px;
  white-space: pre-wrap;
  text-align: left;
  font-size: 14px;
  line-height: 1.9;
  color: var(--antona-nero);
}
/* "Hai perso la password?" */
#existentUserBox form > a {
  display: block;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  background: none !important;
  font-size: 14px !important;
  font-weight: 600;
  color: #6e6e73 !important;
  text-align: center;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
#existentUserBox form > a:hover { color: var(--antona-rosso) !important; }
/* finestrella "Hai perso la password?" */
#resetPwdRequest { padding: 8px 6px; font-size: 14px; line-height: 1.5; color: #3a3a3c; }
#resetPwdRequest .boxTitle { margin: 0 0 8px !important; padding: 0 !important; background: none !important; border: 0 !important; font: 700 18px/1.3 var(--antona-font-titoli, Montserrat, sans-serif) !important; color: var(--antona-nero) !important; }
#resetPwdRequestForm { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
#resetPwdRequestForm label { flex: 1 1 100%; font-weight: 600; color: var(--antona-nero); }
#resetPwdRequestForm input[type="text"] {
  flex: 1 1 200px;
  box-sizing: border-box;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1.5px solid #d2d2d7 !important;
  border-radius: 12px !important;
  font-size: 16px !important;
}
#resetPwdRequestForm input.butt1 {
  height: 46px !important;
  margin: 0 !important;
  padding: 0 26px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--antona-rosso) none !important;
  color: #fff !important;
  font-weight: 700 !important;
  cursor: pointer;
}
.fancybox-skin:has(#resetPwdRequest) { border-radius: 18px !important; }

/* --- 22.2 SCELTA "AZIENDE" O "PRIVATO" ------------------------------- */
#preRegistrationPage { box-sizing: border-box; max-width: 1000px; margin: 0 auto; padding: 20px 16px 48px; }
#preRegistrationPage > section {          /* banner: lo stile scritto nella pagina viene solo addolcito */
  margin: 0 0 22px;
  padding: 70px 20px 60px !important;
  border-radius: 18px;
  overflow: hidden;
  background-color: var(--antona-rosso) !important;   /* >>> MODIFICA: colore di riserva (l'immagine Testata.jpg oggi non esiste e la scritta bianca spariva) */
  background-size: cover !important;
  background-position: center !important;
  text-align: center;
}
#preRegistrationPage > section h1 { margin: 0 0 6px !important; padding: 0 !important; background: none !important; border: 0 !important; }
#preRegistrationPage > section h1 span { font: 700 clamp(30px, 6vw, 46px)/1.1 var(--antona-font-titoli, Montserrat, sans-serif) !important; letter-spacing: .02em; }
#preRegistrationPage > section p { margin: 0 !important; font-size: clamp(16px, 2.6vw, 21px) !important; line-height: 1.3 !important; }
#preRegistrationPage > section p br + br { display: none; }
#preRegistrationPage > table, #preRegistrationPage > table > tbody { display: block !important; width: auto !important; border: 0 !important; }
#preRegistrationPage > table > tbody { display: grid !important; grid-template-columns: 1fr 1fr; gap: 16px; }
#preRegistrationPage > table > tbody > tr {
  position: relative;
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  padding: 24px !important;
  border: 1.5px solid #e5e5ea !important;
  border-radius: 16px !important;
  background: #fff !important;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
#preRegistrationPage > table > tbody > tr:focus-within,
#preRegistrationPage > table > tbody > tr:hover { border-color: var(--antona-rosso) !important; box-shadow: 0 8px 24px rgba(0, 0, 0, .08); transform: translateY(-2px); }
#preRegistrationPage > table th, #preRegistrationPage > table td { display: block !important; width: auto !important; height: auto !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; text-align: left !important; }
#preRegistrationPage > table th a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 0 !important;
  border: 0 !important;
  outline: none !important;
  background: none !important;
  color: var(--antona-nero) !important;
  font: 700 20px/1.3 var(--antona-font-titoli, Montserrat, sans-serif) !important;
  text-decoration: none !important;
}
#preRegistrationPage > table th a::before { content: ""; position: absolute; inset: 0; border-radius: 16px; }   /* tutta la scheda si puo' toccare */
#preRegistrationPage > table th a::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-top: 2px solid var(--antona-rosso);
  border-right: 2px solid var(--antona-rosso);
  transform: rotate(45deg);
}
#preRegistrationPage > table td p { margin: 0 !important; font-size: 14px; color: #6e6e73; }
#preRegistrationPage > table td p em, #preRegistrationPage > table td p font { font-style: normal; font-family: inherit !important; }

/* --- 22.3 MODULO DI REGISTRAZIONE ------------------------------------ */
/* lo stile dei campi e' quello della sezione 20 ("I miei dati") */
#body_regForm #regForm::before { content: "Crea il tuo account"; }   /* >>> MODIFICA: titolo modulo registrazione */
@media (min-width: 768px) {
  /* coppie di campi affiancate: Cognome+Nome, Via+Civico, Citta'+Provincia, ... */
  #body_regForm #regForm form > table > tbody > tr:has(.th-name),
  #body_regForm #regForm form > table > tbody > tr:has(.th-address) { grid-column: auto; }
  #body_regForm #regForm form > table > tbody > tr:has(.th-userTypeID),
  #body_regForm #regForm form > table > tbody > tr:has(.th-privacy),
  #body_regForm #regForm form > table > tbody > tr:has(> td[colspan]) { grid-column: 1 / -1; }
}
#body_regForm #regForm .td-pwd .notes { display: block; margin-top: 6px; font-size: 12px; color: #86868b; }
/* privacy: testo in un riquadro che scorre, le due scelte come righe da toccare */
#body_regForm #regForm .td-privacy fieldset { display: block !important; font-size: 14px; line-height: 1.5; color: var(--antona-nero); }
#body_regForm #regForm .td-privacy textarea {
  box-sizing: border-box;
  width: 100% !important;
  height: 110px !important;
  margin: 0 0 10px !important;
  padding: 12px 14px !important;
  border: 1.5px solid #e5e5ea !important;
  border-radius: 12px !important;
  background: #fafafa !important;
  font: 13px/1.5 var(--antona-font-testo, "Open Sans", sans-serif) !important;
  color: #6e6e73 !important;
  resize: vertical;
}
#body_regForm #regForm .td-privacy input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  margin: 8px 8px 8px 0 !important;
  vertical-align: middle;
  accent-color: var(--antona-rosso);
  cursor: pointer;
}
#body_regForm #regForm tr:has(> td[colspan]) p { margin: 0 !important; font-size: 13px; color: #6e6e73; }
#body_regForm #regForm tr:has(> td[colspan]) font { font-family: inherit !important; }
#body_regForm #regForm tr:has(> td[colspan]) a { color: var(--antona-rosso) !important; font-weight: 600; }

/* --- 22.4 SMARTPHONE --------------------------------------------------- */
@media (max-width: 767px) {
  #loginAndRegister { grid-template-columns: 1fr; gap: 14px; padding: 18px 12px 32px !important; }
  #loginAndRegister::before { font-size: 22px; }
  #existentUserBox, #newUserBox { padding: 20px 16px !important; }
  #preRegistrationPage { padding: 14px 12px 32px; }
  #preRegistrationPage > section { padding: 44px 16px 40px !important; }
  #preRegistrationPage > table > tbody { grid-template-columns: 1fr; gap: 12px; }
  #preRegistrationPage > table > tbody > tr { padding: 18px !important; }
}


/* ======================== FINE REGOLE CSS ======================== */

