/* Budget Pilot: stili del sito. Il build lo pubblica come bp-<versione>.css per aggirare la cache dell'hosting. */

/* ---------- Basi ---------- */
:root {
	--bp-radius-sm: 12px;
	--bp-radius: 20px;
	--bp-radius-lg: 28px;
	--bp-shadow: 0 1px 2px rgba(29,42,51,.04), 0 8px 24px rgba(29,42,51,.06);
	--bp-shadow-lift: 0 2px 4px rgba(29,42,51,.05), 0 16px 40px rgba(29,42,51,.10);
	--bp-accent: var(--wp--preset--color--accent);
	--bp-ink: var(--wp--preset--color--ink);
	--bp-muted: var(--wp--preset--color--muted);
	--bp-border: var(--wp--preset--color--border);
	--bp-surface: var(--wp--preset--color--surface);
	--bp-soft: var(--wp--preset--color--accent-soft);
	--bp-header-h: 72px;
}
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bp-header-h) + 16px); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { max-width: 100%; height: auto; }
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--bp-accent);
	outline-offset: 3px;
	border-radius: 6px;
}
.bp-muted, .bp-muted a { color: var(--bp-muted); }
.wp-site-blocks { padding-top: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* ---------- Header ---------- */
.bp-site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
}
/* Il velo sfocato sta in uno pseudo-elemento: un backdrop-filter sull'header
   intrappolerebbe il menu mobile (position: fixed) dentro l'header. */
.bp-site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(246,247,244,.86);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
}
.bp-site-header.is-scrolled { border-bottom-color: var(--bp-border); }
.bp-header__bar { min-height: var(--bp-header-h); gap: 16px; }
.bp-header__nav { gap: 28px; }
.bp-logo {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em;
	color: var(--bp-ink); text-decoration: none; white-space: nowrap;
}
.bp-logo:hover { color: var(--bp-ink); }
.bp-logo svg { width: 32px; height: 32px; flex: 0 0 32px; }
.bp-menu .wp-block-navigation-item__content { color: var(--bp-ink); text-decoration: none; }
.bp-menu .wp-block-navigation-item__content:hover,
.bp-menu .current-menu-item > .wp-block-navigation-item__content { color: var(--bp-accent); }
/* Niente "display" qui: è il core a mostrare il pulsante solo sotto i 600px. */
.bp-menu .wp-block-navigation__responsive-container-open {
	width: 44px; height: 44px; border: 1px solid var(--bp-border); border-radius: 10px;
	align-items: center; justify-content: center; background: var(--bp-surface);
}
.bp-menu .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--bp-surface); padding: 20px;
}
.bp-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 56px; align-items: stretch;
}
.bp-menu .is-menu-open .wp-block-navigation__container { gap: 0 !important; align-items: stretch !important; width: 100%; }
.bp-menu .is-menu-open .wp-block-navigation-item { border-bottom: 1px solid var(--bp-border); width: 100%; align-items: flex-start !important; text-align: left; }
.bp-menu .is-menu-open .wp-block-navigation-item__content { display: block; padding: 16px 0 !important; font-size: 1.15rem; }
.bp-menu .wp-block-navigation__responsive-container-close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.bp-btn-sm .wp-block-button__link { padding: .65rem 1.15rem; font-size: .95rem; }
@media (max-width: 599px) {
	.bp-header .bp-header__cta { display: none; }
	.bp-logo { font-size: 1.1rem; }
}

