/* =========================================================================
   TimiLab Menu — front end
   Every selector is scoped to .tlm-ui so OceanWP / Elementor button and
   link styles can't leak in. Colors come from the settings page (inline vars).
   ========================================================================= */

.tlm-ui {
	--tlm-tint: color-mix(in srgb, var(--tlm-accent, #2563eb) 9%, transparent);
	--tlm-tint-2: color-mix(in srgb, var(--tlm-accent, #2563eb) 15%, transparent);
	--tlm-line: color-mix(in srgb, var(--tlm-text, #111827) 10%, transparent);
	--tlm-muted: color-mix(in srgb, var(--tlm-text, #111827) 62%, transparent);
	--tlm-shadow: 0 24px 48px -18px rgba(15, 23, 42, .28), 0 2px 6px rgba(15, 23, 42, .05);
	--tlm-r: 12px;
	font-size: 15px;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
}
.tlm-ui, .tlm-ui *, .tlm-ui *::before, .tlm-ui *::after { box-sizing: border-box; }

/* Reset theme styles on our elements */
.tlm-ui ul, .tlm-ui li { list-style: none; margin: 0; padding: 0; }
.tlm-ui a { text-decoration: none; box-shadow: none; }
.tlm-ui button {
	-webkit-appearance: none; appearance: none;
	background: transparent; color: inherit; border: 0; border-radius: 0; padding: 0; margin: 0;
	font: inherit; letter-spacing: normal; text-transform: none; line-height: inherit;
	min-height: 0; min-width: 0; width: auto; height: auto; box-shadow: none; cursor: pointer;
}
.tlm-ui button:hover, .tlm-ui button:focus { background-color: transparent; color: inherit; box-shadow: none; }
.tlm-ui :focus-visible { outline: 2px solid var(--tlm-accent); outline-offset: 2px; }
.tlm-ui .tlm-svg { width: 20px; height: 20px; flex: none; display: block; }
.tlm-ui .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.tlm-ui .tlm-wrap { max-width: var(--tlm-max, 1280px); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* ---------- Top bar ---------- */
.tlm-ui.tlm-topbar { background: var(--tlm-top-bg); color: var(--tlm-top-fg); font-size: 13px; position: relative; z-index: 1001; }
.tlm-ui.tlm-topbar .tlm-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.tlm-ui .tlm-topbar-l, .tlm-ui .tlm-topbar-r { display: inline-flex; align-items: center; gap: 8px; color: inherit; opacity: .9; }
.tlm-ui .tlm-topbar-r:hover, .tlm-ui .tlm-topbar-r:focus { color: inherit; opacity: 1; text-decoration: underline; }
.tlm-ui.tlm-topbar .tlm-svg { width: 15px; height: 15px; }

/* ---------- Header bar ---------- */
.tlm-ui.tlm-header {
	--tlm-h: 72px;
	position: relative; z-index: 1000;
	background: var(--tlm-bg); color: var(--tlm-text);
	border-bottom: 1px solid var(--tlm-line);
	transition: box-shadow .2s ease;
}
/* --tlm-admin = height of the WordPress admin bar only when it is really on screen (set in PHP, corrected by tlm.js). */
.tlm-ui.tlm-header.is-sticky { position: sticky; top: var(--tlm-admin, 0px); }
.tlm-ui.tlm-header.is-scrolled { box-shadow: 0 8px 28px -14px rgba(15, 23, 42, .28); }
.tlm-ui.tlm-header.can-shrink.is-scrolled { --tlm-h: 60px; }
.tlm-ui .tlm-bar { display: flex; align-items: stretch; gap: 20px; height: var(--tlm-h); transition: height .2s ease; }

.tlm-ui .tlm-logo { display: flex; align-items: center; flex: none; color: var(--tlm-text); }
.tlm-ui .tlm-logo img { display: block; width: auto; max-width: 220px; transition: transform .2s ease; transform-origin: left center; }
.tlm-ui.tlm-header.can-shrink.is-scrolled .tlm-logo img { transform: scale(.88); }
.tlm-ui .tlm-logo-text { font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.tlm-ui .tlm-empty { align-self: center; font-size: 13px; color: var(--tlm-accent); }

/* ---------- Desktop nav ---------- */
.tlm-ui .tlm-desktop { display: flex; flex: 1; min-width: 0; }
.tlm-ui .tlm-nav { display: flex; align-items: stretch; gap: 2px; }
.tlm-ui .tlm-item { display: flex; align-items: center; position: static; }
.tlm-ui .tlm-item.tlm-has-sub:not(.tlm-has-mega) { position: relative; }

.tlm-ui .tlm-top {
	display: inline-flex; align-items: center; gap: 6px;
	height: 40px; padding: 0 12px; border-radius: 10px;
	font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap;
	color: var(--tlm-text);
	transition: background-color .15s ease, color .15s ease;
}
.tlm-ui .tlm-top:hover, .tlm-ui .tlm-top:focus-visible,
.tlm-ui .tlm-item.is-open > .tlm-top { background: var(--tlm-tint); color: var(--tlm-accent); }
.tlm-ui .tlm-item.is-trail > .tlm-top { color: var(--tlm-accent); }
.tlm-ui .tlm-top .tlm-top-ico { width: 18px; height: 18px; }
.tlm-ui .tlm-top .tlm-badge { margin-left: 2px; }

.tlm-ui .tlm-item > a.tlm-top:has(+ .tlm-chev-btn) { padding-right: 4px; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.tlm-ui .tlm-chev-btn { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 40px; border-radius: 0 10px 10px 0; color: var(--tlm-text); }
.tlm-ui .tlm-chev-btn:hover, .tlm-ui .tlm-chev-btn:focus-visible,
.tlm-ui .tlm-item.is-open > .tlm-chev-btn { background: var(--tlm-tint); color: var(--tlm-accent); }
.tlm-ui .tlm-item:hover > a.tlm-top + .tlm-chev-btn { background: var(--tlm-tint); }
.tlm-ui .tlm-chev { width: 15px; height: 15px; opacity: .65; transition: transform .2s ease; }
.tlm-ui .is-open > .tlm-toggle .tlm-chev { transform: rotate(180deg); opacity: 1; }

/* ---------- Panels (shared) ---------- */
.tlm-ui .tlm-panel {
	position: absolute; top: 100%; z-index: 30;
	visibility: hidden; opacity: 0; transform: translateY(8px); pointer-events: none;
	transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
.tlm-ui .is-open > .tlm-panel { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }

/* Compact dropdown */
.tlm-ui .tlm-drop {
	left: 0; min-width: 300px; max-width: 360px; padding: 8px; margin-top: -8px;
	background: var(--tlm-panel); color: var(--tlm-text);
	border: 1px solid var(--tlm-line); border-radius: 14px; box-shadow: var(--tlm-shadow);
}
.tlm-ui .tlm-drop-right { left: auto; right: 0; }
.tlm-ui .tlm-drop-sm { min-width: 180px; }
.tlm-ui .tlm-sublist { padding-left: 48px; }

/* Link rows */
.tlm-ui .tlm-row {
	display: flex; align-items: flex-start; gap: 12px;
	padding: 9px 12px; border-radius: 10px; color: var(--tlm-text);
	transition: background-color .15s ease;
}
.tlm-ui .tlm-row.has-ico { align-items: center; }
.tlm-ui a.tlm-row:hover, .tlm-ui a.tlm-row:focus-visible { background: var(--tlm-tint); color: var(--tlm-text); }
.tlm-ui .tlm-row.is-label { cursor: default; }
.tlm-ui .tlm-ico {
	width: 36px; height: 36px; flex: none; border-radius: 10px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--tlm-tint); color: var(--tlm-accent);
	transition: background-color .15s ease, color .15s ease;
}
.tlm-ui a.tlm-row:hover .tlm-ico, .tlm-ui a.tlm-row:focus-visible .tlm-ico { background: var(--tlm-accent); color: #fff; }
.tlm-ui .tlm-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tlm-ui .tlm-title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.tlm-ui .tlm-desc { font-size: 13px; line-height: 1.35; color: var(--tlm-muted); }
.tlm-ui .tlm-row.is-current .tlm-title { color: var(--tlm-accent); }
.tlm-ui .tlm-badge {
	display: inline-block; padding: 2px 7px; border-radius: 999px;
	background: var(--tlm-accent); color: #fff;
	font-size: 10.5px; font-weight: 700; line-height: 1.35; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}

/* ---------- Mega panel ---------- */
.tlm-ui .tlm-mega {
	left: 0; right: 0;
	background: var(--tlm-panel); color: var(--tlm-text);
	border-top: 1px solid var(--tlm-line);
	box-shadow: 0 32px 60px -28px rgba(15, 23, 42, .35);
}
.tlm-ui .tlm-mega-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 26px; padding-bottom: 26px; }
.tlm-ui .tlm-mega-inner.has-feat { grid-template-columns: minmax(0, 1fr) 300px; }
.tlm-ui .tlm-cols { display: grid; grid-template-columns: repeat(var(--tlm-ncols, 3), minmax(0, 1fr)); gap: 20px; }
.tlm-ui .tlm-col-head {
	display: flex; align-items: center; gap: 10px;
	padding: 0 12px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--tlm-line);
	color: var(--tlm-text);
}
.tlm-ui .tlm-col-head .tlm-ico { width: 28px; height: 28px; border-radius: 8px; }
.tlm-ui .tlm-col-head .tlm-ico .tlm-svg { width: 17px; height: 17px; }
.tlm-ui .tlm-col-head .tlm-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tlm-muted); }
.tlm-ui .tlm-col-head .tlm-desc { font-size: 12px; }
.tlm-ui a.tlm-col-head:hover .tlm-title { color: var(--tlm-accent); }
.tlm-ui a.tlm-col-head:hover .tlm-ico { background: var(--tlm-accent); color: #fff; }

/* Feature card */
.tlm-ui .tlm-feat {
	position: relative; display: flex; flex-direction: column; overflow: hidden;
	border-radius: 16px; color: #fff;
	background: linear-gradient(155deg, #0b1222 0%, color-mix(in srgb, var(--tlm-accent) 62%, #0b1222) 100%);
	isolation: isolate;
}
.tlm-ui a.tlm-feat:hover, .tlm-ui a.tlm-feat:focus { color: #fff; }
.tlm-ui .tlm-feat-art { position: relative; height: 128px; display: flex; align-items: center; justify-content: center; }
.tlm-ui .tlm-feat-art::before, .tlm-ui .tlm-feat-art::after {
	content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .18); transform: translate(-50%, -50%);
}
.tlm-ui .tlm-feat-art::before { width: 96px; height: 96px; }
.tlm-ui .tlm-feat-art::after { width: 150px; height: 150px; border-color: rgba(255, 255, 255, .09); }
.tlm-ui .tlm-feat-art .tlm-svg { width: 44px; height: 44px; position: relative; }
.tlm-ui .tlm-feat-img img { display: block; width: 100%; height: 150px; object-fit: cover; }
.tlm-ui .tlm-feat-body { display: flex; flex-direction: column; gap: 8px; padding: 4px 22px 22px; }
.tlm-ui .tlm-feat.has-img .tlm-feat-body { padding-top: 18px; }
.tlm-ui .tlm-feat-title { font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.tlm-ui .tlm-feat-text { font-size: 13.5px; line-height: 1.5; opacity: .78; }
.tlm-ui .tlm-feat-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; font-weight: 600; }
.tlm-ui .tlm-feat-btn .tlm-svg { width: 16px; height: 16px; transition: transform .2s ease; }
.tlm-ui a.tlm-feat:hover .tlm-feat-btn .tlm-svg { transform: translateX(4px); }

.tlm-ui .tlm-mega-foot { border-top: 1px solid var(--tlm-line); background: color-mix(in srgb, var(--tlm-text) 3%, var(--tlm-panel)); }
.tlm-ui .tlm-mega-foot .tlm-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; font-size: 14px; }
.tlm-ui .tlm-mega-foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--tlm-accent); }
.tlm-ui .tlm-mega-foot a:hover { color: var(--tlm-accent); text-decoration: underline; }
.tlm-ui .tlm-mega-foot .tlm-svg { width: 16px; height: 16px; }
.tlm-ui .tlm-mega-note { display: inline-flex; align-items: center; gap: 8px; color: var(--tlm-muted); }

/* ---------- Actions ---------- */
.tlm-ui .tlm-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; flex: none; }
.tlm-ui .tlm-icon-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-width: 40px; height: 40px; padding: 0 9px; border-radius: 10px;
	color: var(--tlm-text); transition: background-color .15s ease, color .15s ease;
}
.tlm-ui .tlm-icon-btn:hover, .tlm-ui .tlm-icon-btn:focus-visible,
.tlm-ui .is-open > .tlm-icon-btn { background: var(--tlm-tint); color: var(--tlm-accent); }
.tlm-ui .tlm-lang-btn span { font-size: 13px; font-weight: 700; }
.tlm-ui .tlm-dd-wrap { position: relative; display: flex; align-items: center; align-self: stretch; }
.tlm-ui .tlm-dd-wrap > .tlm-drop { margin-top: -8px; }
.tlm-ui .tlm-acct .tlm-icon-btn.is-in::after {
	content: ""; position: absolute; top: 8px; right: 8px; width: 9px; height: 9px; border-radius: 50%;
	background: #22c55e; border: 2px solid var(--tlm-bg);
}
.tlm-ui .tlm-acct .tlm-drop { width: 290px; padding: 14px; }
.tlm-ui .tlm-acct-hi { margin: 2px 4px 12px; font-size: 13.5px; color: var(--tlm-muted); }
.tlm-ui .tlm-acct-btns { display: grid; gap: 8px; }
.tlm-ui .tlm-logout .tlm-ico { width: 30px; height: 30px; background: transparent; color: var(--tlm-muted); }
.tlm-ui .tlm-cart-count {
	position: absolute; top: 2px; right: 0;
	min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
	background: var(--tlm-accent); color: #fff; border: 2px solid var(--tlm-bg);
	font-size: 10.5px; font-weight: 700; line-height: 14px; text-align: center;
}
.tlm-ui .tlm-cart-count.is-empty { display: none; }
.tlm-ui .tlm-cart-count.is-bump { animation: tlm-bump .4s ease; }
@keyframes tlm-bump { 40% { transform: scale(1.35); } }

.tlm-ui .tlm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	height: 40px; padding: 0 18px; border-radius: 10px;
	background: var(--tlm-accent); color: #fff; border: 1px solid transparent;
	font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
	transition: filter .15s ease, background-color .15s ease;
}
.tlm-ui .tlm-btn:hover, .tlm-ui .tlm-btn:focus { background: var(--tlm-accent); color: #fff; filter: brightness(1.1); }
.tlm-ui .tlm-btn-ghost, .tlm-ui .tlm-btn-ghost:hover, .tlm-ui .tlm-btn-ghost:focus { background: transparent; color: var(--tlm-text); border-color: var(--tlm-line); filter: none; }
.tlm-ui .tlm-btn-ghost:hover { border-color: var(--tlm-accent); color: var(--tlm-accent); }
.tlm-ui .tlm-cta { margin-left: 10px; }
.tlm-ui .tlm-burger { display: none; }
.tlm-ui .tlm-burger .tlm-svg { width: 24px; height: 24px; }

/* ---------- Search overlay ---------- */
.tlm-ui.tlm-search { position: fixed; inset: 0; z-index: 100000; }
.tlm-ui.tlm-search[hidden] { display: none; }
.tlm-ui .tlm-search-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .45); opacity: 0; transition: opacity .2s ease; }
.tlm-ui .tlm-search-box {
	position: relative; padding: 22px 0; background: var(--tlm-bg); color: var(--tlm-text);
	box-shadow: var(--tlm-shadow); transform: translateY(-100%); transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
.tlm-ui.tlm-search.is-open .tlm-search-backdrop { opacity: 1; }
.tlm-ui.tlm-search.is-open .tlm-search-box { transform: none; }
.tlm-ui .tlm-search-box .tlm-wrap { display: flex; align-items: center; gap: 10px; }
.tlm-ui .tlm-search-form {
	flex: 1; display: flex; align-items: center; gap: 10px;
	height: 52px; padding: 0 6px 0 16px; margin: 0;
	background: var(--tlm-bg); border: 1.5px solid var(--tlm-line); border-radius: 12px;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.tlm-ui .tlm-search-form:focus-within { border-color: var(--tlm-accent); box-shadow: 0 0 0 4px var(--tlm-tint); }
.tlm-ui .tlm-search-form > .tlm-svg { color: var(--tlm-muted); }
.tlm-ui .tlm-search-form input[type="search"] {
	flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0;
	background: transparent; border: 0; border-radius: 0; box-shadow: none; outline: 0;
	color: var(--tlm-text); font: inherit; font-size: 16px;
}
.tlm-ui .tlm-search-form input[type="search"]:focus { border: 0; box-shadow: none; outline: 0; }

/* ---------- Mobile drawer ---------- */
.tlm-ui.tlm-drawer { position: fixed; inset: 0; z-index: 100001; }
.tlm-ui.tlm-drawer[hidden] { display: none; }
.tlm-ui .tlm-drawer-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); opacity: 0; transition: opacity .25s ease; }
.tlm-ui .tlm-drawer-panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 92vw);
	display: flex; flex-direction: column;
	background: var(--tlm-bg); color: var(--tlm-text);
	box-shadow: -20px 0 60px -20px rgba(15, 23, 42, .4);
	transform: translateX(100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.tlm-ui.tlm-drawer.is-open .tlm-drawer-backdrop { opacity: 1; }
.tlm-ui.tlm-drawer.is-open .tlm-drawer-panel { transform: none; }
.tlm-ui .tlm-drawer-head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 10px 0 20px; border-bottom: 1px solid var(--tlm-line); flex: none; }
.tlm-ui .tlm-drawer-head .tlm-logo img { max-height: 30px; }
.tlm-ui .tlm-drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 16px 24px; }
.tlm-ui .tlm-drawer-body .tlm-search-form { height: 46px; margin-bottom: 8px; padding-right: 12px; }
.tlm-ui .tlm-drawer-body .tlm-search-form .tlm-btn { display: none; }

.tlm-ui .tlm-m-d0 > .tlm-m-item { border-bottom: 1px solid var(--tlm-line); }
.tlm-ui .tlm-m-row { display: flex; align-items: center; }
.tlm-ui .tlm-m-link {
	flex: 1; display: flex; align-items: center; gap: 12px; width: 100%;
	min-height: 54px; padding: 6px 4px; text-align: left;
	color: var(--tlm-text); font-size: 16.5px; font-weight: 600;
}
.tlm-ui a.tlm-m-link:hover, .tlm-ui a.tlm-m-link:focus { color: var(--tlm-accent); }
.tlm-ui .tlm-m-item.is-trail > .tlm-m-row > .tlm-m-link { color: var(--tlm-accent); }
.tlm-ui .tlm-m-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tlm-ui .tlm-m-link .tlm-chev { margin-left: auto; }
.tlm-ui .tlm-m-chev { width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; }
.tlm-ui .tlm-m-chev:hover, .tlm-ui .tlm-m-chev:focus { background: var(--tlm-tint); }
.tlm-ui .tlm-m-toggle[aria-expanded="true"] .tlm-chev { transform: rotate(180deg); opacity: 1; }
.tlm-ui .tlm-m-sub { padding-bottom: 10px; }
.tlm-ui .tlm-m-d1 .tlm-m-link { min-height: 46px; padding-left: 6px; font-size: 15.5px; font-weight: 500; }
.tlm-ui .tlm-m-d2 { margin: 0 0 6px 18px; padding-left: 12px; border-left: 2px solid var(--tlm-line); }
.tlm-ui .tlm-m-d2 .tlm-m-link { min-height: 42px; font-size: 15px; font-weight: 400; }
.tlm-ui .tlm-m-link .tlm-ico { width: 32px; height: 32px; border-radius: 9px; }
.tlm-ui .tlm-m-d2 .tlm-ico { width: 28px; height: 28px; }
.tlm-ui .tlm-m-d2 .tlm-ico .tlm-svg { width: 17px; height: 17px; }

.tlm-ui .tlm-m-acct { margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--tlm-tint); }
.tlm-ui .tlm-m-acct .tlm-acct-hi { margin: 0 0 12px; }
.tlm-ui .tlm-m-acct .tlm-acct-btns { grid-template-columns: 1fr 1fr; }
.tlm-ui .tlm-m-acct .tlm-btn-ghost { background: var(--tlm-bg); }
.tlm-ui .tlm-m-acct a.tlm-row:hover { background: var(--tlm-bg); }
.tlm-ui .tlm-m-langs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 16px; color: var(--tlm-muted); }
.tlm-ui .tlm-m-langs .tlm-svg { margin-right: 4px; }
.tlm-ui .tlm-m-langs a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--tlm-line); color: var(--tlm-text); font-size: 14px; }
.tlm-ui .tlm-m-langs a.is-current { background: var(--tlm-text); border-color: var(--tlm-text); color: var(--tlm-bg); }
.tlm-ui .tlm-drawer-foot { flex: none; padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--tlm-line); }
.tlm-ui .tlm-btn-block { width: 100%; height: 50px; font-size: 15.5px; }
body.tlm-lock { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
	.tlm-ui .tlm-mega-inner.has-feat { grid-template-columns: minmax(0, 1fr) 250px; }
	.tlm-ui .tlm-top { padding: 0 10px; font-size: 14.5px; }
	.tlm-ui .tlm-row .tlm-desc { font-size: 12.5px; }
}
@media (max-width: 600px) {
	.tlm-ui.tlm-header { --tlm-h: 62px; }
	.tlm-ui.tlm-header.is-sticky { top: 0; }
	.tlm-ui .tlm-wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
	.tlm-ui .tlm-search-box .tlm-search-form .tlm-btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.tlm-ui, .tlm-ui * { transition: none !important; animation: none !important; }
}

/* ---------- Other sticky bars on the page sit under this header ----------
   Elementor "Sticky: Top" sections are pinned by script with an inline top;
   push them below the header too. (--tlm-offset is set by tlm.js) */
body.tlm-on .elementor-sticky--active:not(.tlm-no-offset) { top: var(--tlm-offset, 0px) !important; }

/* #anchor jumps clear the header. Zero specificity, so any page's own scroll-margin wins. */
:where(body.tlm-on [id]) { scroll-margin-top: var(--tlm-anchor, 0px); }

/* Guides page (/laundrysetting/): its script pins the device tabs at the top of the screen.
   Keep them under this header (also when the WordPress admin bar is showing), and make
   its section jumps clear both the header and the tabs. */
body.tlm-on #tls-setup .tls-tabs.is-fixed { top: var(--tlm-offset, 0px) !important; }
body.tlm-on #tls-setup { --tls-offset: calc(var(--tlm-offset, 0px) + var(--tlm-tabs-h, 62px) + 14px) !important; }
