/* ==========================================================================
   StoreSuite Ristorazione — 5 TEMPLATE GRAFICI (v5.0)
   1 Forno Classico · 2 Notte Gourmet · 3 Street Food Pop · 4 Trattoria Verde · 5 Bianco Minimal
   Ogni template cambia colori, caratteri, forme e impaginazione della home
   (stesso contenuto, stesse impostazioni di Aspetto > Personalizza).
   ========================================================================== */

body { transition: background-color .25s ease, color .25s ease; }
h1, h2, h3 { font-family: var(--font-serif); }

/* ---------- Comune: menù sfogliabile che segue i colori del template ---------- */
body[class*="ss-tpl-"] .tkp-wrap { color: var(--ink); font-family: var(--font-sans); }
body[class*="ss-tpl-"] .tkp-head h2,
body[class*="ss-tpl-"] .tkp-cover-title,
body[class*="ss-tpl-"] .tkp-page-head h3,
body[class*="ss-tpl-"] .tkp-masthead-brand,
body[class*="ss-tpl-"] .tkp-price { font-family: var(--font-serif); }
body[class*="ss-tpl-"] .tkp-kicker,
body[class*="ss-tpl-"] .tkp-head h2 em,
body[class*="ss-tpl-"] .tkp-cover-title em,
body[class*="ss-tpl-"] .tkp-masthead-brand em,
body[class*="ss-tpl-"] .tkp-page-head span,
body[class*="ss-tpl-"] .tkp-toc-btn b,
body[class*="ss-tpl-"] .tkp-dough select { color: var(--accent); }
body[class*="ss-tpl-"] .tkp-add-btn,
body[class*="ss-tpl-"] .tkp-start-btn,
body[class*="ss-tpl-"] .tkp-submit-btn { background: var(--accent); }
body[class*="ss-tpl-"] .tkp-add-btn:hover { background: var(--accent-dark); }
body[class*="ss-tpl-"] .tkp-badge { background: var(--accent-soft); color: var(--accent); }
body[class*="ss-tpl-"] .tkp-toc-btn:hover { border-color: var(--accent); }

/* ==========================================================================
   2 · NOTTE GOURMET — scuro, oro, serif elegante, foto a tutto schermo
   ========================================================================== */
