/* ═══════════════════════════════════════════════════════════════════
   ordini-common.css  —  Studio Rosas · Stili condivisi wizard ordini
   Carica questo file PRIMA del CSS specifico del prodotto.
   ═══════════════════════════════════════════════════════════════════ */


/* ════════════════════════════════
   RESET
════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }


/* ════════════════════════════════
   VARIABILI — TEMA SCURO (default)
════════════════════════════════ */
:root {
  --red:          #b90b10;
  --red-dark:     #8a0008;
  --red-soft:     rgba(185,11,16,0.15);
  /* --accent era un azzurro: rimpiazzato con un ambra, cosi' resta un
     colore distinto dal rosso principale (serve a marcare lo stato
     "imminente" vs "attivo" del banner ferie) senza reintrodurre il blu. */
  --accent:       #d99a1c;
  --accent-soft:  rgba(217,154,28,0.18);
  --dark:         #1a1c22;
  --anthracite:   #252830;
  --mid:          #3a3e4a;
  --border:       rgba(255,255,255,0.08);
  --muted:        rgba(232,232,232,0.40);
  --text:         #e8e4de;
  --text-sub:     rgba(232,232,232,0.65);
  --card-shadow:  none;
  --panel-shadow: none;
}


/* ════════════════════════════════
   VARIABILI — TEMA CHIARO (override)
════════════════════════════════ */
body.theme-light {
  --red:          #e63946;
  --red-dark:     #c1121f;
  --red-soft:     rgba(230,57,70,0.12);
  --accent:       #b8790f;
  --accent-soft:  rgba(184,121,15,0.12);
  --dark:         #f5f7fa;
  --anthracite:   #ffffff;
  --mid:          #e2e5ea;
  --border:       rgba(0,0,0,0.09);
  --muted:        rgba(26,28,34,0.42);
  --text:         #1a1c22;
  --text-sub:     rgba(26,28,34,0.65);
  --card-shadow:  0 4px 14px rgba(0,0,0,0.08);
  --panel-shadow: 0 2px 10px rgba(0,0,0,0.07);
}


/* ════════════════════════════════
   BODY
════════════════════════════════ */
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background .25s, color .25s;
}


/* ════════════════════════════════
   PAGE WRAPPER
════════════════════════════════ */
.page-wrap { display: flex; flex-direction: column; min-height: 100vh; }


/* ════════════════════════════════
   PAGE HEADER
════════════════════════════════ */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  background: var(--anthracite);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ── Brand ─────────────────────────────────────────────────────── */
.site-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.site-brand em { color: var(--red); font-style: normal; }

/* ── Link ← Torna ──────────────────────────────────────────────── */
.site-back {
  font-size: 0.75rem;
  color: var(--text-sub);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color .15s;
}
.site-back:hover { color: var(--text); }

/* ── Header actions wrapper ─────────────────────────────────────── */
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ── Theme toggle ───────────────────────────────────────────────── */
.theme-toggle {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-family: inherit;
  cursor: pointer;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: border-color .15s, color .15s;
  white-space: nowrap;
}
.theme-toggle:hover { border-color: var(--text-sub); color: var(--text); }
.theme-toggle .tt-icon { font-size: 0.85rem; }


/* ════════════════════════════════
   BARRA DI AVANZAMENTO (prog-step)
════════════════════════════════ */
.progress-bar-wrap {
  flex: 1;
  display: flex;
  align-items: flex-start;   /* i wrap colonna iniziano tutti dall'alto */
  max-width: 380px;
  margin: 0 auto;
}

/* ── Wrapper colonna (cerchio + etichetta) ──────────────────────── */
.prog-step-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

