/* ==========================================================================
   LoomSlides site-wide header & footer
   Colours, font and logo sizes come from CSS variables printed by
   inc/loomslides-header-footer.php (Appearance → Customize). Fallbacks below.
   Breakpoints follow Elementor: tablet ≤1024px, mobile ≤767px.
   ========================================================================== */

:root {
	--ls-font: "Heebo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--ls-accent: #ff7300;
	--ls-accent-text: #1c1405;
	--ls-header-bg: #ffffff;
	--ls-header-text: #1c1405;
	--ls-header-hover: #b34700;
	--ls-footer-bg: #ffbf00;
	--ls-footer-head: #1c1405;
	--ls-footer-text: #3b2a10;
	--ls-logo-h: 40px;
	--ls-logo-h-m: 32px;
	--ls-ink: #1c1405;
	--ls-line: rgba(28, 20, 5, 0.1);
	--ls-header-h: 76px;
	--ls-gutter: 24px;
	--ls-max: 1200px;
}

@media (max-width: 1024px) { :root { --ls-header-h: 68px; } }
@media (max-width: 767px)  { :root { --ls-header-h: 64px; --ls-gutter: 20px; } }

/* Anchor links land below a sticky header. */
html { scroll-padding-top: calc(var(--ls-header-offset, var(--ls-header-h)) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* --------------------------------------------------------------------------
   Shared
   ----------------------------------------------------------------------- */
.ls-container {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--ls-max) + 2 * var(--ls-gutter));
	margin: 0 auto;
	padding: 0 var(--ls-gutter);
}

.ls-header,
.ls-footer {
	font-family: var(--ls-font);
	-webkit-font-smoothing: antialiased;
	letter-spacing: normal;
	text-align: left;
}

.ls-header *,
.ls-footer * { box-sizing: border-box; }

.ls-header ul,
.ls-footer ul { list-style: none; margin: 0; padding: 0; }

.ls-header li,
.ls-footer li { margin: 0; padding: 0; }

.ls-header a,
.ls-footer a { text-decoration: none; }

.ls-content-start { height: 0; outline: 0; }

/* Logo */
.ls-header .ls-logo,
.ls-footer .ls-logo {
	display: inline-flex;
	align-items: center;
	color: inherit;
	line-height: 1;
}
.ls-logo__img {
	display: block;
	width: auto;
	max-width: 100%;
	height: var(--ls-logo-h);
	object-fit: contain;
}
.ls-logo__text {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

/* Button (same behaviour as the landing-page buttons) */
.ls-header .ls-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 24px;
	border: 2px solid var(--ls-accent);
	border-radius: 10px;
	background: var(--ls-accent);
	color: var(--ls-accent-text);
	font-family: var(--ls-font);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ls-header .ls-btn:hover,
.ls-header .ls-btn:focus-visible {
	color: var(--ls-accent-text);
	border-color: var(--ls-ink);
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(28, 20, 5, 0.28);
}

.ls-header a:focus-visible,
.ls-header button:focus-visible,
.ls-footer a:focus-visible {
	outline: 2px solid var(--ls-ink);
	outline-offset: 3px;
	border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Header
   ----------------------------------------------------------------------- */
.ls-header {
	position: relative;
	z-index: 999;
	background: var(--ls-header-bg);
	color: var(--ls-header-text);
	border-bottom: 1px solid var(--ls-line);
	transition: box-shadow 0.25s ease;
}
.ls-header-sticky .ls-header { position: sticky; top: 0; }
.ls-header-sticky.admin-bar .ls-header { top: 32px; }
@media (max-width: 782px) { .ls-header-sticky.admin-bar .ls-header { top: 46px; } }
@media (max-width: 600px) { .ls-header-sticky.admin-bar .ls-header { top: 0; } }

.ls-header.is-scrolled { box-shadow: 0 6px 24px rgba(28, 20, 5, 0.08); }

/* Compact header after scrolling: shorter bar, smaller logo and button. */
.ls-header__inner { transition: min-height 0.3s ease; }
.ls-header .ls-logo__img { transform-origin: left center; transition: transform 0.3s ease; }
.ls-header.is-scrolled .ls-header__inner { min-height: calc(var(--ls-header-h) - 16px); }
.ls-header.is-scrolled .ls-logo__img { transform: scale(0.8); }
@media (min-width: 1025px) {
	.ls-header .ls-nav__cta { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, min-height 0.3s ease, padding 0.3s ease; }
	.ls-header.is-scrolled .ls-nav__cta { min-height: 42px; padding-top: 9px; padding-bottom: 9px; }
}
@media (max-width: 767px) {
	.ls-header.is-scrolled .ls-header__inner { min-height: calc(var(--ls-header-h) - 10px); }
	.ls-header.is-scrolled .ls-logo__img { transform: scale(0.85); }
}

.ls-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--ls-header-h);
}

