/* ==========================================================================
   TehnicoMed – „Laborator” (mobile-first)
   Grafit + violet + lime, hârtie milimetrică, etichete tehnice numerotate,
   titluri Space Grotesk, text IBM Plex Sans, simbol hexagon (moleculă).
   Breakpoint-uri: 400 · 480 · 640 · 768 · 1024 · 1200
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
	--tm-bg: #f5f6f8;
	--tm-paper: #ffffff;
	--tm-soft: #eef0f5;
	--tm-border: #e2e5ec;
	--tm-border-strong: #c9cfdb;
	--tm-text: #1b1e27;
	--tm-muted: #5b6170;

	--tm-ink: #14161c;           /* grafit */
	--tm-ink-700: #2a2e3a;
	--tm-ink-50: #ebecf0;
	--tm-violet: #5b3df5;        /* acțiuni */
	--tm-violet-700: #4527d6;
	--tm-violet-50: #efebff;
	--tm-lime: #c6f24e;          /* semnal: badge-uri, marcaje */
	--tm-lime-ink: #3f5a00;      /* text verde lizibil pe alb */
	--tm-red: #e5484d;
	--tm-star: #f5a524;
	--tm-ok: #1f8f4e;
	--tm-danger: #d92d20;

	--tm-head: "TM Head", "Segoe UI", system-ui, sans-serif;
	--tm-sans: "TM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--tm-container: 1200px;
	--tm-gutter: 16px;
	--tm-radius-sm: 6px;
	--tm-radius: 10px;
	--tm-radius-lg: 16px;
	--tm-radius-xl: 24px;
	--tm-shadow-sm: 0 1px 2px rgba(20, 22, 28, .05), 0 4px 12px rgba(20, 22, 28, .05);
	--tm-shadow: 0 16px 36px rgba(20, 22, 28, .12);
	--tm-header-h: 64px;
	--tm-logo-h: 48px;
	--tm-admin-bar: var(--wp-admin--admin-bar--height, 0px);

	/* hârtie milimetrică (deschis / închis) */
	--tm-grid: linear-gradient(rgba(91, 61, 245, .07) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(91, 61, 245, .07) 1px, transparent 1px) 0 0 / 22px 22px;
	--tm-grid-dark: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px) 0 0 / 28px 28px;
	/* colțuri de vizor (4 straturi) */
	--tm-c: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1.5 13V1.5H13' fill='none' stroke='%23c6f24e' stroke-width='3'/%3E%3C/svg%3E");
	--tm-hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 6 39.6 15v18L24 42 8.4 33V15Z' fill='none' stroke='%235b3df5' stroke-width='3.5' stroke-linejoin='round'/%3E%3Ccircle cx='24' cy='24' r='6' fill='%235b3df5'/%3E%3C/svg%3E");
	--tm-hex-lime: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 6 39.6 15v18L24 42 8.4 33V15Z' fill='none' stroke='%23c6f24e' stroke-width='2.5' stroke-linejoin='round'/%3E%3Ccircle cx='24' cy='24' r='5' fill='%23c6f24e'/%3E%3C/svg%3E");
}
@media (min-width: 768px) { :root { --tm-gutter: 24px; } }
@media (min-width: 1200px) { :root { --tm-gutter: 32px; } }

