/* FarmyPoint — stili «Mappa protagonista», «Categorie a tessere», «Notte e urgenza», «Editoriale», «Frase», «Portale», «Vetrina» e «Semplice e veloce» della homepage
   (admin → Stile → Homepage). Caricato solo sulla homepage e solo con questi stili (index.php): le altre pagine e lo stile
   predefinito «Ricerca al centro» non lo scaricano. Variabili e regole comuni in site.css. */
/* Fondo chiaro (mappa: nella scheda; categorie ed editoriale: in tutta la parte alta) */
.st-home-categorie .st-hero, .st-home-editoriale .st-hero, .st-home-mappa .st-hero-main { color: var(--ink); }
.st-home-categorie .st-hero::before, .st-home-editoriale .st-hero::before, .st-home-mappa .st-hero::before { display: none; }
.st-home-categorie .st-hero h1 em, .st-home-editoriale .st-hero h1 em, .st-home-mappa .st-hero h1 em { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--hl); }
.st-home-categorie .st-hero-badge, .st-home-editoriale .st-hero-badge, .st-home-mappa .st-hero-badge { color: var(--hl); background: var(--brand-tint); border-color: transparent; }
.st-home-categorie .st-hero-lead, .st-home-editoriale .st-hero-lead, .st-home-mappa .st-hero-lead,
.st-home-categorie .st-geo-privacy, .st-home-editoriale .st-geo-privacy, .st-home-mappa .st-geo-privacy { color: var(--text-2); }
.st-home-categorie .st-geo-privacy a, .st-home-editoriale .st-geo-privacy a, .st-home-mappa .st-geo-privacy a { color: var(--hl); }
.st-home-categorie .st-search-msg, .st-home-editoriale .st-search-msg, .st-home-mappa .st-search-msg,
.st-home-categorie .st-geo-status, .st-home-editoriale .st-geo-status, .st-home-mappa .st-geo-status,
.st-home-categorie .st-hero .st-geo-help, .st-home-editoriale .st-hero .st-geo-help, .st-home-mappa .st-hero .st-geo-help,
.st-home-categorie .st-hero .st-geo-improve, .st-home-editoriale .st-hero .st-geo-improve, .st-home-mappa .st-hero .st-geo-improve { color: var(--text); }
.st-home-categorie .st-geo[data-state] .st-geo-status, .st-home-editoriale .st-geo[data-state] .st-geo-status, .st-home-mappa .st-geo[data-state] .st-geo-status { color: var(--warn); }
.st-home-categorie .st-near, .st-home-editoriale .st-near, .st-home-mappa .st-near,
.st-home-categorie .st-catchips .st-catchip, .st-home-editoriale .st-catchips .st-catchip, .st-home-mappa .st-catchips .st-catchip { color: var(--hl); background: var(--surface); border-color: var(--line); }
.st-home-categorie .st-near:hover, .st-home-editoriale .st-near:hover, .st-home-mappa .st-near:hover,
.st-home-categorie .st-catchip:hover, .st-home-editoriale .st-catchip:hover, .st-home-mappa .st-catchip:hover { background: var(--brand-tint); border-color: var(--hl); }
.st-home-categorie .st-near[aria-pressed='true'], .st-home-editoriale .st-near[aria-pressed='true'], .st-home-mappa .st-near[aria-pressed='true'],
.st-home-editoriale .st-catchips .st-catchip[aria-pressed='true'], .st-home-mappa .st-catchips .st-catchip[aria-pressed='true'] { background: var(--brand); color: #fff; border-color: var(--brand); }
.st-home-categorie .st-near:focus-visible, .st-home-editoriale .st-near:focus-visible, .st-home-mappa .st-near:focus-visible,
.st-home-categorie .st-catchip:focus-visible, .st-home-editoriale .st-catchip:focus-visible, .st-home-mappa .st-catchip:focus-visible { outline-color: var(--hl); }
.st-home-categorie .st-search-box, .st-home-editoriale .st-search-box, .st-home-mappa .st-search-box { box-shadow: 0 0 0 1px var(--line), 0 10px 30px -18px rgba(12,42,40,.45); }
.st-home-categorie .st-search-box:focus-within, .st-home-editoriale .st-search-box:focus-within, .st-home-mappa .st-search-box:focus-within { box-shadow: 0 0 0 3px var(--brand); }

/* 2 · Mappa protagonista: mappa illustrata dietro, ricerca in una scheda */
.st-home-mappa .st-hero { background: var(--bg); padding: 48px 0 56px; min-height: 600px; }
.st-home-mappa .st-hm-map { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.st-home-mappa .st-hero-in { display: flex; position: static; }
.st-home-mappa .st-hero-main { width: 100%; max-width: 520px; background: var(--surface); border-radius: 22px; padding: 28px; box-shadow: 0 24px 60px -20px rgba(12,42,40,.45); }
.st-home-mappa .st-hero h1 { font-size: clamp(30px, 3.6vw, 42px); }
.st-home-mappa .st-hero-lead { font-size: 16px; margin-bottom: 20px; }
.st-home-mappa .st-search-two { flex-direction: column; align-items: stretch; border-radius: 18px; }
.st-home-mappa .st-search-two .st-field + .st-field { border-left: 0; border-top: 1px solid #DDE7E3; }
.st-home-mappa .st-search-two .st-btn { margin: 6px 0 0; }
.st-home-mappa .st-field .st-suggest { left: 0; right: 0; min-width: 0; top: calc(100% + 6px); }
.hm-land { fill: #e9eee7; } .hm-sea { fill: #cfe2e6; } .hm-park { fill: #d6e7cf; } .hm-road { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; }
.hm-main { fill: none; stroke: #f3dcae; stroke-width: 13; stroke-linecap: round; }
.hm-pin { stroke: #fff; stroke-width: 3; } .hm-ok { fill: #26734D; } .hm-warn { fill: #C9861A; } .hm-mut { fill: #7a6aa8; } .hm-pin-dot { fill: #fff; }
.hm-me { fill: #2b7de9; stroke: #fff; stroke-width: 4; } .hm-me-halo { fill: rgba(43,125,233,.18); }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) .st-hm-map { filter: invert(.88) hue-rotate(180deg) saturate(.6); } }
html[data-theme="dark"] .st-hm-map { filter: invert(.88) hue-rotate(180deg) saturate(.6); }
.st-stats { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.st-stats li { border-left: 3px solid var(--turchese); padding: 4px 0 4px 16px; }
.st-stats b { display: block; font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.st-stats span { color: var(--text-2); font-size: 14px; }
.st-home-mappa.st-searched .st-hm-map { display: none; }
.st-home-mappa.st-searched .st-hero { min-height: 0; padding: 24px 0 28px; }
.st-home-mappa.st-searched .st-hero-main { max-width: 820px; padding: 16px; }
@media (max-width: 720px) {
  .st-home-mappa .st-hero { padding: 200px 0 24px; min-height: 0; }
  .st-home-mappa .st-hm-map { height: 300px; }
  .st-home-mappa .st-hero-main { padding: 20px 16px; }
  .st-home-mappa.st-searched .st-hero { padding: 16px 0; }
}

/* 3 · Categorie a tessere: fondo chiaro, «Ho bisogno subito» come riquadro, categorie come tessere */
.st-home-categorie .st-hero { background: var(--surface); padding: 36px 0 32px; border-bottom: 1px solid var(--line); }
.st-home-categorie .st-hero h1 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; }
.st-home-categorie .st-hero h1 em { display: block; }
.st-home-categorie .st-hero-lead { font-size: 16px; margin-bottom: 20px; }
.st-home-categorie .st-search { max-width: none; }
.st-home-categorie .st-search-box { order: -2; box-shadow: 0 0 0 2px var(--brand); }
.st-home-categorie .st-urgent-btn { order: -1; flex: 1 1 100%; justify-content: flex-start; flex-wrap: wrap; column-gap: 12px; row-gap: 0; text-align: left; border-radius: 16px; padding: 14px 18px; min-height: 64px;
  color: var(--corallo-text); background: var(--corallo-tint); border: 1px solid transparent; }
.st-home-categorie .st-urgent-btn:hover { background: var(--corallo-tint); border-color: var(--corallo-text); }
.st-home-categorie .st-urgent-btn svg { width: 22px; height: 22px; }
.st-home-categorie .st-urgent-desc { display: block; flex-basis: 100%; padding-left: 34px; font-size: 14px; font-weight: 500; color: var(--text); }
.st-home-categorie .st-urgent-btn[aria-pressed='true'] { background: var(--cta); color: #fff; }
.st-home-categorie .st-urgent-btn[aria-pressed='true'] .st-urgent-desc { color: #fff; }
.st-cattiles { flex-wrap: wrap; overflow: visible; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 10px; padding: 0; }
.st-home-categorie .st-cattiles .st-catchip { --tile: var(--brand); display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 14px; min-height: 118px; padding: 16px 18px;
  white-space: normal; text-align: left; border-radius: 18px; font-size: 16px; font-weight: 700; color: var(--ink); border: 2px solid transparent;
  background: color-mix(in srgb, var(--tile) 13%, var(--surface)); }
.st-home-categorie .st-cattiles .st-catchip:hover { background: color-mix(in srgb, var(--tile) 22%, var(--surface)); border-color: transparent; }
.st-home-categorie .st-cattiles .st-catchip[aria-pressed='true'] { border-color: var(--hl); background: color-mix(in srgb, var(--tile) 22%, var(--surface)); color: var(--ink); }
.st-home-categorie .st-cattiles .st-catchip:nth-child(8n+2) { --tile: var(--corallo); }
.st-home-categorie .st-cattiles .st-catchip:nth-child(8n+3) { --tile: #C9861A; }
.st-home-categorie .st-cattiles .st-catchip:nth-child(8n+4) { --tile: #3b6fd1; }
.st-home-categorie .st-cattiles .st-catchip:nth-child(8n+5) { --tile: #26734D; }
.st-home-categorie .st-cattiles .st-catchip:nth-child(8n+6) { --tile: #7a6aa8; }
.st-home-categorie .st-cattiles .st-catchip:nth-child(8n+7) { --tile: var(--turchese); }
.st-home-categorie .st-cattiles .st-catchip:nth-child(8n+8) { --tile: #8a7f6a; }
.st-home-categorie .st-caticon { display: block; color: var(--tile); }
.st-home-categorie.st-searched .st-cattiles { display: flex; overflow-x: auto; flex-wrap: nowrap; }
.st-home-categorie.st-searched .st-cattiles .st-catchip { min-height: 44px; flex-direction: row; align-items: center; padding: 8px 14px; border-radius: 999px; font-size: 15px; white-space: nowrap; gap: 8px; }
.st-home-categorie.st-searched .st-caticon { width: 20px; height: 20px; }
.st-home-categorie.st-searched .st-urgent-desc { display: none; }
@media (max-width: 720px) {
  .st-cattiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .st-home-categorie .st-cattiles .st-catchip { min-height: 104px; padding: 14px; font-size: 15px; }
  .st-home-categorie .st-hero { padding: 22px 0 22px; }
  .st-home-categorie .st-tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; justify-content: space-around; background: var(--surface); border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .st-tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 48px; justify-content: center; font-size: 12px; font-weight: 700; color: var(--text-2); text-decoration: none; }
  .st-tabbar a[aria-current='page'] { color: var(--hl); }
  .st-tabbar svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  body.st-home-categorie { padding-bottom: 68px; }
}

/* 4 · Notte e urgenza: cielo notturno, pulsanti grandi prima della ricerca */
.st-home-notte .st-hero { background: radial-gradient(70% 90% at 85% 0%, color-mix(in srgb, var(--turchese) 28%, transparent), transparent 65%), #07151a; padding: 64px 0 56px; overflow: hidden; }
.st-home-notte .st-hero::before { opacity: 0; }
.st-home-notte .st-hm-stars { display: block; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(1.6px 1.6px at 12% 22%, #ffffffaa, transparent), radial-gradient(1.4px 1.4px at 34% 12%, #ffffff88, transparent),
    radial-gradient(1.2px 1.2px at 52% 34%, #ffffff77, transparent), radial-gradient(1.6px 1.6px at 66% 18%, #ffffffaa, transparent),
    radial-gradient(1.2px 1.2px at 92% 52%, #ffffff77, transparent), radial-gradient(1.4px 1.4px at 22% 78%, #ffffff66, transparent), radial-gradient(1.2px 1.2px at 78% 84%, #ffffff66, transparent); }
.st-home-notte .st-hm-moon { display: block; position: absolute; right: 8%; top: 0; width: 110px; height: 110px; border-radius: 50%; box-shadow: -26px 14px 0 0 #f3e6c4; transform: rotate(-20deg); }
.st-home-notte .st-hero-badge::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; margin-right: 8px; vertical-align: 1px; }
.st-home-notte .st-hero h1 { font-size: clamp(36px, 6vw, 64px); }
.st-home-notte .st-hero-pre { display: block; font-size: .55em; letter-spacing: -0.02em; color: var(--hero-text-2); margin-bottom: 6px; }
.st-home-notte .st-hero h1 em { background: none; color: inherit; }
.st-home-notte .st-near[data-near], .st-home-notte .st-urgent-btn { order: -3; min-height: 60px; font-size: 18px; padding: 14px 28px; }
.st-home-notte .st-urgent-btn { background: var(--cta); border-color: var(--cta); }
.st-home-notte .st-urgent-btn:hover { background: var(--cta); filter: brightness(1.1); }
.st-home-notte .st-urgent-btn[aria-pressed='true'] { background: #fff; color: var(--cta); }
.st-home-notte .st-geo-privacy { order: -2; margin-bottom: 18px; }
.st-home-notte .st-search-box { order: -1; }
.st-home-notte.st-searched .st-hm-moon, .st-home-notte.st-searched .st-hm-stars { display: none; }
.st-home-notte.st-searched .st-hero { padding: 24px 0 28px; }
.st-home-notte.st-searched .st-near[data-near], .st-home-notte.st-searched .st-urgent-btn { min-height: 48px; font-size: 16px; padding: 10px 20px; }
.st-tips { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.st-tips li { border-top: 2px solid var(--line); padding-top: 12px; color: var(--text-2); font-size: 15px; }
.st-tips b { display: block; color: var(--ink); margin-bottom: 4px; }
@media (max-width: 720px) {
  .st-home-notte .st-hero { padding: 36px 0 32px; }
  .st-home-notte .st-hm-moon { width: 64px; height: 64px; right: 6%; top: -12px; box-shadow: -16px 8px 0 0 #f3e6c4; }
  .st-home-notte .st-near[data-near], .st-home-notte .st-urgent-btn { flex: 1 1 100%; }
  .st-tips { grid-template-columns: 1fr; }
}

/* 5 · Editoriale: fondo chiaro caldo, illustrazione del distributore, sezioni per leggere i dati e per le farmacie */
.st-home-editoriale .st-hero { background: var(--he-bg); padding: 56px 0 64px; }
.st-home-editoriale .st-hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.st-hero-kicker { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--corallo-text); }
.st-home-editoriale .st-hero h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.02; }
.st-home-editoriale .st-hero h1 em { color: inherit; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--corallo) 38%, transparent) 62%); }
.st-home-editoriale .st-search { max-width: 640px; }
.st-home-editoriale .st-he-art { display: block; position: relative; max-width: 340px; justify-self: center; width: 100%; }
.st-he-art > svg { display: block; width: 100%; height: auto; }
.he-body { fill: var(--brand); } .he-shadow { fill: rgba(12,42,40,.14); } .he-screen { fill: var(--hero); } .he-slot { fill: var(--brand-dark); } .he-pad { fill: color-mix(in srgb, var(--brand) 60%, #fff); }
.he-cell { fill: color-mix(in srgb, var(--brand) 78%, #fff); } .he-ico { color: #fff; }
.he-cross-bg { fill: var(--turchese); stroke: var(--he-bg); stroke-width: 4; } .he-cross { fill: #fff; }
.st-he-bubble { position: absolute; margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ok); background: var(--surface); border-radius: 14px; padding: 10px 14px; box-shadow: 0 12px 30px -12px rgba(12,42,40,.35); }
.st-he-b2 { right: -12px; top: 56%; }
.st-home-editoriale.st-searched .st-hero { padding: 24px 0 28px; }
.st-home-editoriale.st-searched .st-hero-in { display: block; }
.st-home-editoriale.st-searched .st-he-art, .st-home-editoriale.st-searched .st-hero-kicker { display: none; }
.st-ed-trust { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 28px; border-radius: var(--radius); background: var(--he-bg); border: 1px solid var(--line); }
.st-ed-trust h2, .st-ed-pharm h2, .st-ed-faq h2 { margin: 0 0 8px; font-size: 26px; letter-spacing: -0.02em; color: var(--ink); }
.st-ed-trust p { margin: 0; color: var(--text-2); }
.st-ed-trust ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.st-ed-trust li { display: grid; gap: 6px; background: var(--surface); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--text-2); }
.st-ed-trust .st-badge { justify-self: start; }
.st-ed-pharm { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; align-items: center; padding: 32px; border-radius: var(--radius); background: var(--hero); color: var(--hero-text); }
.st-ed-pharm h2 { color: #fff; }
.st-ed-pharm p { margin: 0; color: var(--hero-text-2); }
.st-ed-pharm ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--hero-text-2); }
.st-ed-pharm li { padding: 4px 0 4px 26px; position: relative; }
.st-ed-pharm li::before { content: '✓'; position: absolute; left: 0; font-weight: 800; color: var(--brand-on-dark); }
.st-ed-pharm .st-btn { width: 100%; min-height: 52px; font-size: 16px; }
.st-ed-pharm a.st-btn { color: #fff; }
.st-ed-faq { margin-top: 18px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.st-ed-faq > p { margin: 14px 0 0; font-weight: 700; }
@media (max-width: 860px) {
  .st-home-editoriale .st-hero-in, .st-ed-trust, .st-ed-pharm { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .st-home-editoriale .st-he-art { display: none; }
  .st-home-editoriale .st-hero { padding: 32px 0 36px; }
  .st-ed-trust, .st-ed-pharm, .st-ed-faq { padding: 20px; }
}
/* testi secondari sul fondo caldo: --text-3 (più scuro) per restare sopra 4,5:1 */
.st-home-editoriale .st-hero-lead, .st-home-editoriale .st-geo-privacy, .st-ed-trust p { color: var(--text-3); }

/* 6 · Frase (idea da casa.it): la ricerca come una frase da completare, «Cerco … a …», su fondo notturno */
.st-home-frase .st-hero { padding: 64px 0 72px; background: radial-gradient(60% 90% at 85% 15%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 70%), var(--hero); }
.st-home-frase .st-hero-main { max-width: 1060px; }
.st-home-frase .st-hero-kicker { color: var(--hero-text-2); }
.st-home-frase .st-hero h1 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; margin-bottom: 26px; max-width: 700px; }
.st-home-frase .st-search { max-width: 1060px; }
.st-home-frase .st-search-box, .st-home-frase .st-search-two { background: transparent; box-shadow: none; border-radius: 0; padding: 0; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.st-home-frase .st-search-box:focus-within { box-shadow: none; }
.st-fr-word { font-size: clamp(20px, 2.6vw, 30px); color: var(--hero-text-2); }
.st-home-frase .st-field, .st-home-frase .st-field + .st-field { flex: 1 1 220px; max-width: 340px; padding: 0 4px; border: 0; border-bottom: 2px solid var(--hero-text); }
.st-home-frase .st-field:focus-within { border-bottom-color: var(--hero-grad); }
.st-home-frase .st-field > svg { display: none; }
.st-home-frase .st-field-where { max-width: 300px; }
.st-home-frase .st-field-what { flex: 1.6 1 360px; max-width: 560px; }
.st-home-frase .st-field input { color: #fff; font-size: clamp(20px, 2.2vw, 30px); font-weight: 700; height: auto; padding: 2px 0 4px; }
.st-home-frase .st-field-where input { color: var(--hero-hi); font-style: italic; }
.st-home-frase .st-field input::placeholder { color: var(--hero-text-2); opacity: 1; font-weight: 600; }
.st-home-frase .st-field .st-clear { color: var(--hero-text); }
.st-home-frase .st-search-two .st-btn { margin: 0 0 0 4px; align-self: center; background: var(--cta); box-shadow: none; padding: 0 26px; }
.st-home-frase .st-field.st-invalid { border-radius: 0; box-shadow: none; border-bottom-color: #fca5a5; }
.st-home-frase .st-near { margin-top: 10px; }
.st-home-frase .st-fr-art { display: block; position: absolute; right: 16px; bottom: -40px; width: 210px; opacity: .55; pointer-events: none; z-index: -1; }
.st-fr-art > svg { display: block; width: 100%; height: auto; }
.st-home-frase.st-searched .st-fr-art, .st-home-frase.st-searched .st-hero-kicker, .st-home-frase.st-searched .st-band { display: none; }
.st-home-frase.st-searched .st-hero { padding: 24px 0 28px; }
@media (max-width: 1400px) { .st-home-frase .st-fr-art { display: none; } }
@media (max-width: 640px) {
  .st-home-frase .st-hero { padding: 40px 0 48px; }
  .st-home-frase .st-field, .st-home-frase .st-field + .st-field { flex-basis: 100%; max-width: none; }
  .st-home-frase .st-search-two .st-btn { margin: 10px 0 0; flex-basis: 100%; }
}
/* Fascia «Hai una farmacia?» sotto la parte alta */
.st-band { background: color-mix(in srgb, var(--hero) 82%, var(--brand)); color: var(--hero-text); border-top: 1px solid rgba(255,255,255,.08); }
.st-band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 18px; padding-bottom: 18px; }
.st-band h2 { margin: 0; font-size: 18px; color: #fff; }
.st-band p { margin: 2px 0 0; color: var(--hero-text-2); }
.st-band-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--hero-text-2); border-radius: 8px; font-weight: 700; color: #fff; text-decoration: none; }
.st-band-btn:hover { background: rgba(255,255,255,.08); }
.st-band-btn:focus-visible { outline: 3px solid var(--brand-on-dark-2); outline-offset: 2px; }
/* «FarmyPoint per te» */
.st-perte { margin: 0 0 24px; }
.st-perte h2 { position: relative; margin: 0 0 20px; padding-bottom: 10px; font-size: 24px; }
.st-perte h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--line); }
.st-perte-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px; }
.st-perte-list li { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; align-content: start; }
.st-perte-ill { display: grid; place-items: center; height: 112px; border-radius: var(--radius); background: var(--corallo-tint); }
.st-perte-ill-2 { background: var(--brand-tint); } .st-perte-ill-3 { background: var(--warn-bg); }
.st-perte-list h3 { margin: 6px 0 0; padding-bottom: 10px; font-size: 19px; font-weight: 600; border-bottom: 1px solid var(--line); }
.st-perte-list p { margin: 0; color: var(--text-2); }
.st-perte-list .st-btn { justify-self: start; border-radius: 8px; }
.st-perte-list a.st-btn { color: #fff; }   /* nel tema scuro i link prendono il colore chiaro: sui pulsanti resta il bianco */
.pt-a { fill: var(--corallo); } .pt-s { fill: var(--surface); } .pt-b { fill: var(--brand); } .pt-c { fill: var(--turchese); } .pt-d { fill: var(--ink); }
.pt-ok { fill: #26734D; } .pt-warn { fill: #8A5A00; } .pt-mut { fill: #64736F; }

/* 7 · Portale (idea da immobiliare.it): riquadro a colore pieno con le schede sopra la ricerca, scorciatoie a icone */
.st-home-portale .st-hero { background: var(--bg); color: var(--ink); padding: 20px 0 8px; }
.st-home-portale .st-hero::before { display: none; }
.st-home-portale .st-hero-in { background: radial-gradient(70% 120% at 100% 0%, color-mix(in srgb, var(--turchese) 35%, transparent), transparent 65%), var(--brand); border-radius: 28px; padding: 36px 24px 26px; color: #fff; }
.st-home-portale .st-hero-main { max-width: 860px; margin: 0 auto; text-align: center; }
.st-home-portale .st-hero h1 { font-size: clamp(26px, 3.4vw, 40px); margin: 0 auto 14px; color: #fff; }
.st-home-portale .st-hero h1 em { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #c8f0ea; }
.st-home-portale .st-search { margin: 0 auto; max-width: 780px; text-align: left; justify-content: center; }
.st-home-portale .st-catchips { justify-content: safe center; }
.st-home-portale .st-geo-privacy { color: #e3f1ee; text-align: center; }
.st-home-portale .st-geo-privacy a, .st-home-portale .st-hero a.st-near { color: #fff; }
.st-ptabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; margin: 0 0 16px; }
.st-ptabs [role='tab'] { min-height: 44px; padding: 8px 14px; font: inherit; font-size: 16px; font-weight: 600; color: #fff; background: transparent; border: 0; border-bottom: 3px solid transparent; cursor: pointer; }
.st-ptabs [role='tab']:hover { border-bottom-color: rgba(255,255,255,.45); }
.st-ptabs [aria-selected='true'] { border-bottom-color: #fff; }
.st-ptabs [role='tab']:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.st-ptab-name { max-width: 780px; margin: 16px auto 0; padding: 18px 20px; text-align: left; color: var(--text); background: var(--surface); border-radius: 18px; }
.st-ptab-name[hidden] { display: none; }
.st-ptab-h { margin: 0 0 2px; font-size: 18px; color: var(--ink); }
.st-ptab-p { margin: 0; color: var(--text-2); font-size: 14px; }
[data-ptabs]:not([hidden]) ~ .st-ptab-name .st-ptab-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.st-pclaim { margin: 18px auto 0; font-size: 14px; color: #e3f1ee; }
.st-pclaim b { display: inline-block; margin-right: 2px; padding: 1px 8px; border-radius: 6px; background: rgba(255,255,255,.16); color: #fff; }
.st-home-portale.st-searched .st-hero { padding: 12px 0 4px; }
.st-home-portale.st-searched .st-hero-in { padding: 18px 16px 16px; }
.st-home-portale.st-searched .st-pclaim, .st-home-portale.st-searched .st-ptabs { display: none; }
@media (max-width: 640px) { .st-home-portale .st-hero-in { border-radius: 20px; padding: 24px 14px 18px; } }
/* Scorciatoie a icone */
.st-shortcuts ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.st-shortcuts a { display: grid; justify-items: center; gap: 8px; min-height: 44px; padding: 10px 4px; border-radius: 12px; text-align: center; font-size: 13.5px; font-weight: 600; line-height: 1.25; color: var(--ink); text-decoration: none; }
.st-shortcuts a:hover { background: var(--brand-tint); }
.st-sc-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--hl); background: var(--brand-tint); }
.st-sc-ico svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-sc-urg { color: var(--corallo-text); background: var(--corallo-tint); }
/* Preferiti come cartoline */
.st-homefav { margin-bottom: 16px; }
.st-homefav-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.st-homefav-head a { font-weight: 700; }
.st-homefav p { margin-bottom: 0; }
.st-homefav-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.st-homefav-list li { display: grid; gap: 4px; align-content: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.st-homefav-list a { font-weight: 700; overflow-wrap: anywhere; }
.st-homefav-list small { color: var(--text-3); font-size: 13px; }
.st-homefav-list .st-badge { justify-self: start; }

/* 8 · Vetrina (struttura ispirata a farmaciaditurno.it, grafica di FarmyPoint): in alto la domanda e «Quanto sono
   sicuri i dati», sotto la console di ricerca a tutta larghezza (Luogo, Farmacia, Prodotto); percorsi in schede
   orizzontali con illustrazioni rotonde; categorie in elenco; fasce con testo e illustrazione affiancati. */
.st-home-vetrina .st-hero { color: var(--ink); padding: 48px 0 40px;
  background: radial-gradient(color-mix(in srgb, var(--brand) 14%, transparent) 1px, transparent 1.5px) 0 0 / 22px 22px, var(--bg); }
.st-home-vetrina .st-hero::before { display: none; }
.st-home-vetrina .st-hero-in { display: block; }
.st-vt-top { max-width: 860px; margin: 0 auto; text-align: center; }
.st-vt-intro { min-width: 0; }
.st-vt-kicker { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--hl); }
.st-home-vetrina .st-hero h1 { margin: 0 auto 14px; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.035em; color: var(--ink); max-width: 15em; }
.st-home-vetrina .st-hero h1 em { -webkit-background-clip: border-box; background-clip: border-box; color: var(--ink);
  background: linear-gradient(transparent 58%, color-mix(in srgb, var(--turchese) 38%, transparent) 58% 92%, transparent 92%); padding: 0 .08em; }
.st-vt-lead2 { margin: 0 auto; max-width: 600px; font-size: 18px; color: var(--text-2); }
.st-home-vetrina .st-vt-console { max-width: 1000px; margin: 28px auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 50px -32px rgba(12,42,40,.45); overflow: visible; }
.st-vt-tabs { display: flex; gap: 4px; padding: 0 12px; border-bottom: 1px solid var(--line); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
/* overflow-x: auto rende scorrevole anche l'asse verticale: il margin-bottom -1px delle tab faceva comparire una barra */
.st-vt-tabs::-webkit-scrollbar { display: none; }
.st-vt-tabs[hidden] { display: none; }
.st-vt-tabs [role='tab'] { display: inline-flex; align-items: center; gap: 8px; min-height: 54px; padding: 0 18px; font: inherit; font-size: 16px; font-weight: 700; color: var(--text-2);
  background: transparent; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; }
.st-vt-tabs svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-vt-tabs [role='tab']:hover { color: var(--ink); }
.st-vt-tabs [aria-selected='true'] { color: var(--hl); border-bottom-color: var(--hl); }
.st-vt-tabs [role='tab']:focus-visible { outline: 3px solid var(--hl); outline-offset: -3px; border-radius: 8px; }
.st-vt-panel { padding: 18px 20px 20px; }
.st-vt-panel[hidden] { display: none; }
.st-home-vetrina .st-search { max-width: none; }
.st-home-vetrina .st-search-box { box-shadow: 0 0 0 1.5px var(--line); }
.st-home-vetrina .st-search-box:focus-within { box-shadow: 0 0 0 3px var(--brand); }
.st-search[data-mode='luogo'] .st-field-what { display: none; }
.st-search[data-mode='luogo'] .st-field + .st-field { border-left: 0; border-top: 0; }
.st-home-vetrina .st-near, .st-home-vetrina .st-catchips .st-catchip { color: var(--hl); background: var(--surface); border-color: var(--line); }
.st-home-vetrina .st-near:hover, .st-home-vetrina .st-catchip:hover { background: var(--brand-tint); border-color: var(--hl); }
.st-home-vetrina .st-near[aria-pressed='true'] { background: var(--brand); color: #fff; border-color: var(--brand); }
.st-home-vetrina .st-near:focus-visible { outline-color: var(--hl); }
.st-home-vetrina .st-geo-privacy, .st-home-vetrina .st-search-msg, .st-home-vetrina .st-geo-status, .st-home-vetrina .st-hero .st-geo-help, .st-home-vetrina .st-hero .st-geo-improve { color: var(--text-2); }
.st-home-vetrina .st-geo-privacy a { color: var(--hl); }
.st-home-vetrina .st-catchips { display: none; }
/* Campo a tutta larghezza con «Vicino a me» dentro; «Ho bisogno subito» e «Farmacie di turno» sotto (dopo la ricerca
   tornano sulla stessa riga del campo, regole .st-searched) */
.st-home-vetrina .st-search { flex-wrap: wrap; gap: 10px; }
.st-home-vetrina .st-search-box { flex: 1 1 100%; min-width: 0; }
.st-home-vetrina .st-near { flex: none; white-space: nowrap; }
.st-home-vetrina .st-near svg { flex: none; }
.st-home-vetrina .st-urgent-desc { display: none; }
@media (max-width: 560px) { .st-home-vetrina:not(.st-searched) .st-near { flex: 1 1 0; gap: 6px; padding: 8px; font-size: 15px; white-space: normal; text-align: left; } }
.st-home-vetrina .st-ptab-name { margin: 0; background: transparent; border-radius: 0; }
.st-home-vetrina.st-searched .st-hero { padding: 16px 0 20px; }
.st-home-vetrina.st-searched .st-vt-top, .st-home-vetrina.st-searched .st-vt-tabs { display: none; }
.st-home-vetrina.st-searched .st-vt-console { margin-top: 0; box-shadow: none; }
/* Dopo la ricerca: una sola riga larga quanto il contenuto, campo + «Vicino a me» + «Ho bisogno subito»; niente Preferiti
   (sono nell'intestazione) né spiegazione sulla privacy, che resta visibile in homepage e collegata al pulsante */
.st-home-vetrina.st-searched .st-vt-console { max-width: none; border-radius: 18px; }
.st-home-vetrina.st-searched .st-vt-panel { padding: 10px; }
.st-home-vetrina.st-searched .st-search { flex-wrap: wrap; gap: 8px; }
.st-home-vetrina.st-searched .st-search-box { flex: 1 1 280px; min-width: 0; padding: 4px 4px 4px 14px; }
.st-home-vetrina.st-searched .st-search-box input { height: 40px; font-size: 16px; }
.st-home-vetrina.st-searched .st-search-box .st-btn { min-height: 40px; padding: 0 18px; margin: 0; }
.st-home-vetrina.st-searched .st-near { flex: none; min-height: 48px; padding: 0 16px; font-size: 15px; gap: 6px; white-space: nowrap; }
.st-home-vetrina.st-searched .st-hero-fav, .st-home-vetrina.st-searched .st-geo-privacy, .st-home-vetrina.st-searched .st-urgent-desc { display: none; }
@media (max-width: 720px) {   /* telefono: stessa riga, i due pulsanti solo con l'icona (il testo resta per i lettori di schermo) */
  .st-home-vetrina.st-searched .st-search-box { flex: 1 1 0; }
  .st-home-vetrina.st-searched [data-mode='luogo'] .st-search-box { flex-direction: row; align-items: center; border-radius: 999px; padding: 3px 3px 3px 12px; }
  .st-home-vetrina.st-searched .st-vt-panel { padding: 6px; }
  .st-home-vetrina.st-searched [data-mode='luogo'] .st-search-box .st-btn { padding: 0 12px; font-size: 14px; }
  .st-home-vetrina.st-searched .st-search-box .st-field { gap: 6px; padding: 0 4px; }
  .st-home-vetrina.st-searched .st-search-box .st-field > svg { width: 16px; height: 16px; }
  .st-home-vetrina.st-searched .st-search { gap: 4px; }
  .st-home-vetrina.st-searched .st-near { width: 44px; min-width: 44px; min-height: 44px; padding: 0; }
  .st-home-vetrina.st-searched .st-near > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .st-home-vetrina.st-searched .st-near svg { width: 20px; height: 20px; }
}
/* «Vicino a me» dentro il campo del luogo (proposta C): pulsante senza bordo dopo una linea sottile; sotto restano
   «Ho bisogno subito» e «Farmacie di turno». Su telefono, e con due campi in «Prodotto», solo l'icona (testo per i lettori di schermo) */
.st-near-sep { flex: none; width: 1px; height: 28px; background: var(--line); }
.st-home-vetrina .st-search-box .st-near { flex: none; min-height: 44px; padding: 0 12px; gap: 6px; font-size: 15px; border: 0; background: transparent; white-space: nowrap;
  color: var(--brand); }   /* il campo resta bianco anche nel tema scuro: colore del pulsante «Cerca», non --hl */
.st-home-vetrina .st-search-box .st-near:hover { background: color-mix(in srgb, var(--brand) 10%, #fff); }
.st-home-vetrina .st-search-box .st-near[aria-pressed='true'] { background: var(--brand); color: #fff; }
.st-home-vetrina.st-searched .st-search-box .st-near { min-height: 40px; padding: 0 12px; }
@media (max-width: 900px) { .st-home-vetrina [data-mode='prodotto'] .st-search-box .st-near > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (max-width: 720px) {
  .st-home-vetrina .st-search-box .st-near, .st-home-vetrina.st-searched .st-search-box .st-near { flex: none; width: 44px; min-width: 44px; padding: 0; }
  .st-home-vetrina .st-search-box .st-near > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .st-home-vetrina .st-search-box .st-near svg { width: 20px; height: 20px; }
}
@media (max-width: 900px) { .st-home-vetrina .st-hero { padding: 28px 0 32px; } .st-vt-tabs [role='tab'] { padding: 0 12px; flex: 1 0 auto; justify-content: center; } }
/* Illustrazioni: classi vi-* con i colori della palette */
.vi-soft { fill: color-mix(in srgb, var(--brand) 12%, var(--surface)); } .vi-mid { fill: color-mix(in srgb, var(--brand) 45%, var(--surface)); }
.vi-brand { fill: var(--brand); } .vi-dark { fill: #0c2a28; } .vi-acc { fill: var(--turchese); } .vi-accl { fill: color-mix(in srgb, var(--turchese) 45%, #fff); }
.vi-win { fill: #fff; } .vi-none { fill: none; } .vi-ok { fill: #26734D; } .vi-okbg { fill: #e6f2ec; } .vi-tag { fill: #9a3f2c; }
.vi-ico { color: #0c2a28; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .vi-hex { stroke: var(--surface); stroke-width: 3; }
.vi-txt { font: 700 11px var(--font); fill: #0c2a28; } .vi-txt-w { fill: #fff; } .vi-brace { font: 800 30px var(--font); fill: var(--brand); }
.vi-stroke-s { stroke: color-mix(in srgb, var(--ink) 25%, transparent); stroke-width: 1.5; }
.vi-ringl { stroke: color-mix(in srgb, var(--brand) 35%, transparent); stroke-width: 1.5; stroke-dasharray: 4 5; }
.vi-sweep { fill: color-mix(in srgb, var(--turchese) 22%, transparent); }
.vi-me { fill: #2563eb; stroke: #fff; stroke-width: 2.5; } .vi-me-halo { fill: rgba(37,99,235,.2); }
.vi-flow { stroke: var(--turchese); stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; }
.vi-line { fill: none; stroke: color-mix(in srgb, var(--brand) 30%, #fff); stroke-width: 6; stroke-linecap: round; }
.vi-faint { fill: color-mix(in srgb, var(--brand) 10%, transparent); }
.vi-checkw { stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vi-ringw { stroke: rgba(255,255,255,.4); stroke-width: 2; }
.vi-checkw2 { stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.vi-glass { fill: color-mix(in srgb, var(--turchese) 10%, #fff); } .vi-glare { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 10; }
.vi-beam { stroke: var(--turchese); stroke-width: 2; stroke-dasharray: 3 6; }
/* Percorsi: schede orizzontali con l'illustrazione rotonda */
.st-vt-paths ul { list-style: none; margin: 8px 0 40px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.st-vt-paths li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.st-vt-ill { display: block; width: 104px; height: 104px; }
.st-vt-ill > svg { display: block; width: 100%; height: 100%; }
.st-vt-paths h2 { margin: 2px 0 6px; font-size: 18px; }
.st-vt-paths p { margin: 0; color: var(--text-2); font-size: 15px; }
.st-vt-more { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 700; color: var(--hl); text-decoration: none; }
.st-vt-more:hover { text-decoration: underline; }
/* Percorsi negli stili a–e (PercorsiHome, admin → Stile → Percorsi della homepage). Ogni scheda ha il suo colore: --pc
   (riempimenti), --pct (testo, chiaro nel tema scuro), --pcl (parti chiare delle illustrazioni), --pcbg (fondo tenue) */
.st-pc li { --pc: var(--brand); --pct: var(--hl); position: relative; --pcl: color-mix(in srgb, var(--pc) 16%, #fff); --pcbg: color-mix(in srgb, var(--pc) 9%, var(--surface));
  grid-template-columns: 96px minmax(0, 1fr) auto; grid-template-areas: 'ill tx go'; align-items: center; transition: border-color .15s, box-shadow .15s; }
.st-pc-b li:nth-child(2), .st-pc-d li:nth-child(2), .st-pc-e li:nth-child(2) { --pc: #1f7a5a; --pct: #1f7a5a; }
.st-pc-b li:nth-child(3), .st-pc-d li:nth-child(3), .st-pc-e li:nth-child(3) { --pc: #2563c9; --pct: #2563c9; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .st-pc-b li:nth-child(2), html:not([data-theme="light"]) .st-pc-d li:nth-child(2), html:not([data-theme="light"]) .st-pc-e li:nth-child(2) { --pct: #74d1a8; }
  html:not([data-theme="light"]) .st-pc-b li:nth-child(3), html:not([data-theme="light"]) .st-pc-d li:nth-child(3), html:not([data-theme="light"]) .st-pc-e li:nth-child(3) { --pct: #95b8f6; }
}
html[data-theme="dark"] .st-pc-b li:nth-child(2), html[data-theme="dark"] .st-pc-d li:nth-child(2), html[data-theme="dark"] .st-pc-e li:nth-child(2) { --pct: #74d1a8; }
html[data-theme="dark"] .st-pc-b li:nth-child(3), html[data-theme="dark"] .st-pc-d li:nth-child(3), html[data-theme="dark"] .st-pc-e li:nth-child(3) { --pct: #95b8f6; }
.st-pc li:hover { border-color: color-mix(in srgb, var(--pc) 45%, var(--line)); box-shadow: 0 6px 18px -10px color-mix(in srgb, var(--pc) 45%, transparent); }
.st-pc li:has(.st-pc-go:focus-visible) { outline: 3px solid var(--pct); outline-offset: 2px; }
.st-pc-ill { grid-area: ill; display: block; width: 96px; height: 96px; }
.st-pc-ill > svg { display: block; width: 100%; height: 100%; }
.st-pc-tx { grid-area: tx; min-width: 0; }
.st-pc h2 { margin: 0 0 6px; font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.st-pc p { margin: 0; color: var(--text-2); font-size: 15px; }
.st-pc-go { grid-area: go; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--pct); text-decoration: none; }
.st-pc-go::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.st-pc-go:focus-visible { outline: none; }
.st-pc li:hover .st-pc-lbl { text-decoration: underline; }
/* A · Pulito e moderno: freccia tonda tenue */
.st-pc-a .st-pc-arr, .st-pc-b .st-pc-arr { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; line-height: 1; }
.st-pc-a .st-pc-arr { background: var(--brand-tint); color: var(--hl); font-size: 26px; padding-bottom: 3px; }
/* B · Sfondo colorato: fondo tenue del colore del percorso, freccia piena */
.st-pc-b li { background: var(--pcbg); border-color: color-mix(in srgb, var(--pc) 22%, var(--line)); }
.st-pc-b .st-pc-ill { border-radius: 50%; background: var(--surface); padding: 8px; }
.st-pc-b .st-pc-arr { background: var(--pc); color: #fff; }
/* C · Minimal: icona singola, azione scritta dopo una linea sottile */
.st-pc-c li { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; }
.st-pc-c .st-pc-ill { width: 56px; height: 56px; }
.st-pc-c .st-pc-ill .vi-soft { fill: none; }
.st-pc-c .st-pc-go { flex-direction: column; align-items: flex-start; gap: 4px; max-width: 100px; align-self: stretch; justify-content: center; padding-left: 14px; border-left: 1px solid var(--line); font-size: 15px; line-height: 1.3; }
.st-pc-c .st-pc-arr { font-size: 18px; }
/* D · Immagini illustrative: riquadro grande a sinistra con il bordo curvo, pulsante pieno */
.st-pc-d li { grid-template-columns: 132px minmax(0, 1fr); grid-template-areas: 'ill tx' 'ill go'; align-items: start; gap: 14px 18px; padding: 0; overflow: hidden; }
.st-pc-d .st-pc-ill { width: 132px; height: 100%; min-height: 190px; padding: 18px 22px 18px 10px; border-radius: 0 50% 50% 0 / 0 60% 60% 0;
  background: linear-gradient(160deg, color-mix(in srgb, var(--pc) 8%, var(--surface)), color-mix(in srgb, var(--pc) 18%, var(--surface))); display: grid; place-items: center; }
.st-pc-d .st-pc-ill > svg { height: auto; }
.st-pc-d .st-pc-tx { padding: 20px 18px 0 0; }
.st-pc-d .st-pc-go { align-self: end; justify-self: start; margin: 0 18px 20px 0; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--pc); color: #fff; font-size: 15px; }
/* E · Card verticali: illustrazione in alto con l'etichetta, link in fondo */
.st-pc-e li { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'top' 'tx' 'go'; grid-template-rows: auto 1fr auto; align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
.st-pc-top { grid-area: top; position: relative; display: grid; place-items: center; height: 150px; background: radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--pc) 20%, var(--surface)), color-mix(in srgb, var(--pc) 5%, var(--surface)) 70%); }
.st-pc-e .st-pc-ill { grid-area: auto; width: 132px; height: 132px; }
.st-pc-e .st-pc-ill .vi-soft { fill: none; }
.st-pc-tag { position: absolute; left: 14px; top: 12px; max-width: calc(100% - 28px); padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--text-2); font-size: 13px; font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.st-pc-e .st-pc-tx { padding: 18px 20px 0; }
.st-pc-e .st-pc-go { justify-content: space-between; margin: 16px 20px 18px; padding-top: 14px; min-height: 44px; border-top: 1px solid var(--line); }
.st-pc-e .st-pc-arr { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pc); color: #fff; }
/* Illustrazioni dei percorsi (percorsiArt) */
.pa-c, .pa-pin { fill: var(--pc); } .pa-l { fill: var(--pcl); } .pa-w { fill: #fff; } .pa-k { fill: #1d1838; } .pa-x { fill: #2fae6a; } .pa-tree { fill: #3f9d6a; }
.pa-sh { fill: #000; opacity: .08; } .pa-o { opacity: .85; } .pa-ls { stroke: var(--pcl); stroke-width: 3; }
.pa-cross { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; } .pa-cross-g { stroke: #2fae6a; stroke-width: 8; } .pa-cross-c { stroke: var(--pc); stroke-width: 3.5; }
.pa-ring { fill: none; stroke: var(--pc); stroke-width: 2; } .pa-st { fill: none; stroke: var(--pc); stroke-width: 3; stroke-linecap: round; opacity: .7; }
.pa-tag { fill: #b4442f; } .pa-tagt, .pa-chipt { font: 800 11px var(--font, sans-serif); text-anchor: middle; } .pa-tagt { fill: #fff; } .pa-chipt { fill: #1d1838; font-size: 10px; }
.pa-chip { stroke: #d8d8e0; } .pa-fold { fill: none; stroke: var(--pcl); stroke-width: 3; }
.pa-road { fill: none; stroke: var(--pc); stroke-opacity: .3; stroke-width: 5; stroke-linecap: round; } .pa-road2 { stroke-width: 4; stroke-opacity: .2; }
.st-pc-d li:nth-child(3) .pa-pin, .st-pc-b li:nth-child(3) .pa-pin, .st-pc-e li:nth-child(3) .pa-pin { fill: var(--brand); }
@media (max-width: 600px) {
  .st-pc ul { gap: 12px; }
  .st-pc li { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; padding: 14px; }
  .st-pc-ill, .st-pc-c .st-pc-ill { width: 64px; height: 64px; }
  .st-pc h2 { font-size: 17px; margin-bottom: 4px; }
  .st-pc p { font-size: 14px; }
  .st-pc-a .st-pc-arr, .st-pc-b .st-pc-arr { width: 38px; height: 38px; }
  .st-pc-b .st-pc-ill { padding: 5px; }
  .st-pc-c li { grid-template-areas: 'ill tx' 'ill go'; grid-template-columns: 64px minmax(0, 1fr); }
  .st-pc-c .st-pc-go { flex-direction: row; justify-self: start; max-width: none; padding: 6px 0 0; border-left: 0; min-height: 44px; }
  .st-pc-d li { grid-template-columns: 96px minmax(0, 1fr); padding: 0; gap: 10px 14px; }
  .st-pc-d .st-pc-ill { width: 96px; min-height: 150px; padding: 12px 16px 12px 6px; }
  .st-pc-d .st-pc-tx { padding: 16px 14px 0 0; }
  .st-pc-d .st-pc-go { margin: 0 14px 16px 0; padding: 8px 14px; font-size: 14px; }
  .st-pc-e li { grid-template-columns: minmax(0, 1fr); padding: 0; gap: 0; }
  .st-pc-e .st-pc-top { height: 120px; } .st-pc-e .st-pc-ill { width: 104px; height: 104px; }
}
/* Categorie in elenco con il numero di farmacie */
.st-vt-cats { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 16px 40px; padding: 32px 0; margin-bottom: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.st-vt-cats h2, .st-vt-band h2 { margin: 0 0 10px; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; text-wrap: balance; }
.st-vt-sub { margin: 0; max-width: 680px; color: var(--text-2); }
.st-vt-cats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); column-gap: 24px; }
.st-vt-cats a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 60px; padding: 8px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.st-vt-cats a:hover b { text-decoration: underline; }
.st-vt-catico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--hl); background: var(--brand-tint); }
.st-vt-cats .st-caticon { display: block; width: 24px; height: 24px; }
.st-vt-cats small { padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--ok); background: var(--ok-bg); white-space: nowrap; }
@media (max-width: 760px) { .st-vt-cats { grid-template-columns: minmax(0, 1fr); } }
/* Tre fasce: testo e illustrazione affiancati */
.st-vt-band { margin: 28px 0; padding: clamp(20px, 4vw, 44px); border-radius: 28px; }
.st-vt-band-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; align-items: center; }
.st-vt-band-txt { min-width: 0; }
.st-vt-art > svg { display: block; width: 100%; height: auto; max-height: 260px; }
@media (max-width: 860px) { .st-vt-band-in { grid-template-columns: minmax(0, 1fr); } .st-vt-band-rev .st-vt-art { order: 2; } }
.st-vt-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 24px 0 0; }
.st-home-vetrina .st-start > .st-wrap > .st-start-card:not(.st-recent):not(.st-index-home):not(.st-app):not(.st-popular):not(.st-seen-invite) { display: none; }
.st-home-vetrina .st-how { display: none; }
/* Gestori di distributori: fascia colorata con aloni corallo, giallo e turchese e bollini nell'illustrazione */
.st-vt-b2b { color: var(--text); border: 1px solid var(--line);
  background: radial-gradient(55% 80% at 0% 0%, color-mix(in srgb, var(--corallo) 40%, transparent), transparent 70%),
    radial-gradient(50% 80% at 100% 100%, color-mix(in srgb, var(--turchese) 45%, transparent), transparent 70%),
    radial-gradient(40% 60% at 85% 0%, color-mix(in srgb, #f2b632 45%, transparent), transparent 70%), var(--surface); }
.st-vt-b2b .st-vt-kicker { color: var(--corallo-text); }
.st-vt-b2b .st-vt-sub { color: var(--text); }
.st-vt-b2b .st-vt-art > svg { max-height: 230px; }
.st-vt-b2b-cta { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 10px 22px; border-radius: 999px; font-weight: 800; line-height: 1.25; text-decoration: none; color: #fff; background: var(--cta);
  box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--cta) 80%, transparent); }
.st-vt-b2b a.st-vt-b2b-cta { color: #fff; }
.st-vt-b2b-cta:hover { filter: brightness(1.08); }
/* «Collabora con FarmyPoint»: i dati entrano (fornitori e gestionali, turchese), il distributore al centro, la visibilità
   esce (Comuni e redazioni, corallo). Fondo scuro della palette con aloni e trama a puntini; sotto 900px una colonna. */
.st-cx { --cx-in: var(--brand-on-dark); --cx-out: color-mix(in srgb, var(--corallo) 55%, #fff);
  position: relative; overflow: hidden; color: var(--hero-text); padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px);
  background: radial-gradient(60% 80% at 0% 100%, var(--hero-glow-1), transparent 70%),
    radial-gradient(55% 75% at 100% 0%, color-mix(in srgb, var(--corallo) 30%, transparent), transparent 70%), var(--hero); }
.st-cx::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.st-cx > * { position: relative; }
.st-cx-head { max-width: 720px; margin: 0 auto 28px; text-align: center; }
.st-cx .st-vt-kicker { color: var(--cx-in); }
.st-cx h2 { margin: 0; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.01em; color: #fff; }
.st-cx h2 span { color: var(--cx-in); background: linear-gradient(90deg, var(--cx-in), var(--cx-out)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.st-cx-lead { margin: 12px auto 0; max-width: 560px; font-size: 17px; color: var(--hero-text-2); }
.st-cx-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center; }
@media (min-width: 900px) { .st-cx-grid { grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr); gap: 0; } }
.st-cx-card { display: grid; gap: 10px; min-width: 0; padding: 22px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 50px -24px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08); transition: transform .25s, border-color .25s; }
.st-cx-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.28); }
.st-cx-card h3 { margin: 4px 0 0; font-size: 19px; color: #fff; }
.st-cx-card p { margin: 0; color: var(--hero-text-2); }
.st-cx .st-cx-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cx-in); }
.st-cx .st-cx-out .st-cx-tag { color: var(--cx-out); }
.cx-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 25%, transparent); }
.st-cx a.st-cx-go { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; padding: 8px 18px; border-radius: 999px;
  font-weight: 800; text-decoration: none; color: var(--hero); background: #fff; }
.st-cx .st-cx-out a.st-cx-go { background: var(--cx-out); }
.st-cx-go span { transition: transform .2s; } .st-cx-go:hover span { transform: translateX(3px); }
.st-cx a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.cx-mini { display: block; width: 100%; height: auto; max-height: 96px; }
.cx-panel { fill: rgba(0,0,0,.22); stroke: rgba(255,255,255,.12); }
.cx-ok { fill: var(--turchese); } .cx-tick { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cx-bar { fill: rgba(255,255,255,.22); }
.cx-chip { fill: color-mix(in srgb, var(--cx-in) 18%, transparent); stroke: color-mix(in srgb, var(--cx-in) 50%, transparent); }
.cx-chip-n { fill: color-mix(in srgb, var(--cx-out) 18%, transparent); stroke: color-mix(in srgb, var(--cx-out) 55%, transparent); }
.cx-t { fill: #fff; font: 700 9px var(--font); text-anchor: middle; }
.cx-qrbg { fill: #fff; } .cx-qr { fill: var(--hero); }
.cx-url { fill: color-mix(in srgb, var(--cx-out) 16%, transparent); stroke: color-mix(in srgb, var(--cx-out) 55%, transparent); } .cx-u { fill: #fff; font: 700 9.5px var(--font); }
.cx-pin { fill: var(--corallo); } .cx-pinh { fill: #fff; }
.cx-row { animation: cx-in 3.6s ease-out infinite; } .cx-d1 { animation-delay: .4s; } .cx-d2 { animation-delay: .8s; }
@keyframes cx-in { 0% { opacity: 0; transform: translateX(-8px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: .9; } }
.st-cx-hub { position: relative; justify-self: center; width: 150px; }
.st-cx-hub svg { display: block; width: 100%; height: auto; }
@media (min-width: 900px) { .st-cx-hub { width: 200px; }
  .st-cx-hub::before, .st-cx-hub::after { content: ""; position: absolute; top: 50%; width: 46px; height: 2px; background-size: 10px 2px; animation: cx-flow 1.2s linear infinite; }
  .st-cx-hub::before { left: -8px; background-image: linear-gradient(90deg, var(--cx-in) 55%, transparent 0); }
  .st-cx-hub::after { right: -8px; background-image: linear-gradient(90deg, var(--cx-out) 55%, transparent 0); } }
@keyframes cx-flow { to { background-position: 10px 0; } }
.cx-ring { fill: none; stroke-width: 1.5; transform-origin: 100px 100px; }
.cx-ring1 { stroke: color-mix(in srgb, var(--cx-in) 30%, transparent); stroke-dasharray: 3 7; animation: cx-spin 30s linear infinite; }
.cx-ring2 { stroke: color-mix(in srgb, var(--cx-out) 40%, transparent); stroke-dasharray: 2 6; animation: cx-spin 22s linear infinite reverse; }
@keyframes cx-spin { to { transform: rotate(360deg); } }
.cx-core { fill: color-mix(in srgb, var(--turchese) 22%, var(--hero)); stroke: color-mix(in srgb, var(--cx-in) 60%, transparent); stroke-width: 1.5;
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--turchese) 55%, transparent)); }
.cx-vm { fill: #fff; } .cx-vmw { fill: var(--hero); } .cx-vmc { fill: var(--turchese); } .cx-vmc2 { fill: var(--cx-out); }
@media (prefers-reduced-motion: reduce) { .st-cx *, .st-cx-hub::before, .st-cx-hub::after { animation: none !important; transition: none !important; } .st-cx-card:hover { transform: none; } }
/* «Sei una farmacia?» e «Tienila sul telefono» affiancati (AppHome, admin → Stile → Farmacie e app): stesse fasce, cambiano
   disposizione e colori. Sotto 860px una sotto l'altra. */
.st-appb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; margin: 28px 0; }
.st-appb > .st-vt-band, .st-appb > .st-app { margin: 0; min-width: 0; }
.st-appb > .st-vt-b2b .st-vt-band-in { grid-template-columns: minmax(0, 1fr); }
.st-appb > .st-vt-b2b .st-vt-art > svg { max-height: 170px; }
.st-appb > .st-app { grid-template-columns: minmax(0, 1fr); align-content: start; }
.st-appb > .st-app .st-app-art { justify-self: start; }
.st-appb-1 > .st-app .st-app-phone { width: 90px; } .st-appb-1 > .st-app .st-app-qr { width: 72px; height: 72px; }
.st-appb-2 { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.st-appb-2 > .st-vt-b2b .st-vt-band-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px 28px; }
.st-appb-2 > .st-vt-b2b .st-vt-art > svg { max-height: 200px; }
.st-appb-2 > .st-app { align-content: center; }
.st-appb-2 > .st-app .st-app-phone { width: 84px; } .st-appb-2 > .st-app .st-app-qr { width: 68px; height: 68px; }
.st-appb-3 > .st-vt-b2b, .st-appb-3 > .st-app { padding: 32px; border: 1px solid var(--line); border-radius: 28px; }
.st-appb-3 > .st-vt-b2b { background: linear-gradient(160deg, color-mix(in srgb, var(--corallo) 14%, var(--surface)), var(--surface) 55%); }
.st-appb-3 > .st-app { background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 12%, var(--surface)), var(--surface) 55%); }
.st-appb-3 > .st-vt-b2b .st-vt-art > svg { max-height: 150px; margin: 0 auto; }
.st-appb-3 > .st-app .st-app-art { justify-self: center; padding-right: 36px; }
.st-appb-3 > .st-app .st-app-phone { width: 78px; } .st-appb-3 > .st-app .st-app-qr { width: 64px; height: 64px; }
.st-appb-4 { gap: 0; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: var(--muted-bg); }
.st-appb-4 > .st-vt-b2b, .st-appb-4 > .st-app { border: 0; border-radius: 0; padding: 36px; }
.st-appb-4 > .st-app { border-left: 1px solid var(--line); }
.st-appb-4 > .st-vt-b2b .st-vt-art > svg { max-height: 160px; }
.st-appb-4 > .st-app .st-app-phone { width: 88px; } .st-appb-4 > .st-app .st-app-qr { width: 70px; height: 70px; }
.st-appb-5 > .st-vt-b2b, .st-appb-5 > .st-app { padding: 24px; }
.st-appb-5 > .st-vt-b2b .st-vt-band-in { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: start; }
.st-appb-5 > .st-vt-b2b .st-vt-art > svg { max-height: 120px; }
.st-appb-5 > .st-app { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: start; }
.st-appb-5 > .st-app .st-app-art { padding-right: 24px; }
.st-appb-5 > .st-app .st-app-phone { width: 70px; } .st-appb-5 > .st-app .st-app-qr { width: 56px; height: 56px; padding: 4px; }
.st-appb-5 h2 { font-size: 22px; }
.st-appb-5 .st-vt-sub, .st-appb-5 > .st-app p, .st-appb-5 > .st-app li { font-size: 15px; }
.st-appb-5 .st-vt-b2b-cta { min-height: 44px; padding: 8px 18px; }
.st-appb-6 > .st-app, .st-appb-8 > .st-app { padding: 36px; }
.st-appb-6 > .st-app .st-app-art { justify-self: center; padding-right: 70px; }
.st-appb-6 > .st-app .st-app-phone { width: 130px; } .st-appb-6 > .st-app .st-app-qr { width: 110px; height: 110px; bottom: -10px; }
.st-appb-7 > .st-app { grid-template-columns: minmax(0, 1fr) auto; align-items: center; align-content: center; padding: 32px; }
.st-appb-7 > .st-app .st-app-art { order: 2; padding-right: 44px; }
.st-appb-7 > .st-app .st-app-phone { width: 104px; } .st-appb-7 > .st-app .st-app-qr { width: 92px; height: 92px; }
/* Fondo pieno nel colore del sito (8 per l'app, 10v per la farmacia): testo bianco, contorno del focus bianco */
.st-appb-8 > .st-app, .st-appb-10v > .st-vt-b2b { color: #fff; border-color: transparent;
  background: linear-gradient(150deg, var(--brand), var(--brand-dark)); }
.st-appb-8 > .st-app h2, .st-appb-8 > .st-app li, .st-appb-10v > .st-vt-b2b h2, .st-appb-10v > .st-vt-b2b .st-vt-sub { color: #fff; }
.st-appb-8 > .st-app p, .st-appb-8 > .st-app .st-muted, .st-appb-10v > .st-vt-b2b .st-vt-kicker { color: rgba(255, 255, 255, .86); }
.st-appb-8 > .st-app :focus-visible, .st-appb-10v > .st-vt-b2b :focus-visible { outline-color: #fff; }
/* L'illustrazione delle farmacie usa il colore del sito: su fondo pieno sta in una tessera chiara per restare leggibile */
.st-appb-10v > .st-vt-b2b .st-vt-art { padding: 10px; border-radius: 20px; background: rgba(255, 255, 255, .94); }
.st-appb-8 > .st-app .st-app-art { padding-right: 60px; }
.st-appb-8 > .st-app .st-app-phone { width: 116px; }
.st-appb-8 > .st-app .st-app-qr { width: 100px; height: 100px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6); }
.st-appb-9 { margin-top: 90px; }
.st-appb-9 > .st-app { overflow: visible; padding: 0 32px 32px; text-align: center; }
.st-appb-9 > .st-app .st-app-art { justify-self: center; margin-top: -70px; padding-right: 64px; }
.st-appb-9 > .st-app .st-app-phone { width: 120px; filter: drop-shadow(0 16px 24px rgba(40, 20, 80, .25)); }
.st-appb-9 > .st-app .st-app-qr { width: 100px; height: 100px; }
.st-appb-9 > .st-app .st-app-steps { list-style: none; padding-left: 0; }
.st-appb-10, .st-appb-10v { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.st-appb-10 > .st-vt-b2b, .st-appb-10v > .st-vt-b2b { padding: 28px; }
.st-appb-10 > .st-vt-b2b .st-vt-art > svg, .st-appb-10v > .st-vt-b2b .st-vt-art > svg { max-height: 140px; }
.st-appb-10 > .st-app, .st-appb-10v > .st-app { grid-template-columns: auto minmax(0, 1fr); gap: 20px 32px; align-items: center; align-content: center; padding: 32px; }
.st-appb-10 > .st-app .st-app-art, .st-appb-10v > .st-app .st-app-art { padding-right: 70px; }
.st-appb-10 > .st-app .st-app-phone, .st-appb-10v > .st-app .st-app-phone { width: 130px; }
.st-appb-10 > .st-app .st-app-qr, .st-appb-10v > .st-app .st-app-qr { width: 112px; height: 112px; }
@media (max-width: 860px) {
  .st-appb, .st-appb-2, .st-appb-10, .st-appb-10v { grid-template-columns: minmax(0, 1fr); }
  .st-appb-4 > .st-app { border-left: 0; border-top: 1px solid var(--line); }
  .st-appb-9 { margin-top: 28px; } .st-appb-9 > .st-app { padding-top: 32px; } .st-appb-9 > .st-app .st-app-art { margin-top: 0; }
}
@media (max-width: 600px) {
  .st-appb > .st-app { grid-template-columns: minmax(0, 1fr); }
  .st-appb > .st-app .st-app-art { order: 0; justify-self: start; padding-right: 40px; }
}
@media (display-mode: standalone) { .st-appb { display: block; } }
.vi-cor { fill: var(--corallo); } .vi-sun { fill: #f2b632; }
.vi-b2b-c { fill: color-mix(in srgb, var(--corallo) 16%, transparent); } .vi-b2b-t { fill: color-mix(in srgb, var(--turchese) 18%, transparent); } .vi-b2b-s { fill: color-mix(in srgb, #f2b632 22%, transparent); }
.vi-icw { stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Il modulo di ricerca è il protagonista: campi e pulsante più grandi */
.st-home-vetrina .st-search-box input { font-size: 18px; height: 52px; }
.st-home-vetrina .st-search-two .st-btn { min-height: 52px; padding: 0 28px; font-size: 16px; }
.st-vt-tabs { justify-content: center; }

/* 9 · Semplice e veloce (brief di ottobre 2026): fondo chiaro, un solo campo grande con l'etichetta visibile, «Cerca» e
   «Usa la mia posizione»; il campo del prodotto, le categorie, «Ho bisogno subito» e Preferiti restano nella pagina
   (link condivisi, ricerche recenti) ma non si vedono. Su telefono titolo e campo stanno nella prima schermata. */
.st-home-semplice .st-hero { color: var(--ink); padding: 40px 0 36px; background: linear-gradient(180deg, var(--brand-tint), var(--bg)); }
.st-home-semplice .st-hero::before { display: none; }
.st-home-semplice .st-hero-in { display: block; }
.st-home-semplice .st-hero-main { max-width: 760px; margin: 0 auto; }
.st-sm-free { display: inline-block; margin: 0 0 14px; font-size: 14px; font-weight: 700; color: var(--hl); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.st-home-semplice .st-hero h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.06; margin: 0 0 12px; color: var(--ink); }
.st-home-semplice .st-hero-lead { margin: 0 0 22px; font-size: 18px; color: var(--text-2); }
.st-home-semplice .st-search { max-width: none; }
.st-sm-label { flex-basis: 100%; margin: 0 0 -4px; font-size: 16px; font-weight: 700; color: var(--ink); }
.st-home-semplice .st-search-box { border-radius: 16px; box-shadow: 0 0 0 1.5px var(--line), 0 14px 30px -22px rgba(12,42,40,.5); }
.st-home-semplice .st-search-box:focus-within { box-shadow: 0 0 0 3px var(--brand); }
.st-home-semplice .st-search-box input { height: 52px; font-size: 18px; }   /* campo ≥ 48 px */
.st-home-semplice .st-search-box .st-btn { min-height: 52px; padding: 0 28px; font-size: 17px; border-radius: 12px; }
.st-home-semplice .st-field-what, .st-home-semplice .st-catchips, .st-home-semplice .st-urgent-btn, .st-home-semplice .st-hero-fav { display: none; }
.st-home-semplice .st-field + .st-field { border: 0; }
.st-home-semplice .st-near { color: var(--hl); background: var(--surface); border-color: var(--hl); }
.st-home-semplice .st-near:hover { background: var(--brand-tint); }
.st-home-semplice .st-near[aria-pressed='true'] { background: var(--brand); color: #fff; border-color: var(--brand); }
.st-home-semplice .st-near:focus-visible { outline-color: var(--hl); }
.st-home-semplice .st-geo-privacy, .st-home-semplice .st-search-msg, .st-home-semplice .st-geo-status,
.st-home-semplice .st-hero .st-geo-help, .st-home-semplice .st-hero .st-geo-improve { color: var(--text-2); }
.st-home-semplice .st-search-msg:not(:empty) { color: var(--ink); font-weight: 600; }
.st-home-semplice .st-geo-privacy a { color: var(--hl); }
.st-home-semplice.st-searched .st-hero { padding: 16px 0 18px; }
.st-home-semplice.st-searched .st-sm-free, .st-home-semplice.st-searched .st-hero h1, .st-home-semplice.st-searched .st-hero-lead,
.st-home-semplice.st-searched .st-geo-privacy { display: none; }
@media (max-width: 720px) {
  .st-home-semplice .st-hero { padding: 22px 0 24px; }
  .st-home-semplice .st-hero h1 { font-size: 29px; }
  .st-home-semplice .st-hero-lead { font-size: 16px; margin-bottom: 16px; }
  .st-home-semplice .st-search-two { border-radius: 16px; }
  .st-home-semplice .st-near { flex: 1 1 100%; }
  .st-sm-how li { display: block; }
}
/* Sezioni sotto la ricerca */
.st-sm-sec { margin-top: 18px; }
.st-sm-sec h2 { margin: 0 0 12px; font-size: 22px; color: var(--ink); }
.st-sm-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.st-sm-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.st-sm-card h3 { margin: 10px 0 4px; font-size: 17px; color: var(--ink); }
.st-sm-card p { margin: 0; font-size: 15px; color: var(--text-2); }
.st-sm-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--hl); flex: none; }
.st-sm-ico svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-sm-more { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--hl); }
.st-sm-cities { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.st-sm-citylist { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 6px 18px; }
.st-sm-citylist a { display: block; padding: 8px 0; font-weight: 600; color: var(--hl); }
.st-sm-cities > p { margin: 0; font-weight: 700; }
.st-sm-how li { padding-left: 46px; min-height: 36px; }
.st-sm-how li::before { left: 0; top: 0; }
.st-sm-how li span { display: block; }
.st-sm-trust { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--warn); border-radius: var(--radius); padding: 20px 22px; }
.st-sm-trust h2 { font-size: 20px; margin-bottom: 6px; }
.st-sm-trust p { margin: 0 0 8px; color: var(--text); }
.st-sm-trust a { font-weight: 700; color: var(--hl); }
.st-sm-b2b { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; background: var(--brand-tint); border-radius: var(--radius); padding: 22px 24px; }
.st-sm-b2b > div { flex: 1 1 420px; }
.st-sm-b2b p { margin: 0; color: var(--text); }
.st-sm-b2b .st-btn-cta { color: #fff; }
.st-sm-cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-sm-why-p { max-width: 760px; margin: 0 0 14px; font-size: 17px; color: var(--text); }
.st-sm-cats-h { margin: 18px 0 4px; font-size: 17px; color: var(--ink); }
.st-sm-cats { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.st-home-semplice.st-searched .st-hero-how { display: none; }
@media (max-width: 900px) { .st-sm-cards, .st-sm-cards3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .st-sm-cards, .st-sm-cards3 { grid-template-columns: 1fr; }
  .st-sm-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
  .st-sm-card .st-sm-ico { grid-row: 1 / span 3; }
  .st-sm-card h3 { margin-top: 0; }
  .st-sm-how li::before { left: 0; top: 0; }
  .st-sm-cities, .st-sm-trust, .st-sm-b2b { padding: 18px; }
}
/* Riquadri «Hai visto un distributore?» e «Farmacie per città e provincia» affiancati (BoxHome, homeBox() in index.php):
   st-box-1…5 disposizione, st-box-c a colori. Colori dalla palette in uso; sul telefono uno sotto l'altro. */
.st-box { display: grid; gap: 16px; margin: 16px 0; }
.st-box-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.st-box-card h2 { margin: 0 0 6px; font-size: 22px; line-height: 1.25; }
.st-box-card p { margin: 0 0 16px; color: var(--text-2); }
.st-box-card .st-box-act { margin: auto 0 0; padding-top: 4px; }
.st-box-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 17px; color: var(--brand); text-underline-offset: 3px; }
.st-box-out { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 2px solid var(--brand); border-radius: 999px; font-weight: 700; color: var(--brand); text-decoration: none; }
.st-box-out:hover { background: var(--brand-tint); }
.st-box-ico { display: grid; place-items: center; flex: none; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 14px; background: var(--brand-tint); color: var(--brand); }
.st-box-ico svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-box-note { font-size: 14px; }
.st-box-hints, .st-box-stats { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; }
.st-box-hints { gap: 6px 18px; font-size: 14.5px; color: var(--text-2); }
.st-box-hints li::before { content: '✓ '; color: var(--brand); font-weight: 700; }
.st-box-stats { gap: 12px 28px; }
.st-box-stats li { display: flex; flex-direction: column; font-size: 13px; color: var(--text-2); max-width: 14em; }
.st-box-stats b { font-size: 28px; line-height: 1.15; color: var(--ink); }
.st-box-stats .st-box-hl b { color: var(--brand); }
/* 3: riquadro della segnalazione in evidenza, testo chiaro su fondo scuro */
.st-box-hi { border: 0; color: #fff; background: linear-gradient(140deg, var(--brand), var(--brand-dark)); }
.st-box-hi h2 { color: #fff; } .st-box-hi p { color: color-mix(in srgb, #fff 85%, transparent); }
.st-box a.st-btn { color: #fff; }   /* nel tema scuro i link prendono il colore chiaro */
.st-box-hi a.st-btn { background: #fff; color: var(--brand-dark); box-shadow: none; }
/* 4: un solo riquadro diviso a metà */
.st-box-band { display: grid; gap: 24px; padding: 28px; }
.st-box-band > .st-box-card { padding: 0; border: 0; border-radius: 0; background: none; }
.st-box-row { display: flex; gap: 14px; align-items: flex-start; height: 100%; }
.st-box-row > div { display: flex; flex-direction: column; height: 100%; }
.st-box-row .st-box-ico { margin: 0; }
.st-box-band > .st-box-card + .st-box-card { padding-top: 24px; border-top: 1px solid var(--line); }
@media (min-width: 760px) {
  .st-box-1, .st-box-2, .st-box-5 { grid-template-columns: 1fr 1fr; }
  .st-box-3 { grid-template-columns: 3fr 2fr; }
  .st-box-band { grid-template-columns: 1fr 1fr; gap: 36px; padding: 32px 36px; }
  .st-box-band > .st-box-card + .st-box-card { padding: 0 0 0 36px; border-top: 0; border-left: 1px solid var(--line); }
}
/* A colori (st-box-c) */
.st-box-1.st-box-c .st-box-seen { background: color-mix(in srgb, var(--brand) 9%, var(--surface)); border-color: color-mix(in srgb, var(--brand) 28%, var(--surface)); }
.st-box-1.st-box-c .st-box-idx { background: color-mix(in srgb, var(--turchese) 12%, var(--surface)); border-color: color-mix(in srgb, var(--turchese) 35%, var(--surface)); }
.st-box-c .st-box-idx .st-box-link, .st-box-2.st-box-c .st-box-out { color: color-mix(in srgb, var(--turchese) 45%, var(--ink)); }
.st-box-2.st-box-c .st-box-card { border-top: 6px solid var(--brand); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--ink) 25%, transparent); }
.st-box-2.st-box-c .st-box-idx { border-top-color: var(--turchese); }
.st-box-2.st-box-c .st-box-ico { background: var(--brand); color: #fff; }
.st-box-2.st-box-c .st-box-idx .st-box-ico { background: color-mix(in srgb, var(--turchese) 75%, var(--ink)); }
.st-box-2.st-box-c .st-box-out { border-color: var(--turchese); }
.st-box-2.st-box-c .st-box-out:hover { background: color-mix(in srgb, var(--turchese) 12%, var(--surface)); }
.st-box-3.st-box-c .st-box-idx { background: linear-gradient(135deg, color-mix(in srgb, var(--turchese) 12%, var(--surface)), var(--surface) 70%); border-color: color-mix(in srgb, var(--turchese) 30%, var(--surface)); }
.st-box-3.st-box-c .st-box-hi { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand-mid) 70%, var(--brand-dark))); }
.st-box-4.st-box-c .st-box-band { background: linear-gradient(100deg, color-mix(in srgb, var(--brand) 9%, var(--surface)), color-mix(in srgb, var(--turchese) 12%, var(--surface))); border-color: color-mix(in srgb, var(--brand) 18%, var(--surface)); }
.st-box-4.st-box-c .st-box-band > .st-box-card + .st-box-card { border-color: var(--surface); border-width: 2px; }
.st-box-4.st-box-c .st-box-ico { background: var(--surface); }
.st-box-5.st-box-c .st-box-seen { background: color-mix(in srgb, var(--corallo) 14%, var(--surface)); border-color: color-mix(in srgb, var(--corallo) 40%, var(--surface)); }
.st-box-5.st-box-c .st-box-hints { color: var(--corallo-text); }
.st-box-5.st-box-c .st-box-hints li::before { color: var(--corallo-text); }
.st-box-5.st-box-c .st-box-idx { background: var(--hero); border-color: var(--hero); color: #fff; }
.st-box-5.st-box-c .st-box-idx h2, .st-box-5.st-box-c .st-box-stats b { color: #fff; }
.st-box-5.st-box-c .st-box-idx p, .st-box-5.st-box-c .st-box-stats li { color: var(--hero-text-2); }
.st-box-5.st-box-c .st-box-stats .st-box-hl b { color: var(--brand-on-dark-2); }
.st-box-5.st-box-c .st-box-idx .st-box-link { color: var(--hero-link); }
/* Proposte basse a–e: testo breve e azione sulla stessa riga (sul telefono l'azione va sotto) */
.st-box-a, .st-box-b, .st-box-d, .st-box-e { grid-template-columns: 1fr; }
.st-box-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.st-box-txt { flex: 1 1 220px; min-width: 0; }
.st-box-line h2 { margin: 0 0 2px; font-size: 19px; }
.st-box-line p { margin: 0; font-size: 15px; }
.st-box-line .st-btn, .st-box-line .st-box-link { flex: none; white-space: nowrap; }
.st-box-line .st-box-ico { margin: 0; width: 46px; height: 46px; border-radius: 12px; }
.st-box-a .st-box-card, .st-box-b .st-box-card, .st-box-d .st-box-card, .st-box-e .st-box-card, .st-box-split > .st-box-card { padding: 18px 24px; justify-content: center; }
.st-box-tile { display: block; color: inherit; text-decoration: none; border-radius: inherit; }
.st-box-b .st-box-card:has(.st-box-tile:hover) { border-color: var(--brand); }
.st-box-b .st-box-hi:has(.st-box-tile:hover) { filter: brightness(1.06); }
.st-box-tile:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.st-box-arrow { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; font-size: 22px; font-weight: 700; background: var(--brand-tint); color: var(--brand); }
.st-box-hi .st-box-arrow, .st-box-hi .st-box-ico { background: color-mix(in srgb, #fff 18%, transparent); color: #fff; }
.st-box-hi a.st-box-tile, .st-box-hi .st-box-tile h2 { color: #fff; }
.st-box-split { display: grid; padding: 0; overflow: hidden; }
.st-box-split > .st-box-card { border: 0; border-radius: 0; }
.st-box-d .st-box-line h2 { margin: 0; }
.st-box-e .st-box-seen { background: color-mix(in srgb, var(--brand) 7%, var(--surface)); border-color: color-mix(in srgb, var(--brand) 20%, var(--surface)); border-left: 6px solid var(--brand); }
.st-box-e .st-box-idx { background: color-mix(in srgb, var(--turchese) 10%, var(--surface)); border-color: color-mix(in srgb, var(--turchese) 28%, var(--surface)); border-left: 6px solid var(--turchese); }
.st-box-e .st-box-idx .st-box-link { color: color-mix(in srgb, var(--turchese) 45%, var(--ink)); }
@media (min-width: 760px) {
  .st-box-a { grid-template-columns: 3fr 2fr; }
  .st-box-b, .st-box-d, .st-box-e, .st-box-split { grid-template-columns: 1fr 1fr; }
}
