/*
Theme Name: StoreSuite
Theme URI: https://storesuite.me
Author: AdecPC di Antonio De Cosmi
Description: Tema di StoreSuite: home con minigioco Bit, pagine settore, shop WooCommerce e modulo preventivo. Font ospitati sul server (nessuna chiamata a Google Fonts).
Version: 1.1.2
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietaria
Text Domain: storesuite
*/

/* ---------- Font (locali) ---------- */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('assets/fonts/space-grotesk-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('assets/fonts/space-grotesk-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url('assets/fonts/jetbrains-mono-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url('assets/fonts/jetbrains-mono-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Token ---------- */
:root {
	--bg: #0a0f1c;
	--bg-deep: #080c17;
	--panel: #0b1222;
	--panel-2: #0f1729;
	--card: #0c1325;
	--card-hover: #0d1a2e;
	--line: #1c2640;
	--line-2: #243150;
	--dot: #2a3654;
	--ink: #e6edf7;
	--ink-2: #c3cde0;
	--muted: #b7c2d6;
	--muted-2: #a9b5ca;
	--dim: #93a0b8;
	--faint: #5b6b86;
	--cyan: #22d3ee;
	--cyan-2: #67e8f9;
	--green: #4ade80;
	--magenta: #e879f9;
	--magenta-ink: #f5c6fb;
	--amber: #fbbf24;
	--mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
	--sans: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--wrap: 1240px;
	--radius: 10px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-2); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
input, select, textarea, button { font-family: inherit; }
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--cyan); color: var(--bg); border-radius: 6px; }

@keyframes caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.ss-rain { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 0; opacity: .5; }
.ss-page { position: relative; z-index: 1; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(10,15,28,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.logo { display: inline-flex; align-items: center; gap: .32em; font-family: var(--mono); font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: -.01em; }
.lg-chev { width: .42em; height: .56em; background: var(--green); clip-path: polygon(0 0, 45% 0, 100% 50%, 45% 100%, 0 100%, 55% 50%); margin-right: .12em; }
.lg-a { color: var(--ink); }
.lg-b { color: var(--cyan); margin-left: -.02em; }
.lg-cur { width: .5em; height: .95em; background: var(--cyan); margin-left: .12em; transform: translateY(.06em); animation: caret 1.1s steps(1) infinite; }
.logo-sm { font-size: 17px; margin-bottom: 4px; }
.logo-sm .lg-cur { animation: none; }
.brand-mark { width: 22px; height: 22px; border: 2px solid var(--cyan); border-radius: 3px; display: grid; place-items: center; flex: none; }
.brand-mark::after { content: ""; width: 8px; height: 8px; background: var(--green); }
.brand-name { font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand-name small { font-family: var(--mono); font-weight: 400; color: var(--dim); font-size: 14px; }
.brand img { max-height: 36px; width: auto; }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); border-radius: 6px; padding: 8px 12px; font-family: var(--mono); font-size: 13px; cursor: pointer; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; font-size: 15px; }
.main-nav a { color: var(--ink-2); }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--ink); }
.main-nav .nav-cta > a, .main-nav a.nav-cta { padding: 8px 16px; border: 1px solid var(--magenta); color: var(--magenta-ink); border-radius: 6px; }
.main-nav .nav-cta > a:hover, .main-nav a.nav-cta:hover { background: rgba(232,121,249,.12); color: #fff; }
.main-nav .sub-menu { display: none; }
.header-cart { font-family: var(--mono); font-size: 13px; color: var(--dim); }
@media (max-width: 760px) {
	.nav-toggle { display: inline-block; }
	.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: rgba(10,15,28,.97); border-bottom: 1px solid var(--line); padding: 16px 24px 20px; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; align-items: flex-start; gap: 14px; font-size: 17px; }
}