/* ---------- 2. Bază (peste Astra) ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--tm-header-h) + var(--tm-admin-bar) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.tm-site {
	margin: 0;
	font-family: var(--tm-sans);
	font-size: 17px;
	line-height: 1.65;
	color: var(--tm-text);
	background: var(--tm-bg);
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
	counter-reset: tmsec;
}
.tm-site #page, .tm-site .site-content, .tm-site #content { background: transparent; }
.tm-site button, .tm-site input, .tm-site select, .tm-site textarea { font-family: inherit; }

body.tm-site :where(h1, h2, h3, h4) {
	font-family: var(--tm-head);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.025em;
	color: var(--tm-ink);
	margin: 0 0 .5em;
	text-wrap: balance;
}
body.tm-site :where(h1) { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); }
body.tm-site :where(h2) { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.15rem); }
body.tm-site :where(h3) { font-size: clamp(1.12rem, 1.04rem + .45vw, 1.32rem); font-weight: 600; letter-spacing: -.01em; }
:where(.tm-site) p { margin: 0 0 1em; }
:where(.tm-site) a { color: var(--tm-violet-700); text-underline-offset: 3px; }
:where(.tm-site) a:hover { color: var(--tm-ink); }
.tm-site img { max-width: 100%; height: auto; }
.tm-site :focus-visible { outline: 3px solid var(--tm-violet); outline-offset: 2px; border-radius: 4px; }
.tm-site .screen-reader-text:focus { background: var(--tm-paper); color: var(--tm-text); }

/* Container comun */
.tm-container,
.tm-site .ast-container,
.tm-site .site-content > .ast-container {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--tm-container) + 2 * var(--tm-gutter));
	margin-inline: auto;
	padding-inline: var(--tm-gutter);
}
.tm-site .site-content > .ast-container { display: block; }
.tm-site #primary { width: 100%; margin: 20px 0 64px; padding: 0; float: none; border: 0; }
@media (min-width: 1024px) { .tm-site #primary { margin: 28px 0 96px; } }
.tm-site #secondary { display: none; }
.tm-site .ast-article-single, .tm-site .ast-article-post, .tm-site article.page {
	background: transparent; padding: 0; margin: 0; border: 0; box-shadow: none;
}
.tm-site .entry-header { margin-bottom: 20px; }
.tm-site .entry-title { margin: 0; }

/* etichetă tehnică (refolosită) */
.tm-label { font-family: var(--tm-head); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- 3. Butoane ---------- */
.tm-btn,
.tm-site .wp-block-button__link,
.tm-site .button,
.tm-site button.button,
.tm-site input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 52px; padding: 12px 26px; box-sizing: border-box;
	font: 600 16px/1.2 var(--tm-head); letter-spacing: -.005em; text-transform: none;
	color: #fff; background: var(--tm-violet); border: 2px solid var(--tm-violet); border-radius: var(--tm-radius);
	text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s;
	-webkit-tap-highlight-color: transparent;
}
.tm-btn:hover,
.tm-site .wp-block-button__link:hover,
.tm-site .button:hover,
.tm-site input[type="submit"]:hover { background: var(--tm-violet-700); border-color: var(--tm-violet-700); color: #fff; }
.tm-btn:active, .tm-site .wp-block-button__link:active { transform: translateY(1px); }
.tm-btn--outline { background: transparent; color: var(--tm-ink); border-color: var(--tm-ink); }
.tm-btn--outline:hover { background: var(--tm-ink); color: #fff; border-color: var(--tm-ink); }
.tm-btn--accent { background: var(--tm-violet); border-color: var(--tm-violet); }
.tm-site .wp-block-buttons { gap: 12px; }

.tm-link-arrow { display: inline-flex; align-items: center; gap: 6px; font: 600 15px/1.2 var(--tm-head); text-decoration: none; }
.tm-link-arrow svg { transition: transform .15s; }
.tm-link-arrow:hover svg { transform: translateX(3px); }

/* ---------- 4. Bara de sus + header ---------- */
.tm-topbar { background: var(--tm-ink); color: #d5d8e2; font-size: 13.5px; line-height: 1.3; }
.tm-topbar__inner { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 34px; padding-block: 6px; }
.tm-topbar__text { display: flex; align-items: center; gap: 8px; margin: 0; text-align: center; }
.tm-topbar__text svg { flex: 0 0 auto; color: var(--tm-lime); }
.tm-topbar__phone { display: none; align-items: center; gap: 6px; color: #fff; font-weight: 600; text-decoration: none; }
.tm-topbar__phone svg { color: var(--tm-lime); }
.tm-topbar__phone:hover { color: #fff; text-decoration: underline; }
@media (max-width: 599px) { .tm-topbar__text span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; } }
@media (min-width: 900px) {
	.tm-topbar__inner { justify-content: space-between; }
	.tm-topbar__phone { display: inline-flex; }
}

.tm-header {
	position: sticky; top: var(--tm-admin-bar); z-index: 200;
	background: var(--tm-paper);
	transition: box-shadow .2s;
}
.tm-header.is-scrolled { box-shadow: 0 8px 22px rgba(20, 22, 28, .08); }
@media (max-width: 600px) { .admin-bar .tm-header { top: 0; } }
.tm-header__bar { position: relative; border-bottom: 1px solid var(--tm-border); }
.tm-header__inner { display: flex; align-items: center; gap: 10px; min-height: 64px; padding-block: 8px; }

/* Logo: hexagon + „Tehnico” + „Med” violet */
.tm-logo { display: inline-flex; align-items: center; gap: 10px; flex: 0 1 auto; min-width: 0; margin-right: auto; color: var(--tm-ink); text-decoration: none; }
.tm-logo:hover { color: var(--tm-ink); }
.tm-logo__img { display: block; width: auto; height: 40px; max-width: 170px; object-fit: contain; }
.tm-logo__mark { width: 40px; }
.tm-logo__text { display: flex; flex-direction: column; min-width: 0; line-height: 1; }
.tm-logo__name { font-family: var(--tm-head); font-weight: 700; font-size: 24px; letter-spacing: -.04em; color: var(--tm-ink); white-space: nowrap; }
.tm-logo__accent { color: var(--tm-violet); }
@media (min-width: 1024px) {
	.tm-logo__img { height: var(--tm-logo-h); max-width: 240px; }
	.tm-logo__mark { width: var(--tm-logo-h); }
	.tm-logo__name { font-size: 29px; }
}

.tm-header__actions { display: flex; align-items: center; gap: 2px; margin-right: -8px; }
.tm-icon-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-width: 44px; height: 44px; padding: 0 10px; box-sizing: border-box;
	color: var(--tm-ink); background: transparent; border: 0; border-radius: var(--tm-radius); cursor: pointer;
	text-decoration: none; -webkit-tap-highlight-color: transparent; font: 600 15px/1 var(--tm-head);
}
.tm-icon-btn:hover { background: var(--tm-soft); color: var(--tm-ink); }
.tm-menu-toggle { background: var(--tm-ink); color: #fff; margin-left: 4px; }
.tm-menu-toggle:hover { background: var(--tm-ink-700); color: #fff; }
.tm-support__label { display: none; }

/* Căutare */
.tm-search {
	display: none; position: relative; align-items: center;
	height: 48px; background: var(--tm-soft);
	border: 1.5px solid var(--tm-soft); border-radius: var(--tm-radius); transition: border-color .15s, box-shadow .15s, background .15s;
}
.tm-search:focus-within { border-color: var(--tm-violet); box-shadow: 0 0 0 3px var(--tm-violet-50); background: #fff; }
.tm-search input[type="search"] {
	flex: 1; min-width: 0; height: 100%; padding: 0 6px 0 16px; margin: 0;
	font-size: 16px; color: var(--tm-text); background: transparent; border: 0; border-radius: var(--tm-radius); outline: none; box-shadow: none;
	-webkit-appearance: none; appearance: none;
}
.tm-search input::placeholder { color: #8a90a0; }
.tm-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.tm-search button {
	display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0 3px 0 0;
	padding: 0; color: #fff; background: var(--tm-ink); border: 0; border-radius: 8px; cursor: pointer; min-height: 0;
}
.tm-search button:hover { background: var(--tm-violet); }
@media (max-width: 1023px) {
	.tm-header.is-search-open .tm-search {
		display: flex; position: absolute; left: var(--tm-gutter); right: var(--tm-gutter); top: calc(100% + 6px); z-index: 5;
		background: #fff; border-color: var(--tm-violet); box-shadow: var(--tm-shadow);
	}
}

/* Meniu categorii – file de catalog, subliniere violet */
.tm-nav { display: none; background: var(--tm-paper); border-bottom: 1px solid var(--tm-border); }
.tm-nav__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; margin: 0 auto; padding-block: 0; list-style: none; }
.tm-nav__list a {
	position: relative; display: flex; align-items: center; gap: 7px; padding: 13px 12px;
	font: 500 14.5px/1.3 var(--tm-head); letter-spacing: -.01em;
	color: var(--tm-text); text-decoration: none; white-space: nowrap; transition: color .15s;
}
.tm-nav__list a svg { color: var(--tm-violet); }
.tm-nav__list a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px;
	background: var(--tm-violet); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.tm-nav__list a:hover { color: var(--tm-violet-700); }
.tm-nav__list a:hover::after { transform: scaleX(1); }
.tm-nav__list a.is-current { color: var(--tm-ink); font-weight: 700; }
.tm-nav__list a.is-current::after { transform: none; background: var(--tm-ink); }

@media (min-width: 1024px) {
	.tm-header__inner { gap: 28px; min-height: 84px; }
	.tm-logo { margin-right: 0; flex: 0 0 auto; }
	.tm-search { display: flex; flex: 1 1 auto; max-width: 560px; margin: 0 auto; }
	.tm-search-toggle, .tm-menu-toggle { display: none; }
	.tm-header__actions { margin-right: 0; }
	.tm-support { border: 1.5px solid var(--tm-ink); padding: 0 16px; }
	.tm-support:hover { background: var(--tm-ink); color: #fff; }
	.tm-support__label { display: inline; }
	.tm-nav { display: block; }
}

/* Drawer (mobil) – din dreapta */
.tm-drawer { position: fixed; inset: 0; z-index: 1000; }
.tm-drawer[hidden] { display: none; }
.tm-drawer__backdrop { position: absolute; inset: 0; background: rgba(20, 22, 28, .6); opacity: 0; transition: opacity .25s; }
.tm-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px);
	display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
	background: var(--tm-paper); box-shadow: -10px 0 40px rgba(0, 0, 0, .2);
	transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
	padding-bottom: env(safe-area-inset-bottom, 0px);
}
.tm-drawer.is-open .tm-drawer__backdrop { opacity: 1; }
.tm-drawer.is-open .tm-drawer__panel { transform: none; }
.tm-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 8px 14px 20px; background: var(--tm-ink) ; background-image: var(--tm-grid-dark); color: #fff; position: sticky; top: 0; z-index: 1; }
.tm-drawer__head .tm-icon-btn { color: #fff; }
.tm-drawer__head .tm-icon-btn:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.tm-drawer__title { font-family: var(--tm-head); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.tm-drawer__list { list-style: none; margin: 0; padding: 8px 12px; counter-reset: tmdr; }
.tm-drawer__list li { counter-increment: tmdr; }
.tm-drawer__list a {
	display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 6px 8px;
	color: var(--tm-text); text-decoration: none; border-bottom: 1px solid var(--tm-border); font: 500 16.5px/1.3 var(--tm-head);
}
.tm-drawer__list a:hover, .tm-drawer__list a.is-current { background: var(--tm-violet-50); color: var(--tm-violet-700); }
.tm-drawer__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: var(--tm-radius); background: var(--tm-violet-50); color: var(--tm-violet); }
.tm-drawer__list a > span:nth-child(2) { flex: 1; }
.tm-drawer__chev { color: var(--tm-border-strong); }
.tm-drawer__contact { margin: auto 20px 20px; padding: 14px 16px; border: 1px solid var(--tm-border); border-radius: var(--tm-radius); background: var(--tm-soft); }
html.tm-lock, html.tm-lock body { overflow: hidden; }

.tm-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tm-contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: inherit; text-decoration: none; font-weight: 600; }
.tm-contact a:hover { text-decoration: underline; }
.tm-contact__phones { display: flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 700; }
.tm-contact__phones > span { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.tm-contact__phones a { text-decoration: none; color: inherit; }
.tm-contact__phones a:hover { text-decoration: underline; }
.tm-contact__sep { opacity: .5; font-weight: 400; }
.tm-contact svg { flex: 0 0 auto; }

/* ---------- 5. Elemente comune ---------- */
.tm-eyebrow, .tm-site p.tm-eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
	font: 600 12.5px/1.3 var(--tm-head); letter-spacing: .14em; text-transform: uppercase; color: var(--tm-violet-700);
}
.tm-eyebrow::before { content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-radius: 2px; background: var(--tm-lime); box-shadow: 0 0 0 3px rgba(198, 242, 78, .25); }
.tm-lead, .tm-site p.tm-lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); line-height: 1.65; color: var(--tm-muted); max-width: 34em; }
.tm-section { margin-top: clamp(52px, 6vw, 96px); }
.tm-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 20px; margin-bottom: 24px; }
.tm-section__head .tm-section-title { margin: 0; }
/* Titlu de secțiune: indice „01” + linie fină până la margine */
.tm-site .tm-section-title {
	display: flex; align-items: center; gap: 14px; counter-increment: tmsec;
	font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem); margin: clamp(52px, 6vw, 88px) 0 26px;
}
.tm-site .tm-section-title::before {
	content: counter(tmsec, decimal-leading-zero); flex: 0 0 auto; padding: 5px 8px 4px;
	font: 600 13px/1 var(--tm-head); letter-spacing: .06em; color: var(--tm-ink); background: var(--tm-lime); border-radius: 6px;
}
.tm-site .tm-section-title::after { content: ""; flex: 1 1 auto; min-width: 24px; height: 1px; background: var(--tm-border-strong); }
.tm-section .tm-section-title { margin-top: 0; }
.tm-section__head .tm-section-title::after, .tm-reviews__head .tm-section-title::after { display: none; }
.tm-reviews__head { padding-bottom: 12px; border-bottom: 1px solid var(--tm-border-strong); }

.tm-badge {
	display: inline-block; padding: 4px 9px; font: 600 11.5px/1.2 var(--tm-head); letter-spacing: .06em; text-transform: uppercase;
	color: var(--tm-ink); background: var(--tm-lime); border-radius: var(--tm-radius-sm);
}

/* Stele */
.tm-stars { position: relative; display: inline-flex; line-height: 0; vertical-align: middle; color: var(--tm-star); }
.tm-stars svg { fill: currentColor; stroke: none; flex: 0 0 auto; }
.tm-stars__bg { display: inline-flex; gap: 1px; color: #dde0e8; }
.tm-stars__fg { position: absolute; inset: 0 auto 0 0; display: inline-flex; gap: 1px; width: var(--tm-stars, 0%); overflow: hidden; white-space: nowrap; }
.tm-rating { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--tm-muted); }

/* Avantaje – fișă tehnică cu 3 celule */
.tm-trust {
	list-style: none; margin: 16px 0 0; padding: 0; display: grid; background: var(--tm-paper);
	border: 1px solid var(--tm-border); border-radius: var(--tm-radius-lg); counter-reset: tmtr;
}
.tm-trust__item { position: relative; display: flex; align-items: center; gap: 14px; margin: 0; padding: 16px 18px; counter-increment: tmtr; }
.tm-trust__item + .tm-trust__item { border-top: 1px dashed var(--tm-border-strong); }
.tm-trust__item > svg { flex: 0 0 auto; box-sizing: content-box; padding: 10px; border-radius: var(--tm-radius); color: var(--tm-violet); background: var(--tm-violet-50); }
.tm-trust__item strong { display: block; font-family: var(--tm-head); font-size: 16.5px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: var(--tm-ink); }
.tm-trust__item span { display: block; font-size: 14.5px; line-height: 1.4; color: var(--tm-muted); }
.tm-trust__item::after { content: counter(tmtr, decimal-leading-zero); position: absolute; top: 10px; right: 14px; font: 600 11px/1 var(--tm-head); letter-spacing: .08em; color: #a6acba; }
@media (min-width: 768px) {
	.tm-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tm-trust__item { padding: 20px 22px; }
	.tm-trust__item + .tm-trust__item { border-top: 0; border-left: 1px dashed var(--tm-border-strong); }
}

/* ---------- 6. Grile & carduri ---------- */
.tm-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tm-grid > li { margin: 0; min-width: 0; display: flex; }
.tm-grid > li > * { flex: 1; }

/* Categorii – fișe albe, iconiță în pătrat violet, săgeată */
.tm-grid--cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tm-cat {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; height: 100%; box-sizing: border-box;
	padding: 16px 14px 14px; background: var(--tm-paper); border: 1px solid var(--tm-border); border-radius: var(--tm-radius-lg);
	transition: box-shadow .2s, transform .2s, border-color .2s;
}
.tm-cat:hover { border-color: var(--tm-violet); box-shadow: var(--tm-shadow); }
@media (hover: hover) { .tm-cat:hover { transform: translateY(-3px); } }
.tm-cat__icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 10px; border-radius: var(--tm-radius); color: var(--tm-violet); background: var(--tm-violet-50); transition: background .2s, color .2s; }
.tm-cat:hover .tm-cat__icon { background: var(--tm-ink); color: var(--tm-lime); }
.tm-site .tm-cat__title { margin: 0; font-size: 16px; line-height: 1.22; font-weight: 600; }
.tm-site .tm-cat__link { color: var(--tm-ink); text-decoration: none; }
.tm-cat__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tm-cat__link:focus-visible { outline: none; }
.tm-cat__link:focus-visible::after { outline: 3px solid var(--tm-violet); outline-offset: 2px; }
.tm-site .tm-cat__text { display: none; margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--tm-muted); }
.tm-site .tm-cat__count { margin: auto 0 0; padding-top: 10px; font: 600 11.5px/1.2 var(--tm-head); letter-spacing: .1em; text-transform: uppercase; color: var(--tm-violet-700); }
@media (min-width: 640px) {
	.tm-grid--cats { gap: 16px; }
	.tm-cat { padding: 22px 22px 18px; }
	.tm-site .tm-cat__title { font-size: 18px; }
	.tm-site .tm-cat__text { display: block; }
}
@media (min-width: 900px) { .tm-grid--cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .tm-grid--cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Produse – card alb, imagine pe hârtie milimetrică */
.tm-grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .tm-grid--products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .tm-grid--products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

.tm-card {
	position: relative; display: flex; flex-direction: column; height: 100%; box-sizing: border-box; padding: 8px 8px 12px;
	background: var(--tm-paper); border: 1px solid var(--tm-border); border-radius: var(--tm-radius-lg);
	transition: box-shadow .2s, border-color .2s;
}
.tm-card:hover { box-shadow: var(--tm-shadow); border-color: var(--tm-border-strong); }
.tm-card__media {
	position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--tm-grid), #f8f9fb;
	border-radius: var(--tm-radius);
}
.tm-card__media img, .tm-site .tm-card__img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 9%; box-sizing: border-box;
	transition: transform .35s;
}
.tm-card:hover .tm-card__img { transform: scale(1.05); }
.tm-card__media .tm-badge { position: absolute; z-index: 1; top: 8px; left: 8px; }
.tm-card__body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 12px 6px 0; }
.tm-site .tm-card__cat { margin: 0; font: 600 11px/1.3 var(--tm-head); letter-spacing: .12em; text-transform: uppercase; color: var(--tm-violet-700); }
.tm-site .tm-card__title { margin: 0; font-size: 16px; line-height: 1.25; font-weight: 600; }
.tm-site .tm-card__link { color: var(--tm-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tm-card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--tm-radius-lg); }
.tm-site .tm-card__link:hover { color: var(--tm-violet-700); }
.tm-card__link:focus-visible { outline: none; }
.tm-card__link:focus-visible::after { outline: 3px solid var(--tm-violet); outline-offset: 2px; }
.tm-site .tm-card__sub {
	margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--tm-muted);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tm-card .tm-rating { font-size: 12.5px; }