/* ── Cerchio ────────────────────────────────────────────────────── */
.prog-step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
  transition: all .2s;
  background: var(--anthracite);
}
/* Stato propagato dal wrapper al cerchio */
.prog-step-wrap.active .prog-step { background: var(--red);  border-color: var(--red);  color: #fff; }
.prog-step-wrap.done   .prog-step { background: #4caf80;     border-color: #4caf80;     color: #fff; }

/* ── Etichetta testo sotto il cerchio ───────────────────────────── */
.prog-step-label {
  font-size: 0.50rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s;
}
.prog-step-wrap.active .prog-step-label { color: var(--text); }
.prog-step-wrap.done   .prog-step-label { color: #4caf80; }

/* ── Linea di connessione ───────────────────────────────────────── */
.prog-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin-top: 14px;           /* centra con il cerchio da 30px: (30/2) - 1 = 14px */
  transition: background .3s;
}
.prog-line.done { background: #4caf80; }


/* ════════════════════════════════
   STEP CONTAINER / STEP WRAP
════════════════════════════════ */
.steps-container { flex: 1; overflow-x: hidden; }

.step-wrap         { display: none; }
.step-wrap.active  { display: block; }

/* Titolo e sottotitolo step */
.step-title {
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.step-sub {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 20px;
}


/* ════════════════════════════════
   PULSANTI NAVIGAZIONE
════════════════════════════════ */

/* Pulsante azione principale (rosso) */
.btn-to-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .15s, transform .15s;
  margin-top: 6px;
}
.btn-to-next:hover:not(:disabled) { opacity: .88; transform: translateY(-1px); }
.btn-to-next:disabled { opacity: .42; cursor: default; transform: none; }

/* Pulsante ← indietro (testo senza sfondo) */
.btn-back-text {
  background: none;
  border: none;
  color: var(--text-sub);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
  padding: 8px 0;
  transition: color .15s;
}
.btn-back-text:hover { color: var(--text); }

/* Riga di navigazione step (back + next) */
.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
}
.step-nav .btn-to-next { margin-top: 0; }

/* Pulsante secondario neutro (funziona in entrambi i temi) */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(128,128,128,0.13);
  border: 1.5px solid rgba(128,128,128,0.35);
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  transition: background .15s;
}
.btn-secondary:hover { background: rgba(128,128,128,0.24); }

/* Alias stampa: step2-nav-btn-secondary → btn-secondary */
.step2-nav-btn-secondary {
  background: rgba(128,128,128,0.13) !important;
  border: 1.5px solid rgba(128,128,128,0.35) !important;
  color: var(--text) !important;
}
.step2-nav-btn-secondary:hover {
  background: rgba(128,128,128,0.24) !important;
}


/* ════════════════════════════════
   STEP 3 — BLOCCHI RIEPILOGO
════════════════════════════════ */
.step3-block {
  background: var(--anthracite);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.step3-block-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Riepilogo box (alias) */
.riepilogo-box {
  background: var(--anthracite);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.riepilogo-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 12px;
}
.riepilogo-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.riepilogo-row:last-child { border-bottom: none; }


/* ════════════════════════════════
   FORM ELEMENTI
════════════════════════════════ */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: flex; flex-direction: column; gap: 4px; }

.form-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.form-input,
.form-textarea {
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--mid);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  width: 100%;
  transition: border-color .15s;
}
.form-input:focus,
.form-textarea:focus  { border-color: var(--accent); }
.form-input.error     { border-color: var(--red); }
.form-textarea        { resize: vertical; min-height: 70px; }

/* Quantità */
.qty-row { display: flex; align-items: center; gap: 12px; }
.qty-btn {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--mid);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.qty-btn:hover   { border-color: var(--accent); color: var(--accent); }
.qty-val { font-size: 1.1rem; font-weight: 700; min-width: 30px; text-align: center; }


/* ════════════════════════════════
   SCHEDE CONSEGNA
════════════════════════════════ */
.consegna-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.cons-card {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all .15s;
  background: var(--anthracite);
}
.cons-card.active       { border-color: var(--red); background: var(--red-soft); }
.cons-card-label        { font-weight: 700; font-size: 0.88rem; margin-bottom: 2px; }
.cons-card-desc         { font-size: 0.75rem; color: var(--text-sub); line-height: 1.3; }
.cons-card-badge        { display: inline-block; font-size: 0.68rem; font-weight: 700; padding: 2px 7px; border-radius: 10px; margin-top: 4px; }
.badge-listino          { background: var(--border); color: var(--muted); }
.badge-sconto           { background: rgba(76,175,80,0.18); color: #2e7d32; }


/* ════════════════════════════════
   SCHEDE PAGAMENTO
════════════════════════════════ */
.pag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pag-card {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all .15s;
  background: var(--anthracite);
}
.pag-card.active    { border-color: var(--red); background: var(--red-soft); }
.pag-card-title     { font-weight: 700; font-size: 0.88rem; display: flex; align-items: center; gap: 6px; }
.pag-card-desc      { font-size: 0.75rem; color: var(--text-sub); margin-top: 3px; }


/* ════════════════════════════════
   TOTALE ORDINE
════════════════════════════════ */
.total-box {
  background: var(--anthracite);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 14px;
}
.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  padding: 4px 0;
}
.total-row.main {
  font-size: 1.1rem;
  font-weight: 700;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 6px;
}
.total-sconto { color: #4caf50; }
.total-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 8px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}


