/* theme.css */
/* ==================================================================
 * Tema "SiteSetter" — sito ufficiale sitesetter.it
 * Stessi colori e caratteri dell'admin del CMS.
 * Tutte le classi iniziano con .st- ; i colori si cambiano qui sotto.
 * Punti di rottura: tablet = 992px, telefono = 768px.
 * ================================================================== */
:root {
	--st-lime: #c2d11f;        /* verde SiteSetter (var(--secondary-color) dell'admin) */
	--st-lime-deep: #a8b512;
	--st-lime-soft: #f1f5c9;
	--st-ink: #161712;         /* nero */
	--st-ink-2: #24261d;
	--st-paper: #ffffff;
	--st-mist: #f4f5ee;
	--st-line: #e1e3d5;
	--st-muted: #5b5d50;
	--st-on-dark: #d9dbcf;

	--st-font-title: "Varela Round", "AsbaTitle", Arial, sans-serif;
	--st-font-body: "Wix Madefor Display", "AsbaBody", Arial, sans-serif;
	--st-font-code: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

	--st-max: 1180px;
	--st-radius: 14px;
}

/* ---------- base ---------- */
.st-header, .st-footer, .st-section, .st-hero, .st-band, .st-core, .st-cta { font-family: var(--st-font-body); color: var(--st-ink); line-height: 1.6; box-sizing: border-box; }
.st-header *, .st-footer *, .st-section *, .st-hero *, .st-band *, .st-core *, .st-cta * { box-sizing: border-box; }
.st-wrap { max-width: var(--st-max); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.st-section { padding-block: 96px; background: var(--st-paper); }
.st-section--mist { background: var(--st-mist); }
.st-section--tight { padding-block: 64px; }

.st-h1, .st-h2, .st-h3 { font-family: var(--st-font-title); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
.st-h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.05; }
.st-h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.12; }
.st-h3 { font-size: 1.3rem; line-height: 1.25; }
.st-lead { font-size: 1.18rem; color: var(--st-muted); max-width: 60ch; margin: 0; }
.st-text { margin: 0; max-width: 64ch; }
.st-muted { color: var(--st-muted); }
.st-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0; color: var(--st-ink); }
.st-eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--st-lime); }
.st-mark { background: linear-gradient(transparent 58%, var(--st-lime) 58%, var(--st-lime) 92%, transparent 92%); padding: 0 .08em; }
.st-code { font-family: var(--st-font-code); font-size: .86em; background: var(--st-mist); border: 1px solid var(--st-line); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.st-head { display: grid; gap: 16px; margin-bottom: 48px; max-width: 760px; }

/* ---------- pulsanti ---------- */
.st-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--st-font-body); font-weight: 700; font-size: .98rem; padding: 13px 24px; border-radius: 999px; text-decoration: none; border: 2px solid var(--st-ink); background: var(--st-ink); color: var(--st-paper); transition: background .15s, color .15s, border-color .15s, transform .15s; cursor: pointer; }
.st-btn:hover { background: var(--st-ink-2); transform: translateY(-1px); }
.st-btn--lime { background: var(--st-lime); border-color: var(--st-lime); color: var(--st-ink); }
.st-btn--lime:hover { background: var(--st-lime-deep); border-color: var(--st-lime-deep); }
.st-btn--ghost { background: transparent; color: var(--st-ink); }
.st-btn--ghost:hover { background: var(--st-ink); color: var(--st-paper); }
.st-btn:focus-visible, .st-header a:focus-visible, .st-footer a:focus-visible { outline: 3px solid var(--st-lime); outline-offset: 3px; }
.st-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.st-header { background: var(--st-paper); border-bottom: 1px solid var(--st-line); position: sticky; top: 0; z-index: 50; }
.st-header-inner { max-width: var(--st-max); margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 28px; }
.st-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--st-ink); font-family: var(--st-font-title); font-size: 1.35rem; }
.st-logo img { width: 36px; height: 36px; display: block; }
.st-nav { margin-left: auto; }
.st-header-actions { display: flex; align-items: center; gap: 14px; }
.st-burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; border-radius: 10px; cursor: pointer; color: var(--st-ink); }
.st-burger span { display: block; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; }

/* menu generato dal CMS: ul.ssb-menu > li.ssb-menu-item > a, sottomenu ul.ssb-submenu */
.st-header .ssb-menu, .st-header .ssb-submenu, .st-footer .ssb-menu, .st-footer .ssb-submenu { list-style: none; margin: 0; padding: 0; }
.st-header .ssb-menu { display: flex; align-items: center; gap: 2px; }
.st-header .ssb-menu-item { position: relative; }
.st-header .ssb-menu-item > a, .st-header .ssb-menu-item > span { display: block; padding: 8px 14px; border-radius: 999px; color: var(--st-ink); text-decoration: none; font-weight: 600; font-size: .96rem; }
.st-header .ssb-menu-item > a:hover { background: var(--st-mist); }
.st-header .ssb-menu-item.is-active > a { background: var(--st-lime-soft); box-shadow: inset 0 0 0 1px var(--st-lime); }
.st-header .ssb-menu-item.has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.st-header .ssb-submenu { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; background: var(--st-paper); border: 1px solid var(--st-line); border-radius: 12px; padding: 6px; box-shadow: 0 18px 40px rgba(22, 23, 18, .12); }
.st-header .ssb-menu-item:hover > .ssb-submenu, .st-header .ssb-menu-item:focus-within > .ssb-submenu { display: block; }
.st-header .ssb-submenu .ssb-menu-item > a { border-radius: 8px; font-weight: 500; }
.st-header .ssb-lang-switcher { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.st-header .ssb-lang-switcher a { display: block; padding: 6px 8px; border-radius: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--st-muted); text-decoration: none; }
.st-header .ssb-lang-switcher a.active { color: var(--st-ink); background: var(--st-mist); }

/* ---------- hero ---------- */
.st-hero { background: var(--st-paper); padding-block: 72px 0; overflow: hidden; }
.st-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.st-hero-copy { display: grid; gap: 24px; max-width: 820px; }
.st-hero-note { font-size: .9rem; color: var(--st-muted); margin: 0; }

/* finestra dell'editor disegnata in HTML/CSS (si modifica come il resto) */
.st-shot { margin-top: 56px; border-radius: 16px 16px 0 0; border: 1px solid var(--st-ink); border-bottom: 0; background: var(--st-mist); overflow: hidden; box-shadow: 0 -10px 60px rgba(194, 209, 31, .25); }
.st-shot-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--st-ink); color: var(--st-paper); font-size: .82rem; }
.st-shot-dot { width: 22px; height: 22px; border-radius: 6px; background: var(--st-lime); flex: none; }
.st-shot-title { font-weight: 700; margin-right: auto; }
.st-shot-pill { padding: 4px 10px; border-radius: 999px; border: 1px solid #4a4c40; color: var(--st-on-dark); }
.st-shot-pill--on { background: var(--st-lime); border-color: var(--st-lime); color: var(--st-ink); font-weight: 700; }
.st-shot-body { display: grid; grid-template-columns: 190px minmax(0, 1fr) 190px; min-height: 340px; }
.st-shot-side { background: var(--st-paper); border-right: 1px solid var(--st-line); padding: 14px; display: grid; align-content: start; gap: 8px; font-size: .78rem; }
.st-shot-side--r { border-right: 0; border-left: 1px solid var(--st-line); }
.st-shot-label { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--st-muted); font-weight: 700; margin: 4px 0 0; }
.st-shot-block { border: 1px solid var(--st-line); border-radius: 8px; padding: 8px 10px; background: var(--st-mist); }
.st-shot-block--drag { border-color: var(--st-ink); background: var(--st-lime-soft); transform: rotate(-2deg); box-shadow: 0 8px 18px rgba(22, 23, 18, .15); }
.st-shot-field { display: flex; justify-content: space-between; border-bottom: 1px solid var(--st-line); padding: 6px 0; }
.st-shot-swatch { width: 14px; height: 14px; border-radius: 4px; background: var(--st-lime); border: 1px solid var(--st-ink); }
.st-shot-canvas { padding: 22px; display: grid; gap: 14px; align-content: start; }
.st-shot-page { background: var(--st-paper); border-radius: 10px; padding: 22px; display: grid; gap: 10px; border: 1px solid var(--st-line); }
.st-shot-line { height: 10px; border-radius: 5px; background: var(--st-line); }
.st-shot-line--title { height: 18px; width: 62%; background: var(--st-ink); }
.st-shot-line--short { width: 40%; }
.st-shot-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.st-shot-card { height: 64px; border-radius: 8px; background: var(--st-mist); border: 1px dashed #b9bca8; }
.st-shot-card--sel { border: 2px solid var(--st-lime-deep); background: var(--st-lime-soft); }
.st-shot-drop { height: 44px; border-radius: 8px; border: 2px dashed var(--st-lime-deep); display: flex; align-items: center; justify-content: center; font-size: .78rem; color: var(--st-muted); }

/* ---------- incluso nel nucleo ---------- */
.st-core { background: var(--st-ink); color: var(--st-paper); padding-block: 26px; }
.st-core .st-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.st-core-label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--st-lime); }
.st-core-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; }
.st-core-list li::before { content: "+"; color: var(--st-lime); margin-right: 8px; font-weight: 800; }

