/* ==========================================================================
   place/sito/veste.css  —  R50 (12/10/2026): "veste nuova" delle pagine di prenotazione di sempre
   Colori e caratteri dal tema della struttura (variabili --s-*); vale solo con html[data-s-veste] body
   (aggiunto da place/sito/veste.php quando il nuovo sito e' attivo). Le pagine non cambiano:
   cambia solo il loro aspetto.
   ========================================================================== */
.s-cornice { display: contents; font: 300 var(--s-base)/1.65 var(--s-f-testo); color: var(--s-testo); }
html[data-s-veste] body { background: var(--s-sfondo) !important; color: var(--s-testo); font-family: var(--s-f-testo); font-weight: 300; margin: 0 !important; }
/* testata, menu e piede di prima: sostituiti da quelli del nuovo sito */
html[data-s-veste] body > .header, html[data-s-veste] body > .menubar, html[data-s-veste] body > .alonemenu,
html[data-s-veste] body > .footer, html[data-s-veste] body .newwapp, html[data-s-veste] body #openmenu { display: none !important; }
html[data-s-veste] body .s-testa { font-size: var(--s-base); }
html[data-s-veste] body .s-piede { margin-top: 70px; }
/* caratteri e colori del contenuto */
html[data-s-veste] body :where(.corpo, .formcontainer, #element_body, .top_content, .top_content-request, .rightcol, .dati_prenotazione, .div_form, .col6, .col12, p, span, label, td, th, li, input, select, textarea, button, a, strong, b) { font-family: var(--s-f-testo); }
html[data-s-veste] body :where(.corpo, .formcontainer, #element_body) { color: var(--s-testo); }
html[data-s-veste] body .corpo h1, html[data-s-veste] body .corpo h2, html[data-s-veste] body .corpo h3, html[data-s-veste] body #element_body h1, html[data-s-veste] body #element_body h2,
html[data-s-veste] body .nomearticolo1, html[data-s-veste] body .nomearticolo, html[data-s-veste] body .nomearticolo-home {
  font-family: var(--s-f-titoli) !important; font-style: var(--s-titoli-stile); font-weight: var(--s-titoli-peso) !important; color: var(--s-titoli) !important; text-transform: none !important; letter-spacing: 0 !important; line-height: 1.15; }
html[data-s-veste] body .corpo h1, html[data-s-veste] body #element_body h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem) !important; margin: 0 0 18px; text-align: left; }
html[data-s-veste] body .corpo h2, html[data-s-veste] body #element_body h2 { font-size: 1.6rem !important; }
html[data-s-veste] body .corpo a:not(.s-btn):not([class*="btn"]) { color: var(--s-accento); }
/* contenitore della pagina: stessa larghezza del sito */
html[data-s-veste] body > .corpo, html[data-s-veste] body > #element_body { max-width: var(--s-larghezza); margin: 0 auto !important; padding: 40px 20px 0 !important; box-sizing: border-box; background: transparent !important; float: none !important; width: auto !important; }
html[data-s-veste] body .formcontainer { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 48px; align-items: start; width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; background: transparent !important; }
html[data-s-veste] body .formcontainer > * { float: none !important; width: auto !important; max-width: none !important; margin: 0 !important; }
html[data-s-veste] body .top_content-request { position: sticky; top: 96px; background: var(--s-superficie); border: 1px solid var(--s-bordo); border-radius: var(--s-r); box-shadow: var(--s-ombra); padding: 18px !important; box-sizing: border-box; }
html[data-s-veste] body .top_content-request img, html[data-s-veste] body .top-img img { width: 100% !important; height: auto !important; border-radius: calc(var(--s-r) * .8); display: block; object-fit: cover; aspect-ratio: 4 / 3; }
html[data-s-veste] body .top-img { width: 100% !important; margin: 0 0 12px !important; }
html[data-s-veste] body .nomearticolo1 { font-size: 1.6rem !important; margin: 6px 0 10px !important; position: static !important; transform: none !important; }
html[data-s-veste] body .prezzo, html[data-s-veste] body .prezzostruttura, html[data-s-veste] body #prezzovariabile2 { color: var(--s-titoli) !important; font-family: var(--s-f-titoli) !important; font-weight: var(--s-titoli-peso) !important; }
html[data-s-veste] body .campigrid { font-size: .9rem; color: var(--s-tenue); }
html[data-s-veste] body .rightcol { background: var(--s-superficie); border: 1px solid var(--s-bordo); border-radius: var(--s-r); padding: 30px 30px 34px !important; box-sizing: border-box; }
/* campi */
html[data-s-veste] body .corpo label, html[data-s-veste] body #element_body label { font: 500 .88rem/1.45 var(--s-f-testo) !important; letter-spacing: 0; text-transform: none; color: var(--s-titoli) !important; }
html[data-s-veste] body #check-flex label { font: 500 .72rem/1.5 var(--s-f-testo) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--s-accento) !important; }
html[data-s-veste] body .dati_prenotazione, html[data-s-veste] body .dati_prenotazione > div, html[data-s-veste] body .div_form { background: transparent !important; box-shadow: none !important; }
html[data-s-veste] body .corpo input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]),
html[data-s-veste] body .corpo select, html[data-s-veste] body .corpo textarea,
html[data-s-veste] body #element_body input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]), html[data-s-veste] body #element_body select, html[data-s-veste] body #element_body textarea {
  background: var(--s-sfondo) !important; border: 1px solid var(--s-bordo) !important; border-radius: calc(var(--s-r) * .75) !important; box-shadow: none !important;
  color: var(--s-titoli) !important; font: 400 1rem var(--s-f-testo) !important; padding: 11px 13px !important; box-sizing: border-box; }