.tm-card__foot { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: auto; padding-top: 10px; }
.tm-card__price { font-family: var(--tm-head); font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: var(--tm-ink); line-height: 1.1; }
.tm-card__price del { font-family: var(--tm-sans); font-size: 13px; font-weight: 400; color: var(--tm-muted); margin-right: 4px; }
.tm-card__price ins { text-decoration: none; color: var(--tm-red); }
.tm-card__cta {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; box-sizing: border-box;
	padding: 0 10px; white-space: nowrap; overflow: hidden;
	border-radius: var(--tm-radius); font: 600 14.5px/1.2 var(--tm-head);
	color: #fff; background: var(--tm-ink); transition: background .15s;
}
.tm-card:hover .tm-card__cta { background: var(--tm-violet); }
@media (max-width: 479px) { .tm-card__cta-long { display: none; } }
@media (min-width: 480px) {
	.tm-card { padding: 10px 10px 14px; }
	.tm-site .tm-card__title { font-size: 17.5px; }
	.tm-site .tm-card__sub { font-size: 14px; }
	.tm-card__price { font-size: 23px; }
}

/* Carusel orizontal pe mobil (produse similare) */
@media (max-width: 767px) {
	.tm-grid--scroll {
		display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
		margin-inline: calc(-1 * var(--tm-gutter)); padding: 6px var(--tm-gutter) 16px; scroll-padding-inline: var(--tm-gutter);
		scrollbar-width: none;
	}
	.tm-grid--scroll::-webkit-scrollbar { display: none; }
	.tm-grid--scroll > li { flex: 0 0 62%; scroll-snap-align: start; }
}