/* ---------- tre differenze ---------- */
.st-diff { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.st-diff-item { border: 1px solid var(--st-line); border-radius: var(--st-radius); padding: 32px; display: grid; gap: 14px; align-content: start; background: var(--st-paper); }
.st-diff-item--big { grid-row: span 2; background: var(--st-lime); border-color: var(--st-lime); }
.st-diff-item--big .st-text { font-size: 1.08rem; }
.st-diff-kicker { font-family: var(--st-font-code); font-size: .8rem; color: var(--st-muted); margin: 0; }
.st-diff-item--big .st-diff-kicker { color: var(--st-ink); }
.st-checks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.st-checks li { position: relative; padding-left: 30px; }
.st-checks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%; background: var(--st-ink); }
.st-checks li::after { content: ""; position: absolute; left: 6px; top: calc(.28em + 4px); width: 5px; height: 9px; border-right: 2px solid var(--st-lime); border-bottom: 2px solid var(--st-lime); transform: rotate(45deg); }

/* ---------- banda scura ---------- */
.st-band { background: var(--st-ink); color: var(--st-paper); padding-block: 96px; }
.st-band .st-lead, .st-band .st-muted { color: var(--st-on-dark); }
.st-band .st-eyebrow { color: var(--st-paper); }
.st-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.st-split > * { min-width: 0; }
.st-stack { display: grid; gap: 20px; align-content: start; }
.st-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid #3a3c31; }
.st-feats li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid #3a3c31; }
.st-feats strong { color: var(--st-lime); font-weight: 700; }
.st-band .st-feats li span { color: var(--st-on-dark); }
.st-devices { display: flex; align-items: flex-end; gap: 18px; justify-content: center; }
.st-device { border: 2px solid var(--st-lime); border-radius: 14px; background: var(--st-ink-2); padding: 12px; display: grid; gap: 8px; align-content: start; }
.st-device--d { width: 62%; aspect-ratio: 16 / 10; }
.st-device--t { width: 24%; aspect-ratio: 3 / 4; }
.st-device--m { width: 13%; aspect-ratio: 9 / 18; border-radius: 12px; padding: 8px; }
.st-device i { display: block; height: 8px; border-radius: 4px; background: #4a4c40; }
.st-device i:first-child { background: var(--st-lime); width: 60%; height: 12px; }
.st-device-cap { text-align: center; font-family: var(--st-font-code); font-size: .78rem; color: var(--st-on-dark); margin: 14px 0 0; }

/* ---------- codice / indirizzi ---------- */
.st-codebox { background: var(--st-ink); color: var(--st-on-dark); border-radius: var(--st-radius); padding: 22px 24px; font-family: var(--st-font-code); font-size: .86rem; line-height: 1.75; overflow-x: auto; margin: 0; white-space: pre; }
.st-codebox b { color: var(--st-lime); font-weight: 500; }
.st-codebox em { color: #8f927f; font-style: normal; }
.st-urls { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.st-urls li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 18px; border: 1px solid var(--st-line); border-radius: 12px; background: var(--st-paper); }
.st-flag { font-family: var(--st-font-code); font-size: .75rem; font-weight: 600; background: var(--st-ink); color: var(--st-lime); border-radius: 6px; padding: 3px 7px; }
.st-urls code { font-family: var(--st-font-code); font-size: .92rem; word-break: break-all; }

/* ---------- griglia funzioni ---------- */
.st-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--st-line); border: 1px solid var(--st-line); border-radius: var(--st-radius); overflow: hidden; }
.st-cell { background: var(--st-paper); padding: 28px; display: grid; gap: 10px; align-content: start; }
.st-cell .st-text { color: var(--st-muted); font-size: .97rem; }
.st-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--st-lime-soft); border: 1px solid var(--st-lime); display: flex; align-items: center; justify-content: center; font-family: var(--st-font-code); font-weight: 600; font-size: .85rem; }

/* ---------- passi ---------- */
.st-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: st-step; }
.st-steps li { counter-increment: st-step; display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 3px solid var(--st-ink); }
.st-steps li::before { content: counter(st-step, decimal-leading-zero); font-family: var(--st-font-code); font-size: .85rem; font-weight: 600; color: var(--st-muted); }

/* ---------- FAQ ---------- */
.st-faq { display: grid; gap: 10px; max-width: 860px; }
.st-faq details { border: 1px solid var(--st-line); border-radius: 12px; background: var(--st-paper); }
.st-faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; position: relative; }
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--st-lime); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.st-faq details[open] summary::after { content: "–"; }
.st-faq details p { margin: 0; padding: 0 22px 20px; color: var(--st-muted); max-width: 70ch; }

/* ---------- invito finale ---------- */
.st-cta { background: var(--st-lime); padding-block: 80px; }
.st-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.st-cta .st-h2 { max-width: 18ch; }

/* ---------- pagine interne ---------- */
.st-pagehead { background: var(--st-mist); padding-block: 72px 56px; border-bottom: 1px solid var(--st-line); }
.st-pagehead .st-wrap { display: grid; gap: 18px; }
.st-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.st-toc a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--st-ink); color: var(--st-ink); text-decoration: none; font-weight: 600; font-size: .9rem; background: var(--st-paper); }
.st-toc a:hover { background: var(--st-lime); border-color: var(--st-lime); }
.st-feature { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; padding-block: 56px; border-top: 1px solid var(--st-line); scroll-margin-top: 90px; }
.st-feature:first-child { border-top: 0; }
.st-feature > * { min-width: 0; }
.st-feature-tag { font-family: var(--st-font-code); font-size: .8rem; color: var(--st-muted); margin: 10px 0 0; }
.st-feature .st-stack { gap: 16px; }
.st-feature .st-checks li::before { background: var(--st-lime); }
.st-feature .st-checks li::after { border-color: var(--st-ink); }

/* ---------- confronto ---------- */
.st-tablewrap { overflow-x: auto; border: 1px solid var(--st-line); border-radius: var(--st-radius); background: var(--st-paper); }
.st-table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: .97rem; }
.st-table th, .st-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--st-line); vertical-align: top; }
.st-table thead th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--st-muted); background: var(--st-mist); }
.st-table thead th.st-col-ss { background: var(--st-ink); color: var(--st-lime); }
.st-table td.st-col-ss { background: var(--st-lime-soft); font-weight: 600; }
.st-table tbody tr:last-child td, .st-table tbody tr:last-child th { border-bottom: 0; }
.st-table tbody th { font-weight: 700; width: 24%; }
.st-note { font-size: .88rem; color: var(--st-muted); margin: 16px 0 0; max-width: 80ch; }
.st-who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.st-who > div { border-top: 3px solid var(--st-lime); padding-top: 18px; display: grid; gap: 10px; align-content: start; }