body.ss-tpl-2 {
    --bg: #0E0C0A; --surface: #17130F; --surface-alt: #120F0C; --ink: #F3ECE0; --ink-muted: #B5A994;
    --accent: #C9A45C; --accent-dark: #A8853F; --accent-soft: rgba(201,164,92,.14); --dark-box: #080706;
    --border: rgba(201,164,92,.24); --radius: 0px; --radius-sm: 0px; --shadow: none;
    --font-serif: 'Cormorant Garamond', Georgia, serif; --font-sans: 'Jost', 'Segoe UI', sans-serif;
}
body.ss-tpl-2 .topbar { background: #080706; color: var(--ink-muted); border-bottom: 1px solid var(--border); letter-spacing: .04em; }
body.ss-tpl-2 .site-header { background: rgba(14,12,10,.92); border-bottom-color: var(--border); }
body.ss-tpl-2 .brand-text strong { color: var(--ink); font-weight: 600; font-size: 1.6rem; letter-spacing: .02em; }
body.ss-tpl-2 .main-nav a { color: var(--ink-muted); text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 500; }
body.ss-tpl-2 .main-nav a:hover { color: var(--accent); }
body.ss-tpl-2 .btn { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 500; padding: 14px 26px; }
body.ss-tpl-2 .btn-primary { background: transparent; border-color: var(--accent); color: var(--accent); }
body.ss-tpl-2 .btn-primary:hover { background: var(--accent); color: #0E0C0A; filter: none; transform: none; }
body.ss-tpl-2 .btn-outline, body.ss-tpl-2 .btn-outline-light { border-color: rgba(243,236,224,.35); color: var(--ink); }
body.ss-tpl-2 .btn-outline:hover, body.ss-tpl-2 .btn-outline-light:hover { background: var(--ink); color: #0E0C0A; }
body.ss-tpl-2 .cart-trigger { background: transparent; border-color: var(--border); color: var(--ink); }
body.ss-tpl-2 .cart-badge { background: var(--accent); color: #0E0C0A; }
body.ss-tpl-2 .mobile-menu-btn { color: var(--ink); border-color: var(--border); }
body.ss-tpl-2 .main-nav.open { background: var(--bg); }
/* Hero a tutto schermo con foto sullo sfondo */
body.ss-tpl-2 .hero { padding: 0; }
body.ss-tpl-2 .hero .container { max-width: none; padding: 0; }
body.ss-tpl-2 .hero-grid { display: block; position: relative; border-radius: 0; min-height: 88vh; background: #000; box-shadow: none; }
body.ss-tpl-2 .hero-media { position: absolute; inset: 0; min-height: 0; }
body.ss-tpl-2 .hero-media img { opacity: .42; }
body.ss-tpl-2 .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,12,10,.2) 0%, rgba(14,12,10,.55) 60%, #0E0C0A 100%); }
body.ss-tpl-2 .hero-content { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; padding: 20vh 24px 16vh; text-align: center; }
body.ss-tpl-2 .hero-kicker { color: var(--accent); letter-spacing: .32em; font-weight: 500; font-size: .74rem; }
body.ss-tpl-2 .hero-kicker::before, body.ss-tpl-2 .hero-kicker::after { content: ""; display: inline-block; width: 34px; height: 1px; background: var(--accent); vertical-align: middle; margin: 0 14px; }
body.ss-tpl-2 .hero h1 { font-weight: 500; font-style: italic; font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: 1.02; }
body.ss-tpl-2 .hero-desc { margin-left: auto; margin-right: auto; color: #D9CFBF; font-size: 1.08rem; }
body.ss-tpl-2 .status-pill { background: rgba(0,0,0,.35); border-color: var(--border); border-radius: 0; }
body.ss-tpl-2 .hero-cta { justify-content: center; }
/* Sezioni */
body.ss-tpl-2 .section { padding: 96px 0; }
body.ss-tpl-2 .section-alt { background: var(--surface-alt); border-color: var(--border); }
body.ss-tpl-2 .section-head { margin: 0 auto 48px; text-align: center; }
body.ss-tpl-2 .section-kicker { color: var(--accent); letter-spacing: .3em; font-weight: 500; }
body.ss-tpl-2 .section-head h2 { font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.2rem); }
body.ss-tpl-2 .steps-grid { gap: 0; border: 1px solid var(--border); }
body.ss-tpl-2 .step-card { background: transparent; border: 0; border-right: 1px solid var(--border); border-radius: 0; text-align: center; padding: 38px 26px; }
body.ss-tpl-2 .step-card:last-child { border-right: 0; }
body.ss-tpl-2 .step-num { background: transparent; border: 1px solid var(--accent); color: var(--accent); font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; width: 52px; height: 52px; }
body.ss-tpl-2 .step-card h3 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; }
body.ss-tpl-2 .split-media { border: 1px solid var(--accent); padding: 12px; border-radius: 0; box-shadow: none; }
body.ss-tpl-2 .split-media img { height: 440px; }
body.ss-tpl-2 #chi-siamo h2 { font-weight: 500; font-size: 2.8rem !important; }
body.ss-tpl-2 .feature-list li::before { content: "—"; color: var(--accent); }
body.ss-tpl-2 .zone-card { background: transparent; border: 1px solid var(--border); border-radius: 0; text-align: center; padding: 34px 26px; }
body.ss-tpl-2 .zone-card h3 { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 600; }
body.ss-tpl-2 .zone-meta { justify-content: center; letter-spacing: .08em; text-transform: uppercase; font-size: .74rem; }
body.ss-tpl-2 .cta-banner { background: var(--surface); border: 1px solid var(--accent); border-radius: 0; justify-content: center; text-align: center; padding: 64px 40px; flex-direction: column; }
body.ss-tpl-2 .cta-banner h2 { font-weight: 500; font-style: italic; font-size: clamp(2.2rem, 4vw, 3.2rem); }
body.ss-tpl-2 .info-list, body.ss-tpl-2 .info-list li { border-color: var(--border); }
body.ss-tpl-2 .info-list span { color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 500; }
body.ss-tpl-2 #contatti h2 { font-weight: 500; font-size: 2.8rem !important; }
body.ss-tpl-2 .map-privacy-box { background: var(--surface); border-color: var(--border); border-radius: 0; }
body.ss-tpl-2 .site-footer { background: #080706; border-top: 1px solid var(--accent); }
body.ss-tpl-2 .site-footer h3 { font-weight: 500; font-size: 1.6rem; }
body.ss-tpl-2 .mobile-app-bar { background: rgba(14,12,10,.96); border-top-color: var(--border); }
body.ss-tpl-2 .cookie-banner { background: var(--surface); border-color: var(--border); }
body.ss-tpl-2 .pwa-install-banner { background: var(--surface); border-color: var(--border); }
/* Menù sfogliabile */
body.ss-tpl-2 .tkp-book { background: var(--surface); border-color: var(--border); border-radius: 0; box-shadow: none; }
body.ss-tpl-2 .tkp-masthead, body.ss-tpl-2 .tkp-footer { background: var(--surface-alt); border-color: var(--accent); }
body.ss-tpl-2 .tkp-head p, body.ss-tpl-2 .tkp-ing, body.ss-tpl-2 .tkp-toc-btn small { color: var(--ink-muted); }
body.ss-tpl-2 .tkp-toc-btn, body.ss-tpl-2 .tkp-tab, body.ss-tpl-2 .tkp-dough { background: transparent; border-color: var(--border); color: var(--ink); border-radius: 0; }
body.ss-tpl-2 .tkp-toc-btn strong { color: var(--ink); }
body.ss-tpl-2 .tkp-tab.active, body.ss-tpl-2 .tkp-tab:hover { background: var(--accent); border-color: var(--accent); color: #0E0C0A; }
body.ss-tpl-2 .tkp-dish, body.ss-tpl-2 .tkp-page-head { border-color: var(--border); }
body.ss-tpl-2 .tkp-add-btn, body.ss-tpl-2 .tkp-start-btn, body.ss-tpl-2 .tkp-nav-btn, body.ss-tpl-2 .tkp-cart-pill, body.ss-tpl-2 .tkp-submit-btn { background: var(--accent); color: #0E0C0A !important; border-radius: 0; }
body.ss-tpl-2 .tkp-cover-box { background: #0E0C0A; border: 1px solid var(--accent); border-radius: 0; }
body.ss-tpl-2 .tkp-drawer { background: var(--surface); color: var(--ink); }
body.ss-tpl-2 .tkp-drawer-head, body.ss-tpl-2 .tkp-drawer-foot { border-color: var(--border); background: var(--surface-alt); }
body.ss-tpl-2 .tkp-mode { background: var(--surface-alt); }
body.ss-tpl-2 .tkp-mode-btn { color: var(--ink); }
body.ss-tpl-2 .tkp-mode-btn.active { background: var(--accent); color: #0E0C0A; }
body.ss-tpl-2 .tkp-form input, body.ss-tpl-2 .tkp-form select, body.ss-tpl-2 .tkp-form textarea { background: #0E0C0A; color: var(--ink); border-color: var(--border); }
body.ss-tpl-2 .tkp-corner { background: linear-gradient(135deg, transparent 50%, #3a2f22 50%, #5a4a33 100%); }

/* ==========================================================================
   3 · STREET FOOD POP — giallo, nero, rosso, bordi spessi, stile adesivo
   ========================================================================== */
body.ss-tpl-3 {
    --bg: #FFF4D6; --surface: #FFFFFF; --surface-alt: #FFE7A3; --ink: #111111; --ink-muted: #3A3A3A;
    --accent: #FF3B1F; --accent-dark: #D92B12; --accent-soft: #FFE0D9; --dark-box: #111111; --border: #111111;
    --radius: 16px; --radius-sm: 12px; --shadow: 6px 6px 0 #111;
    --font-serif: 'Archivo Black', Impact, 'Arial Black', sans-serif; --font-sans: 'Space Grotesk', 'Segoe UI', sans-serif;
}
body.ss-tpl-3 h1, body.ss-tpl-3 h2, body.ss-tpl-3 h3 { font-weight: 400; text-transform: uppercase; letter-spacing: -.01em; }
body.ss-tpl-3 .topbar { background: #FFD23F; color: #111; border-bottom: 3px solid #111; font-weight: 600; }
body.ss-tpl-3 .site-header { background: #FFF4D6; border-bottom: 3px solid #111; }
body.ss-tpl-3 .brand-text strong { text-transform: uppercase; font-size: 1.3rem; }
body.ss-tpl-3 .brand-logo { border: 3px solid #111; }
body.ss-tpl-3 .main-nav a { color: #111; font-weight: 700; }
body.ss-tpl-3 .main-nav a:hover { color: var(--accent); }
body.ss-tpl-3 .btn { border: 3px solid #111; box-shadow: 4px 4px 0 #111; border-radius: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
body.ss-tpl-3 .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #111; filter: none; }
body.ss-tpl-3 .btn-primary { background: var(--accent); color: #fff; }
body.ss-tpl-3 .btn-outline, body.ss-tpl-3 .btn-outline-light { background: #fff; color: #111; border-color: #111; }
body.ss-tpl-3 .btn-outline:hover, body.ss-tpl-3 .btn-outline-light:hover { background: #FFD23F; color: #111; }
body.ss-tpl-3 .cart-trigger { border: 3px solid #111; box-shadow: 4px 4px 0 #111; border-radius: 12px; }
body.ss-tpl-3 .cart-badge { background: #111; color: #FFD23F; }
body.ss-tpl-3 .mobile-menu-btn { border: 3px solid #111; }
body.ss-tpl-3 .main-nav.open { background: #FFF4D6; border-bottom: 3px solid #111; }
/* Hero giallo con foto "adesivo" inclinata */
body.ss-tpl-3 .hero { padding: 40px 0 64px; }
body.ss-tpl-3 .hero-grid { background: #FFD23F; color: #111; border: 3px solid #111; box-shadow: 12px 12px 0 #111; border-radius: 24px; overflow: visible; }
body.ss-tpl-3 .hero h1 { color: #111; font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.02; }
body.ss-tpl-3 .hero-kicker { background: #111; color: #FFD23F; padding: 7px 12px; border-radius: 8px; transform: rotate(-2deg); letter-spacing: .06em; }
body.ss-tpl-3 .hero-desc { color: #222; font-weight: 500; }
body.ss-tpl-3 .status-pill { background: #fff; border: 2px solid #111; color: #111; }
body.ss-tpl-3 .hero-media { padding: 28px 28px 28px 0; min-height: 400px; }
body.ss-tpl-3 .hero-media img { border: 3px solid #111; border-radius: 20px; transform: rotate(2.5deg); box-shadow: 10px 10px 0 var(--accent); }
/* Sezioni */
body.ss-tpl-3 .section-alt { background: #FFE7A3; border-top: 3px solid #111; border-bottom: 3px solid #111; }
body.ss-tpl-3 .section-kicker { display: inline-block; background: var(--accent); color: #fff; padding: 5px 11px; border: 2px solid #111; border-radius: 8px; transform: rotate(-1.5deg); letter-spacing: .06em; }
body.ss-tpl-3 .section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
body.ss-tpl-3 .step-card { border: 3px solid #111; box-shadow: 6px 6px 0 #111; border-radius: 16px; }
body.ss-tpl-3 .step-card:nth-child(2) { background: #FFD23F; }
body.ss-tpl-3 .step-card:nth-child(3) { background: #9BE3D1; }
body.ss-tpl-3 .step-card:nth-child(4) { background: #FFB4A8; }
body.ss-tpl-3 .step-card p { color: #222; }
body.ss-tpl-3 .step-num { background: #111; color: #FFD23F; border-radius: 10px; font-family: var(--font-serif); }
body.ss-tpl-3 .split-media { border: 3px solid #111; box-shadow: 12px 12px 0 var(--accent); border-radius: 20px; }
body.ss-tpl-3 #chi-siamo h2, body.ss-tpl-3 #contatti h2 { font-size: 2.4rem !important; }
body.ss-tpl-3 .feature-list li { background: #fff; border: 2px solid #111; border-radius: 10px; padding: 8px 12px; }
body.ss-tpl-3 .feature-list li::before { content: "★"; color: var(--accent); }
body.ss-tpl-3 .zone-card { border: 3px solid #111; box-shadow: 6px 6px 0 #111; }
body.ss-tpl-3 .zone-meta { color: #111; }
body.ss-tpl-3 .zone-meta span:not(:nth-child(2)) { background: #FFD23F; border: 2px solid #111; border-radius: 6px; padding: 2px 8px; }
body.ss-tpl-3 .cta-banner { background: var(--accent); border: 3px solid #111; box-shadow: 12px 12px 0 #111; border-radius: 24px; }
body.ss-tpl-3 .cta-banner p { color: #fff; font-weight: 500; }
body.ss-tpl-3 .cta-banner .btn-primary { background: #FFD23F; color: #111; }
body.ss-tpl-3 .info-list, body.ss-tpl-3 .info-list li { border-color: #111; border-width: 2px; }
body.ss-tpl-3 .info-list span { color: #111; text-transform: uppercase; }
body.ss-tpl-3 .map-privacy-box { border: 3px solid #111; box-shadow: 8px 8px 0 #111; }
body.ss-tpl-3 .site-footer { background: #111; border-top: 8px solid var(--accent); }
body.ss-tpl-3 .site-footer h3 { color: #FFD23F; }
body.ss-tpl-3 .mobile-app-bar { background: #FFD23F; border-top: 3px solid #111; }
body.ss-tpl-3 .app-tab { color: #111; }
body.ss-tpl-3 .cookie-banner { border: 3px solid #111; box-shadow: 6px 6px 0 #111; }
body.ss-tpl-3 .pwa-install-banner { background: #FFD23F; border-bottom: 3px solid #111; }
/* Menù sfogliabile */
body.ss-tpl-3 .tkp-head h2, body.ss-tpl-3 .tkp-cover-title, body.ss-tpl-3 .tkp-page-head h3 { text-transform: uppercase; font-weight: 400; }
body.ss-tpl-3 .tkp-head h2 em, body.ss-tpl-3 .tkp-cover-title em { font-style: normal; }
body.ss-tpl-3 .tkp-book { background: #fff; border: 3px solid #111; box-shadow: 10px 10px 0 #111; border-radius: 18px; }
body.ss-tpl-3 .tkp-masthead { background: #FFD23F; border-bottom: 3px solid #111; }
body.ss-tpl-3 .tkp-footer { background: #FFD23F; border-top: 3px solid #111; }
body.ss-tpl-3 .tkp-tab, body.ss-tpl-3 .tkp-toc-btn, body.ss-tpl-3 .tkp-dough { border: 2px solid #111; }
body.ss-tpl-3 .tkp-tab.active, body.ss-tpl-3 .tkp-tab:hover { background: #111; color: #FFD23F; border-color: #111; }
body.ss-tpl-3 .tkp-add-btn { border: 2px solid #111; box-shadow: 3px 3px 0 #111; }
body.ss-tpl-3 .tkp-badge { background: #FFD23F; color: #111; border: 1px solid #111; }
body.ss-tpl-3 .tkp-dish { border-bottom: 2px dashed #111; }
body.ss-tpl-3 .tkp-cover-box { background: #111; border-radius: 16px; }
body.ss-tpl-3 .tkp-nav-btn, body.ss-tpl-3 .tkp-cart-pill { background: #111; }

/* ==========================================================================
   4 · TRATTORIA VERDE — verde salvia, tovaglia a quadri, impaginazione centrata
   ========================================================================== */
body.ss-tpl-4 {
    --bg: #F6F2E7; --surface: #FFFDF7; --surface-alt: #EAF0E1; --ink: #26301F; --ink-muted: #5E6656;
    --accent: #3F6B3A; --accent-dark: #2E5229; --accent-soft: #E3EDDC; --dark-box: #2E3A27; --border: #DCD6C4;
    --radius: 22px; --radius-sm: 999px; --shadow: 0 14px 34px rgba(46,58,39,.10);
    --font-serif: 'Fraunces', Georgia, serif; --font-sans: 'Nunito Sans', 'Segoe UI', sans-serif;
    --checker: repeating-conic-gradient(#C0392B 0 25%, #FFFDF7 0 50%) 0 0 / 16px 16px;
}
body.ss-tpl-4 .topbar { background: var(--dark-box); color: #E8EDE0; }
body.ss-tpl-4 .site-header { background: rgba(246,242,231,.95); border-bottom: 0; }
body.ss-tpl-4 .site-header::after { content: ""; display: block; height: 8px; background: var(--checker); }
body.ss-tpl-4 .brand-text strong { font-style: italic; font-weight: 700; color: var(--accent-dark); }
body.ss-tpl-4 .main-nav a { color: var(--ink); font-weight: 700; }
body.ss-tpl-4 .btn { border-radius: 999px; font-weight: 700; padding: 13px 26px; }
body.ss-tpl-4 .btn-primary { background: var(--accent); }
body.ss-tpl-4 .btn-outline, body.ss-tpl-4 .btn-outline-light { border-color: var(--accent); color: var(--accent); background: transparent; }
body.ss-tpl-4 .btn-outline:hover, body.ss-tpl-4 .btn-outline-light:hover { background: var(--accent); color: #fff; }
body.ss-tpl-4 .cart-trigger { border-radius: 999px; }
/* Hero centrato, foto grande sotto come una cartolina */
body.ss-tpl-4 .hero { padding: 54px 0 70px; }
body.ss-tpl-4 .hero-grid { grid-template-columns: 1fr; background: transparent; color: var(--ink); box-shadow: none; border-radius: 0; overflow: visible; gap: 34px; text-align: center; }
body.ss-tpl-4 .hero-content { padding: 0 20px; max-width: 820px; margin: 0 auto; }
body.ss-tpl-4 .hero-kicker { color: #C0392B; letter-spacing: .18em; }
body.ss-tpl-4 .hero h1 { color: var(--ink); font-style: italic; font-weight: 700; font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.05; }
body.ss-tpl-4 .hero-desc { color: var(--ink-muted); margin-left: auto; margin-right: auto; font-size: 1.1rem; }
body.ss-tpl-4 .status-pill { background: var(--surface); border-color: var(--border); color: var(--ink); }
body.ss-tpl-4 .hero-cta { justify-content: center; }
body.ss-tpl-4 .hero-media { min-height: 0; border-radius: 30px; overflow: hidden; border: 10px solid #fff; box-shadow: var(--shadow); position: relative; }
body.ss-tpl-4 .hero-media img { height: 460px; }
body.ss-tpl-4 .hero-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: var(--checker); }
/* Sezioni */
body.ss-tpl-4 .section-alt { background: var(--surface-alt); border: 0; }
body.ss-tpl-4 .section-head { margin: 0 auto 38px; text-align: center; }
body.ss-tpl-4 .section-kicker { color: #C0392B; letter-spacing: .16em; }
body.ss-tpl-4 .section-kicker::before { content: "❦ "; }
body.ss-tpl-4 .section-head h2 { font-style: italic; font-weight: 700; }
body.ss-tpl-4 .step-card { border: 0; box-shadow: var(--shadow); text-align: center; padding: 30px 22px; }
body.ss-tpl-4 .step-num { background: var(--accent); color: #fff; width: 44px; height: 44px; font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; }
body.ss-tpl-4 .step-card h3 { font-family: var(--font-serif); font-size: 1.25rem; }
body.ss-tpl-4 .split-media { border: 12px solid #fff; border-radius: 6px; transform: rotate(-1.6deg); box-shadow: 0 22px 40px rgba(46,58,39,.18); }
body.ss-tpl-4 #chi-siamo h2, body.ss-tpl-4 #contatti h2 { font-style: italic; }
body.ss-tpl-4 .feature-list li::before { content: "🌿"; }
body.ss-tpl-4 .zone-card { border: 0; border-top: 6px solid var(--accent); box-shadow: var(--shadow); text-align: center; }
body.ss-tpl-4 .zone-card h3 { font-family: var(--font-serif); font-style: italic; }
body.ss-tpl-4 .zone-meta { justify-content: center; }
body.ss-tpl-4 .cta-banner { background: var(--dark-box); border-radius: 30px; position: relative; overflow: hidden; padding-top: 58px; }
body.ss-tpl-4 .cta-banner::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--checker); }
body.ss-tpl-4 .cta-banner h2 { font-style: italic; }
body.ss-tpl-4 .cta-banner .btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
body.ss-tpl-4 .info-list span { color: var(--accent); }
body.ss-tpl-4 .map-privacy-box { border: 0; box-shadow: var(--shadow); border-radius: 30px; }
body.ss-tpl-4 .site-footer { background: var(--dark-box); position: relative; padding-top: 70px; }
body.ss-tpl-4 .site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--checker); }
body.ss-tpl-4 .site-footer h3 { font-style: italic; }
body.ss-tpl-4 .cookie-banner { border-radius: 22px; }
/* Menù sfogliabile */
body.ss-tpl-4 .tkp-book { background: var(--surface); border-color: var(--border); border-radius: 24px; }
body.ss-tpl-4 .tkp-masthead { background: var(--surface-alt); border-bottom: 2px solid var(--accent); }
body.ss-tpl-4 .tkp-footer { background: var(--surface-alt); }
body.ss-tpl-4 .tkp-kicker, body.ss-tpl-4 .tkp-head h2 em, body.ss-tpl-4 .tkp-cover-title em, body.ss-tpl-4 .tkp-page-head span { color: #C0392B; }
body.ss-tpl-4 .tkp-tab.active, body.ss-tpl-4 .tkp-tab:hover { background: var(--accent); border-color: var(--accent); }
body.ss-tpl-4 .tkp-add-btn, body.ss-tpl-4 .tkp-nav-btn, body.ss-tpl-4 .tkp-cart-pill { border-radius: 999px; }
body.ss-tpl-4 .tkp-nav-btn, body.ss-tpl-4 .tkp-cart-pill { background: var(--dark-box); }
body.ss-tpl-4 .tkp-cover-box { background: var(--dark-box); border-radius: 22px; }

/* ==========================================================================
   5 · BIANCO MINIMAL — bianco, nero, corallo, titoli enormi, foto a sinistra
   ========================================================================== */
body.ss-tpl-5 {
    --bg: #FFFFFF; --surface: #FFFFFF; --surface-alt: #F5F5F4; --ink: #0A0A0A; --ink-muted: #6B6B6B;
    --accent: #FF5A36; --accent-dark: #E0441F; --accent-soft: #FFF0EB; --dark-box: #0A0A0A; --border: #ECECEC;
    --radius: 6px; --radius-sm: 999px; --shadow: none;
    --font-serif: 'Manrope', 'Segoe UI', sans-serif; --font-sans: 'Manrope', 'Segoe UI', sans-serif;
}
body.ss-tpl-5 h1, body.ss-tpl-5 h2, body.ss-tpl-5 h3 { font-weight: 800; letter-spacing: -.035em; }
body.ss-tpl-5 .topbar { background: #fff; color: var(--ink-muted); border-bottom: 1px solid var(--border); }
body.ss-tpl-5 .topbar a:hover { color: var(--ink); }
body.ss-tpl-5 .site-header { background: rgba(255,255,255,.92); }
body.ss-tpl-5 .brand-text strong { font-weight: 800; letter-spacing: -.03em; }
body.ss-tpl-5 .main-nav a { color: var(--ink); font-weight: 600; }
body.ss-tpl-5 .btn { border-radius: 999px; font-weight: 700; }
body.ss-tpl-5 .btn-primary { background: var(--ink); color: #fff; }
body.ss-tpl-5 .btn-primary:hover { background: var(--accent); filter: none; }
body.ss-tpl-5 .btn-outline, body.ss-tpl-5 .btn-outline-light { border-color: var(--ink); color: var(--ink); background: transparent; }
body.ss-tpl-5 .btn-outline:hover, body.ss-tpl-5 .btn-outline-light:hover { background: var(--ink); color: #fff; }
body.ss-tpl-5 .cart-trigger { border-radius: 999px; border-color: var(--ink); }
body.ss-tpl-5 .cart-badge { background: var(--accent); }
/* Hero bianco: foto grande a sinistra, testo a destra */
body.ss-tpl-5 .hero { padding: 48px 0 80px; }
body.ss-tpl-5 .hero-grid { background: #fff; color: var(--ink); box-shadow: none; border-radius: 0; gap: 64px; grid-template-columns: 1fr 1fr; }
body.ss-tpl-5 .hero-media { order: -1; min-height: 560px; border-radius: 6px; overflow: hidden; }
body.ss-tpl-5 .hero-content { padding: 0; }
body.ss-tpl-5 .hero-kicker { color: var(--accent); letter-spacing: .12em; font-weight: 700; }
body.ss-tpl-5 .hero h1 { color: var(--ink); font-size: clamp(2.6rem, 5.2vw, 4.8rem); line-height: .98; }
body.ss-tpl-5 .hero-desc { color: var(--ink-muted); font-size: 1.1rem; }
body.ss-tpl-5 .status-pill { background: var(--surface-alt); border: 0; color: var(--ink); }
/* Sezioni */
body.ss-tpl-5 .section { padding: 90px 0; }
body.ss-tpl-5 .section-alt { background: var(--surface-alt); border: 0; }
body.ss-tpl-5 .section-kicker { color: var(--ink-muted); letter-spacing: .12em; }
body.ss-tpl-5 .section-kicker::before { content: "● "; color: var(--accent); }
body.ss-tpl-5 .section-head h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.04; }
body.ss-tpl-5 .steps-grid { gap: 32px; }
body.ss-tpl-5 .step-card { background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 22px 0 0; }
body.ss-tpl-5 .step-num { background: transparent; color: var(--ink); width: auto; height: auto; font-size: 2.8rem; font-weight: 800; letter-spacing: -.04em; justify-content: flex-start; margin-bottom: 6px; }
body.ss-tpl-5 .step-num::before { content: "0"; }
body.ss-tpl-5 .split-media { border-radius: 6px; box-shadow: none; }
body.ss-tpl-5 .split-media img { height: 480px; }
body.ss-tpl-5 #chi-siamo h2, body.ss-tpl-5 #contatti h2 { font-size: 2.8rem !important; line-height: 1.04; }
body.ss-tpl-5 .feature-list li::before { content: "→"; color: var(--accent); }
body.ss-tpl-5 .zones-grid { gap: 32px; }
body.ss-tpl-5 .zone-card { background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 22px 0 0; }
body.ss-tpl-5 .cta-banner { background: var(--accent); border-radius: 6px; padding: 56px; }
body.ss-tpl-5 .cta-banner h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
body.ss-tpl-5 .cta-banner p { color: #fff; }
body.ss-tpl-5 .cta-banner .btn-primary { background: var(--ink); }
body.ss-tpl-5 .cta-banner .btn-outline-light { border-color: #fff; color: #fff; }
body.ss-tpl-5 .cta-banner .btn-outline-light:hover { background: #fff; color: var(--ink); }
body.ss-tpl-5 .info-list span { color: var(--ink); }
body.ss-tpl-5 .map-privacy-box { background: #fff; border: 0; border-radius: 6px; }
body.ss-tpl-5 .site-footer { background: var(--surface-alt); color: #3A3A3A; }
body.ss-tpl-5 .site-footer h3 { color: var(--ink); }
body.ss-tpl-5 .site-footer a:hover { color: var(--accent); }
body.ss-tpl-5 .footer-grid { border-bottom-color: #E2E2E2; }
body.ss-tpl-5 .footer-bottom { color: var(--ink-muted); }
body.ss-tpl-5 .footer-bottom a { color: var(--ink) !important; }
body.ss-tpl-5 .cookie-banner { border-radius: 6px; }
/* Menù sfogliabile */
body.ss-tpl-5 .tkp-book { background: #fff; border-color: var(--border); border-radius: 6px; box-shadow: none; }
body.ss-tpl-5 .tkp-masthead { background: #fff; border-bottom: 2px solid var(--ink); }
body.ss-tpl-5 .tkp-footer { background: var(--surface-alt); border-color: var(--border); }
body.ss-tpl-5 .tkp-head h2 em, body.ss-tpl-5 .tkp-cover-title em, body.ss-tpl-5 .tkp-masthead-brand em { font-style: normal; }
body.ss-tpl-5 .tkp-head h2, body.ss-tpl-5 .tkp-cover-title, body.ss-tpl-5 .tkp-page-head h3 { font-weight: 800; letter-spacing: -.03em; }
body.ss-tpl-5 .tkp-tab.active, body.ss-tpl-5 .tkp-tab:hover { background: var(--ink); border-color: var(--ink); }
body.ss-tpl-5 .tkp-add-btn, body.ss-tpl-5 .tkp-start-btn, body.ss-tpl-5 .tkp-submit-btn { background: var(--ink); border-radius: 999px; }
body.ss-tpl-5 .tkp-add-btn:hover { background: var(--accent); }
body.ss-tpl-5 .tkp-dish { border-bottom: 1px solid var(--border); }
body.ss-tpl-5 .tkp-cover-box { background: var(--surface-alt); color: var(--ink); border-radius: 6px; }

/* ---------- Responsive per i layout speciali ---------- */
@media (max-width: 960px) {
    body.ss-tpl-2 .steps-grid { grid-template-columns: repeat(2, 1fr); }
    body.ss-tpl-2 .step-card { border-bottom: 1px solid var(--border); }
    body.ss-tpl-3 .hero-media { padding: 0 22px 26px; }
    body.ss-tpl-4 .hero-media img { height: 300px; }
    body.ss-tpl-5 .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    body.ss-tpl-5 .hero-media { min-height: 320px; }
}
@media (max-width: 768px) {
    body.ss-tpl-2 .steps-grid { grid-template-columns: 1fr; }
    body.ss-tpl-2 .step-card { border-right: 0; }
    body.ss-tpl-2 .hero-content { padding: 14vh 20px 12vh; }
    body.ss-tpl-2 .hero-kicker::before, body.ss-tpl-2 .hero-kicker::after { display: none; }
    body.ss-tpl-3 .hero-grid { box-shadow: 6px 6px 0 #111; }
    body.ss-tpl-5 .cta-banner { padding: 34px 22px; }
}

/* ==========================================================================
   LINGUETTA "SCEGLI IL TEMPLATE" (solo sito demo)
   ========================================================================== */
.ss-tpl-tab {
    position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 9990;
    writing-mode: vertical-rl; background: #111; color: #fff; border: 0; cursor: pointer;
    padding: 18px 11px; border-radius: 12px 0 0 12px; font: 700 14px/1 'Segoe UI', system-ui, sans-serif;
    letter-spacing: .04em; box-shadow: -4px 6px 18px rgba(0,0,0,.25); display: flex; align-items: center; gap: 8px;
}
.ss-tpl-tab span { writing-mode: horizontal-tb; font-size: 17px; }
.ss-tpl-tab:hover { background: #B83B24; }
.ss-tpl-panel-bg { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 9991; opacity: 0; pointer-events: none; transition: opacity .2s; }
.ss-tpl-panel {
    position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 440px; z-index: 9992;
    background: #fff; color: #1C1917; transform: translateX(100%); transition: transform .28s ease;
    display: flex; flex-direction: column; font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    box-shadow: -12px 0 40px rgba(0,0,0,.25);
}
.ss-tpl-open .ss-tpl-panel { transform: none; }
.ss-tpl-open .ss-tpl-panel-bg { opacity: 1; pointer-events: auto; }
.ss-tpl-panel-head { padding: 20px 22px 14px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ss-tpl-panel-head h2 { font: 800 21px/1.2 'Segoe UI', system-ui, sans-serif !important; margin: 0 0 4px; letter-spacing: -.01em !important; text-transform: none !important; color: #1C1917; }
.ss-tpl-panel-head p { margin: 0; font-size: 14px; color: #5C554E; }
.ss-tpl-close { background: #f3f3f3; border: 0; border-radius: 50%; width: 34px; height: 34px; font-size: 18px; cursor: pointer; flex: 0 0 auto; color: #1C1917; }
.ss-tpl-list { padding: 12px 22px; overflow-y: auto; flex: 1; display: grid; gap: 12px; align-content: start; }
.ss-tpl-card {
    display: grid; grid-template-columns: 78px 1fr; gap: 12px; align-items: center; text-align: left; width: 100%;
    background: #fff; border: 2px solid #ECECEC; border-radius: 14px; padding: 8px 10px; cursor: pointer; font-family: inherit; color: #1C1917;
    transition: border-color .15s, transform .15s;
}
.ss-tpl-card:hover { border-color: #bbb; transform: translateX(-3px); }
.ss-tpl-card.is-active { border-color: #1C1917; box-shadow: 0 0 0 2px #1C1917 inset; }
.ss-tpl-thumb { height: 58px; border-radius: 9px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 7px; }
.ss-tpl-thumb i { display: block; height: 9px; border-radius: 3px; position: absolute; }
.ss-tpl-thumb b { font-size: 19px; line-height: 1; position: relative; }
.ss-tpl-card strong { display: block; font-size: 16px; margin-bottom: 2px; }
.ss-tpl-card small { display: block; font-size: 13px; color: #5C554E; line-height: 1.35; }
.ss-tpl-card em { font-style: normal; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #1E7A46; display: none; margin-top: 4px; }
.ss-tpl-card.is-active em { display: block; }
.ss-tpl-prices { border-top: 1px solid #eee; padding: 16px 22px 20px; background: #FAF7F2; display: grid; gap: 10px; }
.ss-tpl-price { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid #E6DDD1; border-radius: 12px; padding: 12px 14px; }
.ss-tpl-price strong { display: block; font-size: 15px; }
.ss-tpl-price small { display: block; font-size: 12.5px; color: #5C554E; line-height: 1.35; }
.ss-tpl-price b { font-size: 21px; white-space: nowrap; color: #1C1917; }
.ss-tpl-price.is-custom { border-color: #B83B24; }
.ss-tpl-price.is-custom b { color: #B83B24; }
.ss-tpl-note { font-size: 12px; color: #6B6259; margin: 0; }
.ss-tpl-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ss-tpl-actions a { display: flex; align-items: center; justify-content: center; text-align: center; padding: 11px 10px; border-radius: 10px; font-weight: 700; font-size: 14px; text-decoration: none; line-height: 1.2; }
.ss-tpl-actions .ss-a1 { background: #1C1917; color: #fff; }
.ss-tpl-actions .ss-a2 { background: #fff; color: #B83B24; border: 2px solid #B83B24; }
@keyframes ssTplPulse { 0%,100% { box-shadow: -4px 6px 18px rgba(0,0,0,.25), 0 0 0 0 rgba(184,59,36,.6); } 50% { box-shadow: -4px 6px 18px rgba(0,0,0,.25), 0 0 0 12px rgba(184,59,36,0); } }
.ss-tpl-tab.ss-tpl-pulse { animation: ssTplPulse 1.6s ease-in-out 4; }
@media (max-width: 768px) {
    .ss-tpl-tab { top: auto; bottom: 86px; transform: none; padding: 12px 9px; font-size: 12px; }
}