/* ---------- Pulsanti ---------- */
.wp-element-button, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; box-shadow: 0 6px 16px rgba(31,111,92,.22);
	transition: transform .15s, background-color .15s, box-shadow .15s, border-color .15s;
}
.wp-element-button:hover, .wp-block-button__link:hover { transform: translateY(-1px); }
.bp-btn-sm .wp-block-button__link { min-height: 42px; }
.wp-block-button.is-style-outline > .wp-block-button__link,
.bp-btn-ghost .wp-block-button__link {
	background: var(--bp-surface); color: var(--bp-ink);
	border: 1.5px solid var(--bp-border); box-shadow: none;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.bp-btn-ghost .wp-block-button__link:hover { border-color: var(--bp-ink); background: var(--bp-surface); color: var(--bp-ink); }
.bp-btn-light .wp-block-button__link { background: #fff; color: var(--bp-ink); box-shadow: none; }
.bp-btn-light .wp-block-button__link:hover { background: var(--bp-soft); color: var(--bp-ink); }

/* Pulsante "Acquista" del plugin budgetpilot-checkout */
.bp-buy { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.bp-buy__btn[disabled], .bp-buy__btn[aria-disabled="true"] {
	background: #eef0ee; color: var(--bp-muted); border-color: var(--bp-border);
	box-shadow: none; cursor: not-allowed; transform: none;
}
.bp-buy__notify { font-size: .9rem; }
.bp-buy--block { display: flex; width: 100%; }
.bp-buy--block .bp-buy__btn { width: 100%; }

/* ---------- Sezioni e testi ---------- */
.bp-section { padding-block: clamp(56px, 8vw, 96px); }
.bp-section--tight { padding-top: clamp(16px, 3vw, 32px); }
.bp-section-head { max-width: 640px; margin-bottom: clamp(24px, 4vw, 40px); }
.bp-section-head > * + * { margin-top: 12px; }
p.bp-eyebrow, .bp-eyebrow {
	display: inline-block; width: fit-content;
	font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
	color: var(--bp-accent); background: var(--bp-soft);
	padding: 6px 12px; border-radius: 999px; margin: 0;
}
.bp-lead { font-size: var(--wp--preset--font-size--large); color: var(--bp-muted); max-width: 36ch; }
.bp-ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; color: var(--bp-muted); }
.bp-ticks li { display: flex; align-items: center; gap: 6px; }
.bp-ticks li::before {
	content: ""; width: 16px; height: 16px; flex: 0 0 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6f5c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4 4 10-10'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- Hero ---------- */
.bp-hero { position: relative; padding-block: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 48px); overflow: hidden; }
.bp-hero::before {
	content: ""; position: absolute; top: -20%; right: -10%; width: 720px; height: 720px;
	background: radial-gradient(closest-side, rgba(31,111,92,.14), transparent); pointer-events: none;
}
.bp-hero > * { position: relative; }
.bp-hero h1 { margin-block: 18px 20px; }
.bp-hero .wp-block-columns { gap: clamp(32px, 5vw, 56px); align-items: center; }

/* Cornici per gli screenshot (blocco Immagine con classe) */
.wp-block-image.bp-frame-laptop {
	position: relative; background: #1d2a33; border-radius: 16px 16px 6px 6px;
	padding: 28px 10px 12px; box-shadow: var(--bp-shadow-lift); margin-bottom: 20px;
}
.wp-block-image.bp-frame-laptop::before {
	content: ""; position: absolute; top: 11px; left: 14px; width: 40px; height: 8px;
	background: radial-gradient(circle at 4px 4px, #3b4a54 4px, transparent 4.5px) 0 0/14px 8px repeat-x;
}
.wp-block-image.bp-frame-laptop::after {
	content: ""; position: absolute; left: -4%; right: -4%; bottom: -14px; height: 14px;
	background: linear-gradient(#d7dcd9, #bfc6c2); border-radius: 0 0 14px 14px;
}
.wp-block-image.bp-frame-laptop img { border-radius: 6px; background: #fff; display: block; width: 100%; }
.wp-block-image.bp-frame-browser {
	position: relative; background: #fff; border: 1px solid var(--bp-border); border-radius: 14px;
	padding-top: 30px; overflow: hidden; box-shadow: var(--bp-shadow-lift);
}
.wp-block-image.bp-frame-browser::before {
	content: ""; position: absolute; inset: 0 0 auto 0; height: 30px; background:
		radial-gradient(circle at 16px 15px, #d6dbd8 4.5px, transparent 5px),
		radial-gradient(circle at 31px 15px, #d6dbd8 4.5px, transparent 5px),
		radial-gradient(circle at 46px 15px, #d6dbd8 4.5px, transparent 5px), #f1f3f1;
	border-bottom: 1px solid var(--bp-border);
}
.wp-block-image.bp-frame-browser img { display: block; width: 100%; }
/* Composizioni "vetrina": immagini con schede e sfondo già disegnati */
.wp-block-image.bp-vetrina { margin: 0; }
.wp-block-image.bp-vetrina img { display: block; width: 100%; border-radius: var(--bp-radius); border: 1px solid var(--bp-border); }
.bp-feature__vis .wp-block-image.bp-vetrina { width: 100%; }
.bp-feature__vis .wp-block-image.bp-vetrina img { border: 0; border-radius: 0; }
.bp-float-wrap { position: relative; }
.bp-float-card {
	position: absolute; left: -28px; bottom: -30px; max-width: 260px;
	display: flex; gap: 12px; align-items: center;
	background: var(--bp-surface); border: 1px solid var(--bp-border); border-radius: 16px;
	padding: 14px 16px; box-shadow: var(--bp-shadow-lift); font-size: .82rem; color: var(--bp-muted);
}
.bp-float-card b { display: block; color: var(--bp-ink); font-size: .95rem; }
/* su mobile il riquadro "Avvisi automatici" va sotto il portatile invece di coprirlo */
@media (max-width: 781px) { .bp-float-card { position: relative; left: auto; bottom: auto; max-width: none; margin-top: 28px; } }

/* ---------- Icone e tessere bento ---------- */
.bp-icon {
	width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
	background: var(--bp-soft); color: var(--bp-accent); flex: 0 0 44px;
}
.bp-icon svg { width: 22px; height: 22px; }
.bp-tile, .bp-step, .bp-card, .bp-bundle {
	background: var(--bp-surface); border: 1px solid var(--bp-border); border-radius: var(--bp-radius);
	box-shadow: var(--bp-shadow);
}
.bp-tile { padding: 26px; transition: translate .2s, box-shadow .2s; }
.bp-tile > * + * { margin-top: 10px; }
.bp-tile .bp-icon { margin-bottom: 8px; }
.bp-tile p { color: var(--bp-muted); font-size: .97rem; }
.bp-tile--wash { background: linear-gradient(135deg, #fff 40%, var(--bp-soft)); }
@media (hover: hover) {
	/* translate (non transform) così non si scontra con l'apparizione allo scroll */
	.bp-tile:hover, .bp-card:hover { translate: 0 -3px; box-shadow: var(--bp-shadow-lift); }
}

/* ---------- Prodotto in evidenza ---------- */
.bp-feature {
	background: var(--bp-surface); border: 1px solid var(--bp-border); border-radius: var(--bp-radius-lg);
	box-shadow: var(--bp-shadow); overflow: hidden; gap: 0 !important;
}
.bp-feature > .wp-block-column:first-child { padding: clamp(28px, 4vw, 48px); }
.bp-feature > .wp-block-column.bp-feature__vis {
	background: linear-gradient(160deg, var(--bp-soft), #f3f6f2);
	padding: clamp(28px, 4vw, 40px) 0 clamp(28px, 4vw, 40px) clamp(28px, 4vw, 40px);
	display: flex; align-items: center;
}
.bp-feature__vis .bp-frame-browser { border-right: 0; border-radius: 14px 0 0 14px; margin: 0; width: 100%; }
.bp-claim { font-size: var(--wp--preset--font-size--large); color: var(--bp-muted); }
.bp-checks { list-style: none; padding: 0; display: grid; gap: 12px; margin-block: 24px; }
.bp-checks li { display: flex; gap: 12px; align-items: flex-start; }
.bp-checks li::before {
	content: ""; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%;
	background: var(--bp-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6f5c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat;
}
.bp-price-row { display: flex; align-items: flex-end; gap: 16px 20px; flex-wrap: wrap; }
.bp-price { font-size: 2.1rem; font-weight: 700; letter-spacing: -.02em; line-height: 1; margin: 0; }
.bp-price .bp-old, .bp-old { color: var(--bp-muted); text-decoration: line-through; font-size: 1.05rem; font-weight: 500; margin-left: 8px; letter-spacing: 0; }
.bp-price-note { font-size: .82rem; color: var(--bp-muted); margin: 6px 0 0; }
.bp-disclaimer {
	display: flex; gap: 10px; align-items: flex-start;
	background: var(--wp--preset--color--warm-soft); border: 1px solid var(--wp--preset--color--warm-line);
	color: #5c3a00; border-radius: var(--bp-radius-sm); padding: 12px 14px; font-size: .92rem; margin-top: 24px;
}
.bp-disclaimer::before {
	content: ""; flex: 0 0 18px; height: 18px; margin-top: 2px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c3a00' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16.5v.5'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- Card prodotto ---------- */
.bp-card { overflow: hidden; display: flex; flex-direction: column; transition: translate .2s, box-shadow .2s; position: relative; }
.bp-card > .wp-block-image, .bp-card__thumb { margin: 0 !important; aspect-ratio: 4/3; background: var(--bp-soft); overflow: hidden; }
.bp-card > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.bp-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; margin: 0 !important; }
.bp-card__body > * { margin: 0 !important; }
.bp-card__cat { font-size: .78rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--bp-accent); }
.bp-card__desc { color: var(--bp-muted); font-size: .95rem; flex: 1; }
.bp-card__foot { margin-top: 10px !important; justify-content: space-between; align-items: center; }
.bp-card__foot .bp-card__price { font-size: 1.25rem; font-weight: 700; }
.bp-card__foot a { font-weight: 600; text-decoration: none; }
/* tutta la card cliccabile tramite il titolo */
.bp-card h3 a { color: inherit; text-decoration: none; }
.bp-card h3 a::after { content: ""; position: absolute; inset: 0; }
.bp-card h3 a:focus-visible { outline: none; }
.bp-card:has(h3 a:focus-visible) { outline: 3px solid var(--bp-accent); outline-offset: 3px; }

/* Filtro del catalogo */
.bp-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.bp-chip {
	border: 1px solid var(--bp-border); background: var(--bp-surface); color: var(--bp-ink);
	padding: 9px 16px; border-radius: 999px; font: inherit; font-size: .92rem; font-weight: 500; cursor: pointer; min-height: 40px;
}
.bp-chip[aria-pressed="true"] { background: var(--bp-ink); color: #fff; border-color: var(--bp-ink); }
.bp-card[hidden] { display: none !important; }

/* ---------- Bundle ---------- */
.bp-bundle { padding: clamp(24px, 3.5vw, 34px); border-radius: 24px; display: flex; flex-direction: column; gap: 14px; }
.bp-bundle > * { margin: 0 !important; }
.bp-bundle--best { border: 2px solid var(--bp-accent); background: linear-gradient(180deg, #fff, #f4faf7); }
.bp-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.bp-badge-save, .bp-badge-top { display: inline-block; font-weight: 700; font-size: .82rem; padding: 5px 11px; border-radius: 999px; margin: 0; }
.bp-badge-save { background: var(--wp--preset--color--warm-soft); color: var(--wp--preset--color--warm); border: 1px solid var(--wp--preset--color--warm-line); }
.bp-badge-top { background: var(--bp-accent); color: #fff; }
.bp-includes { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; }
.bp-includes li { font-size: .88rem; background: var(--wp--preset--color--bg); border: 1px solid var(--bp-border); padding: 5px 11px; border-radius: 999px; }

/* ---------- Passi ---------- */
.bp-steps { counter-reset: bp-step; }
.bp-step { padding: 30px; }
.bp-step::before {
	counter-increment: bp-step; content: counter(bp-step);
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
	background: var(--bp-ink); color: #fff; font-weight: 700; margin-bottom: 18px;
}
.bp-step > * + * { margin-top: 8px; }
.bp-step p { color: var(--bp-muted); }

/* ---------- FAQ (blocco Dettagli) ---------- */
.bp-faq { max-width: 820px; }
.bp-faq .wp-block-details { padding: 0 22px; margin: 0 0 12px; }
.bp-faq .wp-block-details summary {
	cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600;
	display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.bp-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.bp-faq .wp-block-details summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--bp-accent); transition: transform .2s; line-height: 1; }
.bp-faq .wp-block-details[open] summary::after { transform: rotate(45deg); }
.bp-faq .wp-block-details > :not(summary) { color: var(--bp-muted); margin: 0 0 20px; }

/* ---------- Chiusura ---------- */
.bp-closing {
	background: var(--bp-ink); color: #fff; border-radius: 32px; text-align: center;
	padding: clamp(48px, 7vw, 72px) clamp(22px, 4vw, 40px); position: relative; overflow: hidden;
}
.bp-closing::before {
	content: ""; position: absolute; left: -10%; right: -10%; bottom: -60%; height: 120%;
	background: radial-gradient(closest-side, rgba(92,196,166,.25), transparent); pointer-events: none;
}
.bp-closing > * { position: relative; }
.bp-closing h2 { color: #fff; }
.bp-closing p { color: #c9d4d9; font-size: var(--wp--preset--font-size--large); max-width: 44ch; margin-inline: auto; }

/* ---------- Varie ---------- */
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.bp-card__more { color: var(--bp-accent); font-weight: 600; font-size: .95rem; }
.bp-more-link { margin-top: 24px; }
.bp-more-link a { font-weight: 600; text-decoration: none; }
.bp-more-link a:hover { text-decoration: underline; }
p.bp-badges { margin: 0; }
h2.bp-section-head { margin-bottom: clamp(24px, 4vw, 40px); }
.bp-price-row { gap: 16px 20px; }
.bp-price-row .wp-block-buttons { margin: 0; }

/* ---------- Pagine prodotto e catalogo ---------- */
.bp-section--product { padding-top: clamp(20px, 3vw, 32px); }
.bp-section--head { padding-bottom: 0; }
.bp-breadcrumb { font-size: .9rem; color: var(--bp-muted); margin-bottom: 20px; }
.bp-breadcrumb a { color: var(--bp-muted); }
.bp-breadcrumb a:hover { color: var(--bp-accent); }
.bp-product { gap: clamp(28px, 4vw, 56px) !important; align-items: flex-start; }
.bp-product__gallery > * + * { margin-top: 14px; }
.bp-thumbs { grid-template-columns: repeat(auto-fit, minmax(4.5rem, 1fr)) !important; gap: 10px !important; }
/* screenshot verticali (checklist, Inizia qui) nelle righe: non più alti di così */
.bp-row .wp-block-image img { max-height: 560px; object-fit: cover; object-position: top center; }
@media (max-width: 560px) {
	.bp-tile { padding: 20px; }
	.bp-buybox { border-radius: var(--bp-radius); }
}
.wp-block-image.bp-thumb { margin: 0; border: 1px solid var(--bp-border); border-radius: 10px; overflow: hidden; background: #fff; aspect-ratio: 4/3; }
.wp-block-image.bp-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.bp-buybox {
	background: var(--bp-surface); border: 1px solid var(--bp-border); border-radius: var(--bp-radius-lg);
	box-shadow: var(--bp-shadow); padding: clamp(24px, 3vw, 36px);
}
.bp-buybox > * { margin-block: 0 !important; }
.bp-buybox > * + * { margin-top: 16px !important; }
.bp-buybox h1 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
@media (min-width: 782px) {
	.bp-buybox { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--bp-header-h) + 16px); }
}
.bp-ticks--col { flex-direction: column; gap: 6px; }
p.bp-guarantee { font-size: .88rem; color: var(--bp-muted); border-top: 1px solid var(--bp-border); padding-top: 16px; }
.bp-lead--wide { max-width: 62ch; }
.bp-row { gap: clamp(24px, 4vw, 56px) !important; margin-block: clamp(32px, 5vw, 56px) !important; }
.bp-row h3 { margin-bottom: 12px; }
.bp-note > * + * { margin-top: 12px; }
.bp-note ul { padding-left: 1.2em; margin: 0; }
.bp-note li { color: var(--bp-muted); }
.bp-note li + li { margin-top: 8px; }
.bp-catalogo .bp-filters { margin-bottom: 28px; }

/* ---------- Modulo contatti (plugin) ---------- */
.bp-form { display: grid; gap: 18px; max-width: 640px; }
.bp-form p { margin: 0; }
.bp-form__campo label { display: block; font-weight: 600; margin-bottom: 6px; }
.bp-form input[type="text"], .bp-form input[type="email"], .bp-form textarea {
	width: 100%; font: inherit; color: var(--bp-ink); background: var(--bp-surface);
	border: 1.5px solid var(--bp-border); border-radius: var(--bp-radius-sm); padding: 12px 14px; min-height: 48px;
}
.bp-form input:focus, .bp-form textarea:focus { border-color: var(--bp-accent); outline: 3px solid rgba(31,111,92,.2); outline-offset: 0; }
.bp-form__consenso { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--bp-muted); }
.bp-form__consenso input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 20px; accent-color: var(--bp-accent); }
.bp-form__esca { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.bp-form__esito { border-radius: var(--bp-radius-sm); padding: 14px 16px; margin-bottom: 20px; font-weight: 500; }
.bp-form__esito--ok { background: var(--bp-soft); color: #134a3d; border: 1px solid #b9dccf; }
.bp-form__esito--errore { background: #fdecea; color: #8a1c12; border: 1px solid #f3c1bb; }

/* ---------- Pagine di testo ---------- */
.bp-page { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.bp-page__head { margin-bottom: clamp(24px, 4vw, 40px); }
.bp-prose { font-size: 1.0625rem; }
.bp-prose h2 { font-size: var(--wp--preset--font-size--x-large); margin-top: 2.2em; }
.bp-prose h3 { margin-top: 1.6em; }
.bp-prose li + li { margin-top: .35em; }
.bp-placeholder { background: #fff6d6; color: #6b4e00; padding: 0 4px; border-radius: 4px; font-weight: 600; }
.bp-note { background: var(--bp-surface); border: 1px solid var(--bp-border); border-radius: var(--bp-radius-sm); padding: 16px 18px; }

/* ---------- Footer ---------- */
.bp-footer { border-top: 1px solid var(--bp-border); margin-top: clamp(56px, 8vw, 88px); padding-block: 64px 40px; font-size: .95rem; }
.bp-footer__grid { gap: 32px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.bp-footer__brand > * + * { margin-top: 14px; }
.bp-footer__brand p { max-width: 32ch; }
h2.bp-footer__title { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--bp-muted); margin: 0 0 14px; font-weight: 650; }
.bp-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.bp-footer__links a { color: var(--bp-ink); text-decoration: none; }
.bp-footer__links a:hover { color: var(--bp-accent); text-decoration: underline; }
.bp-footer__legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--bp-border); color: var(--bp-muted); font-size: .85rem; gap: 12px; }
.bp-footer__legal p { margin: 0; }
@media (max-width: 960px) { .bp-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bp-footer__grid { grid-template-columns: 1fr; } }

/* Icone metodi di pagamento (dal plugin) */
.bp-pay { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.bp-pay li { display: inline-flex; }
.bp-pay svg { height: 24px; width: auto; display: block; }

/* ---------- Barra d'acquisto fissa su mobile (pagine prodotto) ---------- */
.bp-sticky-buy { display: none; }
@media (max-width: 781px) {
	.bp-sticky-buy {
		display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
		align-items: center; justify-content: space-between; gap: 12px;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		background: rgba(255,255,255,.96); border-top: 1px solid var(--bp-border);
		box-shadow: 0 -8px 24px rgba(29,42,51,.08);
	}
	.bp-sticky-buy .bp-price { font-size: 1.4rem; }
	.bp-sticky-buy .bp-buy__notify { display: none; }
	body.bp-has-sticky-buy { padding-bottom: 84px; }
}

/* ---------- Apparizione morbida ---------- */
.bp-js .bp-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease, translate .2s, box-shadow .2s; }
.bp-js .bp-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.bp-js .bp-reveal { opacity: 1; transform: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 560px) {
	.bp-bento { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
	.bp-bento .bp-tile { padding: 18px; }
	.bp-bento .bp-tile h3 { font-size: 1rem; }
	.bp-bento .bp-tile p { font-size: .88rem; }
}
@media (max-width: 781px) {
	.bp-feature > .wp-block-column.bp-feature__vis { padding: 28px 0 0 28px; }
}
@media (max-width: 560px) {
	body { font-size: 1rem; }
	.bp-hero .wp-block-buttons { width: 100%; }
	.bp-hero .wp-block-buttons > .wp-block-button { flex: 1 1 100%; }
	.bp-hero .wp-block-buttons .wp-block-button__link { width: 100%; }
}
