/* Trackway Mats design system. All site styling lives here.
   Tokens from the brand pack (round-2-final/tokens.json): trackway black, safety yellow, showground green, marquee canvas, mud brown.
   Note: Bricks sets html{font-size:62.5%}, so sizes here are in px or em, never root rem. */

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-stretch: 62% 125%; font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-stretch: 62% 125%; font-display: swap;
  src: url(../fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --tm-ink: #1E1F1C;
  --tm-ink-2: #2B2D28;
  --tm-yellow: #F3C318;
  --tm-yellow-2: #E3B30A;
  --tm-green: #2E6B3F;
  --tm-green-2: #245632;
  --tm-green-tint: #E8EDDF;
  --tm-canvas: #F5F2EA;
  --tm-canvas-2: #ECE7DA;
  --tm-mud: #6E5238;
  --tm-white: #FFFFFF;
  --tm-muted: #575A52;
  --tm-line: rgba(30, 31, 28, .14);
  --tm-line-2: rgba(30, 31, 28, .24);
  --tm-font: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --tm-wrap: 1200px;
  --tm-gut: 20px;
  --tm-r-sm: 6px;
  --tm-r: 12px;
  --tm-r-lg: 18px;
  --tm-shadow: 0 1px 2px rgba(30,31,28,.06), 0 8px 24px rgba(30,31,28,.06);
  --tm-sec: 56px;
  --tm-hdr: 64px;
  --tm-fs-body: 17px;
  --tm-fs-sm: 15px;
  --tm-fs-xs: 14px;
  --tm-h1: clamp(34px, 6.4vw, 58px);
  --tm-h2: clamp(27px, 3.6vw, 38px);
  --tm-h3: clamp(19px, 1.9vw, 22px);
}
@media (min-width: 768px) { :root { --tm-gut: 32px; --tm-sec: 80px; } }
@media (min-width: 1181px) { :root { --tm-hdr: 84px; --tm-sec: 96px; } }

/* ---------- base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { font-family: var(--tm-font); font-size: var(--tm-fs-body); line-height: 1.6; color: var(--tm-ink); background: var(--tm-canvas); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body, button, input, select, textarea { font-family: var(--tm-font); }
h1, h2, h3, h4 { font-family: var(--tm-font); color: var(--tm-ink); font-stretch: 92%; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--tm-h1); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: var(--tm-h2); line-height: 1.12; font-weight: 760; }
h3 { font-size: var(--tm-h3); line-height: 1.25; font-weight: 700; }
p, li { text-wrap: pretty; }
a { color: var(--tm-green); text-decoration-line: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--tm-green-2); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--tm-ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--tm-yellow); border-radius: 4px; }
strong { font-weight: 700; }
img, svg { max-width: 100%; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.tm-muted { color: var(--tm-muted); }
.tm-lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--tm-ink); max-width: 64ch; }
.tm-small { font-size: var(--tm-fs-sm); color: var(--tm-muted); }
#brx-content { overflow-x: clip; }

/* ---------- layout ---------- */
.tm-sec { padding-block: var(--tm-sec); background: var(--tm-canvas); }
.tm-sec > .brxe-container, .tm-wrap { width: min(100% - 2 * var(--tm-gut), var(--tm-wrap)); max-width: var(--tm-wrap); margin-inline: auto; }
.tm-sec--white { background: var(--tm-white); }
.tm-sec--tint { background: var(--tm-green-tint); }
.tm-sec--dark { background: var(--tm-ink); color: #EDEBE3; }
.tm-sec--dark h2, .tm-sec--dark h3, .tm-sec--dark .tm-h { color: #fff; }
.tm-sec--dark a:not(.tm-btn) { color: var(--tm-yellow); }
.tm-sec--canvas + .tm-sec--canvas, .tm-sec--white + .tm-sec--white, .tm-sec--tint + .tm-sec--tint { padding-top: 0; }
.tm-sec--tight { padding-block: calc(var(--tm-sec) * .6); }
.tm-stack { display: flex; flex-direction: column; gap: 16px; }
.tm-stack > * { margin: 0; }
.tm-head { max-width: 760px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 14px; }
.tm-head > * { margin: 0; }
.tm-head--center { margin-inline: auto; text-align: center; align-items: center; }
.tm-grid { display: grid; gap: 24px; width: 100%; }
.tm-grid--2 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .tm-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } .tm-grid--2-wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } .tm-grid--2-narrow { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.tm-grid--center { align-items: center; }
.brxe-block.tm-row { flex-direction: row; flex-wrap: wrap; gap: 12px; width: auto; align-items: center; }
.tm-prose { max-width: 72ch; }
.tm-prose > * { margin-block: 0 1em; }
.tm-prose > *:last-child { margin-bottom: 0; }
.tm-prose h2 { margin-top: 1.4em; margin-bottom: .45em; }
.tm-prose h3 { margin-top: 1.2em; margin-bottom: .35em; }
.tm-prose ul, .tm-prose ol { padding-left: 1.2em; }
.tm-prose li { margin-bottom: .4em; }
.tm-prose li::marker { color: var(--tm-green); }
.brxe-text > p:last-child, .brxe-text-basic:last-child { margin-bottom: 0; }

/* ---------- buttons ---------- */
.tm-btn, .brxe-button.tm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; white-space: nowrap; }
.tm-btn svg { width: 20px; height: 20px; flex: none; }
.tm-btn--primary, .brxe-button.tm-btn--primary { background: var(--tm-yellow); color: var(--tm-ink); border-color: var(--tm-yellow); }
.tm-btn--primary:hover, .brxe-button.tm-btn--primary:hover { background: var(--tm-yellow-2); border-color: var(--tm-yellow-2); color: var(--tm-ink); }
.tm-btn--dark, .brxe-button.tm-btn--dark { background: var(--tm-ink); color: #fff; border-color: var(--tm-ink); }
.tm-btn--dark:hover { background: #000; color: #fff; }
.tm-btn--ghost, .brxe-button.tm-btn--ghost { background: transparent; color: var(--tm-ink); border-color: var(--tm-ink); }
.tm-btn--ghost:hover, .brxe-button.tm-btn--ghost:hover { background: var(--tm-ink); color: #fff; }
.tm-sec--dark .brxe-button.tm-btn--ghost, .tm-sec--dark .tm-btn--ghost, .tm-sec--green .brxe-button.tm-btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.tm-sec--dark .brxe-button.tm-btn--ghost:hover, .tm-sec--dark .tm-btn--ghost:hover, .tm-sec--green .brxe-button.tm-btn--ghost:hover { background: #fff; color: var(--tm-ink); }
.tm-btn--block { width: 100%; }
.tm-btn--lg { min-height: 58px; font-size: 18px; }
.tm-btn:active { transform: translateY(1px); }
.tm-arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--tm-ink); }
.tm-arrow-link svg { width: 18px; height: 18px; transition: transform .18s ease; color: var(--tm-green); }
.tm-arrow-link:hover svg { transform: translateX(3px); }
.tm-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 560px) { .tm-actions .tm-btn { width: 100%; } }

/* ---------- top bar and header ---------- */
#brx-header { position: sticky; top: 0; z-index: 90; }
.tm-topbar { background: var(--tm-ink); color: #E9E6DC; font-size: 14px; }
.tm-topbar__in { width: min(100% - 2 * var(--tm-gut), var(--tm-wrap)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.tm-topbar__msg, .tm-topbar__mail { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #E9E6DC; text-decoration: none; }
.tm-topbar__mail:hover { color: var(--tm-yellow); }
.tm-topbar svg { width: 18px; height: 18px; color: var(--tm-yellow); flex: none; }
.tm-topbar__right { display: flex; align-items: center; gap: 20px; }
.tm-vat { display: inline-flex; background: rgba(255,255,255,.1); border-radius: 999px; padding: 3px; }
.tm-vat__b { appearance: none; border: 0; background: transparent; color: #E9E6DC; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; cursor: pointer; min-height: 30px; }
.tm-vat__b[aria-pressed="true"] { background: var(--tm-yellow); color: var(--tm-ink); }
@media (max-width: 900px) { .tm-topbar__msg { display: none; } .tm-topbar__in { justify-content: space-between; } .tm-topbar__right { width: 100%; justify-content: space-between; gap: 12px; } }
@media (max-width: 420px) { .tm-topbar__mail span { font-size: 13px; } }

.tm-hdr { background: var(--tm-canvas); border-bottom: 1px solid var(--tm-line); }
.tm-hdr__in { width: min(100% - 2 * var(--tm-gut), var(--tm-wrap)); margin-inline: auto; display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 24px; min-height: var(--tm-hdr); position: relative; }
.tm-hdr__logo { flex: none; display: block; line-height: 0; margin-left: -10px; }
@media (max-width: 1180px) { .tm-hdr__logo { margin-left: -7px; } }
.tm-hdr__logo img, .tm-hdr__logo svg { height: 52px; width: auto; display: block; }
@media (max-width: 1180px) { .tm-hdr__logo img, .tm-hdr__logo svg { height: 36px; } }
@media (max-width: 374px) { .tm-hdr__logo img, .tm-hdr__logo svg { height: 31px; } }
.tm-hdr .brxe-shortcode { display: contents; }
.tm-nav { margin-left: auto; }
.tm-nav__list { display: flex; flex-direction: row; gap: 4px; list-style: none; margin: 0; padding: 0; }
.tm-nav__list a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--tm-ink); text-decoration: none; font-weight: 600; font-size: 16px; white-space: nowrap; }
.tm-nav__list a:hover { background: var(--tm-canvas-2); }
.tm-nav__list a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--tm-yellow); border-radius: 8px 8px 0 0; }
.tm-hdr-actions { display: flex; flex-direction: row; align-items: center; gap: 8px; flex: none; }
.tm-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; color: var(--tm-ink); cursor: pointer; text-decoration: none; }
.tm-icon-btn:hover { background: var(--tm-canvas-2); color: var(--tm-ink); }
.tm-icon-btn svg { width: 22px; height: 22px; display: block; }
.tm-basket__n { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--tm-green); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.tm-basket__n[data-n="0"] { display: none; }
.tm-hdr-cta { min-height: 46px; padding: 10px 20px; margin-left: 8px; }
.tm-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--tm-ink); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.tm-burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.tm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tm-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.tm-search-pop { position: absolute; right: 0; top: 100%; width: min(440px, 100%); background: #fff; border: 1px solid var(--tm-line); border-radius: 0 0 var(--tm-r) var(--tm-r); padding: 14px; box-shadow: var(--tm-shadow); z-index: 5; }
.tm-search { display: flex; gap: 8px; }
.tm-search input { flex: 1; min-width: 0; height: 46px; border: 1.5px solid var(--tm-line-2); border-radius: 10px; padding: 0 14px; font-size: 16px; background: #fff; color: var(--tm-ink); }
.tm-search button { width: 46px; height: 46px; flex: none; border: 0; border-radius: 10px; background: var(--tm-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.tm-search button svg { width: 20px; height: 20px; }
.tm-mobile-panel { display: none; }
@media (max-width: 1180px) {
  .tm-nav, .tm-search-toggle { display: none; }
  .tm-hdr-actions { margin-left: auto; gap: 6px; }
  .tm-burger { display: inline-flex; }
  .tm-hdr-cta { width: 44px; height: 44px; min-height: 44px; padding: 0; margin-left: 0; }
  .tm-hdr-cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
  .tm-hdr-cta svg { width: 22px; height: 22px; }
  .tm-mobile-panel:not([hidden]) { display: block; position: absolute; left: calc(-1 * var(--tm-gut)); right: calc(-1 * var(--tm-gut)); top: 100%; background: var(--tm-canvas); border-top: 1px solid var(--tm-line); padding: 18px var(--tm-gut) 28px; max-height: calc(100dvh - 110px); overflow-y: auto; box-shadow: 0 24px 40px rgba(30,31,28,.18); }
  .tm-mobile-panel__list { list-style: none; margin: 14px 0 18px; padding: 0; }
  .tm-mobile-panel__list a { display: flex; align-items: center; min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--tm-line); color: var(--tm-ink); font-size: 19px; font-weight: 650; text-decoration: none; }
  .tm-mobile-panel__list a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--tm-yellow); padding-left: 14px; }
  .tm-mobile-panel__note { margin: 14px 0 0; font-size: 15px; color: var(--tm-muted); }
  .tm-menu-open body { overflow: hidden; }
}

/* ---------- breadcrumbs ---------- */
.tm-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: 14px; color: var(--tm-muted); }
.tm-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.tm-crumbs li + li::before { content: '/'; color: var(--tm-line-2); }
.tm-crumbs a { color: var(--tm-muted); text-decoration: none; }
.tm-crumbs a:hover { color: var(--tm-ink); text-decoration: underline; }
.tm-crumbs [aria-current] { color: var(--tm-ink); }