/* ---------- 7. Home: hero grafit pe hârtie milimetrică ---------- */
.tm-site .tm-hero {
	position: relative; overflow: hidden; box-sizing: border-box; max-width: none !important;
	margin: 12px 0 0; padding: 30px 20px 34px;
	color: #c9cdd8; background: var(--tm-grid-dark), radial-gradient(70% 80% at 85% 20%, rgba(91, 61, 245, .45), transparent 70%), var(--tm-ink);
	border-radius: var(--tm-radius-xl);
}
.tm-site .tm-hero::after { /* hexagon mare, filigran */
	content: ""; position: absolute; right: -70px; bottom: -80px; width: 300px; height: 300px; pointer-events: none;
	background: var(--tm-hex-lime) center / contain no-repeat; opacity: .12;
}
.tm-site .tm-hero__cols { position: relative; z-index: 1; gap: 30px; margin: 0; }
.tm-site .tm-hero__title { margin: 0 0 16px; color: #fff; }
.tm-site .tm-hero .tm-eyebrow { color: var(--tm-lime); }
.tm-site .tm-hero .tm-lead { color: #b8bdcb; }
.tm-site .tm-hero .wp-block-buttons { margin-top: 26px; }
body.tm-site .tm-hero .wp-block-button:not(.is-style-outline) > .wp-block-button__link:not(.has-background) { background-color: var(--tm-lime); border-color: var(--tm-lime); color: var(--tm-ink); }
body.tm-site .tm-hero .wp-block-button:not(.is-style-outline) > .wp-block-button__link:not(.has-background):hover { background-color: #d8fb7a; border-color: #d8fb7a; color: var(--tm-ink); }
body.tm-site .tm-hero .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color) { color: #fff; border-color: rgba(255, 255, 255, .5); background-color: transparent; }
body.tm-site .tm-hero .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color):hover,
body.tm-site .tm-hero .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color):focus { color: var(--tm-ink); background-color: #fff; border-color: #fff; }

.tm-hero-grid {
	list-style: none; margin: 0; padding: 0; display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, auto); gap: 12px;
}
.tm-hero-grid li { position: relative; margin: 0; }
.tm-hero-grid li:first-child { grid-column: span 2; grid-row: span 2; }
.tm-hero-grid li:nth-child(n+4) { display: none; }
.tm-hero-grid a {
	display: block; height: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #fff;
	border-radius: var(--tm-radius-lg); transition: transform .2s;
}
.tm-hero-grid li:first-child a { aspect-ratio: auto; min-height: 100%; }
/* colțuri de vizor lime în jurul produsului principal (stânga-sus + dreapta-jos) */
.tm-hero-grid li:first-child::before, .tm-hero-grid li:first-child::after {
	content: ""; position: absolute; inset: -7px; z-index: 1; pointer-events: none;
	background: var(--tm-c) left top / 16px 16px no-repeat;
}
.tm-hero-grid li:first-child::after { transform: scale(-1, -1); }
.tm-hero-grid a:hover { transform: translateY(-3px); }
.tm-hero-grid img { width: 100%; height: 100%; object-fit: contain; padding: 10%; box-sizing: border-box; display: block; }
.tm-hero-grid:has(> li:only-child) { grid-template-columns: minmax(0, 340px); justify-content: center; }
.tm-hero-grid:has(> li:only-child) li:first-child { grid-column: auto; grid-row: auto; }
.tm-hero-grid:has(> li:only-child) li:first-child a { aspect-ratio: 1 / 1; }
.tm-hero-grid:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
.tm-hero-grid:has(> li:nth-child(2):last-child) li:first-child { grid-column: auto; grid-row: auto; }
.tm-hero-grid:has(> li:nth-child(2):last-child) li:first-child a { aspect-ratio: 1 / 1; }
@media (max-width: 781px) {
	.tm-site .tm-hero__text .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.tm-site .tm-hero__text .wp-block-button, .tm-site .tm-hero__text .wp-block-button__link { width: 100%; }
}
@media (min-width: 782px) {
	.tm-site .tm-hero { padding: 48px 44px; }
	.tm-site .tm-hero::after { width: 460px; height: 460px; right: -110px; bottom: -140px; }
	.tm-site .tm-hero__cols { gap: 40px; }
	.tm-hero-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
	.tm-hero-grid li:nth-child(n+4) { display: block; }
}
@media (min-width: 1024px) {
	.tm-site .tm-hero { margin-top: 20px; padding: 64px 60px; }
	.tm-site .tm-hero__cols { gap: 64px; }
	.tm-hero-grid { gap: 16px; }
}

/* ---------- 8. Breadcrumb ---------- */
.tm-breadcrumb, .tm-site .woocommerce-breadcrumb {
	margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--tm-muted);
	white-space: nowrap; overflow-x: auto; scrollbar-width: none;
}
.tm-breadcrumb::-webkit-scrollbar { display: none; }
.tm-breadcrumb a { color: var(--tm-muted); text-decoration: none; }
.tm-breadcrumb a:hover { color: var(--tm-violet-700); text-decoration: underline; }
.tm-breadcrumb__sep, .tm-breadcrumb .separator { margin: 0 8px; color: var(--tm-border-strong); }
.tm-breadcrumb .last { color: var(--tm-ink); font-weight: 600; }

/* ---------- 9. Pagina de produs ---------- */
.tm-product { margin: 0; }
.tm-site.single-product div.product { position: static; }
.tm-pd-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }

/* Galerie pe hârtie milimetrică, cu colțuri de vizor */
.tm-pd-gallery { position: relative; min-width: 0; padding: 14px; background: var(--tm-grid), var(--tm-paper); border: 1px solid var(--tm-border); border-radius: var(--tm-radius-xl); }
.tm-pd-gallery::before, .tm-pd-gallery::after {
	content: ""; position: absolute; inset: 6px; z-index: 6; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1.5 13V1.5H13' fill='none' stroke='%235b3df5' stroke-width='2.5'/%3E%3C/svg%3E") left top / 16px 16px no-repeat;
}
.tm-pd-gallery::after { transform: scale(-1, -1); }
.tm-site div.product .tm-pd-gallery .woocommerce-product-gallery,
.tm-site div.product .tm-pd-gallery .images { width: 100% !important; float: none !important; margin: 0 !important; opacity: 1 !important; }
.tm-site .tm-pd-gallery .woocommerce-product-gallery__wrapper { margin: 0; }
.tm-site .tm-pd-gallery .woocommerce-product-gallery__image,
.tm-site .tm-pd-gallery .woocommerce-product-gallery__image a { display: block; }
.tm-site .tm-pd-gallery .woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1 / 1; height: auto; max-height: 470px; object-fit: contain; background: #fff; border-radius: var(--tm-radius-lg); }
.tm-site .tm-pd-gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.tm-site .tm-pd-gallery .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
.tm-site .tm-pd-gallery .flex-control-thumbs img { aspect-ratio: 1; object-fit: contain; border: 2px solid transparent; border-radius: var(--tm-radius-sm); opacity: .7; cursor: pointer; background: #fff; }
.tm-site .tm-pd-gallery .flex-control-thumbs img.flex-active, .tm-site .tm-pd-gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--tm-violet); }
.tm-site .tm-pd-gallery .woocommerce-product-gallery__trigger {
	position: absolute; top: 24px; right: 24px; z-index: 7; width: 40px; height: 40px; border-radius: var(--tm-radius);
	background: #fff; box-shadow: var(--tm-shadow-sm); display: flex; align-items: center; justify-content: center;
}
.tm-site .tm-pd-gallery .onsale { display: none; }