/* ---------- contatti ---------- */
.st-contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.st-contact > * { min-width: 0; }
.st-form { background: var(--st-paper); border: 1px solid var(--st-line); border-radius: var(--st-radius); padding: 32px; display: grid; gap: 16px; }
.st-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.st-field { display: grid; gap: 6px; }
.st-field label { font-weight: 700; font-size: .9rem; }
.st-field input, .st-field textarea, .st-field select { font: inherit; padding: 12px 14px; border: 1px solid #c9ccb9; border-radius: 10px; background: var(--st-paper); color: var(--st-ink); width: 100%; }
.st-field input:focus, .st-field textarea:focus { outline: 3px solid var(--st-lime); outline-offset: 0; border-color: var(--st-ink); }
.st-field textarea { min-height: 140px; resize: vertical; }
.st-privacy { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--st-muted); }
.st-privacy input { margin-top: 4px; accent-color: var(--st-ink); }
.st-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.st-contact-list li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--st-line); }
.st-contact-list small { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--st-muted); }
.ssb-form-msg { margin: 0; font-weight: 600; }
.ssb-hidden { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
.st-footer { background: var(--st-ink); color: var(--st-on-dark); padding-block: 72px 28px; }
.st-footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.st-footer .st-logo { color: var(--st-paper); }
.st-footer h4 { font-family: var(--st-font-title); font-weight: 400; color: var(--st-paper); font-size: 1.05rem; margin: 0 0 14px; }
.st-footer p { margin: 0; max-width: 42ch; }
.st-footer a { color: var(--st-paper); }
.st-footer .ssb-menu { display: grid; gap: 8px; }
.st-footer .ssb-menu-item > a { text-decoration: none; }
.st-footer .ssb-menu-item > a:hover { color: var(--st-lime); }
.st-footer .ssb-submenu { display: none; }
.st-footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid #3a3c31; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }
.st-footer-bottom .st-code { background: var(--st-ink-2); border-color: #3a3c31; color: var(--st-lime); }

/* ================= tablet ================= */
@media (max-width: 992px) {
	.st-section, .st-band { padding-block: 72px; }
	.st-shot-body { grid-template-columns: 160px minmax(0, 1fr); }
	.st-shot-side--r { display: none; }
	.st-diff { grid-template-columns: 1fr; }
	.st-diff-item--big { grid-row: auto; }
	.st-split, .st-contact { grid-template-columns: 1fr; gap: 40px; }
	.st-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.st-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.st-feature { grid-template-columns: 1fr; gap: 20px; }
	.st-who { grid-template-columns: 1fr; }
	.st-header-inner { gap: 16px; }
	.st-header .ssb-menu-item > a { padding: 8px 10px; }
}

/* ================= telefono ================= */
@media (max-width: 768px) {
	.st-section, .st-band { padding-block: 56px; }
	.st-hero { padding-block: 44px 0; }
	.st-header-inner { flex-wrap: wrap; padding: 10px 16px; }
	.st-burger { display: block; margin-left: auto; }
	.st-nav, .st-header-actions { display: none; width: 100%; }
	.st-header.is-menu-open .st-nav, .st-header.is-menu-open .st-header-actions { display: block; }
	.st-header.is-menu-open .st-header-actions { padding: 8px 0 6px; }
	.st-header.is-menu-open .st-header-actions .st-btn { width: 100%; }
	.st-header .ssb-menu { flex-direction: column; align-items: stretch; padding-top: 8px; }
	.st-header .ssb-submenu { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
	.st-header .ssb-menu-item.has-children > a::after { display: none; }
	.st-shot { margin-top: 36px; }
	.st-shot-body { grid-template-columns: 1fr; min-height: 0; }
	.st-shot-side { display: none; }
	.st-shot-pill { display: none; }
	.st-shot-pill--on { display: inline; }
	.st-grid3, .st-steps, .st-form-row, .st-footer-cols { grid-template-columns: 1fr; }
	.st-feats li { grid-template-columns: 1fr; gap: 4px; }
	.st-devices { gap: 10px; }
	.st-diff-item, .st-form { padding: 24px; }
	.st-cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- catalogo temi e plugin ---------- */
.st-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.st-chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--st-line); background: var(--st-paper); font-weight: 600; font-size: .88rem; color: var(--st-ink); text-decoration: none; }
.st-chip--on { background: var(--st-ink); border-color: var(--st-ink); color: var(--st-lime); }
.st-catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.st-catalog--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.st-item { border: 1px solid var(--st-line); border-radius: var(--st-radius); background: var(--st-paper); overflow: hidden; display: flex; flex-direction: column; }
.st-item-body { padding: 22px 24px 24px; display: grid; gap: 10px; flex: 1; align-content: start; }
.st-item-top { display: flex; align-items: center; gap: 12px; }
.st-item-top .st-h3 { flex: 1; min-width: 0; }
.st-item-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--st-font-code); font-size: .76rem; color: var(--st-muted); }
.st-item-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--st-line); }
.st-price { font-weight: 800; }
.st-badge { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--st-mist); border: 1px solid var(--st-line); color: var(--st-muted); }
.st-badge--lime { background: var(--st-lime); border-color: var(--st-lime); color: var(--st-ink); }
.st-badge--ink { background: var(--st-ink); border-color: var(--st-ink); color: var(--st-lime); }
.st-link { font-weight: 700; color: var(--st-ink); text-decoration: none; border-bottom: 2px solid var(--st-lime); }
.st-link:hover { border-color: var(--st-ink); }
.st-plugin-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--st-ink); color: var(--st-lime); display: flex; align-items: center; justify-content: center; font-family: var(--st-font-code); font-weight: 600; flex: none; }
.st-item--soon { border-style: dashed; background: var(--st-mist); }

/* anteprime dei temi disegnate in CSS */
.st-thumb { aspect-ratio: 4 / 3; max-width: 100%; border-bottom: 1px solid var(--st-line); padding: 18px; display: grid; gap: 8px; align-content: start; }
.st-thumb i { display: block; height: 8px; border-radius: 4px; }
.st-thumb .t-bar { height: 14px; border-radius: 4px; margin-bottom: 10px; }
.st-thumb .t-title { height: 16px; width: 70%; }
.st-thumb .t-short { width: 45%; }
.st-thumb .t-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.st-thumb .t-row i { height: 46px; border-radius: 6px; }
.st-thumb--aurora { background: #f6f8ff; }
.st-thumb--aurora .t-bar { background: #fff; box-shadow: 0 1px 0 #dfe4f3; }
.st-thumb--aurora .t-title { background: #1e2a4a; }
.st-thumb--aurora i { background: #d5dcf0; }
.st-thumb--aurora .t-row i { background: #fff; border: 1px solid #dfe4f3; }
.st-thumb--aurora .t-btn { width: 30%; height: 12px; border-radius: 999px; background: #3a5bd9; }
.st-thumb--ss { background: var(--st-paper); }
.st-thumb--ss .t-bar { background: var(--st-paper); box-shadow: 0 1px 0 var(--st-line); }
.st-thumb--ss .t-title { background: var(--st-ink); }
.st-thumb--ss i { background: var(--st-line); }
.st-thumb--ss .t-btn { width: 30%; height: 12px; border-radius: 999px; background: var(--st-lime); }
.st-thumb--ss .t-row i { background: var(--st-ink); }
.st-thumb--ss .t-row i:first-child { background: var(--st-lime); }
.st-thumb--soon { background: repeating-linear-gradient(135deg, var(--st-mist) 0 12px, var(--st-paper) 12px 24px); display: flex; align-items: center; justify-content: center; font-family: var(--st-font-code); font-size: .85rem; color: var(--st-muted); }
.st-thumb--soon span { background: var(--st-paper); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--st-line); }

@media (max-width: 992px) {
	.st-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
	.st-catalog, .st-catalog--2 { grid-template-columns: 1fr; }
}

/* menu lungo: testi su una riga, menu a scomparsa già dal tablet */
.st-header .ssb-menu-item > a, .st-btn { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 993px) {
	.st-header .ssb-menu-item > a { padding: 8px 10px; font-size: .92rem; }
	.st-header-inner { gap: 16px; }
	.st-header-actions .st-btn { padding: 11px 18px; }
}
@media (max-width: 992px) {
	.st-header-inner { flex-wrap: wrap; }
	.st-burger { display: block; margin-left: auto; }
	.st-nav, .st-header-actions { display: none; width: 100%; }
	.st-header.is-menu-open .st-nav, .st-header.is-menu-open .st-header-actions { display: block; }
	.st-header.is-menu-open .st-header-actions { padding: 8px 0 6px; }
	.st-header.is-menu-open .st-header-actions .st-btn { width: 100%; }
	.st-header .ssb-menu { flex-direction: column; align-items: stretch; padding-top: 8px; }
	.st-header .ssb-submenu { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
	.st-header .ssb-menu-item.has-children > a::after { display: none; }
}

/* ---------- funnel campagne (home) ---------- */
.st-funnel { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--st-ink); border-radius: var(--st-radius); overflow: hidden; }
.st-funnel li { padding: 26px 24px; display: grid; gap: 10px; align-content: start; border-right: 1px solid var(--st-ink); background: var(--st-paper); position: relative; }
.st-funnel li:last-child { border-right: 0; background: var(--st-lime); }
.st-funnel-step { font-family: var(--st-font-code); font-size: .78rem; font-weight: 600; color: var(--st-muted); }
.st-funnel li:last-child .st-funnel-step { color: var(--st-ink); }
.st-funnel .st-text { font-size: .95rem; color: var(--st-muted); }
.st-funnel li:last-child .st-text { color: var(--st-ink); }
.st-funnel-tag { font-family: var(--st-font-code); font-size: .76rem; background: var(--st-mist); border: 1px solid var(--st-line); border-radius: 6px; padding: 2px 8px; justify-self: start; }
.st-funnel li:last-child .st-funnel-tag { background: var(--st-paper); border-color: var(--st-ink); }

/* pannello statistiche disegnato in CSS */
.st-stats { background: var(--st-ink-2); border: 1px solid #3a3c31; border-radius: var(--st-radius); padding: 22px; display: grid; gap: 18px; }
.st-stats-head { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--st-on-dark); }
.st-stats-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.st-kpi { border: 1px solid #3a3c31; border-radius: 10px; padding: 12px; display: grid; gap: 2px; }
.st-kpi small { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #8f927f; }
.st-kpi b { font-family: var(--st-font-title); font-weight: 400; font-size: 1.5rem; color: var(--st-paper); }
.st-bars { display: flex; align-items: flex-end; gap: 6px; height: 110px; border-bottom: 1px solid #3a3c31; }
.st-bars i { flex: 1; background: #4a4c40; border-radius: 4px 4px 0 0; }
.st-bars i.on { background: var(--st-lime); }
.st-stats-note { font-family: var(--st-font-code); font-size: .74rem; color: #8f927f; margin: 0; }
.st-cart { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid #3a3c31; border-radius: 10px; padding: 12px 14px; font-size: .88rem; color: var(--st-on-dark); }
.st-cart b { color: var(--st-paper); }
.st-cart .st-badge { background: transparent; border-color: var(--st-lime); color: var(--st-lime); }

/* AI in arrivo */
.st-ai { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.st-ai > div { border: 1px dashed var(--st-ink); border-radius: var(--st-radius); padding: 26px; display: grid; gap: 10px; align-content: start; background: var(--st-paper); }
.st-prompt { font-family: var(--st-font-code); font-size: .82rem; background: var(--st-mist); border-radius: 8px; padding: 10px 12px; color: var(--st-ink); margin: 0; }
.st-prompt::before { content: "› "; color: var(--st-lime-deep); font-weight: 600; }

@media (max-width: 992px) {
	.st-funnel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.st-funnel li:nth-child(2) { border-right: 0; }
	.st-funnel li:nth-child(-n+2) { border-bottom: 1px solid var(--st-ink); }
	.st-ai { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
	.st-funnel { grid-template-columns: 1fr; }
	.st-funnel li { border-right: 0; border-bottom: 1px solid var(--st-ink); }
	.st-funnel li:last-child { border-bottom: 0; }
	.st-stats-kpis { grid-template-columns: 1fr 1fr; }
}

/* ---------- marchio Asbarui ---------- */
.st-logo-text { display: grid; line-height: 1; gap: 3px; }
.st-logo-by { font-family: var(--st-font-body); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--st-muted); }
.st-footer .st-logo-by { color: #8f927f; }

/* ---------- SiteSetter Manager (pannello agenzie) ---------- */
.st-manager { background: var(--st-paper); border: 1px solid var(--st-ink); border-radius: var(--st-radius); overflow: hidden; color: var(--st-ink); }
.st-manager-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--st-ink); color: var(--st-paper); font-size: .84rem; }
.st-manager-bar b { margin-right: auto; }
.st-manager-scroll { overflow-x: auto; }
.st-sites { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .86rem; }
.st-sites th, .st-sites td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--st-line); white-space: nowrap; }
.st-sites th { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--st-muted); background: var(--st-mist); }
.st-sites td:first-child { font-weight: 700; }
.st-sites tr:last-child td { border-bottom: 0; }
.st-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--st-lime-deep); }
.st-dot--warn { background: #d9822b; }
.st-count { display: inline-flex; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--st-ink); color: var(--st-lime); font-weight: 700; font-size: .75rem; align-items: center; justify-content: center; }
.st-count--zero { background: var(--st-mist); color: var(--st-muted); }

/* ---------- ContentOpt ---------- */
.st-copt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.st-copt-card { border: 1px solid var(--st-line); border-radius: var(--st-radius); background: var(--st-paper); padding: 20px; display: grid; gap: 12px; align-content: start; }
.st-copt-who { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--st-muted); margin: 0; }
.st-copt-doc { border: 1px solid var(--st-line); border-radius: 10px; padding: 14px; display: grid; gap: 8px; background: var(--st-mist); }
.st-copt-doc i { display: block; height: 8px; border-radius: 4px; background: var(--st-line); }
.st-copt-doc i.t { height: 14px; width: 70%; background: var(--st-ink); }
.st-copt-doc i.s { width: 50%; }
.st-copt-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.st-copt-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: .86rem; border: 2px solid var(--st-ink); }
.st-copt-btn--main { background: var(--st-lime); border-color: var(--st-lime); }
.st-copt-btn--main::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--st-ink); }
.st-notif { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; border: 1px solid var(--st-ink); border-radius: 10px; padding: 14px; background: var(--st-lime-soft); }
.st-notif-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--st-ink); color: var(--st-lime); display: flex; align-items: center; justify-content: center; font-family: var(--st-font-code); font-weight: 600; font-size: .8rem; }
.st-notif p { margin: 0; font-size: .9rem; }
.st-notif small { color: var(--st-muted); }
.st-copt-status { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: .88rem; }
.st-copt-status li { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--st-line); }
.st-copt-status li:last-child { border-bottom: 0; }

