/*
 * IB Effects — styles of the 0.3.0 effects. Loaded only on pages that use one of them (Assets::need), after
 * ibfx-frontend.css (same rules: transform/opacity first, calm versions for reduced motion, the system cursor
 * always stays visible).
 */
/* =========================================================================================================
 * 0.3.0 — split text, cursor label, magnetic, spotlight, mesh, aurora, 3D text, show after scrolling.
 * ========================================================================================================= */

/* ---------- Split text reveal (words wrapped by ibfx-core.js) ---------- */
.ibfx--split .ibfx-word {
	transition-property: opacity, translate, filter;
	transition-duration: var(--ibfx-split-duration, 600ms);
	transition-timing-function: var(--ibfx-split-easing, ease-out);
	transition-delay: calc(var(--ibfx-i, 0) * var(--ibfx-split-step, 60ms));
}
.ibfx--split.ibfx-split-clip .ibfx-word { overflow: clip; overflow-clip-margin: .15em; vertical-align: bottom; }
.ibfx--split.ibfx-split-clip .ibfx-word > span { display: inline-block; transition: translate var(--ibfx-split-duration, 600ms) var(--ibfx-split-easing, ease-out); transition-delay: inherit; }
@media (prefers-reduced-motion: no-preference) and (scripting: enabled) {
	html:not(.ibfx-ready) body:not(.ibfx-kit-reduce) .ibfx--split { opacity: 0; animation: ibfx-failsafe .01s 3s forwards; }
	body:not(.ibfx-kit-reduce) .ibfx--split.is-ibfx-split:not(.is-ibfx-in) .ibfx-word { opacity: 0; }
	body:not(.ibfx-kit-reduce) .ibfx--split.ibfx-split-rise.is-ibfx-split:not(.is-ibfx-in) .ibfx-word { translate: 0 .6em; }
	body:not(.ibfx-kit-reduce) .ibfx--split.ibfx-split-blur.is-ibfx-split:not(.is-ibfx-in) .ibfx-word { filter: blur(8px); }
	body:not(.ibfx-kit-reduce) .ibfx--split.ibfx-split-clip.is-ibfx-split:not(.is-ibfx-in) .ibfx-word { opacity: 1; }
	body:not(.ibfx-kit-reduce) .ibfx--split.ibfx-split-clip.is-ibfx-split:not(.is-ibfx-in) .ibfx-word > span { translate: 0 110%; }
}