/* ════════════════════════════════
   PRIVACY / CONSENSO
════════════════════════════════ */
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-top: 4px;
  cursor: pointer;
}
.privacy-check input { margin-top: 2px; flex-shrink: 0; accent-color: var(--red); }
.privacy-check a     { color: var(--red); }


/* ════════════════════════════════
   AREA UPLOAD
════════════════════════════════ */
.upload-area,
.upload-zone {
  border: 2.5px dashed var(--border);
  border-radius: 16px;
  background: var(--anthracite);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.upload-area:hover,
.upload-area.dragover,
.upload-zone:hover,
.upload-zone.dragover  { border-color: var(--red); background: var(--red-soft); }

.upload-icon           { font-size: 2.5rem; color: var(--muted); margin-bottom: 12px; }
.upload-label,
.upload-text           { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.upload-hint           { font-size: 0.8rem; color: var(--text-sub); }
.upload-area input[type=file],
#fileInput             { display: none; }


/* ════════════════════════════════
   STATO INVIO / SUCCESSO
════════════════════════════════ */
.invio-status { margin-bottom: 10px; }

.success-wrap  { text-align: center; padding: 40px 20px; }
.success-icon  { font-size: 3rem; margin-bottom: 12px; color: #4caf50; }
.success-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.success-sub   { font-size: 0.9rem; color: var(--text-sub); margin-bottom: 20px; }


/* ════════════════════════════════
   BANNER ALERT FORM
════════════════════════════════ */
.alert-banner {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}
.alert-banner.error {
  background: rgba(185,11,16,0.12);
  border: 1px solid rgba(185,11,16,0.30);
  color: #e8a0a2;
}
.alert-banner.success {
  background: rgba(76,175,80,0.12);
  border: 1px solid rgba(76,175,80,0.30);
  color: #4caf82;
}
.alert-banner.warning {
  background: rgba(240,160,32,0.12);
  border: 1px solid rgba(240,160,32,0.30);
  color: #f0a020;
}


/* ════════════════════════════════
   MODAL DI CONFERMA
════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.60);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: ocFadeIn 0.15s ease;
}
@keyframes ocFadeIn { from { opacity: 0 } to { opacity: 1 } }

.modal-box {
  background: var(--anthracite);
  border: 1px solid rgba(185,11,16,0.30);
  border-radius: 14px;
  padding: 26px 24px 22px;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
  animation: ocSlideUp 0.2s ease;
}
@keyframes ocSlideUp { from { transform: translateY(12px); opacity: 0 } to { transform: none; opacity: 1 } }

.modal-icon  { font-size: 1.5rem; margin-bottom: 10px; }
.modal-title { font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; color: var(--text); line-height: 1.4; }
.modal-body  { font-size: 0.78rem; line-height: 1.55; color: var(--text-sub); margin-bottom: 20px; }
.modal-body strong { color: var(--text); }

.modal-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.modal-cancel {
  flex: 1;
  min-height: var(--touch-target);
  padding: 9px 12px;
  background: rgba(128,128,128,0.10);
  border: 1.5px solid rgba(128,128,128,0.28);
  border-radius: 8px;
  color: var(--text-sub);
  font-size: 0.78rem;
  font-family: inherit;
  cursor: pointer;
  transition: all .15s;
}
.modal-cancel:hover { background: rgba(128,128,128,0.20); color: var(--text); }

.modal-ok {
  flex: 1;
  min-height: var(--touch-target);
  padding: 9px 12px;
  background: var(--red);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s;
}
.modal-ok:hover { background: var(--red-dark); }


/* ════════════════════════════════
   SCROLLBAR GLOBALE
════════════════════════════════ */
::-webkit-scrollbar       { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--mid); border-radius: 3px; }
*                         { scrollbar-width: thin; scrollbar-color: var(--mid) transparent; }


/* ════════════════════════════════
   FERIE MODAL
════════════════════════════════ */
.ferie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: ferie-fadein .25s ease;
}
@keyframes ferie-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.ferie-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  padding: 36px 32px 28px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: ferie-slidein .28s cubic-bezier(.34,1.4,.64,1);
  font-family: var(--font-body, 'Poppins', sans-serif);
}
@keyframes ferie-slidein {
  from { transform: translateY(18px) scale(.97); opacity: 0; }
  to   { transform: translateY(0) scale(1);     opacity: 1; }
}
.ferie-modal-emoji {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}
.ferie-modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -.01em;
}
.ferie-modal--attive    .ferie-modal-title { color: var(--red); }
.ferie-modal--imminenti .ferie-modal-title { color: var(--accent); }
.ferie-modal-msg {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
  margin: 0 0 24px;
}
.ferie-modal-btn {
  display: inline-block;
  padding: 11px 36px;
  border: none;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  letter-spacing: .01em;
  color: #fff;
}
.ferie-modal--attive    .ferie-modal-btn { background: var(--red); }
.ferie-modal--imminenti .ferie-modal-btn { background: var(--accent); }
.ferie-modal-btn:hover  { opacity: .88; transform: translateY(-1px); }
.ferie-modal-btn:active { transform: translateY(0); }

