/* Tehnomaan teema, suund A „Puhas ja hele“. */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(../fonts/figtree-latin-wght-normal.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: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(../fonts/figtree-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --tm-bg: #F5F7FA;
  --tm-surface: #FFFFFF;
  --tm-navy: #12324F;
  --tm-navy-2: #0E2840;
  --tm-sky: #D5E0EB;
  --tm-fill: #EAF0F6;
  --tm-fill-2: #F0F4F8;
  --tm-line: #E2E8EF;
  --tm-line-2: #C9D4DF;
  --tm-text: #12324F;
  --tm-text-2: #3C4E61;
  --tm-muted: #5B6B7C;
  --tm-link: #0B5CAD;
  --tm-accent: #E8590C;
  --tm-accent-2: #C94A07;
  --tm-accent-soft: #F6C9AE;
  --tm-accent-bg: #FFF4EC;
  --tm-ok: #1E7A46;
  --tm-warn: #9A6200;
  --tm-bad: #B42318;
  --tm-radius: 16px;
  --tm-radius-sm: 12px;
  --tm-wrap: 1320px;
  --tm-gutter: 24px;
  --tm-font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--tm-bg);
  color: var(--tm-text);
  font: 400 16px/1.5 var(--tm-font);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--tm-text); text-decoration: none; }
a:hover { color: var(--tm-link); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--tm-link); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.tm-skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--tm-navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.tm-skip:focus { top: 12px; color: #fff; }

.tm-wrap { max-width: var(--tm-wrap); margin: 0 auto; padding-left: var(--tm-gutter); padding-right: var(--tm-gutter); }
.tm-main { padding-top: 24px; padding-bottom: 64px; }

.tm-h1 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -0.5px; }
.tm-h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.4px; }
.tm-h2--sm { font-size: 22px; }
.tm-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--tm-muted); }
.tm-eyebrow--blue { color: var(--tm-link); }
.tm-more { font-weight: 700; font-size: 15px; }

/* ---------- Nupud ---------- */
.tm-btn, .woocommerce .button, .tm-wc .button, .tm-wc button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--tm-radius-sm);
  border: 2px solid transparent; font-weight: 800; font-size: 16px; line-height: 1.1;
  text-align: center; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s;
}
.tm-btn--lg { min-height: 54px; padding: 0 26px; }
.tm-btn--accent, .single_add_to_cart_button { background: var(--tm-accent); color: #fff; }
.tm-btn--accent:hover, .single_add_to_cart_button:hover { background: var(--tm-accent-2); color: #fff; }
.tm-btn--primary { background: var(--tm-navy); color: #fff; }
.tm-btn--primary:hover { background: var(--tm-navy-2); color: #fff; }
.tm-btn--outline { background: var(--tm-surface); color: var(--tm-navy); border-color: var(--tm-navy); }
.tm-btn--outline:hover { background: var(--tm-fill); color: var(--tm-navy); }
.tm-btn--ghost { background: transparent; color: #fff; border-color: var(--tm-sky); }
.tm-btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.tm-linkbtn { background: none; border: 0; padding: 6px 0; color: var(--tm-link); font-weight: 700; font-size: 14px; }
.tm-iconbtn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--tm-navy); border-radius: 10px; }
.tm-iconbtn:hover { background: var(--tm-fill); }

/* ---------- Päis ---------- */
.tm-topbar { background: var(--tm-sky); font-size: 14px; font-weight: 500; }
.tm-topbar__list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; padding-top: 8px; padding-bottom: 8px; }
.tm-topbar__list li { display: flex; align-items: center; gap: 8px; }

.tm-header { background: var(--tm-surface); border-bottom: 1px solid var(--tm-line); position: relative; z-index: 40; }
.tm-header__row { display: flex; align-items: center; gap: 16px 32px; padding-top: 16px; padding-bottom: 16px; }
.tm-header__menu { display: none; }
.tm-header__search { flex: 1 1 auto; min-width: 0; }
.tm-header__actions { display: flex; gap: 4px; }

.tm-logo { display: inline-flex; align-items: center; gap: 2px; font-size: 30px; font-weight: 800; letter-spacing: -0.6px; color: var(--tm-navy); white-space: nowrap; }
.tm-logo:hover { color: var(--tm-navy); }
.tm-logo__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tm-accent); margin-top: 10px; }
.tm-logo--sm { font-size: 24px; }
.tm-logo--footer { color: #fff; font-size: 26px; margin-bottom: 8px; }

.tm-search { display: flex; width: 100%; }
.tm-search__input {
  flex: 1; min-width: 0; height: 52px; padding: 0 18px;
  border: 2px solid var(--tm-navy); border-right: 0; border-radius: var(--tm-radius-sm) 0 0 var(--tm-radius-sm);
  background: #fff; font-size: 16px; color: var(--tm-navy);
}
.tm-search__input::placeholder { color: var(--tm-muted); }
.tm-search__input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--tm-navy); }
.tm-search__input::-webkit-search-cancel-button { cursor: pointer; }
.tm-search__btn { width: 60px; height: 52px; border: 0; border-radius: 0 var(--tm-radius-sm) var(--tm-radius-sm) 0; background: var(--tm-navy); color: #fff; display: flex; align-items: center; justify-content: center; }
.tm-search__btn:hover { background: var(--tm-navy-2); }

.tm-action { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 10px; font-size: 13px; font-weight: 600; border-radius: 10px; }
.tm-action:hover { background: var(--tm-fill); color: var(--tm-navy); }
.tm-action__ico { position: relative; display: inline-flex; }
.tm-cart-count {
  position: absolute; top: -6px; right: -10px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; background: var(--tm-accent); color: #fff; font-size: 11px; font-weight: 800; line-height: 19px; text-align: center;
}
.tm-cart-count[data-count="0"] { display: none; }

/* Kategooriariba ja rippmenüü */
.tm-header__nav { border-top: 1px solid var(--tm-line); }
.tm-catnav__list { list-style: none; display: flex; flex-wrap: wrap; gap: 0 2px; }
.tm-catnav__link { display: block; padding: 14px 12px; font-size: 15px; font-weight: 600; border-bottom: 3px solid transparent; }
.tm-catnav__item:hover > .tm-catnav__link, .tm-catnav__item:focus-within > .tm-catnav__link { color: var(--tm-link); border-bottom-color: var(--tm-accent); }
.tm-catnav__panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--tm-surface); border-top: 1px solid var(--tm-line); border-bottom: 1px solid var(--tm-line);
  box-shadow: 0 18px 30px -18px rgba(18, 50, 79, .35);
  visibility: hidden; opacity: 0; transform: translateY(-4px);
  transition: opacity .12s ease .08s, transform .12s ease .08s, visibility 0s linear .2s;
}
.tm-catnav__item:hover > .tm-catnav__panel, .tm-catnav__item:focus-within > .tm-catnav__panel {
  visibility: visible; opacity: 1; transform: none; transition-delay: .12s, .12s, 0s;
}
.tm-catnav__cols {
  max-width: var(--tm-wrap); margin: 0 auto; padding: 26px var(--tm-gutter) 30px;
  /* Veerud täituvad ülevalt alla, nii et lühikeste rühmade alla ei jää tühje auke. */
  columns: 4 220px; column-gap: 40px;
}
.tm-catnav__col { break-inside: avoid; padding-bottom: 20px; }
.tm-catnav__l2 { display: block; font-weight: 800; font-size: 16px; line-height: 1.3; }
.tm-catnav__col ul { margin-top: 8px; }
.tm-catnav__col ul { list-style: none; display: grid; gap: 4px; }
.tm-catnav__col li a { font-size: 14px; color: var(--tm-text-2); }
.tm-catnav__col li a:hover { color: var(--tm-link); }

/* Mobiili külgmenüü */
.tm-drawer[hidden] { display: none; }
.tm-drawer { position: fixed; inset: 0; z-index: 100; }
.tm-drawer__backdrop { position: absolute; inset: 0; background: rgba(14, 40, 64, .45); }
.tm-drawer__panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 380px);
  background: var(--tm-surface); overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column;
  animation: tm-slide .18s ease-out;
}
@keyframes tm-slide { from { transform: translateX(-100%); } to { transform: none; } }
.tm-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--tm-line); }
.tm-drawer__list { list-style: none; padding: 8px 0; }
.tm-drawer__list summary {
  list-style: none; display: flex; align-items: center; gap: 12px; padding: 13px 20px;
  font-weight: 700; font-size: 16px; cursor: pointer;
}
.tm-drawer__list summary::-webkit-details-marker { display: none; }
.tm-drawer__ico { width: 40px; height: 40px; border-radius: 10px; background: var(--tm-fill); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tm-drawer__chev { flex: none; margin-left: auto; color: var(--tm-muted); transition: transform .15s; }
details[open] > summary .tm-drawer__chev { transform: rotate(180deg); }
.tm-drawer__list details ul { list-style: none; padding: 0 20px 10px 72px; display: grid; }
.tm-drawer__list details li a { display: block; padding: 9px 0; font-size: 15px; color: var(--tm-text-2); border-bottom: 1px solid var(--tm-fill-2); }
.tm-drawer__all { font-weight: 700; color: var(--tm-link) !important; }
.tm-drawer__foot { margin-top: auto; padding: 16px 20px 28px; border-top: 1px solid var(--tm-line); display: grid; gap: 10px; font-weight: 600; }
.tm-drawer__foot a { display: flex; align-items: center; gap: 8px; }
body.tm-locked { overflow: hidden; }

/* ---------- Leivapuru ---------- */
.tm-bc { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 14px; color: var(--tm-muted); margin-bottom: 16px; }
.tm-bc a { color: var(--tm-muted); }
.tm-bc a:hover { color: var(--tm-link); }

/* ---------- Avaleht ---------- */
.tm-home { display: grid; gap: 48px; padding-top: 32px; }
.tm-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; }
.tm-hero__card {
  background: var(--tm-navy); color: #fff; border-radius: 20px; padding: 48px 44px;
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
}
.tm-hero__card h1 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -1px; }
.tm-hero__card p { margin: 0; font-size: 18px; color: var(--tm-sky); }
.tm-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.tm-tiles { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tm-tile {
  height: 100%; min-height: 128px; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: var(--tm-radius);
  padding: 18px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; font-size: 15px; font-weight: 600; line-height: 1.25; transition: border-color .15s, box-shadow .15s;
}
.tm-tile:hover { border-color: var(--tm-line-2); box-shadow: 0 6px 16px -10px rgba(18,50,79,.35); color: var(--tm-navy); }
.tm-tile__ico { width: 56px; height: 56px; border-radius: 14px; background: var(--tm-fill); display: flex; align-items: center; justify-content: center; color: var(--tm-navy); }
.tm-tile__name { display: block; min-height: 2.5em; } /* 2 rida: ikoonid jäävad kõrvuti samale kõrgusele */

.tm-section { display: grid; gap: 20px; }
.tm-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }

.tm-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tm-trust__item { background: var(--tm-surface); border-radius: var(--tm-radius); padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.tm-trust__item svg { flex: none; color: var(--tm-navy); }
.tm-trust__item strong { display: block; font-size: 16px; }
.tm-trust__item span { display: block; font-size: 14px; color: var(--tm-muted); }

.tm-feature { background: var(--tm-surface); border-radius: 20px; padding: 36px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px; align-items: center; }
.tm-feature__text { display: grid; gap: 14px; justify-items: start; }
.tm-feature__text h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.5px; }
.tm-feature__text p:not(.tm-eyebrow) { margin: 0; color: var(--tm-text-2); }
.tm-feature__text .tm-eyebrow { margin: 0; }
.tm-feature__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tm-feature__list a { background: var(--tm-bg); border-radius: 14px; padding: 14px; display: flex; gap: 14px; align-items: center; height: 100%; }
.tm-feature__img { width: 72px; height: 72px; flex: none; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tm-feature__img img { width: 100%; height: 100%; object-fit: contain; }
.tm-feature__meta { display: grid; gap: 4px; min-width: 0; }
.tm-feature__name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.tm-feature__price { font-size: 18px; font-weight: 800; }

.tm-brands { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.tm-brands a { text-transform: uppercase; display: block; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: var(--tm-radius-sm); padding: 12px 20px; font-weight: 700; letter-spacing: .3px; }
.tm-brands a:hover { border-color: var(--tm-line-2); }

/* ---------- Tootekaardid ---------- */
.tm-home .tm-grid, .tm-related .tm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
ul.products, .tm-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px;
}
ul.products::before, ul.products::after { content: none !important; }
.tm-listing ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tm-dealslot { order: var(--od); }
@media (max-width: 1239px) { .tm-listing ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tm-dealslot { order: var(--ot); } }
@media (max-width: 900px) { .tm-dealslot { order: var(--om); } }
.tm-grid__item, ul.products li.product { margin: 0 !important; width: auto !important; float: none !important; }
.tm-card {
  height: 100%; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: var(--tm-radius);
  padding: 14px; display: flex; flex-direction: column; gap: 8px; transition: box-shadow .15s, border-color .15s;
}
.tm-card:hover { border-color: var(--tm-line-2); box-shadow: 0 10px 24px -16px rgba(18,50,79,.45); }
.tm-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; border-radius: 12px; overflow: hidden; }
.tm-card__media img { width: 100%; height: 100%; object-fit: contain; }
.tm-card__media .tm-energy { position: absolute; top: 8px; left: 8px; }
.tm-card__media .tm-badge { position: absolute; top: 8px; right: 8px; }
.tm-card__brand { font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--tm-muted); margin-top: 4px; }
.tm-card__title { font-size: 15px; font-weight: 600; line-height: 1.32; }
.tm-card__title a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tm-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tm-chips li { font-size: 12px; background: var(--tm-fill); border-radius: 6px; padding: 3px 8px; }
.tm-card__price { margin-top: auto; padding-top: 4px; }
.tm-card__price .price, .tm-card__price { font-size: 23px; font-weight: 800; letter-spacing: -.3px; }
.tm-card .tm-stock { margin: 0; }
.tm-card__cta .button, .tm-card__cta .tm-btn { width: 100%; min-height: 46px; font-size: 15px; }
.tm-card__cta .added_to_cart { display: block; text-align: center; font-size: 14px; font-weight: 700; color: var(--tm-link); padding-top: 8px; }
.tm-card__cta .button.loading { opacity: .7; }
.tm-card__cta .button.added::after { content: " ✓"; }
.tm-card__cta .tm-btn--soft { background: var(--tm-fill); color: var(--tm-navy); }
.tm-card__cta .tm-btn--soft:hover { background: var(--tm-sky); color: var(--tm-navy); }

.price del { color: var(--tm-muted); font-size: .7em; font-weight: 600; margin-right: 6px; }
ins { text-decoration: none; }
.price ins, .tm-feature__price ins { color: var(--tm-accent-2); }
.woocommerce-price-suffix { font-size: 12px; font-weight: 500; color: var(--tm-muted); }

.tm-stock { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; }
.tm-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.tm-stock--in { color: var(--tm-ok); }
.tm-stock--back { color: var(--tm-warn); }
.tm-stock--out { color: var(--tm-bad); }