.ls-header__brand { flex: 0 0 auto; min-width: 0; }

/* Desktop navigation */
.ls-nav {
	display: flex;
	align-items: center;
	gap: 40px;
}

.ls-menu {
	display: flex;
	align-items: center;
	gap: 36px;
}

.ls-menu > li { position: relative; }

.ls-header .ls-menu a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 0;
	color: var(--ls-header-text);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	transition: color 0.2s ease;
}
.ls-header .ls-menu > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 2px;
	border-radius: 2px;
	background: var(--ls-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}
.ls-header .ls-menu a:hover,
.ls-header .ls-menu a:focus-visible,
.ls-header .ls-menu .current-menu-item > a,
.ls-header .ls-menu .current-menu-ancestor > a,
.ls-header .ls-menu .is-active > a { color: var(--ls-header-hover); }

.ls-header .ls-menu > li > a:hover::after,
.ls-header .ls-menu > li.current-menu-item > a::after,
.ls-header .ls-menu > li.is-active > a::after { transform: scaleX(1); }

/* Anchor items ("#section") are not "current" until scrolled to. */
.ls-header .ls-menu > li.ls-anchor.current-menu-item:not(.is-active) > a { color: var(--ls-header-text); }
.ls-header .ls-menu > li.ls-anchor.current-menu-item:not(.is-active) > a::after { transform: scaleX(0); }

.ls-caret { transition: transform 0.2s ease; }

/* Desktop dropdowns */
@media (min-width: 1025px) {
	.ls-menu .sub-menu {
		position: absolute;
		top: 100%;
		left: -16px;
		min-width: 220px;
		padding: 8px;
		background: var(--ls-header-bg);
		border: 1px solid var(--ls-line);
		border-radius: 12px;
		box-shadow: 0 16px 40px rgba(28, 20, 5, 0.12);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	}
	.ls-menu li:hover > .sub-menu,
	.ls-menu li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}
	.ls-menu li:hover > a .ls-caret,
	.ls-menu li:focus-within > a .ls-caret { transform: rotate(180deg); }
	.ls-header .ls-menu .sub-menu a {
		display: flex;
		padding: 10px 12px;
		border-radius: 8px;
		font-size: 15px;
	}
	.ls-header .ls-menu .sub-menu a:hover { background: rgba(255, 191, 0, 0.16); }
}

@media (min-width: 1025px) and (max-width: 1279px) {
	.ls-nav { gap: 28px; }
	.ls-menu { gap: 24px; }
	.ls-header .ls-menu a { font-size: 15px; }
}

/* Menu toggle (tablet & mobile) */
.ls-header .ls-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1.5px solid rgba(28, 20, 5, 0.22);
	border-radius: 10px;
	background: transparent;
	color: var(--ls-header-text);
	cursor: pointer;
	font: inherit;
	letter-spacing: 0;
	text-transform: none;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
.ls-header .ls-toggle:hover { border-color: var(--ls-header-text); text-decoration: none; }