@media (max-width: 992px) {
	.st-copt { grid-template-columns: 1fr; }
}

/* ---------- collezione temi: anteprime disegnate con i colori di ogni tema ---------- */
.st-catalog--themes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.st-kits { display: flex; flex-wrap: wrap; gap: 6px; }
.st-kit { font-family: var(--st-font-code); font-size: .74rem; padding: 3px 9px; border-radius: 6px; border: 1px solid var(--st-line); background: var(--st-mist); }
.st-thumb--fermi { background-color: #f3f1ea; background-image: linear-gradient(rgba(28,30,33,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(28,30,33,.06) 1px, transparent 1px); background-size: 16px 16px; }
.st-thumb--fermi .t-bar { background: #fff; box-shadow: 0 1px 0 #ddd8c8; }
.st-thumb--fermi .t-title { background: #1c1e21; }
.st-thumb--fermi i { background: #d6d1c0; }
.st-thumb--fermi .t-btn { width: 30%; height: 12px; border-radius: 4px; background: #2448ff; box-shadow: 0 0 12px rgba(36,72,255,.45); }
.st-thumb--fermi .t-row i { background: #1c1e21; border-radius: 3px; }
.st-thumb--fermi .t-row i:nth-child(2) { background: #2448ff; }
.st-thumb--turing { background: #f1efe8; }
.st-thumb--turing .t-bar { background: #101114; }
.st-thumb--turing .t-title { background: #101114; }
.st-thumb--turing i { background: #d8d4c8; }
.st-thumb--turing .t-btn { width: 30%; height: 12px; border-radius: 4px; background: #ff4d2e; box-shadow: 3px 3px 0 #101114; }
.st-thumb--turing .t-tape { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0; margin-top: 12px; border: 2px solid #101114; }
.st-thumb--turing .t-tape i { height: 30px; border-radius: 0; background: #fff; border-right: 1px solid #101114; }
.st-thumb--turing .t-tape i:nth-child(4) { background: #ff4d2e; }
.st-thumb--jung { background: #f3eadb; position: relative; overflow: hidden; }
.st-thumb--jung .t-bar { background: #2b1f18; height: 10px; }
.st-thumb--jung .t-title { background: #9b2c1f; width: 55%; }
.st-thumb--jung i { background: #dccbb0; }
.st-thumb--jung .t-btn { width: 30%; height: 12px; border-radius: 999px; background: #23466e; }
.st-thumb--jung .t-mandala { position: absolute; right: -30px; bottom: -30px; width: 150px; height: 150px; border-radius: 50%; background: repeating-radial-gradient(circle, #c1892c 0 2px, transparent 2px 12px); border: 3px solid #9b2c1f; opacity: .85; }
.st-thumb--ai { background: var(--st-ink); display: grid; align-content: center; justify-items: start; gap: 10px; padding: 26px; }
.st-thumb--ai .st-prompt { background: var(--st-ink-2); color: var(--st-on-dark); border: 1px solid #3a3c31; }
.st-thumb--ai .t-gen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.st-thumb--ai .t-gen i { height: 54px; border-radius: 6px; background: #4a4c40; }
.st-thumb--ai .t-gen i:first-child { background: var(--st-lime); }

/* ---------- prezzi ---------- */
.st-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.st-plan { border: 1px solid var(--st-line); border-radius: var(--st-radius); padding: 28px; display: grid; gap: 12px; align-content: start; background: var(--st-paper); }
.st-plan--hi { border-color: var(--st-ink); box-shadow: 0 0 0 1px var(--st-ink); }

@media (max-width: 992px) {
	.st-plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
	.st-catalog--themes { grid-template-columns: 1fr; }
}

/* carattere e colori di base anche fuori dalle sezioni del tema (blocchi inseriti ovunque) */
body { font-family: var(--st-font-body); color: var(--st-ink); }
.st-catalog--themes .st-thumb { aspect-ratio: 16 / 8; }
.st-privacy label { font-weight: 400; }
.st-field select { appearance: auto; }

/* ---------- piani e prezzi ---------- */
.st-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.st-plans .st-plan { display: flex; flex-direction: column; gap: 14px; }
.st-plan-tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--st-muted); margin: 0; }
.st-plan--hi { background: var(--st-ink); color: var(--st-paper); border-color: var(--st-ink); }
.st-plan--hi .st-plan-tag, .st-plan--hi .st-muted, .st-plan--hi .st-plan-note { color: var(--st-on-dark); }
.st-plan--hi .st-checks li::before { background: var(--st-lime); }
.st-plan--hi .st-checks li::after { border-color: var(--st-ink); }
.st-price-big { font-family: var(--st-font-title); font-size: 2.6rem; line-height: 1; margin: 0; font-variant-numeric: tabular-nums; }
.st-price-big small { font-family: var(--st-font-body); font-size: .9rem; color: var(--st-muted); margin-left: 4px; }
.st-plan--hi .st-price-big small { color: var(--st-on-dark); }
.st-plan-credits { border-radius: 10px; padding: 12px 14px; background: var(--st-lime-soft); border: 1px solid var(--st-lime); font-size: .9rem; color: var(--st-ink); }
.st-plan-credits b { font-family: var(--st-font-code); }
.st-plan-note { font-size: .85rem; color: var(--st-muted); margin: 0; }
.st-plan .st-checks { margin: 0; font-size: .94rem; }
.st-plan .st-btn { margin-top: auto; width: 100%; }
.st-credit-table td:last-child, .st-credit-table th:last-child { text-align: right; font-family: var(--st-font-code); white-space: nowrap; }
.st-topups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.st-topup { border: 1px solid var(--st-line); border-radius: 12px; padding: 18px; display: grid; gap: 4px; background: var(--st-paper); }
.st-topup b { font-family: var(--st-font-title); font-weight: 400; font-size: 1.6rem; }

@media (max-width: 1180px) {
	.st-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
	.st-plans, .st-topups { grid-template-columns: 1fr; }
}
.st-login { font-weight: 700; font-size: .94rem; color: var(--st-ink); text-decoration: none; padding: 8px 6px; white-space: nowrap; }
.st-login:hover { text-decoration: underline; text-decoration-color: var(--st-lime); text-decoration-thickness: 3px; }
@media (max-width: 992px) { .st-header.is-menu-open .st-login { display: block; padding: 10px 0; } }
.st-credit-table tbody th { width: auto; font-weight: 500; }
.st-plan--hi .st-plan-credits .st-muted { color: var(--st-muted); }

/* ---------- piani dal plugin Licenze (blocco "Piani e prezzi", reso dal plugin) ----------
   Selettori con .st-plans-live davanti per vincere sul CSS del plugin, caricato dopo. */
.st-plans-live .licenze-plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: stretch; margin: 0; }
.st-plans-live .licenze-plan { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--st-line); border-radius: var(--st-radius); background: var(--st-paper); color: var(--st-ink); box-shadow: none; }
.st-plans-live .licenze-plan.is-highlight { background: var(--st-ink); color: var(--st-paper); border-color: var(--st-ink); transform: none; }
.st-plans-live .licenze-plan-badge { align-self: flex-start; margin: 0; padding: 3px 10px; border-radius: 999px; background: var(--st-lime); color: var(--st-ink); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; position: static; }
.st-plans-live .licenze-plan-name { font-family: var(--st-font-title); font-weight: 400; font-size: 1.4rem; margin: 0; color: inherit; }
.st-plans-live .licenze-plan-desc { margin: 0; color: var(--st-muted); font-size: .95rem; white-space: pre-line; }
.st-plans-live .licenze-plan.is-highlight .licenze-plan-desc { color: var(--st-on-dark); }
.st-plans-live .licenze-plan-price { margin: 4px 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.st-plans-live .licenze-price { font-family: var(--st-font-title); font-size: 2.5rem; line-height: 1; font-variant-numeric: tabular-nums; color: inherit; font-weight: 400; }
.st-plans-live .licenze-price-note { font-size: .88rem; color: var(--st-muted); }
.st-plans-live .licenze-plan.is-highlight .licenze-price-note { color: var(--st-on-dark); }
.st-plans-live .licenze-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .94rem; }
.st-plans-live .licenze-feats li { position: relative; padding-left: 28px; }
.st-plans-live .licenze-feats li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--st-ink); }
.st-plans-live .licenze-feats li::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 4px); width: 5px; height: 9px; border-right: 2px solid var(--st-lime); border-bottom: 2px solid var(--st-lime); transform: rotate(45deg); }
.st-plans-live .licenze-plan.is-highlight .licenze-feats li::before { background: var(--st-lime); }
.st-plans-live .licenze-plan.is-highlight .licenze-feats li::after { border-color: var(--st-ink); }
.st-plans-live .licenze-btn { margin-top: auto; display: flex; align-items: center; justify-content: center; padding: 13px 24px; border-radius: 999px; border: 2px solid var(--st-ink); background: transparent; color: var(--st-ink); font-weight: 700; text-decoration: none; font-family: var(--st-font-body); }
.st-plans-live .licenze-btn:hover { background: var(--st-ink); color: var(--st-paper); }
.st-plans-live .licenze-plan.is-highlight .licenze-btn { background: var(--st-lime); border-color: var(--st-lime); color: var(--st-ink); }
.st-plans-live .licenze-plans-foot { margin: 18px 0 0; font-size: .92rem; color: var(--st-muted); }
.st-plans-live .licenze-plans-foot a { color: var(--st-ink); font-weight: 700; }
.st-plans-placeholder { padding: 32px; border: 1px dashed var(--st-ink); border-radius: var(--st-radius); text-align: center; color: var(--st-muted); margin: 0; }

/* ================= Negozio: pagine di sistema (1.5) =================
   Il contenuto (carrello, cassa, account…) lo genera SiteSetter dentro .st-sys.
   Carrello, cassa e account non hanno classi garantite: stili generici con :where()
   (specificità zero). La scheda prodotto usa le classi stabili .ss-product-* e .ss-pv-*. */
.st-syshead { background: var(--st-mist); border-bottom: 1px solid var(--st-line); padding-block: 36px 32px; font-family: var(--st-font-body); color: var(--st-ink); }
.st-syshead--slim { padding-block: 18px; }
.st-syshead--slim .st-crumbs { margin: 0; }
.st-syshead-inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.st-syshead-text { display: grid; gap: 8px; min-width: 0; max-width: 640px; }
.st-syshead .st-lead { font-size: 1.04rem; }

/* passaggi dell'acquisto */
.st-buysteps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; font-weight: 600; }
.st-buysteps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--st-paper); border: 1px solid var(--st-line); color: var(--st-muted); }
.st-steps-n { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--st-mist); font-family: var(--st-font-code); font-size: .76rem; }
.st-buysteps li.is-done { color: var(--st-ink); }
.st-buysteps li.is-done .st-steps-n { background: var(--st-ink); color: var(--st-lime); font-size: 0; }
.st-buysteps li.is-done .st-steps-n::before { content: "✓"; font-size: .8rem; }
.st-buysteps li.is-current { background: var(--st-ink); border-color: var(--st-ink); color: var(--st-paper); }
.st-buysteps li.is-current .st-steps-n { background: var(--st-lime); color: var(--st-ink); }

/* carrello e cassa: contenuto + colonna laterale */
.st-shop-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.st-shop-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--st-header-h, 72px) + 20px); }
.st-aside-card { border: 1px solid var(--st-line); border-radius: var(--st-radius); background: var(--st-paper); padding: 22px; display: grid; gap: 10px; font-family: var(--st-font-body); color: var(--st-ink); }
.st-aside-card .st-h3 { font-size: 1.12rem; }
.st-aside-card--ink { background: var(--st-ink); border-color: var(--st-ink); color: var(--st-paper); }
.st-checks--lime { margin: 0; font-size: .92rem; }
.st-checks--lime li::before { background: var(--st-lime); }
.st-checks--lime li::after { border-color: var(--st-ink); }
.st-aside-contact { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.st-nextsteps { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: .94rem; color: var(--st-on-dark); }
.st-nextsteps li::marker { color: var(--st-lime); font-family: var(--st-font-code); }
.st-guarantees { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: .9rem; }
.st-guarantees li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; }
.st-guarantees strong { display: block; }
.st-guarantees li > span:last-child { color: var(--st-muted); }
.st-guarantees li > span:last-child strong { color: var(--st-ink); }
.st-g-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--st-lime-soft); border: 1px solid var(--st-lime); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--st-ink); }
.st-guarantees--row { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--st-line); }

/* contenuto generato da SiteSetter */
.st-sys { font-family: var(--st-font-body); color: var(--st-ink); line-height: 1.6; min-width: 0; }
.st-sys :where(h1, h2, h3) { font-family: var(--st-font-title); font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 14px; }
.st-sys :where(h2) { font-size: 1.4rem; }
.st-sys :where(h3) { font-size: 1.15rem; }
.st-sys :where(a:not([class])) { color: var(--st-ink); font-weight: 600; text-decoration-color: var(--st-lime); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.st-sys :where(table) { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--st-paper); border: 1px solid var(--st-line); border-radius: var(--st-radius); overflow: hidden; margin: 0 0 20px; }
.st-sys :where(th, td) { padding: 18px 20px; border-bottom: 1px solid var(--st-line); text-align: left; vertical-align: middle; }
.st-sys :where(tr:last-child > td) { border-bottom: 0; }
.st-sys :where(thead th) { background: var(--st-mist); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--st-muted); padding-block: 12px; }
.st-sys :where(td:last-child, th:last-child) { text-align: right; font-variant-numeric: tabular-nums; }
.st-sys :where(td img) { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; vertical-align: middle; margin-right: 12px; }
.st-sys :where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]), select, textarea) { font: inherit; padding: 12px 14px; border: 1px solid #c9ccb9; border-radius: 10px; background: var(--st-paper); color: var(--st-ink); max-width: 100%; box-sizing: border-box; }
.st-sys :where(input[type=number]) { width: 84px; text-align: center; }
.st-sys :where(input, select, textarea):focus-visible { outline: 3px solid var(--st-lime); outline-offset: 0; border-color: var(--st-ink); }
.st-sys :where(label) { font-weight: 600; font-size: .92rem; }
.st-sys :where(input[type=checkbox], input[type=radio]) { accent-color: var(--st-ink); width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }
.st-sys :where(button, input[type=submit], input[type=button], .btn, .button) { font: inherit; font-weight: 700; padding: 13px 24px; border-radius: 999px; border: 2px solid var(--st-ink); background: var(--st-paper); color: var(--st-ink); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .15s, color .15s; }
.st-sys :where(button:hover, input[type=submit]:hover, input[type=button]:hover, .btn:hover, .button:hover) { background: var(--st-ink); color: var(--st-paper); }
.st-sys :where(button[type=submit], input[type=submit], .btn-primary, .checkout-btn, .ss-shop-checkout) { background: var(--st-lime); border-color: var(--st-lime); color: var(--st-ink); }
.st-sys :where(button[type=submit], input[type=submit], .btn-primary, .checkout-btn, .ss-shop-checkout):hover { background: var(--st-lime-deep); border-color: var(--st-lime-deep); color: var(--st-ink); }
.st-sys :where(img) { max-width: 100%; height: auto; border-radius: 10px; }
.st-sys :where(.ss-shop-box, fieldset) { border: 1px solid var(--st-line); border-radius: var(--st-radius); padding: 24px; background: var(--st-paper); margin: 0 0 20px; min-width: 0; }
.st-sys :where(legend) { font-family: var(--st-font-title); font-size: 1.15rem; padding: 0 6px; }
.st-sys :where(.table-responsive, .ss-table-wrap) { overflow-x: auto; }
.st-sys :where(.alert, .notice, .message) { border-radius: 12px; padding: 14px 18px; background: var(--st-lime-soft); border: 1px solid var(--st-lime); }
@media (max-width: 768px) {
	.st-sys :where(table) { display: block; overflow-x: auto; }
	.st-sys :where(th, td) { padding: 14px; }
}

/* scheda del piano (classi stabili della scheda prodotto) */
.st-sys .ss-product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: start; }
.st-sys .ss-product-gallery { min-width: 0; }
.st-sys .ss-product-image { display: block; width: 100%; border-radius: 18px; border: 1px solid var(--st-line); background: var(--st-mist); }
.st-sys .ss-product-thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.st-sys .ss-product-thumb { width: 68px; height: 68px; object-fit: cover; border-radius: 10px; border: 2px solid transparent; cursor: pointer; }
.st-sys .ss-product-thumb[aria-current="true"], .st-sys .ss-product-thumb.is-active { border-color: var(--st-lime); }
.st-sys .ss-product-info { display: grid; gap: 20px; min-width: 0; padding: 32px; border: 1px solid var(--st-line); border-radius: 18px; background: var(--st-paper); position: sticky; top: calc(var(--st-header-h, 72px) + 20px); }
.st-sys .ss-product-title { font-family: var(--st-font-title); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.08; margin: 0; }
.st-sys .ss-product-description { color: var(--st-muted); font-size: 1rem; }
.st-sys .ss-product-description :where(ul) { padding-left: 20px; }
.st-sys .ss-pv { display: grid; gap: 18px; padding-block: 18px; border-block: 1px solid var(--st-line); }
.st-sys .ss-pv-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.st-sys .ss-pv-now { font-family: var(--st-font-title); font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.st-sys .ss-pv-was { color: var(--st-muted); }
.st-sys .ss-pv-from { font-size: .9rem; color: var(--st-muted); }
.st-sys .ss-pv-stock { font-size: .85rem; font-weight: 700; }
.st-sys .ss-pv-error { color: #a63a1f; font-weight: 600; }
.st-sys .ss-pv-groups { display: grid; gap: 14px; }
.st-sys .ss-pv-group-label { font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--st-muted); margin-bottom: 8px; display: block; }
.st-sys .ss-pv-options { display: flex; flex-wrap: wrap; gap: 8px; }
.st-sys .ss-pv-opt { padding: 10px 18px; border-radius: 12px; border: 1px solid var(--st-line); background: var(--st-paper); color: var(--st-ink); font-weight: 600; }
.st-sys .ss-pv-opt:hover { border-color: var(--st-ink); background: var(--st-paper); color: var(--st-ink); }
.st-sys .ss-pv-opt[aria-checked="true"] { background: var(--st-ink); border-color: var(--st-ink); color: var(--st-lime); }
.st-sys .ss-pv-opt.is-unavailable { opacity: .4; text-decoration: line-through; }
.st-sys .ss-product-buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.st-sys .ss-product-qty { width: 72px; }
.st-sys .ss-product-qty-btn { padding: 8px 14px; background: var(--st-paper); color: var(--st-ink); border: 1px solid var(--st-line); border-radius: 10px; }
.st-sys .ss-product-add { flex: 1; min-width: 200px; background: var(--st-lime); border-color: var(--st-lime); color: var(--st-ink); padding: 15px 28px; font-size: 1.02rem; }
.st-sys .ss-product-add:hover { background: var(--st-lime-deep); border-color: var(--st-lime-deep); color: var(--st-ink); }
.st-sys .ss-product-related { display: none; } /* gli altri piani li mostra il tema, sotto */
@media (max-width: 992px) {
	.st-shop-grid { grid-template-columns: 1fr; }
	.st-shop-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
	.st-sys .ss-product { grid-template-columns: 1fr; gap: 24px; }
	.st-sys .ss-product-info { position: static; padding: 24px; }
	.st-guarantees--row { grid-template-columns: 1fr; }
}

/* account: collegamenti rapidi */
.st-quicklinks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px; }
.st-quicklink { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--st-line); border-radius: var(--st-radius); background: var(--st-paper); color: var(--st-ink); text-decoration: none; font-family: var(--st-font-body); font-size: .92rem; transition: border-color .15s, box-shadow .15s; }
.st-quicklink strong { display: block; font-size: 1rem; }
.st-quicklink span:last-child { color: var(--st-muted); }
.st-quicklink span:last-child strong { color: var(--st-ink); }
.st-quicklink:hover { border-color: var(--st-ink); box-shadow: 0 8px 24px rgba(22, 23, 18, .08); }
@media (max-width: 768px) { .st-quicklinks { grid-template-columns: 1fr; } }