html[data-s-veste] body .corpo input:focus, html[data-s-veste] body .corpo select:focus, html[data-s-veste] body .corpo textarea:focus { outline: 2px solid var(--s-accento) !important; outline-offset: 1px; }
html[data-s-veste] body #check-flex { background: var(--s-sfondo) !important; border: 1px solid var(--s-bordo) !important; border-radius: calc(var(--s-r) * .75) !important; box-shadow: none !important; color: var(--s-titoli); }
html[data-s-veste] body input[type="checkbox"], html[data-s-veste] body input[type="radio"] { accent-color: var(--s-primario); width: 18px; height: 18px; vertical-align: -3px; }
/* pulsanti */
html[data-s-veste] body .corpo button, html[data-s-veste] body #element_body button, html[data-s-veste] body .element_button button, html[data-s-veste] body .corpo input[type="submit"], html[data-s-veste] body .corpo input[type="button"],
html[data-s-veste] body .basicbtn, html[data-s-veste] body .button-home, html[data-s-veste] body #submit {
  background: var(--s-primario) !important; color: var(--s-su-primario) !important; border: 1px solid var(--s-primario) !important; border-radius: var(--s-r-btn) !important;
  font: 500 .85rem/1.2 var(--s-f-testo) !important; letter-spacing: var(--s-btn-spazio) !important; text-transform: var(--s-btn-case) !important; padding: 14px 22px !important; box-shadow: none !important; cursor: pointer; }
html[data-s-veste][data-pulsanti="contorno"] body .corpo button, html[data-s-veste][data-pulsanti="contorno"] body .element_button button { background: transparent !important; color: var(--s-primario) !important; }
html[data-s-veste] body .corpo button:hover, html[data-s-veste] body .element_button button:hover { filter: brightness(.92); }
html[data-s-veste] body .corpo button:disabled { opacity: .5; cursor: not-allowed; }
html[data-s-veste] body .element_button { width: 100% !important; margin-top: 10px; }
html[data-s-veste] body .element_button button, html[data-s-veste] body #conferma_procedi { width: 100% !important; }
html[data-s-veste] body .corpo button i, html[data-s-veste] body .element_button button i { margin-right: 8px; }
/* pulsanti secondari (calendario, "Refresh captcha", domande "?") */
html[data-s-veste] body .corpo button.ui-datepicker-trigger { padding: 7px 11px !important; width: auto !important; }
html[data-s-veste] body .corpo button[onclick*="aptcha"], html[data-s-veste] body .corpo input[type="button"][onclick*="aptcha"] { white-space: nowrap; width: auto !important; }
html[data-s-veste] body .corpo button.back_button, html[data-s-veste] body .corpo .btntopbar, html[data-s-veste] body .corpo [onclick*="refresh" i] {
  background: transparent !important; color: var(--s-primario) !important; padding: 9px 14px !important; }
