/* ePRICE Marketplace Core – stile dei blocchi ep/*. I colori arrivano dal tema (theme.json) con fallback. */
:root {
	--ep-ink: var(--wp--preset--color--ink, #2B3139);
	--ep-black: var(--wp--preset--color--nero, #111214);
	--ep-yellow: var(--wp--preset--color--giallo, #FBBD0B);
	--ep-blue: var(--wp--preset--color--blu, #004695);
	--ep-red: var(--wp--preset--color--rosso, #E3203F);
	--ep-grey: var(--wp--preset--color--grigio, #EEEFF1);
	--ep-line: var(--wp--preset--color--linea, #D7D9DD);
	--ep-text: var(--wp--preset--color--testo, #1F2328);
	--ep-text-2: #42474D;
	--ep-muted: var(--wp--preset--color--muted, #5F656B);
	--ep-green: #1B7A3D;
	--ep-white: #FFFFFF;
	--ep-radius: 8px;
	--ep-font: var(--wp--preset--font-family--eprice, -apple-system, system-ui, "system-ui", Inter, Roboto, "Helvetica Neue", "Arial Nova", "Nimbus Sans", Arial, sans-serif);
	--ep-font-price: var(--wp--preset--font-family--prezzi, "Helvetica Neue", Helvetica, Arial, sans-serif);
}

.ep-block { font-family: var(--ep-font); color: var(--ep-text); }
.ep-block *, .ep-block *::before, .ep-block *::after { box-sizing: border-box; }
.ep-icon { flex: none; display: block; }
.ep-muted { color: var(--ep-muted); font-size: 0.875rem; }
.ep-blue { color: var(--ep-blue); }
.ep-yellow { color: var(--ep-yellow); }
.ep-h3 { margin: 0; font-size: 1.625rem; font-weight: 800; line-height: 1.2; }
[hidden] { display: none !important; }

/* Pulsanti */
.ep-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 6px; border: 1px solid transparent; font: inherit; font-size: 0.875rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.ep-btn--primary { background: var(--ep-yellow); color: var(--ep-ink); font-weight: 800; }
.ep-btn--primary:hover { background: #E5A800; color: var(--ep-ink); }
.ep-btn--ghost-dark { border-color: #5F656B; color: var(--ep-white); }
.ep-btn--ghost-dark:hover { border-color: var(--ep-white); color: var(--ep-white); }
.ep-btn--outline { border-color: var(--ep-ink); color: var(--ep-ink); background: var(--ep-white); }
.ep-btn--outline:hover { background: var(--ep-ink); color: var(--ep-white); }
.ep-btn--lg { min-height: 52px; padding: 0 26px; font-size: 1rem; }
.ep-btn--block { width: 100%; }
.ep-btn:focus-visible, .ep-chips__btn:focus-visible, .ep-card:focus-visible, .ep-nav__link:focus-visible { outline: 3px solid var(--ep-yellow); outline-offset: 2px; }

/* Header */
.ep-brand { display: flex; align-items: center; gap: 12px; color: var(--ep-white); text-decoration: none; }
.ep-brand__text { display: flex; flex-direction: column; gap: 2px; }
.ep-brand__name { font-size: 1.0625rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.ep-brand__tag { font-size: .75rem; font-weight: 500; color: #CACBCD; line-height: 1.2; }
.ep-logo { display: block; }
.ep-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ep-nav { display: flex; align-items: stretch; gap: 0 28px; }
.ep-nav__list { display: flex; gap: 0 28px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.ep-nav__list::-webkit-scrollbar { display: none; }
.ep-nav__link { display: inline-flex; align-items: center; min-height: 44px; padding-top: 3px; border-bottom: 3px solid transparent; color: #E6E7EA; font-size: .875rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.ep-nav__link:hover { color: var(--ep-white); }
.ep-nav__link.is-current { color: var(--ep-white); font-weight: 700; border-bottom-color: var(--ep-yellow); }
.ep-nav__shop { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #CACBCD; font-size: .8125rem; text-decoration: none; white-space: nowrap; }
.ep-nav__shop:hover { color: var(--ep-white); }
@media (max-width: 781px) { .ep-nav__shop { display: none; } }

/* Breadcrumb */
.ep-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; font-size: .875rem; color: inherit; opacity: .9; }
.ep-breadcrumb li + li::before { content: "›"; margin-right: 8px; }
.ep-breadcrumb a { color: var(--ep-blue); text-decoration: none; }
.is-style-ep-dark .ep-breadcrumb a, .ep-band-dark .ep-breadcrumb a { color: var(--ep-yellow); }

/* Eyebrow, tile, prezzo */
.ep-eyebrow { font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ep-muted); }
.ep-eyebrow--blue { color: var(--ep-blue); }
.ep-eyebrow--light { color: #CFE0F5; }
.ep-tile { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 26px 28px; border-radius: var(--ep-radius); text-decoration: none; color: var(--ep-text); }
.ep-tile--outline { border: 2px solid var(--ep-blue); background: var(--ep-white); }
.ep-tile--blue { background: var(--ep-blue); color: var(--ep-white); }
.ep-tile--lg { padding: 36px; gap: 18px; }
.ep-tile__strong { font-weight: 600; }
.ep-tile__muted { font-size: .875rem; color: var(--ep-muted); }
.ep-tile__big { font-size: clamp(1.875rem, 3vw, 2.375rem); line-height: 1.05; font-weight: 800; color: var(--ep-yellow); }
.ep-tile__light { color: #E3ECF8; font-size: .9375rem; }
.ep-tile__link { display: inline-flex; align-items: center; gap: 6px; padding-top: 4px; font-weight: 700; }
a.ep-tile:hover { box-shadow: 0 6px 20px rgba(17, 18, 20, .12); }
.ep-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.ep-price__value { font-size: 3.25rem; line-height: 1; font-weight: 800; color: var(--ep-red); font-variant-numeric: tabular-nums; }
.ep-price__unit { font-size: .9375rem; font-weight: 600; color: var(--ep-muted); }
.ep-price--xl .ep-price__value { font-size: clamp(3rem, 6vw, 4.5rem); }
.ep-prezzo, .ep-commissioni-tile { height: 100%; }

.ep-year { display: flex; flex-direction: column; gap: 8px; }
.ep-year__label { font-size: .875rem; font-weight: 700; }
.ep-year__bar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.ep-year__m { height: 36px; border-radius: 4px; background: var(--ep-ink); color: var(--ep-white); display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800; }
.ep-year__m.is-free { background: var(--ep-yellow); color: var(--ep-ink); }
.ep-year__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .8125rem; color: var(--ep-text-2); }
.ep-year__legend span { display: inline-flex; align-items: center; gap: 6px; }
.ep-year__legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--ep-ink); }
.ep-year__legend i.is-free { background: var(--ep-yellow); }

.ep-promo-tag-wrap { display: flex; justify-content: center; }
.ep-promo-tag { width: min(280px, 70vw); height: auto; transform: rotate(-6deg); font-family: var(--ep-font); }

/* Vantaggi */
.ep-vantaggi { list-style: none; margin: 0; padding: 20px 24px; background: var(--ep-grey); border-radius: var(--ep-radius); display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px 24px; }
.ep-vantaggi li { display: flex; align-items: center; gap: 12px; font-size: .9375rem; font-weight: 600; }
.ep-vantaggi .ep-icon { color: var(--ep-blue); }

/* Testimonianza */
.ep-quote { margin: 0; height: 100%; padding: 40px; background: var(--ep-ink); color: var(--ep-white); border-radius: var(--ep-radius); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.ep-quote__mark { color: var(--ep-yellow); }
.ep-quote__text { margin: 0; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.4; font-weight: 600; text-wrap: balance; }
.ep-quote__text p { margin: 0; }
.ep-quote__who { display: flex; align-items: center; gap: 14px; }
.ep-quote__who > span { display: flex; flex-direction: column; }
.ep-quote__who > span > span { font-size: .875rem; color: #CACBCD; }
.ep-quote__initials, .ep-quote__img { width: 48px; height: 48px; border-radius: 50%; background: #454C55; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--ep-yellow); object-fit: cover; }

/* Griglie e card */
.ep-grid { display: grid; gap: 16px; }
.ep-grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.ep-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.ep-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--ep-line); border-radius: var(--ep-radius); background: var(--ep-white); color: var(--ep-text); text-decoration: none; text-align: left; font: inherit; transition: border-color .15s, box-shadow .15s; }
button.ep-card { cursor: pointer; }
.ep-card:hover { border-color: var(--ep-ink); box-shadow: 0 6px 20px rgba(17, 18, 20, .08); }
.ep-card--dark { background: var(--ep-ink); border-color: var(--ep-ink); color: var(--ep-white); }
.ep-card--dark .ep-card__text { color: #E6E7EA; }
.ep-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ep-card__price { font-size: .8125rem; font-weight: 800; color: var(--ep-muted); text-align: right; }
.ep-card__price.is-free { color: var(--ep-green); }
.ep-card__title { font-size: 1.375rem; font-weight: 800; line-height: 1.2; }
.ep-card__text { font-size: .9375rem; color: var(--ep-text-2); }
.ep-card__cta { margin-top: auto; padding-top: 6px; font-size: .9375rem; font-weight: 700; color: var(--ep-blue); }
.ep-card--dark .ep-card__cta { color: var(--ep-white); }
.ep-chip { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; background: var(--ep-grey); color: var(--ep-blue); }
.ep-servizi { display: flex; flex-direction: column; gap: 24px; }

/* Chip filtro */
.ep-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ep-chips__btn { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #A9ADB2; background: var(--ep-white); color: var(--ep-ink); font: inherit; font-size: .9375rem; font-weight: 700; cursor: pointer; }
.ep-chips__btn:hover { border-color: var(--ep-ink); }
.ep-chips__btn.is-active { background: var(--ep-ink); border-color: var(--ep-ink); color: var(--ep-white); }
.ep-chips__btn--square { border-radius: 6px; min-width: 76px; font-size: 1rem; font-weight: 800; }
.ep-chips__btn--square.is-active { background: var(--ep-blue); border-color: var(--ep-blue); }
.ep-chips__count { font-weight: 500; opacity: .8; }

/* Tabelle */
.ep-table-scroll { overflow-x: auto; border: 1px solid var(--ep-line); border-radius: var(--ep-radius); }
.ep-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.ep-table th, .ep-table td { padding: 12px 16px; text-align: left; vertical-align: middle; }
.ep-table thead th { background: var(--ep-ink); color: var(--ep-white); font-weight: 700; }
.ep-table tbody tr { border-top: 1px solid #E6E7EA; }
.ep-table tbody tr:nth-child(even) { background: #F7F7F8; }
.ep-table tbody th { font-weight: 700; }
.ep-table .is-center { text-align: center; }
.ep-table .is-num { text-align: right; font-variant-numeric: tabular-nums; }
.ep-table--integrazioni { min-width: 860px; }
.ep-table--integrazioni thead th { background: var(--ep-yellow); color: var(--ep-ink); font-weight: 800; }
.ep-table--integrazioni tbody th a { color: inherit; }
.ep-table__sub { display: block; font-size: .75rem; font-weight: 600; color: var(--ep-muted); }
.ep-table__extra { font-size: .875rem; color: var(--ep-text-2); }
.ep-table--compact { min-width: 520px; }
.ep-table--compact thead th { background: var(--ep-grey); color: var(--ep-text); }
.ep-yes { color: var(--ep-green); display: inline-flex; }
.ep-no { color: #A9ADB2; font-weight: 700; }
.ep-integrazioni { display: flex; flex-direction: column; gap: 20px; }
.ep-choose { margin-bottom: 48px; }
.ep-rates { display: flex; flex-wrap: wrap; gap: 6px; }
.ep-rate { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 4px; font-size: .875rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ep-rate.is-low { background: #DCEBDD; color: #14532D; }
.ep-rate.is-mid { background: #E3ECF8; color: #003A7A; }
.ep-rate.is-high { background: #FDEBD0; color: #7A3E00; }

/* Ricerca */
.ep-search { display: flex; flex-direction: column; gap: 6px; max-width: 640px; }
.ep-search__label { font-size: .875rem; font-weight: 600; }
.ep-search__box { display: flex; align-items: center; gap: 10px; background: var(--ep-white); border: 1px solid #A9ADB2; border-radius: 6px; padding: 0 14px; color: var(--ep-muted); }
.ep-search__box:focus-within { border-color: var(--ep-blue); box-shadow: 0 0 0 3px rgba(0, 70, 149, .2); }
.ep-search__box input { flex: 1; min-width: 0; min-height: 52px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.0625rem; color: var(--ep-text); }
.ep-commissioni { display: flex; flex-direction: column; gap: 20px; }
.ep-comm-results { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; }
.ep-comm-results li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 2px; border-bottom: 1px solid var(--ep-line); font-size: .9375rem; }
.ep-comm-results li strong { font-variant-numeric: tabular-nums; color: var(--ep-blue); }
.ep-comm-results__empty { color: var(--ep-muted); }

/* FAQ */
.ep-faq { display: flex; flex-direction: column; gap: 32px; }
.ep-faq__layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 56px; }
.ep-faq__topics { flex: 1 1 220px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 16px; }
.ep-faq__topics a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 6px; background: var(--ep-grey); color: var(--ep-text); font-weight: 600; text-decoration: none; }
.ep-faq__topics a span { font-size: .8125rem; color: var(--ep-muted); }
.ep-faq__groups { flex: 3 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.ep-faq__title { margin: 0 0 8px; font-size: 1.375rem; font-weight: 800; color: var(--ep-blue); }
.ep-faq__list { border-top: 1px solid var(--ep-line); }
.ep-faq__item { border-bottom: 1px solid var(--ep-line); }
.ep-faq__q { cursor: pointer; padding: 18px 36px 18px 4px; font-size: 1.0625rem; font-weight: 700; list-style: none; position: relative; }
.ep-faq__q::-webkit-details-marker { display: none; }
.ep-faq__q::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--ep-ink); border-bottom: 2.5px solid var(--ep-ink); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.ep-faq__item[open] .ep-faq__q::after { transform: translateY(-30%) rotate(-135deg); }
.ep-faq__a { padding: 0 4px 20px; color: var(--ep-text-2); max-width: 70ch; }
.ep-faq__a p { margin: 0 0 .75em; }
.ep-faq__a a { color: var(--ep-blue); }
.ep-faq__empty { margin: 0; padding: 24px; background: var(--ep-grey); border-radius: var(--ep-radius); }

/* Reclami */
.ep-reclami { gap: 16px; }
.ep-reclami p { margin: 0; color: var(--ep-text-2); }

/* Calcolatore */
.ep-calc { padding: 36px; background: var(--ep-grey); border-radius: var(--ep-radius); display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; }
.ep-calc__in { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ep-calc__rates { display: flex; flex-wrap: wrap; gap: 8px; }
.ep-calc__out { flex: 1 1 320px; min-width: 0; padding: 28px; background: var(--ep-white); border-radius: var(--ep-radius); display: flex; flex-direction: column; gap: 10px; }
.ep-calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--ep-text-2); font-variant-numeric: tabular-nums; }
.ep-calc__row--total { border-top: 1px solid var(--ep-line); padding-top: 12px; color: var(--ep-text); font-weight: 700; }
.ep-calc__row--total output { font-size: 2.25rem; font-weight: 800; color: var(--ep-blue); }

/* Form */
.ep-form { display: flex; flex-direction: column; gap: 22px; }
.ep-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px 20px; }
.ep-field { display: flex; flex-direction: column; gap: 6px; }
.ep-field--wide { grid-column: 1 / -1; }
.ep-field label, .ep-field__label, .ep-fieldset legend { font-size: .875rem; font-weight: 700; }
.ep-field input, .ep-field select, .ep-field textarea { min-height: 48px; padding: 0 14px; font: inherit; font-size: 1rem; color: var(--ep-text); background: var(--ep-white); border: 1px solid #A9ADB2; border-radius: 6px; max-width: 100%; }
.ep-field textarea { padding: 12px 14px; resize: vertical; }
.ep-field input[type="number"] { max-width: 240px; font-size: 1.125rem; }
.ep-field input:focus, .ep-field select:focus, .ep-field textarea:focus { outline: 0; border-color: var(--ep-blue); box-shadow: 0 0 0 3px rgba(0, 70, 149, .2); }
.ep-field__count { align-self: flex-end; font-size: .8125rem; color: var(--ep-muted); font-variant-numeric: tabular-nums; }
.ep-fieldset { margin: 0; padding: 0; border: 0; }
.ep-fieldset legend { padding: 0 0 8px; }
.ep-radios { display: flex; flex-wrap: wrap; gap: 10px; }
.ep-radio { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border: 1px solid #A9ADB2; border-radius: 6px; cursor: pointer; }
.ep-radio input, .ep-check input { accent-color: var(--ep-blue); width: 20px; height: 20px; }
.ep-check { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; color: var(--ep-text-2); cursor: pointer; }
.ep-check a { color: var(--ep-blue); }
.ep-form .ep-btn--primary { align-self: flex-start; }
.ep-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ep-error { margin: 0; padding: 14px 16px; border-radius: 6px; background: #FDE7EA; color: #8A1023; font-weight: 600; }
.ep-success { border: 2px solid var(--ep-green); gap: 12px; }
.ep-success__title { font-size: 1.375rem; font-weight: 800; color: var(--ep-green); }
.ep-success p { margin: 0; color: var(--ep-text-2); }
.ep-success .ep-btn { align-self: flex-start; }

/* Riquadro In breve */
.ep-info { gap: 18px; }
.ep-info__list { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: .9375rem; }
.ep-info__list dt { color: var(--ep-muted); }
.ep-info__list dd { margin: 0; font-weight: 700; }
.ep-info__list dd.is-free { color: var(--ep-green); }
.ep-info__note { margin: 0; font-size: .8125rem; color: var(--ep-muted); }
.ep-info__note a { color: var(--ep-blue); }

/* Social */
.ep-social { display: flex; gap: 8px; }
.ep-social__link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: #CACBCD; }
.ep-social__link:hover { color: var(--ep-white); }

.ep-editor-empty { padding: 16px; border: 1px dashed #A9ADB2; border-radius: 6px; color: var(--ep-muted); font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
	.ep-block * { transition: none !important; }
}
.ep-chip--white { background: #fff; }

/* Canali in numeri (v1.1) */
.ep-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); border: 1px solid var(--ep-line); border-radius: var(--ep-radius); overflow: hidden; }
.ep-stats__item { padding: 22px 24px; display: flex; flex-direction: column; gap: 2px; box-shadow: 1px 0 0 var(--ep-line), 0 1px 0 var(--ep-line); }
.ep-stats__num { font-size: 2rem; line-height: 1.1; font-weight: 800; color: var(--ep-blue); font-variant-numeric: tabular-nums; }
.ep-stats__label { font-size: .875rem; color: var(--ep-text-2); }

/* =====================================================================
   v1.4 · Home interattiva
   ===================================================================== */

/* Hero: anteprima area venditori */
.ep-hero-live { position: relative; padding: 24px 0 0; }
.ep-live { position: relative; }
.ep-live__card { position: relative; background: var(--ep-white); color: var(--ep-text); border-radius: 14px; padding: 22px 24px 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); }
.ep-live__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ep-live__shop { display: flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 800; }
.ep-live__avatar { width: 32px; height: 32px; border-radius: 8px; background: var(--ep-ink); color: var(--ep-yellow); display: inline-flex; align-items: center; justify-content: center; font-size: .8125rem; font-weight: 800; }
.ep-live__period { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; color: var(--ep-muted); text-transform: uppercase; letter-spacing: .06em; }
.ep-live__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ep-yellow); animation: ep-pulse 2s ease-in-out infinite; }
.ep-live__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.ep-live__kpi { display: flex; flex-direction: column; gap: 2px; padding: 12px; background: #F4F5F6; border-radius: 8px; min-width: 0; }
.ep-live__kpi span { font-size: .75rem; font-weight: 600; color: var(--ep-muted); }
.ep-live__kpi b { font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ep-live__chart { display: block; width: 100%; height: 120px; margin-top: 14px; }
.ep-live__line { stroke-dasharray: 600; animation: ep-draw 2.2s ease-out .3s both; }
.ep-live__area { animation: ep-fade 1.2s ease-out 1.4s both; }
.ep-live__toasts { position: relative; height: 62px; margin-top: 12px; }
.ep-live__toast { position: absolute; inset: 0; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; background: var(--ep-ink); color: var(--ep-white); opacity: 0; animation: ep-toast 9s ease-in-out infinite; }
.ep-live__toast:nth-child(2) { animation-delay: 3s; }
.ep-live__toast:nth-child(3) { animation-delay: 6s; }
.ep-live__toast--blue { background: var(--ep-blue); }
.ep-live__toast > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.ep-live__toast b { font-size: .875rem; font-weight: 800; }
.ep-live__toast span span { font-size: .8125rem; color: #CACBCD; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-live__ico { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--ep-white); color: var(--ep-ink); display: flex; align-items: center; justify-content: center; }
.ep-live__ico--y { background: var(--ep-yellow); }
.ep-live__toast--blue .ep-live__ico { color: var(--ep-blue); }
.ep-live__sticker { position: absolute; top: -96px; right: -18px; width: 170px; animation: ep-float 5s ease-in-out infinite; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); pointer-events: none; }
.ep-live__sticker .ep-promo-tag { width: 100%; }
.ep-live__note { margin: 14px 0 0; font-size: .75rem; color: #A9ADB2; }
@keyframes ep-draw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
@keyframes ep-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ep-toast { 0% { opacity: 0; transform: translateY(14px); } 4%, 30% { opacity: 1; transform: translateY(0); } 34%, 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes ep-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(251, 189, 11, .55); } 50% { box-shadow: 0 0 0 8px rgba(251, 189, 11, 0); } }
@keyframes ep-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes ep-fill { from { width: 0; } to { width: 100%; } }
@media (max-width: 781px) {
	.ep-live__sticker { width: 140px; top: -56px; right: -6px; }
	.ep-live__card { padding: 18px; }
	.ep-live__kpis { gap: 8px; }
	.ep-live__kpi { padding: 10px; }
}

/* Tile pagamenti */
.ep-tile--yellow { background: var(--ep-yellow); color: var(--ep-ink); }
.ep-eyebrow--ink { color: var(--ep-ink); }
.ep-tile__big--ink { color: var(--ep-ink); }
.ep-pagamenti-tile { height: 100%; }

/* Range */
.ep-range { position: relative; height: 28px; display: flex; align-items: center; --p: 50%; }
.ep-range::before, .ep-range::after { content: ""; position: absolute; left: 0; height: 8px; border-radius: 999px; pointer-events: none; }
.ep-range::before { right: 0; background: var(--ep-line); }
.ep-range::after { width: var(--p); background: var(--ep-ink); }
.ep-range input { position: relative; z-index: 1; width: 100%; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.ep-range input::-webkit-slider-runnable-track { height: 8px; background: transparent; }
.ep-range input::-moz-range-track { height: 8px; background: transparent; }
.ep-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--ep-yellow); border: 4px solid var(--ep-ink); }
.ep-range input::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--ep-yellow); border: 4px solid var(--ep-ink); }
.ep-range input:focus-visible { outline: 3px solid var(--ep-yellow); outline-offset: 6px; border-radius: 999px; }

/* Selettore a due opzioni */
.ep-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px; background: var(--ep-white); border: 1px solid var(--ep-line); border-radius: 999px; }
.ep-seg__btn { min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--ep-ink); font: inherit; font-size: .9375rem; font-weight: 800; cursor: pointer; }
.ep-seg__btn.is-active { background: var(--ep-ink); color: var(--ep-white); }
.ep-seg__btn:focus-visible { outline: 3px solid var(--ep-yellow); outline-offset: 2px; }

/* Simulatore */
.ep-sim { display: flex; flex-wrap: wrap; gap: 16px; }
.ep-sim__in { flex: 1 1 360px; min-width: 0; padding: 32px; background: var(--ep-grey); border-radius: 12px; display: flex; flex-direction: column; gap: 28px; }
.ep-sim__field { display: flex; flex-direction: column; gap: 12px; }
.ep-sim__fieldhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ep-sim__fieldhead label { font-weight: 700; }
.ep-sim__fieldhead output { font-size: 1.75rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ep-sim__scale { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--ep-muted); }
.ep-sim__note { margin: 0; font-size: .875rem; color: var(--ep-text-2); }
.ep-sim__note a { color: var(--ep-blue); font-weight: 700; }
.ep-sim__out { flex: 1.3 1 440px; min-width: 0; padding: 32px; border: 1px solid var(--ep-line); border-radius: 12px; display: flex; flex-direction: column; gap: 24px; }
.ep-sim__total { display: flex; flex-direction: column; gap: 4px; }
.ep-sim__net { font-size: clamp(2.75rem, 6vw, 4rem); line-height: 1; font-weight: 800; color: var(--ep-blue); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ep-sim__sales { font-size: .9375rem; color: var(--ep-text-2); }
.ep-sim__month, .ep-sim__year { display: flex; flex-direction: column; gap: 16px; }
.ep-sim__bar { display: flex; height: 44px; border-radius: 8px; overflow: hidden; background: var(--ep-grey); }
.ep-sim__seg { display: block; height: 100%; transition: width .45s ease; }
.ep-sim__seg--net { background: var(--ep-blue); }
.ep-sim__seg--fee { background: var(--ep-red); }
.ep-sim__seg--sub { background: var(--ep-muted); }
.ep-sim__legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.ep-sim__leg { display: flex; flex-direction: column; justify-content: space-between; gap: 2px; padding-left: 12px; border-left: 4px solid var(--ep-blue); }
.ep-sim__leg span { font-size: .8125rem; color: var(--ep-muted); }
.ep-sim__leg b { font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ep-sim__leg--fee { border-color: var(--ep-red); }
.ep-sim__leg--sub { border-color: var(--ep-muted); }
.ep-sim__free { margin: 0; padding: 12px 14px; background: #FFF6D9; border-radius: 8px; font-size: .875rem; }
.ep-sim__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; height: 180px; border-bottom: 1px solid var(--ep-line); }
.ep-sim__col { display: block; height: var(--h, 8%); background: var(--ep-blue); border-radius: 4px 4px 0 0; transition: height .45s ease; }
.ep-sim__col.is-free { background: var(--ep-yellow); }
.ep-sim__labels { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; text-align: center; font-size: .75rem; font-weight: 700; color: var(--ep-muted); margin-top: -8px; }
.ep-sim__yleg { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .875rem; color: var(--ep-text-2); }
.ep-sim__yleg span { display: inline-flex; align-items: center; gap: 8px; }
.ep-sim__yleg i { width: 12px; height: 12px; border-radius: 3px; background: var(--ep-blue); }
.ep-sim__yleg i.is-free { background: var(--ep-yellow); }
.ep-sim__cta { align-self: flex-start; }
@media (max-width: 781px) { .ep-sim__in, .ep-sim__out { padding: 24px 20px; } }

/* Percorso */
.ep-pc { display: flex; flex-direction: column; gap: 16px; }
.ep-pc__bar { display: flex; justify-content: flex-end; margin-top: -60px; min-height: 44px; }
.ep-pc__play { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid #A9ADB2; border-radius: 999px; background: var(--ep-white); color: var(--ep-ink); font: inherit; font-size: .875rem; font-weight: 700; cursor: pointer; }
.ep-pc__play::before { content: "❚❚"; font-size: .625rem; letter-spacing: -1px; }
.ep-pc__play[aria-pressed="true"]::before { content: "▶"; font-size: .75rem; }
.ep-pc__tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.ep-pc__tab { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 2px solid var(--ep-line); border-radius: 10px; background: var(--ep-white); color: var(--ep-text); font: inherit; text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.ep-pc__tab:hover { border-color: var(--ep-ink); }
.ep-pc__tab.is-active { background: var(--ep-ink); border-color: var(--ep-ink); color: var(--ep-white); }
.ep-pc__tab:focus-visible { outline: 3px solid var(--ep-yellow); outline-offset: 2px; }
.ep-pc__head { display: flex; align-items: center; gap: 12px; }
.ep-pc__n { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--ep-yellow); color: var(--ep-ink); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.ep-pc__title { font-size: 1.0625rem; font-weight: 800; }
.ep-pc__track { display: block; height: 4px; border-radius: 999px; background: var(--ep-grey); overflow: hidden; }
.ep-pc__tab.is-active .ep-pc__track { background: #454C55; }
.ep-pc__fill { display: block; height: 100%; width: 0; background: var(--ep-yellow); }
.ep-pc__tab.is-done .ep-pc__fill, .ep-pc:not(.is-playing) .ep-pc__tab.is-active .ep-pc__fill { width: 100%; }
.ep-pc.is-playing .ep-pc__tab.is-active .ep-pc__fill { animation: ep-fill var(--ep-pc-dur, 6s) linear both; }
.ep-pc__panel { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding: 40px; background: var(--ep-grey); border-radius: 12px; }
.ep-pc__text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ep-pc__h { margin: 0; font-size: clamp(1.5rem, 3vw, 1.875rem); line-height: 1.15; font-weight: 800; color: var(--ep-blue); }
.ep-pc__text p { margin: 0; font-size: 1.0625rem; color: var(--ep-text-2); }
.ep-pc__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ep-pc__list li { display: flex; gap: 12px; align-items: flex-start; }
.ep-pc__list .ep-icon { color: var(--ep-blue); margin-top: 1px; }
.ep-pc__visual { flex: 1 1 360px; min-width: 0; }
/* Senza JS: tutti i passaggi uno sotto l'altro, senza schede */
.ep-pc:not(.is-js) .ep-pc__tabs, .ep-pc:not(.is-js) .ep-pc__bar { display: none; }
.ep-pc.is-js .ep-pc__panel:not(.is-active) { display: none; }
.ep-pc.is-js .ep-pc__panel.is-active { animation: ep-fade .35s ease-out both; }
@media (max-width: 781px) {
	.ep-pc__bar { margin-top: 0; justify-content: flex-start; }
	.ep-pc__tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
	.ep-pc__tab { padding: 12px 10px; gap: 10px; }
	.ep-pc__head { justify-content: center; }
	.ep-pc__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.ep-pc__panel { padding: 24px 20px; gap: 24px; }
}

/* Mock UI dei passaggi */
.ep-mock { background: var(--ep-white); border-radius: 12px; padding: 24px; box-shadow: 0 16px 40px -20px rgba(31, 35, 40, .4); display: flex; flex-direction: column; gap: 14px; font-size: .9375rem; }
.ep-mock--dark { background: var(--ep-ink); color: var(--ep-white); }
.ep-mock small { display: block; font-size: .8125rem; color: var(--ep-muted); }
.ep-mock__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ep-mock__progress { display: block; height: 8px; border-radius: 999px; background: var(--ep-blue); }
.ep-mock__item { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--ep-line); border-radius: 8px; }
.ep-mock__ok { width: 28px; height: 28px; flex: none; border-radius: 50%; background: #E3F1E7; color: var(--ep-green); display: flex; align-items: center; justify-content: center; }
.ep-mock__methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ep-mock__methods span { padding: 12px 4px; border-radius: 8px; background: #F4F5F6; text-align: center; font-size: .875rem; font-weight: 800; }
.ep-mock__methods .is-on { background: var(--ep-ink); color: var(--ep-white); }
.ep-mock__ean { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border: 2px solid var(--ep-blue); border-radius: 8px; font-variant-numeric: tabular-nums; }
.ep-mock__ean small { font-weight: 800; }
.ep-mock__product { display: flex; align-items: center; gap: 14px; padding: 14px; background: #F4F5F6; border-radius: 8px; }
.ep-mock__product--plain { padding: 0; background: none; }
.ep-mock__thumb { width: 56px; height: 56px; flex: none; border-radius: 8px; background: linear-gradient(160deg, #3A4250, #1C2129); }
.ep-mock__thumb--light { background: linear-gradient(160deg, #B9C3D3, #7D8796); }
.ep-mock__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ep-mock__pair > span { padding: 10px 12px; border: 1px solid var(--ep-line); border-radius: 8px; font-size: .8125rem; color: var(--ep-muted); }
.ep-mock__pair b { display: block; font-size: 1.0625rem; color: var(--ep-text); }
.ep-mock__badge { padding: 4px 10px; border-radius: 999px; background: #FFF6D9; font-size: .8125rem; font-weight: 800; }
.ep-mock__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; font-size: .8125rem; font-weight: 700; text-align: center; color: var(--ep-muted); }
.ep-mock__track span::before { content: ""; display: block; height: 6px; margin-bottom: 8px; border-radius: 999px; background: var(--ep-line); }
.ep-mock__track .is-on { color: var(--ep-text); }
.ep-mock__track .is-on::before { background: var(--ep-blue); }
.ep-mock__hint { padding: 12px 14px; background: #F4F5F6; border-radius: 8px; font-size: .875rem; }
.ep-mock__line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #454C55; font-variant-numeric: tabular-nums; }
.ep-mock__line span:first-child { color: #CACBCD; }
.ep-mock__line--total { border: 0; align-items: baseline; padding-top: 6px; }
.ep-mock__line--total span:first-child { color: var(--ep-white); font-weight: 700; }
.ep-mock__line--total b { font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 800; color: var(--ep-yellow); }

/* Canali in numeri (barre) */
.ep-pub { display: flex; flex-direction: column; gap: 10px; }
.ep-pub__item { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border: 1px solid #353B44; border-radius: 10px; background: transparent; color: var(--ep-white); font: inherit; text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.ep-pub__item:hover { border-color: #6B727A; }
.ep-pub__item.is-open { background: var(--ep-ink); border-color: var(--ep-yellow); }
.ep-pub__item:focus-visible { outline: 3px solid var(--ep-yellow); outline-offset: 2px; }
.ep-pub__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ep-pub__label { font-weight: 700; }
.ep-pub__num { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 800; color: var(--ep-yellow); font-variant-numeric: tabular-nums; }
.ep-pub__track { display: block; height: 10px; border-radius: 999px; background: #353B44; overflow: hidden; }
.ep-pub__fill { display: block; height: 100%; width: var(--w); border-radius: 999px; background: var(--ep-yellow); transition: width 1.4s cubic-bezier(.2, .7, .2, 1); }
.ep-pub.is-pending .ep-pub__fill { width: 0; }
.ep-pub__text { display: none; font-size: .9375rem; color: #CACBCD; }
.ep-pub__item.is-open .ep-pub__text { display: block; }

/* Canali campagne a pagamento */
.ep-ads { display: flex; flex-direction: column; gap: 14px; }
.ep-ads__group { display: flex; flex-direction: column; gap: 8px; }
.ep-ads__label { font-size: .8125rem; font-weight: 700; color: #A9ADB2; }
.ep-ads__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ep-ads__chips li { padding: 8px 14px; border-radius: 999px; background: var(--ep-white); color: var(--ep-ink); font-size: .875rem; font-weight: 700; }

/* Trova la tua integrazione */
.ep-find { display: flex; flex-direction: column; gap: 24px; }
.ep-chips__btn--lg { min-height: 48px; padding: 0 20px; border-width: 2px; font-size: 1rem; font-weight: 800; }
.ep-find__res { display: flex; flex-wrap: wrap; gap: 16px; }
.ep-find__count { flex: 0 1 300px; min-width: 0; padding: 32px; border-radius: 12px; background: var(--ep-blue); color: var(--ep-white); display: flex; flex-direction: column; gap: 6px; }
.ep-find__n { font-size: 4.5rem; line-height: 1; font-weight: 800; color: var(--ep-yellow); font-variant-numeric: tabular-nums; }
.ep-find__lbl { font-size: 1.125rem; font-weight: 700; margin-bottom: 18px; }
.ep-find__count .ep-btn { margin-top: auto; align-self: flex-start; }
.ep-btn--white { background: var(--ep-white); color: var(--ep-blue); font-weight: 800; }
.ep-btn--white:hover { background: var(--ep-grey); color: var(--ep-blue); }
.ep-find__lists { flex: 1 1 460px; min-width: 0; padding: 32px; border: 1px solid var(--ep-line); border-radius: 12px; display: flex; flex-direction: column; gap: 22px; }
.ep-find__grp { display: flex; flex-direction: column; gap: 10px; }
.ep-find__h { font-size: .875rem; font-weight: 800; }
.ep-find__h span { color: var(--ep-muted); font-weight: 600; }
.ep-find__pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ep-find__pills li { padding: 8px 14px; border-radius: 6px; background: var(--ep-grey); font-size: .875rem; font-weight: 700; }
.ep-find__pills--line li { background: var(--ep-white); border: 1px solid var(--ep-line); }
.ep-find__res--api { align-items: center; justify-content: space-between; padding: 36px; border-radius: 12px; background: var(--ep-ink); color: #E6E7EA; }
.ep-find__api { flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; font-size: 1.0625rem; }
.ep-find__apititle { font-size: 1.75rem; font-weight: 800; color: var(--ep-yellow); }
.ep-find__res.is-in { animation: ep-fade .3s ease-out both; }
@media (max-width: 781px) { .ep-find__count, .ep-find__lists { padding: 24px 20px; } .ep-find__count { flex-basis: 100%; } }

@media (prefers-reduced-motion: reduce) {
	.ep-live__line, .ep-live__area, .ep-live__dot, .ep-live__sticker, .ep-pc.is-playing .ep-pc__tab.is-active .ep-pc__fill, .ep-pc.is-js .ep-pc__panel.is-active, .ep-find__res.is-in { animation: none; }
	.ep-live__toast { animation: none; }
	.ep-live__toast:first-child { opacity: 1; }
	.ep-sim__seg, .ep-sim__col, .ep-pub__fill { transition: none; }
}

/* =====================================================================
   v1.5 · Costi e Servizi interattivi
   ===================================================================== */
.ep-green { color: var(--ep-green); }
.ep-red { color: var(--ep-red); }
@keyframes ep-pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }

/* Formula costi */
.ep-formula { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.ep-formula__tile { flex: 1 1 240px; min-width: 0; padding: 26px 28px; border-radius: 12px; display: flex; flex-direction: column; gap: 6px; animation: ep-pop .5s cubic-bezier(.2, .7, .2, 1) both; }
.ep-formula > :nth-child(2) { animation-delay: .1s; } .ep-formula > :nth-child(3) { animation-delay: .2s; } .ep-formula > :nth-child(4) { animation-delay: .3s; } .ep-formula > :nth-child(5) { animation-delay: .4s; }
.ep-formula__tile--white { background: var(--ep-white); color: var(--ep-text); }
.ep-formula__tile--blue { background: var(--ep-blue); color: #E3ECF8; }
.ep-formula__tile--yellow { background: var(--ep-yellow); color: var(--ep-ink); }
.ep-formula__big { font-size: clamp(2.5rem, 4vw, 3.25rem); line-height: 1; font-weight: 800; }
.ep-formula__big--red { color: var(--ep-red); }
.ep-formula__big--yellow { color: var(--ep-yellow); }
.ep-formula__sub { font-size: .875rem; }
.ep-formula__tile--white .ep-formula__sub { color: var(--ep-muted); }
.ep-formula__op { flex: 0 0 48px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; font-weight: 800; color: var(--ep-yellow); animation: ep-pop .5s both; }
@media (max-width: 781px) { .ep-formula__op { flex-basis: 100%; height: 36px; font-size: 2.5rem; } }

/* Primo anno */
.ep-anno { display: flex; flex-wrap: wrap; gap: 16px; }
.ep-anno__main { flex: 2 1 560px; min-width: 0; padding: 32px; border: 1px solid var(--ep-line); border-radius: 12px; display: flex; flex-direction: column; gap: 22px; }
.ep-anno__months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; }
.ep-anno__m { height: 96px; min-height: 44px; border: 0; border-radius: 6px; background: var(--ep-ink); color: var(--ep-white); font: inherit; font-size: .8125rem; font-weight: 800; cursor: pointer; display: flex; align-items: flex-end; justify-content: center; padding: 0 0 8px; transition: box-shadow .15s, transform .15s; }
.ep-anno__m.is-free { height: 56px; background: var(--ep-yellow); color: var(--ep-ink); }
.ep-anno__m:hover { transform: translateY(-2px); }
.ep-anno__m.is-active { box-shadow: 0 0 0 3px var(--ep-white), 0 0 0 6px var(--ep-blue); }
.ep-anno__m:focus-visible { outline: 3px solid var(--ep-yellow); outline-offset: 4px; }
.ep-anno__legend { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .8125rem; color: var(--ep-text-2); }
.ep-anno__legend span { display: inline-flex; align-items: center; gap: 6px; }
.ep-anno__legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--ep-ink); }
.ep-anno__legend i.is-free { background: var(--ep-yellow); }
.ep-anno__detail { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 10px; background: var(--ep-grey); }
.ep-anno__detail.is-free { background: #FFF6D9; }
.ep-anno__detail > span:last-child { display: flex; flex-direction: column; }
.ep-anno__detail b { font-size: 1.125rem; }
.ep-anno__detail [data-d] { font-size: .9375rem; color: var(--ep-text-2); }
.ep-anno__n { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--ep-white); display: flex; align-items: center; justify-content: center; font-size: 1.125rem; font-weight: 800; }
.ep-anno__sum { flex: 1 1 300px; min-width: 0; padding: 32px; border-radius: 12px; background: var(--ep-ink); color: #E6E7EA; display: flex; flex-direction: column; gap: 16px; }
.ep-anno__sum .ep-eyebrow { color: #CACBCD; }
.ep-anno__total { font-size: .9375rem; color: #CACBCD; }
.ep-anno__total b { font-size: clamp(2.75rem, 5vw, 3.5rem); line-height: 1; font-weight: 800; color: var(--ep-yellow); margin-right: 6px; }
.ep-anno__save b { color: var(--ep-white); }
.ep-anno__bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: #454C55; }
.ep-anno__bar span { background: var(--ep-yellow); }
.ep-anno__scale { display: flex; justify-content: space-between; font-size: .8125rem; color: #CACBCD; margin-top: -8px; }
.ep-anno__sum .ep-btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 781px) {
	.ep-anno__main, .ep-anno__sum { padding: 24px 18px; }
	.ep-anno__months { gap: 3px; }
	.ep-anno__m { height: 80px; font-size: .75rem; }
	.ep-anno__m.is-free { height: 48px; }
}

/* Su ogni vendita */
.ep-sale { display: flex; flex-wrap: wrap; gap: 16px; }
.ep-sale__in { flex: 1 1 420px; min-width: 0; padding: 32px; background: var(--ep-grey); border-radius: 12px; display: flex; flex-direction: column; gap: 24px; }
.ep-sale__ex { display: flex; flex-wrap: wrap; gap: 8px; }
.ep-sale__btn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 14px; border: 2px solid var(--ep-line); border-radius: 10px; background: var(--ep-white); color: var(--ep-ink); font: inherit; text-align: left; cursor: pointer; }
.ep-sale__btn span { font-size: .8125rem; font-weight: 600; }
.ep-sale__btn b { font-size: 1rem; font-weight: 800; }
.ep-sale__btn:hover { border-color: var(--ep-ink); }
.ep-sale__btn.is-active { background: var(--ep-ink); border-color: var(--ep-ink); color: var(--ep-white); }
.ep-sale__btn:focus-visible { outline: 3px solid var(--ep-yellow); outline-offset: 2px; }
.ep-sale__out { flex: 1 1 420px; min-width: 0; padding: 32px; border: 1px solid var(--ep-line); border-radius: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.ep-donut { --k: 93%; width: 220px; height: 220px; flex: none; margin: 0 auto; border-radius: 50%; background: conic-gradient(var(--ep-blue) 0 var(--k), var(--ep-red) var(--k) 100%); display: flex; align-items: center; justify-content: center; }
.ep-donut__hole { width: 150px; height: 150px; border-radius: 50%; background: var(--ep-white); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: .8125rem; color: var(--ep-muted); }
.ep-donut__hole b { font-size: 1.5rem; font-weight: 800; color: var(--ep-blue); font-variant-numeric: tabular-nums; }
.ep-donut__hole span:last-child { font-weight: 700; }
.ep-sale__rows { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ep-sale__row { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ep-grey); }
.ep-sale__row span { display: inline-flex; align-items: center; gap: 8px; }
.ep-sale__row b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ep-sale__row--total { border: 0; padding: 0; font-weight: 700; }
.ep-sale__row--total b { font-size: 1.25rem; color: var(--ep-blue); }
.ep-sale__dot { width: 12px; height: 12px; border-radius: 3px; background: var(--ep-blue); }
.ep-sale__dot--red { background: var(--ep-red); }
.ep-sale__pdf { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; align-self: flex-start; color: var(--ep-blue); font-weight: 800; text-decoration: none; }
.ep-sale__pdf:hover { text-decoration: underline; }
@media (max-width: 781px) { .ep-sale__in, .ep-sale__out { padding: 24px 18px; } }

/* Cosa paghi, cosa no */
.ep-paghi { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.ep-paghi__card { padding: 32px; border-radius: 12px; display: flex; flex-direction: column; gap: 18px; }
.ep-paghi__card--pay { border: 2px solid var(--ep-ink); }
.ep-paghi__card--free { background: #E9F5EC; }
.ep-paghi__head { display: flex; align-items: center; gap: 12px; font-size: 1.375rem; font-weight: 800; }
.ep-paghi__ico { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--ep-ink); color: var(--ep-yellow); display: flex; align-items: center; justify-content: center; font-size: 1.125rem; font-weight: 800; }
.ep-paghi__ico--green { background: var(--ep-green); color: var(--ep-white); }
.ep-paghi__row { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--ep-line); }
.ep-paghi__row small { display: block; font-size: .875rem; color: var(--ep-muted); }
.ep-paghi__row > b { white-space: nowrap; }
.ep-paghi__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px 20px; }
.ep-paghi__list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.ep-paghi__list .ep-icon { color: var(--ep-green); margin-top: 1px; }
@media (max-width: 781px) { .ep-paghi__card { padding: 24px 20px; } }

/* Dall'ordine al conto */
.ep-flow { position: relative; padding: 36px 32px 32px; border-radius: 12px; background: var(--ep-grey); }
.ep-flow__track { position: absolute; left: 10%; right: 10%; top: 62px; height: 4px; border-radius: 999px; background: var(--ep-line); }
.ep-flow__fill { display: block; height: 100%; width: var(--f, 0%); border-radius: 999px; background: var(--ep-yellow); transition: width .4s ease; }
.ep-flow__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ep-flow__step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.ep-flow__node { width: 56px; height: 56px; border-radius: 50%; border: 4px solid var(--ep-line); background: var(--ep-white); color: var(--ep-ink); font: inherit; font-size: 1.125rem; font-weight: 800; cursor: pointer; transition: background .2s, border-color .2s; }
.ep-flow__step.is-done .ep-flow__node { background: var(--ep-ink); border-color: var(--ep-ink); color: var(--ep-white); }
.ep-flow__step.is-active .ep-flow__node { background: var(--ep-yellow); border-color: var(--ep-ink); animation: ep-pulse 1.8s ease-in-out infinite; }
.ep-flow__node:focus-visible { outline: 3px solid var(--ep-blue); outline-offset: 3px; }
.ep-flow__name { font-size: .9375rem; }
.ep-flow__text { font-size: .875rem; color: var(--ep-text-2); }
.ep-flow.is-js .ep-flow__text { display: none; }
.ep-flow__detail { margin-top: 24px; padding: 20px 24px; border-radius: 10px; background: var(--ep-white); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.ep-flow__detail b { font-size: 1.125rem; color: var(--ep-blue); }
.ep-flow__detail span { color: var(--ep-text-2); }
@media (max-width: 781px) {
	.ep-flow { padding: 28px 12px 20px; }
	.ep-flow__track { top: 48px; }
	.ep-flow__node { width: 40px; height: 40px; border-width: 3px; font-size: .9375rem; }
	.ep-flow__name { font-size: .75rem; }
	.ep-flow:not(.is-js) .ep-flow__list { grid-template-columns: 1fr; text-align: left; }
}

/* Servizi: numeri */
.ep-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.ep-nums__t { box-shadow: 0 18px 40px -18px rgba(31, 35, 40, .35); }
.ep-nums .ep-tile--outline { border: 0; box-shadow: 0 18px 40px -18px rgba(31, 35, 40, .35), 0 0 0 1px var(--ep-line); }
.ep-nums .ep-tile--outline > span:last-child { color: var(--ep-text-2); font-size: .9375rem; }
.ep-nums .ep-tile--blue { box-shadow: 0 18px 40px -18px rgba(0, 70, 149, .6); }
.ep-nums .ep-tile--yellow { box-shadow: 0 18px 40px -18px rgba(251, 189, 11, .8); }
.ep-nums .ep-tile__big { font-size: clamp(2.5rem, 3.4vw, 3rem); line-height: 1; }
.ep-nums .ep-tile__big.ep-green { color: var(--ep-green); }

/* Servizi: esigenze e card con punti */
.ep-needs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.ep-need { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 2px solid var(--ep-line); border-radius: 10px; background: var(--ep-white); color: var(--ep-ink); font: inherit; font-weight: 800; text-align: left; cursor: pointer; }
.ep-need:hover { border-color: var(--ep-ink); }
.ep-need.is-active { background: var(--ep-ink); border-color: var(--ep-ink); color: var(--ep-white); }
.ep-need:focus-visible { outline: 3px solid var(--ep-yellow); outline-offset: 2px; }
.ep-need__ico { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--ep-grey); color: var(--ep-ink); display: flex; align-items: center; justify-content: center; }
.ep-need.is-active .ep-need__ico { background: var(--ep-yellow); }
.ep-card__points { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--ep-grey); font-size: .875rem; }
.ep-card__point { display: flex; gap: 10px; align-items: flex-start; }
.ep-card__point .ep-icon { color: var(--ep-blue); margin-top: 1px; }
.ep-card--service { animation: ep-fade .35s ease-out both; }

/* Servizi: un servizio per ogni fase */
.ep-ciclo { display: flex; flex-direction: column; gap: 24px; color: var(--ep-white); }
.ep-ciclo__svcs { display: flex; flex-wrap: wrap; gap: 10px; }
.ep-ciclo__svc { min-height: 48px; padding: 0 20px; border-radius: 999px; border: 2px solid #454C55; background: transparent; color: var(--ep-white); font: inherit; font-weight: 800; cursor: pointer; }
.ep-ciclo__svc:hover { border-color: #A9ADB2; }
.ep-ciclo__svc.is-active { background: var(--ep-yellow); border-color: var(--ep-yellow); color: var(--ep-ink); }
.ep-ciclo__svc:focus-visible { outline: 3px solid var(--ep-white); outline-offset: 2px; }
.ep-ciclo__stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.ep-ciclo__stage { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; border-radius: 12px; border: 2px solid #353B44; opacity: .55; transition: background .25s, border-color .25s, transform .25s, opacity .25s; }
.ep-ciclo__stage.is-on { opacity: 1; border-color: var(--ep-yellow); background: var(--ep-ink); transform: translateY(-4px); }
.ep-ciclo__top { display: flex; align-items: center; justify-content: space-between; }
.ep-ciclo__n { width: 32px; height: 32px; border-radius: 50%; background: #6B727A; color: var(--ep-ink); display: flex; align-items: center; justify-content: center; font-size: .875rem; font-weight: 800; }
.ep-ciclo__stage.is-on .ep-ciclo__n { background: var(--ep-yellow); }
.ep-ciclo__tag { font-size: .75rem; font-weight: 800; color: var(--ep-yellow); text-transform: uppercase; letter-spacing: .06em; visibility: hidden; }
.ep-ciclo__stage.is-on .ep-ciclo__tag { visibility: visible; }
.ep-ciclo__stage b { font-size: 1.125rem; }
.ep-ciclo__text { font-size: .875rem; color: #CACBCD; }
.ep-ciclo__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: 12px; background: var(--ep-ink); font-size: 1.0625rem; }
.ep-ciclo__foot b { color: var(--ep-yellow); }

@media (prefers-reduced-motion: reduce) {
	.ep-formula__tile, .ep-formula__op, .ep-flow__step.is-active .ep-flow__node, .ep-card--service { animation: none; }
	.ep-anno__m, .ep-flow__fill, .ep-ciclo__stage { transition: none; }
}

/* 1.5.6 · Prezzi con lo stesso carattere dei prezzi di eprice.it */
.ep-price__value { font-family: var(--ep-font-price); }
