/* =========================================================
   Efelidi Child - design system
   Palette: ruggine #b73c24 · ardesia #3e5568/#526d85 · crema
   ========================================================= */

:root:root {
	--efx-rust: #b73c24;
	--efx-rust-dark: #96301c;
	--efx-slate: #3e5568;
	--efx-slate-soft: #526d85;
	--efx-mist: #c8d3dc;
	--efx-ink: #1f2a33;
	--efx-sand: #ece5db;
	--efx-cream: #f8f4ee;
	--efx-paper: #fffdf9;
	--efx-display: 'Gilda Display', Georgia, serif;
	--efx-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
	--efx-mono: 'DM Mono', ui-monospace, monospace;
	--efx-radius: 22px;
	--efx-ease: cubic-bezier(.2, .7, .2, 1);

	/* Blocksy palette */
	--theme-palette-color-1: var(--efx-rust);
	--theme-palette-color-2: var(--efx-rust-dark);
	--theme-palette-color-3: #3a454e;
	--theme-palette-color-4: var(--efx-ink);
	--theme-palette-color-5: #e3dbcf;
	--theme-palette-color-6: var(--efx-cream);
	--theme-palette-color-7: var(--efx-paper);
	--theme-palette-color-8: #ffffff;
	--theme-font-family: var(--efx-body);
	--theme-button-border-radius: 999px;
	--theme-form-field-border-radius: 12px;
}

