/* We Blink SEO Engine: landing e link interni.
   Impianto ripreso dal template Rimescola: testata con immagine ad arco, fasce alternate, etichette, percorso guidato.
   I colori partono da quelli del sito (variabili di Acquamark Core, se presenti) e si possono cambiare dalle impostazioni. */
.wbse, .wbse-links {
	--wbse-accent: var(--acq-c-primary, #0b5cad);
	--wbse-ink: var(--acq-c-navy, #14213d);
	--wbse-text: var(--acq-c-text, #2b3a4a);
	--wbse-muted: var(--acq-c-muted, #4a5a6a);
	--wbse-line: var(--acq-c-border, #d5dde5);
	--wbse-soft: var(--acq-c-surface, #f4f7fa);
	--wbse-tint: var(--acq-c-aqua-50, #eaf7fd);
	--wbse-drop: var(--acq-c-aqua, #1fb5e6);
	--wbse-sale: var(--acq-c-sale, #c4320a);
	--wbse-ok: var(--acq-c-success, #137333);
	--wbse-wa: #0f7a40;
	--wbse-shadow: 0 10px 34px rgba(20, 33, 61, .1);
}
/* Solo pixel, mai rem: alcuni temi (Bricks) portano la dimensione di base a 10px e i rem si rimpiccioliscono. */
.wbse { color: var(--wbse-text); font-size: 18px; font-weight: 400; line-height: 1.65; background: #fff; }
.wbse p, .wbse li, .wbse td, .wbse summary, .wbse button { font-size: inherit; }
.wbse *, .wbse *::before, .wbse *::after { box-sizing: border-box; }
.wbse img { max-width: 100%; height: auto; display: block; }
.wbse h1, .wbse h2, .wbse h3 { color: var(--wbse-ink); margin: 0; }
.wbse p { margin: 0 0 1em; }
.wbse a { color: var(--wbse-accent); }
.wbse a:focus-visible, .wbse button:focus-visible, .wbse summary:focus-visible, .wbse-scroll:focus-visible { outline: 3px solid var(--wbse-accent); outline-offset: 2px; border-radius: 6px; }
.wbse-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.wbse-wrap--narrow { max-width: 900px; }

/* Fasce */
.wbse-sec { padding: clamp(52px, 7vw, 96px) 0; scroll-margin-top: 80px; }
.wbse-sec--tight { padding: clamp(40px, 5vw, 64px) 0; }
.wbse-sec--soft { background: var(--wbse-soft); }
.wbse-sec--tint { background: var(--wbse-tint); }
.wbse-sec--ink { background: var(--wbse-ink); color: rgba(255, 255, 255, .8); }
.wbse-sec--ink h2 { color: #fff; }

/* Titoli */
.wbse-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--wbse-accent); }
.wbse-eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--wbse-drop); }
.wbse-sec--ink .wbse-eyebrow { color: #9bdcf5; }
.wbse .wbse-h1 { font-size: clamp(33.6px, 4.6vw, 57.6px); line-height: 1.04; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; margin-bottom: 18px; }
.wbse-h2 { font-size: clamp(28.8px, 3.2vw, 43.2px); line-height: 1.08; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
.wbse-h3 { font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.wbse-lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; max-width: 62ch; }
.wbse-lead p:last-child { margin-bottom: 0; }
.wbse-sec--ink .wbse-lead { color: rgba(255, 255, 255, .8); }
.wbse-head { margin-bottom: clamp(26px, 3.5vw, 44px); }
.wbse-head .wbse-lead { margin-top: 14px; }

/* Pulsanti */
.wbse-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.wbse-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 12px 26px; border: 0; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .16s, color .16s, box-shadow .16s, transform .16s; }
.wbse .wbse-btn--primary { background: var(--wbse-accent); color: #fff; }
.wbse .wbse-btn--primary:hover { background: var(--wbse-ink); }
.wbse .wbse-btn--ghost { background: transparent; color: var(--wbse-ink); box-shadow: inset 0 0 0 1.5px var(--wbse-ink); }
.wbse .wbse-btn--ghost:hover { background: var(--wbse-ink); color: #fff; }
.wbse .wbse-btn--wa { background: var(--wbse-wa); color: #fff; }
.wbse .wbse-btn--wa:hover { background: #0a5c30; }
.wbse .wbse-btn--wa-ghost { background: #fff; color: var(--wbse-wa); box-shadow: inset 0 0 0 1.5px currentColor; }
.wbse .wbse-btn--wa-ghost:hover { background: #eefaf2; }
.wbse-ico { flex: none; }
.wbse-link { font-weight: 700; }
.wbse-center { text-align: center; margin: 28px 0 0; }

/* Testata */
.wbse-hero { background: var(--wbse-soft); padding: clamp(22px, 3vw, 36px) 0 clamp(40px, 5.5vw, 72px); }
.wbse-crumbs { font-size: 15px; color: var(--wbse-muted); margin-bottom: clamp(20px, 3vw, 36px); }
.wbse .wbse-crumbs a { color: inherit; text-decoration: none; }
.wbse .wbse-crumbs a:hover { text-decoration: underline; }
.wbse-sep { margin: 0 8px; }
.wbse-hero__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.wbse-hero--plain .wbse-hero__in { grid-template-columns: minmax(0, 900px); }
.wbse-hero__img { margin: 0; justify-self: end; width: 100%; max-width: 400px; background: #fff; border-radius: 999px 999px 28px 28px; overflow: hidden; box-shadow: var(--wbse-shadow); }
.wbse-hero__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; padding: 14% 9% 7%; }
.wbse-facts { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 17px; color: var(--wbse-muted); }
.wbse-facts li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.wbse-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wbse-drop); }
.wbse-facts strong { color: var(--wbse-ink); font-variant-numeric: tabular-nums; }

/* Percorso guidato */
.wbse-quizbox { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.wbse-quizbox .wbse-head { margin-bottom: 0; }
.wbse-quiz { background: #fff; border-radius: 26px; padding: clamp(22px, 3vw, 38px); box-shadow: var(--wbse-shadow); }
.wbse-quiz__panel + .wbse-quiz__panel { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--wbse-line); }
.wbse-quiz.is-js .wbse-quiz__panel { margin-top: 0; padding-top: 0; border-top: 0; }
.wbse-quiz__panel[hidden] { display: none; }
.wbse-quiz__panel:focus { outline: 0; }
.wbse-quiz__step { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wbse-muted); }
.wbse-quiz__q { font-size: clamp(20.8px, 2.2vw, 27.2px); line-height: 1.2; font-weight: 700; letter-spacing: -.015em; color: var(--wbse-ink); margin: 0 0 18px; }
.wbse-quiz__opts { display: grid; gap: 10px; }
.wbse .wbse-quiz__opt { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 13px 18px; border: 1.5px solid var(--wbse-line); border-radius: 16px; background: #fff; color: var(--wbse-ink); font-size: 18px; font-weight: 700; line-height: 1.3; cursor: pointer; transition: border-color .15s, background-color .15s, transform .15s; }
.wbse .wbse-quiz__opt small { display: block; margin-top: 3px; font-size: 15px; font-weight: 400; color: var(--wbse-muted); }
.wbse .wbse-quiz__opt::after { content: "→"; margin-left: auto; color: var(--wbse-accent); font-weight: 400; }
.wbse .wbse-quiz__opt:hover { border-color: var(--wbse-accent); background: var(--wbse-tint); transform: translateX(2px); }
.wbse .wbse-quiz__opt:focus-visible { outline: 3px solid var(--wbse-accent); outline-offset: 2px; }
.wbse-quiz__res .wbse-btns { margin-top: 18px; }
.wbse .wbse-quiz__back { all: unset; display: none; margin-top: 18px; padding: 6px 0; font-size: 14px; font-weight: 600; color: var(--wbse-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wbse .wbse-quiz.is-js .wbse-quiz__back { display: inline-block; }
.wbse .wbse-quiz__back:hover { color: var(--wbse-ink); }
.wbse .wbse-quiz__back:focus-visible { outline: 3px solid var(--wbse-accent); outline-offset: 2px; }
.wbse-picks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wbse-picks li { margin: 0; }
.wbse .wbse-pick { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 10px 14px 10px 10px; border: 1.5px solid var(--wbse-line); border-radius: 16px; text-decoration: none; color: var(--wbse-ink); transition: border-color .15s, background-color .15s; }
.wbse .wbse-pick:hover { border-color: var(--wbse-accent); background: var(--wbse-soft); }
.wbse-pick img { grid-row: 1 / 3; width: 64px; height: 64px; object-fit: contain; border-radius: 10px; background: #fff; }
.wbse-pick__t { font-weight: 700; font-size: 17px; line-height: 1.3; }
.wbse-pick__p { font-size: 16px; color: var(--wbse-muted); font-variant-numeric: tabular-nums; }
.wbse-pick__p del { margin-right: 4px; }
.wbse-pick__p ins { text-decoration: none; color: var(--wbse-sale); font-weight: 700; }
.wbse-pick__p small, .wbse-pick__p .woocommerce-price-suffix { font-size: 12px; }

/* Griglia prodotti */
.wbse-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.wbse-card { margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--wbse-line); border-radius: 22px; overflow: hidden; transition: box-shadow .18s, transform .18s, border-color .18s; }
.wbse-card[hidden] { display: none; }
.wbse-card:hover { box-shadow: var(--wbse-shadow); transform: translateY(-3px); border-color: transparent; }
.wbse-card__img { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--wbse-soft); padding: 18px; }
.wbse-card__img img { width: 100%; height: 100%; object-fit: contain; margin: 0; mix-blend-mode: multiply; }
.wbse-badge { position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.4; color: #fff; }
.wbse-badge--best { background: var(--wbse-ink); }
.wbse-badge--sale { background: var(--wbse-sale); }
.wbse-card__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 18px 18px 20px; }
.wbse-card__name { margin: 0; font-size: 17px; line-height: 1.35; font-weight: 700; }
.wbse .wbse-card__name a { color: var(--wbse-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wbse .wbse-card__name a:hover { color: var(--wbse-accent); }
.wbse-card__price { font-size: 20px; font-weight: 700; color: var(--wbse-ink); font-variant-numeric: tabular-nums; }
.wbse-card__price del { font-size: 14px; font-weight: 400; color: var(--wbse-muted); margin-right: 6px; }
.wbse-card__price ins { text-decoration: none; color: var(--wbse-sale); }
.wbse-card__price small, .wbse-card__price .woocommerce-price-suffix { font-size: 12px; font-weight: 400; color: var(--wbse-muted); }
.wbse-card__stock { font-size: 14px; font-weight: 700; color: var(--wbse-ok); }
.wbse-card__stock.is-out { color: var(--wbse-muted); }
.wbse-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.wbse-card__actions .wbse-btn { flex: 1 1 auto; min-height: 44px; padding: 9px 14px; font-size: 15px; }

/* Cosa conta */
.wbse-why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(22px, 3vw, 40px); }
.wbse-why li { margin: 0; }
.wbse-why__n { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 50%; background: #fff; color: var(--wbse-accent); font-size: 17px; font-weight: 700; }
.wbse-why .wbse-h3 { margin-bottom: 8px; }
.wbse-why p { margin: 0; font-size: 17px; }

/* Confronto */
.wbse-scroll { overflow-x: auto; border: 1px solid var(--wbse-line); border-radius: 22px; }
.wbse-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 16px; margin: 0; }
.wbse .wbse-table th, .wbse .wbse-table td { font-size: 16px; }
.wbse .wbse-table thead th { font-size: 13px; }
.wbse-table th, .wbse-table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--wbse-line); vertical-align: top; }
.wbse-table tbody tr:last-child th, .wbse-table tbody tr:last-child td { border-bottom: 0; }
.wbse-table thead th { background: var(--wbse-soft); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--wbse-muted); white-space: nowrap; }
.wbse-table tbody th { font-weight: 700; min-width: 240px; }
.wbse .wbse-table tbody th a { color: var(--wbse-ink); text-decoration: none; }
.wbse .wbse-table tbody th a:hover { color: var(--wbse-accent); text-decoration: underline; }
.wbse-table__price { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; }
.wbse-table__price del { font-weight: 400; color: var(--wbse-muted); margin-right: 4px; }
.wbse-table__price small, .wbse-table__price .woocommerce-price-suffix { display: block; font-size: 11px; font-weight: 400; color: var(--wbse-muted); }
.wbse-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--wbse-ok); }
.wbse-dot.is-out { background: var(--wbse-muted); }

/* Contatto rapido */
.wbse-help { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 56px; align-items: center; }
.wbse-help .wbse-lead { margin: 12px 0 0; }
.wbse-help__chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.wbse .wbse-chip { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 20px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); color: #fff; font-size: 16px; font-weight: 600; text-decoration: none; transition: background-color .15s, box-shadow .15s; }
.wbse .wbse-chip:hover { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1.5px #fff; }
.wbse-sec--ink a:focus-visible { outline-color: #fff; }

/* Guida */
.wbse-guide { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.wbse-guide__side { position: sticky; top: 100px; }
.wbse-guide__toc { list-style: none; counter-reset: wbse-toc; margin: 26px 0 0; padding: 0; }
.wbse-guide__toc li { counter-increment: wbse-toc; margin: 0; border-top: 1px solid var(--wbse-line); }
.wbse .wbse-guide__toc a { display: flex; gap: 14px; padding: 13px 0; color: var(--wbse-ink); font-weight: 600; font-size: 17px; line-height: 1.35; text-decoration: none; }
.wbse-guide__toc a::before { content: counter(wbse-toc, decimal-leading-zero); color: var(--wbse-accent); font-variant-numeric: tabular-nums; }
.wbse .wbse-guide__toc a:hover { color: var(--wbse-accent); }
.wbse-guide__part { scroll-margin-top: 100px; padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--wbse-line); }
.wbse-guide__part:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.wbse-guide__part .wbse-h3 { font-size: 23.2px; margin-bottom: 12px; }
.wbse-guide__part ul, .wbse-guide__part ol { margin: 0 0 1em; padding-left: 22px; }
.wbse-guide__part li { margin: 0 0 8px; }
.wbse-guide__part p:last-child, .wbse-guide__part ul:last-child { margin-bottom: 0; }

/* Domande */
.wbse-faq details { border-bottom: 1px solid var(--wbse-line); }
.wbse-faq details:first-child { border-top: 1px solid var(--wbse-line); }
.wbse .wbse-faq summary { cursor: pointer; list-style: none; position: relative; padding: 22px 56px 22px 0; font-size: 20px; font-weight: 700; line-height: 1.35; color: var(--wbse-ink); }
.wbse-faq summary::-webkit-details-marker { display: none; }
.wbse-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 36px; height: 36px; margin-top: -18px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--wbse-accent); font-size: 22px; font-weight: 400; line-height: 1; }
.wbse-faq details[open] summary::after { content: "–"; }
.wbse .wbse-faq details p { margin: 0; padding: 0 56px 24px 0; font-size: 18px; line-height: 1.65; }
.wbse-faq__more { margin: 26px 0 0; }
.wbse-empty { margin: 40px 0; }

/* Link interni (anche in categorie e schede prodotto) */
.wbse-links { clear: both; margin: 0; padding: clamp(40px, 5vw, 64px) 0; }
.wbse-links h2 { font-size: 20px; line-height: 1.25; margin: 0 0 16px; color: var(--wbse-ink); }
.wbse-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.wbse-links li { margin: 0; }
.wbse-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1.5px solid var(--wbse-line); border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--wbse-ink); background: #fff; }
.wbse-links a:hover, .wbse-links a:focus-visible { border-color: var(--wbse-accent); color: var(--wbse-accent); }

@media (max-width: 900px) {
	.wbse-quizbox, .wbse-help, .wbse-guide { grid-template-columns: 1fr; }
	.wbse-guide__side { position: static; }
}
@media (max-width: 820px) {
	.wbse-hero__in { grid-template-columns: 1fr; }
	.wbse-hero__img { justify-self: start; max-width: 220px; }
}
@media (max-width: 782px) {
	.wbse { font-size: 17px; }
	.wbse-wrap { padding: 0 16px; }
	.wbse-btns .wbse-btn { flex: 1 1 100%; }
	.wbse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.wbse-card { border-radius: 16px; }
	.wbse-card__img { padding: 10px; }
	.wbse-card__body { padding: 12px; }
	.wbse-card__name { font-size: 15px; }
	.wbse-card__price { font-size: 17px; }
	.wbse-card__actions .wbse-btn { flex: 1 1 100%; }
	.wbse .wbse-faq summary { font-size: 18px; padding-right: 48px; }
	.wbse .wbse-faq details p { padding-right: 0; font-size: 17px; }
}
@media (max-width: 330px) {
	.wbse-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.wbse *, .wbse-links * { transition: none !important; }
	.wbse-card:hover, .wbse .wbse-quiz__opt:hover { transform: none; }
}

/* 0.9: l'etichetta "N modelli" sta dopo il sottotitolo nel codice e torna sopra il titolo a schermo */
.wbse-hero__in > div:first-child { display: flex; flex-direction: column; }
.wbse-hero .wbse-eyebrow--top { order: -1; }
.wbse .wbse-card__name { margin: 0; font-weight: 700; color: var(--wbse-ink); }