.tm-energy { display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; color: #fff; padding: 4px 8px; border-radius: 6px; background: var(--tm-navy); }
.tm-energy--a { background: #00843D; } .tm-energy--b { background: #4BA046; } .tm-energy--c { background: #8DBA29; color: #10230A; }
.tm-energy--d { background: #F5D300; color: #2A2400; } .tm-energy--e { background: #F2A50F; color: #2A1A00; }
.tm-energy--f { background: #E8590C; } .tm-energy--g { background: #C8102E; }
.tm-badge { display: inline-flex; font-size: 12px; font-weight: 800; padding: 4px 8px; border-radius: 6px; }
.tm-badge--sale { background: var(--tm-accent); color: #fff; }

/* ---------- Kategooria leht ---------- */
.tm-listing-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 20px; }
.tm-about { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--tm-line); max-width: 860px; }
.tm-about__h { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.tm-about__text { font-size: 15px; line-height: 1.65; color: var(--tm-muted); }
.tm-about__text p:last-child { margin-bottom: 0; }
.tm-subcats ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tm-subcats a { display: block; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; }
.tm-subcats a:hover { border-color: var(--tm-line-2); }
.tm-subcats a[aria-current] { background: var(--tm-navy); border-color: var(--tm-navy); color: #fff; }

.tm-listing { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.tm-filters { background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: var(--tm-radius); padding: 18px 20px; display: grid; gap: 4px; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
.tm-filters__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 8px; }
.tm-filters__head h2 { font-size: 18px; font-weight: 800; }
.tm-filters__head a { font-size: 14px; font-weight: 700; color: var(--tm-link); margin-left: auto; }
.tm-filters__close { display: none; }
.tm-filter { border: 0; border-top: 1px solid var(--tm-line); margin: 0; padding: 14px 0 12px; min-width: 0; }
.tm-filter legend { float: left; width: 100%; padding: 0; margin-bottom: 8px; font-weight: 800; font-size: 15px; }
.tm-filter > :not(legend) { clear: both; }
.tm-check { display: flex; align-items: center; gap: 10px; font-size: 15px; padding: 5px 0; cursor: pointer; }
.tm-check input { width: 18px; height: 18px; accent-color: var(--tm-navy); margin: 0; flex: none; }
.tm-count { margin-left: auto; font-size: 13px; color: var(--tm-muted); }
.tm-filter__list { list-style: none; }
.tm-filter--brands .tm-check { text-transform: uppercase; font-size: 14px; letter-spacing: .3px; }
.tm-filter--brands .tm-count { text-transform: none; }
.tm-filter__list.is-long:not(.is-open) li:nth-child(n+9) { display: none; }
.tm-price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tm-price-range label { display: grid; gap: 4px; font-size: 13px; color: var(--tm-muted); }
.tm-price-range input { width: 100%; height: 42px; border: 1px solid var(--tm-line-2); border-radius: 10px; padding: 0 10px; font-size: 15px; color: var(--tm-text); background: #fff; }
.tm-filters__apply { margin-top: 8px; width: 100%; }
.js .tm-filters[data-autosubmit] .tm-filters__apply { display: none; }

.tm-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 16px; }
.tm-toolbar__filters { display: none; }
.tm-toolbar__count { margin: 0; font-weight: 700; color: var(--tm-text-2); }
.tm-active { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tm-active a { display: inline-flex; align-items: center; gap: 6px; background: var(--tm-fill); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; }
.tm-active a:hover { background: var(--tm-sky); color: var(--tm-navy); }
.tm-toolbar__sort { margin-left: auto; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select, .tm-wc select {
  height: 44px; border: 1px solid var(--tm-line-2); border-radius: 10px; padding: 0 38px 0 14px; background: #fff;
  font-weight: 600; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2312324F' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.tm-empty { text-align: center; padding: 48px 24px; }
.tm-empty h2 { margin-bottom: 8px; }
.tm-listing--empty { grid-template-columns: minmax(0, 1fr); }
.tm-empty { display: grid; gap: 14px; justify-items: center; }
.tm-empty .tm-search { max-width: 560px; }
.tm-subcats-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tm-subcats-list a { display: block; background: var(--tm-fill); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px; }

.woocommerce-pagination { margin-top: 32px; }
.woocommerce-pagination ul.page-numbers { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px;
  background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: 10px; font-weight: 700;
}
.woocommerce-pagination .page-numbers span.current { background: var(--tm-navy); border-color: var(--tm-navy); color: #fff; }
.woocommerce-pagination .page-numbers span.dots { border: 0; background: none; }

/* ---------- Tooteleht ---------- */
.single-product div.product { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: 20px 40px; align-items: start; }
.single-product div.product > .tm-details, .single-product div.product > .tm-related { grid-column: 1 / -1; }
.woocommerce-product-gallery { position: relative; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: 20px; padding: 16px; margin: 0 !important; width: auto !important; float: none !important; opacity: 1 !important; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.woocommerce-product-gallery .flex-control-thumbs { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.woocommerce-product-gallery .flex-control-thumbs img { aspect-ratio: 1; object-fit: contain; border: 1px solid var(--tm-line); border-radius: 10px; padding: 4px; cursor: pointer; opacity: .7; background: #fff; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active, .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--tm-navy); }
.woocommerce-product-gallery__trigger { position: absolute; top: 24px; right: 24px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--tm-line); font-size: 0; display: flex; align-items: center; justify-content: center; }
.woocommerce-product-gallery__trigger::before { content: ""; width: 16px; height: 16px; border: 2px solid var(--tm-navy); border-radius: 50%; }
.woocommerce-product-gallery__trigger span { display: none; }
.woocommerce-product-gallery .flex-viewport { border-radius: 12px; }
.woocommerce-product-gallery__image--placeholder img { opacity: .5; }

.single-product .summary { margin: 0 !important; width: auto !important; float: none !important; display: grid; gap: 14px; align-content: start; }
.tm-product-title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.5px; }
.tm-codes { margin: 0; font-size: 14px; color: var(--tm-muted); }
.woocommerce-product-details__short-description { font-size: 16px; }
.woocommerce-product-details__short-description ul { padding-left: 20px; line-height: 1.75; }
.woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }

.tm-buybox { background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: 18px; padding: 24px; display: grid; gap: 16px; }
.tm-buybox__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.tm-buybox__price .price, .tm-buybox__price > .woocommerce-Price-amount, .tm-buybox__price > del, .tm-buybox__price > ins { font-size: 40px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.tm-buybox__price del { font-size: 22px !important; letter-spacing: 0 !important; }
.tm-vat { font-size: 14px; color: var(--tm-muted); }
.tm-buybox > .tm-energy { justify-self: start; font-size: 13px; padding: 5px 10px; }
.tm-buybox .tm-stock { font-size: 15px; margin: 0; }
.tm-buybox .tm-stock .tm-dot { width: 10px; height: 10px; }
.tm-buybox form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.tm-buybox form.cart .button, .tm-buybox form.cart .tm-btn { min-height: 54px; font-size: 17px; flex: 1 1 160px; }
.tm-buybox .quantity { display: flex; align-items: center; border: 1px solid var(--tm-line-2); border-radius: var(--tm-radius-sm); height: 54px; background: #fff; }
.tm-buybox .quantity .qty { width: 54px; height: 52px; border: 0; text-align: center; font-weight: 800; font-size: 17px; -moz-appearance: textfield; background: transparent; }
.tm-buybox .quantity .qty::-webkit-inner-spin-button, .tm-buybox .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.tm-qtybtn { width: 40px; height: 52px; border: 0; background: transparent; font-size: 20px; color: var(--tm-navy); }
.tm-trustlist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tm-trustlist li { display: flex; gap: 12px; align-items: center; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: 14px; padding: 12px 14px; }
.tm-trustlist__ico { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--tm-fill); color: var(--tm-navy); display: flex; align-items: center; justify-content: center; }
.tm-trustlist strong { display: block; font-size: 15px; line-height: 1.25; color: var(--tm-text); }
.tm-trustlist small { display: block; font-size: 13px; line-height: 1.35; color: var(--tm-muted); }

.tm-details { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: start; margin-top: 12px; }
.tm-details > :only-child { grid-column: 1 / -1; }
.tm-panel { background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: 18px; padding: 28px; }
.tm-panel > h2 { font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.tm-specs__list { margin: 0; display: grid; grid-template-columns: 1fr; column-gap: 32px; }
.tm-specs__row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid #EDF1F5; font-size: 15px; }
.tm-specs__row dt { color: var(--tm-muted); }
.tm-specs__row dd { margin: 0; font-weight: 600; text-align: right; }
.tm-prose { font-size: 16px; line-height: 1.65; color: var(--tm-text-2); overflow-wrap: anywhere; }
.tm-prose img { border-radius: 12px; }
.tm-prose h2, .tm-prose h3 { color: var(--tm-text); margin: 1.2em 0 .5em; }
.tm-prose ul, .tm-prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.tm-prose a { color: var(--tm-link); text-decoration: underline; }
.tm-related { margin-top: 32px; }


/* ---------- Võrdlus ---------- */
.tm-cmp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: none; color: var(--tm-muted); font-weight: 700; font-size: 13px; padding: 6px 4px; border-radius: 8px; }
.tm-cmp-btn:hover { color: var(--tm-link); }
.tm-cmp-btn__on { display: none; }
.tm-cmp-btn[aria-pressed="true"] { color: var(--tm-link); }
.tm-cmp-btn[aria-pressed="true"] .tm-cmp-btn__on { display: inline; }
.tm-cmp-btn[aria-pressed="true"] .tm-cmp-btn__off { display: none; }
.tm-cmp-btn[aria-pressed="true"] svg { background: var(--tm-link); color: #fff; border-radius: 4px; }
.tm-cmp-btn--card { align-self: center; margin: -2px 0 -4px; }
.tm-cmp-btn--single { justify-self: start; font-size: 14px; padding: 4px 0; }

.tm-cmpbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--tm-surface); border-top: 1px solid var(--tm-line); box-shadow: 0 -10px 30px -18px rgba(18,50,79,.45); }
.tm-cmpbar[hidden] { display: none; }
.tm-cmpbar__row { display: flex; align-items: center; gap: 12px 20px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.tm-cmpbar__items { list-style: none; display: flex; gap: 10px; flex: 1 1 auto; min-width: 0; overflow-x: auto; }
.tm-cmpbar__items li { display: flex; align-items: center; gap: 8px; background: var(--tm-bg); border-radius: 12px; padding: 6px 6px 6px 6px; max-width: 240px; flex: none; }
.tm-cmpbar__img { width: 40px; height: 40px; border-radius: 8px; background: #fff; overflow: hidden; flex: none; }
.tm-cmpbar__img img { width: 100%; height: 100%; object-fit: contain; }
.tm-cmpbar__name { font-size: 13px; font-weight: 600; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tm-cmpbar__rm { border: 0; background: none; color: var(--tm-muted); font-size: 20px; width: 28px; height: 28px; border-radius: 50%; flex: none; }
.tm-cmpbar__rm:hover { background: var(--tm-fill); color: var(--tm-bad); }
.tm-cmpbar__hint { margin: 0; font-size: 13px; color: var(--tm-muted); }
.tm-cmpbar__hint:empty { display: none; }
.tm-cmpbar__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.tm-cmpbar .is-disabled { opacity: .5; }
body.tm-has-cmpbar .tm-footer__base { padding-bottom: 96px; }

.tm-compare__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.tm-compare__diff { font-weight: 600; }
.tm-compare__scroll { overflow-x: auto; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: var(--tm-radius); }
.tm-compare__table { width: 100%; min-width: calc(180px + var(--tm-cols) * 220px); border-collapse: collapse; table-layout: fixed; }
.tm-compare__table th, .tm-compare__table td { padding: 12px 16px; border-bottom: 1px solid #EDF1F5; text-align: left; vertical-align: top; font-size: 15px; }
.tm-compare__table td { font-weight: 600; }
.tm-compare__label { width: 180px; position: sticky; left: 0; z-index: 1; background: var(--tm-surface); color: var(--tm-muted); font-weight: 500 !important; }
.tm-compare__table thead th { vertical-align: bottom; border-bottom: 2px solid var(--tm-line); }
.tm-compare__prod { position: relative; }
.tm-compare__prod > * { display: block; }
.tm-compare__prod .tm-btn { display: flex; margin-top: 10px; min-height: 44px; font-size: 15px; }
.tm-compare__prod .tm-stock { display: flex; margin-top: 6px; }
.tm-compare__img { aspect-ratio: 1; max-width: 180px; margin-bottom: 10px; }
.tm-compare__img img { width: 100%; height: 100%; object-fit: contain; }
.tm-compare__name { font-weight: 700; font-size: 15px; line-height: 1.3; margin: 2px 0 6px; }
.tm-compare__price { font-size: 22px; font-weight: 800; }
.tm-compare__remove { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--tm-fill-2); color: var(--tm-muted); display: flex !important; align-items: center; justify-content: center; }
.tm-compare__remove:hover { background: var(--tm-bad); color: #fff; }
.tm-compare__table tr.is-diff td { background: #FFF8F2; }
.tm-compare__table tr.is-diff .tm-compare__label { color: var(--tm-text); font-weight: 700 !important; }
.tm-compare__table.only-diff tr.is-same { display: none; }

/* ---------- Teated ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.single-product .woocommerce-notices-wrapper { grid-column: 1 / -1; }

/* ---------- Ostukorv, kassa, konto (WooCommerce'i klassikalised lehed) ---------- */
.tm-page { display: grid; gap: 20px; }
.tm-page--wc { gap: 20px; }
.tm-wc { min-width: 0; }
.tm-wc .woocommerce { display: grid; gap: 20px; }
/* WooCommerce'i clearfix-pseudoelemendid muutuksid gridis tühjadeks lahtriteks. */
.tm-wc .woocommerce::before, .tm-wc .woocommerce::after, .tm-wc .col2-set::before, .tm-wc .col2-set::after, .tm-wc form.checkout::before, .tm-wc form.checkout::after, .tm-wc .form-row::before, .tm-wc .form-row::after, .tm-wc .woocommerce-MyAccount-content::before { content: none !important; display: none !important; }
.tm-wc h2, .tm-wc h3 { font-size: 20px; font-weight: 800; margin: 0 0 14px; }
.tm-wc a:not(.button):not(.tm-btn) { color: var(--tm-link); }

/* Nupud */
.tm-wc .button, .tm-wc button.button, .tm-wc a.button, .tm-wc input.button {
  display: inline-flex !important; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px !important;
  border-radius: var(--tm-radius-sm) !important; border: 2px solid var(--tm-navy) !important;
  background: var(--tm-navy) !important; color: #fff !important; font: 800 15px/1.1 var(--tm-font) !important; text-decoration: none !important;
}
.tm-wc .button:hover { background: var(--tm-navy-2) !important; }
.tm-wc button[name="update_cart"], .tm-wc button[name="apply_coupon"], .tm-wc .woocommerce-form-coupon .button {
  background: #fff !important; color: var(--tm-navy) !important;
}
.tm-wc button[name="update_cart"]:disabled { opacity: .45 !important; cursor: default; }
.tm-wc .checkout-button, .tm-wc #place_order, .tm-wc .button.alt, .tm-wc .wc-proceed-to-checkout .button {
  width: 100%; min-height: 56px !important; background: var(--tm-accent) !important; border-color: var(--tm-accent) !important; font-size: 17px !important;
}
.tm-wc .checkout-button:hover, .tm-wc #place_order:hover { background: var(--tm-accent-2) !important; border-color: var(--tm-accent-2) !important; }

/* Väljad */
.tm-wc input.input-text, .tm-wc textarea, .tm-wc select, .tm-wc .select2-container .select2-selection--single, .tm-wc input[type="email"], .tm-wc input[type="password"], .tm-wc input[type="text"], .tm-wc input[type="tel"], .tm-wc input[type="number"] {
  min-height: 48px; width: 100%; border: 1px solid var(--tm-line-2) !important; border-radius: 10px !important; padding: 10px 14px !important;
  background: #fff !important; font: 400 16px/1.3 var(--tm-font) !important; color: var(--tm-text) !important; box-shadow: none !important;
}
.tm-wc textarea { min-height: 96px; }
.tm-wc input:focus, .tm-wc textarea:focus, .tm-wc select:focus { outline: 2px solid var(--tm-link); outline-offset: 0; border-color: var(--tm-link) !important; }
.tm-wc .select2-container .select2-selection--single { display: flex !important; align-items: center; padding: 0 14px !important; }
.tm-wc .select2-container .select2-selection__rendered { padding: 0 !important; line-height: 1.3 !important; color: var(--tm-text) !important; }
.tm-wc .select2-container .select2-selection__arrow { height: 46px !important; right: 8px !important; }
.tm-wc .form-row { padding: 0 !important; margin: 0 0 14px !important; }
.tm-wc .form-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; line-height: 1.3; }
.tm-wc .form-row .required { color: var(--tm-bad); text-decoration: none; }
.tm-wc .woocommerce-input-wrapper { display: block; }
.tm-wc input[type="checkbox"], .tm-wc input[type="radio"] { width: 18px; height: 18px; accent-color: var(--tm-navy); vertical-align: -3px; margin: 0 8px 0 0; }
.tm-wc .password-input { display: block; position: relative; }
.tm-wc .show-password-input { top: 50% !important; transform: translateY(-50%); right: 12px !important; }

/* Tabelid */
.tm-wc table.shop_table { width: 100%; margin: 0 !important; background: var(--tm-surface); border: 1px solid var(--tm-line) !important; border-radius: var(--tm-radius) !important; border-collapse: separate !important; border-spacing: 0; overflow: hidden; }
.tm-wc table.shop_table th, .tm-wc table.shop_table td { padding: 14px 16px !important; border: 0 !important; border-top: 1px solid var(--tm-line) !important; vertical-align: middle; text-align: left; }
.tm-wc table.shop_table thead th { border-top: 0 !important; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--tm-muted); }
.tm-wc table.shop_table .product-name a { color: var(--tm-text) !important; font-weight: 600; }
.tm-wc table.shop_table .product-subtotal, .tm-wc table.shop_table .order-total td { font-weight: 800; }
.tm-wc table.shop_table .order-total td, .tm-wc table.shop_table .order-total th { font-size: 18px; }
.tm-wc table.cart img, .tm-wc .product-thumbnail img { width: 72px !important; height: 72px; object-fit: contain; background: #fff; border: 1px solid var(--tm-line); border-radius: 10px; }
.tm-wc a.remove { display: inline-flex !important; align-items: center; justify-content: center; width: 32px !important; height: 32px !important; border-radius: 50% !important; font-size: 20px !important; color: var(--tm-muted) !important; background: var(--tm-fill-2); }
.tm-wc a.remove:hover { background: var(--tm-bad) !important; color: #fff !important; }
.tm-wc .quantity .qty { width: 72px; text-align: center; }
.tm-wc .woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }
.tm-wc .woocommerce-shipping-methods li { margin: 0 0 6px; }
.tm-wc .woocommerce-shipping-destination, .tm-wc .woocommerce-shipping-calculator { font-size: 14px; color: var(--tm-muted); margin: 6px 0 0; }

/* Ostukorv: tabel vasakul, kokkuvõte paremal */
.woocommerce-cart .tm-wc .woocommerce { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; column-gap: 28px; }
.woocommerce-cart .tm-wc .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-cart .tm-wc .woocommerce-cart-form { grid-column: 1; }
.woocommerce-cart .tm-wc .cart-collaterals { grid-column: 2; grid-row: span 2; width: auto; position: sticky; top: 16px; }
.woocommerce-cart .tm-wc .cart-collaterals .cart_totals { width: 100% !important; float: none !important; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: var(--tm-radius); padding: 22px; }
.woocommerce-cart .tm-wc .cart_totals table.shop_table { border: 0 !important; border-radius: 0 !important; }
.woocommerce-cart .tm-wc .cart_totals table.shop_table th, .woocommerce-cart .tm-wc .cart_totals table.shop_table td { padding: 12px 0 !important; }
.woocommerce-cart .tm-wc .cart_totals table.shop_table tr:first-child th, .woocommerce-cart .tm-wc .cart_totals table.shop_table tr:first-child td { border-top: 0 !important; }
.woocommerce-cart .tm-wc .cart_totals td { text-align: right !important; }
.woocommerce-cart .tm-wc .wc-proceed-to-checkout { padding: 16px 0 0 !important; }
.woocommerce-cart .tm-wc .cross-sells { display: none; }
.tm-wc td.actions { padding: 14px 16px !important; }
.tm-wc td.actions .coupon { display: flex; gap: 8px; float: left; width: min(100%, 420px); }
.tm-wc td.actions .coupon label { display: none; }
.tm-wc td.actions .coupon .input-text { flex: 1; width: auto !important; min-width: 0; margin: 0 !important; }
.tm-wc td.actions > .button { float: right; }
.tm-wc .cart-empty { font-size: 18px; }
.tm-wc .return-to-shop .button { background: var(--tm-accent) !important; border-color: var(--tm-accent) !important; }

/* Kassa: andmed vasakul, tellimus paremal */
.woocommerce-checkout .tm-wc form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; column-gap: 28px; align-items: start; }
.woocommerce-checkout .tm-wc form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; grid-row: 1; margin-bottom: 20px; }
.woocommerce-checkout .tm-wc #customer_details { grid-column: 1; grid-row: 2 / span 3; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: var(--tm-radius); padding: 24px; }
.woocommerce-checkout .tm-wc #customer_details .col-1, .woocommerce-checkout .tm-wc #customer_details .col-2 { float: none; width: 100%; }
.woocommerce-checkout .tm-wc #customer_details .col-2 { margin-top: 12px; }
.woocommerce-checkout .tm-wc .woocommerce-billing-fields__field-wrapper, .woocommerce-checkout .tm-wc .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
.woocommerce-checkout .tm-wc .form-row-first, .woocommerce-checkout .tm-wc .form-row-last { width: auto !important; float: none !important; }
.woocommerce-checkout .tm-wc .form-row-wide, .woocommerce-checkout .tm-wc #billing_address_2_field, .woocommerce-checkout .tm-wc #shipping_address_2_field { grid-column: 1 / -1; }
.woocommerce-checkout .tm-wc #ship-to-different-address { font-size: 16px; margin: 4px 0 12px; }
.woocommerce-checkout .tm-wc #ship-to-different-address label { display: flex; align-items: center; cursor: pointer; }
.woocommerce-checkout .tm-wc #order_review_heading { grid-column: 2; grid-row: 2; margin: 0; padding: 22px 22px 0; background: var(--tm-surface); border: 1px solid var(--tm-line); border-bottom: 0; border-radius: var(--tm-radius) var(--tm-radius) 0 0; }
.woocommerce-checkout .tm-wc #order_review { grid-column: 2; grid-row: 3; background: var(--tm-surface); border: 1px solid var(--tm-line); border-top: 0; border-radius: 0 0 var(--tm-radius) var(--tm-radius); padding: 0 22px 22px; }
.woocommerce-checkout .tm-wc #order_review table.shop_table { border: 0 !important; border-radius: 0 !important; }
.woocommerce-checkout .tm-wc #order_review table.shop_table th, .woocommerce-checkout .tm-wc #order_review table.shop_table td { padding: 12px 0 !important; }
.woocommerce-checkout .tm-wc #order_review td:last-child, .woocommerce-checkout .tm-wc #order_review th.product-total { text-align: right; }
.tm-wc #payment { background: transparent !important; border-radius: 0 !important; margin-top: 8px; }
.tm-wc #payment ul.payment_methods { padding: 0 !important; border: 0 !important; display: grid; gap: 8px; }
.tm-wc #payment ul.payment_methods li { list-style: none; border: 1px solid var(--tm-line-2); border-radius: 12px; padding: 12px 14px !important; margin: 0 !important; }
.tm-wc #payment ul.payment_methods li > label { font-weight: 700; cursor: pointer; }
.tm-wc #payment ul.payment_methods li img { display: inline-block; max-height: 24px; vertical-align: middle; margin-left: 6px; }
.tm-wc #payment div.payment_box { background: var(--tm-fill-2) !important; color: var(--tm-text-2) !important; border-radius: 10px !important; font-size: 14px; margin: 10px 0 0 !important; padding: 12px 14px !important; }
.tm-wc #payment div.payment_box::before { display: none !important; }
.tm-wc #payment .place-order { padding: 16px 0 0 !important; margin: 0 !important; }
.tm-wc .woocommerce-privacy-policy-text, .tm-wc .woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: var(--tm-muted); }
.tm-wc .woocommerce-form-coupon { background: var(--tm-surface); border: 1px solid var(--tm-line) !important; border-radius: var(--tm-radius) !important; padding: 18px !important; margin: 0 !important; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tm-wc .woocommerce-form-coupon p { margin: 0; }
.tm-wc .woocommerce-form-coupon p:first-child { width: 100%; }
.tm-wc .woocommerce-form-coupon .form-row-first { flex: 1 1 220px; margin: 0 !important; width: auto !important; float: none !important; }
.tm-wc .woocommerce-form-coupon .form-row-last { margin: 0 !important; width: auto !important; float: none !important; }

/* Konto */
.tm-wc .u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tm-wc .u-columns .col-1, .tm-wc .u-columns .col-2 { width: auto !important; float: none !important; }
.tm-wc form.login, .tm-wc form.register, .tm-wc form.lost_reset_password { background: var(--tm-surface); border: 1px solid var(--tm-line) !important; border-radius: var(--tm-radius) !important; padding: 24px !important; margin: 0 !important; }
.tm-wc form.login .form-row:has(.woocommerce-form-login__submit) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.tm-wc .woocommerce-form-login__submit { margin: 0 !important; order: 1; }
.tm-wc .woocommerce-form-login__rememberme { order: 2; display: inline-flex; align-items: center; margin: 0; font-weight: 500; }
.tm-wc .lost_password { margin: 8px 0 0; }
.woocommerce-account .tm-wc .woocommerce { grid-template-columns: 240px minmax(0, 1fr); align-items: start; column-gap: 28px; }
.woocommerce-account .tm-wc .woocommerce > :only-child, .woocommerce-account .tm-wc .woocommerce > .woocommerce-notices-wrapper, .woocommerce-account .tm-wc .woocommerce > .u-columns, .woocommerce-account .tm-wc .woocommerce > form, .woocommerce-account .tm-wc .woocommerce > h2 { grid-column: 1 / -1; }
.tm-wc .woocommerce-MyAccount-navigation { width: auto !important; float: none !important; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: var(--tm-radius); padding: 10px; }
.tm-wc .woocommerce-MyAccount-navigation ul { list-style: none; display: grid; gap: 2px; margin: 0; padding: 0; }
.tm-wc .woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 10px; font-weight: 600; color: var(--tm-text) !important; }
.tm-wc .woocommerce-MyAccount-navigation a:hover { background: var(--tm-fill); }
.tm-wc .woocommerce-MyAccount-navigation .is-active a { background: var(--tm-navy); color: #fff !important; }
.tm-wc .woocommerce-MyAccount-content { width: auto !important; float: none !important; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: var(--tm-radius); padding: 24px; }
.tm-wc .woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tm-wc .woocommerce-Addresses .col-1, .tm-wc .woocommerce-Addresses .col-2 { width: auto !important; float: none !important; }
.tm-wc .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 0 !important; margin: 0 0 20px !important; }
.tm-wc .woocommerce-order-overview::before, .tm-wc .woocommerce-order-overview::after { content: none !important; }
.tm-wc .woocommerce-order-overview li { border: 0 !important; margin: 0 !important; padding: 0 !important; font-size: 13px; text-transform: uppercase; color: var(--tm-muted); }
.tm-wc .woocommerce-order-overview li strong { display: block; font-size: 16px; text-transform: none; color: var(--tm-text); }
.tm-wc .woocommerce-order, .tm-wc .woocommerce-customer-details address { background: var(--tm-surface); border-radius: var(--tm-radius); }
.tm-wc .woocommerce-order { padding: 24px; border: 1px solid var(--tm-line); }
.tm-wc .woocommerce-thankyou-order-received { font-size: 20px; font-weight: 800; color: var(--tm-ok); }

.tm-article { display: grid; gap: 12px; }
.tm-404 .tm-panel { display: grid; gap: 16px; max-width: 720px; }

/* ---------- Jalus ---------- */
.tm-footer { background: var(--tm-navy); color: var(--tm-sky); margin-top: 24px; }
.tm-footer a { color: var(--tm-sky); }
.tm-footer a:hover { color: #fff; }
.tm-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 32px; font-size: 15px; line-height: 1.8; }
.tm-footer__grid p { margin: 0; }
.tm-footer__h { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.tm-footer__links { list-style: none; }
.tm-footer__base { border-top: 1px solid rgba(213,224,235,.18); padding-top: 18px; padding-bottom: 22px; font-size: 13px; color: #A9BBCD; }

.tm-tabbar { display: none; }

/* ---------- Keskmine ekraan ---------- */
/* ---------- Nädala pakkumised ja soodustused ---------- */
.tm-deals { background: linear-gradient(180deg, var(--tm-accent-bg), #FFE9DB); border: 1px solid var(--tm-accent-soft); border-radius: 22px; padding: 28px; }
.tm-deals__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.tm-deals__title { display: grid; gap: 8px; justify-items: start; }
.tm-deals__tag { background: var(--tm-accent); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.tm-countdown { display: grid; gap: 2px; justify-items: center; background: var(--tm-navy); color: #fff; border-radius: 16px; padding: 12px 22px; box-shadow: 0 12px 24px -16px rgba(18,50,79,.7); }
.tm-countdown span { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #BFD0E2; }
.tm-countdown strong { font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: .5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tm-card--deal { position: relative; border: 2px solid var(--tm-navy); overflow: hidden; box-shadow: 0 10px 24px -18px rgba(18,50,79,.6); }
.tm-card--deal:hover { border-color: var(--tm-navy-2); box-shadow: 0 14px 28px -16px rgba(18,50,79,.55); }
.tm-deals--day { margin-bottom: 24px; }
.tm-deals .tm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tm-card__body { display: contents; }
/* 1–3 pakkumist: horisontaalsed kaardid, mis täidavad kogu laiuse */
.tm-deals--n1 .tm-grid { grid-template-columns: minmax(0, 1fr); }
.tm-deals--n2 .tm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tm-deals--n3 .tm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tm-deals--wide .tm-card { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 20px; align-items: start; }
.tm-deals--wide .tm-card__media { grid-column: 1; align-self: center; margin-bottom: 14px; }
.tm-deals--wide .tm-card__body { grid-column: 2; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 4px 0 14px; }
.tm-deals--wide .tm-card__title { font-size: 18px; }
.tm-deals--wide .tm-card__price .price, .tm-deals--wide .tm-card__price { font-size: 28px; }
.tm-deals--n1 .tm-card { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); column-gap: 32px; }
.tm-deals--n1 .tm-card__body { max-width: 560px; }
.tm-deals--n1 .tm-card__title { font-size: 22px; }
.tm-deals--n1 .tm-card__price .price, .tm-deals--n1 .tm-card__price { font-size: 34px; }
/* Pakkumise nurk: kolmnurk kaardi paremas ülanurgas */
.tm-card__corner { position: absolute; top: 2px; right: 2px; z-index: 3; width: 72px; height: 72px; background: var(--tm-navy); border-radius: 10px 12px 10px 10px; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.tm-card__corner-in { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; color: #fff; line-height: 1; font-size: 10px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; }
.tm-card__corner-in > span { display: flex; align-items: baseline; }
/* "%" ja sõna sama suurusega; suurus valitud nii, et rida on sama lai kui pikem sõna (Nädala / Pakkumine) */
.tm-card__corner-in .tm-cb { font-size: 12px; }
.tm-card__corner--day .tm-cb { font-size: 14px; }
.tm-card__corner-in b { font-size: 1em; font-weight: 800; margin-right: .2em; color: #FF7A33; }
/* Avalehe nädala pakkumised: oranž silt ja raam, sinine %-märk */
.tm-home .tm-deals .tm-card--deal { border-color: var(--tm-accent); box-shadow: 0 10px 24px -18px rgba(201,74,7,.6); }
.tm-home .tm-deals .tm-card--deal:hover { border-color: var(--tm-accent-2); }
.tm-home .tm-deals .tm-card__corner { background: var(--tm-accent); }
.tm-home .tm-deals .tm-card__corner-in b { color: var(--tm-navy); }
.tm-card__pricebox { margin-top: auto; display: grid; gap: 4px; }
.tm-card--deal .tm-card__pricebox { background: var(--tm-accent-bg); border-radius: 12px; padding: 10px 12px; }
.tm-card__pricebox .tm-card__price { margin-top: 0; padding-top: 0; }
.tm-card__media .tm-badge--pct { top: 8px; right: 8px; font-size: 16px; padding: 5px 9px; border-radius: 9px; }
.tm-badge--pct { background: var(--tm-accent); color: #fff; }
.tm-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.tm-card__price ins { order: 1; color: var(--tm-accent-2); }
.tm-card__price del { order: 2; font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--tm-muted); margin: 0; }
.tm-card__save { margin: 0; font-size: 14px; font-weight: 700; color: var(--tm-ok); }
.tm-omnibus { margin: 0; font-size: 12px; line-height: 1.4; color: var(--tm-muted); }
.tm-buybox__price--sale { align-items: center; }
.tm-saleprice { font-size: 40px; font-weight: 800; letter-spacing: -1px; line-height: 1; color: var(--tm-accent-2); }
.tm-pct { background: var(--tm-accent); color: #fff; font-size: 18px; font-weight: 800; padding: 6px 10px; border-radius: 10px; line-height: 1.1; }
.tm-buybox__sale { display: grid; gap: 4px; margin-top: -8px; }
.tm-was { margin: 0; font-size: 15px; color: var(--tm-muted); }
.tm-was del { color: var(--tm-muted); }
.tm-was strong { color: var(--tm-ok); }
.tm-buybox .tm-omnibus { font-size: 13px; }
@media (max-width: 900px) {
  .tm-deals .tm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tm-deals--n1 .tm-grid { grid-template-columns: minmax(0, 1fr); }
  .tm-deals--n2 .tm-card, .tm-deals--n3 .tm-card { display: flex; align-items: stretch; }
  .tm-deals--n2 .tm-card__media, .tm-deals--n3 .tm-card__media { align-self: stretch; margin-bottom: 0; }
  .tm-deals--n2 .tm-card__cta, .tm-deals--n3 .tm-card__cta { display: flex; gap: 8px; width: 100%; }
  .tm-deals--n2 .tm-card__cta .button, .tm-deals--n3 .tm-card__cta .button { flex: 1 1 auto; width: auto; }
  .tm-deals .tm-grid { gap: 8px; }
  .tm-deals .tm-card { padding: 8px; }
  .tm-deals .tm-card__cta { gap: 5px; }
  .tm-deals .tm-card__cta .button { padding: 0 6px; }
  .tm-deals .tm-cmp-btn--icon { width: 38px; }
  /* 1.5.30: hinnakastid ühel kõrgusel – pealkiri 2 rida, kiibid 1 rida, hinnakast täidab ülejäänud ruumi */
  .tm-deals .tm-card__title { min-height: calc(2 * 1.32em) !important; }
  .tm-deals .tm-card__title a { -webkit-line-clamp: 2; }
  .tm-deals .tm-card .tm-chips { flex-wrap: nowrap; overflow: hidden; min-height: 24px !important; max-height: 24px !important; }
  .tm-deals .tm-card .tm-chips li { white-space: nowrap; }
  .tm-deals .tm-card .tm-chips li:nth-child(n+2) { display: none; }
  .tm-deals .tm-card .tm-chips:empty { display: block !important; visibility: hidden; }
  .tm-deals .tm-card__pricebox { flex: 1 1 auto; align-content: start; margin-top: 0 !important; }
  .tm-deals .tm-card__cta { margin-top: 8px !important; }
  .tm-deals--n2 .tm-card__body, .tm-deals--n3 .tm-card__body { display: contents; }
  .tm-deals--n2 .tm-card__title, .tm-deals--n3 .tm-card__title { font-size: 13px; }
  .tm-deals--n2 .tm-card__price, .tm-deals--n3 .tm-card__price { font-size: 18px; }
  .tm-deals--n1 .tm-card { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); column-gap: 12px; }
  .tm-deals--n1 .tm-card__title { font-size: 15px; }
  .tm-deals--n1 .tm-card__price { font-size: 22px; }
  .tm-deals { padding: 16px 10px; border-radius: 18px; margin-left: -4px; margin-right: -4px; }
  .tm-deals__head { align-items: stretch; }
  .tm-countdown { width: 100%; padding: 10px 16px; }
  .tm-countdown strong { font-size: 26px; }
  .tm-saleprice { font-size: 34px; }
  .tm-card__corner { width: 62px; height: 62px; border-radius: 9px 11px 9px 9px; }
  .tm-card__corner-in { font-size: 8.5px; letter-spacing: .2px; }
  .tm-card__corner-in .tm-cb { font-size: 10.2px; }
  .tm-card__corner--day .tm-cb { font-size: 11.9px; }
  .tm-card--deal .tm-card__pricebox { padding: 8px; }
  .tm-card__media .tm-badge--pct { font-size: 13px; padding: 4px 7px; }
  .tm-card__save { font-size: 13px; }
  .tm-omnibus { font-size: 11px; }
}

.tm-disposal { margin: 0 0 16px; padding: 14px 16px; background: var(--tm-fill-2); border: 1px solid var(--tm-line); border-radius: var(--tm-radius-sm); }
.tm-disposal__check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; cursor: pointer; }
.tm-disposal__check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--tm-accent); }
.tm-disposal__check small { color: var(--tm-muted); font-size: 13px; }

/* ---------- Uudiskirja hüpikaken ---------- */
.tm-nl[hidden] { display: none; }
.tm-nl { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.tm-nl__backdrop { position: absolute; inset: 0; background: rgba(14,40,64,.55); }
.tm-nl__dialog { position: relative; width: min(760px, 100%); display: grid; grid-template-columns: 260px minmax(0, 1fr); background: var(--tm-surface); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(14,40,64,.5); animation: tm-nl-in .25s ease-out; }
@keyframes tm-nl-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.tm-nl__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--tm-fill); color: var(--tm-navy); display: grid; place-items: center; }
.tm-nl__close:hover { background: var(--tm-sky); }
.tm-nl__side { background: var(--tm-accent); color: #fff; padding: 32px 24px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; position: relative; }
.tm-nl__badge { position: absolute; top: 18px; left: 18px; background: #fff; color: var(--tm-accent-2); font-weight: 800; font-size: 18px; padding: 6px 10px; border-radius: 10px; }
.tm-nl__ico { width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.tm-nl__side p { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.25; }
.tm-nl__main { padding: 36px 32px 28px; }
.tm-nl__form, .tm-nl__done { display: grid; gap: 10px; }
.tm-nl__done[hidden] { display: none; }
.tm-nl__eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--tm-accent-2); }
.tm-nl h2 { font-size: 26px; font-weight: 800; letter-spacing: -.4px; padding-right: 40px; }
.tm-nl__lead { margin: 0 0 6px; color: var(--tm-text-2); }
.tm-nl__label { font-size: 14px; font-weight: 700; }
.tm-nl__input { height: 52px; border: 1px solid var(--tm-line-2); border-radius: 12px; padding: 0 14px; font-size: 17px; background: #fff; }
.tm-nl__input:focus { outline: 3px solid rgba(232,89,12,.25); border-color: var(--tm-accent); }
.tm-nl__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tm-nl__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--tm-text-2); }
.tm-nl__consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--tm-accent); }
.tm-nl__consent a { color: var(--tm-link); text-decoration: underline; }
.tm-nl__msg { margin: 0; min-height: 1em; font-size: 14px; font-weight: 600; color: var(--tm-bad); }
.tm-nl__msg:empty { display: none; }
.tm-nl__submit { min-height: 52px; font-size: 17px; }
.tm-nl__submit[disabled] { opacity: .7; }
.tm-nl__no { justify-self: center; border: 0; background: none; color: var(--tm-muted); font-size: 14px; font-weight: 600; padding: 10px; min-height: 44px; }
.tm-nl__no:hover { color: var(--tm-navy); text-decoration: underline; }
.tm-nl__ico--ok { background: var(--tm-fill); color: var(--tm-ok); }
.tm-nl__done p { margin: 0 0 8px; color: var(--tm-text-2); }
@media (max-width: 700px) {
  .tm-nl { place-items: end stretch; padding: 0; }
  .tm-nl__dialog { grid-template-columns: 1fr; border-radius: 22px 22px 0 0; max-height: 92vh; overflow-y: auto; animation-name: tm-nl-up; }
  @keyframes tm-nl-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .tm-nl__side { flex-direction: row; align-items: center; padding: 16px 20px; gap: 12px; }
  .tm-nl__badge { position: static; font-size: 15px; }
  .tm-nl__ico { display: none; }
  .tm-nl__side p { font-size: 16px; padding-right: 44px; }
  .tm-nl__close { top: 10px; right: 10px; background: rgba(255,255,255,.9); }
  .tm-nl__main { padding: 20px 20px 24px; }
  .tm-nl h2 { font-size: 22px; padding-right: 0; }
}

@media (max-width: 1100px) {
  .tm-hero { grid-template-columns: 1fr; }
  .tm-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tm-feature { grid-template-columns: 1fr; }
  .tm-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tm-listing { grid-template-columns: 240px minmax(0, 1fr); gap: 20px; }
}

/* ---------- Tahvel ja telefon ---------- */
@media (max-width: 900px) {
  :root { --tm-gutter: 16px; }
  .tm-topbar { font-size: 12px; }
  .tm-topbar__list li:nth-child(n+2) { display: none; }
  .tm-header__row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px 4px; padding-top: 8px; padding-bottom: 12px; }
  .tm-header__menu { display: inline-flex; }
  .tm-logo { font-size: 24px; justify-self: center; }
  .tm-logo__dot { width: 7px; height: 7px; margin-top: 9px; }
  .tm-header__search { grid-column: 1 / -1; grid-row: 2; }
  .tm-search__input, .tm-search__btn { height: 46px; }
  .tm-search__btn { width: 52px; }
  .tm-action span:not(.tm-action__ico):not(.tm-cart-count) { display: none; }
  .tm-action--account { display: none; }
  .tm-action { padding: 10px; }
  .tm-header__nav { display: none; }

  .tm-main { padding-top: 16px; padding-bottom: 96px; }
  .tm-home { gap: 32px; padding-top: 16px; }
  .tm-hero__card { padding: 26px 22px; border-radius: 18px; gap: 14px; }
  .tm-hero__card p { font-size: 16px; }
  .tm-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tm-tile { min-height: 100px; padding: 12px 3px; font-size: 12.5px; gap: 8px; }
  .tm-tile__ico { width: 46px; height: 46px; }
  .tm-tile { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
  .tm-subcats ul { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--tm-gutter)); padding: 0 var(--tm-gutter) 4px; scrollbar-width: none; }
  .tm-subcats ul::-webkit-scrollbar { display: none; }
  .tm-subcats a { white-space: nowrap; }
  .tm-hero__cta .tm-btn { flex: 1 1 auto; }
  .tm-trust { grid-template-columns: 1fr; gap: 8px; }
  .tm-trust__item { padding: 14px 16px; }
  .tm-feature { padding: 22px; }
  .tm-feature__list { grid-template-columns: 1fr; }

  ul.products, .tm-grid, .tm-listing ul.products, .tm-home .tm-grid, .tm-related .tm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tm-card { padding: 10px; gap: 6px; border-radius: 14px; }
  .tm-card__title { font-size: 13px; }
  .tm-card__price .price, .tm-card__price { font-size: 18px; }
  .tm-chips li:nth-child(n+3) { display: none; }
  .tm-card__cta .button, .tm-card__cta .tm-btn { min-height: 42px; font-size: 14px; padding: 0 10px; }
  .tm-card .tm-stock { font-size: 12px; }

  .tm-listing { grid-template-columns: 1fr; }
  .tm-listing__side { position: fixed; inset: 0; z-index: 90; background: rgba(14,40,64,.45); display: none; }
  .tm-listing__side.is-open { display: block; }
  .tm-filters { position: absolute; top: 0; right: 0; bottom: 0; width: min(92vw, 400px); max-height: none; border-radius: 0; border: 0; align-content: start; padding-bottom: 96px; }
  .tm-filters__close { display: inline-flex; width: 40px; height: 40px; border: 0; background: var(--tm-fill); border-radius: 10px; align-items: center; justify-content: center; }
  .tm-filters__head a { margin-left: auto; }
  .js .tm-filters[data-autosubmit] .tm-filters__apply { display: inline-flex; position: fixed; bottom: 16px; right: 16px; width: calc(min(92vw, 400px) - 32px); z-index: 2; }
  .tm-toolbar__filters { display: inline-flex; min-height: 44px; padding: 0 14px; font-size: 15px; }
  .tm-toolbar__count { order: 3; width: 100%; font-size: 14px; }
  .tm-active { order: 4; width: 100%; }

  .single-product div.product { grid-template-columns: 1fr; }
  .tm-buybox { padding: 18px; }
  .tm-buybox__price .price, .tm-buybox__price > .woocommerce-Price-amount, .tm-buybox__price > ins { font-size: 34px; }
  .tm-trustlist { grid-template-columns: 1fr; }
  .tm-details { grid-template-columns: 1fr; }
  .tm-panel { padding: 20px; }

  .tm-footer__grid { grid-template-columns: 1fr; gap: 20px; padding-top: 32px; }
  .tm-footer__base { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }

  .woocommerce-cart .tm-wc .woocommerce, .woocommerce-checkout .tm-wc form.checkout, .woocommerce-account .tm-wc .woocommerce { grid-template-columns: minmax(0, 1fr); }
  .woocommerce-cart .tm-wc .cart-collaterals, .woocommerce-checkout .tm-wc #customer_details, .woocommerce-checkout .tm-wc #order_review_heading, .woocommerce-checkout .tm-wc #order_review { grid-column: 1; grid-row: auto; position: static; }
  .woocommerce-checkout .tm-wc #customer_details { padding: 18px; margin-bottom: 20px; }
  .woocommerce-checkout .tm-wc .woocommerce-billing-fields__field-wrapper, .woocommerce-checkout .tm-wc .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
  .tm-wc .u-columns.col2-set, .tm-wc .woocommerce-Addresses { grid-template-columns: 1fr; }
  .tm-wc table.shop_table_responsive thead { display: none; }
  .tm-wc table.shop_table_responsive tr { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--tm-line); padding: 8px 0; }
  .tm-wc table.shop_table_responsive tr:first-child { border-top: 0; }
  .tm-wc table.shop_table_responsive tr td { display: flex !important; justify-content: space-between; align-items: center; gap: 12px; border: 0 !important; padding: 6px 14px !important; text-align: right !important; }
  .tm-wc table.shop_table_responsive tr td::before { content: attr(data-title); font-weight: 600; color: var(--tm-muted); text-align: left; float: none !important; }
  .tm-wc table.shop_table_responsive tr td.product-thumbnail { display: none !important; }
  .tm-wc table.shop_table_responsive tr td.product-remove { order: 9; }
  .tm-wc table.shop_table_responsive tr td.product-remove::before { content: "Eemalda korvist"; }
  .tm-wc table.shop_table_responsive tr td.product-name { font-size: 16px; }
  .tm-wc table.shop_table_responsive tr td.product-name::before { content: none; }
  .tm-wc table.cart td.product-name { justify-content: flex-start; text-align: left !important; }
  .tm-wc table.shop_table_responsive tr td.actions { display: grid !important; gap: 10px; padding: 12px 14px !important; }
  .tm-wc table.shop_table_responsive tr td.actions::before { content: none; }
  .tm-wc td.actions .coupon { float: none; width: 100%; }
  .tm-wc td.actions > .button { float: none; width: 100%; }
  .woocommerce-cart .tm-wc .cart_totals table.shop_table tr { display: grid; grid-template-columns: minmax(max-content, 1fr) auto; gap: 4px 12px; border-top: 1px solid var(--tm-line); padding: 10px 0; }
  .woocommerce-cart .tm-wc .cart_totals table.shop_table tr:first-child { border-top: 0; }
  .woocommerce-cart .tm-wc .cart_totals table.shop_table tr td, .woocommerce-cart .tm-wc .cart_totals table.shop_table tr th { display: block !important; border: 0 !important; padding: 0 !important; }
  .woocommerce-cart .tm-wc .cart_totals table.shop_table tr td::before { content: none; }
  .woocommerce-cart .tm-wc .cart_totals tr.woocommerce-shipping-totals td { grid-column: 1 / -1; text-align: left !important; }
  .woocommerce-cart .tm-wc .cart_totals .woocommerce-shipping-methods li { display: flex; align-items: center; }
  .tm-wc .woocommerce-MyAccount-content { padding: 18px; }

  .tm-tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--tm-surface); border-top: 1px solid var(--tm-line); padding: 4px 0 calc(6px + env(safe-area-inset-bottom));
  }
  .tm-tabbar a, .tm-tabbar button {
    display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border: 0; background: none;
    font-size: 11px; font-weight: 700; color: var(--tm-muted);
  }
  .tm-tabbar [aria-current] { color: var(--tm-accent); }
  .tm-tabbar .tm-cart-count { right: -12px; }
  .tm-cmpbar { bottom: calc(58px + env(safe-area-inset-bottom)); }
  .tm-cmpbar__row { gap: 8px; padding-top: 8px; padding-bottom: 8px; }
  .tm-cmpbar__items li { max-width: 170px; }
  .tm-cmpbar__actions { width: 100%; justify-content: space-between; }
  /* Telefonis: omaduse nimi täislaiuses rea kohal (jääb kerimisel paigale), all väärtused tootekaupa;
     ekraanil 2 toodet korraga, 3.–4. toode külgkerimisega. */
  .tm-compare__table, .tm-compare__table thead, .tm-compare__table tbody { display: block; width: max-content; min-width: 0; }
  .tm-compare__table tr { display: grid; grid-template-columns: repeat(var(--tm-cols), calc((100vw - 34px) / 2)); }
  .tm-compare__table th, .tm-compare__table td { padding: 8px 12px 12px; font-size: 14px; overflow-wrap: anywhere; hyphens: auto; }
  .tm-compare__table td + td { border-left: 1px solid #EDF1F5; }
  .tm-compare__table thead .tm-compare__label { display: none; }
  .tm-compare__table tbody .tm-compare__label { grid-column: 1 / -1; width: calc(100vw - 34px); position: sticky; left: 0; padding: 10px 12px 2px; border-bottom: 0; font-size: 12px !important; letter-spacing: .3px; background: transparent; }
  .tm-compare__table tr.is-diff .tm-compare__label { background: transparent; }
  .tm-compare__table tbody tr { border-bottom: 1px solid #EDF1F5; }
  .tm-compare__table tbody td { border-bottom: 0; }
  .tm-compare__table thead th + th { border-left: 1px solid #EDF1F5; }
  .tm-compare__img { max-width: 120px; margin: 0 auto 8px; }
  .tm-compare__name { font-size: 14px; }
  .tm-compare__price { font-size: 18px; }
  .tm-compare__prod .tm-btn { font-size: 14px; padding: 0 8px; }
  .tm-compare__remove { top: 6px; right: 6px; }
}

@media (max-width: 380px) {
  .tm-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Järelmaksu kalkulaator ---------- */
.tm-inst { border: 1px solid var(--tm-line); border-radius: var(--tm-radius-sm); background: var(--tm-fill-2); overflow: hidden; }
.tm-inst__toggle { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; background: none; border: 0; font: inherit; color: var(--tm-text); text-align: left; cursor: pointer; }
.tm-inst__toggle:hover .tm-inst__cta { background: var(--tm-navy); color: #fff; }
.tm-inst__ico { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--tm-accent); border: 1px solid var(--tm-line); }
.tm-inst__lead { flex: 1 1 auto; font-size: 15px; line-height: 1.3; }
.tm-inst__lead strong { display: block; font-size: 17px; font-weight: 800; }
.tm-inst__cta { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--tm-navy); font-weight: 700; font-size: 14px; transition: background .15s, color .15s; }
.tm-inst__chev { transition: transform .2s; }
.tm-inst__toggle[aria-expanded="true"] .tm-inst__chev { transform: rotate(180deg); }
.tm-inst__toggle:focus-visible { outline: 3px solid var(--tm-link); outline-offset: -3px; }
.tm-inst__panel { padding: 4px 14px 16px; display: grid; gap: 14px; border-top: 1px dashed var(--tm-line-2); background: var(--tm-surface); }
.tm-inst__result { display: grid; justify-items: center; gap: 2px; padding: 14px 0 4px; text-align: center; }
.tm-inst__label { font-size: 13px; color: var(--tm-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.tm-inst__big b { font-size: 34px; font-weight: 800; letter-spacing: -.8px; color: var(--tm-navy); }
.tm-inst__sub { font-size: 14px; color: var(--tm-text-2); }
.tm-inst__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.tm-inst__group legend { font-size: 14px; font-weight: 700; margin-bottom: 6px; padding: 0; }
.tm-inst__chips { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.tm-inst__chip { position: relative; cursor: pointer; }
.tm-inst__chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tm-inst__chip span { display: grid; place-items: center; gap: 0; min-height: 46px; padding: 4px 2px; border: 1.5px solid var(--tm-line-2); border-radius: 10px; background: #fff; font-size: 12px; line-height: 1.15; text-align: center; color: var(--tm-text-2); transition: border-color .15s, background .15s; }
.tm-inst__chip b { font-size: 15px; color: var(--tm-text); }
.tm-inst__chip small { font-size: 11.5px; }
.tm-inst__chip:hover span { border-color: var(--tm-navy); }
.tm-inst__chip input:checked + span { background: var(--tm-navy); border-color: var(--tm-navy); color: #fff; }
.tm-inst__chip input:checked + span b { color: #fff; }
.tm-inst__chip input:focus-visible + span { outline: 3px solid var(--tm-accent); outline-offset: 2px; }
.tm-inst__rows { margin: 0; display: grid; gap: 6px; padding: 10px 12px; border-radius: 10px; background: var(--tm-fill-2); font-size: 14px; }
.tm-inst__rows div { display: flex; justify-content: space-between; gap: 12px; }
.tm-inst__rows dt { color: var(--tm-text-2); }
.tm-inst__rows dd { margin: 0; font-weight: 700; white-space: nowrap; }
.tm-inst__note { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--tm-muted); }
@media (max-width: 420px) {
  .tm-inst__chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tm-inst__cta { padding: 6px 10px; }
}
.tm-inst__panel[hidden] { display: none; }
.tm-inst__lead strong { white-space: nowrap; }

/* Kassa vead: üks kompaktne paneel vormi kohal (väljade juures on ka oma veateade). */
.tm-wc .checkout .woocommerce-invalid input.input-text, .tm-wc .checkout .woocommerce-invalid select { border-color: var(--tm-bad) !important; }
.tm-wc .checkout .checkout-inline-error-message { color: var(--tm-bad); font-size: 13px; margin: 4px 0 0; }
@media (max-width: 900px) {
  .woocommerce-checkout .tm-wc #customer_details, .woocommerce-checkout .tm-wc #order_review_heading, .woocommerce-checkout .tm-wc #order_review { grid-column: 1; grid-row: auto; }
}
/* Kassa: tarneviisid täislaiuses rea all (pikad nimed nagu „Tasuta kohaletoimetamine Tallinnas“). */
.tm-wc tr.woocommerce-shipping-totals { display: grid; gap: 8px; padding: 14px 0; width: 100%; }
.tm-wc tr.woocommerce-shipping-totals + tr th, .tm-wc tr.woocommerce-shipping-totals + tr td { border-top: 1px solid var(--tm-line) !important; }
.tm-wc tr.woocommerce-shipping-totals th, .tm-wc tr.woocommerce-shipping-totals td { display: block; padding: 0 !important; border: 0 !important; text-align: left !important; }
.tm-wc #shipping_method { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tm-wc #shipping_method li { display: flex; align-items: center; gap: 8px; margin: 0; }
.tm-wc #shipping_method li input { margin: 0; }
.tm-wc #shipping_method li label { font-weight: 600; }
.tm-wc .woocommerce-shipping-destination { font-size: 13px; color: var(--tm-muted); margin: 4px 0 0; }

/* =====================================================================
   WooCommerce osad Tehnomaani stiilis (teema 1.3.9)
   ===================================================================== */
:root {
  --tm-ok-bg: #EEF7F1; --tm-ok-line: #BFDFCB;
  --tm-info-bg: #EEF4FB; --tm-info-line: #C6D9EE;
  --tm-bad-bg: #FDF3F2; --tm-bad-line: #F3C4BF;
}

/* Teated: ikooniga ring, toonitud taust, nupp paremal. Ei kopeeri WooCommerce'i joont ega sinist fookusraami. */

/* Kaardid: ühtne pealkiri ja numbriga sammud kassas. */
.woocommerce-checkout .tm-wc form.checkout { counter-reset: tmstep; }
.woocommerce-checkout .tm-wc #customer_details h3, .woocommerce-checkout .tm-wc #order_review_heading { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.woocommerce-checkout .tm-wc .woocommerce-billing-fields > h3::before, .woocommerce-checkout .tm-wc #order_review_heading::before {
  counter-increment: tmstep; content: counter(tmstep); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--tm-navy); color: #fff; font-size: 14px; font-weight: 800; flex: none;
}
.woocommerce-checkout .tm-wc .woocommerce-additional-fields { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--tm-line); }

/* Väljad */
.tm-wc .form-row label { font-size: 14px; font-weight: 700; color: var(--tm-text); margin-bottom: 6px; }
.tm-wc .form-row .required { color: var(--tm-accent); text-decoration: none; border: 0; }
.tm-wc .form-row .optional { font-weight: 500; color: var(--tm-muted); }
.tm-wc .input-text, .tm-wc select, .tm-wc textarea, .tm-wc .select2-container .select2-selection--single {
  border: 1.5px solid var(--tm-line-2) !important; border-radius: 12px !important; background: #fff !important; min-height: 48px; font-size: 16px !important; transition: border-color .15s, box-shadow .15s;
}
.tm-wc .input-text:focus, .tm-wc select:focus, .tm-wc textarea:focus { border-color: var(--tm-navy) !important; box-shadow: 0 0 0 3px var(--tm-sky) !important; outline: none; }
.tm-wc .woocommerce-validated .input-text { border-color: var(--tm-line-2) !important; }
.tm-wc input[type=checkbox], .tm-wc input[type=radio] { accent-color: var(--tm-navy); width: 18px; height: 18px; }

/* Makseviisid: valitud kaart tumesinise raamiga. */
.tm-wc #payment ul.payment_methods li { border: 1.5px solid var(--tm-line-2) !important; transition: border-color .15s, background .15s; }
.tm-wc #payment ul.payment_methods li:has(> input:checked) { border-color: var(--tm-navy) !important; background: var(--tm-fill-2); }
.tm-wc #payment ul.payment_methods li > label { display: inline-flex; align-items: center; gap: 8px; }
.tm-wc #payment #place_order { width: 100%; min-height: 56px; font-size: 18px !important; background: var(--tm-accent) !important; border-color: var(--tm-accent) !important; color: #fff !important; border-radius: 14px !important; }
.tm-wc #payment #place_order:hover { background: var(--tm-accent-2) !important; border-color: var(--tm-accent-2) !important; }

/* Ostukorv: tarneviisid nagu kassas; kogusumma esile. */
.woocommerce-cart .tm-wc .cart_totals tr.woocommerce-shipping-totals th, .woocommerce-cart .tm-wc .cart_totals tr.woocommerce-shipping-totals td { text-align: left !important; width: auto !important; }
.woocommerce-cart .tm-wc .cart_totals table.shop_table { table-layout: auto; }
.woocommerce-cart .tm-wc .cart_totals .woocommerce-shipping-destination { text-align: left; }
.woocommerce-cart .tm-wc .cart_totals .woocommerce-shipping-calculator { margin-top: 6px; font-size: 14px; }
.woocommerce-cart .tm-wc .cart_totals .order-total th, .woocommerce-cart .tm-wc .cart_totals .order-total td { font-size: 20px; font-weight: 800; }
.tm-wc .order-total .includes_tax, .tm-wc .tax_label { display: block; font-size: 12px; font-weight: 500; color: var(--tm-muted); }
.woocommerce-cart .tm-wc .wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; font-size: 18px !important; border-radius: 14px !important; }
.woocommerce-cart .tm-wc table.cart img { border-radius: 10px; border: 1px solid var(--tm-line); background: #fff; }
.woocommerce-cart .tm-wc table.cart a.remove { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tm-fill-2); color: var(--tm-muted) !important; font-size: 20px; line-height: 1; }
.woocommerce-cart .tm-wc table.cart a.remove:hover { background: var(--tm-bad-bg); color: var(--tm-bad) !important; }
.woocommerce-cart .tm-wc table.cart .product-name a { font-weight: 700; color: var(--tm-text) !important; }

/* Konto: sisselogimise ja registreerimise kaardid. */
.tm-wc .u-columns h2 { font-size: 20px; }
.tm-wc .woocommerce-form-login__rememberme { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 500; }
.tm-wc .woocommerce-LostPassword a { font-weight: 600; }
/* Ostukorvi kokkuvõte ridadena (ka arvutis), tarneviisid täislaiuses. */
.woocommerce-cart .tm-wc .cart_totals table.shop_table, .woocommerce-cart .tm-wc .cart_totals table.shop_table tbody { display: block; width: 100%; }
.woocommerce-cart .tm-wc .cart_totals table.shop_table tr { display: grid; grid-template-columns: minmax(max-content, 1fr) auto; gap: 6px 12px; border-top: 1px solid var(--tm-line); padding: 12px 0; }
.woocommerce-cart .tm-wc .cart_totals table.shop_table tr:first-child { border-top: 0; }
.woocommerce-cart .tm-wc .cart_totals table.shop_table tr th, .woocommerce-cart .tm-wc .cart_totals table.shop_table tr td { display: block !important; border: 0 !important; padding: 0 !important; }
.woocommerce-cart .tm-wc .cart_totals table.shop_table tr.woocommerce-shipping-totals { grid-template-columns: 1fr; }

/* ---------- Pakkumiste leht /pakkumised/ ja avalehe nupp ---------- */
.tm-deals__more { display: flex; justify-content: center; margin-top: 22px; }
.tm-deals__more .tm-btn { min-height: 52px; padding: 0 26px; font-size: 16px; gap: 6px; border-radius: 999px; }
.tm-catnav__item--deals { margin-left: auto; }
.tm-catnav__item--deals .tm-catnav__link { color: var(--tm-accent); font-weight: 800; }
.tm-catnav__item--deals .tm-catnav__link::before { content: "%"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 6px; background: var(--tm-accent); color: #fff; font-size: 12px; font-weight: 800; vertical-align: 1px; }
.tm-drawer__deals a { display: flex; align-items: center; gap: 14px; padding: 10px 20px; font-size: 17px; font-weight: 800; color: var(--tm-accent); }
.tm-drawer__ico--deals { background: var(--tm-accent); color: #fff; font-weight: 800; font-size: 18px; }

.tm-dealspage__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 28px; align-items: end; margin: 8px 0 24px; }
.tm-dealspage__lead { margin: 8px 0 0; color: var(--tm-text-2); max-width: 640px; }
.tm-dealspage__timers { display: flex; flex-wrap: wrap; gap: 10px; }
.tm-dtimer { display: grid; gap: 2px; min-width: 230px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--tm-line-2); background: var(--tm-surface); color: var(--tm-text); text-decoration: none; transition: border-color .15s, background .15s; }
.tm-dtimer:hover, .tm-dtimer.is-on { border-color: var(--tm-navy); }
.tm-dtimer.is-on { background: var(--tm-fill); }
.tm-dtimer--week { background: var(--tm-accent-bg); border-color: var(--tm-accent-soft); }
.tm-dtimer--week:hover, .tm-dtimer--week.is-on { border-color: var(--tm-accent); background: #FFE9DB; }
.tm-dtimer__label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; }
.tm-dtimer__label b { color: #FF7A33; margin-right: 2px; }
.tm-dtimer--week .tm-dtimer__label b { color: var(--tm-accent); }
.tm-dtimer__time { font-size: 14px; color: var(--tm-text-2); }
.tm-dtimer__time strong { font-variant-numeric: tabular-nums; color: var(--tm-text); font-size: 16px; }

.tm-dfilters { gap: 14px; }
.tm-dfilters .tm-filter { border: 0; padding: 0; margin: 0; }
.tm-dfilters__h { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--tm-muted); margin: 0 0 8px; }
.tm-dcats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tm-dcat { display: grid; justify-items: center; align-content: start; gap: 4px; padding: 10px 6px 8px; border: 1.5px solid var(--tm-line); border-radius: 12px; background: #fff; color: var(--tm-text); text-align: center; text-decoration: none; position: relative; transition: border-color .15s, background .15s; }
.tm-dcat:hover { border-color: var(--tm-navy); }
.tm-dcat.is-on { border-color: var(--tm-navy); background: var(--tm-navy); color: #fff; }
.tm-dcat__ico { color: var(--tm-navy); display: grid; place-items: center; }
.tm-dcat.is-on .tm-dcat__ico { color: #fff; }
.tm-dcat__name { font-size: 12.5px; font-weight: 700; line-height: 1.2; min-height: 2.4em; display: grid; place-items: center; hyphens: auto; }
.tm-dcat .tm-count { position: absolute; top: 6px; right: 8px; font-size: 11px; }
.tm-dcat.is-on .tm-count { color: #fff; }
.tm-dchips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tm-dchip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--tm-line-2); background: #fff; font-size: 13.5px; font-weight: 700; color: var(--tm-text); text-decoration: none; transition: border-color .15s, background .15s; }
.tm-dchip span { font-weight: 500; color: var(--tm-muted); font-size: 12px; }
.tm-dchip:hover { border-color: var(--tm-navy); }
.tm-dchip.is-on { background: var(--tm-navy); border-color: var(--tm-navy); color: #fff; }
.tm-dchip.is-on span { color: var(--tm-sky); }
.tm-dfilters__done { display: none; }
/* Kõik on pakkumised – raam ainult hõljumisel, silt jääb. */
.tm-dealspage .tm-card--deal { border-color: var(--tm-line); }
.tm-dealspage .tm-card--deal:hover { border-color: var(--tm-navy); }
.tm-dealspage .tm-listing ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1239px) { .tm-dealspage .tm-listing ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .tm-dealspage__head { grid-template-columns: 1fr; }
  .tm-dtimer { min-width: 0; flex: 1 1 160px; }
  .tm-dealspage .tm-listing ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tm-dfilters__done { display: inline-flex; position: fixed; bottom: 16px; right: 16px; width: calc(min(92vw, 400px) - 32px); z-index: 2; justify-content: center; }
  .tm-dcats { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Teated (oma mallid woocommerce/notices/*.php) ----------
   Valge kaart, ikoon toonitud ruudus, tekst ja vajadusel üks nupp. Kehtib kõikjal (ka WooCommerce'i CSS-i üle). */
.tm-note, .tm-wc .tm-note {
  position: relative; display: flex !important; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 0 !important; padding: 10px 12px !important; list-style: none !important;
  background: var(--tm-surface) !important; color: var(--tm-text) !important;
  border: 1px solid var(--tm-line) !important; border-radius: 14px !important;
  box-shadow: 0 8px 24px -18px rgba(18, 50, 79, .45) !important; outline: none !important;
  font-size: 15px; font-weight: 500; line-height: 1.45; width: auto;
}
.tm-note::before, .tm-note::after, .tm-wc .tm-note::before, .tm-wc .tm-note::after { content: none !important; display: none !important; }
.tm-note__ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--tm-fill); color: var(--tm-navy); }
.tm-note--ok .tm-note__ico { background: #E6F4EC; color: var(--tm-ok); }
.tm-note--bad .tm-note__ico { background: var(--tm-bad-bg); color: var(--tm-bad); }
.tm-note--coupon .tm-note__ico { background: var(--tm-accent-bg); color: var(--tm-accent); }
.tm-note__txt { flex: 1 1 220px; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.tm-note__txt strong { font-weight: 700; }
.tm-note a { color: var(--tm-link) !important; font-weight: 700; }
.tm-note .tm-note__btn, .tm-note a.button, .tm-note .restore-item {
  margin-left: auto !important; display: inline-flex !important; align-items: center; gap: 6px; min-height: 36px !important; padding: 0 14px !important;
  border-radius: 999px !important; border: 1.5px solid var(--tm-navy) !important; background: #fff !important; color: var(--tm-navy) !important;
  font-size: 14px !important; font-weight: 700 !important; text-decoration: none !important; float: right !important; line-height: 1 !important;
}
.tm-note .tm-note__btn:hover, .tm-note a.button:hover, .tm-note .restore-item:hover { background: var(--tm-navy) !important; color: #fff !important; }
.tm-note .restore-item::before { content: "↶"; font-size: 16px; }
.tm-wc .woocommerce-notices-wrapper, .woocommerce-notices-wrapper { display: grid; gap: 10px; }
.woocommerce-notices-wrapper:empty { display: none; }
.single-product .woocommerce-notices-wrapper { grid-column: 1 / -1; }
/* Ühe vea teade (nt makse ebaõnnestus): li ise on rida. */
.tm-note--bad:not(.tm-note--fields) { display: block !important; }
.tm-note--bad:not(.tm-note--fields) > li { display: flex; align-items: center; gap: 12px; margin: 0; }
.tm-note--bad:not(.tm-note--fields) > li + li { margin-top: 8px; }
/* Kassa puuduvad väljad: pealkiri + väljade nimed nuppudena. */
.tm-note--fields { display: grid !important; gap: 10px; border-color: var(--tm-bad-line) !important; }
.tm-note--fields .tm-note__head { display: flex; align-items: center; gap: 12px; margin: 0; }
.tm-note--fields .tm-note__head strong { font-size: 16px; }
.tm-note--fields .tm-note__field { display: inline-flex; margin: 0 6px 0 0; }
.tm-note--fields { grid-template-columns: 1fr; }
.tm-note--fields .tm-note__field a { font-size: 0 !important; display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--tm-bad-bg); border: 1px solid var(--tm-bad-line); text-decoration: none; }
.tm-note--fields .tm-note__field a strong { font-size: 14px; font-weight: 700; color: var(--tm-text); }
.tm-note--fields .tm-note__field a:hover { border-color: var(--tm-bad); }
.tm-note--fields { display: flex !important; flex-wrap: wrap; align-items: center; }
.tm-note--fields .tm-note__head { flex: 1 0 100%; }
.tm-note--fields .tm-note__field:first-of-type { margin-left: 48px; }
.woocommerce-checkout .tm-wc form.checkout > .woocommerce-NoticeGroup { outline: none; }
/* Kupongi lüliti kassas: lihtne rida, mitte kast. */
.tm-wc .tm-note.tm-note--coupon, .tm-note.tm-note--coupon { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.tm-note--coupon .tm-note__ico { width: 32px; height: 32px; }
.tm-wc .woocommerce-form-coupon-toggle { margin: -6px 0 0; }
/* Välja all olev veateade. */
.tm-wc .checkout-inline-error-message { color: var(--tm-bad); font-size: 13px; font-weight: 600; margin: 6px 0 0; }

/* Teade ekraani all (AJAX-iga korvi lisamine kaardilt). */
.tm-toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; width: min(560px, calc(100vw - 24px)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.tm-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.tm-toast .tm-note { box-shadow: 0 18px 40px -16px rgba(18, 50, 79, .5) !important; padding: 12px 14px !important; }
.tm-toast__close { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--tm-muted); cursor: pointer; }
.tm-toast__close:hover { background: var(--tm-fill); }
@media (max-width: 900px) { .tm-toast { bottom: calc(76px + env(safe-area-inset-bottom)); } }
/* WooCommerce'i „Vaata ostukorvi“ link kaardi all peidetud – sama info on teates. */
a.added_to_cart.wc-forward { display: none !important; }
.tm-btn.added, .button.added { background: var(--tm-ok) !important; border-color: var(--tm-ok) !important; color: #fff !important; }
.button.loading { opacity: .7; pointer-events: none; }
.button.added::after, .button.loading::after { display: none !important; content: none !important; }

/* Käibemaks eraldi real. */
.tm-wc tr.tm-vat-row th, .tm-wc tr.tm-vat-row td { font-weight: 500 !important; color: var(--tm-text-2); padding-top: 0 !important; border-top: 0 !important; white-space: nowrap; }
.tm-wc .order-total .includes_tax { display: none; }

/* Järjestamine: oma rippmenüü (details), mitte brauseri valikukast. */
.tm-sort { position: relative; }
.tm-sort > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 16px; border: 1.5px solid var(--tm-line-2); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; user-select: none; }
.tm-sort > summary::-webkit-details-marker { display: none; }
.tm-sort > summary span { color: var(--tm-muted); font-weight: 500; }
.tm-sort > summary:hover, .tm-sort[open] > summary { border-color: var(--tm-navy); }
.tm-sort > summary svg { transition: transform .2s; }
.tm-sort[open] > summary svg { transform: rotate(180deg); }
.tm-sort__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 230px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--tm-line); border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(18, 50, 79, .45); }
.tm-sort__menu a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--tm-text); font-weight: 600; font-size: 15px; text-decoration: none; }
.tm-sort__menu a:hover { background: var(--tm-fill-2); }
.tm-sort__menu a[aria-current] { background: var(--tm-fill); color: var(--tm-navy); }
.tm-sort__menu a[aria-current]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tm-accent); }
@media (max-width: 900px) { .tm-sort__menu { right: auto; left: 0; } .tm-toolbar__sort .tm-sort { margin-left: auto; } }
/* Teate tekst on tavaline tekstiplokk (sõnad ei lagune), nupp paremal. */
.tm-note__txt { display: block !important; flex: 1 1 260px; }
.tm-note__txt .tm-note__btn, .tm-note__txt a.button, .tm-note__txt .restore-item { float: right; margin: -4px 0 -4px 12px !important; }
.tm-note--fields .tm-note__txt { flex: 1 1 auto; }

/* Tänuleht */
.tm-wc .woocommerce-order { display: grid; gap: 20px; }
.tm-wc .woocommerce-thankyou-order-received { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 22px; font-weight: 800; color: var(--tm-text); }
.tm-wc .woocommerce-thankyou-order-received::before { content: ""; flex: none; width: 44px; height: 44px; border-radius: 12px; background: #E6F4EC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E7A46' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 24px no-repeat; }
.tm-wc .woocommerce-order-overview { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px !important; }
.tm-wc .woocommerce-order-overview li { background: var(--tm-fill-2); border-radius: 12px; padding: 12px 14px !important; font-size: 12px !important; letter-spacing: .3px; }
.tm-wc .woocommerce-order-overview li strong { margin-top: 4px; font-size: 16px; }
.tm-wc .woocommerce-order-details__title, .tm-wc .woocommerce-column__title { font-size: 18px; }
.tm-wc .woocommerce-table--order-details tfoot th { font-weight: 600; color: var(--tm-text-2); }
.tm-wc .woocommerce-table--order-details tfoot tr:last-child th, .tm-wc .woocommerce-table--order-details tfoot tr:last-child td { font-weight: 500; }
.tm-wc .woocommerce-customer-details address { border: 1px solid var(--tm-line) !important; border-radius: 12px !important; padding: 14px 16px !important; font-style: normal; line-height: 1.6; }
.tm-dchips--brands.is-long:not(.is-open) li:nth-child(n+13) { display: none; }
.tm-dchips--brands.is-long:not(.is-open) li:nth-child(n+9) { display: inline-flex; }
.tm-dchips.tm-filter__list { display: flex; }
.tm-toast .tm-note { flex-wrap: nowrap; align-items: flex-start; }
.tm-toast .tm-note__txt { min-width: 0; }
@media (max-width: 900px) {
  .tm-dtimer__label { font-size: 11.5px; }
  .tm-toast .tm-note__txt .tm-note__btn { float: none; margin: 8px 0 0 !important; }
}
.tm-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.tm-footer__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.tm-footer__trust a { color: #A9BBCD; text-decoration: underline; text-decoration-color: rgba(169,187,205,.4); text-underline-offset: 3px; }
.tm-footer__trust a:hover { color: #fff; }
/* Tekstilehed (tingimused, ettevõttest, privaatsus): loetav reapikkus. */
.tm-page:not(.tm-page--wc) > .tm-h1, .tm-page:not(.tm-page--wc) > .tm-prose { width: 100%; max-width: 820px; margin-left: auto; margin-right: auto; }
.tm-prose { font-size: 16.5px; line-height: 1.7; color: var(--tm-text-2); }
.tm-prose h2 { font-size: 22px; margin: 1.6em 0 .5em; color: var(--tm-text); }
.tm-prose h3 { font-size: 18px; margin: 1.4em 0 .4em; color: var(--tm-text); }
.tm-prose h2:first-child, .tm-prose h3:first-child { margin-top: 0; }
.tm-prose p, .tm-prose ul, .tm-prose ol { margin: 0 0 1em; }
.tm-prose ul, .tm-prose ol { padding-left: 1.3em; }
.tm-prose li { margin: .3em 0; }
.tm-prose a { color: var(--tm-link); text-decoration: underline; text-underline-offset: 3px; }
.tm-prose strong { color: var(--tm-text); }

/* ---------- Pakkumiste bänner kategooria filtrite all (variant A) ---------- */
.tm-listing__sidecol { display: grid; gap: 16px; align-content: start; min-width: 0; }
.tm-promo { background: var(--tm-navy); color: #fff; border-radius: 18px; padding: 18px; display: grid; gap: 12px; }
.tm-promo__tag { justify-self: start; background: var(--tm-accent); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; }
.tm-promo__h { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.25; }
.tm-promo__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff !important; text-decoration: none; transition: background .15s; }
.tm-promo__row:hover { background: rgba(255, 255, 255, .15); }
.tm-promo__row small { grid-column: 1; color: #B9CADB; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.tm-promo__row small b { color: #FF7A33; }
.tm-promo__row strong { grid-column: 1; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tm-promo__row span { grid-column: 1; font-size: 12.5px; color: #B9CADB; }
.tm-promo__row em { grid-column: 2; grid-row: 1 / 4; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--tm-navy); display: grid; place-items: center; font-style: normal; }
.tm-promo__btn { display: flex; justify-content: center; align-items: center; min-height: 46px; border-radius: 12px; background: var(--tm-accent); color: #fff !important; font-weight: 800; text-decoration: none; }
.tm-promo__btn:hover { background: var(--tm-accent-2); }
.tm-promo--strip { display: none; }
@media (max-width: 900px) {
  .tm-promo--side { display: none; }
  .tm-listing ul.products > .tm-promo--strip { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; padding: 14px; gap: 10px; list-style: none; }
  .tm-promo--strip .tm-promo__tag, .tm-promo--strip .tm-promo__h, .tm-promo--strip .tm-promo__btn { grid-column: 1 / -1; }
  .tm-promo--strip .tm-promo__h { font-size: 17px; }
  .tm-promo--strip .tm-promo__row { padding: 10px; }
  .tm-promo--strip .tm-promo__row strong { font-size: 16px; }
  .tm-promo--strip .tm-promo__row span, .tm-promo--strip .tm-promo__row em { display: none; }
  .tm-promo--strip .tm-promo__row small { font-size: 11px; }
}
/* Tooteleht: tehnilised andmed ja kirjeldus joonduvad ülemiste veergudega (galerii | hinnakast). */
.single-product .tm-details { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); column-gap: 40px; }
@media (max-width: 900px) { .single-product .tm-details { grid-template-columns: 1fr; } }

/* Vasak veerg (filtrid + pakkumiste bänner) kleepub: lühike veerg ülaserva, pikk veerg alaserva (top arvutab main.js). */
@media (min-width: 901px) {
  .tm-listing__sidecol { position: sticky; top: var(--tm-side-top, 16px); align-self: start; }
  .tm-listing__sidecol .tm-filters { position: static; max-height: none; overflow: visible; }
}
@media (max-width: 900px) { .tm-listing__sidecol { display: contents; } }

.woocommerce-cart .tm-wc .cart_totals table.shop_table tr.tm-vat-row { border-top: 0; padding-top: 0; }
/* Ostukorvi kokkuvõtte read: WooCommerce'i „th { width: 35% }“ ei tohi nime murda. */
.woocommerce-cart .tm-wc .cart_totals table.shop_table tr > th, .woocommerce-cart .tm-wc .cart_totals table.shop_table tr > td { width: auto !important; min-width: 0; }
.tm-wc tr.tm-vat-row > th { white-space: nowrap !important; }
.tm-filter__link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 15px; color: var(--tm-text); text-decoration: none; }
.tm-filter__link:hover { color: var(--tm-link); }
/* Kuumakse al. (hinna all) */
.tm-card__mo { margin: 2px 0 0; font-size: 13.5px; color: var(--tm-text-2); }
.tm-card__mo b { color: var(--tm-text); }
.tm-buybox__mo { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: -6px 0 0; font-size: 15px; color: var(--tm-text-2); }
.tm-buybox__mo b { font-size: 17px; color: var(--tm-text); }
.tm-buybox__mo a { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--tm-link); text-decoration: none; }
.tm-buybox__mo a:hover { text-decoration: underline; }
.tm-inst__chips--p { grid-template-columns: repeat(7, minmax(0, 1fr)); }
@media (max-width: 420px) { .tm-inst__chips--p { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Kuumakse kohe hinna all (tavahind) / hinnakasti lõpus (allahindlus). */
.tm-card__price + .tm-card__mo { margin-top: -8px; }
.tm-card__pricebox .tm-card__mo { margin: 0; }
.tm-card__cta { margin-top: 4px; }
/* Ühtlane hinnaala: hind + kaks rida, sama ülemine ja alumine vahe kõigil kaartidel. */
.tm-card__pricebox { margin-top: auto; display: grid; gap: 2px; padding: 10px 0; }
.tm-card--deal .tm-card__pricebox, .tm-card__pricebox--sale { padding: 10px 12px; }
.tm-card__pricebox .tm-card__price { margin: 0; padding: 0; line-height: 1.2; }
.tm-card__line { margin: 0 !important; min-height: 20px; line-height: 20px; font-size: 13.5px; }
.tm-card__line.tm-card__save { font-size: 14px; }
.tm-card__price + .tm-card__mo { margin-top: 0; }
/* Kaardi read joonduvad reas: tootja 1 rida, nimi kuni 3 rida (koht alati), omadused 1 rida, hinnaala ühtlane. */
.tm-card__brand { min-height: 1.3em; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-card__title { min-height: calc(3 * 1.32em); }
.tm-card .tm-chips { min-height: 24px; max-height: 24px; overflow: hidden; align-content: flex-start; }
.tm-card .tm-chips li { line-height: 16px; }
.tm-deals--wide .tm-card__title, .tm-deals--wide .tm-card .tm-chips { min-height: 0; max-height: none; }
/* Hind algab alati samalt kõrguselt (ülemised read on fikseeritud kõrgusega); vaba ruum jääb hinna ja nupu vahele. */
.tm-card__pricebox { margin-top: 0 !important; }
.tm-card__cta { margin-top: auto !important; }
/* Pakkumise raam ilma paksuse muutuseta (2px raam nihutaks sisu 1px). */
.tm-card--deal { border-width: 1px !important; box-shadow: inset 0 0 0 1px var(--tm-navy); }
.tm-home .tm-deals .tm-card--deal { box-shadow: inset 0 0 0 1px var(--tm-accent), 0 10px 24px -18px rgba(201,74,7,.6); }
.tm-dealspage .tm-card--deal { box-shadow: none; }
.tm-dealspage .tm-card--deal:hover { box-shadow: inset 0 0 0 1px var(--tm-navy); }
/* Kompaktsem kaart (18.10.2026): nimi kuni 2 rida, väiksemad vahed. */
.tm-card { gap: 6px; }
.tm-card__title { min-height: calc(2 * 1.32em); }
.tm-card__title a { -webkit-line-clamp: 2; }
.tm-card__pricebox { padding: 4px 0 0; gap: 0; }
.tm-card--deal .tm-card__pricebox, .tm-card__pricebox--sale { padding: 8px 12px; gap: 1px; }
.tm-card__cta { margin-top: auto !important; padding-top: 6px; }
.tm-card__pricebox { padding-top: 8px; }
.tm-card--deal .tm-card__pricebox, .tm-card__pricebox--sale { padding-top: 8px; }

/* Kaart: võrdle-nupp „Lisa korvi“ kõrval, energiamärk nurgas, pakkumise silt ristkülik (18.10.2026). */
.tm-card__cta { display: flex; gap: 8px; align-items: stretch; }
.tm-card__cta > .button, .tm-card__cta > .tm-btn { flex: 1 1 auto; min-width: 0; }
.tm-cmp-btn--icon { flex: 0 0 auto; width: 46px; min-height: 44px; padding: 0; border: 1.5px solid var(--tm-line-2); border-radius: var(--tm-radius-sm); background: #fff; color: var(--tm-navy); }
.tm-cmp-btn--icon:hover { border-color: var(--tm-navy); color: var(--tm-navy); }
.tm-cmp-btn--icon .tm-cmp-btn__off, .tm-cmp-btn--icon[aria-pressed="true"] .tm-cmp-btn__on { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); display: block; }
.tm-cmp-btn--icon[aria-pressed="true"] { background: var(--tm-navy); border-color: var(--tm-navy); color: #fff; }
.tm-cmp-btn--icon[aria-pressed="true"] svg { background: none; }
.tm-card__media { overflow: visible; }
.tm-card__media img { border-radius: 12px; }
.tm-card__media .tm-energy { top: -4px; left: -4px; }
.tm-card__corner { width: auto !important; height: auto !important; padding: 7px 10px; border-radius: 9px 11px 9px 9px; }
/* Pilt püsib ruudus ka siis, kui meedia kast ei lõika üle ääre (energiamärk nurgas). */
.tm-card__media { aspect-ratio: 1 / 1; }
.tm-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.tm-card__line--spacer { margin-top: -6px !important; }
/* Pilt ruudu sees väikese vahega – laiad, kõrged ja ruudukujulised pildid näevad ühtlased välja. */
.tm-card__media img { inset: 6%; width: 88%; height: 88%; border-radius: 0; }

/* ---------- Energiamärgis: EL-i nool + aken ---------- */
.tm-card { position: relative; }
.tm-ea { display: inline-flex; align-items: stretch; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; font-family: var(--tm-font); }
.tm-ea__l { display: flex; align-items: center; padding: 0 14px 0 7px; background: var(--ea); color: var(--eat); font-weight: 800; font-size: 15px; letter-spacing: -.3px; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); border-radius: 3px 0 0 3px; }
.tm-ea__s { display: flex; flex-direction: column; justify-content: space-between; margin-left: 3px; padding: 1px 0; font-size: 8px; font-weight: 800; line-height: 1; color: var(--tm-text); }
.tm-ea:hover .tm-ea__l, .tm-ea:focus-visible .tm-ea__l { filter: brightness(.92); }
.tm-ea:focus-visible { outline: 3px solid var(--tm-link); outline-offset: 2px; border-radius: 4px; }
.tm-ea--card { position: absolute; top: 10px; left: 10px; z-index: 2; }
.tm-ea--single { height: 30px; }
.tm-ea--single .tm-ea__l { font-size: 19px; padding: 0 17px 0 9px; }
.tm-ea--single .tm-ea__s { font-size: 9.5px; }
.tm-buybox__energy { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--tm-text-2); }
.tm-buybox__energy span:last-child { cursor: default; }
.tm-emodal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(14, 40, 64, .5); }
.tm-emodal[hidden] { display: none; }
.tm-emodal__box { width: min(460px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(18, 50, 79, .5); }
.tm-emodal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--tm-line); }
.tm-emodal__head h2 { margin: 0; font-size: 19px; }
.tm-emodal__head small { display: block; margin-top: 2px; font-size: 13px; color: var(--tm-muted); }
.tm-emodal__x { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--tm-fill-2); color: var(--tm-text); cursor: pointer; }
.tm-emodal__body { padding: 16px 18px 18px; display: grid; gap: 14px; }
.tm-escale { display: grid; gap: 4px; }
.tm-escale div { display: flex; align-items: center; gap: 10px; }
.tm-escale span { display: flex; align-items: center; height: 22px; padding-left: 8px; color: #fff; font-weight: 800; font-size: 13px; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); }
.tm-escale .is-on span { height: 30px; font-size: 16px; }
.tm-escale em { font-style: normal; font-weight: 800; font-size: 13px; color: var(--tm-text); }
.tm-elabel:empty { display: none; }
.tm-elabel img { display: block; width: 100%; height: auto; border: 1px solid var(--tm-line); border-radius: 12px; }
.tm-eprel { background: var(--tm-fill-2); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--tm-text-2); }
.tm-eprel b { color: var(--tm-text); }
.tm-elinks a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--tm-line-2); font-weight: 700; font-size: 14px; color: var(--tm-navy); text-decoration: none; }
.tm-elinks a:hover { border-color: var(--tm-navy); }

/* 1.5.11 – raadionupud: ümar fookusrõngas (Safari kandiline kast), hiireklõpsul rõngast pole */
.tm-wc input[type=radio] { border-radius: 50%; }
.tm-wc input[type=radio]:focus { outline: none; box-shadow: none; }
.tm-wc input[type=radio]:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--tm-navy); }

/* 1.5.12 – uudiskirja kinnitusleht poe kujunduses */
.tm-nlpage { padding: 56px var(--tm-gutter) 72px; display: flex; justify-content: center; }
.tm-nlpage__card { width: 100%; max-width: 560px; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: var(--tm-radius); padding: 40px 36px; text-align: center; box-shadow: 0 10px 30px rgba(18,50,79,.06); }
.tm-nlpage__card h1 { font-size: clamp(24px, 3vw, 30px); margin: 14px 0 10px; }
.tm-nlpage__card p { color: var(--tm-muted); margin: 0 0 18px; line-height: 1.6; }
.tm-nlpage__ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--tm-fill); color: var(--tm-navy); }
.tm-nlpage__ico--check { background: var(--tm-ok-bg, #EEF7F1); color: var(--tm-ok); }
.tm-nlpage__ico svg { stroke-width: 2.4; }
.tm-nlpage__code { border: 2px dashed var(--tm-accent); background: var(--tm-accent-bg); border-radius: var(--tm-radius-sm); padding: 18px; margin: 6px 0 12px; display: grid; gap: 10px; justify-items: center; }
.tm-nlpage__code span { font-size: 14px; color: var(--tm-muted); }
.tm-nlpage__code strong { font-size: clamp(26px, 5vw, 34px); font-weight: 800; letter-spacing: 2px; color: var(--tm-accent); user-select: all; }
.tm-nlpage__copy { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 16px; }
.tm-nlpage .tm-nlpage__small { font-size: 14px; }
.tm-nlpage__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 560px) { .tm-nlpage { padding-top: 24px; } .tm-nlpage__card { padding: 28px 20px; } .tm-nlpage__actions .tm-btn { width: 100%; } }

/* Ostukorvi sooduskoodi rida: veateade koodivälja alla, väli ei kahane */
.tm-wc td.actions .coupon { flex-wrap: wrap; }
.tm-wc td.actions .coupon .input-text { flex: 1 1 180px; min-height: 48px; }
.tm-wc .coupon-error-notice, .tm-wc td.actions .coupon .coupon-error-notice { flex: 0 0 100%; order: 5; margin: 2px 0 0; font-size: 14px; line-height: 1.4; color: var(--tm-bad); }
.tm-wc td.actions .coupon .input-text.has-error { border-color: var(--tm-bad) !important; }
.tm-wc button[name="update_cart"]:not(:disabled):hover, .tm-wc button[name="apply_coupon"]:hover, .tm-wc .woocommerce-form-coupon .button:hover { background: var(--tm-fill) !important; color: var(--tm-navy) !important; }

/* 1.5.13 – jalus alati lehe põhjas (lühike leht, nt ostukorv) */
body { display: flex; flex-direction: column; min-height: 100vh; }
body > .tm-main { flex: 1 0 auto; width: 100%; }
/* Pakkumise silt: nurgas raami vastas, ülemine parem nurk = kaardi sisemine nurk (raadius − 1 px raam) */
.tm-card__corner, .tm-dealspage .tm-card__corner { top: 0; right: 0; border-radius: 9px calc(var(--tm-radius) - 1px) 9px 9px; }
@media (max-width: 900px) {
  .tm-card__corner, .tm-dealspage .tm-card__corner { border-radius: 8px 13px 8px 8px; }
}

/* 1.5.13 – logo B: oranž ümar play-kolmnurk täpi asemel */
.tm-logo { gap: .09em; }
.tm-logo__mark { width: .41em; height: .455em; margin-top: .27em; color: var(--tm-accent); flex: none; }

/* 1.5.17 – Ettevõttest leht */
.tm-co { display: grid; gap: 48px; padding-top: 28px; padding-bottom: 56px; }
.tm-co__hero { background: var(--tm-navy); color: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.tm-co__eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: #FF8A4C; }
.tm-co__hero h1 { margin: 0 0 16px; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -1px; color: #fff; }
.tm-co__lead { margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--tm-sky); max-width: 620px; }
.tm-co__facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tm-co__facts li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 18px; display: grid; gap: 4px; }
.tm-co__facts b { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.5px; color: #fff; }
.tm-co__facts span { font-size: 14px; line-height: 1.4; color: var(--tm-sky); }
.tm-co__body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.tm-co__story { max-width: 720px; font-size: 18px; line-height: 1.75; }
.tm-co__story > :first-child { margin-top: 0; }
.tm-co__story h2 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.4px; margin: 1.6em 0 .5em; }
.tm-co__story p { margin: 0 0 1em; }
.tm-co__story blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--tm-accent); font-size: 20px; font-weight: 600; color: var(--tm-text); }
.tm-co__contact { position: sticky; top: 16px; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: 18px; padding: 24px; display: grid; gap: 14px; }
.tm-co__contact h2 { margin: 0; font-size: 20px; }
.tm-co__contact p { margin: 0; color: var(--tm-muted); line-height: 1.55; }
.tm-co__clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tm-co__clist li { display: flex; align-items: center; gap: 10px; color: var(--tm-accent); }
.tm-co__clist a { color: var(--tm-text); font-weight: 700; font-size: 17px; }
.tm-co__clist a:hover { color: var(--tm-link); }
.tm-co__company { margin: 0; padding-top: 14px; border-top: 1px solid var(--tm-line); display: grid; gap: 6px; font-size: 14px; }
.tm-co__company div { display: flex; justify-content: space-between; gap: 12px; }
.tm-co__company dt { color: var(--tm-muted); }
.tm-co__company dd { margin: 0; font-weight: 600; text-align: right; }
.tm-co__section { display: grid; gap: 20px; }
.tm-co__section .tm-h2 { margin: 0; }
.tm-co__values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tm-co__values li { background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: 18px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.tm-co__values h3 { margin: 0; font-size: 18px; }
.tm-co__values p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--tm-text-2); }
.tm-co__vico { width: 44px; height: 44px; border-radius: 12px; background: var(--tm-accent-bg); color: var(--tm-accent); display: grid; place-items: center; }
.tm-co__cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tm-co__cats a { display: grid; justify-items: center; gap: 10px; padding: 20px 12px; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: 16px; color: var(--tm-text); font-weight: 700; text-align: center; transition: border-color .15s, box-shadow .15s; }
.tm-co__cats a:hover { border-color: var(--tm-navy); box-shadow: 0 8px 20px -14px rgba(18,50,79,.5); }
.tm-co__cats svg { color: var(--tm-navy); }
.tm-co__cta { background: var(--tm-accent-bg); border: 1px solid var(--tm-accent-soft); border-radius: 22px; padding: clamp(24px, 4vw, 40px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.tm-co__cta h2 { margin: 0 0 6px; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.4px; }
.tm-co__cta p { margin: 0; color: var(--tm-text-2); }
.tm-co__ctabtns { display: flex; flex-wrap: wrap; gap: 10px; }
.tm-co__cta .tm-btn--ghost { color: var(--tm-navy); border-color: var(--tm-navy); }
.tm-co__cta .tm-btn--ghost:hover { background: var(--tm-navy); color: #fff; }
@media (max-width: 1100px) { .tm-co__values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .tm-co { gap: 36px; padding-top: 16px; }
  .tm-co__hero { grid-template-columns: 1fr; gap: 28px; border-radius: 18px; }
  .tm-co__body { grid-template-columns: 1fr; }
  .tm-co__contact { position: static; }
  .tm-co__story { font-size: 17px; }
}
@media (max-width: 520px) {
  .tm-co__values { grid-template-columns: 1fr; }
  .tm-co__facts li { padding: 14px; }
  .tm-co__ctabtns .tm-btn { flex: 1 1 100%; }
}

/* Küpsiste nõusolek (1.5.21) */
.tm-cookie { position: fixed; left: 16px; bottom: 16px; z-index: 70; max-width: 480px; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: 16px; box-shadow: 0 16px 40px -18px rgba(18,50,79,.5); padding: 18px; display: grid; gap: 14px; }
.tm-cookie[hidden] { display: none; }
.tm-cookie p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--tm-text-2); }
.tm-cookie a { color: var(--tm-link); text-decoration: underline; }
.tm-cookie__btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tm-cookie__btns .tm-btn { flex: 1 1 140px; min-height: 44px; padding: 10px 16px; }
.tm-cookie__link { border: 0; background: none; padding: 10px 4px; min-height: 44px; font: inherit; font-size: 14px; font-weight: 700; color: var(--tm-link); text-decoration: underline; cursor: pointer; }
body.tm-has-cmpbar .tm-cookie { bottom: 104px; }
.tm-cprefs__box { position: relative; width: min(560px, 100%); max-height: 92vh; overflow-y: auto; background: var(--tm-surface); border-radius: 22px; padding: 28px; display: grid; gap: 14px; box-shadow: 0 30px 60px -20px rgba(14,40,64,.5); }
.tm-cprefs__box h2 { margin: 0; font-size: 24px; padding-right: 48px; }
.tm-cprefs__lead { margin: 0; color: var(--tm-text-2); font-size: 15px; line-height: 1.5; }
.tm-cprefs__row { display: flex; gap: 16px; align-items: center; justify-content: space-between; border: 1px solid var(--tm-line); border-radius: 14px; padding: 14px 16px; cursor: pointer; }
.tm-cprefs__row h3 { margin: 0 0 4px; font-size: 16px; }
.tm-cprefs__row p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--tm-muted); }
.tm-cprefs__always { flex: none; font-size: 13px; font-weight: 700; color: var(--tm-ok); }
.tm-cprefs__btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 4px; }
.tm-cprefs__btns .tm-btn { flex: 1 1 160px; min-height: 48px; }
.tm-switch { position: relative; flex: none; width: 48px; height: 28px; }
.tm-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.tm-switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--tm-line-2, #C9D3DE); transition: background .15s; pointer-events: none; }
.tm-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.tm-switch input:checked + span { background: var(--tm-ok); }
.tm-switch input:checked + span::after { transform: translateX(20px); }
.tm-switch input:focus-visible + span { outline: 3px solid rgba(11,92,173,.35); outline-offset: 2px; }
.tm-footer__cbtn { border: 0; background: none; padding: 0; font: inherit; color: #A9BBCD; text-decoration: underline; text-decoration-color: rgba(169,187,205,.4); text-underline-offset: 3px; cursor: pointer; }
.tm-footer__cbtn:hover { color: #fff; }
@media (max-width: 900px) {
  .tm-cookie { left: 10px; right: 10px; max-width: none; bottom: calc(68px + env(safe-area-inset-bottom)); padding: 14px; }
  body.tm-has-cmpbar .tm-cookie { bottom: calc(150px + env(safe-area-inset-bottom)); }
  .tm-cprefs { place-items: end stretch; padding: 0; }
  .tm-cprefs__box { border-radius: 22px 22px 0 0; padding: 22px 18px; }
}

/* 1.5.20 – ostukorvi salvestamise aken ja tasuta tarne riba */
.tm-nl--cart .tm-nl__side { background: var(--tm-navy); }
.tm-nl__small { margin: 0; font-size: 13px; line-height: 1.45; color: var(--tm-muted); }
.tm-nl__small a { color: var(--tm-link); text-decoration: underline; }
.tm-freebar { background: var(--tm-accent-bg); border: 1px solid var(--tm-accent-soft); border-radius: 14px; padding: 12px 14px; margin: 0 0 16px; display: grid; gap: 10px; }
.tm-freebar p { margin: 0; display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; color: var(--tm-text); }
.tm-freebar p svg { flex: none; color: var(--tm-accent); margin-top: 1px; }
.tm-freebar__track { display: block; height: 8px; border-radius: 99px; background: #fff; overflow: hidden; }
.tm-freebar__track span { display: block; height: 100%; border-radius: inherit; background: var(--tm-accent); transition: width .3s; }
.tm-freebar.is-done { background: var(--tm-ok-bg, #EEF7F1); border-color: var(--tm-ok-line, #BFDFCB); }
.tm-freebar.is-done p svg { color: var(--tm-ok); }
.tm-freebar.is-done .tm-freebar__track span { background: var(--tm-ok); }
body.tm-locked .tm-cookie { display: none; }

/* 1.5.21 – Minu konto: sisselogimine/registreerumine */
.tm-auth { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; grid-column: 1 / -1; }
.tm-auth--single { grid-template-columns: minmax(0, 520px); justify-content: center; }
.tm-auth__card { background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.tm-auth__head { display: flex; gap: 14px; align-items: center; }
.tm-auth__head h2 { margin: 0; font-size: 24px; letter-spacing: -.3px; }
.tm-auth__head p { margin: 2px 0 0; color: var(--tm-muted); font-size: 15px; }
.tm-auth__ico { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--tm-fill); color: var(--tm-navy); display: grid; place-items: center; }
.tm-auth__ico--accent { background: var(--tm-accent-bg); color: var(--tm-accent); }
.tm-auth__form { display: flex; flex-direction: column; gap: 14px; flex: 1; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.tm-auth__form .form-row { margin: 0 !important; padding: 0 !important; }
.tm-auth__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.tm-auth__row label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500 !important; margin: 0; }
.tm-auth__lost { font-weight: 600; color: var(--tm-link); }
.tm-auth__foot { margin-top: auto; padding-top: 4px; }
.tm-wc .tm-auth__btn { width: 100%; min-height: 52px !important; font-size: 16px !important; }
.tm-wc .tm-auth__btn--accent { background: var(--tm-accent) !important; border-color: var(--tm-accent) !important; }
.tm-wc .tm-auth__btn--accent:hover { background: var(--tm-accent-2) !important; }
.tm-auth__perks { list-style: none; margin: 0; padding: 14px 16px; background: var(--tm-bg); border-radius: 14px; display: grid; gap: 8px; }
.tm-auth__perks li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--tm-text-2); }
.tm-auth__perks svg { flex: none; color: var(--tm-ok); }
.tm-auth__note, .tm-auth__form .woocommerce-privacy-policy-text p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--tm-muted); }
.tm-auth__form .woocommerce-privacy-policy-text a { color: var(--tm-link); }
.tm-nl-opt label span { font-size: 14px; }

/* Minu konto: sisseloginud */
.woocommerce-account .tm-wc .woocommerce { grid-template-columns: 270px minmax(0, 1fr); }
.tm-wc .tm-accnav { padding: 12px; position: sticky; top: 16px; }
.tm-accnav__user { display: flex; gap: 12px; align-items: center; padding: 8px 8px 14px; margin-bottom: 8px; border-bottom: 1px solid var(--tm-line); min-width: 0; }
.tm-accnav__user div { display: grid; min-width: 0; }
.tm-accnav__user strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-accnav__user span { font-size: 13px; color: var(--tm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-accnav__avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--tm-navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.tm-wc .tm-accnav a { display: flex !important; align-items: center; gap: 10px; }
.tm-wc .tm-accnav a svg { flex: none; opacity: .8; }
.tm-wc .tm-accnav .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--tm-line); }
.tm-wc .tm-accnav .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--tm-muted) !important; }
.tm-accdash { display: grid; gap: 20px; }
.tm-accdash__hello h2 { margin: 0 0 4px; font-size: 26px; letter-spacing: -.4px; }
.tm-accdash__hello p { margin: 0; color: var(--tm-muted); }
.tm-accdash__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tm-accdash__tiles a { height: 100%; display: grid; gap: 4px; align-content: start; padding: 18px; border: 1px solid var(--tm-line); border-radius: 16px; background: var(--tm-bg); color: var(--tm-text); transition: border-color .15s, box-shadow .15s; }
.tm-accdash__tiles a:hover { border-color: var(--tm-navy); box-shadow: 0 8px 20px -14px rgba(18,50,79,.5); }
.tm-accdash__tiles svg { color: var(--tm-accent); margin-bottom: 6px; }
.tm-accdash__tiles b { font-size: 16px; }
.tm-accdash__tiles span { font-size: 14px; color: var(--tm-muted); }
.tm-accdash__last { border: 1px solid var(--tm-line); border-radius: 16px; padding: 16px 18px; display: grid; gap: 12px; }
.tm-accdash__lasthead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tm-accdash__lasthead h3 { margin: 0; font-size: 17px; }
.tm-accdash__lasthead a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--tm-link); font-size: 14px; }
.tm-accdash__order { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 14px; align-items: center; }
.tm-accdash__img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--tm-line); }
.tm-accdash__meta { display: grid; gap: 2px; min-width: 0; }
.tm-accdash__meta span { font-size: 14px; color: var(--tm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-accdash__status { font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: var(--tm-fill); color: var(--tm-navy); white-space: nowrap; }
.tm-accdash__status--completed, .tm-accdash__status--processing { background: var(--tm-ok-bg, #EEF7F1); color: var(--tm-ok); }
.tm-accdash__status--pending, .tm-accdash__status--on-hold { background: var(--tm-accent-bg); color: var(--tm-accent-2); }
.tm-accdash__status--cancelled, .tm-accdash__status--failed { background: var(--tm-bad-bg, #FDF3F2); color: var(--tm-bad); }
.tm-accdash__sum { white-space: nowrap; }
.tm-accnl { margin-top: 24px; background: var(--tm-navy); color: #fff; border-radius: 18px; padding: 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.tm-accnl h3 { margin: 0 0 6px; font-size: 20px; color: #fff; }
.tm-accnl p { margin: 0; color: var(--tm-sky); font-size: 15px; line-height: 1.5; }
.tm-accnl__form { display: grid; gap: 10px; }
.tm-accnl .tm-nl__consent { color: var(--tm-sky); }
.tm-accnl .tm-btn { min-height: 48px; white-space: normal; }
.tm-accnl .tm-nl__msg { color: #FFB38A; }
.tm-accnl__ok { color: #fff !important; font-weight: 600; }
.tm-accoffers { margin-top: 24px; display: grid; gap: 14px; }
.tm-accoffers__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tm-accoffers__head h3 { margin: 0; font-size: 20px; }
.tm-accoffers__head a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--tm-link); }
.tm-wc .tm-accoffers__grid, .tm-accoffers__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; margin: 0; }
@media (max-width: 1100px) { .woocommerce-account .tm-wc .woocommerce { grid-template-columns: 230px minmax(0, 1fr); } .tm-accdash__tiles { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .tm-auth { grid-template-columns: 1fr; }
  .tm-auth__card { padding: 20px; }
  .woocommerce-account .tm-wc .woocommerce { grid-template-columns: 1fr; }
  .tm-wc .tm-accnav { position: static; }
  .tm-wc .tm-accnav ul { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .tm-wc .tm-accnav li { flex: none; }
  .tm-wc .tm-accnav .woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; padding: 0; border: 0; }
  .tm-accnl { grid-template-columns: 1fr; }
  .tm-accdash__order { grid-template-columns: auto minmax(0, 1fr); }
  .tm-accdash__status, .tm-accdash__sum { grid-column: 2; justify-self: start; }
  .tm-wc .tm-accoffers__grid, .tm-accoffers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
/* Konto: parandused (avatar, kiirlingid, tootekaardid WooCommerce'i konto stiilide sees) */
.tm-accnav__user .tm-accnav__avatar { color: #fff; font-size: 17px; overflow: visible; }
.tm-wc .tm-accdash__tiles a b { color: var(--tm-text); }
.tm-wc .tm-accoffers .tm-card a:not(.tm-btn) { color: var(--tm-text); text-decoration: none; }
.woocommerce .tm-accoffers ul.products li.product a img, .tm-accoffers .tm-card__media img { position: absolute; inset: 6%; width: 88% !important; height: 88% !important; margin: 0 !important; object-fit: contain; box-shadow: none; }
.woocommerce .tm-accoffers ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; }
.tm-wc .tm-auth form.tm-auth__form { background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.tm-wc .tm-nl-opt label, .tm-wc .tm-ac-consent label { font-weight: 500 !important; font-size: 14px; line-height: 1.45; }

/* 1.5.22 – Minu konto: „Too sõber“ */
.tm-ref { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 24px; align-items: center; border: 2px solid var(--tm-accent); background: var(--tm-accent-bg); border-radius: 16px; padding: 20px; margin-top: 20px; }
.tm-ref__tag { display: inline-block; background: var(--tm-accent); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; border-radius: 6px; padding: 4px 8px; margin-bottom: 8px; }
.tm-ref h3 { margin: 0 0 6px; font-size: 22px; }
.tm-ref p { margin: 0; color: var(--tm-text-2); font-size: 15px; line-height: 1.5; }
.tm-ref__box { display: grid; gap: 12px; justify-items: stretch; }
.tm-ref__code { display: block; text-align: center; background: #fff; border: 2px dashed var(--tm-accent); border-radius: 12px; padding: 12px; font-size: 22px; font-weight: 800; letter-spacing: 1.5px; color: var(--tm-accent); user-select: all; }
.tm-ref__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-ref__btns .tm-btn { flex: 1 1 auto; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.tm-wc .tm-ref__btns a.tm-btn--outline { color: var(--tm-navy); }
@media (max-width: 900px) { .tm-ref { grid-template-columns: 1fr; } }

/* 1.5.23 – konto: uudiskirja olek, eelistused, „Too sõber“ leht */
.tm-accnl--state { display: block; }
.tm-accnl__state { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.tm-accnl__state > div { flex: 1 1 280px; }
.tm-accnl__state h3 { margin: 0 0 4px; }
.tm-accnl__stico { flex: none; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.tm-accnl .tm-accnl__resend { color: #fff; border-color: rgba(255,255,255,.5); min-height: 44px; }
.tm-accnl .tm-accnl__resend:hover { background: rgba(255,255,255,.1); color: #fff; }
.tm-prefs { display: grid; gap: 12px; margin-top: 18px; }
.tm-pref { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--tm-line); border-radius: 14px; padding: 16px 18px; margin: 0 !important; background: var(--tm-surface); }
.tm-pref__txt h3 { margin: 0 0 4px; font-size: 17px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tm-pref__txt p { margin: 0; font-size: 14px; color: var(--tm-muted); line-height: 1.45; }
.tm-pref__st { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: var(--tm-ok-bg, #EEF7F1); color: var(--tm-ok); }
.tm-pref .tm-btn { flex: none; min-height: 44px; }
.tm-wc button.tm-tgl { flex: none; position: relative; display: block; width: 52px !important; height: 30px !important; min-height: 0 !important; min-width: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 99px !important; background: #C9D3DE !important; box-shadow: none !important; cursor: pointer; transition: background .15s; }
.tm-wc button.tm-tgl[aria-checked="true"] { background: var(--tm-ok) !important; }
.tm-wc button.tm-tgl span { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.tm-wc button.tm-tgl[aria-checked="true"] span { transform: translateX(22px); }
.tm-wc button.tm-tgl:focus-visible { outline: 3px solid rgba(11,92,173,.35); outline-offset: 2px; }
.tm-ref__how { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.tm-ref__how li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--tm-text-2); }
.tm-ref__how li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tm-navy); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.tm-wc .tm-accnl .tm-accnl__resend { background: transparent !important; color: #fff !important; border: 2px solid rgba(255,255,255,.6) !important; }
.tm-wc .tm-accnl .tm-accnl__resend:hover { background: rgba(255,255,255,.12) !important; }
.tm-ref__how li span { padding-top: 3px; }

/* 1.5.24 – lühikesel lehel ei venita ruudustiku ridu (jalus lehe põhjas tegi tühja vahe pealkirja alla) */
body > .tm-main { align-content: start; }
.woocommerce-account .tm-wc .woocommerce { align-content: start; }
/* Konto: aadressid kaartidena */
.tm-wc .woocommerce-MyAccount-content > p:first-of-type { margin-top: 0; color: var(--tm-muted); }
.tm-wc .woocommerce-Addresses { margin-top: 14px; }
.tm-wc .woocommerce-Addresses::before, .tm-wc .woocommerce-Addresses::after { content: none !important; }
.tm-wc .woocommerce-Address { width: auto !important; float: none !important; border: 1px solid var(--tm-line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--tm-bg); }
.tm-wc .woocommerce-Address-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0; }
.tm-wc .woocommerce-Address-title::before, .tm-wc .woocommerce-Address-title::after { content: none !important; }
.tm-wc .woocommerce-Address-title h2 { margin: 0; font-size: 18px; float: none !important; }
.tm-wc .woocommerce-Address-title .edit { float: none !important; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 2px solid var(--tm-navy); border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--tm-navy) !important; text-decoration: none; background: #fff; }
.tm-wc .woocommerce-Address-title .edit:hover { background: var(--tm-navy); color: #fff !important; }
.tm-wc .woocommerce-Address address { margin: 0; font-style: normal; line-height: 1.6; color: var(--tm-text-2); }
@media (max-width: 700px) { .tm-wc .woocommerce-Addresses { grid-template-columns: 1fr; } }

/* ---------- Avalehe teemaplokk taustapildiga (1.5.32) ---------- */
.tm-theme { position: relative; overflow: hidden; border-radius: 20px; background: var(--tm-navy-2); min-height: 520px; display: grid; isolation: isolate; }
.tm-theme__bg, .tm-theme__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tm-theme__bg { z-index: -2; pointer-events: none; }
.tm-theme__bg img { object-fit: cover; z-index: -2; }
.tm-theme::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,40,64,.94) 0%, rgba(14,40,64,.82) 38%, rgba(14,40,64,.25) 62%, rgba(14,40,64,0) 78%); }
.tm-theme__in { position: relative; z-index: 1; padding: 52px 56px; max-width: 700px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.tm-theme__text { display: grid; gap: 14px; justify-items: start; }
.tm-theme__tag { background: var(--tm-accent); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding: 6px 12px; border-radius: 6px; }
.tm-theme h2 { margin: 0; color: #fff; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; font-weight: 800; letter-spacing: -.6px; }
.tm-theme__text p { margin: 0; color: var(--tm-sky); font-size: 17px; line-height: 1.55; max-width: 520px; }
.tm-theme__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.tm-theme__btns .tm-btn { min-height: 48px; padding: 0 22px; font-size: 16px; }
.tm-theme__ghost { border: 1.5px solid rgba(255,255,255,.6); color: #fff; background: transparent; }
.tm-theme__ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.tm-theme__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tm-theme__list a { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 10px; color: var(--tm-navy); text-decoration: none; height: 100%; box-sizing: border-box; transition: transform .15s; }
.tm-theme__list a:hover { transform: translateY(-2px); }
.tm-theme__img { flex: none; width: 56px; height: 56px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tm-theme__img img { width: 100%; height: 100%; object-fit: contain; }
.tm-theme__meta { display: grid; gap: 2px; min-width: 0; }
.tm-theme__name { font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tm-theme__price { font-size: 15px; font-weight: 800; }
.tm-theme__price del { font-size: 12px; font-weight: 500; color: var(--tm-muted); }
.tm-theme__price ins { text-decoration: none; color: var(--tm-accent-2); }
@media (max-width: 700px) {
  .tm-theme { min-height: 0; display: block; border-radius: 18px; }
  .tm-theme__bg { position: relative; display: block; height: 300px; }
  .tm-theme__bg img { position: absolute; z-index: 0; }
  .tm-theme::before { top: 140px; bottom: auto; height: 160px; z-index: 1; background: linear-gradient(180deg, rgba(14,40,64,0) 0%, rgba(14,40,64,.96) 100%); }
  .tm-theme__in { position: relative; z-index: 2; margin-top: -120px; padding: 0 18px 20px; gap: 18px; max-width: none; }
  .tm-theme h2 { font-size: 26px; }
  .tm-theme__text p { font-size: 15px; }
  .tm-theme__btns { width: 100%; }
  .tm-theme__btns .tm-btn { flex: 1 1 auto; justify-content: center; }
  .tm-theme__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -18px; padding: 0 18px 2px; scrollbar-width: none; }
  .tm-theme__list::-webkit-scrollbar { display: none; }
  .tm-theme__list li { flex: 0 0 72%; scroll-snap-align: start; }
}

/* ---------- Kaks teemakaarti kõrvuti (1.5.33) ---------- */
.tm-tcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tm-tcard { position: relative; isolation: isolate; overflow: hidden; border-radius: 20px; min-height: 400px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; background: var(--tm-navy-2); }
.tm-tcard__bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.tm-tcard__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tm-tcard:hover .tm-tcard__bg img { transform: scale(1.03); }
.tm-tcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,40,64,0) 18%, rgba(14,40,64,.72) 48%, rgba(14,40,64,.94) 72%, rgba(14,40,64,.97) 100%); }
.tm-tcard__in { display: grid; gap: 10px; justify-items: start; padding: 28px 30px; }
.tm-tcard__h { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; line-height: 1.15; letter-spacing: -.4px; }
.tm-tcard__p { font-size: 15px; line-height: 1.5; color: var(--tm-sky); max-width: 460px; }
.tm-tcard__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; min-height: 44px; padding: 0 18px; border-radius: 12px; background: var(--tm-accent); font-weight: 800; font-size: 15px; }
.tm-tcard:hover, .tm-tcard:focus, .tm-tcard:visited, .tm-tcard:hover * { color: #fff; }
.tm-tcard:hover .tm-tcard__p { color: var(--tm-sky); }
.tm-tcard:hover .tm-tcard__cta { background: var(--tm-accent-2); }
.tm-theme__list a:hover, .tm-theme__list a:hover * { color: var(--tm-navy); }
.tm-theme__list a:hover .tm-theme__price ins { color: var(--tm-accent-2); }
.tm-tcard:focus-visible { outline: 3px solid var(--tm-accent); outline-offset: 3px; }

/* ---------- Köögiplokk fotoga vasakul (1.5.33) ---------- */
.tm-feature--photo { padding: 0; overflow: hidden; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "photo text" "photo list"; gap: 22px 36px; align-items: start; }
.tm-feature__photo { grid-area: photo; position: relative; min-height: 420px; height: 100%; }
.tm-feature__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tm-feature--photo .tm-feature__text { grid-area: text; padding: 36px 36px 0 0; }
.tm-feature--photo .tm-feature__list { grid-area: list; padding: 0 36px 36px 0; }

/* ---------- Brändibänner (1.5.35) ---------- */
.tm-brandban { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3.4fr); gap: 20px; align-items: stretch; padding: 26px; border-radius: 20px; background: linear-gradient(135deg, var(--tm-fill) 0%, var(--tm-fill-2) 60%, #fff 100%); border: 1px solid var(--tm-line); }
.tm-brandban__info { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 12px 8px 12px 14px; }
.tm-brandban__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--tm-link); }
.tm-brandban__brand { margin: 0; line-height: 1; min-height: 52px; display: flex; align-items: center; }
.tm-brandban__logo { height: 44px; width: auto; max-width: 240px; object-fit: contain; }
.tm-brandban__word { font-size: clamp(32px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.8px; color: var(--tm-navy); }
.tm-brandban__stats { margin: 0; color: var(--tm-text-2); font-size: 15px; }
.tm-brandban__stats strong { color: var(--tm-navy); }
.tm-brandban__cats { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tm-brandban__cats a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--tm-line); font-size: 13px; font-weight: 600; color: var(--tm-navy); }
.tm-brandban__cats a:hover { border-color: var(--tm-navy); color: var(--tm-navy); }
.tm-brandban__all { margin-top: auto; gap: 6px; min-height: 48px; }
.tm-brandban__hero { background: #fff; border-radius: 16px; padding: 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: center; box-shadow: 0 10px 26px -20px rgba(18,50,79,.45); }
.tm-brandban__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; }
.tm-brandban__img img { width: 100%; height: 100%; object-fit: contain; }
.tm-brandban__meta { display: grid; gap: 10px; justify-items: start; }
.tm-brandban__meta h3 { margin: 0; font-size: 17px; line-height: 1.32; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tm-brandban__meta h3 a { color: var(--tm-navy); }
.tm-brandban__price, .tm-brandban__price .price { font-size: 26px; font-weight: 800; letter-spacing: -.4px; line-height: 1.1; }
.tm-brandban__price del { font-size: 15px; font-weight: 500; color: var(--tm-muted); }
.tm-brandban__price ins { text-decoration: none; color: var(--tm-accent-2); }
.tm-brandban__meta .button { min-height: 44px; padding: 0 18px; }
.tm-brandban__meta .added_to_cart { font-weight: 700; color: var(--tm-link); }
.tm-brandban__more { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: stretch; }
.tm-brandban__more a { display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 4px; align-items: center; height: 100%; box-sizing: border-box; background: #fff; border-radius: 14px; padding: 12px; color: var(--tm-navy); }
.tm-brandban__more a:hover { box-shadow: 0 8px 20px -16px rgba(18,50,79,.5); color: var(--tm-navy); }
.tm-brandban__thumb { grid-row: 1 / 3; width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; }
.tm-brandban__thumb img { width: 100%; height: 100%; object-fit: contain; }
.tm-brandban__mname { font-size: 13px; font-weight: 600; line-height: 1.3; align-self: end; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tm-brandban__mprice { font-size: 16px; font-weight: 800; align-self: start; }
.tm-brandban__mprice del { font-size: 12px; font-weight: 500; color: var(--tm-muted); }
.tm-brandban__mprice ins { text-decoration: none; color: var(--tm-accent-2); }
@media (max-width: 1100px) {
  .tm-brandban { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .tm-brandban__more { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .tm-tcards { grid-template-columns: 1fr; gap: 16px; }
  .tm-tcard { min-height: 340px; border-radius: 18px; }
  .tm-feature--photo { grid-template-columns: 1fr; grid-template-areas: "photo" "text" "list"; gap: 18px; }
  .tm-feature__photo { min-height: 220px; height: 220px; }
  .tm-feature--photo .tm-feature__text { padding: 4px 22px 0; }
  .tm-feature--photo .tm-feature__list { padding: 0 22px 22px; }
  .tm-brandban { grid-template-columns: 1fr; padding: 16px; gap: 14px; }
  .tm-brandban__info { padding: 6px 4px 2px; }
  .tm-brandban__all { margin-top: 6px; }
  .tm-brandban__hero { grid-template-columns: 120px minmax(0, 1fr); padding: 12px; gap: 12px; }
  .tm-brandban__meta h3 { font-size: 14px; }
  .tm-brandban__price, .tm-brandban__price .price { font-size: 21px; }
  .tm-brandban__more { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Avalehe algus v2: hero + päeva pakkumine + kategooriarida (1.5.38) ---------- */
.tm-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "card ban" "tiles tiles"; gap: 20px; }
.tm-hero__card { grid-area: card; }
.tm-hero > .tm-dayban, .tm-hero > .tm-tcards, .tm-hero > .tm-trustban { grid-area: ban; }
.tm-tilesrow { grid-area: tiles; }
.tm-tilesrow .tm-tiles { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.tm-tilesrow .tm-tile { min-height: 0; padding: 14px 6px; gap: 8px; font-size: 14px; }
.tm-tilesrow .tm-tile__ico { width: 46px; height: 46px; border-radius: 12px; }
.tm-tilesrow .tm-tile__ico svg { width: 26px; height: 26px; }
.tm-tilesrow .tm-tile__name { min-height: 2.5em; line-height: 1.25; }
.tm-tcards--one { grid-template-columns: 1fr; }
.tm-tcards--one .tm-tcard { min-height: 100%; }

.tm-dayban { display: flex; flex-direction: column; gap: 14px; padding: 22px 24px 24px; border-radius: 22px; background: linear-gradient(160deg, var(--tm-accent-bg) 0%, #FFE9DB 100%); border: 1px solid var(--tm-accent-soft); min-width: 0; }
.tm-dayban__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tm-dayban__tag { display: inline-flex; align-items: center; gap: 6px; background: var(--tm-accent); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding: 6px 12px; border-radius: 8px; }
.tm-dayban__cd { display: inline-flex; align-items: center; gap: 8px; background: var(--tm-navy); color: var(--tm-sky); font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 7px 12px; border-radius: 10px; }
.tm-dayban__cd strong { color: #fff; font-size: 17px; letter-spacing: .5px; font-variant-numeric: tabular-nums; text-transform: none; }
.tm-dayban__body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 22px; align-items: center; }
.tm-dayban__img { position: relative; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 18px; aspect-ratio: 1 / 1; max-height: 330px; padding: 18px; box-sizing: border-box; }
.tm-dayban__img img { width: 100%; height: 100%; object-fit: contain; }
.tm-dayban__pct { position: absolute; top: 12px; left: 12px; background: var(--tm-accent); color: #fff; font-weight: 800; font-size: 18px; padding: 6px 10px; border-radius: 10px; line-height: 1; }
.tm-dayban__info { display: grid; gap: 10px; justify-items: start; min-width: 0; }
.tm-dayban h2 { margin: 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.28; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tm-dayban h2 a { color: var(--tm-navy); }
.tm-dayban__price { font-size: clamp(34px, 3.2vw, 44px); font-weight: 800; letter-spacing: -1px; line-height: 1; color: var(--tm-accent-2); }
.tm-dayban__was { margin: 0; font-size: 15px; color: var(--tm-muted); }
.tm-dayban__was strong { color: var(--tm-ok); }
.tm-dayban .tm-omnibus { font-size: 12px; }
.tm-dayban__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 4px; }
.tm-dayban__btns .button { min-height: 48px; padding: 0 22px; font-size: 16px; }
.tm-dayban__btns .added_to_cart { font-weight: 700; color: var(--tm-link); }
.tm-dayban__all { font-size: 14px; font-weight: 700; color: var(--tm-navy); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) {
  .tm-tilesrow .tm-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .tm-hero { grid-template-columns: 1fr; grid-template-areas: "card" "tiles" "ban"; gap: 14px; }
  .tm-tilesrow { margin: 0 -16px; overflow-x: auto; scrollbar-width: none; }
  .tm-tilesrow::-webkit-scrollbar { display: none; }
  .tm-tilesrow .tm-tiles { display: flex; gap: 10px; padding: 0 16px; width: max-content; }
  .tm-tilesrow .tm-tiles li { flex: 0 0 92px; }
  .tm-tilesrow .tm-tile { padding: 10px 4px; font-size: 12px; gap: 6px; }
  .tm-tilesrow .tm-tile__ico { width: 40px; height: 40px; }
  .tm-tilesrow .tm-tile__ico svg { width: 22px; height: 22px; }
  .tm-dayban { padding: 16px; border-radius: 18px; }
  .tm-dayban__top { flex-wrap: nowrap; gap: 8px; }
  .tm-dayban__tag { font-size: 11px; padding: 5px 8px; letter-spacing: .3px; white-space: nowrap; }
  .tm-dayban__cd { font-size: 11px; padding: 5px 8px; gap: 5px; white-space: nowrap; }
  .tm-dayban__cd strong { font-size: 14px; }
  .tm-dayban__body { grid-template-columns: 130px minmax(0, 1fr); gap: 14px; align-items: start; }
  .tm-dayban__img { padding: 8px; border-radius: 14px; }
  .tm-dayban__pct { font-size: 13px; padding: 4px 7px; top: 6px; left: 6px; }
  .tm-dayban h2 { font-size: 15px; }
  .tm-dayban__price { font-size: 28px; }
  .tm-dayban__was { font-size: 13px; }
  .tm-dayban__btns { grid-column: 1 / -1; }
}

/* ---------- Usaldusbänner avalehe algusesse (1.5.39, 1.5.41 kategooriad) ---------- */
.tm-trustban__lead { margin: 0; color: var(--tm-sky); font-size: 16px; line-height: 1.5; max-width: 420px; }
.tm-trustban__cta { gap: 6px; min-height: 50px; padding: 0 22px; font-size: 16px; margin-top: 4px; }
.tm-trustban__cta::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.tm-trustban__in > * { position: relative; z-index: 1; }
.tm-trustban__in > .tm-trustban__cta { position: static; }
.tm-trustban:hover .tm-trustban__cta { background: var(--tm-accent-2); }
.tm-trustban__cats { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tm-trustban__cats a { display: inline-flex; align-items: center; gap: 3px; min-height: 38px; padding: 0 12px; border-radius: 999px; background: #fff; color: var(--tm-navy); font-size: 14px; font-weight: 700; transition: background .15s, color .15s; }
.tm-trustban__cats a:hover { background: var(--tm-accent); color: #fff; }
.tm-trustban__trust { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--tm-sky); font-size: 13px; font-weight: 600; }
.tm-trustban__trust span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.tm-trustban__trust svg { flex: none; }
.tm-trustban { position: relative; isolation: isolate; overflow: hidden; border-radius: 22px; min-height: 420px; display: flex; align-items: center; background: var(--tm-navy-2); color: #fff; }
.tm-trustban__bg, .tm-trustban__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tm-trustban__bg { z-index: -2; pointer-events: none; }
.tm-trustban__bg img { object-fit: cover; }
.tm-trustban::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,40,64,.92) 0%, rgba(14,40,64,.78) 34%, rgba(14,40,64,.2) 58%, rgba(14,40,64,0) 70%); }
.tm-trustban__in { display: grid; gap: 14px; justify-items: start; padding: 30px; width: 60%; box-sizing: border-box; }
.tm-trustban h2 { margin: 0; color: #fff; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; font-weight: 800; letter-spacing: -.5px; max-width: 560px; }
.tm-trustban__list { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 8px; justify-items: start; }
.tm-trustban__list li { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
.tm-trustban__list li a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.tm-trustban__list li a:hover { color: #fff; }
.tm-trustban__list svg { flex: none; }
.tm-trustban__more { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-weight: 700; font-size: 15px; margin-top: 2px; }
.tm-trustban__more:hover { color: var(--tm-accent-soft); }
@media (max-width: 900px) {
  .tm-trustban { display: block; min-height: 0; border-radius: 18px; }
  .tm-trustban__bg { position: relative; display: block; height: 220px; }
  .tm-trustban__bg img { position: absolute; }
  .tm-trustban::before { top: 120px; bottom: auto; height: 100px; background: linear-gradient(180deg, rgba(14,40,64,0) 0%, rgba(14,40,64,1) 100%) !important; z-index: 0; }
  .tm-trustban__in { position: relative; z-index: 1; padding: 6px 18px 20px; width: auto; }
  .tm-trustban__list li { font-size: 13px; padding: 6px 10px; }
}

/* ---------- Hero ja uue kodu bänner ühtse tervikuna (1.5.45): pealkirjad ühelt kõrguselt, nupud ühel joonel ---------- */
@media (min-width: 901px) {
  .tm-hero { align-items: stretch; }
  .tm-hero__card { justify-content: flex-start; padding: 52px 48px 48px; gap: 18px; border-radius: 22px; }
  .tm-hero__cta { margin-top: auto; }
  .tm-hero__cta .tm-btn { min-height: 52px; }
  .tm-trustban { align-items: stretch; }
  .tm-trustban__in { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 52px 48px 48px; }
  .tm-trustban h2 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; }
  .tm-trustban__lead { font-size: 16px; }
  .tm-trustban__trust { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 2px; }
  .tm-trustban__cta { margin-top: auto; min-height: 52px; }
}
.tm-trustban__cta.tm-btn--accent { background: #fff; color: var(--tm-navy); }
.tm-trustban:hover .tm-trustban__cta, .tm-trustban__cta.tm-btn--accent:hover { background: var(--tm-accent); color: #fff; }
.tm-delivery { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--tm-ok-bg, #EEF7F1); border: 1px solid var(--tm-ok-line, #BFDFCB); color: var(--tm-navy); font-size: 15px; }
.tm-delivery svg { flex: none; color: var(--tm-ok); }
.tm-delivery strong { color: var(--tm-ok); }