/* ---------- Pulsanti ---------- */
.btn { display: inline-block; padding: 16px 26px; border-radius: 8px; font-weight: 600; font-size: 17px; line-height: 1.2; border: 1px solid transparent; cursor: pointer; transition: background .2s, box-shadow .2s, color .2s; text-align: center; }
.btn-primary { background: var(--cyan); color: var(--bg); border-color: var(--cyan); }
.btn-primary:hover { background: var(--cyan-2); color: var(--bg); box-shadow: 0 0 32px rgba(34,211,238,.45); }
.btn-outline { border-color: var(--magenta); color: var(--magenta-ink); background: transparent; }
.btn-outline:hover { background: rgba(232,121,249,.12); color: #fff; }
.btn-sm { padding: 12px 20px; font-size: 15px; border-radius: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, #0c1426 0 14px, #0a1120 14px 28px); }
.hero-bg video, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,15,28,.94) 0%, rgba(10,15,28,.78) 55%, rgba(10,15,28,.9) 100%); }
.hero-note { position: absolute; left: 24px; bottom: 14px; font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: .04em; }
.hero-grid { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 88px 24px 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.hero-kicker { font-family: var(--mono); font-size: 13px; color: var(--green); display: flex; align-items: center; gap: 10px; }
.hero-kicker::before { content: ""; width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 1.6s infinite; }
.hero h1 { margin: 0; font-size: clamp(44px, 6.4vw, 84px); line-height: .98; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero-lead { margin: 0; font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 520px; text-wrap: pretty; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Editor + gioco ---------- */
.editor { width: 100%; justify-self: center; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(34,211,238,.06), 0 0 60px rgba(34,211,238,.08); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--panel-2); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--dim); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); flex: none; }
.win-bar b { margin-left: 8px; color: var(--ink); font-weight: 400; }
.win-status { margin-left: auto; color: var(--green); }
.editor-screen { position: relative; aspect-ratio: 3 / 2; background: var(--bg); }
.editor-code, .code-strip, .step-cmd { font-variant-ligatures: none; }
.editor-code { position: absolute; inset: 0; padding: 16px 16px 16px 8px; font-family: var(--mono); font-size: 13px; line-height: 1.65; color: #cbd5e1; white-space: pre-wrap; overflow: hidden; }
.editor-code .ln { display: inline-block; width: 28px; text-align: right; margin-right: 14px; color: #334060; }
.editor-code .caret { display: inline-block; width: 8px; height: 15px; background: var(--cyan); vertical-align: -2px; animation: caret 1s steps(1) infinite; }
.editor-code .c-cm { color: var(--faint); } .editor-code .c-st { color: var(--green); } .editor-code .c-kw { color: var(--cyan); } .editor-code .c-cl { color: var(--amber); }
.editor-code .out { padding-left: 42px; }
.game { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; touch-action: none; display: none; }
.overlay { position: absolute; inset: 0; display: none; place-items: center; background: rgba(10,15,28,.55); }
.overlay.is-on { display: grid; }
.overlay-won { background: rgba(10,15,28,.88); }
.overlay-box { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 16px 24px; max-width: 400px; }
.btn-play { padding: 14px 30px; background: var(--green); color: var(--bg); border: 0; border-radius: 6px; font-family: var(--mono); font-weight: 700; font-size: 16px; cursor: pointer; letter-spacing: .06em; }
.btn-play:hover { box-shadow: 0 0 28px rgba(74,222,128,.5); }
.overlay-hint { font-family: var(--mono); font-size: 12px; color: var(--muted); max-width: 300px; line-height: 1.5; }
.overlay-won .won-meta { font-family: var(--mono); font-size: 12px; color: var(--green); }
.overlay-won .won-title { font-size: 24px; font-weight: 700; line-height: 1.2; text-wrap: balance; }
.btn-ghost { padding: 11px 18px; background: transparent; border: 1px solid var(--dot); color: var(--ink-2); border-radius: 6px; cursor: pointer; font-size: 15px; }
.editor-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 10px 14px; background: var(--panel-2); border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--dim); }
.editor-foot .v-cyan { color: var(--cyan); } .editor-foot .v-ink { color: var(--ink); } .editor-foot .v-green { color: var(--green); } .editor-foot .v-faint { color: var(--faint); }
.pad { margin-left: auto; display: flex; gap: 4px; }
.pad button { width: 32px; height: 32px; background: #16203a; border: 1px solid var(--line-2); color: var(--ink-2); border-radius: 4px; cursor: pointer; font-size: 14px; }
.pad button:hover { border-color: var(--cyan); color: var(--ink); }

/* ---------- Striscia di codice ---------- */
.code-strip { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--panel); padding: 12px 0; font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.code-strip-track { display: inline-flex; gap: 48px; animation: marquee 60s linear infinite; padding-left: 48px; }
.code-strip .k1 { color: var(--faint); } .code-strip .k2 { color: var(--green); } .code-strip .k3 { color: var(--cyan); }

/* ---------- Sezioni ---------- */
.sec { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sec-last { padding-bottom: 96px; }
.sec-trace { margin-left: 5px; width: 1px; height: 96px; background: linear-gradient(var(--line), var(--c, var(--cyan))); }
.sec-trace.is-first { height: 72px; background: linear-gradient(var(--bg), var(--c, var(--cyan))); }
.sec-label { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--c, var(--cyan)); letter-spacing: .08em; text-transform: uppercase; }
.sec-label::before { content: ""; width: 11px; height: 11px; border: 2px solid var(--c, var(--cyan)); border-radius: 50%; box-shadow: 0 0 12px var(--c, var(--cyan)); flex: none; }
.sec-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--c, var(--cyan)) 33%, transparent), transparent); }
.c-green { --c: #4ade80; } .c-magenta { --c: #e879f9; }
.sec-title { margin: 28px 0 36px; font-size: clamp(36px, 4.6vw, 60px); line-height: 1; letter-spacing: -.03em; font-weight: 700; }
.sec-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: end; justify-content: space-between; margin: 28px 0 36px; }
.sec-head .sec-title { margin: 0; }
.sec-head p { margin: 0; max-width: 440px; color: var(--muted); font-size: 17px; line-height: 1.55; text-wrap: pretty; }