/* Sumar */
.tm-pd-summary { min-width: 0; }
.tm-site div.product .tm-pd-summary { float: none !important; width: auto !important; margin: 0 !important; clear: none; }
.tm-site .tm-pd-summary .product_title { margin: 0 0 10px; font-size: clamp(1.8rem, 1.25rem + 2.2vw, 2.6rem); line-height: 1.08; }
.tm-site .tm-pd-subtitle { margin: 0 0 12px; font-size: 17.5px; line-height: 1.5; color: var(--tm-muted); }
.tm-pd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 18px; }
.tm-pd-meta__rating { text-decoration: none; }
.tm-stock { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; font: 600 12px/1.2 var(--tm-head); letter-spacing: .08em; text-transform: uppercase; border-radius: var(--tm-radius-sm); }
.tm-stock::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.tm-stock.is-in { color: var(--tm-ok); background: #e5f6ec; }
.tm-stock.is-out { color: var(--tm-danger); background: #fdecea; }
.tm-site div.product .tm-pd-summary .price {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 20px;
	font-family: var(--tm-head); font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--tm-ink);
}
.tm-site div.product .tm-pd-summary .price del { font-family: var(--tm-sans); font-size: 19px; font-weight: 400; color: var(--tm-muted); opacity: 1; }
.tm-site div.product .tm-pd-summary .price ins { text-decoration: none; color: var(--tm-red); }
.tm-site .woocommerce-product-details__short-description { font-size: 17px; color: var(--tm-text); }
.tm-site .woocommerce-product-details__short-description p { margin: 0 0 12px; }
.tm-site .woocommerce-product-details__short-description ul,
.tm-site .tm-highlights,
.tm-prose ul.is-style-tm-checks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.tm-site .woocommerce-product-details__short-description li,
.tm-site .tm-highlights li,
.tm-prose ul.is-style-tm-checks li { position: relative; margin: 0; padding-left: 32px; line-height: 1.5; }
.tm-site .woocommerce-product-details__short-description li::before,
.tm-site .tm-highlights li::before,
.tm-prose ul.is-style-tm-checks li::before {
	content: ""; position: absolute; left: 0; top: .12em; width: 22px; height: 22px; border-radius: var(--tm-radius-sm);
	background: var(--tm-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6f24e' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.tm-site .tm-highlights { font-size: 17px; }
.tm-site .tm-pd-summary form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; }
.tm-site .tm-pd-summary form.cart .quantity input { height: 52px; width: 72px; border-radius: var(--tm-radius); border: 1.5px solid var(--tm-border-strong); text-align: center; }
.tm-site .tm-pd-summary .single_add_to_cart_button { flex: 1 1 200px; }

.tm-pd-order { min-width: 0; }
@media (min-width: 640px) {
	.tm-pd-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
	.tm-pd-order { grid-column: 1 / -1; }
	.tm-pd-order .afm-inline { max-width: 620px; margin-inline: auto; }
}
@media (min-width: 1100px) {
	.tm-pd-top { gap: 36px; }
	.tm-pd-top.has-order { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(320px, 360px); }
	.tm-pd-top.has-order .tm-pd-order { grid-column: auto; position: sticky; top: calc(var(--tm-header-h) + var(--tm-admin-bar) + 16px); }
	.tm-pd-top.has-order .tm-pd-order .afm-inline { max-width: none; }
}

.tm-product > .tm-trust { margin-top: 40px; }

/* Descriere + cuprins numerotat 01, 02… */
.tm-pd-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: clamp(36px, 5vw, 72px); }
.tm-pd-aside:empty { display: none; }
.tm-toc { background: var(--tm-paper); border: 1px solid var(--tm-border); border-radius: var(--tm-radius-lg); padding: 0; }
.tm-toc__title {
	display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 18px; cursor: pointer; list-style: none;
	font: 600 12.5px/1.3 var(--tm-head); letter-spacing: .14em; text-transform: uppercase; color: var(--tm-muted);
}
.tm-toc__title::-webkit-details-marker { display: none; }
.tm-toc__chev { color: var(--tm-violet); transition: transform .2s; }
.tm-toc[open] .tm-toc__chev { transform: rotate(180deg); }
.tm-toc__list { list-style: none; margin: 0; padding: 0 10px 12px; counter-reset: tmtoc; }
.tm-toc__list li { margin: 0; counter-increment: tmtoc; }
.tm-toc__list a {
	display: flex; gap: 10px; align-items: baseline; padding: 8px 8px; font-size: 15.5px; line-height: 1.35;
	color: var(--tm-text); text-decoration: none; border-radius: var(--tm-radius-sm); transition: color .15s, background .15s;
}
.tm-toc__list a::before { content: counter(tmtoc, decimal-leading-zero); flex: 0 0 24px; font: 600 12px/1.6 var(--tm-head); color: var(--tm-violet); }
.tm-toc__list a:hover { color: var(--tm-violet-700); background: var(--tm-soft); }
.tm-toc__list a.is-active { color: var(--tm-ink); font-weight: 600; background: var(--tm-violet-50); }
.tm-toc__list a.is-active::before { color: var(--tm-ink); }

@media (min-width: 1024px) {
	.tm-pd-body.has-toc { grid-template-columns: minmax(230px, 270px) minmax(0, 760px); justify-content: start; gap: 56px; }
	.tm-pd-aside .tm-toc { position: sticky; top: calc(var(--tm-header-h) + var(--tm-admin-bar) + 20px); max-height: calc(100vh - var(--tm-header-h) - 60px); overflow-y: auto; }
	.tm-pd-aside .tm-toc__title { cursor: default; pointer-events: none; }
	.tm-toc__chev { display: none; }
	.tm-pd-body:not(.has-toc) .tm-pd-content { max-width: 800px; }
}

/* Text lung */
.tm-pd-content { min-width: 0; }
.tm-prose { font-size: 17.5px; line-height: 1.75; }
.tm-prose > *:first-child { margin-top: 0; }
.tm-site .tm-prose h2 { margin: 2em 0 .7em; font-size: clamp(1.4rem, 1.15rem + 1.1vw, 1.9rem); }
.tm-site .tm-prose h2::before { content: ""; display: block; width: 28px; height: 4px; margin-bottom: 14px; border-radius: 2px; background: var(--tm-violet); }
.tm-site .tm-prose h2:first-child { margin-top: 0; }
.tm-site .tm-prose h3 { margin: 1.6em 0 .5em; }
.tm-prose p, .tm-prose ul, .tm-prose ol { margin: 0 0 1.1em; }
.tm-prose ul:not([class*="is-style"]), .tm-prose ol { padding-left: 1.3em; }
.tm-prose li { margin-bottom: .4em; }
.tm-prose li::marker { color: var(--tm-violet); }
.tm-prose strong { font-weight: 700; color: var(--tm-ink); }
.tm-prose img { border-radius: var(--tm-radius); }
.tm-prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; display: block; overflow-x: auto; }
.tm-prose th, .tm-prose td { padding: 10px 12px; border-bottom: 1px solid var(--tm-border); text-align: left; }
.tm-prose th { background: var(--tm-ink); color: #fff; font-family: var(--tm-head); font-weight: 600; font-size: 14.5px; }
.tm-prose tr:nth-child(even) td { background: var(--tm-soft); }
.tm-prose blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--tm-lime); background: var(--tm-paper); border-radius: 0 var(--tm-radius) var(--tm-radius) 0; color: var(--tm-ink); }
.tm-site .tm-prose .is-style-tm-small, .tm-site p.is-style-tm-small { font-size: 14px; line-height: 1.6; color: var(--tm-muted); }