.ls-toggle__bars { position: relative; display: block; width: 20px; height: 14px; }
.ls-toggle__bars span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.ls-toggle__bars span:nth-child(1) { top: 0; }
.ls-toggle__bars span:nth-child(2) { top: 6px; }
.ls-toggle__bars span:nth-child(3) { top: 12px; }
.ls-header.is-open .ls-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.ls-header.is-open .ls-toggle__bars span:nth-child(2) { opacity: 0; }
.ls-header.is-open .ls-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Header: tablet & mobile
   ----------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.ls-logo__img { height: calc((var(--ls-logo-h) + var(--ls-logo-h-m)) / 2); }

	.js .ls-header .ls-toggle { display: inline-flex; }

	.js .ls-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		max-height: calc(100vh - var(--ls-header-offset, var(--ls-header-h)));
		max-height: calc(100dvh - var(--ls-header-offset, var(--ls-header-h)));
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 8px var(--ls-gutter) 24px;
		background: var(--ls-header-bg);
		border-top: 1px solid var(--ls-line);
		box-shadow: 0 18px 40px rgba(28, 20, 5, 0.14);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
	}
	.js .ls-header.is-open .ls-nav {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	/* Without JavaScript the menu simply wraps under the logo. */
	.no-js .ls-header__inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
	.no-js .ls-nav { flex-wrap: wrap; gap: 16px; }
	.no-js .ls-menu { flex-wrap: wrap; gap: 8px 20px; }

	.js .ls-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
	.js .ls-header .ls-menu a {
		display: flex;
		justify-content: space-between;
		padding: 14px 0;
		font-size: 17px;
		border-bottom: 1px solid var(--ls-line);
	}
	.js .ls-header .ls-menu > li > a::after { display: none; }
	.js .ls-menu .sub-menu { padding-left: 16px; }
	.js .ls-header .ls-menu .sub-menu a { font-size: 16px; font-weight: 400; }
	.js .ls-caret { display: none; }

	.js .ls-header .ls-nav__cta { width: 100%; margin-top: 20px; }
}

@media (max-width: 767px) {
	.ls-logo__img { height: var(--ls-logo-h-m); }
	.ls-header__inner { gap: 16px; }
}

/* Lock page scroll while the mobile menu is open. */
body.ls-menu-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------- */
/* Keep the footer at the bottom of the window on short pages. */
body.ls-hf {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}
body.ls-hf > * { flex-shrink: 0; }

.ls-footer {
	margin-top: auto;
	position: relative;
	background: var(--ls-footer-bg);
	color: var(--ls-footer-text);
	padding: 64px 0 36px;
	font-size: 16px;
	line-height: 1.6;
}

.ls-footer__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 48px 64px;
}

.ls-footer__brand { flex: 0 1 470px; min-width: 0; }

.ls-footer .ls-footer__tagline {
	margin: 18px 0 0;
	max-width: 470px;
	color: var(--ls-footer-text);
	font-size: 16px;
	line-height: 1.65;
}

.ls-footer__cols {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(150px, auto);
	gap: 32px 72px;
}

.ls-footer .ls-footer__title {
	margin: 0 0 18px;
	padding: 0;
	color: var(--ls-footer-head);
	font-family: var(--ls-font);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
}

.ls-footer__menu { display: grid; gap: 12px; }

.ls-footer .ls-footer__menu a,
.ls-footer .ls-legal-menu a {
	color: var(--ls-footer-text);
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1.5px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: color 0.2s ease, background-size 0.25s ease;
}
.ls-footer .ls-footer__menu a:hover,
.ls-footer .ls-legal-menu a:hover,
.ls-footer .current-menu-item > a:not([href*="#"]) {
	color: var(--ls-footer-head);
	background-size: 100% 1.5px;
}

.ls-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px 32px;
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid rgba(28, 20, 5, 0.16);
	font-size: 14px;
}

.ls-footer .ls-footer__copy { margin: 0; color: var(--ls-footer-text); }

.ls-legal-menu { display: flex; flex-wrap: wrap; align-items: center; }
.ls-legal-menu li + li::before {
	content: "\00b7";
	margin: 0 8px;
	color: var(--ls-footer-text);
}

/* Footer: tablet */
@media (max-width: 1024px) {
	.ls-footer { padding: 56px 0 32px; }
	.ls-footer__top { flex-direction: column; }
	.ls-footer__brand { flex-basis: auto; }
	.ls-footer__cols {
		width: 100%;
		grid-auto-flow: row;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.ls-footer__cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
	.ls-footer__cols--1 { grid-template-columns: 1fr; }
	.ls-footer .ls-logo__img { height: var(--ls-logo-h); }
}

/* Footer: mobile */
@media (max-width: 767px) {
	.ls-footer { padding: 44px 0 28px; }
	.ls-footer__top { gap: 36px; }
	.ls-footer__cols,
	.ls-footer__cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; max-width: none; }
	.ls-footer__menu { gap: 14px; }
	.ls-footer__bottom { flex-direction: column; align-items: flex-start; margin-top: 40px; }
	.ls-footer .ls-logo__img { height: var(--ls-logo-h-m); }
}

