/**
 * Pagina Condizioni di vendita — skin scura eBoots (page-termini-e-condizioni.php).
 * Mobile-first, colonna unica di lettura (max 760px). Token: assets/css/tokens.css.
 */

/* Sfondo scuro su tutta la pagina + via il titolo/hero Blocksy (come contatti.css). */
body.eb-legal-page,
body.eb-legal-page #main.site-main {
	background: var(--bg);
}
body.eb-legal-page .eb-legal :is(h1, h2, h3) {
	color: var(--txt);
}
body.eb-legal-page .page-title,
body.eb-legal-page .entry-header > .page-title,
body.eb-legal-page .hero-section {
	display: none;
}

.eb-legal {
	max-width: 760px;
	margin: 0 auto;
	padding: clamp(24px, 5vw, 56px) var(--space-5, 20px) 64px;
	color: var(--txt);
	font-family: var(--font-ui, 'Saira', system-ui, sans-serif);
}

/* ---------------- hero ---------------- */
.eb-legal__hero {
	text-align: center;
	max-width: 640px;
	margin: 0 auto clamp(20px, 4vw, 36px);
}
.eb-legal__kicker {
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--volt);
	margin: 0 0 10px;
}
.eb-legal__title {
	font-family: var(--font-d, 'Saira Condensed', sans-serif);
	font-weight: 800;
	font-size: clamp(34px, 10vw, 58px);
	line-height: 0.95;
	text-transform: uppercase;
	margin: 0 0 14px;
}
.eb-legal__sub {
	font-size: 15px;
	line-height: 1.5;
	color: var(--muted);
	margin: 0;
}

/* ---------------- highlights ---------------- */
.eb-legal__high {
	list-style: none;
	margin: 0 0 var(--space-4, 16px);
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-2, 8px);
}
.eb-legal__high li {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-md, 10px);
	background: var(--surface);
	font-size: 13.5px;
	font-weight: 600;
}
@media (min-width: 640px) {
	.eb-legal__high {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ---------------- nav ancore ---------------- */
.eb-legal__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-2, 8px);
	margin-bottom: var(--space-5, 24px);
}
.eb-legal__nav a {
	padding: 8px 16px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-pill, 999px);
	color: var(--txt);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: border-color 0.15s ease, color 0.15s ease;
}
.eb-legal__nav a:hover,
.eb-legal__nav a:focus-visible {
	color: var(--volt);
	border-color: var(--volt);
}

/* ---------------- card sezione ---------------- */
.eb-legal__card {
	border: 1px solid var(--line);
	border-radius: var(--radius-lg, 16px);
	background: var(--surface);
	padding: clamp(18px, 3vw, 28px);
	/* Ancora leggibile sotto l'header sticky quando si arriva da #spedizioni & co. */
	scroll-margin-top: 96px;
}
.eb-legal__card + .eb-legal__card {
	margin-top: var(--space-4, 16px);
}
.eb-legal__card-t {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-d, sans-serif);
	font-weight: 800;
	font-size: 20px;
	text-transform: uppercase;
	margin: 0 0 14px;
}
.eb-legal__card-ico {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: var(--surface-2);
	display: grid;
	place-items: center;
	color: var(--volt);
}
.eb-legal__sub-t {
	font-family: var(--font-ui, sans-serif);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--volt);
	margin: 22px 0 8px;
}
.eb-legal__card p {
	margin: 0 0 10px;
	font-size: 14.5px;
	line-height: 1.65;
	color: #cfcfcf;
}
.eb-legal__card strong {
	color: var(--txt);
	font-weight: 700;
}
.eb-legal__list {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
}
.eb-legal__list li {
	position: relative;
	padding: 4px 0 4px 22px;
	font-size: 14.5px;
	line-height: 1.6;
	color: #cfcfcf;
}
.eb-legal__list li::before {
	content: '';
	position: absolute;
	left: 4px;
	top: 13px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--volt);
}
.eb-legal__note {
	font-size: 13px;
	color: var(--muted);
}

/* Box esempio contrassegno */
.eb-legal__example {
	margin: 10px 0 12px;
	padding: 12px 16px;
	border: 1px solid var(--line);
	border-left: 3px solid var(--volt);
	border-radius: var(--radius-md, 10px);
	background: var(--surface-2);
}
.eb-legal__example-k {
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--volt);
	margin: 0 0 4px;
}
.eb-legal__example p:last-child {
	margin-bottom: 0;
}

/* ---------------- CTA finale ---------------- */
.eb-legal__cta {
	margin-top: var(--space-6, 32px);
	padding: clamp(22px, 4vw, 32px);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg, 16px);
	background:
		linear-gradient(100deg, rgba(199, 247, 63, 0.12), rgba(43, 230, 163, 0.07)),
		var(--surface-2);
	text-align: center;
}
.eb-legal__cta-t {
	font-family: var(--font-d, sans-serif);
	font-weight: 800;
	font-size: 24px;
	text-transform: uppercase;
	margin: 0 0 6px;
}
.eb-legal__cta-p {
	font-size: 14px;
	color: var(--muted);
	margin: 0 0 16px;
}
.eb-legal__cta-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-3, 12px);
}
.eb-legal__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	cursor: pointer;
	text-decoration: none;
	border-radius: var(--radius-pill, 999px);
	font-family: var(--font-d, sans-serif);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 15px;
	padding: 13px 26px;
	transition: filter 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.eb-legal__btn--primary {
	background: var(--volt);
	color: #0a0a0a;
}
.eb-legal__btn--primary:hover {
	color: #0a0a0a;
	filter: brightness(1.04);
}
.eb-legal__btn--ghost {
	border: 1px solid var(--line-strong);
	color: var(--txt);
}
.eb-legal__btn--ghost:hover,
.eb-legal__btn--ghost:focus-visible {
	color: var(--volt);
	border-color: var(--volt);
}

/* ---------------- riga legale (P.IVA) ---------------- */
.eb-legal__legal {
	margin: var(--space-4, 16px) 0 0;
	text-align: center;
	font-size: 11.5px;
	color: var(--muted);
	letter-spacing: 0.02em;
}