body.efx { font-family: var(--efx-body); color: var(--efx-ink); background: var(--efx-paper); -webkit-font-smoothing: antialiased; }
body.efx ::selection { background: var(--efx-rust); color: #fff; }

body.efx :is(h1, h2, h3, h4, h5, h6),
body.efx .woocommerce-loop-product__title,
body.efx .product_title {
	--theme-font-family: var(--efx-display);
	--theme-font-weight: 400;
	--theme-text-transform: none;
	font-family: var(--efx-display);
	font-weight: 400;
	letter-spacing: .005em;
	line-height: 1.12;
	color: inherit;
}

/* ---------- Header (Blocksy) ---------- */
body.efx .ct-header [data-row*="middle"] { background-color: rgba(255, 253, 249, .96); }
body.efx .ct-header [data-id="menu"] > ul > li > a,
body.efx .ct-header .ct-menu-link {
	--theme-font-family: var(--efx-mono);
	--theme-font-size: 13px;
	--theme-font-weight: 400;
	--theme-text-transform: uppercase;
	--theme-letter-spacing: .04em;
	font-family: var(--efx-mono);
	text-transform: uppercase;
	letter-spacing: .04em;
}
body.efx .ct-header [data-id="menu"] > ul > li.current-menu-item > a { color: var(--efx-rust); }
body.efx .ct-header .ct-header-cta .ct-button,
body.efx .ct-header [data-id="button"] .ct-button {
	background: var(--efx-rust); color: #fff; border-radius: 999px; font-size: 11px;
	letter-spacing: .08em; text-transform: uppercase; padding: 0 18px; min-height: 40px;
}
body.efx .ct-header [data-id="button"] .ct-button:hover { background: var(--efx-rust-dark); }

/* ---------- Bottoni ---------- */
.efx-btn,
body.efx .wp-block-button[class*="is-style-efx"] .wp-block-button__link {
	display: inline-flex; align-items: center; gap: .5rem;
	border-radius: 999px; padding: .85rem 1.4rem; border: 1px solid transparent;
	font-family: var(--efx-body); font-size: .82rem; font-weight: 500;
	letter-spacing: .07em; text-transform: uppercase; text-decoration: none; line-height: 1.2;
	cursor: pointer; transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.efx-btn:disabled { opacity: .4; cursor: not-allowed; }
body.efx .is-style-efx-rust .wp-block-button__link, .efx-btn--rust { background: var(--efx-rust); color: #fff; }
body.efx .is-style-efx-rust .wp-block-button__link:hover, .efx-btn--rust:hover:not(:disabled) { background: var(--efx-rust-dark); color: #fff; box-shadow: 0 10px 26px -12px rgba(183, 60, 36, .8); }
body.efx .is-style-efx-dark .wp-block-button__link { background: var(--efx-ink); color: #fff; }
body.efx .is-style-efx-dark .wp-block-button__link:hover { background: var(--efx-rust); color: #fff; }
body.efx .is-style-efx-light .wp-block-button__link, .efx-btn--light { background: var(--efx-paper); color: var(--efx-ink); }
body.efx .is-style-efx-light .wp-block-button__link:hover, .efx-btn--light:hover:not(:disabled) { background: var(--efx-rust); color: #fff; }
body.efx .is-style-efx-outline .wp-block-button__link { background: transparent; color: var(--efx-ink); border-color: var(--efx-ink); }
body.efx .is-style-efx-outline .wp-block-button__link:hover { background: var(--efx-ink); color: #fff; }
body.efx .is-style-efx-ghost .wp-block-button__link, .efx-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
body.efx .is-style-efx-ghost .wp-block-button__link:hover, .efx-btn--ghost:hover { background: #fff; color: var(--efx-ink); }

/* ---------- Template a tutta larghezza ---------- */
body.efx-fullwidth #main, body.efx-fullwidth .site-main { padding-top: 0 !important; padding-bottom: 0 !important; }
.efx-page > .alignfull { margin-top: 0; margin-bottom: 0; width: 100%; max-width: none; }
.efx-page > * + * { margin-block-start: 0; }

/* ---------- Sezioni ---------- */
.efx-section { position: relative; padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 4vw, 2.5rem); }
.efx-section.efx-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.efx-section :is(h1, h2) { font-size: clamp(2.2rem, 4.2vw, 3.6rem); margin: 0 0 1.25rem; }
.efx-section h1.efx-xl { font-size: clamp(2.6rem, 5.4vw, 4.2rem); }
.efx-section h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin: 0 0 .75rem; }
.efx-section p { font-size: 1.0625rem; line-height: 1.75; }
.efx-lead { font-size: 1.2rem !important; opacity: .8; max-width: 38rem; }
.efx-center { text-align: center; }
.efx-center .efx-lead { margin-inline: auto; }
.efx-center .wp-block-buttons { justify-content: center; }
.efx-eyebrow, .efx-section p.efx-eyebrow {
	display: inline-block; font-family: var(--efx-mono); font-size: .75rem; letter-spacing: .28em;
	text-transform: uppercase; opacity: .75; margin: 0 0 1rem; line-height: 1.4;
}
.efx-eyebrow--rust { color: var(--efx-rust); opacity: 1; letter-spacing: .2em; }
.has-efx-ink-background-color .efx-eyebrow, .has-efx-slate-background-color .efx-eyebrow { color: var(--efx-mist); opacity: 1; }
.has-efx-ink-background-color p, .has-efx-slate-background-color p { color: rgba(255, 255, 255, .78); }
.efx-grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.efx-grain > * { position: relative; z-index: 1; }

/* Immagini */
body.efx .is-style-efx-rounded img, .efx-media img { border-radius: var(--efx-radius); }
.efx-media img, .efx-cover-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.efx-portrait img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.efx-landscape img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* Split immagine / testo a tutta larghezza */
.efx-split.wp-block-columns { gap: 0 !important; margin: 0; }
.efx-split > .wp-block-column { display: flex; flex-direction: column; justify-content: center; }
.efx-split > .wp-block-column:has(> figure) { min-height: clamp(380px, 52vw, 680px); position: relative; }
.efx-split > .wp-block-column > figure { position: absolute; inset: 0; margin: 0; }
.efx-split > .wp-block-column > figure img { width: 100%; height: 100%; object-fit: cover; }
.efx-split > .wp-block-column:not(:has(> figure)) { padding: clamp(3.5rem, 7vw, 7rem) clamp(1.5rem, 7vw, 7rem); }
.efx-split > .wp-block-column:not(:has(> figure)) > * { max-width: 34rem; }
@media (max-width: 781px) { .efx-split > .wp-block-column:has(> figure) { min-height: 380px; } }

/* ---------- Hero con collage ---------- */
.efx-hero { overflow: hidden; padding-bottom: 0 !important; }
.efx-collage { margin: clamp(2.5rem, 5vw, 4rem) calc(50% - 50vw) 0 !important; width: 100vw; max-width: 100vw !important; overflow: hidden; padding-bottom: clamp(3.5rem, 6vw, 5rem); }
.efx-collage__track { display: flex; align-items: flex-start; width: max-content; padding-left: 2rem; animation: efx-marquee 70s linear infinite; }
.efx-collage__track:hover { animation-play-state: paused; }
.efx-collage figure { flex: 0 0 auto; width: clamp(200px, 17vw, 300px); margin: 0 -2.5rem 0 0 !important; border-radius: var(--efx-radius); overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6); transition: transform .5s var(--efx-ease); }
.efx-collage figure:hover { transform: translateY(-8px); z-index: 3; }
.efx-collage figure img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.efx-collage figure:nth-child(7n+1) { height: clamp(300px, 26vw, 440px); }
.efx-collage figure:nth-child(7n+2) { height: clamp(230px, 19vw, 330px); margin-top: 6rem !important; z-index: 1; }
.efx-collage figure:nth-child(7n+3) { height: clamp(270px, 23vw, 400px); margin-top: 2.5rem !important; z-index: 2; }
.efx-collage figure:nth-child(7n+4) { height: clamp(210px, 17vw, 300px); margin-top: 8rem !important; }
.efx-collage figure:nth-child(7n+5) { height: clamp(290px, 24vw, 420px); margin-top: 1rem !important; z-index: 1; }
.efx-collage figure:nth-child(7n+6) { height: clamp(240px, 20vw, 350px); margin-top: 5rem !important; z-index: 2; }
.efx-collage figure:nth-child(7n) { height: clamp(270px, 22vw, 380px); margin-top: 2rem !important; }
@keyframes efx-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Percorso (lista numerata) ---------- */
ol.efx-journey { list-style: none; counter-reset: efx; margin: 2rem 0 0; padding: 0; border-top: 1px solid currentColor; border-top-color: rgba(127, 127, 127, .25); }
ol.efx-journey > li { counter-increment: efx; display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid rgba(127, 127, 127, .25); font-size: 1.05rem; line-height: 1.7; transition: transform .3s var(--efx-ease); }
ol.efx-journey > li::before { content: "0" counter(efx); font-family: var(--efx-display); font-size: 2.6rem; line-height: 1; color: var(--efx-rust); }
ol.efx-journey > li:hover { transform: translateX(4px); }
ol.efx-journey > li strong { display: block; font-family: var(--efx-display); font-weight: 400; font-size: 1.6rem; line-height: 1.2; margin-bottom: .35rem; }
ol.efx-journey.efx-journey--compact > li { grid-template-columns: 3rem 1fr; padding: 1.1rem 0; }
ol.efx-journey.efx-journey--compact > li::before { font-family: var(--efx-mono); font-size: .9rem; padding-top: .55rem; }

/* Pilastri / schede */
.efx-pillars > .wp-block-column { border-top: 1px solid rgba(31, 42, 51, .15); padding-top: 2rem; }
body.efx .is-style-efx-card { background: var(--efx-paper); border-radius: var(--efx-radius); padding: clamp(1.75rem, 3vw, 2.5rem); box-shadow: 0 24px 48px -32px rgba(31, 42, 51, .45); transition: box-shadow .3s ease, transform .3s var(--efx-ease); }
body.efx .is-style-efx-card:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -30px rgba(31, 42, 51, .55); }

/* Card con immagine e testo sovrapposto */
.efx-overlay-card { position: relative; border-radius: var(--efx-radius); overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1.75rem, 3vw, 2.5rem) !important; color: #fff; }
.efx-overlay-card > figure { position: absolute; inset: 0; margin: 0 !important; z-index: 0; }
.efx-overlay-card > figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--efx-ease); }
.efx-overlay-card:hover > figure img { transform: scale(1.05); }
.efx-overlay-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(31, 42, 51, .9), rgba(31, 42, 51, .2) 55%, transparent); z-index: 1; }
.efx-overlay-card > :not(figure) { position: relative; z-index: 2; color: #fff; }
.efx-overlay-card p { color: rgba(255, 255, 255, .82) !important; }

/* ---------- Testimonianze ---------- */
.efx-testimonials { text-align: center; }
.efx-testimonials .wp-block-quote { display: none; border: 0; margin: 2.5rem auto 0; padding: 0; max-width: 52rem; }
.efx-testimonials .wp-block-quote.is-active, .efx-testimonials:not(.efx-ready) .wp-block-quote:first-of-type { display: block; animation: efx-fade .7s ease both; }
.efx-testimonials .wp-block-quote p { font-family: var(--efx-display); font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.5; }
.efx-testimonials .wp-block-quote cite { display: block; margin-top: 1.5rem; font-family: var(--efx-mono); font-style: normal; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; }
.efx-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 2.5rem; }
.efx-dots button { width: 12px; height: 6px; border-radius: 99px; border: 0; padding: 0; background: rgba(31, 42, 51, .25); cursor: pointer; transition: width .4s ease, background-color .4s ease; }
.efx-dots button.is-active { width: 32px; background: var(--efx-rust); }
@keyframes efx-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Journal ---------- */
.efx-journal-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 2.5rem; }
.efx-post-card { display: block; text-decoration: none; color: inherit; }
.efx-post-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px; background: var(--efx-sand); margin-bottom: 1.25rem; }
.efx-post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--efx-ease); }
.efx-post-card:hover img { transform: scale(1.05); }
.efx-post-card .efx-eyebrow { font-size: .7rem; margin-bottom: .4rem; }
.efx-post-card__title { display: block; font-family: var(--efx-display); font-size: 1.5rem; line-height: 1.3; transition: color .25s ease; }
.efx-post-card:hover .efx-post-card__title { color: var(--efx-rust); }