@media (max-width: 359px) {
	.ls-footer__cols,
	.ls-footer__cols--2 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.ls-header *,
	.ls-footer *,
	.ls-header { transition: none !important; }
}

@media print {
	.ls-header,
	.ls-footer { display: none; }
}

/* --------------------------------------------------------------------------
   Landing page (ID 193): one-time gloss sweep over the hero heading.
   Runs once per page load, top-left to bottom-right, keeping the text colours.
   ----------------------------------------------------------------------- */
body.elementor-page-193 .elementor-element.elementor-element-6b4d5955 {
	position: relative;
	overflow: hidden;
}
body.elementor-page-193 .elementor-element.elementor-element-6b4d5955::after {
	content: "";
	position: absolute;
	top: -10%;
	bottom: -10%;
	left: 0;
	width: 55%;
	pointer-events: none;
	background: linear-gradient(115deg, rgba(255, 255, 255, 0) 15%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 85%);
	transform: translateX(-110%);
	animation: ls-hero-shine 3s ease-in-out 1s 1 both;
}
@keyframes ls-hero-shine {
	from { transform: translateX(-110%); }
	to   { transform: translateX(200%); }
}
@media (prefers-reduced-motion: reduce) {
	body.elementor-page-193 .elementor-element.elementor-element-6b4d5955::after { display: none; }
}

/* --------------------------------------------------------------------------
   Contact popup (any link to #contact opens it)
   ----------------------------------------------------------------------- */
.ls-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	font-family: var(--ls-font);
}
.ls-modal[hidden] { display: none; }
.ls-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(28, 20, 5, 0.55);
	opacity: 0;
	transition: opacity 0.25s ease;
}
.ls-modal__dialog {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 48px);
	max-height: calc(100dvh - 48px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 36px 36px 28px;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 30px 80px rgba(28, 20, 5, 0.3);
	text-align: left;
	opacity: 0;
	transform: translateY(16px) scale(0.98);
	transition: opacity 0.25s ease, transform 0.25s ease;
	outline: 0;
}
.ls-modal.is-open .ls-modal__overlay { opacity: 1; }
.ls-modal.is-open .ls-modal__dialog { opacity: 1; transform: none; }

.ls-modal .ls-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff4d6;
	color: #1c1405;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.ls-modal .ls-modal__close:hover,