/* ---------- page heroes ---------- */
.tm-hero { padding-block: 40px var(--tm-sec); background: var(--tm-canvas); }
.tm-hero > .brxe-container { gap: 20px; }
.tm-hero h1 { margin: 0; max-width: 18ch; }
.tm-hero .tm-lead { margin: 0; }
.tm-hero--home { padding-block: 48px 64px; background: var(--tm-canvas); }
@media (min-width: 900px) { .tm-hero--home { padding-block: 72px 88px; } }
.tm-hero__visual { line-height: 0; }
.tm-hero__visual svg { width: 100%; height: auto; }
.tm-hero--page { padding-block: 32px 48px; }
.tm-hero--page h1 { max-width: 22ch; }
.tm-hero--page .tm-crumbs { margin-bottom: 6px; }

/* ---------- proof strip ---------- */
.tm-proof { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 24px; }
.tm-proof li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; line-height: 1.35; }
.tm-proof svg { width: 26px; height: 26px; flex: none; color: var(--tm-green); }

/* ---------- prices ---------- */
.tm-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; line-height: 1.2; }
.tm-v--ex { display: none; }
html.tm-ex .tm-v--inc { display: none; }
html.tm-ex .tm-v--ex { display: inline; }
.tm-price .tm-v { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
html:not(.tm-ex) .tm-price .tm-v--ex, html.tm-ex .tm-price .tm-v--inc { display: none; }
.tm-price__main { font-weight: 800; font-size: 24px; letter-spacing: -0.01em; }
.tm-price__tax { font-weight: 600; font-size: 15px; }
.tm-price__alt { font-size: 14px; color: var(--tm-muted); }
.tm-price__note { font-size: 14px; color: var(--tm-muted); }
.tm-price--sm .tm-price__main { font-size: 20px; }
.tm-price--lg .tm-price__main { font-size: clamp(32px, 4vw, 40px); }
.tm-price--quote { font-weight: 700; font-size: 18px; }
.tm-pi { font-weight: 700; white-space: nowrap; }

/* ---------- cards ---------- */
.tm-cards { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); width: 100%; }
@media (min-width: 640px) { .tm-cards--2, .tm-cards--3, .tm-cards--4, .tm-cards--kits, .tm-cards--jobs, .tm-cards--guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tm-cards--3, .tm-cards--kits, .tm-cards--jobs, .tm-cards--guides { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tm-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 1023px) { .tm-cards--3 > :last-child:nth-child(odd), .tm-cards--kits > :last-child:nth-child(odd), .tm-cards--jobs > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .tm-cards--3 > :nth-last-child(2):nth-child(3n+1), .tm-cards--kits > :nth-last-child(2):nth-child(3n+1) { grid-column: span 1; } }
.tm-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--tm-line); border-radius: var(--tm-r-lg); overflow: hidden; transition: border-color .18s ease, box-shadow .18s ease; }
.tm-card:hover { border-color: var(--tm-line-2); box-shadow: var(--tm-shadow); }
.tm-card__media { display: block; background: var(--tm-canvas); line-height: 0; padding: 18px 18px 8px; text-decoration: none; }
.tm-card__media svg { width: 100%; height: auto; }
.tm-card__media--layout { padding: 14px; background: var(--tm-green-tint); }
.tm-card__media--layout .tm-layout { max-height: 170px; }
.tm-card__media--acc, .tm-card__media--job, .tm-card__media--guide { padding: 0; background: var(--tm-green-tint); aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; }
.tm-card__media--acc svg, .tm-card__media--job svg, .tm-card__media--guide svg { width: 100%; height: 100%; }
.tm-card__body { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px 22px; flex: 1; }
.tm-card__body > * { margin: 0; }
.tm-card__title { font-size: 21px; line-height: 1.2; }
.tm-card__title a { color: var(--tm-ink); text-decoration: none; }
.tm-card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.tm-card .tm-btn, .tm-card a:not(.tm-card__media):not([class*="title"] a) { position: relative; z-index: 2; }
.tm-card__sub { color: var(--tm-muted); font-size: var(--tm-fs-sm); }
.tm-card__cov { font-weight: 700; color: var(--tm-green); }
.tm-card__price { margin-top: auto; padding-top: 6px; }
.tm-card__save { font-size: 14px; color: var(--tm-muted); }
.tm-card__pick { font-size: 15px; }
.tm-card__pick span { font-weight: 700; }
.tm-card .tm-btn { margin-top: 4px; }
.tm-badge { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--tm-ink); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.tm-facts-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin: 0; padding: 12px 0; border-block: 1px solid var(--tm-line); }
.tm-facts-mini div { display: flex; flex-direction: column; }
.tm-facts-mini dt { font-size: 13px; color: var(--tm-muted); }
.tm-facts-mini dd { margin: 0; font-weight: 700; }
.tm-kitlist { list-style: none; margin: 0; padding: 0; font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.tm-kitlist strong { display: inline-block; min-width: 2.2em; }

/* ---------- mat and layout drawings ---------- */
.tm-matsvg__dim, .tm-layout__dim { font: 700 15px var(--tm-font); fill: var(--tm-green); }
.tm-layout { width: 100%; height: auto; display: block; }
.tm-figure { margin: 0; }
.tm-figure figcaption, .tm-pdp-visual figcaption { font-size: 14px; color: var(--tm-muted); margin-top: 10px; }

/* ---------- tables ---------- */
.tm-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--tm-line); border-radius: var(--tm-r); background: #fff; }
.tm-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.tm-table th, .tm-table td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--tm-line); }
.tm-table thead th { background: var(--tm-ink); color: #fff; font-size: 15px; font-weight: 700; }
.tm-table tbody th { font-weight: 650; }
.tm-table tr:last-child > * { border-bottom: 0; }
.tm-table tbody tr:nth-child(even) { background: #FBFAF6; }
.tm-table__total th, .tm-table__total td { font-weight: 800; background: var(--tm-green-tint); }
.tm-cell-note { display: block; font-size: 13px; color: var(--tm-muted); font-weight: 400; margin-top: 2px; }
.tm-yes, .tm-no { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; }
.tm-yes svg, .tm-no svg { width: 18px; height: 18px; flex: none; }
.tm-yes svg { color: var(--tm-green); }
.tm-no { color: var(--tm-muted); font-weight: 500; }
.tm-no svg { color: #9A6B3C; }
.tm-table--spec th { width: 38%; background: #FBFAF6; }
@media (max-width: 640px) {
  .tm-table { font-size: 14.5px; }
  .tm-table th, .tm-table td { padding: 10px 10px; }
  .tm-table--spec th { width: 36%; }
  .tm-table--carries td, .tm-table--machines td { white-space: normal; }
  .tm-table--carries .tm-no span, .tm-table--carries .tm-yes span { display: none; }
  .tm-table--carries .tm-yes svg, .tm-table--carries .tm-no svg { width: 22px; height: 22px; }
}
}

/* comparison table: sticky first column, readable at 390px */
.tm-compare { width: 100%; overflow-x: auto; border: 1px solid var(--tm-line); border-radius: var(--tm-r); background: #fff; position: relative; }
.tm-compare__t { border-collapse: separate; border-spacing: 0; min-width: 980px; width: 100%; font-size: 15px; }
.tm-compare__t th, .tm-compare__t td { padding: 12px 14px; border-bottom: 1px solid var(--tm-line); text-align: left; vertical-align: top; background: #fff; }
.tm-compare__t thead th { background: var(--tm-ink); color: #fff; position: sticky; top: 0; }
.tm-compare__t thead th a { color: #fff; font-weight: 750; text-decoration: none; font-size: 16px; }
.tm-compare__t thead th .tm-cell-note { color: #CFCBBF; }
.tm-compare__t tbody th { position: sticky; left: 0; z-index: 1; background: #F7F5EE; font-weight: 650; width: 150px; min-width: 130px; box-shadow: 1px 0 0 var(--tm-line); }
.tm-compare__t .tm-compare__corner { position: sticky; left: 0; z-index: 3; background: var(--tm-ink); }
.tm-compare__t .is-current { background: #FFF9E3; }
.tm-compare__t thead .is-current { background: var(--tm-green); }
.tm-compare__t tr:last-child > * { border-bottom: 0; }
@media (max-width: 640px) { .tm-compare__t { min-width: 860px; font-size: 14px; } .tm-compare__t tbody th { width: 112px; min-width: 112px; } }

/* ---------- tiles ---------- */
.tm-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .tm-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.tm-tiles li { background: #fff; border: 1px solid var(--tm-line); border-radius: var(--tm-r); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.tm-tiles strong { font-size: clamp(20px, 2vw, 24px); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.tm-tiles span { font-size: 14px; color: var(--tm-muted); line-height: 1.35; }

/* ---------- best for ---------- */
.tm-bestfor { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .tm-bestfor { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tm-bestfor__col { background: #fff; border: 1px solid var(--tm-line); border-radius: var(--tm-r); padding: 22px; }
.tm-bestfor__col--yes { border-top: 4px solid var(--tm-green); }
.tm-bestfor__col--no { border-top: 4px solid var(--tm-mud); }
.tm-bestfor h3 { margin: 0 0 12px; font-size: 19px; }
.tm-bestfor ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tm-bestfor li { display: flex; gap: 10px; align-items: flex-start; }
.tm-bestfor svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.tm-bestfor__col--yes svg { color: var(--tm-green); }
.tm-bestfor__col--no svg { color: var(--tm-mud); }

/* ---------- steps ---------- */
.tm-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .tm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tm-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tm-steps li { counter-increment: s; background: #fff; border: 1px solid var(--tm-line); border-radius: var(--tm-r); padding: 20px 20px 20px 72px; position: relative; }
.tm-steps li::before { content: counter(s); position: absolute; left: 20px; top: 18px; width: 36px; height: 36px; border-radius: 999px; background: var(--tm-yellow); color: var(--tm-ink); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.tm-steps h3 { margin: 0 0 6px; font-size: 18px; }
.tm-steps p { margin: 0; font-size: 16px; }

/* ---------- FAQ ---------- */
.tm-faq { display: flex; flex-direction: column; gap: 10px; max-width: 880px; }
.tm-faq__i { background: #fff; border: 1px solid var(--tm-line); border-radius: var(--tm-r); }
.tm-faq__i summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 700; font-size: 18px; position: relative; line-height: 1.35; }
.tm-faq__i summary::-webkit-details-marker { display: none; }
.tm-faq__i summary::after { content: ''; position: absolute; right: 20px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 999px; background: var(--tm-canvas-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%231E1F1C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .2s ease; }
.tm-faq__i[open] summary::after { transform: rotate(180deg); }
.tm-faq__a { padding: 0 20px 18px; }
.tm-faq__a > *:first-child { margin-top: 0; }
.tm-faq__a > *:last-child { margin-bottom: 0; }

/* ---------- callouts ---------- */
.tm-answerbox { background: #fff; border: 1px solid var(--tm-line); border-left: 6px solid var(--tm-yellow); border-radius: var(--tm-r); padding: 22px 24px; }
.tm-answerbox h2 { font-size: 22px; margin: 0 0 8px; }
.tm-answerbox p { margin: 0; font-size: 18px; }
.tm-callout { background: var(--tm-green-tint); border-radius: var(--tm-r-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.tm-callout > * { margin: 0; }
.tm-note { background: #FFF9E3; border: 1px solid #EBD487; border-radius: var(--tm-r); padding: 16px 18px; font-size: 16px; }
.tm-maths { margin-top: 20px; background: #fff; border: 1px solid var(--tm-line); border-radius: var(--tm-r); padding: 20px 22px; }
.tm-maths h3 { margin: 0 0 10px; font-size: 18px; }
.tm-maths ul { margin: 0; padding-left: 1.2em; }
.tm-maths li { margin-bottom: 6px; }
.tm-byline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--tm-muted); margin: 0; }
.tm-byline a { color: var(--tm-muted); }
.tm-sources { font-size: 15px; padding-left: 1.3em; }
.tm-sources li { margin-bottom: 6px; }
.tm-sourceline { font-size: 14px; color: var(--tm-muted); margin: 12px 0 0; }

/* ---------- home chooser ---------- */
.tm-chooser { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); background: #fff; border: 1px solid var(--tm-line); border-radius: var(--tm-r-lg); box-shadow: var(--tm-shadow); overflow: hidden; }
@media (min-width: 900px) { .tm-chooser { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.tm-chooser__form { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.tm-chooser__result { padding: 24px; background: var(--tm-ink); color: #EDEBE3; }
.tm-chooser__result a:not(.tm-btn) { color: var(--tm-yellow); }
.tm-field { display: flex; flex-direction: column; gap: 8px; }
.tm-field label, .tm-label { font-weight: 700; font-size: 16px; color: var(--tm-ink); }
.tm-field select, .tm-field input[type=number], .tm-field input[type=text] { height: 50px; border: 1.5px solid var(--tm-line-2); border-radius: 10px; padding: 0 14px; font-size: 16px; background: #fff; color: var(--tm-ink); width: 100%; }
.tm-field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%231E1F1C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 20px no-repeat; padding-right: 40px; }
.tm-unit { display: flex; align-items: center; border: 1.5px solid var(--tm-line-2); border-radius: 10px; overflow: hidden; background: #fff; }
.tm-unit input { border: 0 !important; flex: 1; min-width: 0; }
.tm-unit span { padding: 0 14px; color: var(--tm-muted); font-size: 15px; }
.tm-unit--pre span { padding-right: 0; }
.tm-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.tm-seg label { position: relative; }
.tm-seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tm-seg span { color: var(--tm-ink); display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 6px 8px; border: 1.5px solid var(--tm-line-2); border-radius: 10px; font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; }
.tm-seg input:checked + span { background: var(--tm-ink); color: #fff; border-color: var(--tm-ink); }
.tm-seg input:focus-visible + span { outline: 3px solid var(--tm-ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--tm-yellow); }
.tm-answer { display: flex; flex-direction: column; gap: 14px; }
.tm-answer > * { margin: 0; }
.tm-answer__h { font-size: 22px; line-height: 1.3; color: #fff; }
.tm-answer__h strong { color: var(--tm-yellow); }
.tm-answer__r { font-size: 15px; color: #CFCBBF; }
.tm-answer__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,.15); }
.tm-answer__list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 15px; }
.tm-answer__list strong { color: #fff; text-align: right; }
.tm-answer__price .tm-price__main { color: #fff; }
.tm-answer__price .tm-price__tax { color: #fff; }
.tm-answer__price .tm-price__alt, .tm-answer__price .tm-price__note { color: #CFCBBF; }
.tm-answer__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.tm-answer__btns .tm-btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.tm-answer__btns .tm-btn--ghost:hover { background: #fff; color: var(--tm-ink); }
.tm-answer__more { font-size: 15px; }
@media (max-width: 560px) { .tm-answer__btns .tm-btn { width: 100%; } }

/* ---------- mat calculator ---------- */
.tm-calc { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .tm-calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; } .tm-calc__out { position: sticky; top: calc(var(--tm-hdr) + 64px); } }
.tm-calc__form { background: #fff; border: 1px solid var(--tm-line); border-radius: var(--tm-r-lg); padding: 24px; }
.tm-calc__out { background: #fff; border: 2px solid var(--tm-ink); border-radius: var(--tm-r-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.tm-calc__out > * { margin: 0; }
.tm-out__h { font-size: 22px; }
.tm-out__big { font-size: 22px; line-height: 1.25; }
.tm-out__big strong { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; margin-right: 4px; }
.tm-out__r { font-size: 15px; color: var(--tm-muted); }
.tm-out__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--tm-line); }
.tm-out__list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--tm-line); font-size: 15px; }
.tm-out__list strong { text-align: right; }
.tm-out__price { padding: 14px 16px; background: var(--tm-green-tint); border-radius: var(--tm-r); }
.tm-out__hire { background: var(--tm-canvas); border-radius: var(--tm-r); padding: 14px 16px; }
.tm-out__hire h3 { font-size: 17px; margin: 0 0 6px; }
.tm-out__hire p { margin: 0; font-size: 15px; }
.tm-out__btns { display: flex; flex-direction: column; gap: 10px; }

/* ---------- buy or hire mini calculator ---------- */
.tm-buyhire { background: #fff; border: 1px solid var(--tm-line); border-radius: var(--tm-r-lg); padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.tm-buyhire__form { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .tm-buyhire__form { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; } }
.tm-bh { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .tm-bh { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tm-bh__col { background: var(--tm-canvas); border-radius: var(--tm-r); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.tm-bh__col span { font-size: 15px; color: var(--tm-muted); }
.tm-bh__col strong { font-size: 28px; font-weight: 800; }
.tm-bh__col small { font-size: 13px; color: var(--tm-muted); }
.tm-bh__verdict { font-weight: 700; font-size: 18px; margin: 12px 0 0; }

/* ---------- product page ---------- */
.tm-pdp-top > .brxe-container { gap: 0; }
.tm-pdp-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); width: 100%; }
@media (min-width: 1024px) { .tm-pdp-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: start; } }
.tm-pdp-visual { margin: 0; background: #fff; border: 1px solid var(--tm-line); border-radius: var(--tm-r-lg); padding: 24px; }
.tm-pdp-visual svg { width: 100%; height: auto; }
.tm-pdp-info { display: flex; flex-direction: column; gap: 14px; }
.tm-pdp-info > * { margin: 0; }
.tm-pdp-info h1 { font-size: clamp(30px, 3.6vw, 42px); max-width: none; }
.tm-pdp-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; color: var(--tm-muted); margin: 0; }
.tm-buybox { background: #fff; border: 1px solid var(--tm-line); border-radius: var(--tm-r-lg); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.tm-buybox > * { margin: 0; }
.tm-buybox__save { font-size: 15px; color: var(--tm-muted); }
.tm-dline { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; margin: 0; }
.tm-dline svg { width: 22px; height: 22px; flex: none; color: var(--tm-green); margin-top: 1px; }
.tm-date { font-weight: 700; }
.tm-connector-hint { background: var(--tm-canvas); border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.tm-connector-hint p { margin: 0; }
.tm-buybox form.cart { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; margin: 0; }
.tm-buybox form.cart .quantity { flex: none; }
.tm-buybox form.cart .qty { width: 84px; height: 54px; border: 1.5px solid var(--tm-line-2); border-radius: 10px; text-align: center; font-size: 18px; font-weight: 700; }
.tm-buybox form.cart .single_add_to_cart_button, .tm-buybox form.cart button[type=submit] { flex: 1; min-width: 0; min-height: 54px; border-radius: 999px !important; background: var(--tm-yellow) !important; color: var(--tm-ink) !important; font-weight: 800; font-size: 18px; border: 0; padding: 0 24px; }
.tm-buybox form.cart .single_add_to_cart_button:hover { background: var(--tm-yellow-2) !important; }
.tm-buybox__addconn, .tm-buybox__quote { font-size: 15px; }
.tm-buybox__assure { list-style: none; padding: 14px 0 0; margin: 0; border-top: 1px solid var(--tm-line); display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.tm-buybox__assure li { display: flex; gap: 10px; align-items: flex-start; }
.tm-buybox__assure svg { width: 20px; height: 20px; flex: none; color: var(--tm-green); margin-top: 2px; }
.tm-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: #fff; border-top: 1px solid var(--tm-line-2); box-shadow: 0 -8px 24px rgba(30,31,28,.12); transform: translateY(110%); transition: transform .22s ease; padding: 10px var(--tm-gut) calc(10px + env(safe-area-inset-bottom)); }
.tm-sticky.is-on { transform: translateY(0); }
.tm-sticky__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: var(--tm-wrap); margin-inline: auto; }
.tm-sticky__p { display: flex; flex-direction: column; min-width: 0; font-size: 15px; }
.tm-sticky__n { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-sticky .tm-btn { min-height: 48px; padding: 10px 20px; }
@media (min-width: 1024px) { .tm-sticky { display: none; } }

/* ---------- WooCommerce basket and checkout ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: #fff !important; color: var(--tm-ink) !important; border: 1px solid var(--tm-line-2) !important; border-left: 5px solid var(--tm-green) !important; border-radius: var(--tm-r) !important; padding: 14px 18px !important; list-style: none; margin: 0 0 20px !important; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.woocommerce-error { border-left-color: #A33A2B !important; }
.woocommerce-message .button, .woocommerce-info .button { background: var(--tm-ink) !important; color: #fff !important; border-radius: 999px !important; padding: 8px 16px !important; text-decoration: none; order: 2; }
.tm-woo table.shop_table { border: 1px solid var(--tm-line); border-radius: var(--tm-r); background: #fff; border-collapse: separate; border-spacing: 0; width: 100%; overflow: hidden; }
.tm-woo table.shop_table th, .tm-woo table.shop_table td { padding: 14px 16px; border-bottom: 1px solid var(--tm-line); }
.tm-woo .button, .tm-woo button.button, .tm-woo a.button { background: var(--tm-ink); color: #fff; border-radius: 999px; padding: 12px 22px; font-weight: 700; border: 0; text-decoration: none; }
.tm-woo .checkout-button, .tm-woo #place_order { background: var(--tm-yellow) !important; color: var(--tm-ink) !important; font-size: 18px !important; font-weight: 800 !important; min-height: 56px; border-radius: 999px !important; width: 100%; }
.tm-woo input.input-text, .tm-woo select, .tm-woo textarea { border: 1.5px solid var(--tm-line-2); border-radius: 10px; min-height: 48px; padding: 10px 12px; font-size: 16px; background: #fff; }
.tm-woo textarea { min-height: 110px; }
.tm-woo .form-row label { font-weight: 650; font-size: 15px; }
.tm-woo .cart_totals, .tm-woo #order_review { background: #fff; border: 1px solid var(--tm-line); border-radius: var(--tm-r-lg); padding: 20px; }
.tm-woo .cart_totals h2, .tm-woo #order_review_heading { font-size: 24px; }
.tm-cart-date { display: flex; gap: 10px; align-items: flex-start; background: var(--tm-green-tint); border-radius: var(--tm-r); padding: 12px 14px; margin: 0 0 16px; font-size: 15px; }
.tm-cart-date p { margin: 0; }
.tm-cart-date svg { width: 22px; height: 22px; flex: none; color: var(--tm-green); }
.tm-woo form.checkout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; width: 100% !important; max-width: 100% !important; }
.tm-woo form.checkout > * { grid-column: 1; }
@media (min-width: 1024px) { .tm-woo form.checkout { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } .tm-woo form.checkout > :has(> #order_review), .tm-woo form.checkout > #order_review_heading, .tm-woo form.checkout > #order_review { grid-column: 2; } .tm-woo form.checkout > #customer_details { grid-row: 1 / span 4; } }
.tm-woo .before-checkout, .tm-woo .before-cart, .tm-woo form.checkout.brxe-container { width: 100% !important; max-width: 100% !important; }
wc-order-attribution-inputs { display: none; }
.tm-woo .woocommerce-form__label-for-checkbox { display: flex; gap: 8px; align-items: flex-start; }
.tm-woo .wc_payment_methods { list-style: none; padding: 0; }
.tm-woo .cart-empty { font-size: 20px; }
.tm-woo .return-to-shop .button { background: var(--tm-yellow); color: var(--tm-ink); }
.tm-woo select, .tm-woo .select2-selection--single { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%231E1F1C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; }
.tm-woo .select2-selection__arrow { display: none; }
@media (max-width: 768px) { .tm-woo table.shop_table_responsive tr td { padding: 10px 14px; } }

/* ---------- Gravity Forms (Orbital) ---------- */
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4).gform_wrapper.gform-theme.gform-theme--orbital {
  --gf-ctrl-font-size: 16px; --gf-ctrl-label-font-size-primary: 16px; --gf-ctrl-label-font-weight-primary: 700; --gf-ctrl-label-color-primary: #1E1F1C;
  --gf-ctrl-border-color: rgba(30,31,28,.24); --gf-ctrl-border-width: 1.5px; --gf-ctrl-radius: 10px; --gf-ctrl-size: 50px; --gf-ctrl-color: #1E1F1C;
  --gf-ctrl-btn-bg-color-primary: #F3C318; --gf-ctrl-btn-bg-color-hover-primary: #E3B30A; --gf-ctrl-btn-color-primary: #1E1F1C; --gf-ctrl-btn-color-hover-primary: #1E1F1C;
  --gf-ctrl-btn-font-weight: 800; --gf-ctrl-btn-font-size: 18px; --gf-ctrl-btn-radius: 999px; --gf-ctrl-btn-size: 56px; --gf-ctrl-btn-padding-x: 28px;
  --gf-color-primary: #1E1F1C; --gf-color-primary-rgb: 30,31,28; --gf-ctrl-outline-color-focus: #1E1F1C; --gf-ctrl-choice-check-color: #1E1F1C; --gf-ctrl-choice-border-color: rgba(30,31,28,.45);
  --gf-ctrl-desc-font-size: 15px; --gf-ctrl-desc-color: #575A52; --gf-font-family-base: 'Archivo', system-ui, sans-serif; --gf-font-family-primary: 'Archivo', system-ui, sans-serif; --gf-form-gap-y: 22px;
}
.tm-gf .gform_wrapper .gfield_required_text, .tm-calc .gform_wrapper .gfield_required_text { display: none; }
.tm-gf .gform_wrapper .gform_footer, .tm-calc .gform_wrapper .gform_footer { margin-top: 8px; }
.tm-gf .gform_wrapper .gform_button, .tm-calc .gform_wrapper .gform_button { width: 100%; }
.tm-calc .gform_wrapper .gsection { border-bottom: 2px solid var(--tm-ink); padding-bottom: 6px; margin-top: 10px; }
.tm-calc .gform_wrapper .gsection_title { font-size: 20px; }
.tm-calc .gform_wrapper .gfield--type-number.tm-out-area input { background: var(--tm-green-tint); font-weight: 800; }
.gform_confirmation_message { background: var(--tm-green-tint); border-radius: var(--tm-r); padding: 18px 20px; font-size: 18px; font-weight: 600; }

/* ---------- footer ---------- */
.tm-foot { background: var(--tm-ink); color: #D9D6CC; padding-block: 64px 32px; }
.tm-foot > .brxe-container { width: min(100% - 2 * var(--tm-gut), var(--tm-wrap)); gap: 40px; }
.tm-foot a:not(.tm-btn) { color: #F0EEE7; text-decoration: none; }
.tm-foot a:not(.tm-btn):hover { color: var(--tm-yellow); text-decoration: underline; }
.tm-foot__top { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); width: 100%; }
@media (min-width: 1024px) { .tm-foot__top { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 56px; } }
.tm-foot__brand { display: flex; flex-direction: column; gap: 16px; }
.tm-foot__brand img, .tm-foot__brand svg { width: 260px; height: auto; }
.tm-foot__brand p { margin: 0; font-size: 16px; line-height: 1.55; max-width: 36ch; }
.tm-foot-cols { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .tm-foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tm-foot-col__h { color: #fff; font-weight: 750; font-size: 16px; margin: 0 0 12px; }
.tm-foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.tm-foot__bottom { width: 100%; border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px; display: flex; flex-direction: column; gap: 6px; }
.tm-legal { margin: 0; font-size: 14px; line-height: 1.55; color: #C9C5B9; }
.tm-legal--small { font-size: 13px; color: #A9A597; }

/* ---------- search results, 404 ---------- */
.tm-results { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tm-results li { background: #fff; border: 1px solid var(--tm-line); border-radius: var(--tm-r); padding: 16px 20px; }
.tm-results a { font-weight: 750; font-size: 19px; color: var(--tm-ink); }
.tm-results p { margin: 6px 0 0; color: var(--tm-muted); font-size: 15px; }

/* ---------- utilities ---------- */
.tm-mt-0 { margin-top: 0 !important; }
.tm-center { text-align: center; }
.tm-hide-mobile { display: none; }
@media (min-width: 900px) { .tm-hide-mobile { display: block; } }
.tm-svg { display: block; }
.tm-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tm-kpi { background: #fff; border: 1px solid var(--tm-line); border-radius: var(--tm-r); padding: 18px; }
.tm-kpi strong { display: block; font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; line-height: 1.1; }
.tm-kpi span { font-size: 14px; color: var(--tm-muted); }
.tm-sec--dark .tm-kpi { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.tm-sec--dark .tm-kpi span { color: #CFCBBF; }
.tm-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .tm-checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tm-checklist li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--tm-line); border-radius: var(--tm-r); padding: 14px 16px; }
.tm-checklist li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 6px; background: var(--tm-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* product page sections hide themselves when their part does not apply */
.tm-pdp-sec:not(:has(.tm-pdp-block)):not(:has(.tm-tiles)):not(:has(.tm-pdp-desc)) { display: none; }
.tm-pdp-block .tm-head { margin-bottom: 28px; }
.tm-pdp-desc { max-width: 72ch; }
.tm-pdp-desc h2 { margin-top: 0; }
.tm-pdp-media { position: relative; }
.tm-grid--two-up { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .tm-grid--two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; } }
.tm-steps--one { grid-template-columns: minmax(0, 1fr) !important; }
.tm-hero__proof { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--tm-line); width: 100%; }

/* ---------- round 2 fixes ---------- */
.tm-sec > .brxe-container { row-gap: 28px; }
@media (max-width: 1180px) { .tm-hdr__in { gap: 8px; } .tm-hdr-actions { gap: 4px; } .tm-icon-btn, .tm-burger, .tm-hdr-cta { width: 42px; height: 42px; min-height: 42px; } }
@media (max-width: 389px) { .tm-hdr__logo img, .tm-hdr__logo svg { height: 31px; } }
@media (max-width: 767px) { :root { --tm-gut: 16px; } }
.tm-sec--green { background: var(--tm-green); color: #F3F7EE; }
.tm-sec--green h2, .tm-sec--green h3 { color: #fff; }
.tm-sec--green .tm-lead { color: #EAF1E4; }
.tm-sec--green a:not(.tm-btn) { color: #fff; }
.tm-card__media { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; padding: 14px; }
.tm-card__media svg { width: 100%; height: 100%; max-height: 100%; }
.tm-card__foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.tm-card__foot > * { margin: 0; }
.tm-card__price { margin-top: 0; padding-top: 0; }
@media (min-width: 1024px) {
  .tm-cards--3:has(> :nth-child(5):last-child), .tm-cards--kits:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tm-cards--3:has(> :nth-child(5):last-child) > *, .tm-cards--kits:has(> :nth-child(5):last-child) > * { grid-column: span 2; }
  .tm-cards--3:has(> :nth-child(5):last-child) > :nth-child(n+4), .tm-cards--kits:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 3; }
  .tm-cards--3:has(> :nth-child(4):last-child), .tm-cards--kits:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tm-cards--3:has(> :nth-child(2):last-child), .tm-cards--kits:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 640px) and (max-width: 1023px) { .tm-cards--kits > :last-child:nth-child(odd), .tm-cards--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
.tm-cards--3:has(> :only-child), .tm-cards--kits:has(> :only-child) { grid-template-columns: minmax(0, 1fr) !important; max-width: 480px; }
.tm-faqgrid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); width: 100%; }
@media (min-width: 1024px) { .tm-faqgrid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 56px; } .tm-faqgrid__side { position: sticky; top: calc(var(--tm-hdr) + 64px); align-self: start; } }
.tm-faqgrid__side { display: flex; flex-direction: column; gap: 14px; }
.tm-faqgrid__side > * { margin: 0; }
.tm-faq { max-width: none; }
.tm-card__media--layout .tm-layout { max-height: 100%; }
/* round 3 */
.tm-card__titlerow { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.tm-card__titlerow .tm-badge { position: static; flex: none; margin-top: 2px; }
.tm-vat__b { white-space: nowrap; }
.tm-short { display: none; }
@media (max-width: 480px) { .tm-topbar__mail .tm-long { display: none; } .tm-topbar__mail .tm-short { display: inline; } }
.tm-icon-btn, .tm-burger { border-radius: 10px; }
.tm-basket { box-shadow: inset 0 0 0 1.5px var(--tm-line-2); }
@media (max-width: 1180px) { .tm-hdr-cta { border-radius: 10px; } }
.tm-actions { width: 100%; }
.tm-answer__list li span { flex: none; }
.tm-hero__visual { margin-inline: auto; width: 100%; max-width: 640px; }

/* round 4: GF orbital polish, container children full width */
.tm-sec > .brxe-container > .brxe-text, .tm-sec > .brxe-container > .brxe-shortcode, .tm-sec > .brxe-container > .brxe-div { width: 100%; }
.tm-gf .gfield_label, .tm-calc .gfield_label { color: var(--tm-ink); }
.tm-gf .gform_wrapper .gform_footer .gform_button, .tm-calc .gform_wrapper .gform_footer .gform_button { width: 100%; }
.tm-calc .gsection { margin-top: 12px; }
.tm-calc .gfield--type-number input { max-width: 100%; }
/* round 5 */
h1, h2, h3 { word-spacing: 0.04em; }
h3 { font-stretch: 100%; letter-spacing: 0; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4) .gform_footer .gform_button { width: 100%; }
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4) .tm-out-area input { background: var(--tm-green-tint); border-color: transparent; font-weight: 800; font-size: 20px; color: var(--tm-ink); padding-inline: 14px; }
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4) input[type=file]::file-selector-button { background: var(--tm-ink); color: #fff; border: 0; border-radius: 999px; padding: 10px 18px; margin-right: 12px; font-weight: 700; font-family: inherit; cursor: pointer; }
.tm-calc__form { border-color: var(--tm-line-2); }
.tm-calc__out { border: 1px solid var(--tm-line-2); box-shadow: var(--tm-shadow); border-top: 6px solid var(--tm-yellow); }
.tm-layout__dim { font-weight: 800; }

/* round 6: product page */
.tm-no { color: #8A4B12; font-weight: 650; }
.tm-no svg { color: #B5651D; }
.tm-sticky:not(.is-on) { visibility: hidden; }
.tm-buybox form.cart { flex-wrap: wrap; align-items: stretch; }
.tm-buybox form.cart .quantity { display: flex; align-items: stretch; }
.tm-buybox form.cart .quantity :is(.minus, .plus, button) { width: 44px; min-height: 54px; border: 1.5px solid var(--tm-line-2); background: #fff; border-radius: 10px; font-size: 20px; color: var(--tm-ink); }
.tm-buybox form.cart .single_add_to_cart_button { flex: 1 1 200px; white-space: nowrap; }
@media (max-width: 1023px) {
  .tm-pdp-grid { display: flex; flex-direction: column; gap: 16px; }
  .tm-pdp-info { display: contents; }
  .tm-pdp-info > .brxe-product-title { order: 1; }
  .tm-pdp-info > .brxe-shortcode:has(.tm-buybox) { order: 2; }
  .tm-pdp-media { order: 3; }
  .tm-pdp-info > .brxe-shortcode:has(.tm-pdp-meta) { order: 4; }
  .tm-pdp-info > .brxe-product-short-description { order: 5; }
  .tm-pdp-info h1 { font-size: clamp(25px, 6.6vw, 32px); }
  .tm-pdp-top .tm-crumbs li:last-child { display: none; }
  .tm-pdp-top .tm-crumbs li:nth-last-child(2)::after { content: ''; }
  .tm-pdp-visual { padding: 12px; }
}
/* round 7: product page layout */
.tm-pdp-media { display: flex; flex-direction: column; gap: 16px; }
.tm-pdp-media .tm-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .tm-pdp-media .tm-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tm-pdp-media .tm-tiles strong { font-size: clamp(18px, 1.7vw, 22px); }
.tm-pdp-descgrid { align-items: start; }
.tm-pdp-aside { display: flex; flex-direction: column; gap: 14px; }
.tm-pdp-aside > * { margin: 0; }
.tm-pdp-aside .tm-bestfor { grid-template-columns: minmax(0, 1fr); }
.tm-h3 { font-size: var(--tm-h3); }
@media (max-width: 1023px) { .tm-pdp-media { order: 3; } }
@media (min-width: 1024px) { .tm-pdp-media { position: sticky; top: calc(var(--tm-hdr) + 56px); } }
.tm-buybox form.cart .qty { height: 54px; }
.tm-buybox form.cart .quantity { gap: 6px; }
/* round 8: basket and checkout */
.woocommerce-message:focus, .woocommerce-info:focus, .woocommerce-error:focus, .woocommerce-notices-wrapper:focus { outline: none !important; box-shadow: none !important; }
@media (min-width: 1024px) {
  .tm-woo > .brxe-shortcode > .woocommerce:has(.woocommerce-cart-form) { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .tm-woo .woocommerce:has(.woocommerce-cart-form) > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
  .tm-woo .cart-collaterals { position: sticky; top: calc(var(--tm-hdr) + 64px); }
  .tm-woo .cart-collaterals .cart_totals { width: 100% !important; float: none !important; }
  .tm-woo form.checkout #order_review { position: sticky; top: calc(var(--tm-hdr) + 64px); }
}
.tm-woo .cart-collaterals { margin-top: 24px; }
@media (min-width: 1024px) { .tm-woo .cart-collaterals { margin-top: 0; } }
.tm-woo table.shop_table td.product-price, .tm-woo table.shop_table td.product-subtotal, .tm-woo table.shop_table th.product-price, .tm-woo table.shop_table th.product-subtotal { text-align: right; font-variant-numeric: tabular-nums; }
.tm-woo table.shop_table thead th { font-size: 14px; padding-block: 12px; background: #FBFAF6; }
.tm-woo .product-remove a { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 999px; background: var(--tm-canvas-2); color: var(--tm-ink) !important; text-decoration: none; font-size: 20px; }
.tm-cart-thumb { display: block; width: 90px; background: var(--tm-canvas); border-radius: 8px; line-height: 0; }
.tm-cart-thumb svg { width: 100%; height: auto; }
.tm-woo button[name=update_cart] { background: transparent !important; color: var(--tm-ink) !important; box-shadow: inset 0 0 0 2px var(--tm-ink); }
.tm-woo .quantity { display: inline-flex; gap: 4px; align-items: stretch; }
.tm-woo .quantity :is(.minus, .plus) { width: 40px; border: 1.5px solid var(--tm-line-2); border-radius: 10px; background: #fff; }
.tm-woo .quantity .qty { width: 64px; text-align: center; }
.tm-woo .woocommerce-checkout h3 { margin-top: 28px; margin-bottom: 14px; }
.tm-woo #ship-to-different-address label { display: flex; gap: 10px; align-items: center; font-size: 18px; }
.tm-woo input[type=checkbox] { accent-color: var(--tm-green); width: 20px; height: 20px; }
.tm-woo .woocommerce-checkout-review-order-table td, .tm-woo .woocommerce-checkout-review-order-table th { vertical-align: top; }
.tm-woo .woocommerce-checkout-review-order-table .product-total, .tm-woo .woocommerce-checkout-review-order-table tfoot td { text-align: right; white-space: nowrap; }
.tm-woo #payment .woocommerce-info { border-left-color: var(--tm-yellow) !important; }
.tm-woo .cart_totals .woocommerce-shipping-destination, .tm-woo .cart_totals .shipping-calculator-button { display: none; }
/* round 9: phone menu owns the screen */
@media (max-width: 1180px) {
  .tm-mobile-panel:not([hidden]) { min-height: calc(100dvh - 104px); max-height: calc(100dvh - 104px); box-shadow: none; }
  .tm-mobile-panel__list a { padding: 0; }
  .tm-mobile-panel__list li:first-child a { border-top: 1px solid var(--tm-line); }
  .tm-search input::placeholder { color: #6B6E66; }
}
.tm-vat { padding: 2px; }
.tm-vat__b { min-height: 28px; padding: 3px 11px; }
.tm-scrollhint { display: none; margin: 0 0 8px; font-size: 14px; color: var(--tm-muted); }
@media (max-width: 1100px) { .tm-scrollhint { display: block; } .tm-compare { box-shadow: inset -18px 0 14px -14px rgba(30,31,28,.25); } }
/* round 10: reading column + aside, rhythm */
.tm-grid--prose { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); width: 100%; }
@media (min-width: 1024px) { .tm-grid--prose { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 64px; align-items: start; } .tm-aside { position: sticky; top: calc(var(--tm-hdr) + 64px); } }
.tm-aside { background: var(--tm-canvas); border: 1px solid var(--tm-line); border-radius: var(--tm-r-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.tm-sec--canvas .tm-aside { background: #fff; }
.tm-aside > * { margin: 0; }
.tm-glance { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tm-glance li { padding-left: 30px; position: relative; line-height: 1.45; }
.tm-glance li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 6px; background: var(--tm-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.tm-glance strong { display: block; }
.tm-prose > *:first-child, .tm-prose > .brxe-text:first-child > *:first-child { margin-top: 0; }
.tm-prose ul.tm-checklist { padding-left: 0; }
.tm-prose ul.tm-checklist li { margin-bottom: 0; }
.tm-grid--2:not(.tm-grid--center) { align-items: start; }
.tm-aside .tm-glance + p, .tm-aside .brxe-text > p { margin-top: 8px; }
.tm-aside .tm-btn { width: 100%; }
.tm-foot__brand img { margin-left: -8px; }
.tm-legal { max-width: 95ch; }
.tm-grid--top { align-items: start; }
.tm-field__hint { margin: 0; font-size: 14px; color: var(--tm-muted); }
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4) .tm-out-area input { height: 50px; line-height: 50px; }
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4) .gfield-choice-input:checked { border-color: var(--tm-ink); }
@media (min-width: 640px) and (max-width: 1023px) { .tm-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tm-checklist li::before { border-radius: 50%; }
/* round 11: phone buy row and checkout table */
@media (max-width: 639px) {
  .tm-buybox form.cart .single_add_to_cart_button { flex: 1 1 100%; }
  .tm-woo .woocommerce-checkout-review-order-table .product-total, .tm-woo .woocommerce-checkout-review-order-table tfoot td { white-space: normal; }
  .tm-woo .woocommerce-checkout-review-order-table { font-size: 14.5px; table-layout: fixed; width: 100%; }
  .tm-woo .woocommerce-checkout-review-order-table th, .tm-woo .woocommerce-checkout-review-order-table td { padding: 10px 8px; overflow-wrap: anywhere; }
  .tm-woo .woocommerce-checkout-review-order-table .product-name { width: 58%; }
  .tm-woo #order_review { padding: 14px; }
}
/* round 12 */
.tm-answerbox p { max-width: 72ch; }
.tm-aside .tm-btn { display: flex; width: 100%; }
.tm-woo .woocommerce-form-login, .tm-woo .woocommerce-form-register { max-width: 520px; margin: 0; text-align: left; border: 1px solid var(--tm-line-2) !important; border-radius: var(--tm-r-lg); padding: 24px !important; background: #fff; }
.tm-woo .woocommerce-form-login label, .tm-woo h2 { text-align: left; }
.tm-woo .woocommerce-form-login .button { background: var(--tm-yellow) !important; color: var(--tm-ink) !important; }
/* round 13: the submit selector above carries [type=submit], so match it */
.tm-buybox form.cart button.single_add_to_cart_button[type=submit] { flex: 1 1 180px; white-space: nowrap; }
@media (max-width: 639px) { .tm-buybox form.cart button.single_add_to_cart_button[type=submit] { flex: 1 1 100%; } }
.tm-buybox form.cart .quantity .qty { width: 64px; }
.tm-woo .woocommerce-terms-and-conditions-wrapper .form-row label { display: flex; gap: 10px; align-items: flex-start; }
.tm-woo .woocommerce-terms-and-conditions-wrapper input[type=checkbox] { width: 22px; height: 22px; flex: none; margin-top: 2px; }

/* ---------- fix round 1 (independent review): legibility, consistent grids, hero tool, delivery, FAQ ---------- */
:root { --tm-muted: #4A4D46; --tm-fs-sm: 16px; --tm-fs-xs: 15px; }
/* legibility floor: nothing customer-facing under 14px, body 17px */
.tm-topbar { font-size: 15px; }
.tm-crumbs ol { font-size: 15px; }
.tm-proof li { font-size: 16px; }
.tm-price__tax { font-size: 15px; }
.tm-price__alt, .tm-price__note { font-size: 15px; }
.tm-card__sub { font-size: 16px; }
.tm-card__save { font-size: 15px; color: var(--tm-green-2); font-weight: 650; }
.tm-card__pick { font-size: 16px; }
.tm-facts-mini dt { font-size: 14px; color: var(--tm-muted); }
.tm-facts-mini dd { font-size: 16px; }
.tm-kitlist { font-size: 16px; }
.tm-badge { font-size: 14px; }
.tm-cell-note { font-size: 14px; }
.tm-field__hint { font-size: 15px; }
.tm-unit span { font-size: 16px; color: var(--tm-ink); }
.tm-kpi span { font-size: 15px; }
.tm-bh__col small { font-size: 14px; }
.tm-figure figcaption, .tm-pdp-visual figcaption { font-size: 15px; }
.tm-tiles span { font-size: 15px; }
.tm-pdp-meta { font-size: 15px; }
.tm-scrollhint { font-size: 15px; }
.tm-answer__r { font-size: 16px; color: #DAD6CB; }
.tm-answer__list li { font-size: 16px; }
.tm-answer__price .tm-price__alt, .tm-answer__price .tm-price__note { color: #DAD6CB; }
.tm-out__r, .tm-out__list li, .tm-out__hire p { font-size: 16px; }
.tm-foot-col ul { font-size: 16px; }
.tm-legal { font-size: 15px; color: #D3CFC4; }
.tm-legal--small { font-size: 14px; color: #BDB9AC; }
.tm-legal a { text-decoration: underline !important; }
.tm-foot { padding-block: 64px 56px; }
.tm-foot__brand p + p { margin-top: 8px; }
.tm-matsvg__dim { font-size: 19px; }
.tm-sec--dark .tm-kpi span { color: #DAD6CB; }

/* VAT switch: labelled, larger, remembered (cookie + localStorage, set before first paint) */
.tm-vatwrap { display: inline-flex; align-items: center; gap: 8px; }
.tm-vat__l { font-size: 14px; color: #E9E6DC; white-space: nowrap; }
.tm-vat { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); padding: 3px; }
.tm-vat__b { font-size: 14px; font-weight: 700; min-height: 32px; padding: 4px 13px; color: #fff; }
.tm-vat__b[aria-pressed="false"]:hover { background: rgba(255,255,255,.16); }
@media (max-width: 420px) { .tm-vat__l { display: none; } }

/* five cards: one width per section, the second row centred (no wide orphans) */
@media (min-width: 1024px) {
  .tm-cards--3:has(> :nth-child(5):last-child) > :nth-child(n+4), .tm-cards--kits:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 2; }
  .tm-cards--3:has(> :nth-child(5):last-child) > :nth-child(4), .tm-cards--kits:has(> :nth-child(5):last-child) > :nth-child(4) { grid-column: 2 / span 2; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .tm-cards--kits > :last-child:nth-child(odd), .tm-cards--3 > :last-child:nth-child(odd), .tm-cards--jobs > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); }
}

/* kit drawings: tight frame, labels at reading size, same height on every card */
.tm-card__media--layout { aspect-ratio: auto; padding: 18px 16px 14px; background: var(--tm-canvas); }
.tm-card__media--layout .tm-layout--card { width: 100%; height: auto; max-height: none; }
.tm-card--kit .tm-card__media { border-bottom: 1px solid var(--tm-line); }
.tm-layout--card .tm-layout__dim { font-weight: 800; }

/* job illustrations carry their own background */
.tm-card__media--job { background: transparent; aspect-ratio: 16 / 10; }

/* mat colour and face cue */
.tm-card__look { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--tm-muted); margin: 0; }
.tm-swatch { width: 16px; height: 16px; border-radius: 4px; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 0 0 1px rgba(30,31,28,.25); }

/* home hero with the mat finder beside the headline */
.tm-hero--home .tm-grid--hero { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); width: 100%; align-items: center; }
@media (min-width: 1024px) { .tm-hero--home .tm-grid--hero { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; } .tm-hero--home { padding-block: 56px 72px; } }
.tm-hero--home h1 { font-size: clamp(34px, 4.6vw, 56px); max-width: 15ch; }
.tm-hero__tool { width: 100%; }
.tm-chooser--compact { grid-template-columns: minmax(0, 1fr) !important; }
.tm-chooser__title { font-size: 22px; margin: 0; padding: 22px 24px 0; }
.tm-chooser--compact .tm-chooser__form { padding: 16px 24px 22px; gap: 16px; }
@media (min-width: 560px) {
  .tm-chooser--compact .tm-chooser__form { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px 18px; align-items: start; }
  .tm-chooser--compact .tm-chooser__form > .tm-field:first-child { grid-column: 1 / -1; }
}
.tm-chooser--compact .tm-chooser__result { padding: 22px 24px; }
.tm-chooser--compact .tm-answer { gap: 12px; }
.tm-chooser--compact .tm-answer__h { font-size: 21px; }
.tm-hero__proof .tm-proof { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* live delivery window */
.tm-now { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 14px; background: #fff; border: 1px solid var(--tm-line-2); border-radius: var(--tm-r); font-size: 16px; }
.tm-now svg { width: 22px; height: 22px; color: var(--tm-green); flex: none; }
.tm-now[hidden] { display: none; }
.tm-when[hidden] { display: none; }
.tm-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tm-ticks li { position: relative; padding-left: 32px; line-height: 1.5; }
.tm-ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--tm-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.tm-delivery__art { width: 100%; }
.tm-delivery__art svg, .tm-svg.tm-delivery__art { display: block; width: 100%; max-width: 620px; height: auto; margin-inline: auto; border-radius: var(--tm-r-lg); }

/* FAQ: one centred reading column */
.tm-faqsec > .brxe-container { align-items: center; }
.tm-faqsec > .brxe-container > * { width: 100%; max-width: 860px; margin-inline: auto; }
.tm-faqsec .tm-head { margin-bottom: 4px; }
.tm-faqsec .tm-head .tm-lead { font-size: 18px; }
.tm-faq__i { border-color: var(--tm-line-2); }
.tm-faq__i summary::after { background-color: var(--tm-canvas-2); box-shadow: inset 0 0 0 1px var(--tm-line-2); }

/* fix round 1, pass 2 */
.tm-card .tm-price__note { flex-basis: 100%; }
.tm-hero__copy .tm-hero__proof { margin: 4px 0 6px; padding: 0; border: 0; }
.tm-hero__copy .tm-proof { grid-template-columns: minmax(0, 1fr) !important; gap: 10px; }
.tm-hero__copy .tm-proof li { font-size: 16px; font-weight: 600; }
.tm-delivery .tm-stack > .tm-delivery__art, .tm-delivery__art { width: 100%; align-self: stretch; }
.tm-delivery .tm-grid--2 { align-items: center; }
.tm-now span { font-size: 16px; }
.tm-closing .tm-actions { justify-content: flex-end; }
@media (max-width: 899px) { .tm-closing .tm-actions { justify-content: flex-start; } }
.tm-faq__i[open] { border-color: var(--tm-green); box-shadow: inset 4px 0 0 var(--tm-green); }
.tm-faq__a { max-width: 72ch; }
.tm-foot__mail { color: var(--tm-yellow) !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 3px; }
.tm-amp { font-family: Arial, Helvetica, sans-serif; }
.tm-foot-col ul { gap: 12px; line-height: 1.35; }
.tm-kpi span { display: block; line-height: 1.4; margin-top: 4px; }
@media (min-width: 1024px) { .tm-hero--home { padding-bottom: 48px; } }
.tm-seg span { min-height: 50px; }

/* fix round 1, pass 3 */
.tm-layout__note { font-weight: 700; fill: var(--tm-green); }
.tm-matsvg__dim { font-size: 22px; }
.tm-li-when strong small { display: block; font-size: 14px; font-weight: 500; color: #DAD6CB; }
.tm-out__list .tm-li-when strong small { color: var(--tm-muted); }
.tm-grid--hero-page { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); width: 100%; }
.tm-hero__aside { display: none; }
@media (min-width: 1024px) {
  .tm-grid--hero-page { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .tm-hero__aside { display: flex; background: #fff; border: 1px solid var(--tm-line); border-radius: var(--tm-r-lg); padding: 22px 24px; }
  .tm-hero__aside .tm-proof { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
.tm-hero--page .tm-grid--hero-page h1 { max-width: 20ch; }
.tm-grid--3up { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); width: 100%; }
@media (min-width: 900px) { .tm-grid--3up { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tm-panel { background: #fff; border: 1px solid var(--tm-line); border-radius: var(--tm-r-lg); padding: 24px; }
.tm-panel h2 { font-size: clamp(22px, 2.2vw, 26px); }
.tm-panel .tm-now { display: flex; }
.tm-price--quote { font-size: 16px; font-weight: 700; }
.tm-table--machines th[scope=col]:first-child { width: 40%; }
.tm-matsvg--lg .tm-matsvg__dim { font-size: 17.5px; }
@media (max-width: 767px) { .tm-matsvg--lg .tm-matsvg__dim { font-size: 21px; } }
.tm-sec > .brxe-container > .brxe-text > p, .tm-stack > .brxe-text > p { max-width: 78ch; }
.tm-table th[scope=col]:first-child { min-width: 34%; }

/* guides read as one centred article column, so no half-empty bands at 1440 */
@media (min-width: 1024px) {
  body:has(.tm-byline) .tm-sec:not(.tm-closing) > .brxe-container { max-width: 880px; }
  body:has(.tm-byline) .tm-prose { max-width: none; }
  .tm-grid--2-wide:has(.tm-gf) > .brxe-block:last-child { position: sticky; top: calc(var(--tm-hdr) + 64px); align-self: start; }
}
/* basket: Bricks wraps the notices in .before-cart, which must span both columns */
@media (min-width: 1024px) {
  .tm-woo .woocommerce:has(.woocommerce-cart-form) > .before-cart { grid-column: 1 / -1; }
  .tm-woo .woocommerce:has(.woocommerce-cart-form) > .woocommerce-cart-form { grid-column: 1; min-width: 0; }
  .tm-woo .woocommerce:has(.woocommerce-cart-form) > .cart-collaterals { grid-column: 2; grid-row: 2; }
}
.tm-woo .before-cart:not(:has(*)) { display: none; }
.tm-woo .cart-collaterals { width: 100% !important; float: none !important; }
/* basket and checkout tables: the product name gets the room */
.tm-woo table.shop_table td.product-name { min-width: 210px; }
.tm-woo table.shop_table .quantity .qty { width: 56px; }
.tm-woo .woocommerce-checkout-review-order-table th.product-name, .tm-woo .woocommerce-checkout-review-order-table td.product-name { width: 72%; }
.tm-woo .shop_table .woocommerce-shipping-totals td, .tm-woo .shop_table tr > * { vertical-align: middle; }
.tm-woo #ship-to-different-address label { justify-content: flex-start; }
.tm-woo #ship-to-different-address input[type=checkbox] { order: -1; margin: 0; }
.tm-woo .woocommerce-terms-and-conditions-wrapper label { justify-content: flex-start; }
.tm-woo .woocommerce-terms-and-conditions-wrapper label > span { flex: 0 1 auto; }
.tm-woo .woocommerce-terms-and-conditions-wrapper .required { margin-left: 2px; }

/* fix round 1, pass 4: single kit card on product pages, four spec tiles, account button */
@media (min-width: 768px) {
  .tm-pdp-sec .tm-cards--kits:has(> .tm-card--kit:only-child) { max-width: 920px !important; }
  .tm-pdp-sec .tm-card--kit:only-child { flex-direction: row; }
  .tm-pdp-sec .tm-card--kit:only-child .tm-card__media { flex: 0 0 44%; border-bottom: 0; border-right: 1px solid var(--tm-line); display: flex; align-items: center; }
}
.tm-pdp-media .tm-tiles:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tm-woo .woocommerce-form-login .button { width: 100%; min-height: 52px; }
.tm-calc__out .tm-layout__dim { font-size: 18px; }
.tm-matsvg__dim { font-size: 23px; }
.tm-matsvg--lg .tm-matsvg__dim { font-size: 17.5px; }
@media (max-width: 767px) { .tm-matsvg--lg .tm-matsvg__dim { font-size: 21px; } }

/* full layout drawings: HTML dimensions beside a tight drawing */
.tm-dims { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px; width: 100%; }
.tm-dims__draw { position: relative; grid-column: 1; grid-row: 1; padding-top: 0; }
.tm-dims__draw:has(.tm-dims__note) { padding-top: 26px; }
.tm-dims__draw svg { display: block; width: 100%; height: auto; }
.tm-dims__h { grid-column: 2; grid-row: 1; font-weight: 800; font-size: 15px; color: var(--tm-green); white-space: nowrap; }
.tm-dims__w { grid-column: 1; grid-row: 2; display: block; text-align: center; font-weight: 800; font-size: 15px; color: var(--tm-green); margin-top: 2px; box-sizing: border-box; }
.tm-dims__note { position: absolute; top: 0; transform: translateX(-50%); font-size: 14px; font-weight: 700; color: var(--tm-green); white-space: nowrap; }
.tm-topbar__mail .tm-short { font-size: 14px !important; }
@media (max-width: 420px) { .tm-topbar__mail span { font-size: 14px; } }
.brxe-shortcode:has(> .tm-cards) + .tm-actions { justify-content: center; width: 100% !important; }


/* ---------- fix round 2: a shorter phone home, one button per section, 44px targets ---------- */
/* home hero: the mat finder is the first thing after the headline on a phone; promises and routes follow it */
.tm-hero--home .tm-grid--hero { grid-template-areas: "copy" "tool" "more"; gap: 24px; }
.tm-hero--home .tm-hero__copy { grid-area: copy; }
.tm-hero--home .tm-hero__tool { grid-area: tool; }
.tm-hero--home .tm-hero__more { grid-area: more; gap: 14px; }
@media (min-width: 1024px) {
  .tm-hero--home .tm-grid--hero { grid-template-areas: "copy tool" "more tool"; grid-template-rows: auto 1fr; align-items: start; row-gap: 28px; }
  .tm-hero--home .tm-hero__copy { align-self: end; }
}
.tm-hero__more .tm-hero__proof { margin: 0; padding: 0; border: 0; }
@media (max-width: 639px) {
  .tm-hero--home { padding-block: 28px 40px; }
  .tm-hero--home h1 { font-size: 33px; }
  .tm-hero--home .tm-lead { font-size: 18px; }
  .tm-hero__more .tm-proof { gap: 8px; }
  .tm-hero__more .tm-proof li { font-size: 16px; }
}

/* secondary actions are text links with an arrow, never a second button */
.tm-links { display: flex; flex-wrap: wrap; gap: 0 28px; margin: 0; }
.tm-textlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--tm-ink); text-decoration-line: underline; text-decoration-color: var(--tm-green); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.tm-textlink::after { content: ''; width: 18px; height: 18px; flex: none; background: var(--tm-green); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6.5l5.5 5.5-5.5 5.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6.5l5.5 5.5-5.5 5.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .18s ease; }
.tm-textlink:hover { color: var(--tm-green-2); }
.tm-textlink:hover::after { transform: translateX(3px); }
.tm-sec--dark .tm-textlink, .tm-sec--green .tm-textlink { color: #fff; text-decoration-color: var(--tm-yellow); }
.tm-sec--dark .tm-textlink::after, .tm-sec--green .tm-textlink::after { background: var(--tm-yellow); }
.brxe-shortcode:has(> .tm-cards) + .brxe-text:has(> .tm-links), .brxe-shortcode:has(> .tm-rail-wrap) + .brxe-text:has(> .tm-links) { width: 100%; }
.brxe-shortcode:has(> .tm-cards) + .brxe-text > .tm-links, .brxe-shortcode:has(> .tm-rail-wrap) + .brxe-text > .tm-links { justify-content: center; }
.tm-closing__acts { flex-direction: column; align-items: flex-start; gap: 8px; }
@media (min-width: 900px) { .tm-closing__acts { align-items: flex-end; } .tm-closing__acts .tm-links { justify-content: flex-end; } }
.tm-closing__acts > .brxe-text { width: auto; }

/* card next steps: an arrow link at the foot of the card, the whole card is also a link through its title */
.tm-arrow-link { min-height: 44px; }
.tm-card__cta { align-self: flex-start; text-decoration-line: underline; text-decoration-color: var(--tm-green); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.tm-card__foot { gap: 6px; }

/* mat drawings on cards: cropped tight to the mat and its two dimensions */
.tm-card__media--mat { aspect-ratio: auto; padding: 14px 16px 8px; }
.tm-card__media--mat svg { width: 100%; height: auto; max-height: 190px; }

/* kit contents with a small drawing per line, so a kit card reads at a glance */
.tm-kitlist li { display: flex; align-items: center; gap: 10px; }
.tm-kitlist svg { width: 24px; height: 24px; flex: none; color: var(--tm-ink); }
.tm-kitlist li:nth-child(n+2) svg { color: var(--tm-green); }
.tm-kitlist strong { min-width: 1.6em; }
.tm-card__cov { display: flex; align-items: center; gap: 8px; }
.tm-card__cov svg { width: 22px; height: 22px; flex: none; }

/* swipe rows on phones: snap scrolling with the next card peeking in */
.tm-rail-wrap { width: 100%; }
.tm-rail__hint { display: none; }
@media (max-width: 639px) {
  .tm-rail__hint { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 15px; font-weight: 600; color: var(--tm-muted); }
  .tm-rail__hint svg { width: 18px; height: 18px; color: var(--tm-green); }
  .tm-cards.tm-rail { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--tm-gut)); padding: 2px var(--tm-gut) 14px; scroll-padding-inline: var(--tm-gut); width: auto; scrollbar-width: thin; scrollbar-color: var(--tm-line-2) transparent; }
  .tm-cards.tm-rail > * { scroll-snap-align: start; grid-column: auto !important; width: auto !important; justify-self: stretch !important; }
  .tm-cards.tm-rail:focus-visible { outline-offset: -3px; }
  .tm-rail .tm-card__body { padding: 16px 18px 18px; gap: 10px; }
  .tm-rail .tm-card__media--job { aspect-ratio: 16 / 9; }
  .tm-rail .tm-card--job p { font-size: 16px; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) { .tm-cards.tm-rail { scroll-behavior: auto; } }

/* buy or hire figures stack on phones, one figure per row */
@media (max-width: 639px) {
  .tm-kpis { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tm-kpi { display: flex; align-items: baseline; gap: 14px; padding: 14px 16px; }
  .tm-kpi strong { flex: 0 0 42%; font-size: 22px; }
  .tm-kpi span { margin-top: 0; }
}
.tm-kpis:has(> .tm-kpi:nth-child(3):last-child) { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .tm-kpis:has(> .tm-kpi:nth-child(3):last-child) .tm-kpi { display: flex; align-items: baseline; gap: 16px; } .tm-kpis:has(> .tm-kpi:nth-child(3):last-child) .tm-kpi strong { flex: 0 0 44%; } }

/* every tap target at least 44 x 44 px */
.tm-hdr__logo { display: flex; align-items: center; min-height: 44px; }
@media (max-width: 1180px) { .tm-icon-btn, .tm-burger, .tm-hdr-cta { width: 44px; height: 44px; min-height: 44px; } }
.tm-topbar__mail { min-height: 44px; }
.tm-vat__b { min-height: 44px; }
.tm-vat { padding: 0; border-radius: 999px; }
.tm-topbar__in { min-height: 48px; }
.tm-crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.tm-crumbs li { min-height: 44px; }
.tm-byline a { display: inline-flex; align-items: center; min-height: 44px; }
.tm-answer__more a { display: inline-block; padding-block: 6px; }
.tm-foot-col ul { gap: 0; }
.tm-foot-col a { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.3; }
.tm-foot__brand a, .tm-foot__mail { display: inline-flex; align-items: center; min-height: 44px; }
.tm-foot-col__h { margin-bottom: 4px; }

/* jobs hub: the tree surgery and landscaping note reads as one article column */
.tm-jobnote .tm-prose { max-width: 76ch; }
.tm-jobnote h3 { margin-top: 1.4em; }

/* fix round 2, pass 2 */
@media (max-width: 639px) { .tm-cards.tm-rail { align-items: start; } .tm-rail__hint { font-weight: 500; } }
.tm-card__media--mat { aspect-ratio: 1.9 / 1; padding: 10px 12px; }
.tm-card__media--mat svg { width: 100%; height: 100%; max-height: none; }
.tm-card__look { align-items: flex-start; }
.tm-card__look .tm-swatch { margin-top: 4px; }
.tm-nowrap { white-space: nowrap; }
.tm-answer__list li { flex-wrap: wrap; }
.tm-answer__list li strong { margin-left: auto; }
.tm-srcnote { font-size: 15px; line-height: 1.5; color: #DAD6CB; border-left: 3px solid var(--tm-yellow); padding-left: 12px; }
/* VAT switch: 44px tap height, 32px visible pill, a segmented control */
.tm-vat { background: none; box-shadow: none; padding: 0; gap: 0; }
.tm-vat__b { min-height: 44px; border: 6px solid transparent; background-clip: padding-box; background-color: rgba(255,255,255,.14); padding: 0 13px; line-height: 1; }
.tm-vat__b:first-child { border-right-width: 0; border-radius: 999px 0 0 999px; }
.tm-vat__b:last-child { border-left-width: 0; border-radius: 0 999px 999px 0; }
.tm-vat__b[aria-pressed="true"] { background-color: var(--tm-yellow); }
.tm-topbar__in { min-height: 44px; }
@media (max-width: 639px) { .tm-closing { padding-bottom: 48px; } }
/* fix round 2, pass 3: the mat drawing box is a fixed 1.9:1 on every card, so the cards line up */
.tm-card__media--mat { position: relative; overflow: hidden; display: block; }
.tm-card__media--mat svg { position: absolute; top: 10px; left: 12px; width: calc(100% - 24px); height: calc(100% - 20px); }
/* footer links: 44px targets with the text at the top of each, so a wrapped link does not eat the gap */
.tm-foot-col a { display: inline-block; padding-block: 11px; min-height: 44px; line-height: 1.35; }
.tm-foot-col li { line-height: 1.35; }
/* rails: mat and kit cards stretch to one height so prices line up; job cards keep their own height */
@media (max-width: 639px) { .tm-cards.tm-rail { align-items: stretch; } .tm-cards--jobs.tm-rail { align-items: start; } }

/* fix round 2, pass 4: the last tap targets under 44px */
.tm-crumbs a, .tm-foot-col a { min-width: 44px; }
.tm-answer__more a { padding-block: 10px; }
.tm-compare__t thead th a, .tm-compare__t td > a, .tm-table td > a:first-child { display: inline-flex; align-items: center; min-height: 44px; }
.tm-sources li > a:first-child { display: inline-block; padding-block: 10px; }
:is(#gform_wrapper_3, #gform_wrapper_1, #gform_wrapper_2) .gchoice label { display: inline-flex; align-items: center; min-height: 44px; }
.tm-woo .show-password-input { min-width: 44px; min-height: 44px; }
.tm-woo .woocommerce-form__label-for-checkbox { min-height: 44px; align-items: center; }
.tm-woo .lost_password a { display: inline-flex; align-items: center; min-height: 44px; }

/* fix round 2, pass 5 (home phone review) */
@media (max-width: 639px) {
  /* rails: reserve the same lines on every card so specs and prices land level, with no hole above the price */
  .tm-rail .tm-card__sub { min-height: 3em; }
  .tm-rail .tm-card__look { min-height: 3em; }
  .tm-rail .tm-card--kit .tm-kitlist { min-height: calc(3 * 27px + 8px); }
  .tm-rail .tm-card__titlerow { min-height: 2.5em; }
  /* buy or hire: the three figures straight under the heading, the sum and the button after them */
  .tm-sec--dark .tm-grid--2 > .brxe-block:first-child { display: contents; }
  .tm-sec--dark .tm-grid--2 { gap: 18px; }
  .tm-sec--dark .tm-grid--2 > .brxe-block:first-child > .brxe-heading { order: 1; }
  .tm-sec--dark .tm-grid--2 > .brxe-block:last-child { order: 2; }
  .tm-sec--dark .tm-grid--2 > .brxe-block:first-child > .brxe-text { order: 3; }
  .tm-sec--dark .tm-grid--2 > .brxe-block:first-child > .tm-actions { order: 4; }
  .tm-kpi strong { flex-basis: 47%; font-size: 21px; }
  .tm-seg { grid-template-columns: .8fr 1.1fr 1.25fr; }
  .tm-seg span { padding-inline: 4px; }
}
.tm-now .tm-date { white-space: nowrap; }
.tm-faq__i[open] { box-shadow: none; position: relative; }
.tm-faq__i[open]::before { content: ''; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--tm-green); }
.tm-legal--small { margin-top: 10px; }
@media (max-width: 639px) {
  .tm-rail .tm-card--kit .tm-card__sub { min-height: 4.8em; }
  .tm-rail .tm-card--kit .tm-card__cov { min-height: 54px; align-items: flex-start; }
  .tm-rail .tm-card--kit .tm-card__price { min-height: 64px; }
  .tm-kpi strong { flex: 0 0 auto; min-width: 44%; white-space: nowrap; font-size: 20px; }
}

/* fix round 2, pass 6 (desktop review) */
@media (min-width: 1024px) { .tm-hero--home .tm-grid--hero { grid-template-rows: 1fr 1fr; } .tm-hero--home .tm-hero__copy { align-self: end; } .tm-hero--home .tm-hero__more { align-self: start; } }
.tm-card__media--mat { background: var(--tm-canvas-2); }
.tm-kitlist strong { display: inline-block; min-width: 1.7em; text-align: right; margin-right: 2px; }
.tm-sec > .brxe-container > .brxe-text > p.tm-links, .tm-stack > .brxe-text > p.tm-links { max-width: none; }

/* fix round 2, pass 7 */
.tm-card__media--mat { aspect-ratio: 1.8 / 1; }
@media (min-width: 1024px) {
  .tm-hero--home .tm-grid--hero { grid-template-areas: ". tool" "copy tool" "more tool" ". tool"; grid-template-rows: 1fr auto auto 1fr; column-gap: 64px; row-gap: 28px; }
  .tm-hero--home .tm-hero__copy, .tm-hero--home .tm-hero__more { align-self: auto; }
}
.tm-srcnote { font-size: 16px; color: #E6E2D8; }
.tm-proof li { align-items: flex-start; }
.tm-proof li svg { margin-top: 0; }

.tm-byline { align-items: center; }
.skip-link { color: #fff !important; background: var(--tm-ink) !important; }
/* fix round 2, last pass: no reserved line under the kit coverage, stat figures in one fixed column */
@media (max-width: 639px) {
  .tm-rail .tm-card--kit .tm-card__cov { min-height: 0; }
  .tm-kpi strong { flex: 0 0 48%; min-width: 0; font-size: 19px; }
}

/* ===== Cookie notice (SEOPress, EFS-293): brand styling, OK and Reject equal weight, compact on phones ===== */
.seopress-user-consent.seopress-user-message{position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;width:100%!important;max-width:none!important;margin:0!important;transform:none!important;z-index:99990!important;background:#FFFDF7!important;color:#1E1F1C!important;font-family:'Archivo', system-ui, sans-serif!important;border:0!important;border-top:1px solid rgba(30,31,28,.14)!important;box-shadow:0 -10px 30px rgba(0,0,0,.14)!important;padding:14px max(20px,calc((100% - 1200px)/2))!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:10px 24px!important;text-align:left!important;border-radius:0!important;box-sizing:border-box!important}
.seopress-user-consent.seopress-user-message.seopress-user-consent-hide{display:none!important}
.seopress-user-consent.seopress-user-message>p:first-child{margin:0!important;font-size:16px!important;line-height:1.45!important;color:#1E1F1C!important;flex:1 1 480px!important;text-align:left!important}
.seopress-user-consent.seopress-user-message>p:last-of-type{margin:0!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:10px 16px!important;text-align:left!important}
.seopress-user-consent.seopress-user-message p button#seopress-user-consent-accept,.seopress-user-consent.seopress-user-message p button#seopress-user-consent-close{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;min-width:136px!important;background:#1E1F1C!important;color:#fff!important;border:2px solid #1E1F1C!important;outline:none!important;border-radius:999px!important;font-family:'Archivo', system-ui, sans-serif!important;font-weight:700!important;font-size:16px!important;line-height:1!important;min-height:44px!important;padding:0 22px!important;margin:0!important;cursor:pointer!important;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important;width:auto!important;flex:0 0 auto!important}
.seopress-user-consent.seopress-user-message p button#seopress-user-consent-accept:hover,.seopress-user-consent.seopress-user-message p button#seopress-user-consent-close:hover{background:#000!important;border-color:#000!important;color:#fff!important}
.seopress-user-consent.seopress-user-message p button#seopress-user-consent-accept:focus-visible,.seopress-user-consent.seopress-user-message p button#seopress-user-consent-close:focus-visible{outline:3px solid #F3C318!important;outline-offset:2px!important}
.seopress-user-consent.seopress-user-message p button#seopress-user-consent-customize,.seopress-user-consent.seopress-user-message p button#seopress-user-consent-save{background:none!important;border:0!important;padding:6px 2px!important;margin:0!important;color:#1E1F1C!important;font-family:'Archivo', system-ui, sans-serif!important;font-size:15px!important;font-weight:600!important;text-decoration:underline!important;text-underline-offset:3px!important;cursor:pointer!important;min-height:0!important;width:auto!important;flex:0 0 auto!important;box-shadow:none!important}
.seopress-user-consent.seopress-user-message p button#seopress-user-consent-save:not([style*="none"]){background:#1E1F1C!important;color:#fff!important;text-decoration:none!important;padding:0 22px!important;min-height:44px!important;border-radius:999px!important}
.seopress-user-consent-categories:not(.seopress-user-consent-hide){flex:1 1 100%!important;font-family:'Archivo', system-ui, sans-serif!important;color:#1E1F1C!important}
@media (max-width:640px){
 .seopress-user-consent.seopress-user-message{padding:12px 16px calc(10px + env(safe-area-inset-bottom))!important;gap:10px!important}
 .seopress-user-consent.seopress-user-message>p:first-child{font-size:15px!important;flex:1 1 100%!important}
 .seopress-user-consent.seopress-user-message>p:last-of-type{width:100%!important;gap:8px 10px!important}
 .seopress-user-consent.seopress-user-message p button#seopress-user-consent-accept,.seopress-user-consent.seopress-user-message p button#seopress-user-consent-close{flex:1 1 0!important;min-width:0!important;padding:0 10px!important}
 .seopress-user-consent.seopress-user-message p button#seopress-user-consent-customize{flex:1 1 100%!important;text-align:center!important;padding:0!important}
}

/* Add all to basket is a POST form (EFS-294, no ?tm_add= links); the form must not change the button layout. */
.tm-addform { display: contents; }