/* Liste „Carduri” (ingrediente) */
.tm-prose ul.is-style-tm-cards { list-style: none; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .tm-prose ul.is-style-tm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tm-prose ul.is-style-tm-cards li {
	position: relative; margin: 0; padding: 14px 16px 14px 48px; font-size: 15.5px; line-height: 1.55; color: var(--tm-muted);
	background: var(--tm-paper); border: 1px solid var(--tm-border); border-radius: var(--tm-radius);
}
.tm-prose ul.is-style-tm-cards li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; background: var(--tm-hex) center / contain no-repeat; }
.tm-prose ul.is-style-tm-cards li strong { display: block; margin-bottom: 2px; font-family: var(--tm-head); font-size: 16px; }

.tm-site .is-style-tm-box { padding: 22px 24px; background: var(--tm-paper); border: 1px solid var(--tm-border); border-left: 4px solid var(--tm-violet); border-radius: var(--tm-radius); }

/* Întrebări frecvente – „+” / „−” în pătrat */
.tm-prose details:not(.tm-toc), .tm-site .rank-math-faq-item {
	margin: 0 0 10px; background: var(--tm-paper); border: 1px solid var(--tm-border); border-radius: var(--tm-radius); overflow: hidden;
}
.tm-prose details:not(.tm-toc) > summary, .tm-site .rank-math-question {
	position: relative; display: block; list-style: none; cursor: pointer; margin: 0 !important;
	padding: 16px 58px 16px 18px; font-family: var(--tm-head) !important; font-size: 17px !important; font-weight: 600; line-height: 1.4; color: var(--tm-ink);
}
.tm-prose details > summary::-webkit-details-marker { display: none; }
.tm-prose details:not(.tm-toc) > summary::after {
	content: ""; position: absolute; right: 14px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 8px;
	background: var(--tm-violet-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b3df5' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
	transition: background-color .2s;
}
.tm-prose details[open]:not(.tm-toc) { border-color: var(--tm-violet); }
.tm-prose details[open]:not(.tm-toc) > summary::after {
	background-color: var(--tm-ink);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6f24e' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
}
.tm-prose details:not(.tm-toc) > *:not(summary) { margin: 0; padding: 0 18px 16px; font-size: 16.5px; color: var(--tm-muted); }
.tm-prose details.tm-faq > p { margin: 0; padding: 0 18px 16px; }
.tm-prose details.tm-faq > p + p { padding-top: 0; margin-top: -6px; }
.tm-site .rank-math-answer { padding: 0 18px 16px; font-size: 16.5px; color: var(--tm-muted); }
.tm-site .rank-math-answer p:last-child { margin-bottom: 0; }
.tm-faq-section { margin-top: 2em; }
.tm-site .tm-prose .tm-faq-section h2 { margin-top: 0; }

.tm-prose .afm-banner { margin: 2em 0; }
.tm-prose .afm-disclaimer { margin-top: 2.5em; }

/* ---------- 10. Păreri ---------- */
.tm-reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.tm-reviews__head .tm-section-title { margin: 0; }
.tm-reviews__summary { display: flex; align-items: center; gap: 10px; padding: 8px 16px; color: var(--tm-muted); font-size: 15px; background: var(--tm-paper); border: 1px solid var(--tm-border); border-radius: var(--tm-radius); }
.tm-reviews__avg { font-family: var(--tm-head); font-size: 32px; font-weight: 700; line-height: 1; color: var(--tm-ink); }
.tm-reviews__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tm-reviews__grid > li { margin: 0; }
.tm-reviews__grid .children { display: none; }
.tm-review { height: 100%; box-sizing: border-box; padding: 18px 20px; background: var(--tm-paper); border: 1px solid var(--tm-border); border-radius: var(--tm-radius-lg); }
.tm-review__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.tm-review__author { font-family: var(--tm-head); font-weight: 600; color: var(--tm-ink); }
.tm-review__rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--tm-muted); }
.tm-review__text p { margin: 0 0 .6em; font-size: 16.5px; line-height: 1.6; }
.tm-review__text p:last-child { margin: 0; }
.tm-review__foot { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 13px; color: var(--tm-muted); }
.tm-review__verified { display: inline-flex; align-items: center; gap: 4px; color: var(--tm-ok); font-weight: 600; }
.tm-review__pending { font-size: 14px; color: var(--tm-red); }
.tm-reviews__empty { color: var(--tm-muted); }
@media (min-width: 768px) { .tm-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }

.tm-review-form { margin-top: 22px; }
.tm-review-form > summary { list-style: none; width: auto; }
.tm-review-form > summary::-webkit-details-marker { display: none; }
.tm-review-form > summary.tm-btn--outline { background: transparent; color: var(--tm-ink); border-color: var(--tm-ink); }
.tm-review-form > summary.tm-btn--outline:hover { background: var(--tm-ink); color: #fff; }
.tm-review-form[open] > summary { margin-bottom: 16px; }
.tm-review-form #review_form { max-width: 640px; padding: 22px; background: var(--tm-paper); border: 1px solid var(--tm-border); border-radius: var(--tm-radius-lg); }
.tm-site .comment-form { display: grid; gap: 14px; margin: 0; }
.tm-site .comment-form p { margin: 0; }
.tm-site .comment-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 15px; }
.tm-site .comment-form input[type="text"], .tm-site .comment-form input[type="email"], .tm-site .comment-form textarea, .tm-site .comment-form select {
	width: 100%; box-sizing: border-box; padding: 12px 14px; font-size: 16px; color: var(--tm-text);
	background: #fff; border: 1.5px solid var(--tm-border-strong); border-radius: var(--tm-radius);
}
.tm-site .comment-form textarea { min-height: 120px; resize: vertical; }
.tm-site .comment-form input:focus, .tm-site .comment-form textarea:focus, .tm-site .comment-form select:focus { outline: none; border-color: var(--tm-violet); box-shadow: 0 0 0 3px var(--tm-violet-50); }
.tm-site .comment-form .stars { margin: 4px 0 0; }
.tm-site .comment-form .stars a { color: var(--tm-star); font-size: 24px; }
.tm-review-form__note, .tm-site .comment-form-cookies-consent { font-size: 14px; color: var(--tm-muted); }
.tm-site .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.tm-site .comment-form-cookies-consent label { font-weight: 400; margin: 0; }