/* ---------- Site cursor (added by ibfx-pointer.js; the system cursor always stays) ---------- */
.ibfx-cursor {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 2147483000;
	pointer-events: none;
	translate: var(--ibfx-cx, -100px) var(--ibfx-cy, -100px);
	opacity: 0;
	transition: opacity .2s;
}
.ibfx-cursor.is-ibfx-active { opacity: 1; }
.ibfx-cursor__dot, .ibfx-cursor__ring {
	position: absolute;
	left: 0;
	top: 0;
	border-radius: 50%;
	translate: -50% -50%;
	transition: scale .25s, opacity .25s;
}
.ibfx-cursor__dot { width: calc(var(--ibfx-cursor-size, 12px) / 2); height: calc(var(--ibfx-cursor-size, 12px) / 2); background: var(--ibfx-cursor-color, #5b5bd6); }
.ibfx-cursor__ring {
	width: calc(var(--ibfx-cursor-size, 12px) * 3);
	height: calc(var(--ibfx-cursor-size, 12px) * 3);
	border: 1.5px solid var(--ibfx-cursor-color, #5b5bd6);
	translate: calc(-50% + var(--ibfx-rx, 0px)) calc(-50% + var(--ibfx-ry, 0px));
	scale: var(--ibfx-cs, 1);
}
.ibfx-kit-cursor-dot .ibfx-cursor__ring, .ibfx-kit-cursor-ring .ibfx-cursor__dot { display: none; }
.ibfx-kit-cursor-difference .ibfx-cursor { mix-blend-mode: difference; }
.ibfx-cursor.is-ibfx-link .ibfx-cursor__ring { scale: 1.6; }
.ibfx-cursor.is-ibfx-text { opacity: 0; }
.ibfx-cursor__tag {
	position: absolute;
	left: 18px;
	top: 18px;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--ibfx-cursor-color, #5b5bd6);
	color: #fff;
	font: 600 13px/1.2 system-ui, sans-serif;
	white-space: nowrap;
	opacity: 0;
	scale: .8;
	transition: opacity .2s, scale .2s;
}
.ibfx-cursor__tag img { display: block; max-width: 160px; max-height: 120px; border-radius: 8px; }
.ibfx-cursor__tag.has-image { padding: 4px; }
.ibfx-cursor.has-tag .ibfx-cursor__tag { opacity: 1; scale: 1; }

/* ---------- Magnetic ---------- */
.ibfx--magnetic { transition: translate .35s cubic-bezier(.22,1,.36,1); }
.ibfx--magnetic.is-ibfx-active { transition-duration: .12s; }

/* ---------- Spotlight (layer added by ibfx-pointer.js) ---------- */
:where(.ibfx--spotlight, .ibfx--aurora, .ibfx--mesh, .ibfx--lens):not(.elementor-absolute):not(.elementor-fixed) { position: relative; }
.ibfx-spot {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	border-radius: inherit;
	opacity: 0;
	transition: opacity .3s;
	background: radial-gradient(circle var(--ibfx-spotlight-size, 300px) at var(--ibfx-sx, 50%) var(--ibfx-sy, 50%), var(--ibfx-spotlight-color), transparent 70%);
}
.ibfx--spotlight.is-ibfx-active .ibfx-spot { opacity: 1; }

/* ---------- Lens (0.4.1; layer added by ibfx-pointer.js, mouse only): a second image inside a circle ---------- */
.ibfx-lens {
	--ibfx-lens-mask: radial-gradient(circle var(--ibfx-lens-size, 160px) at var(--ibfx-lx, 50%) var(--ibfx-ly, 50%), #000 calc(100% - var(--ibfx-lens-soft, 30%)), transparent);
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	border-radius: inherit;
	opacity: 0;
	transition: opacity .25s;
	background: center / cover no-repeat;
	-webkit-mask: var(--ibfx-lens-mask);
	mask: var(--ibfx-lens-mask);
}
.ibfx-lens-contain .ibfx-lens { background-size: contain; }
.ibfx--lens.is-ibfx-lens .ibfx-lens { opacity: 1; }

/* ---------- Mesh gradient (static; replaces the animated gradient layer on the same element) ---------- */
.ibfx--mesh { isolation: isolate; }
.ibfx--mesh::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	pointer-events: none;
	animation: none;
	background: var(--ibfx-mesh-spots), var(--ibfx-mesh-c4);
}
/* 0.4.1: 2–5 colour spots (3 = the 0.3.0 mesh) and an optional slow drift of an oversized layer. */
.ibfx--mesh { --ibfx-mesh-spots: radial-gradient(at 15% 20%, var(--ibfx-mesh-c1) 0, transparent var(--ibfx-mesh-spread, 55%)), radial-gradient(at 85% 15%, var(--ibfx-mesh-c2) 0, transparent var(--ibfx-mesh-spread, 55%)), radial-gradient(at 60% 90%, var(--ibfx-mesh-c3) 0, transparent var(--ibfx-mesh-spread, 55%)); }
.ibfx-mesh-n2 { --ibfx-mesh-spots: radial-gradient(at 15% 20%, var(--ibfx-mesh-c1) 0, transparent var(--ibfx-mesh-spread, 55%)), radial-gradient(at 85% 15%, var(--ibfx-mesh-c2) 0, transparent var(--ibfx-mesh-spread, 55%)); }
.ibfx-mesh-n4 { --ibfx-mesh-spots: radial-gradient(at 15% 20%, var(--ibfx-mesh-c1) 0, transparent var(--ibfx-mesh-spread, 55%)), radial-gradient(at 85% 15%, var(--ibfx-mesh-c2) 0, transparent var(--ibfx-mesh-spread, 55%)), radial-gradient(at 60% 90%, var(--ibfx-mesh-c3) 0, transparent var(--ibfx-mesh-spread, 55%)), radial-gradient(at 20% 80%, var(--ibfx-mesh-c5) 0, transparent var(--ibfx-mesh-spread, 55%)); }
.ibfx-mesh-n5 { --ibfx-mesh-spots: radial-gradient(at 15% 20%, var(--ibfx-mesh-c1) 0, transparent var(--ibfx-mesh-spread, 55%)), radial-gradient(at 85% 15%, var(--ibfx-mesh-c2) 0, transparent var(--ibfx-mesh-spread, 55%)), radial-gradient(at 60% 90%, var(--ibfx-mesh-c3) 0, transparent var(--ibfx-mesh-spread, 55%)), radial-gradient(at 20% 80%, var(--ibfx-mesh-c5) 0, transparent var(--ibfx-mesh-spread, 55%)), radial-gradient(at 90% 65%, var(--ibfx-mesh-c6) 0, transparent var(--ibfx-mesh-spread, 55%)); }
.ibfx--mesh.ibfx-mesh-drift { overflow: clip; }
.ibfx--mesh.ibfx-mesh-drift::after { inset: -20%; animation: ibfx-aurora var(--ibfx-mesh-speed, 20s) ease-in-out infinite alternate; }

/* ---------- Aurora (layer added by ibfx-core.js; transform only, paused off screen) ---------- */
.ibfx--aurora { isolation: isolate; }
.ibfx.ibfx--aurora { overflow: clip; } /* 0.4.1: two classes, so Elementor's later .e-con { overflow: var(--overflow) } does not undo it */
.ibfx-aurora {
	position: absolute;
	inset: -25%;
	z-index: -1;
	pointer-events: none;
	opacity: var(--ibfx-aurora-intensity, .6);
	background: var(--ibfx-aurora-blobs);
	animation: ibfx-aurora var(--ibfx-aurora-speed, 18s) ease-in-out infinite alternate;
}
/* 0.4.1: 2–5 colour blobs (3 = the 0.3.0 aurora). */
.ibfx--aurora { --ibfx-aurora-blobs: radial-gradient(closest-side at 30% 40%, var(--ibfx-aurora-c1), transparent), radial-gradient(closest-side at 70% 30%, var(--ibfx-aurora-c2), transparent), radial-gradient(closest-side at 50% 75%, var(--ibfx-aurora-c3), transparent); }
.ibfx-aurora-n2 { --ibfx-aurora-blobs: radial-gradient(closest-side at 30% 40%, var(--ibfx-aurora-c1), transparent), radial-gradient(closest-side at 70% 30%, var(--ibfx-aurora-c2), transparent); }
.ibfx-aurora-n4 { --ibfx-aurora-blobs: radial-gradient(closest-side at 30% 40%, var(--ibfx-aurora-c1), transparent), radial-gradient(closest-side at 70% 30%, var(--ibfx-aurora-c2), transparent), radial-gradient(closest-side at 50% 75%, var(--ibfx-aurora-c3), transparent), radial-gradient(closest-side at 20% 80%, var(--ibfx-aurora-c4), transparent); }
.ibfx-aurora-n5 { --ibfx-aurora-blobs: radial-gradient(closest-side at 30% 40%, var(--ibfx-aurora-c1), transparent), radial-gradient(closest-side at 70% 30%, var(--ibfx-aurora-c2), transparent), radial-gradient(closest-side at 50% 75%, var(--ibfx-aurora-c3), transparent), radial-gradient(closest-side at 20% 80%, var(--ibfx-aurora-c4), transparent), radial-gradient(closest-side at 85% 70%, var(--ibfx-aurora-c5), transparent); }
@keyframes ibfx-aurora { 0% { translate: -6% -4%; rotate: 0deg; scale: 1; } 50% { translate: 5% 3%; rotate: 8deg; scale: 1.08; } 100% { translate: -3% 6%; rotate: -6deg; scale: .96; } }
.is-ibfx-paused .ibfx-aurora { animation-play-state: paused; }

/* ---------- 3D text ---------- */
.ibfx--text3d :is(.elementor-heading-title, h1, h2, h3, h4, h5, h6, p, li, blockquote),
:is(h1, h2, h3, h4, h5, h6, p, li, blockquote).ibfx--text3d { text-shadow: var(--ibfx-text3d-shadow); }
[dir="rtl"] .ibfx--text3d :is(.elementor-heading-title, h1, h2, h3, h4, h5, h6, p, li, blockquote),
[dir="rtl"] :is(h1, h2, h3, h4, h5, h6, p, li, blockquote).ibfx--text3d { text-shadow: var(--ibfx-text3d-shadow-rtl, var(--ibfx-text3d-shadow)); }

/* ---------- Show after scrolling ---------- */
.ibfx--reveal:not(.is-ibfx-off) { transition: opacity .35s, translate .35s, scale .35s; }
.ibfx--reveal:not(.is-ibfx-off):not(.is-ibfx-in) { opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .35s, translate .35s, scale .35s, visibility 0s .35s; }
.ibfx--reveal.ibfx-reveal-slide:not(.is-ibfx-off):not(.is-ibfx-in) { translate: 0 20px; }
.ibfx--reveal.ibfx-reveal-scale:not(.is-ibfx-off):not(.is-ibfx-in) { scale: .8; }

/* Calm / off versions (0.3.0). */
@media (prefers-reduced-motion: reduce) {
	.ibfx-aurora, .ibfx--mesh::after { animation: none !important; }
	.ibfx-cursor, .ibfx-spot { display: none !important; }
	.ibfx--magnetic { translate: none !important; }
	.ibfx-lens { transition: none; }
}
.ibfx-kit-reduce .ibfx-aurora, .ibfx-kit-reduce .ibfx--mesh::after { animation: none !important; }
.ibfx-kit-reduce .ibfx-cursor, .ibfx-kit-reduce .ibfx-spot { display: none !important; }
@media (hover: none), (pointer: coarse) { .ibfx-cursor { display: none !important; } }
@media (max-width: 767px) {
	:is(.ibfx--mesh--off-mobile, .ibfx-kit-mobile-off .ibfx--mesh)::after { display: none; }
	:is(.ibfx--lens--off-mobile, .ibfx-kit-mobile-off .ibfx--lens) .ibfx-lens { display: none; }
	:is(.ibfx--text3d--off-mobile, .ibfx-kit-mobile-off .ibfx--text3d) :is(.elementor-heading-title, h1, h2, h3, h4, h5, h6, p, li, blockquote),
	:is(h1, h2, h3, h4, h5, h6, p, li, blockquote).ibfx--text3d--off-mobile { text-shadow: none; }
}
@media (max-width: 1024px) {
	.ibfx--mesh--off-tablet::after { display: none; }
	.ibfx--lens--off-tablet .ibfx-lens { display: none; }
}

/* =========================================================================================================
 * 0.5.0 — glitch, scramble, morph blob, film grain.
 * ========================================================================================================= */

/* ---------- Glitch (WCAG 2.3.1: two flashes per burst; a loop flashes only in the last 10% of a cycle ≥ 1 s) ---------- */
.ibfx--glitch {
	--ibfx-g: drop-shadow(var(--ibfx-glitch-intensity, 3px) 0 var(--ibfx-glitch-c1)) drop-shadow(calc(var(--ibfx-glitch-intensity, 3px) * -1) 0 var(--ibfx-glitch-c2));
	--ibfx-gr: drop-shadow(calc(var(--ibfx-glitch-intensity, 3px) * -1) 0 var(--ibfx-glitch-c1)) drop-shadow(var(--ibfx-glitch-intensity, 3px) 0 var(--ibfx-glitch-c2));
}
@keyframes ibfx-glitch-burst {
	0%, 70%, 100% { filter: none; clip-path: none; }
	20% { filter: var(--ibfx-g); clip-path: inset(8% 0 52% 0); }
	45% { filter: var(--ibfx-gr); clip-path: inset(58% 0 10% 0); }
}
@keyframes ibfx-glitch-loop {
	0%, 89%, 97%, 100% { filter: none; clip-path: none; }
	91% { filter: var(--ibfx-g); clip-path: inset(8% 0 52% 0); }
	94% { filter: var(--ibfx-gr); clip-path: inset(58% 0 10% 0); }
}
.ibfx--glitch.ibfx-glitch-hover:hover, .ibfx--glitch.ibfx-glitch-hover:focus-within, .ibfx--glitch.is-ibfx-glitch {
	animation: ibfx-glitch-burst .6s steps(1, end) 1;
}
.ibfx--glitch.ibfx-glitch-loop:not(.is-ibfx-paused) { animation: ibfx-glitch-loop var(--ibfx-glitch-speed, 3s) steps(1, end) infinite; }

/* ---------- Morph blob: the element clipped to a moving organic shape, or a blob layer behind it ---------- */
.ibfx--blob { --ibfx-ba: 14%; }
.ibfx--blob.ibfx-blob-soft { --ibfx-ba: 6%; }
.ibfx--blob.ibfx-blob-strong { --ibfx-ba: 24%; }
@keyframes ibfx-blob {
	0%, 100% { clip-path: inset(0 round calc(50% - var(--ibfx-ba)) calc(50% + var(--ibfx-ba)) calc(50% + var(--ibfx-ba)) calc(50% - var(--ibfx-ba)) / calc(50% + var(--ibfx-ba)) calc(50% - var(--ibfx-ba)) calc(50% + var(--ibfx-ba)) calc(50% - var(--ibfx-ba))); }
	33% { clip-path: inset(0 round calc(50% + var(--ibfx-ba)) calc(50% - var(--ibfx-ba)) calc(50% - var(--ibfx-ba)) calc(50% + var(--ibfx-ba)) / calc(50% - var(--ibfx-ba)) calc(50% + var(--ibfx-ba)) calc(50% - var(--ibfx-ba)) calc(50% + var(--ibfx-ba))); }
	66% { clip-path: inset(0 round calc(50% - var(--ibfx-ba)) calc(50% - var(--ibfx-ba)) calc(50% + var(--ibfx-ba)) calc(50% + var(--ibfx-ba)) / calc(50% + var(--ibfx-ba)) calc(50% + var(--ibfx-ba)) calc(50% - var(--ibfx-ba)) calc(50% - var(--ibfx-ba))); }
}
.ibfx--blob:not(.ibfx-blob-layer) {
	clip-path: inset(0 round calc(50% - var(--ibfx-ba)) calc(50% + var(--ibfx-ba)) calc(50% + var(--ibfx-ba)) calc(50% - var(--ibfx-ba)) / calc(50% + var(--ibfx-ba)) calc(50% - var(--ibfx-ba)) calc(50% + var(--ibfx-ba)) calc(50% - var(--ibfx-ba)));
	animation: ibfx-blob var(--ibfx-blob-speed, 10s) ease-in-out infinite;
}
:where(.ibfx--blob.ibfx-blob-layer, .ibfx--grain):not(.elementor-absolute):not(.elementor-fixed) { position: relative; }
.ibfx--blob.ibfx-blob-layer { isolation: isolate; }
.ibfx-blob {
	position: absolute;
	inset: 4%;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(135deg, var(--ibfx-blob-c1), var(--ibfx-blob-c2));
	animation: ibfx-blob var(--ibfx-blob-speed, 10s) ease-in-out infinite;
}
.is-ibfx-paused :is(.ibfx-blob), .ibfx--blob.is-ibfx-paused { animation-play-state: paused; }

/* ---------- Film grain (a fixed noise image; layer added by ibfx-core.js) ---------- */
.ibfx-grain {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	border-radius: inherit;
	overflow: hidden;
	opacity: var(--ibfx-grain-amount, 15%);
	mix-blend-mode: overlay;
}
.ibfx-grain::before {
	content: "";
	position: absolute;
	inset: -50%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 200px 200px;
}
.ibfx-grain-fine .ibfx-grain::before { background-size: 110px 110px; }
.ibfx-grain-coarse .ibfx-grain::before { background-size: 340px 340px; }
@keyframes ibfx-grain { 0% { translate: 0 0; } 25% { translate: -7% 4%; } 50% { translate: 5% -6%; } 75% { translate: -4% -3%; } 100% { translate: 6% 5%; } }
.ibfx-grain-animate:not(.is-ibfx-paused) .ibfx-grain::before { animation: ibfx-grain .6s steps(4, end) infinite; }

/* Calm / off versions (0.5.0): no flashing, no morphing, still grain. */
@media (prefers-reduced-motion: reduce) {
	.ibfx--glitch, .ibfx--blob, .ibfx-blob, .ibfx-grain::before { animation: none !important; }
}
.ibfx-kit-reduce .ibfx--glitch, .ibfx-kit-reduce .ibfx--blob, .ibfx-kit-reduce .ibfx-blob, .ibfx-kit-reduce .ibfx-grain::before { animation: none !important; }
@media (max-width: 767px) {
	:is(.ibfx--glitch--off-mobile, .ibfx-kit-mobile-off .ibfx--glitch) { animation: none !important; }
	:is(.ibfx--blob--off-mobile, .ibfx-kit-mobile-off .ibfx--blob) { animation: none !important; clip-path: none !important; }
	:is(.ibfx--blob--off-mobile, .ibfx-kit-mobile-off .ibfx--blob) .ibfx-blob, :is(.ibfx--grain--off-mobile, .ibfx-kit-mobile-off .ibfx--grain) .ibfx-grain { display: none; }
}
@media (max-width: 1024px) {
	.ibfx--glitch--off-tablet { animation: none !important; }
	.ibfx--blob--off-tablet { animation: none !important; clip-path: none !important; }
	.ibfx--blob--off-tablet .ibfx-blob, .ibfx--grain--off-tablet .ibfx-grain { display: none; }
}

/* =========================================================================================================
 * 0.6.0 — marker, outline text, button effects, SVG draw, page background by section.
 * ========================================================================================================= */

/* ---------- Marker (targets marked by ibfx-more.js: the <mark>/<u>/<strong>/<em> words, or all the text) ---------- */
.ibfx--mark .ibfx-mark__t {
	background-image: linear-gradient(var(--ibfx-mark-color, #fde047), var(--ibfx-mark-color, #fde047));
	background-repeat: no-repeat;
	background-position: 0 85%;
	background-size: 100% 40%;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	transition: background-size var(--ibfx-mark-duration, 800ms) cubic-bezier(.2, .7, .2, 1);
}
.ibfx--mark.ibfx-mark-underline .ibfx-mark__t { background-position: 0 100%; background-size: 100% .12em; }
.ibfx--mark.ibfx-mark-strike .ibfx-mark__t { background-position: 0 58%; background-size: 100% .1em; }
.ibfx--mark.ibfx-mark-circle .ibfx-mark__t { position: relative; background: none; }
.ibfx--mark.ibfx-mark-circle .ibfx-mark__t::after {
	content: "";
	position: absolute;
	inset: -.22em -.38em;
	border: .1em solid var(--ibfx-mark-color, #fde047);
	border-radius: 50%;
	rotate: -2deg;
	pointer-events: none;
	transition: clip-path var(--ibfx-mark-duration, 800ms) ease-in-out;
}
/* Editor (E1, 0.6.1): nothing is added inside text that can be edited inline (it would be saved); the final state is
   drawn on the marked words, or on the whole text box with "all the text". */
.ibfx-editing .ibfx--mark:not(.ibfx-mark-all) :is(.elementor-heading-title, p) :is(mark, u, strong, b, em),
.ibfx-editing .ibfx--mark.ibfx-mark-all :is(.elementor-heading-title, p) {
	background-image: linear-gradient(var(--ibfx-mark-color, #fde047), var(--ibfx-mark-color, #fde047));
	background-repeat: no-repeat;
	background-position: 0 85%;
	background-size: 100% 40%;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
.ibfx-editing .ibfx--mark.ibfx-mark-underline :is(.elementor-heading-title, p) :is(mark, u, strong, b, em),
.ibfx-editing .ibfx--mark.ibfx-mark-underline.ibfx-mark-all :is(.elementor-heading-title, p) { background-position: 0 100%; background-size: 100% .12em; }
.ibfx-editing .ibfx--mark.ibfx-mark-strike :is(.elementor-heading-title, p) :is(mark, u, strong, b, em),
.ibfx-editing .ibfx--mark.ibfx-mark-strike.ibfx-mark-all :is(.elementor-heading-title, p) { background-position: 0 58%; background-size: 100% .1em; }
.ibfx-editing .ibfx--mark.ibfx-mark-circle :is(.elementor-heading-title, p) :is(mark, u, strong, b, em),
.ibfx-editing .ibfx--mark.ibfx-mark-circle.ibfx-mark-all :is(.elementor-heading-title, p) { background: none; outline: .1em solid var(--ibfx-mark-color, #fde047); outline-offset: .15em; border-radius: 40%; }
/* Hidden start only once the script took over (no script: the mark is simply shown). */
.ibfx--mark.is-ibfx-mark:not(.is-ibfx-in) .ibfx-mark__t { background-size: 0% 40%; }
.ibfx--mark.ibfx-mark-underline.is-ibfx-mark:not(.is-ibfx-in) .ibfx-mark__t { background-size: 0% .12em; }
.ibfx--mark.ibfx-mark-strike.is-ibfx-mark:not(.is-ibfx-in) .ibfx-mark__t { background-size: 0% .1em; }
.ibfx--mark.ibfx-mark-circle.is-ibfx-mark:not(.is-ibfx-in) .ibfx-mark__t::after { clip-path: inset(0 100% 0 0); }
.ibfx--mark.ibfx-mark-circle .ibfx-mark__t::after { clip-path: inset(0 0 0 0); }
/* Hover trigger: drawn while the pointer is over the element or a link inside it has keyboard focus. */
.ibfx--mark.ibfx-mark-hover:not(:hover):not(:focus-within) .ibfx-mark__t { background-size: 0% 40%; }
.ibfx--mark.ibfx-mark-hover.ibfx-mark-underline:not(:hover):not(:focus-within) .ibfx-mark__t { background-size: 0% .12em; }
.ibfx--mark.ibfx-mark-hover.ibfx-mark-strike:not(:hover):not(:focus-within) .ibfx-mark__t { background-size: 0% .1em; }
.ibfx--mark.ibfx-mark-hover.ibfx-mark-circle:not(:hover):not(:focus-within) .ibfx-mark__t::after { clip-path: inset(0 100% 0 0); }

/* ---------- Outline text that fills ---------- */
.ibfx--outline :is(.elementor-heading-title, h1, h2, h3, h4, h5, h6),
:is(h1, h2, h3, h4, h5, h6).ibfx--outline {
	-webkit-text-stroke: var(--ibfx-outline-width, 1px) var(--ibfx-outline-color, currentColor);
	-webkit-text-fill-color: transparent;
	background: linear-gradient(currentColor, currentColor) no-repeat 0 0 / var(--ibfx-of, 100%) 100%;
	-webkit-background-clip: text;
	background-clip: text;
	transition: background-size .6s ease;
}
.ibfx--outline.ibfx-outline-hover :is(.elementor-heading-title, h1, h2, h3, h4, h5, h6),
:is(h1, h2, h3, h4, h5, h6).ibfx--outline.ibfx-outline-hover { --ibfx-of: 0%; }
.ibfx--outline.ibfx-outline-hover:is(:hover, :focus-within) :is(.elementor-heading-title, h1, h2, h3, h4, h5, h6),
:is(h1, h2, h3, h4, h5, h6).ibfx--outline.ibfx-outline-hover:hover { --ibfx-of: 100%; }
.ibfx--outline.is-ibfx-outline:not(.is-ibfx-in) { --ibfx-of: 0%; }

/* ---------- Buttons: Elementor's and Smart Cart's (add to cart, buy now, pay, continue, place order) ---------- */
/* Only the styles that draw a layer set a position; only the ripple clips (spinners / badges are never cut). */
.ibfx--btn:is(.ibfx-btn-fill, .ibfx-btn-border, .ibfx-btn-ripple) :is(.elementor-button, .wcsc-atc-button, .wcsc-next, .wcsc-continue-primary, #place_order) { position: relative; isolation: isolate; }
.ibfx--btn.ibfx-btn-ripple :is(.elementor-button, .wcsc-atc-button, .wcsc-next, .wcsc-continue-primary, #place_order) { overflow: hidden; }
.ibfx--btn.ibfx-btn-fill :is(.elementor-button, .wcsc-atc-button, .wcsc-next, .wcsc-continue-primary, #place_order)::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: var(--ibfx-btn-color, #111827);
	scale: 0 1;
	transform-origin: left center;
	transition: scale .35s cubic-bezier(.2, .7, .2, 1);
}
[dir="rtl"] .ibfx--btn.ibfx-btn-fill :is(.elementor-button, .wcsc-atc-button, .wcsc-next, .wcsc-continue-primary, #place_order)::before { transform-origin: right center; }
.ibfx--btn.ibfx-btn-fill.ibfx-btn-up :is(.elementor-button, .wcsc-atc-button, .wcsc-next, .wcsc-continue-primary, #place_order)::before { scale: 1 0; transform-origin: center bottom; }
.ibfx--btn.ibfx-btn-fill :is(.elementor-button, .wcsc-atc-button, .wcsc-next, .wcsc-continue-primary, #place_order):is(:hover, :focus-visible)::before { scale: 1 1; }
.ibfx--btn.ibfx-btn-border :is(.elementor-button, .wcsc-atc-button, .wcsc-next, .wcsc-continue-primary, #place_order)::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 2px solid var(--ibfx-btn-color, #111827);
	border-radius: inherit;
	pointer-events: none;
	clip-path: inset(0 100% 100% 0);
	transition: clip-path .45s ease;
}
.ibfx--btn.ibfx-btn-border :is(.elementor-button, .wcsc-atc-button, .wcsc-next, .wcsc-continue-primary, #place_order):is(:hover, :focus-visible)::after { clip-path: inset(0 0 0 0); }
.ibfx-ripple {
	position: absolute;
	inline-size: 12px;
	block-size: 12px;
	margin: -6px 0 0 -6px;
	border-radius: 50%;
	background: var(--ibfx-btn-color, #111827);
	opacity: .35;
	pointer-events: none;
	animation: ibfx-ripple .6s ease-out forwards;
}
@keyframes ibfx-ripple { to { scale: 30; opacity: 0; } }
/* Expand: icon only; the text slides in on hover and keyboard focus. Only on a button that has an icon (:has), so a
   button without one never ends up empty; the text stays in the page for screen readers. */
.ibfx--btn.ibfx-btn-expand :is(.elementor-button, .wcsc-atc-button, .wcsc-next):has(:is(.elementor-button-icon, .wcsc-atc-icon, .wcsc-next-arrow)) :is(.elementor-button-text, .wcsc-atc-label, .wcsc-next-label) {
	display: inline-block;
	max-inline-size: 0;
	overflow: hidden;
	white-space: nowrap;
	vertical-align: bottom;
	opacity: 0;
	transition: max-inline-size .45s cubic-bezier(.2, .7, .2, 1), opacity .3s;
}
.ibfx--btn.ibfx-btn-expand :is(.elementor-button, .wcsc-atc-button, .wcsc-next):is(:hover, :focus-visible):has(:is(.elementor-button-icon, .wcsc-atc-icon, .wcsc-next-arrow)) :is(.elementor-button-text, .wcsc-atc-label, .wcsc-next-label) {
	max-inline-size: 20em;
	opacity: 1;
}

/* ---------- Page background by section (ibfx-more.js sets the body colour; never in the editor) ---------- */
body.is-ibfx-bgshift { transition: background-color .6s ease; }

/* Calm versions (0.6.0): final state, no transition. */
@media (prefers-reduced-motion: reduce) {
	.ibfx--mark .ibfx-mark__t, .ibfx--mark .ibfx-mark__t::after, .ibfx--outline :is(.elementor-heading-title, h1, h2, h3, h4, h5, h6), body.is-ibfx-bgshift { transition: none !important; }
	.ibfx--btn :is(.elementor-button, .wcsc-atc-button, .wcsc-next, .wcsc-continue-primary, #place_order)::before,
	.ibfx--btn :is(.elementor-button, .wcsc-atc-button, .wcsc-next, .wcsc-continue-primary, #place_order)::after,
	.ibfx--btn :is(.elementor-button-text, .wcsc-atc-label, .wcsc-next-label) { transition: none !important; }
	.ibfx-ripple { display: none; }
}
.ibfx-kit-reduce .ibfx-ripple { display: none; }

/* =========================================================================================================
 * 0.6.2 — stacking cards, grow on scroll, image preview on hover.
 * ========================================================================================================= */

/* ---------- Stacking cards (ibfx-scroll.js marks the host and the cards; off = a plain list) ---------- */
/* Elementor sets the direction through --flex-direction (and the host may be the container itself, full width). */
.ibfx--stack.is-ibfx-ready.ibfx-stack__host,
.ibfx--stack.is-ibfx-ready .ibfx-stack__host { --flex-direction: column; --flex-wrap: nowrap; flex-direction: column !important; flex-wrap: nowrap !important; }
.ibfx--stack.is-ibfx-ready .ibfx-stack__card {
	position: sticky;
	top: calc(var(--ibfx-stack-offset, 40px) + var(--ibfx-i, 0) * var(--ibfx-stack-step, 16px));
	transform-origin: center top;
}

/* ---------- Grow on scroll (like the frame: a CSS view timeline where supported, else ibfx-scroll.js) ---------- */
@property --ibfx-gp { syntax: '<number>'; inherits: true; initial-value: 0; }
.ibfx--grow:not(.is-ibfx-off) {
	scale: calc(100% - var(--ibfx-grow-inset, 12%) * 2 * (1 - var(--ibfx-gp)));
	clip-path: inset(0 round max(calc(var(--ibfx-grow-radius, 32px) * (1 - var(--ibfx-gp))), var(--ibfx-r1, 0px)));
}
@keyframes ibfx-grow { from { --ibfx-gp: 0; } to { --ibfx-gp: 1; } }
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		html body:not(.ibfx-kit-reduce) .ibfx--grow:not(.is-ibfx-off) {
			animation: ibfx-grow linear both;
			animation-timeline: view();
			animation-range: cover var(--ibfx-grow-from, 10vh) cover var(--ibfx-grow-to, 70vh);
		}
	}
}

/* ---------- Image preview on hover (layer added by ibfx-pointer.js, mouse only) ---------- */
.ibfx--peek:not(.elementor-absolute):not(.elementor-fixed) { position: relative; }
.ibfx--peek.is-ibfx-peek-ready .ibfx-peek__row .elementor-widget-image { display: none; }
.ibfx-peek {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 5;
	inline-size: var(--ibfx-peek-size, 260px);
	pointer-events: none;
	opacity: 0;
	scale: .9;
	translate: calc(var(--ibfx-kx, 0px) - 50%) calc(var(--ibfx-ky, 0px) - 50%);
	rotate: var(--ibfx-kr, 0deg);
	transition: opacity .2s, scale .2s, rotate .3s;
}
.ibfx-peek img { display: block; inline-size: 100%; block-size: auto; border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .25); }
.ibfx--peek.is-ibfx-peek-on .ibfx-peek { opacity: 1; scale: 1; }

/* Calm / off (0.6.2). */
@media (prefers-reduced-motion: reduce) {
	.ibfx--grow { scale: none !important; clip-path: none !important; }
	.ibfx-peek { transition: none; rotate: none; }
}
.ibfx-kit-reduce .ibfx--grow { scale: none !important; clip-path: none !important; }
.ibfx--grow.is-ibfx-off { scale: none; clip-path: none; }
@media (max-width: 767px) {
	:is(.ibfx--grow--off-mobile, .ibfx-kit-mobile-off .ibfx--grow) { scale: none !important; clip-path: none !important; animation: none !important; }
}
@media (max-width: 1024px) {
	.ibfx--grow--off-tablet { scale: none !important; clip-path: none !important; animation: none !important; }
}