/* ---------- WooCommerce: card prodotto ---------- */
body.efx ul.products li.product figure, body.efx ul.products li.product .ct-media-container { border-radius: 18px; overflow: hidden; background: var(--efx-sand); }
body.efx ul.products li.product img { transition: transform 1.2s var(--efx-ease); }
body.efx ul.products li.product:hover img { transform: scale(1.04); }
body.efx ul.products li.product .woocommerce-loop-product__title { font-size: 1.3rem; margin-top: .9rem; }
body.efx ul.products li.product .woocommerce-loop-product__title:hover { color: var(--efx-rust); }
body.efx .onsale, body.efx .ct-woo-badge-onsale { background: var(--efx-rust); border-radius: 99px; font-family: var(--efx-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
body.efx .single_add_to_cart_button, body.efx .checkout-button, body.efx #place_order { border-radius: 999px !important; background: var(--efx-rust) !important; text-transform: uppercase; letter-spacing: .07em; font-size: .85rem; }
body.efx .single_add_to_cart_button:hover, body.efx .checkout-button:hover, body.efx #place_order:hover { background: var(--efx-rust-dark) !important; }
/* Carosello orizzontale dentro .efx-products */
.efx-products ul.products { display: flex !important; grid-template-columns: none !important; gap: 1.75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; }
.efx-products ul.products::-webkit-scrollbar { display: none; }
.efx-products ul.products li.product { flex: 0 0 clamp(230px, 23%, 340px); scroll-snap-align: start; margin: 0 !important; }
.efx-rail-nav { display: flex; justify-content: flex-end; gap: .75rem; margin-top: 1.75rem; }
.efx-rail-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(31, 42, 51, .25); background: transparent; color: var(--efx-ink); cursor: pointer; font-size: 1rem; transition: background-color .25s ease, color .25s ease; }
.efx-rail-nav button:hover { background: var(--efx-ink); color: #fff; }

/* ---------- Form: campi ---------- */
.efx-field { width: 100%; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); color: #fff; padding: .95rem 1.1rem; font: inherit; font-size: 1rem; outline: none; transition: border-color .25s ease, background-color .25s ease; }
.efx-field::placeholder { color: rgba(255, 255, 255, .5); }
.efx-field:focus { border-color: var(--efx-rust); background: rgba(255, 255, 255, .08); }
.efx-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Configuratore percorso ---------- */
.efx-config { position: relative; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); border-radius: 28px; padding: clamp(1.5rem, 4vw, 3rem); color: #fff; }
.efx-config__top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.efx-config__top .efx-eyebrow { margin: 0; color: rgba(255, 255, 255, .6); }
.efx-config__bar { display: flex; gap: 6px; flex: 1; max-width: 18rem; }
.efx-config__bar i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .15); transition: background-color .5s ease; }
.efx-config__bar i.is-on { background: var(--efx-rust); }
.efx-step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.efx-step.is-active { display: block; animation: efx-fade .5s ease both; }
.efx-step__title { font-family: var(--efx-display); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.2; margin: 2rem 0 1.75rem; padding: 0; color: #fff; }
.efx-grid-2, .efx-grid-3 { display: grid; gap: .75rem; }
@media (min-width: 768px) { .efx-grid-2 { grid-template-columns: 1fr 1fr; } .efx-grid-3 { grid-template-columns: repeat(3, 1fr); } .efx-span-2 { grid-column: span 2; } }
.efx-mt { margin-top: 2rem !important; }
.efx-choice { cursor: pointer; display: block; }
.efx-choice input, .efx-pill-opt input, .efx-swatch input { position: absolute; opacity: 0; pointer-events: none; }
.efx-choice__box { display: flex; align-items: center; gap: 1rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; padding: 1.15rem 1.25rem; transition: border-color .25s ease, background-color .25s ease; }
.efx-choice:hover .efx-choice__box { border-color: rgba(255, 255, 255, .5); }
.efx-choice__label { flex: 1; font-size: 1rem; }
.efx-choice__tick { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); position: relative; transition: background-color .25s ease, border-color .25s ease; }
.efx-choice input:checked + .efx-choice__box { border-color: var(--efx-rust); background: rgba(183, 60, 36, .08); }
.efx-choice input:checked + .efx-choice__box .efx-choice__tick { background: var(--efx-rust); border-color: var(--efx-rust); }
.efx-choice input:checked + .efx-choice__box .efx-choice__tick::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.efx-choice input:focus-visible + .efx-choice__box, .efx-pill-opt input:focus-visible + span, .efx-swatch input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.efx-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.efx-pill-opt { cursor: pointer; }
.efx-pill-opt span { display: inline-block; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: .65rem 1.2rem; font-size: .95rem; transition: background-color .25s ease, border-color .25s ease; }
.efx-pill-opt:hover span { border-color: rgba(255, 255, 255, .6); }
.efx-pill-opt input:checked + span { background: var(--efx-rust); border-color: var(--efx-rust); color: #fff; }
.efx-swatches { display: flex; flex-wrap: wrap; gap: .75rem; }
.efx-swatch { cursor: pointer; }
.efx-swatch span { display: block; width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); transition: box-shadow .25s ease; }
.efx-swatch:hover span { box-shadow: 0 0 0 1px rgba(255, 255, 255, .6); }
.efx-swatch input:checked + span { box-shadow: 0 0 0 2px var(--efx-ink), 0 0 0 4px #fff; }
.efx-check { display: flex; gap: .75rem; align-items: flex-start; margin-top: 1.25rem; font-size: .9rem; color: rgba(255, 255, 255, .72); cursor: pointer; }
.efx-check input { margin-top: .25rem; accent-color: var(--efx-rust); width: 16px; height: 16px; }
.efx-config__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.efx-config__nav [data-efx-prev] { border-color: transparent; }
.efx-config__done { text-align: center; padding: 2rem 0 1rem; animation: efx-fade .7s ease both; }
.efx-config__check { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: var(--efx-rust); position: relative; }
.efx-config__check::after { content: ""; width: 12px; height: 22px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-2px, -2px); }
.efx-config__error { color: #ffb4a6; margin-top: 1rem; }
.is-loading { opacity: .7; pointer-events: none; }

/* ---------- Newsletter ---------- */
.efx-newsletter { display: flex; flex-direction: column; gap: 1rem; }
.efx-newsletter__row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .efx-newsletter__row { grid-template-columns: 1fr 1fr; } }
.efx-newsletter .efx-field { border-radius: 999px; padding-inline: 1.4rem; }
.efx-newsletter .efx-btn { align-self: flex-start; }
.efx-newsletter__msg { margin: 0; font-size: .95rem; color: #fff !important; }
.efx-newsletter__err { color: #ffb4a6 !important; }
.efx-newsletter__privacy { font-size: .78rem !important; opacity: .65; margin: 0; }

/* ---------- Reveal ---------- */
.efx-will-reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s var(--efx-ease); }
.efx-will-reveal.is-visible { opacity: 1; transform: none; }

/* Editor: niente animazioni nascoste */
.editor-styles-wrapper .efx-will-reveal { opacity: 1; transform: none; }
.editor-styles-wrapper .efx-testimonials .wp-block-quote { display: block; }
.editor-styles-wrapper .efx-collage { display: flex; flex-wrap: wrap; gap: 1rem; width: auto; margin: 2rem 0 0 !important; }
.editor-styles-wrapper .efx-collage figure { margin: 0 !important; height: 220px !important; }

@media (prefers-reduced-motion: reduce) {
	.efx-collage__track { animation: none; }
	.efx-will-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Extra sezioni ---------- */
.efx-split-wrap { padding: 0 !important; }
.efx-split-wrap > .efx-split { max-width: none !important; }
.efx-manifesto { font-size: clamp(1.8rem, 3.4vw, 2.7rem) !important; line-height: 1.35 !important; max-width: 56rem; margin: 0 auto 4.5rem !important; }
ul.efx-ticks { list-style: none; padding: 0; margin: 2.25rem 0 0; }
ul.efx-ticks li { position: relative; padding: .55rem 0 .55rem 2.25rem; font-size: 1.02rem; color: rgba(255, 255, 255, .85); }
ul.efx-ticks li::before { content: ""; position: absolute; left: 0; top: .9rem; width: 18px; height: 18px; border-radius: 50%; background: var(--efx-rust); }
ul.efx-ticks li::after { content: ""; position: absolute; left: 6px; top: 1.05rem; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.efx-faq .wp-block-details { border-bottom: 1px solid rgba(31, 42, 51, .15); padding: 1.4rem 0; margin: 0; }
.efx-faq .wp-block-details summary { font-family: var(--efx-display); font-size: 1.35rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; transition: color .25s ease; }
.efx-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.efx-faq .wp-block-details summary::after { content: "+"; font-family: var(--efx-body); font-size: 1.5rem; line-height: 1; color: var(--efx-rust); transition: transform .3s ease; }
.efx-faq .wp-block-details[open] summary::after { transform: rotate(45deg); }
.efx-faq .wp-block-details summary:hover { color: var(--efx-rust); }
.efx-faq .wp-block-details p { margin-top: 1rem; opacity: .8; }
.efx-overlay-card a { color: #fff; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; text-decoration: none; }
.efx-overlay-card h3 { font-size: clamp(1.8rem, 3vw, 2.4rem) !important; }
.efx-portrait.is-style-efx-rounded img { border-radius: var(--efx-radius); }

.efx-head { align-items: flex-end !important; margin-bottom: 2.5rem; }
.efx-head .wp-block-buttons { justify-content: flex-end; }
@media (max-width: 781px) { .efx-head .wp-block-buttons { justify-content: flex-start; } }
.efx-products > * { max-width: none !important; }
body.efx .is-style-efx-ghost .wp-block-button__link, body.efx .is-style-efx-outline .wp-block-button__link { border-width: 1px !important; border-style: solid !important; }
body.efx .is-style-efx-outline .wp-block-button__link { border-color: var(--efx-ink) !important; }
body.efx .is-style-efx-ghost .wp-block-button__link { border-color: rgba(255,255,255,.4) !important; }

/* Fix: elementi nascosti e lista tappe */
.efx-config [hidden], .efx-newsletter [hidden] { display: none !important; }
ol.efx-journey > li { grid-template-columns: 4.5rem 1fr; align-items: start; }
ol.efx-journey > li::before { grid-row: 1 / span 2; }
ol.efx-journey > li > strong { grid-column: 2; }
ol.efx-journey.efx-journey--compact > li::before { grid-row: auto; }
