/* Guida StoreSuite – pagina web (generato da comune.css) */
/* Componenti comuni a libretto PDF e pagina web: tutto sotto .g */
.g { --g-ink: #0E2A25; --g-soft: #3B524C; --g-verde: #0B6B57; --g-verde-s: #08503F; --g-giallo: #FFC72C; --g-menta: #EEF6F3; --g-linea: #C9D8D3; --g-wa: #16824A; color: var(--g-ink); }
.g * { box-sizing: border-box; }
.g h2 { color: var(--g-ink); }
.g h3 { margin: 14px 0 6px; }
.g p { margin: 0 0 .7em; }
.g .grande { font-size: 1.14em; line-height: 1.5; }
.g .piccolo, .g .didascalia { font-size: .8em; color: var(--g-soft); }
.g .didascalia { margin-top: -4px; font-style: italic; }
.g .cap-num { display: inline-block; font-size: .72em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--g-verde); background: var(--g-menta); padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; }
.g figure { margin: 6px 0 12px; }
.g figure img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--g-linea); box-shadow: 0 4px 16px rgba(14,42,37,.10); }
.g figcaption { font-size: .78em; color: var(--g-soft); margin-top: 5px; text-align: center; }
.g .foto--piccola img { max-height: 46mm; object-fit: cover; object-position: top; }
.g .foto--stretta img, .g .foto--telefono img { max-width: 100%; }
.g .foto--telefono img { border-radius: 18px; border: 6px solid #1b1b1f; }
.g .box { border: 2px solid var(--g-linea); border-radius: 12px; padding: 10px 13px; margin: 10px 0; background: #fff; }
.g .box strong { display: block; margin-bottom: 3px; }
.g .box p { margin: 0; }
.g .box--giallo { background: #FFF7DD; border-color: var(--g-giallo); }
.g .box--verde { background: var(--g-menta); border-color: var(--g-verde); }
.g .tre { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 12px 0; }
.g .tre .box { margin: 0; border-left: 6px solid var(--g-verde); }
.g .due { display: grid; grid-template-columns: 42% 1fr; gap: 14px; align-items: start; margin: 8px 0; }
.g .passi { counter-reset: p; list-style: none; padding: 0; margin: 10px 0; }
.g .passi li { counter-increment: p; position: relative; padding: 4px 0 8px 42px; min-height: 34px; }
.g .passi li::before { content: counter(p); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--g-verde); color: #fff; font-weight: 800; display: grid; place-items: center; }
.g .spunte { list-style: none; padding: 0; margin: 8px 0; }
.g .spunte li { position: relative; padding: 3px 0 5px 28px; }
.g .spunte li::before { content: "✓"; position: absolute; left: 2px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--g-giallo); color: var(--g-ink); font-weight: 900; font-size: .8em; display: grid; place-items: center; }
.g .legenda { padding-left: 1.3em; margin: 6px 0; }
.g .legenda li { margin-bottom: 4px; }
.g .legenda li::marker { font-weight: 800; color: var(--g-verde); }
.g .piattaforme { padding-left: 1.1em; }
.g .piattaforme li { margin-bottom: 6px; }

/* Finto browser per i disegni semplificati */
.g .browser { border: 2px solid var(--g-ink); border-radius: 10px; overflow: hidden; background: #fff; margin: 8px 0; font-size: 10px; }
.g .browser-barra { display: flex; align-items: center; gap: 4px; padding: 5px 8px; background: #e9efed; border-bottom: 1px solid var(--g-linea); }
.g .browser-barra > span { width: 8px; height: 8px; border-radius: 50%; background: #b9c8c3; }
.g .browser-url { margin-left: 8px; flex: 1; background: #fff; border-radius: 99px; padding: 2px 10px; color: var(--g-soft); font-size: 9px; }
.g .browser-corpo { position: relative; }
.g .mk-testa { position: relative; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-bottom: 1px solid var(--g-linea); flex-wrap: wrap; }
.g .mk-logo { font-size: 13px; color: var(--g-verde); margin-right: auto; }
.g .mk-menu { font-weight: 700; }
.g .mk-menu u { text-decoration-color: var(--g-giallo); text-decoration-thickness: 3px; }
.g .mk-tel { font-weight: 800; }
.g .mk-gialli, .g .mk-verde, .g .mk-bordo { display: inline-block; padding: 5px 9px; border-radius: 7px; font-weight: 800; }
.g .mk-gialli { background: var(--g-giallo); }
.g .mk-verde { background: var(--g-verde); color: #fff; }
.g .mk-bordo { border: 2px solid var(--g-verde); color: var(--g-verde); }
.g .mk-hero { position: relative; padding: 14px 12px; background: var(--g-menta); }
.g .mk-hero h4 { margin: 0 0 4px; font-size: 15px; line-height: 1.2; }
.g .mk-hero p { margin: 0 0 8px; color: var(--g-soft); }
.g .mk-schede { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px; }
.g .mk-schede span { border: 1px solid var(--g-linea); border-radius: 7px; padding: 6px; font-weight: 700; }
.g .mk-schede b { color: var(--g-verde); }
.g .mk-piede { position: relative; padding: 8px 10px; background: var(--g-ink); color: #fff; }
.g .mk-wa { background: var(--g-wa); padding: 2px 7px; border-radius: 99px; }
.g .n { position: absolute; width: 20px; height: 20px; border-radius: 50%; background: #E0322B; color: #fff; font-style: normal; font-weight: 900; font-size: 11px; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.g .n1 { left: 33%; top: -6px; } .g .n2 { left: 45%; top: -6px; } .g .n3 { right: 26%; top: -6px; } .g .n4 { right: 4px; top: -6px; }
.g .n5 { right: 8px; top: 8px; } .g .n6 { right: 4px; top: 2px; } .g .n7 { right: 6px; top: 4px; }
.g .browser--menu .browser-corpo { min-height: 128px; }
.g .mk-tendina { position: absolute; left: 34%; top: 34px; width: 150px; background: #fff; border: 2px solid var(--g-verde); border-radius: 8px; box-shadow: 0 8px 20px rgba(14,42,37,.2); padding: 4px; display: grid; }
.g .mk-tendina span { padding: 4px 8px; border-radius: 5px; font-weight: 700; }
.g .mk-tendina span:nth-child(2) { background: var(--g-menta); }
.g .mk-tutte { color: var(--g-verde); border-top: 1px solid var(--g-linea); }
.g .mk-mano { position: absolute; left: 58%; top: 52px; font-size: 22px; }

/* Mappa dei siti */
.g .mappa { margin: 10px 0; text-align: center; }
.g .mappa-centro { display: inline-block; background: var(--g-verde); color: #fff; border-radius: 14px; padding: 9px 16px; }
.g .mappa-centro b { display: block; font-size: 1.15em; }
.g .mappa-centro span { font-size: .8em; opacity: .92; }
.g .mappa-rami { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 18px; text-align: left; }
.g .mappa-rami::before { content: ""; position: absolute; left: 50%; top: -18px; height: 18px; border-left: 3px solid var(--g-verde); }
.g .mappa-rami div { border: 2px solid var(--g-verde); border-radius: 10px; padding: 6px 9px; font-size: .86em; background: #fff; }
.g .mappa-rami div:last-child { grid-column: 1 / -1; }
.g .mappa-rami b { color: var(--g-verde); }
.g .mappa-rami span { display: block; color: var(--g-soft); font-size: .92em; }

/* Telefono con PIN */
.g .telefono { width: 100%; max-width: 200px; margin: 0 auto; border: 7px solid #1b1b1f; border-radius: 22px; background: #1b1512; padding: 10px 8px; }
.g .telefono-schermo { color: #f2e9d8; text-align: center; }
.g .pin-testa { font-weight: 800; font-size: .85em; margin: 2px 0 6px; }
.g .pin-pallini { color: #e4a930; letter-spacing: 4px; margin-bottom: 6px; }
.g .pin-tasti { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.g .pin-tasti span { background: #2d221c; border-radius: 8px; padding: 6px 0; font-weight: 800; }
.g .pin-tasti .ok { background: #c3361b; font-size: .78em; }
.g .pin-nota { margin-top: 7px; font-size: .78em; }

/* Tabelle, tappe, domande */
.g .tabella { width: 100%; border-collapse: collapse; margin: 8px 0 10px; font-size: .92em; }
.g .tabella th, .g .tabella td { text-align: left; vertical-align: top; padding: 7px 6px; border-bottom: 1px solid var(--g-linea); }
.g .tabella th { width: 32%; }
.g .tabella .prezzo { font-weight: 800; color: var(--g-verde); white-space: nowrap; text-align: right; }
.g .tabella--prezzi th { width: auto; font-weight: 700; }
.g .tappe { list-style: none; padding: 0; margin: 8px 0; counter-reset: t; }
.g .tappe li { counter-increment: t; position: relative; padding: 6px 0 10px 46px; border-left: 3px solid var(--g-linea); margin-left: 16px; }
.g .tappe li::before { content: counter(t); position: absolute; left: -18px; top: 2px; width: 32px; height: 32px; border-radius: 50%; background: var(--g-giallo); font-weight: 900; display: grid; place-items: center; }
.g .tappe b { display: block; }
.g .tappe span { display: block; font-size: .75em; font-weight: 800; color: var(--g-verde); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.g .faq dt, .g .glossario dt { font-weight: 800; margin-top: 8px; }
.g .faq dd, .g .glossario dd { margin: 2px 0 6px; color: var(--g-soft); }
.g .glossario dt { color: var(--g-verde); }
.g .qr-riga { display: flex; gap: 12px; align-items: center; background: var(--g-menta); border-radius: 12px; padding: 8px; margin: 10px 0; }
.g .qr-riga img { width: 74px; height: 74px; border: 0; box-shadow: none; }
.g .qr-riga p { margin: 0; }
.g .contatti { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
.g .contatto { display: block; border: 2px solid var(--g-verde); border-radius: 12px; padding: 9px 11px; color: var(--g-ink); text-decoration: none; font-size: .9em; }
.g .contatto span { font-size: 1.3em; display: block; }
.g .contatto b { display: block; color: var(--g-verde); }
.g .contatto--wa { background: var(--g-wa); border-color: var(--g-wa); color: #fff; }
.g .contatto--wa b { color: #fff; }

/* Solo web */
.ssas-guida { max-width: 860px; margin: 0 auto; font-size: 17px; line-height: 1.6; background: #fff; color: #0E2A25; border-radius: 18px; padding: 20px 22px 28px; }
.ssas-guida p, .ssas-guida li, .ssas-guida dd, .ssas-guida td, .ssas-guida th { color: inherit; }
.ssas-guida h2, .ssas-guida h3, .ssas-guida h4 { color: #0E2A25; font-family: inherit; }
.ssas-guida .capitolo { padding: 28px 0 8px; border-top: 2px solid var(--g-menta); scroll-margin-top: 90px; }
.ssas-guida .capitolo h2 { font-size: 1.7em; line-height: 1.15; margin: 4px 0 14px; }
.ssas-guida .capitolo h2::after { content: ""; display: block; width: 52px; height: 5px; background: var(--g-giallo); border-radius: 3px; margin-top: 8px; }
.ssas-guida figure img { max-height: 520px; object-fit: cover; object-position: top; }
.ssas-guida .foto--telefono img, .ssas-guida .foto--stretta img { max-height: 620px; width: auto; margin: 0 auto; }
.ssas-guida .g-scarica { display: flex; gap: 16px; align-items: center; justify-content: space-between; background: var(--g-verde); color: #fff; border-radius: 16px; padding: 18px 20px; margin: 10px 0 18px; }
.ssas-guida .g-scarica p { margin: 4px 0 0; opacity: .92; }
.ssas-guida .g-scarica strong { font-size: 1.2em; }
.ssas-guida .g-btn { display: inline-block; background: var(--g-giallo); color: var(--g-ink) !important; font-weight: 800; padding: 11px 18px; border-radius: 10px; text-decoration: none; white-space: nowrap; }
.ssas-guida .g-btn:hover { filter: brightness(.95); }
.ssas-guida .g-indice { background: var(--g-menta); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.ssas-guida .g-indice ol { columns: 2; column-gap: 28px; margin: 8px 0 0; padding-left: 1.3em; }
.ssas-guida .g-indice li { break-inside: avoid; margin-bottom: 4px; }
.ssas-guida .g-indice a, .ssas-guida .g-su a { color: var(--g-verde); font-weight: 700; }
.ssas-guida .g-su { font-size: .85em; margin-top: 12px; }
.ssas-guida .tre { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) {
	.ssas-guida { font-size: 16px; }
	.ssas-guida .due, .ssas-guida .tre, .ssas-guida .contatti { grid-template-columns: 1fr; }
	.ssas-guida .g-scarica { flex-direction: column; align-items: flex-start; }
	.ssas-guida .g-indice ol { columns: 1; }
	.ssas-guida .mk-schede, .ssas-guida .mappa-rami { grid-template-columns: 1fr; }
	.ssas-guida { padding: 14px 14px 22px; border-radius: 0; }
	.ssas-guida .mappa-centro { max-width: 100%; }
	.ssas-guida .browser { overflow-x: auto; }
}
/* Demo nuove (ottobre 2026) */
.g .barra-demo { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; background: #111827; color: #fff; border-radius: 999px; padding: 6px 8px 6px 14px; margin: 10px auto 4px; width: fit-content; max-width: 100%; font-weight: 600; font-size: .95em; }
.g .barra-demo b { color: #fde68a; font-variant-numeric: tabular-nums; }
.g .barra-demo i { font-style: normal; background: #22c55e; color: #062b14; border-radius: 999px; padding: 4px 12px; font-weight: 700; }
.g .barra-demo i.bianco { background: #fff; color: #111827; }
.g .due--duetel, #demo-tecnici .due, #demo-immobiliare .due { grid-template-columns: 1fr 1fr; }
.g .due--duetel .foto--telefono img { max-height: 520px; object-fit: cover; object-position: top; }
.g .mk-tendina { grid-template-columns: 1fr 1fr; width: 260px; }
.g .mk-tendina .mk-tutte { grid-column: 1 / -1; }
.g .mappa-rami { grid-template-columns: 1fr 1fr 1fr; }
.g .mappa-rami div:last-child { grid-column: auto; }
@media (max-width: 640px) {
	.ssas-guida .mappa-rami { grid-template-columns: 1fr 1fr; }
	.ssas-guida .mk-tendina { left: 10%; }
	.g .barra-demo { font-size: .85em; }
}