/* riquadri e tabelle del pagamento */
html[data-s-veste] body .corpo table { border-collapse: collapse; width: 100%; }
html[data-s-veste] body .corpo th { color: var(--s-accento); font: 500 .72rem var(--s-f-testo); letter-spacing: .12em; text-transform: uppercase; }
html[data-s-veste] body .corpo td, html[data-s-veste] body .corpo th { border-color: var(--s-bordo) !important; }
html[data-s-veste] body .corpo tr[style*="d72885"], html[data-s-veste] body .corpo [style*="background-color:#d72885"], html[data-s-veste] body .corpo [style*="background-color: #d72885"] { background: var(--s-primario) !important; color: var(--s-su-primario) !important; }
html[data-s-veste] body .corpo [style*="color:#d72885"], html[data-s-veste] body .corpo [style*="color: #d72885"] { color: var(--s-accento) !important; }
html[data-s-veste] body #boxpaypal, html[data-s-veste] body #boxbonifico, html[data-s-veste] body .checkboxcheckout { border-color: var(--s-bordo) !important; border-radius: var(--s-r) !important; }
/* pagine di ringraziamento: le schede "potrebbero interessarti" */
html[data-s-veste] body .boxprodotto3x3 { background: var(--s-superficie) !important; border: 1px solid var(--s-bordo) !important; border-radius: var(--s-r) !important; box-shadow: none !important; overflow: hidden; }
html[data-s-veste] body .boxprodotto3x3 img { border-radius: 0 !important; }
/* spinner di attesa */
html[data-s-veste] body .loadingpopup { background: rgba(0,0,0,.35) !important; }
@media (max-width: 980px) {
  html[data-s-veste] body .formcontainer { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  html[data-s-veste] body .top_content-request { position: static; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 16px; align-items: start; }
  html[data-s-veste] body .top_content-request .top-img { grid-row: span 3; margin: 0 !important; }
  html[data-s-veste] body .top_content-request:not(:has(.top-img img)) { display: block; }
  html[data-s-veste] body .rightcol { padding: 22px 18px 26px !important; }
  html[data-s-veste] body .corpo .col6 { width: 100% !important; float: none !important; }
  html[data-s-veste] body > .corpo, html[data-s-veste] body > #element_body { padding: 24px 16px 0 !important; }
}
/* tutto il testo del contenuto con il carattere del sito (icone escluse) */
html[data-s-veste] body .corpo :not(i):not(.fa):not(.fas):not(.fab):not(.far):not(svg):not(svg *):not(h1):not(h2):not(h3):not(.nomearticolo1):not(.nomearticolo-home),
html[data-s-veste] body #element_body :not(i):not(.fa):not(.fas):not(.fab):not(.far):not(svg):not(svg *):not(h1):not(h2):not(h3):not(.nomearticolo-home) { font-family: var(--s-f-testo) !important; }
html[data-s-veste] body .button-home { height: auto !important; min-height: 0 !important; line-height: 1.2 !important; padding: 13px 18px !important; display: inline-flex !important; align-items: center; justify-content: center; }
html[data-s-veste] body .button-home * { margin: 0 !important; padding: 0 !important; color: inherit !important; }
html[data-s-veste] body .s-cornice .s-logo, html[data-s-veste] body .s-cornice h4 { font-family: var(--s-f-titoli) !important; font-style: var(--s-titoli-stile); font-weight: var(--s-titoli-peso); }
html[data-s-veste] body .s-cornice .s-piede h4 { font-family: var(--s-f-testo) !important; font-style: normal; font-weight: 500; }
html[data-s-veste] body .s-cornice a, html[data-s-veste] body .s-cornice p, html[data-s-veste] body .s-cornice button { font-family: var(--s-f-testo); }