/* altri piani (elenco di prodotti) */
.st-plancards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.st-plancard { display: flex; flex-direction: column; gap: 12px; padding: 26px; border: 1px solid var(--st-line); border-radius: var(--st-radius); background: var(--st-paper); font-family: var(--st-font-body); }
.st-plancard .st-h3 a { color: var(--st-ink); text-decoration: none; }
.st-plancard-price { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.st-plancard-price span { font-family: var(--st-font-title); font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.st-plancard-price del { color: var(--st-muted); }
.st-plancard-price small { color: var(--st-muted); }
.st-plancard .st-btn { margin-top: auto; }

/* carrello nell'header */
.st-cartlink { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; color: var(--st-ink); text-decoration: none; }
.st-cartlink:hover { background: var(--st-mist); }
.st-cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--st-lime); color: var(--st-ink); font-size: .7rem; font-weight: 800; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.st-cart-count[hidden] { display: none; }
@media (max-width: 992px) { .st-header.is-menu-open .st-cartlink { display: inline-flex; margin: 4px 0 8px; } }
@media (max-width: 1180px) and (min-width: 993px) {
	.st-header-actions .st-btn { display: none; }
	.st-header-actions { gap: 6px; }
}

/* ================= Navigazione (1.5) ================= */
html { scroll- smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll- auto; } }
/* le ancore non finiscono sotto l'header fisso e l'indice della pagina */
:where([id]) { scroll-margin-top: calc(var(--st-header-h, 72px) + 72px); }