/* ---------- 11. Arhive ---------- */
.tm-site .woocommerce-products-header {
	position: relative; overflow: hidden; margin: 0 0 24px; padding: 26px 22px; color: #c9cdd8;
	background: var(--tm-grid-dark), radial-gradient(60% 90% at 90% 10%, rgba(91, 61, 245, .4), transparent 70%), var(--tm-ink);
	border-radius: var(--tm-radius-xl);
}
.tm-site .woocommerce-products-header::after { content: ""; position: absolute; right: -40px; bottom: -50px; width: 200px; height: 200px; pointer-events: none; background: var(--tm-hex-lime) center / contain no-repeat; opacity: .12; }
@media (min-width: 768px) { .tm-site .woocommerce-products-header { padding: 38px 42px; } }
.tm-site .woocommerce-products-header__title { position: relative; display: flex; align-items: center; gap: 14px; margin: 0 0 8px; color: #fff; }
.tm-archive-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 52px; height: 52px; border-radius: var(--tm-radius); background: var(--tm-lime); color: var(--tm-ink); }
.tm-site .term-description, .tm-site .page-description { position: relative; max-width: 68ch; font-size: 17px; color: #b8bdcb; }
.tm-site .term-description p:last-child { margin: 0; }
.tm-site .term-description a { color: var(--tm-lime); }
.tm-shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 20px; }
.tm-site .woocommerce-result-count { margin: 0; font-size: 14.5px; color: var(--tm-muted); float: none; }
.tm-site .woocommerce-ordering { margin: 0; float: none; }
.tm-site .woocommerce-ordering select {
	min-height: 44px; padding: 8px 40px 8px 14px; font-size: 15px; color: var(--tm-text);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b3df5' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
	border: 1.5px solid var(--tm-border-strong); border-radius: var(--tm-radius); -webkit-appearance: none; appearance: none;
}
.tm-site .woocommerce-pagination, .tm-pagination { margin-top: 36px; text-align: center; }
.tm-site .woocommerce-pagination ul, .tm-pagination ul { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; border: 0 !important; }
.tm-site .woocommerce-pagination li, .tm-pagination li { border: 0 !important; margin: 0; float: none; }
.tm-site .woocommerce-pagination .page-numbers, .tm-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; box-sizing: border-box;
	font: 600 15px/1 var(--tm-head); color: var(--tm-ink); background: #fff; border: 1px solid var(--tm-border); border-radius: var(--tm-radius); text-decoration: none;
}
.tm-site .woocommerce-pagination .page-numbers.current, .tm-pagination .page-numbers.current { background: var(--tm-ink); border-color: var(--tm-ink); color: var(--tm-lime); }
.tm-site .woocommerce-pagination a.page-numbers:hover { border-color: var(--tm-violet); color: var(--tm-violet-700); }
.tm-site .woocommerce-info, .tm-site .woocommerce-message, .tm-site .woocommerce-error {
	padding: 14px 18px; margin: 0 0 20px; background: #fff; border: 1px solid var(--tm-border); border-left: 4px solid var(--tm-violet); border-radius: var(--tm-radius); list-style: none;
}
.tm-site .woocommerce-error { border-left-color: var(--tm-danger); }
.tm-site .woocommerce-info::before, .tm-site .woocommerce-message::before, .tm-site .woocommerce-error::before { display: none; }