/* Numeri */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 32px 0 0; border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg); padding: 36px 32px; display: flex; flex-direction: column; gap: 10px; }
.stat-num { font-family: var(--mono); font-size: 72px; font-weight: 700; line-height: 1; color: var(--ink); }
.stat-num small { font-size: 28px; color: var(--dim); margin-left: 8px; font-weight: 700; }
.stat:nth-child(1) .stat-num { color: var(--cyan); } .stat:nth-child(2) .stat-num { color: var(--green); }
.stat-label { font-size: 18px; color: var(--ink-2); }
.stat-sub { font-family: var(--mono); font-size: 12px; color: var(--faint); }

/* Settori */
.sectors { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.sector { display: flex; flex-direction: column; gap: 18px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; min-height: 230px; }
.sector:hover, .sector:focus-visible { border-color: var(--cyan); background: var(--card-hover); box-shadow: 0 0 0 1px var(--cyan), 0 0 40px rgba(34,211,238,.22), inset 0 0 30px rgba(34,211,238,.06); color: var(--ink); }
.sector-top { display: flex; align-items: center; justify-content: space-between; }
.chip { width: 48px; height: 48px; border: 2px solid #2f7f8f; border-radius: 6px; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--cyan); background: #0a1a24; box-shadow: 0 -6px 0 -4px #2f7f8f, 0 6px 0 -4px #2f7f8f; }
.sector-idx { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.sector-body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sector-name { font-size: 22px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.sector-line { font-size: 15px; line-height: 1.5; color: var(--muted-2); text-wrap: pretty; }
.sector-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px dashed var(--line); padding-top: 14px; }
.sector-price { font-family: var(--mono); font-size: 14px; color: var(--green); }
.sector-price span { color: var(--dim); }
.sector-go { font-size: 14px; color: var(--cyan); white-space: nowrap; }

/* Terminale passi */
.terminal { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; font-family: var(--mono); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.step { padding: 28px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.step-cmd { font-size: 13px; color: var(--green); }
.step-title { font-family: var(--sans); font-size: 22px; font-weight: 600; color: var(--ink); }
.step-text { font-family: var(--sans); font-size: 15px; line-height: 1.55; color: var(--muted-2); text-wrap: pretty; }
.step-when { font-size: 12px; color: var(--faint); }

/* Casi reali */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 40px; }
.case { display: flex; flex-direction: column; align-items: center; }
.monitor { width: 100%; padding: 12px 12px 16px; background: #141c30; border: 1px solid var(--dot); border-radius: 12px; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.monitor-screen { aspect-ratio: 16 / 10; background: repeating-linear-gradient(135deg, #131c33 0 10px, #10182c 10px 20px); border-radius: 4px; overflow: hidden; }
.monitor-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.monitor-neck { width: 22%; height: 34px; background: linear-gradient(#1a2338, #101828); }
.monitor-foot { width: 42%; height: 8px; background: #1a2338; border-radius: 4px 4px 2px 2px; }
.case-meta { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.case-name { font-size: 24px; font-weight: 600; }
.case-sector { font-family: var(--mono); font-size: 12px; color: var(--dim); text-transform: uppercase; }
.slot-hint { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 16px; font-size: 13px; color: var(--dim); border: 1px dashed var(--line-2); }

/* Incluso */
.included { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.inc { background: var(--bg); padding: 26px 24px; display: flex; gap: 16px; align-items: flex-start; }
.inc-check { font-family: var(--mono); font-size: 14px; color: var(--green); padding-top: 3px; }
.inc-t { font-size: 19px; font-weight: 600; }
.inc-d { font-size: 15px; line-height: 1.5; color: var(--muted-2); }

/* Contatti */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; margin-top: 36px; align-items: start; }
@media (min-width: 900px) { .contact-form-col { padding-top: 8px; } }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo { background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.photo .win-bar { padding: 7px 10px; gap: 6px; font-size: 11px; }
.photo .win-bar i { width: 7px; height: 7px; }
.photo .win-bar span { margin-left: 4px; }
.photo-img { aspect-ratio: 4 / 5; background: repeating-linear-gradient(135deg, #131c33 0 10px, #10182c 10px 20px); }
.photo-img img { width: 100%; height: 100%; object-fit: cover; }
.contact-copy { display: flex; flex-direction: column; gap: 24px; }
.contact-copy .sec-title { margin: 0; }
.contact-copy > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; max-width: 480px; }
.direct { display: flex; gap: 12px; flex-wrap: wrap; }
.direct a { display: flex; flex-direction: column; gap: 2px; padding: 14px 20px; border: 1px solid var(--line-2); border-radius: 8px; color: var(--ink); background: var(--card); }
.direct a:hover { border-color: var(--cyan); color: var(--ink); }
.direct a.wa:hover { border-color: var(--green); }
.direct small { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.direct strong { font-size: 17px; font-weight: 600; }

/* Moduli */
.ss-form { display: flex; flex-direction: column; gap: 14px; }
.ss-form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.ss-form label.f { display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 12px; color: var(--dim); text-transform: uppercase; }
.ss-form input[type=text], .ss-form input[type=email], .ss-form input[type=tel], .ss-form select, .ss-form textarea,
.page-content input[type=text], .page-content input[type=email], .page-content input[type=tel], .page-content input[type=password], .page-content input[type=number], .page-content select, .page-content textarea {
	padding: 13px 14px; background: var(--card); border: 1px solid var(--line-2); border-radius: 6px; color: var(--ink); font-size: 16px; font-family: var(--sans); text-transform: none; width: 100%;
}
.ss-form input:focus, .ss-form select:focus, .ss-form textarea:focus, .page-content input:focus, .page-content select:focus, .page-content textarea:focus { outline: none; border-color: var(--cyan); }
.ss-form textarea { resize: vertical; }
.ss-form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted-2); line-height: 1.45; }
.ss-form .consent input { margin-top: 3px; accent-color: var(--cyan); width: 16px; height: 16px; flex: none; }
.ss-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ss-form button[type=submit] { align-self: flex-start; }
.form-ok { padding: 24px; border: 1px solid var(--green); border-radius: var(--radius); background: #0c1a17; font-family: var(--mono); color: var(--green); font-size: 15px; }
.form-err { padding: 14px 18px; border: 1px solid #f87171; border-radius: 8px; background: #1f0f14; color: #fecaca; font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); position: relative; z-index: 1; }
.site-footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; font-size: 14px; color: var(--dim); }
.foot-legal { font-family: var(--mono); font-size: 12px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.foot-links a { color: var(--dim); }
.foot-links a:hover { color: var(--ink); }
.foot-col { display: flex; flex-direction: column; gap: 8px; }

/* ---------- Pagine interne ---------- */
.page-hero { border-bottom: 1px solid var(--line); background: repeating-linear-gradient(135deg, #0c1426 0 14px, #0a1120 14px 28px); }
.page-hero .wrap { padding-top: 56px; padding-bottom: 48px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.03em; margin: 12px 0 0; }
.crumb { font-family: var(--mono); font-size: 12px; color: var(--green); }
.page-content { max-width: 860px; margin: 0 auto; padding: 48px 24px 96px; }
.page-content.is-wide { max-width: var(--wrap); }
.page-content h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 1.6em; }
.page-content h3 { font-size: 22px; margin-top: 1.4em; }
.page-content ul, .page-content ol { padding-left: 1.3em; }
.page-content li { margin-bottom: .4em; }
.page-content table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.page-content th, .page-content td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.page-content th { background: var(--panel-2); }
.page-content blockquote { margin: 1.2em 0; padding: 12px 20px; border-left: 3px solid var(--cyan); background: var(--panel); }
.page-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.page-content .wp-block-button__link { background: var(--cyan); color: var(--bg); border-radius: 8px; font-weight: 600; }
.post-list { display: grid; gap: 16px; }
.post-card { padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.post-card h2 { margin: 0 0 8px; font-size: 24px; }
.post-card h2 a { color: var(--ink); }
.post-meta { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.pagination { margin-top: 32px; display: flex; gap: 8px; font-family: var(--mono); }
.pagination .page-numbers { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--ink-2); }
.pagination .current { border-color: var(--cyan); color: var(--cyan); }

/* ---------- Plugin StoreSuite – Settori in tema scuro ---------- */
.ss-wrap {
	--ss-accent: #22d3ee; --ss-accent-ink: #0a0f1c; --ss-ink: #e6edf7; --ss-muted: #a9b5ca;
	--ss-line: #1c2640; --ss-soft: #0f1729; --ss-card: #0c1325; --ss-radius: 10px;
	font-family: var(--sans);
}
.page-content.is-wide .ss-wrap { padding-left: 0; padding-right: 0; }
.ss-wrap .ss-kicker { font-family: var(--mono); color: var(--green); text-transform: none; letter-spacing: 0; }
.ss-wrap .ss-h1 { letter-spacing: -.03em; font-size: clamp(34px, 5vw, 56px); }
.ss-wrap .ss-h2 { letter-spacing: -.02em; }
.ss-wrap .ss-btn { border-radius: 8px; }
.ss-wrap .ss-btn--ghost { border-color: var(--magenta); color: var(--magenta-ink) !important; }
.ss-wrap .ss-btn--ghost:hover { background: rgba(232,121,249,.12); }
.ss-wrap .ss-tier--top { box-shadow: 0 0 0 1px var(--cyan), 0 0 40px rgba(34,211,238,.18); }
.ss-wrap .ss-price strong, .ss-wrap .ss-tier-name { font-family: var(--mono); }
.ss-wrap .ss-problemi li::before { color: var(--magenta); }
.ss-wrap .ss-card--link:hover { box-shadow: 0 0 0 1px var(--cyan), 0 0 40px rgba(34,211,238,.22); }
.ss-wrap .ss-card-price { font-family: var(--mono); color: var(--green); }
.ss-wrap .ss-faq summary { color: var(--ink); }
.ss-wrap .ss-regole { border: 1px solid var(--line); }

/* ---------- WooCommerce in tema scuro ---------- */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce-page .button, .wc-block-components-button:not(.is-link) {
	background: var(--cyan) !important; color: var(--bg) !important; border-radius: 8px !important; font-weight: 600 !important; border: 0 !important; padding: 12px 20px !important;
}
.woocommerce .button:hover, .wc-block-components-button:not(.is-link):hover { background: var(--cyan-2) !important; }
.woocommerce ul.products li.product, .wc-block-grid__product { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--ink); font-size: 18px; }
.woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce ul.products li.product .price { color: var(--green) !important; font-family: var(--mono); }
.woocommerce table.shop_table, .woocommerce-checkout-review-order-table { border-color: var(--line) !important; background: var(--panel); border-radius: var(--radius); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--line) !important; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container .select2-selection--single,
.wc-block-components-text-input input, .wc-block-components-combobox input, .wc-blocks-components-select__select {
	background: var(--card) !important; color: var(--ink) !important; border: 1px solid var(--line-2) !important; border-radius: 6px !important;
}
.wc-block-components-text-input label, .wc-block-components-combobox label, .wc-blocks-components-select__label { color: var(--dim) !important; }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner { background: var(--panel) !important; color: var(--ink) !important; border-top-color: var(--cyan) !important; border-color: var(--line-2) !important; }
.woocommerce-checkout #payment, .woocommerce-cart .cart-collaterals .cart_totals { background: var(--panel) !important; border-radius: var(--radius); }
.woocommerce-checkout #payment div.payment_box { background: var(--card) !important; color: var(--ink); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--card) !important; }
.woocommerce span.onsale { background: var(--magenta); color: var(--bg); }
.woocommerce nav.woocommerce-pagination ul, .woocommerce nav.woocommerce-pagination ul li { border-color: var(--line-2); }
.woocommerce-breadcrumb, .woocommerce-breadcrumb a { color: var(--dim) !important; font-family: var(--mono); font-size: 12px; }
.select2-dropdown { background: var(--card); color: var(--ink); border-color: var(--line-2); }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
	body { font-size: 16px; }
	.hero-grid { padding: 56px 16px 72px; gap: 40px; }
	.wrap, .sec { padding-left: 16px; padding-right: 16px; }
	.hero-lead { font-size: 18px; }
	.stat-num { font-size: 60px; }
	.hero-note { display: none; }
	.pad button { width: 40px; height: 40px; }
	.editor-foot { gap: 10px; }
	.pad { margin-left: 0; width: 100%; justify-content: center; }
	.photos { gap: 10px; }
}

/* ---------- Demo: scelta del sito da provare ---------- */
.demos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.demo { display: flex; flex-direction: column; gap: 18px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.demo:hover, .demo:focus-within { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 0 40px rgba(74,222,128,.16), inset 0 0 30px rgba(74,222,128,.05); }
.demo-top { display: flex; align-items: center; justify-content: space-between; }
.demo-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.demo-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: demo-pulsa 1.8s infinite; }
@keyframes demo-pulsa { 70% { box-shadow: 0 0 0 9px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.demo-body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.demo-name { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.demo-tag { display: inline-block; vertical-align: middle; padding: 3px 10px; border: 1px solid var(--magenta); border-radius: 999px; color: var(--magenta-ink); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.demo-line { margin: 0; color: var(--muted-2); font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.demo-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.demo-list li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.demo-list li::before { content: ">"; position: absolute; left: 0; top: 0; font-family: var(--mono); font-weight: 700; color: var(--cyan); }
.demo-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; border-top: 1px dashed var(--line); padding-top: 16px; }
.demo-more { font-size: 14px; color: var(--dim); }
.demo-more:hover { color: var(--cyan); }
.demo-soon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 24px 0 0; color: var(--dim); font-size: 15px; }
.demo-soon-label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.demo-chip { padding: 5px 14px; border: 1px dashed var(--line-2); border-radius: 999px; font-size: 14px; color: var(--muted-2); }
.demo-soon a { margin-left: 8px; }

/* Demo: collegamenti diretti sotto i pulsanti della prima schermata */
.hero-demo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.hero-demo-label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-right: 4px; }
.demo-quick { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(12,19,37,.6); font-family: var(--mono); font-size: 14px; color: var(--ink-2); transition: border-color .2s, box-shadow .2s, color .2s; }
.demo-quick i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.demo-quick small { font-size: 12px; color: var(--magenta-ink); }
.demo-quick:hover, .demo-quick:focus-visible { border-color: var(--green); color: var(--ink); box-shadow: 0 0 0 1px var(--green), 0 0 24px rgba(74,222,128,.25); }

/* ---------- Riduci movimento ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
	.ss-rain, .hero-bg video { display: none !important; }
}

/* Liste del plugin settori: niente rientro delle pagine interne. */
.page-content .ss-wrap ul, .page-content .ss-wrap ol { padding-left: 0; }
.page-content .ss-wrap li { margin-bottom: 0; }