/* voce padre evidenziata quando sei in una sua pagina */
.st-header .ssb-menu > .ssb-menu-item:has(.ssb-submenu .is-active > a:not([href*="#"])) > a { background: var(--st-lime-soft); box-shadow: inset 0 0 0 1px var(--st-lime); }
/* le voci che portano a una sezione (#) non risultano tutte "attive" nella stessa pagina */
.st-header .ssb-submenu .ssb-menu-item.is-active > a[href*="#"] { background: transparent; box-shadow: none; font-weight: 500; }
.st-header .ssb-submenu .ssb-menu-item.is-active > a:not([href*="#"]) { background: var(--st-lime-soft); font-weight: 700; }
.st-subtoggle { display: none; }

@media (min-width: 993px) {
	.st-header .ssb-menu > .ssb-menu-item { padding-block: 6px; }
	.st-header .ssb-submenu { display: block; visibility: hidden; opacity: 0; transform: translateY(6px); top: 100%; left: -8px; margin-top: 2px; min-width: 270px; padding: 8px; border-radius: 14px; box-shadow: 0 22px 50px rgba(22, 23, 18, .16); transition: opacity .15s ease, transform .15s ease, visibility 0s linear .25s; }
	/* ponte invisibile: il mouse passa dalla voce al sottomenu senza chiuderlo */
	.st-header .ssb-submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
	.st-header .ssb-menu-item:hover > .ssb-submenu,
	.st-header .ssb-menu-item:focus-within > .ssb-submenu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
	.st-header .ssb-submenu .ssb-menu-item > a { padding: 11px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
	.st-header .ssb-submenu .ssb-menu-item > a::after { content: "→"; opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; color: var(--st-ink); }
	.st-header .ssb-submenu .ssb-menu-item > a:hover { background: var(--st-lime-soft); }
	.st-header .ssb-submenu .ssb-menu-item > a:hover::after { opacity: 1; transform: none; }
	.st-header .ssb-menu-item.has-children > a::after { transition: transform .15s; }
	.st-header .ssb-menu-item.has-children:hover > a::after,
	.st-header .ssb-menu-item.has-children:focus-within > a::after { transform: translateY(1px) rotate(225deg); }
}
@media (min-width: 993px) and (prefers-reduced-motion: reduce) {
	.st-header .ssb-submenu, .st-header .ssb-submenu .ssb-menu-item > a::after { transition: none; transform: none; }
}

/* tablet e telefono: menu a fisarmonica */
@media (max-width: 992px) {
	.st-header.is-menu-open .st-header-inner { max-height: calc(100dvh - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll- contain; }
	.st-header .ssb-menu { gap: 0; padding-top: 6px; }
	.st-header .ssb-menu > .ssb-menu-item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--st-line); }
	.st-header .ssb-menu > .ssb-menu-item > a, .st-header .ssb-menu > .ssb-menu-item > span { flex: 1; min-width: 0; padding: 15px 4px; border-radius: 0; font-size: 1.06rem; background: transparent; box-shadow: none; }
	.st-header .ssb-menu > .ssb-menu-item.is-active > a { color: var(--st-ink); text-decoration: underline; text-decoration-color: var(--st-lime); text-decoration-thickness: 3px; text-underline-offset: 6px; }
	.st-subtoggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--st-mist); color: var(--st-ink); cursor: pointer; }
	.st-subtoggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
	.ssb-menu-item.is-open > .st-subtoggle::before { transform: translateY(2px) rotate(225deg); }
	.st-header .ssb-menu-item.has-children > .ssb-submenu { display: none; width: 100%; padding: 0 0 12px 12px; }
	.st-header .ssb-menu-item.has-children.is-open > .ssb-submenu { display: block; }
	.st-header .ssb-submenu .ssb-menu-item > a { padding: 10px 12px; border-left: 2px solid var(--st-line); border-radius: 0; }
	/* senza JavaScript (o nell'editor) i sottomenu restano visibili */
	.st-header .ssb-menu-item.has-children:not(:has(> .st-subtoggle)) > .ssb-submenu { display: block; }
	.st-header .ssb-menu-item.has-children > a::after { display: none; }
}