/* Alert ferie in step 3 (messaggio sotto le card consegna) */
#ferie-alert-consegna { display: none; }
#ferie-alert-consegna.attive {
  display: block;
  background: var(--red-soft);
  border: 1px solid rgba(185,11,16,0.25);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--red);
}
#ferie-alert-consegna.imminenti {
  display: block;
  background: var(--accent-soft);
  border: 1px solid rgba(217,154,28,0.3);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--accent);
}

@media (max-width: 500px) {
  .ferie-modal { padding: 28px 20px 22px; }
  .ferie-modal-emoji { font-size: 2.4rem; }
  .ferie-modal-title { font-size: 1.05rem; }
  .ferie-modal-msg   { font-size: 0.85rem; }
}

/* ════════════════════════════════
   FORMATO MANCANTE MODAL
════════════════════════════════ */
.formato-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: ferie-fadein .25s ease;
}
.formato-modal-overlay.visible { display: flex; }
.formato-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  padding: 32px 32px 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: ferie-slidein .28s cubic-bezier(.34,1.4,.64,1);
  font-family: var(--font-body, 'Poppins', sans-serif);
}
.formato-modal-emoji {
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 10px;
  display: block;
  text-align: center;
}
.formato-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--red);
  text-align: center;
}
.formato-modal-msg {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #555;
  margin: 0 0 14px;
}
.formato-modal-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  max-height: 160px;
  overflow-y: auto;
  border: 1px solid var(--red-soft);
  border-radius: 8px;
}
.formato-modal-list li {
  padding: 7px 12px;
  font-size: 0.82rem;
  color: #444;
  border-bottom: 1px solid #f2f2f2;
}
.formato-modal-list li:last-child { border-bottom: none; }
.formato-modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.formato-modal-btn {
  flex: 1;
  min-width: 150px;
  padding: 11px 20px;
  border: none;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  letter-spacing: .01em;
  text-align: center;
  font-family: inherit;
}
.formato-modal-btn--secondary { background: #f0f0f0; color: #444; }
.formato-modal-btn--primary   { background: var(--red); color: #fff; }
.formato-modal-btn:hover      { opacity: .88; transform: translateY(-1px); }
.formato-modal-btn:active     { transform: translateY(0); }

@media (max-width: 500px) {
  .formato-modal { padding: 26px 20px 20px; }
  .formato-modal-emoji { font-size: 2.2rem; }
  .formato-modal-title { font-size: 1.02rem; }
  .formato-modal-msg   { font-size: 0.84rem; }
  .formato-modal-btn   { min-width: 100%; }
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 600px) {
  .progress-bar-wrap { max-width: 260px; }
  .form-row          { grid-template-columns: 1fr; }
  .pag-grid          { grid-template-columns: 1fr; }
  .step-title        { font-size: 1.3rem; }
}
@media (max-width: 480px) {
  .step-title  { font-size: 1.2rem; }
  .btn-to-next { padding: 12px 20px; font-size: 0.85rem; }
}