.ls-modal .ls-modal__close:focus-visible { background: #ffbf00; transform: rotate(90deg); }

.ls-modal .ls-modal__title {
	margin: 0 48px 10px 0;
	padding: 0;
	color: #ff7300;
	font-family: var(--ls-font);
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
	text-transform: none;
}
.ls-modal .ls-modal__subtitle {
	margin: 0 0 22px;
	color: #3b2a10;
	font-size: 16px;
	line-height: 1.6;
}

/* Form styling inside the popup (Fluent Forms) */
.ls-modal .ls-modal__form label { color: #1c1405; font-weight: 600; font-size: 14px; }
.ls-modal .ls-modal__form input[type="text"],
.ls-modal .ls-modal__form input[type="email"],
.ls-modal .ls-modal__form input[type="tel"],
.ls-modal .ls-modal__form input[type="url"],
.ls-modal .ls-modal__form input[type="number"],
.ls-modal .ls-modal__form select,
.ls-modal .ls-modal__form textarea {
	border: 1px solid #f0c96a;
	border-radius: 10px;
	background: #fffaeb;
	color: #1c1405;
	font-family: var(--ls-font);
	font-size: 15px;
}
.ls-modal .ls-modal__form input:focus,
.ls-modal .ls-modal__form select:focus,
.ls-modal .ls-modal__form textarea:focus {
	border-color: #ff7300;
	outline: 2px solid rgba(255, 115, 0, 0.25);
	outline-offset: 0;
	background: #ffffff;
}
.ls-modal .ls-modal__form .ff-btn-submit,
.ls-modal .ls-modal__form button[type="submit"] {
	min-height: 48px;
	padding: 12px 28px;
	border: 2px solid #ff7300 !important;
	border-radius: 10px;
	background: #ff7300 !important;
	color: #1c1405 !important;
	font-family: var(--ls-font);
	font-size: 16px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ls-modal .ls-modal__form .ff-btn-submit:hover,
.ls-modal .ls-modal__form .ff-btn-submit:focus-visible,
.ls-modal .ls-modal__form button[type="submit"]:hover {
	border-color: #1c1405 !important;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(28, 20, 5, 0.28);
	opacity: 1;
}
body.ls-modal-open { overflow: hidden; }

@media (max-width: 767px) {
	.ls-modal { align-items: flex-end; padding: 0; }
	.ls-modal__dialog {
		max-width: none;
		max-height: 92vh;
		max-height: 92dvh;
		padding: 28px 20px 20px;
		border-radius: 18px 18px 0 0;
		transform: translateY(40px);
	}
	.ls-modal .ls-modal__title { font-size: 22px; }
	.ls-modal .ls-modal__subtitle { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
	.ls-modal__overlay,
	.ls-modal__dialog { transition: none; }
}

/* Contact popup: logo header and left-aligned form */
.ls-modal .ls-modal__logo { display: flex; align-items: center; justify-content: flex-start; margin: 2px 56px 14px 0; line-height: 0; }
.ls-modal .ls-modal__logo-img { display: block; width: auto; height: 34px; max-width: 100%; object-fit: contain; image-rendering: -webkit-optimize-contrast; }
.ls-modal .ls-modal__subtitle { margin-right: 40px; }
.ls-modal .ls-modal__form,
.ls-modal .ls-modal__form .ff-el-group,
.ls-modal .ls-modal__form .ff_submit_btn_wrapper { text-align: left; }
.ls-modal .ls-modal__form .ff_submit_btn_wrapper { justify-content: flex-start; }
@media (max-width: 767px) {
	.ls-modal .ls-modal__logo-img { height: 28px; }
	.ls-modal .ls-modal__subtitle { margin-right: 0; }
	.ls-modal .ls-modal__form .ff-btn-submit { width: 100%; }
}

/* Contact popup: keep the security check (Turnstile / reCAPTCHA) left-aligned */
.ls-modal .ls-modal__form .ff-el-turnstile,
.ls-modal .ls-modal__form .ff-el-recaptcha,
.ls-modal .ls-modal__form .ff-el-hcaptcha { margin-left: 0 !important; margin-right: 0 !important; }
#fluentform-turnstile-1-1 { margin: 0 auto !important; display: table; }
.ff-el-group.ff-text-center.ff_submit_btn_wrapper { text-align: center; }

/* --------------------------------------------------------------------------
   Icon chips with tooltips (icon + hidden label inside an Elementor container)
   ----------------------------------------------------------------------- */
.ls-icon-chip { cursor: help; outline: 0; }
.ls-icon-chip:focus-visible { box-shadow: 0 0 0 3px rgba(255, 115, 0, 0.35); }
.ls-icon-chip::after,
.ls-icon-chip::before { content: none; }
.ls-icon-chip:hover::after,
.ls-icon-chip:focus-visible::after {
	content: attr(data-ls-tip);
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	z-index: 30;
	padding: 6px 10px;
	border-radius: 8px;
	background: #1c1405;
	color: #ffffff;
	font-family: var(--ls-font, "Heebo", sans-serif);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	pointer-events: none;
	box-shadow: 0 8px 20px rgba(28, 20, 5, 0.2);
	transform: translateX(-50%);
	animation: ls-tip-in 0.18s ease both;
}
.ls-icon-chip:hover::before,
.ls-icon-chip:focus-visible::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: calc(100% - 2px);
	z-index: 30;
	border: 6px solid transparent;
	border-top-color: #1c1405;
	pointer-events: none;
	transform: translateX(-50%);
	animation: ls-tip-in 0.18s ease both;
}
.ls-icon-chip.ls-tip--start:hover::after,
.ls-icon-chip.ls-tip--start:focus-visible::after { left: 0; transform: none; }
.ls-icon-chip.ls-tip--end:hover::after,
.ls-icon-chip.ls-tip--end:focus-visible::after { left: auto; right: 0; transform: none; }
@keyframes ls-tip-in {
	from { opacity: 0; margin-bottom: -4px; }
	to   { opacity: 1; margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.ls-icon-chip::after,
	.ls-icon-chip::before { animation: none; }
}

/* Tooltip arrow: reset Elementor's container ::before overlay box so only the triangle shows */
.ls-icon-chip:hover::before,
.ls-icon-chip:focus-visible::before {
	top: auto;
	right: auto;
	width: 0;
	height: 0;
	background: none;
	border-radius: 0;
	opacity: 1;
}