/* briciole di pane */
.st-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: .86rem; color: var(--st-muted); margin: 0 0 6px; }
.st-crumbs a { color: var(--st-muted); text-decoration: none; }
.st-crumbs a:hover { color: var(--st-ink); text-decoration: underline; text-decoration-color: var(--st-lime); text-decoration-thickness: 2px; }
.st-crumbs [aria-current] { color: var(--st-ink); font-weight: 600; }
.st-crumbs-sep { opacity: .5; }

/* indice "In questa pagina", fisso sotto l'header */
.st-subnav { position: sticky; top: calc(var(--st-header-h, 72px) + env(safe-area-inset-top, 0px)); z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--st-line); font-family: var(--st-font-body); }
.st-subnav-inner { display: flex; align-items: center; gap: 14px; }
.st-subnav-label { flex: none; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--st-muted); }
.st-subnav-links { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; min-width: 0; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.st-subnav-links::-webkit-scrollbar { display: none; }
.st-subnav-links a { flex: none; padding: 7px 13px; border-radius: 999px; color: var(--st-ink); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.st-subnav-links a:hover { background: var(--st-mist); }
.st-subnav-links a.is-active { background: var(--st-ink); color: var(--st-lime); }
@media (max-width: 768px) { .st-subnav-label { display: none; } }
.st-feature { scroll-margin-top: calc(var(--st-header-h, 72px) + 72px); }
@media (max-width: 992px) {
	.st-logo { order: 0; }
	.st-burger { order: 1; position: relative; }
	.st-nav { order: 2; }
	.st-header-actions { order: 3; }
	.st-header.is-menu-open .st-header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 0 8px; }
	.st-header.is-menu-open .st-header-actions .st-btn { flex: 1 1 100%; }
	.st-header.is-menu-open .st-login { padding: 8px 0; }
	.st-header.is-menu-open .st-cartlink { margin: 0; }
	.st-burger span { transition: transform .2s, opacity .2s; }
	.st-header.is-menu-open .st-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.st-header.is-menu-open .st-burger span:nth-child(2) { opacity: 0; }
	.st-header.is-menu-open .st-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
.st-syshead-inner > .st-buysteps { min-width: 0; }

/* selettore lingua compatto (1.6): mostra la lingua attuale, le altre si aprono sotto */
@media (min-width: 993px) {
	.st-header [data-ss-lang-switcher] { position: relative; width: 58px; height: 34px; flex: none; }
	.st-header [data-ss-lang-switcher]:empty { display: none; }
	.st-header .ssb-lang-switcher { position: absolute; top: 0; left: 0; right: 0; display: flex; flex-direction: column; gap: 2px; max-height: 34px; overflow: hidden; padding: 0; border-radius: 10px; background: transparent; z-index: 70; transition: max-height .2s ease, box-shadow .2s; }
	.st-header .ssb-lang-switcher li { order: 1; }
	.st-header .ssb-lang-switcher li:has(> a.active) { order: 0; }
	.st-header .ssb-lang-switcher a { padding: 8px 10px; border-radius: 8px; text-align: left; }
	.st-header .ssb-lang-switcher a.active { background: transparent; }
	.st-header .ssb-lang-switcher a.active::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
	.st-header [data-ss-lang-switcher]:hover .ssb-lang-switcher,
	.st-header [data-ss-lang-switcher]:focus-within .ssb-lang-switcher { max-height: 320px; background: var(--st-paper); box-shadow: 0 0 0 1px var(--st-line), 0 18px 40px rgba(22, 23, 18, .14); padding: 4px; }
	.st-header .ssb-lang-switcher a:hover { background: var(--st-lime-soft); color: var(--st-ink); }
}
@media (min-width: 993px) and (prefers-reduced-motion: reduce) { .st-header .ssb-lang-switcher { transition: none; } }
@media (max-width: 992px) {
	.st-header.is-menu-open [data-ss-lang-switcher] { flex: 1 1 100%; order: 5; }
	.st-header .ssb-lang-switcher { flex-wrap: wrap; }
}
@media (min-width: 1181px) {
	.st-header-inner { gap: 18px; }
	.st-header .ssb-menu-item > a, .st-header .ssb-menu-item > span { padding-left: 11px; padding-right: 11px; }
	.st-header-actions { gap: 8px; }
}
@media (min-width: 993px) {
	.st-header [data-ss-lang-switcher] { width: 66px; }
	.st-header .ssb-lang-switcher a { white-space: nowrap; }
}
.st-subnav-links { mask-image: none; -webkit-mask-image: none; padding-right: 8px; }

/* ================= Carrello e cassa (1.7) =================
   Il carrello del CMS porta con sé i suoi stili (intestazione colorata, totali centrati,
   pulsanti scuri): qui sotto le regole hanno specificità più alta e, dove serve, !important.
   theme.js aggiunge le classi .st-cart-table, .st-cart-coupon, .st-cart-totals, .st-cart-go
   e i pulsanti − / + della quantità; i selettori con :has() coprono il caso senza JavaScript. */
.st-shop .st-sys :is(.container, .container-fluid, .row, [class*="col-"], [class*="offset-"]) { max-width: none !important; }
.st-shop .st-sys--cart > h1, .st-shop .st-sys--cart :is(h1),
.st-shop .st-sys--checkout :is(h1) { display: none !important; }

/* elenco dei prodotti */
.st-shop .st-sys :is(.st-cart-table, table:has(thead)) { width: 100% !important; border: 1px solid var(--st-line) !important; border-radius: var(--st-radius) !important; background: var(--st-paper) !important; border-collapse: separate !important; border-spacing: 0 !important; overflow: hidden; margin: 0 0 16px !important; }
.st-shop .st-sys :is(.st-cart-table, table:has(thead)) thead th { background: var(--st-mist) !important; color: var(--st-muted) !important; font-family: var(--st-font-body) !important; font-size: .72rem !important; font-weight: 700 !important; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3 !important; padding: 12px 18px !important; border-bottom: 1px solid var(--st-line) !important; text-align: left !important; white-space: nowrap; }
.st-shop .st-sys :is(.st-cart-table, table:has(thead)) td { padding: 18px !important; border: 0 !important; border-bottom: 1px solid var(--st-line) !important; background: none !important; color: var(--st-ink) !important; text-align: left !important; vertical-align: middle !important; font-variant-numeric: tabular-nums; }
.st-shop .st-sys :is(.st-cart-table, table:has(thead)) tbody tr:last-child td { border-bottom: 0 !important; }
.st-shop .st-sys :is(.st-cart-table, table:has(thead)) td:first-child { font-weight: 700; }
.st-shop .st-sys :is(.st-cart-table, table:has(thead)) :is(th, td):last-child { text-align: right !important; }

/* quantità con − e + */
.st-shop .st-sys input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.st-shop .st-sys input[type=number]::-webkit-inner-spin-button,
.st-shop .st-sys input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.st-qty { display: inline-flex !important; align-items: stretch; border: 1px solid #c9ccb9; border-radius: 999px; background: var(--st-paper); overflow: hidden; height: 44px; }
.st-shop .st-sys .st-qty input[type=number] { width: 44px !important; height: 100% !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; text-align: center !important; background: none !important; font-weight: 700 !important; font-size: 1rem !important; box-shadow: none !important; }
.st-shop .st-sys .st-qty button { width: 40px !important; min-width: 0 !important; height: 100% !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: var(--st-ink) !important; font-size: 1.2rem !important; font-weight: 600 !important; line-height: 1 !important; }
.st-shop .st-sys .st-qty button:hover { background: var(--st-lime-soft) !important; }

/* pulsanti: il primario è sempre lime con testo nero */
.st-shop .st-sys :is(a, button, input)[class*="btn"], .st-shop .st-sys :is(button, input[type=submit], input[type=button]):not(.st-qty button) { font-family: var(--st-font-body) !important; font-weight: 700 !important; font-size: .95rem !important; line-height: 1.2 !important; min-height: 46px; padding: 12px 22px !important; border-radius: 999px !important; border: 2px solid var(--st-ink) !important; background: var(--st-paper) !important; color: var(--st-ink) !important; text-decoration: none !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; box-shadow: none !important; cursor: pointer; }
.st-shop .st-sys :is(a, button, input)[class*="btn"]:hover, .st-shop .st-sys :is(button, input[type=submit], input[type=button]):not(.st-qty button):hover { background: var(--st-ink) !important; color: var(--st-paper) !important; }
html body .st-shop .st-sys :is(.st-cart-go, a[href*="checkout"], .st-cart-coupon :is(button, input[type=submit])) { background: var(--st-lime) !important; border-color: var(--st-lime) !important; color: var(--st-ink) !important; }
html body .st-shop .st-sys :is(.st-cart-go, a[href*="checkout"], .st-cart-coupon :is(button, input[type=submit])):hover { background: var(--st-lime-deep) !important; border-color: var(--st-lime-deep) !important; color: var(--st-ink) !important; }
.st-shop .st-sys .st-cart-go { width: 100%; min-height: 54px; font-size: 1.02rem !important; margin-top: 6px; }
.st-shop .st-sys .st-cart-go::after { content: "→"; font-size: 1.1em; line-height: 1; }
.st-aside-card > .st-link { justify-self: start; }

/* codice sconto */
.st-shop .st-sys .st-cart-coupon { margin: 0 0 16px !important; width: auto !important; max-width: none !important; float: none !important; padding: 20px 22px !important; border: 1px solid var(--st-line) !important; border-radius: var(--st-radius) !important; background: var(--st-paper) !important; box-shadow: none !important; display: grid; gap: 10px; text-align: left !important; }
.st-shop .st-sys .st-cart-coupon :is(h2, h3, h4, h5, legend) { font-family: var(--st-font-title) !important; font-size: 1.1rem !important; font-weight: 400 !important; margin: 0 !important; }
.st-shop .st-sys .st-cart-coupon form { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin: 0; }
.st-shop .st-sys .st-cart-coupon form > :is(label, .form-label) { flex-basis: 100%; }
.st-shop .st-sys .st-cart-coupon input:not([type=hidden]):not([type=submit]):not([type=button]) { flex: 1 1 160px; min-width: 0; height: 46px; margin: 0 !important; }
.st-shop .st-sys .st-cart-coupon :is(.form-group, .mb-3, div):has(> input) { flex: 1 1 160px; margin: 0; display: grid; gap: 6px; }
.st-shop .st-sys details { font-size: .9rem; color: var(--st-muted); }
.st-shop .st-sys details > summary { cursor: pointer; font-weight: 600; color: var(--st-ink); list-style-position: inside; }
.st-shop .st-sys details[open] > summary { margin-bottom: 10px; }

/* totali */
.st-shop .st-sys .st-cart-totals { margin: 0 !important; width: auto !important; max-width: none !important; float: none !important; padding: 22px !important; border: 1px solid var(--st-line) !important; border-radius: var(--st-radius) !important; background: var(--st-mist) !important; box-shadow: none !important; text-align: left !important; display: grid; gap: 4px; }
.st-shop .st-sys .st-cart-totals :is(h2, h3, h4, h5) { font-family: var(--st-font-title) !important; font-size: 1.2rem !important; font-weight: 400 !important; margin: 0 0 6px !important; text-align: left !important; }
.st-shop .st-sys .st-cart-totals table { display: table !important; width: 100% !important; margin: 0 !important; border: 0 !important; background: none !important; border-collapse: collapse !important; }
.st-shop .st-sys .st-cart-totals tbody { display: table-row-group !important; }
.st-shop .st-sys .st-cart-totals tr { display: table-row !important; }
.st-shop .st-sys .st-cart-totals :is(th, td) { display: table-cell !important; padding: 10px 0 !important; border: 0 !important; border-bottom: 1px solid var(--st-line) !important; background: none !important; color: var(--st-ink) !important; font-family: var(--st-font-body) !important; font-size: .95rem !important; font-weight: 400 !important; text-align: left !important; vertical-align: baseline !important; width: auto !important; }
.st-shop .st-sys .st-cart-totals th { color: var(--st-muted) !important; padding-right: 16px !important; }
.st-shop .st-sys .st-cart-totals td:last-child:not(:first-child) { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600 !important; }
.st-shop .st-sys .st-cart-totals td:only-child, .st-shop .st-sys .st-cart-totals td[colspan] { color: var(--st-muted) !important; font-size: .88rem !important; }
.st-shop .st-sys .st-cart-totals tr:last-child :is(th, td) { border-bottom: 0 !important; padding-top: 14px !important; color: var(--st-ink) !important; font-size: 1.05rem !important; font-weight: 700 !important; }
.st-shop .st-sys .st-cart-totals tr:last-child td:last-child { font-family: var(--st-font-title) !important; font-size: 1.7rem !important; font-weight: 400 !important; }
.st-shop .st-sys .st-cart-totals :is(p, a:not(.st-cart-go)) { text-align: left !important; font-size: .9rem; }
.st-shop .st-sys .st-cart-totals .is-zero { display: none !important; }
.st-shop .st-sys .st-cart-update { display: flex; justify-content: flex-end; margin: -4px 0 16px; }

/* due colonne quando c'è spazio: codice sconto a sinistra, totali a destra */
@media (min-width: 1181px) {
	.st-shop .st-sys .st-cart-pair { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; margin: 0 !important; }
	.st-shop .st-sys .st-cart-pair > * { width: auto !important; max-width: none !important; margin: 0 !important; padding-inline: 0; flex: none !important; }
}

@media (max-width: 768px) {
	.st-shop .st-sys :is(.container, .container-fluid, .row, [class*="col-"], [class*="offset-"]) { width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; flex: none !important; }
	.st-shop .st-sys .row { display: block !important; }
	/* ogni prodotto diventa una scheda */
	.st-shop .st-sys :is(.st-cart-table, table:has(thead)) { display: block !important; border: 0 !important; background: none !important; overflow: visible; }
	.st-shop .st-sys :is(.st-cart-table, table:has(thead)) thead { display: none !important; }
	.st-shop .st-sys :is(.st-cart-table, table:has(thead)) tbody { display: grid !important; gap: 10px; }
	.st-shop .st-sys :is(.st-cart-table, table:has(thead)) tr { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 16px; padding: 16px !important; border: 1px solid var(--st-line) !important; border-radius: var(--st-radius) !important; background: var(--st-paper) !important; }
	.st-shop .st-sys :is(.st-cart-table, table:has(thead)) td { display: block !important; padding: 0 !important; border: 0 !important; text-align: left !important; width: auto !important; }
	.st-shop .st-sys :is(.st-cart-table, table:has(thead)) td:first-child { grid-column: 1 / -1; font-size: 1.05rem; line-height: 1.35; }
	.st-shop .st-sys :is(.st-cart-table, table:has(thead)) td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--st-muted); margin-bottom: 2px; }
	.st-shop .st-sys :is(.st-cart-table, table:has(thead)) td:has(.st-qty, input[type=number]) { justify-self: end; }
	.st-shop .st-sys :is(.st-cart-table, table:has(thead)) td:has(.st-qty, input[type=number])::before { text-align: right; }
	.st-shop .st-sys :is(.st-cart-table, table:has(thead)) td:last-child:not(:first-child):not(:has(.st-qty, input, button, a)) { grid-column: 1 / -1; display: flex !important; justify-content: space-between; align-items: baseline; padding-top: 12px !important; border-top: 1px solid var(--st-line) !important; font-weight: 700; text-align: right !important; }
	.st-shop .st-sys :is(.st-cart-table, table:has(thead)) td:last-child:not(:first-child):not(:has(.st-qty, input, button, a))::before { margin: 0; }
	.st-shop .st-sys .st-cart-update > * { width: 100%; }
	.st-shop .st-sys .st-cart-totals tr:last-child td:last-child { font-size: 1.5rem !important; }
}

/* ================= Header su una riga (1.8) =================
   Il menu non va mai a capo: le voci restano su una riga e, se lo spazio non basta,
   theme.js toglie prima il pulsante "Richiedi una demo" (.is-tight) e poi stringe le voci (.is-compact). */
@media (min-width: 993px) {
	.st-header-inner { flex-wrap: nowrap; }
	.st-logo, .st-header-actions { flex: none; }
	.st-nav { flex: none; }
	.st-header .st-nav .ssb-menu { flex-wrap: nowrap !important; }
	.st-header .st-nav .ssb-menu > .ssb-menu-item { flex: none; }
	.st-header .ssb-menu-item > a, .st-header .ssb-menu-item > span { white-space: nowrap; }
	.st-header-actions > * { margin: 0 !important; }
	.st-header-actions .st-btn { padding: 11px 20px; font-size: .94rem; }
	.st-header.is-tight .st-header-actions .st-btn { display: none; }
	.st-header.is-compact .st-header-inner { gap: 12px; }
	.st-header.is-compact .st-header-actions { gap: 4px; }
	.st-header.is-compact .st-nav .ssb-menu > .ssb-menu-item > a,
	.st-header.is-compact .st-nav .ssb-menu > .ssb-menu-item > span { padding-left: 8px; padding-right: 8px; font-size: .9rem; }
	.st-header.is-compact .st-login { font-size: .9rem; }
}