/* ---------- 12. Footer grafit pe hârtie milimetrică ---------- */
.tm-footer { position: relative; overflow: hidden; margin-top: 0; color: #b8bdcb; background: var(--tm-grid-dark), var(--tm-ink); }
.tm-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--tm-violet) 0 70%, var(--tm-lime) 70% 100%); }
.tm-footer::after { content: ""; position: absolute; right: -70px; bottom: -60px; width: 320px; height: 320px; pointer-events: none; background: var(--tm-hex-lime) center / contain no-repeat; opacity: .07; }
.tm-footer a { color: #e7e9ef; }
.tm-footer a:hover { color: #fff; }
.tm-footer__grid { position: relative; z-index: 1; display: grid; gap: 32px; padding-block: 48px 32px; }
.tm-footer .tm-logo { margin-bottom: 16px; }
.tm-footer .tm-logo__name { color: #fff; }
.tm-footer .tm-logo__accent { color: var(--tm-lime); }
.tm-footer .tm-logo.is-custom .tm-logo__img { padding: 8px 12px; background: #fff; border-radius: var(--tm-radius); box-sizing: content-box; height: 40px; }
.tm-footer__brand p { max-width: 40ch; font-size: 15.5px; line-height: 1.65; color: #a6acba; }
.tm-site .tm-footer__title { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 600 12.5px/1.3 var(--tm-head); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.tm-site .tm-footer__title::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--tm-lime); }
.tm-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tm-footer__col a { display: inline-block; padding: 6px 0; font-size: 15.5px; text-decoration: none; color: #b8bdcb; }
.tm-footer__col a:hover { color: #fff; text-decoration: underline; }
.tm-footer__contact { margin-top: 12px; }
.tm-footer__contact svg { color: var(--tm-lime); }
.tm-footer__bottom { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px calc(20px + env(safe-area-inset-bottom, 0px)); font-size: 13.5px; color: #8d93a3; }
.tm-site .tm-footer__note { margin: 0 0 10px; max-width: 90ch; line-height: 1.55; }
.tm-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.tm-footer__legal-menu { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; margin: 0; padding: 0; }
.tm-footer__legal-menu a { color: #8d93a3; }
@media (min-width: 640px) { .tm-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tm-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
	.tm-footer__grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 64px 40px; }
	.tm-footer__brand { grid-column: auto; }
}
.tm-site #primary + .tm-footer, .tm-footer { margin-top: 0; }

/* ---------- 13. Pluginul Affiliate Manager – integrare vizuală ---------- */
body.tm-site {
	--afm-font: var(--tm-sans);
	--afm-heading-font: var(--tm-head);
	--afm-text: var(--tm-text);
	--afm-muted: var(--tm-muted);
	--afm-border: var(--tm-border-strong);
	--afm-surface: #fff;
	--afm-soft: var(--tm-soft);
	--afm-field-bg: #fff;
	--afm-success: var(--tm-violet);
	--afm-radius: var(--tm-radius);
	--afm-field-radius: var(--tm-radius);
	--afm-btn-radius: var(--tm-radius);
	--afm-sticky-top: calc(var(--tm-header-h) + var(--tm-admin-bar) + 12px);
	--afm-z: 900;
}
body.tm-brand-afm {
	--afm-accent: var(--tm-violet);
	--afm-grad-start: var(--tm-ink);
	--afm-grad-end: var(--tm-ink-700);
	--afm-sticky-start: var(--tm-violet);
	--afm-sticky-end: var(--tm-violet);
	--afm-banner-bg: var(--tm-soft);
	--afm-banner-btn: var(--tm-ink);
	--afm-disc-border: var(--tm-ink);
	--afm-disc-bg: #fff;
	--afm-disc-text: var(--tm-muted);
	--afm-atc-start: var(--tm-violet);
	--afm-atc-end: var(--tm-violet);
	--afm-atc-text: #fff;
	--afm-atc-radius: 10px;
}
/* „Comandă rapidă”: card alb, antet grafit cu hexagon lime */
.tm-site .afm-inline {
	position: relative; padding: 0 20px 20px; border: 1px solid var(--tm-border); border-radius: var(--tm-radius-lg);
	background: #fff; box-shadow: var(--tm-shadow); overflow: hidden;
}
.tm-site .afm-inline__title {
	position: relative; display: flex; align-items: center; gap: 10px; margin: 0 -20px; padding: 16px 20px;
	font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: #fff; background: var(--tm-grid-dark), var(--tm-ink);
}
.tm-site .afm-inline__title::before { content: ""; flex: 0 0 auto; width: 24px; height: 24px; background: var(--tm-hex-lime) center / contain no-repeat; }
.tm-site .afm-inline__sub { margin: 14px 0 16px; font-size: 15px; }
.tm-site .afm-inline__title:not(:has(+ .afm-inline__sub)) { margin-bottom: 18px; }
.tm-site .afm-phone__prefix { background: var(--tm-soft); color: var(--tm-ink); font-weight: 600; }
.tm-site .afm-note svg { color: var(--tm-violet); }
.tm-site .afm-banner { border: 1px solid var(--tm-border); border-left: 4px solid var(--tm-violet); border-radius: var(--tm-radius); }
.tm-site .afm-banner__text { font-size: 17px; font-weight: 600; color: var(--tm-ink); }
.tm-site .afm-modal__title, .tm-site .afm-success__title { color: var(--tm-ink); }
.tm-site .afm-sticky { border: 0; box-shadow: 0 10px 34px rgba(20, 22, 28, .2); background: #fff; }
.tm-site .afm-sticky__price { color: var(--tm-ink); font-family: var(--tm-head); }
@media (max-width: 768px) {
	.tm-site .afm-sticky { border-radius: var(--tm-radius-lg) var(--tm-radius-lg) 0 0; }
	body.afm-has-sticky { padding-bottom: 0; }
	body.afm-has-sticky .tm-footer__bottom { padding-bottom: calc(20px + 74px + env(safe-area-inset-bottom, 0px)); }
}

body.tm-site .afm-btn, body.tm-site .afm-sticky__btn {
	min-height: 52px; padding: 12px 20px; border: 0; border-radius: var(--tm-radius);
	font: 600 16px/1.2 var(--tm-head); letter-spacing: 0; text-transform: none; color: #fff;
}
body.tm-site .afm-sticky__btn { min-height: 46px; padding: 10px 18px; font-size: 14px; }
body.tm-site .afm-btn--accent, body.tm-site .afm-btn--accent:hover, body.tm-site .afm-btn--accent:focus, body.tm-site .afm-btn--accent:active { background-color: var(--afm-accent); background-image: none; color: #fff; }
body.tm-site .afm-btn--accent:hover { background-color: var(--tm-violet-700); }
body.tm-site .afm-btn--gradient, body.tm-site .afm-btn--gradient:hover, body.tm-site .afm-btn--gradient:focus, body.tm-site .afm-btn--gradient:active { background-color: var(--afm-grad-start); background-image: linear-gradient(90deg, var(--afm-grad-start), var(--afm-grad-end)); color: #fff; }
body.tm-site .afm-btn--banner, body.tm-site .afm-btn--banner:hover, body.tm-site .afm-btn--banner:focus, body.tm-site .afm-btn--banner:active { background-color: var(--afm-banner-btn); background-image: none; color: #fff; }
body.tm-site .afm-btn--banner:hover { background-color: var(--tm-ink-700); }
body.tm-site .afm-btn--ghost, body.tm-site .afm-btn--ghost:hover, body.tm-site .afm-btn--ghost:focus { background-color: var(--tm-soft); background-image: none; color: var(--tm-text); min-height: 44px; font-size: 14px; }
body.tm-site .afm-sticky__btn, body.tm-site .afm-sticky__btn:hover, body.tm-site .afm-sticky__btn:focus, body.tm-site .afm-sticky__btn:active { background-color: var(--afm-sticky-start); background-image: linear-gradient(90deg, var(--afm-sticky-start), var(--afm-sticky-end)); color: #fff; }
body.tm-site .afm-modal__close, body.tm-site .afm-modal__close:hover, body.tm-site .afm-modal__close:focus { min-height: 0; padding: 0; border: 0; border-radius: 50%; color: #fff; background-color: rgba(255, 255, 255, .18); background-image: none; }
body.tm-site .afm-modal__close--light, body.tm-site .afm-modal__close--light:hover, body.tm-site .afm-modal__close--light:focus { color: var(--tm-muted); background-color: var(--tm-soft); }
body.tm-site .afm-btn:focus-visible, body.tm-site .afm-sticky__btn:focus-visible { outline: 3px solid var(--tm-violet); outline-offset: 2px; }
/* butonul de comandă din popup – violet */
body.tm-brand-afm .afm-modal--order .afm-btn--gradient,
body.tm-brand-afm .afm-modal--order .afm-btn--gradient:hover,
body.tm-brand-afm .afm-modal--order .afm-btn--gradient:focus { background-color: var(--tm-violet); background-image: none; }
body.tm-brand-afm .afm-modal--order .afm-btn--gradient:hover { background-color: var(--tm-violet-700); }

body.tm-site .afm-form input[type="text"], body.tm-site .afm-form input[type="tel"] {
	min-height: 52px; padding: 12px 14px; font-size: 16px; color: var(--tm-text);
	background: #fff; border: 1.5px solid var(--tm-border-strong); border-radius: var(--tm-radius);
}
body.tm-site .afm-form input[type="text"]:focus, body.tm-site .afm-form input[type="tel"]:focus { border-color: var(--tm-ink); box-shadow: 0 0 0 3px var(--tm-ink-50); }
body.tm-site .afm-phone__prefix { border-color: var(--tm-border-strong); }
body.tm-site .afm-phone__prefix + input { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
body.tm-site .afm-disclaimer { border-left-width: 4px; border-radius: var(--tm-radius); border-top: 1px solid var(--tm-border-strong); border-right: 1px solid var(--tm-border-strong); border-bottom: 1px solid var(--tm-border-strong); }
body.tm-site .afm-disclaimer__title { font-family: var(--tm-head); color: var(--tm-ink); }

body.tm-site #respond input#submit,
body.tm-site #respond .submit,
body.tm-site .comment-form input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 50px; padding: 12px 26px;
	font: 600 16px/1.2 var(--tm-head); letter-spacing: 0; text-transform: none;
	color: #fff; background: var(--tm-ink); border: 2px solid var(--tm-ink); border-radius: var(--tm-radius); cursor: pointer;
}
body.tm-site #respond input#submit:hover, body.tm-site #respond input#submit:focus,
body.tm-site .comment-form input[type="submit"]:hover, body.tm-site .comment-form input[type="submit"]:focus {
	color: #fff; background: var(--tm-ink-700); border-color: var(--tm-ink-700);
}

/* ---------- 14. Pagini simple ---------- */
.tm-site.page:not(.tm-home):not(.woocommerce-page) .entry-content { max-width: 780px; font-size: 17.5px; line-height: 1.75; }
.tm-site.page .entry-content > .alignwide { max-width: none; }
.tm-site .entry-content .wp-block-columns { gap: 24px; }

/* ---------- 15. Diverse ---------- */
.tm-site .ast-scroll-top-icon { display: none !important; }
@media (prefers-reduced-motion: reduce) {
	.tm-card, .tm-card__media, .tm-cat, .tm-hero-grid a, .tm-drawer__panel, .tm-drawer__backdrop, .tm-card__img { transition: none !important; }
}
@media print {
	.tm-topbar, .tm-header, .tm-footer, .tm-drawer, .afm-sticky, .tm-pd-order, .tm-toc { display: none !important; }
}

/* ---------- 16. Rezistență la regulile Astra (liste, linkuri, butoane) ---------- */
body.tm-site ul.tm-grid, body.tm-site ul.tm-hero-grid, body.tm-site ul.tm-trust, body.tm-site ul.tm-reviews__grid,
body.tm-site ol.tm-reviews__grid, body.tm-site ol.tm-toc__list, body.tm-site ul.tm-contact, body.tm-site ul.tm-drawer__list,
body.tm-site ul.tm-nav__list, body.tm-site .tm-footer__col ul, body.tm-site ul.tm-footer__legal-menu,
body.tm-site .entry-content ul.tm-grid, body.tm-site .entry-content ul.tm-hero-grid, body.tm-site .entry-content ul.tm-trust {
	margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; list-style: none !important;
}
body.tm-site ul.tm-grid, body.tm-site ul.tm-hero-grid { margin-bottom: 0 !important; }
body.tm-site ol.tm-toc__list { padding: 0 10px 12px !important; }
body.tm-site ul.tm-nav__list { margin-left: auto !important; margin-right: auto !important; padding-left: var(--tm-gutter) !important; padding-right: var(--tm-gutter) !important; }
body.tm-site .tm-grid > li, body.tm-site .tm-hero-grid > li, body.tm-site .tm-trust > li { margin-left: 0 !important; }

body.tm-site .tm-card__link, body.tm-site .entry-content .tm-card__link,
body.tm-site .tm-cat__link, body.tm-site .entry-content .tm-cat__link,
body.tm-site .tm-hero-grid a, body.tm-site .entry-content .tm-hero-grid a,
body.tm-site .wp-block-button__link { text-decoration: none !important; }

body.tm-site .wp-block-button.is-style-outline > .wp-block-button__link,
body.tm-site .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color),
body.tm-site .wp-block-button .wp-block-button__link.is-style-outline:not(.has-text-color) {
	color: var(--tm-ink); background-color: transparent; border: 2px solid var(--tm-ink);
}
body.tm-site .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:hover,
body.tm-site .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:focus {
	color: #fff; background-color: var(--tm-ink); border-color: var(--tm-ink);
}
body.tm-site .wp-block-button:not(.is-style-outline) > .wp-block-button__link:not(.has-background) { background-color: var(--tm-violet); border-color: var(--tm-violet); color: #fff; }
body.tm-site .wp-block-button:not(.is-style-outline) > .wp-block-button__link:not(.has-background):hover,
body.tm-site .wp-block-button:not(.is-style-outline) > .wp-block-button__link:not(.has-background):focus { background-color: var(--tm-violet-700); border-color: var(--tm-violet-700); color: #fff; }
body.tm-site ul.tm-contact.tm-drawer__contact { margin: auto 16px 16px !important; padding: 12px 16px !important; }
