/* =====================================================================
   stile-sito.css - front-office pubblico (configuratore)
   ===================================================================== */
.sito { background: var(--crema); min-height: 100vh; display: flex; flex-direction: column; color: #2a2a2a; }
.sito main { flex: 1 0 auto; }
.sito-header { background: #fff; border-bottom: 1px solid #ebe4d8; }
.sito-marchio { display: flex; align-items: center; gap: .6rem; color: #2a2a2a; }
.sito-monogramma { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 30px; color: var(--brand); line-height: 1; }
.sito-nome { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; line-height: 1.1; }
.sito-payoff { display: block; font-size: 11px; color: #6f665b; letter-spacing: .08em; }
.sito-menu a { color: #2a2a2a; text-decoration: none; font-size: 14px; }
.sito-menu a.active, .sito-menu a:hover { color: var(--brand); }
.sito-footer { border-top: 1px solid #ebe4d8; color: #6f665b; background: #fff; }
.sito-occhiello { letter-spacing: .1em; }
.sito-titolo { font-size: clamp(32px, 4vw, 44px); font-weight: 600; }

.fo .form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.fo .form-control:focus, .fo .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(109, 26, 46, .15); }
.fo-card { border-color: #e7e0d5; }
.fo-riepilogo { position: sticky; top: 1rem; }
.fo-anteprima { background: #f3ede3; border-radius: 10px; padding: 1rem 1.5rem .75rem; }
.fo-misure { color: #5c5348; margin-top: .25rem; }
.fo-totale { font-size: 32px; font-weight: 600; }
.fo-elenco dt { font-weight: 400; color: #6f665b; }
.fo-elenco dd { margin-bottom: .2rem; }
.fo-conferma { max-width: 640px; }
.fo-totali { max-width: 340px; }

/* Pulsanti di scelta (forma, tessuto, opzioni) */
.opt { border: 1px solid #e3ddd3; background: #fff; border-radius: .6rem; padding: .75rem; text-align: center; width: 100%; color: #2a2a2a; min-height: 44px; transition: border-color .15s; }
.opt:hover { border-color: #b9a27a; }
.opt.sel { border: 2px solid var(--brand); padding: calc(.75rem - 1px); background: #fffdf9; }
.opt svg { color: var(--brand); }
.opt-nome { font-size: 14px; margin-top: 2px; }
.opt-extra { font-size: 12px; color: #6f665b; }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #d6cfc4; padding: 0; }
.swatch.sel { box-shadow: 0 0 0 2px var(--brand); }

.miniatura { width: 64px; flex: none; background: #f3ede3; border-radius: 6px; padding: 4px; }

/* Login */
.login-sfondo { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #14263f; padding: 1rem; }
.login-scheda { width: 100%; max-width: 420px; }

@media (max-width: 991.98px) {
    .fo-riepilogo { position: static; }
}
