/*
Theme Name: Tapet.Center
Description: Catalogue theme for Tapet.Center – light, modern, rounded; pictures first; RTL; nothing moves.
Author: Plus Design
Version: 0.2.0
Text Domain: tapet-center
*/

:root {
  --bg: #f4f4f2;
  --card: #ffffff;
  --ink: #111111;
  --ink-2: #4d4d4a;
  --ink-3: #6b6b67;
  --line: #e3e3df;
  --soft: #ececea;
  --accent: #f2b705;
  --accent-ink: #1a1500;
  --ok: #1f7a3d;
  --err: #b3261e;
  --font: 'Rubik', 'Segoe UI', Arial, sans-serif;
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --pill: 999px;
  --gut: clamp(16px, 3vw, 44px);
  --wrap: min(1440px, 100% - 2 * var(--gut));
  --bar: 76px;
  --shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 8px 24px rgba(17, 17, 17, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3 { font-family: var(--font); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -.02em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
:target, :focus { scroll-margin-top: calc(var(--bar) + 24px); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tc-skip { position: absolute; inset-inline-start: 12px; top: -80px; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 100; font-weight: 600; border-radius: var(--pill); }
.tc-skip:focus { top: 12px; }

/* ---------------------------------------------------------------- header */
.tc-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 244, 242, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .tc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tc-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .tc-header { top: 0; } }
.tc-header__in { width: var(--wrap); margin-inline: auto; min-height: var(--bar); display: flex; align-items: center; gap: clamp(10px, 1.8vw, 28px); position: relative; }
.tc-logo { font: 600 19px/1 var(--font); letter-spacing: .22em; text-decoration: none; white-space: nowrap; color: var(--ink); }
.tc-logo i { font-style: normal; color: var(--accent); }
.tc-search { flex: 1 1 280px; max-width: 520px; display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--pill); height: 46px; padding: 0 18px; color: var(--ink-3); }
.tc-search:focus-within { border-color: var(--ink); color: var(--ink); }
.tc-search input[type=search] { flex: 1; min-width: 0; background: none; border: 0; outline: 0; height: 100%; color: var(--ink); font-size: 15px; }
.tc-search input::placeholder { color: var(--ink-3); }
.tc-search input::-webkit-search-cancel-button { display: none; }
.tc-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.tc-nav__item { display: flex; }
.tc-nav__link { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; text-decoration: none; font-weight: 500; font-size: 15px; border-radius: var(--pill); }
.tc-nav__link:hover, .tc-nav__item:focus-within > .tc-nav__link, .tc-nav__item:hover > .tc-nav__link { background: var(--soft); }
.tc-mega { position: absolute; inset-inline: 0; top: calc(100% - 6px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 12px; visibility: hidden; opacity: 0; }
.tc-nav__item--mega:hover .tc-mega, .tc-nav__item--mega:focus-within .tc-mega { visibility: visible; opacity: 1; }
.tc-mega__item { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 12px; padding: 6px; text-decoration: none; border-radius: var(--r-md); }
.tc-mega__item:hover, .tc-mega__item:focus-visible { background: var(--soft); }
.tc-mega__img { width: 46px; height: 46px; overflow: hidden; background: var(--soft); border-radius: var(--r-sm); }
.tc-mega__img img { width: 100%; height: 100%; object-fit: cover; }
.tc-mega__name { font-weight: 500; }
.tc-mega__n { color: var(--ink-3); font-size: 13px; font-variant-numeric: tabular-nums; padding-inline-end: 6px; }
.tc-header__tools { display: flex; align-items: center; gap: 8px; }
.tc-hlink { position: relative; text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 12px; border-radius: var(--pill); }
.tc-hlink:hover { background: var(--soft); }
.tc-hlink--fav { width: 42px; padding: 0; background: var(--card); border: 1px solid var(--line); }
.tc-hlink--fav .tc-badge { position: absolute; top: -5px; inset-inline-end: -5px; }
.tc-hlink--pill { background: var(--ink); color: #fff; padding: 0 18px; }
.tc-hlink--pill:hover { background: #2b2b2b; }
.tc-hlink--admin { border: 1px solid var(--line); background: var(--card); }
.tc-hlink--cart { background: var(--card); border: 1px solid var(--line); }
.tc-badge { background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: inline-grid; place-items: center; padding: 0 5px; }
.tc-badge[hidden] { display: none; }
.tc-burger { display: none; background: var(--card); border: 1px solid var(--line); border-radius: 50%; width: 42px; height: 42px; cursor: pointer; padding: 13px 11px; flex-direction: column; justify-content: space-between; }
.tc-burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------------------------------------------------------------- buttons, chips, messages */
.tc-btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; border-radius: var(--pill); }
.tc-btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--ink); color: #fff; }
.tc-btn--dark, .woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce button.button.alt.disabled { background: var(--ink); color: #fff; border-color: var(--ink); }
.tc-btn--dark:hover, .woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover { background: #2b2b2b; border-color: #2b2b2b; color: #fff; }
.tc-btn--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tc-btn--accent:hover { background: #ffd23f; border-color: #ffd23f; color: var(--accent-ink); }
.tc-btn--ghost { border-color: transparent; text-decoration: underline; }
.tc-btn--ghost:hover { background: var(--soft); color: var(--ink); }
.tc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tc-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-size: 14px; line-height: 1.2; border-radius: var(--pill); }
.tc-chip:hover { border-color: var(--ink); }
.tc-chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tc-dot { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); display: inline-block; flex: none; }
.tc-dot--white { background: #fff; } .tc-dot--grey { background: #9a9a9a; } .tc-dot--black { background: #111; }
.tc-dot--beige { background: #e6d8bd; } .tc-dot--brown { background: #7a4f2c; } .tc-dot--red { background: #c62828; }
.tc-dot--orange { background: #ef7d1a; } .tc-dot--yellow { background: #f2c230; } .tc-dot--green { background: #2e8b4e; }
.tc-dot--turquoise { background: #19a7a2; } .tc-dot--blue { background: #2457c5; } .tc-dot--purple { background: #7b3fa8; }
.tc-dot--pink { background: #ea6fa3; } .tc-dot--multi { background: conic-gradient(#c62828, #f2c230, #2e8b4e, #2457c5, #7b3fa8, #c62828); }
.tc-msg, .woocommerce-message, .woocommerce-info, .woocommerce-error { background: var(--card); border: 1px solid var(--line); border-inline-start: 5px solid var(--ink); border-radius: var(--r-md); padding: 14px 18px; margin: 0 0 20px; list-style: none; }
.tc-msg--ok, .woocommerce-message { border-inline-start-color: var(--ok); }
.tc-msg--err, .woocommerce-error { border-inline-start-color: var(--err); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message .button, .woocommerce-info .button { float: none; margin-inline-end: 14px; min-height: 36px; }

/* ---------------------------------------------------------------- hero (static) */
.tc-main { min-height: 60vh; }
.tc-hero { width: var(--wrap); margin: clamp(16px, 2.4vw, 32px) auto 0; background: var(--card); border-radius: var(--r-xl); padding: clamp(22px, 3.4vw, 52px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(22px, 4vw, 64px); align-items: center; }
.tc-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 0 0 18px; background: var(--bg); border-radius: var(--pill); padding: 7px 14px; }
.tc-kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.tc-hero h1 { font-size: clamp(34px, 4.6vw, 66px); font-weight: 800; }
.tc-hero__lede { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); max-width: 44ch; margin: 20px 0 28px; }
.tc-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.tc-hero__mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(6px, .8vw, 12px); }
.tc-hero__mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); background: var(--soft); }

/* ---------------------------------------------------------------- sections */
.tc-section { width: var(--wrap); margin: clamp(44px, 6vw, 88px) auto; }
.tc-section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.tc-section__head h2 { font-size: clamp(26px, 3vw, 40px); }
.tc-section__head a { font-weight: 500; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border: 1px solid var(--line); background: var(--card); border-radius: var(--pill); }
.tc-section__head a:hover { border-color: var(--ink); }
.tc-section--ink { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 56px); }
.tc-section--ink :focus-visible { outline-color: #fff; }
.tc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.tc-steps li { counter-increment: s; background: #1d1d1d; border-radius: var(--r-lg); padding: 22px; display: grid; gap: 8px; align-content: start; }
.tc-steps li::before { content: counter(s); width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; margin-bottom: 6px; }
.tc-steps b { font-size: 22px; font-weight: 700; }
.tc-steps span { color: #c9c9c5; }
.tc-dealer-cta { width: var(--wrap); margin: 0 auto clamp(44px, 6vw, 88px); background: var(--accent); color: var(--accent-ink); border-radius: var(--r-xl); padding: clamp(26px, 4vw, 52px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.tc-dealer-cta h2 { font-size: clamp(24px, 2.8vw, 38px); }
.tc-dealer-cta p { margin: 8px 0 0; max-width: 52ch; }
.tc-dealer-cta .tc-btn--accent { background: var(--ink); border-color: var(--ink); color: #fff; }
.tc-dealer-cta .tc-btn--accent:hover { background: #2b2b2b; border-color: #2b2b2b; color: #fff; }

/* ---------------------------------------------------------------- category tiles: picture, name over it, round arrow */
.tc-cats, .woocommerce ul.products { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(10px, 1.4vw, 20px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.tc-cats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.woocommerce ul.products:has(> .tc-cat) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tc-cat { margin: 0 !important; width: auto !important; float: none !important; }
.tc-cat a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-lg); background: var(--soft); color: #fff; text-decoration: none; }
.tc-cat__img, .tc-cat__img img { display: block; width: 100%; height: 100%; }
.tc-cat__img img { object-fit: cover; object-position: top; height: 105.4%; }          /* pushes the mock-up's own footer bar out of the tile */
.tc-cat a::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0)); pointer-events: none; }
.tc-cat__label { position: absolute; z-index: 1; inset-inline-start: 14px; inset-inline-end: 56px; bottom: 12px; display: grid; gap: 1px; }
.tc-cat__label b { font-size: clamp(15px, 1.25vw, 19px); font-weight: 600; line-height: 1.2; }
.tc-cat__label em { font-style: normal; font-size: 13px; opacity: .9; font-variant-numeric: tabular-nums; }
.tc-cat__go { position: absolute; z-index: 1; inset-inline-end: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; }
.tc-cat a:hover .tc-cat__go, .tc-cat a:focus-visible .tc-cat__go { background: var(--accent); }
.tc-cat.tc-cat--all a { background: var(--ink); }
.tc-cat.tc-cat--all a::after { display: none; }
.tc-cat__all { position: absolute; inset: 16px 16px auto; display: grid; gap: 4px; }
.tc-cat__all b { font-size: clamp(34px, 3.6vw, 60px); font-weight: 800; line-height: 1; color: var(--accent); }
.tc-cat__all span { font-size: 14px; color: #d6d6d2; }

/* ---------------------------------------------------------------- catalogue */
.tc-shop { width: var(--wrap); margin: clamp(18px, 2.6vw, 36px) auto clamp(44px, 6vw, 88px); }
.tc-crumbs { font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.tc-crumbs a { text-decoration: none; }
.tc-crumbs a:hover { color: var(--ink); text-decoration: underline; }
.tc-archive-head { margin-bottom: 20px; }
.tc-archive-title { font-size: clamp(32px, 4.2vw, 58px); font-weight: 800; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.tc-archive-code { font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--ink-3); }
.tc-archive-lede { color: var(--ink-2); max-width: 62ch; margin: 10px 0 0; font-size: 17px; }
.tc-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px; background: var(--card); border-radius: var(--r-lg); margin-bottom: 22px; }
.tc-view { display: inline-flex; background: var(--bg); border-radius: var(--pill); padding: 3px; margin-inline-start: auto; }
.tc-view button { background: transparent; border: 0; padding: 0 14px; font-size: 14px; font-weight: 500; cursor: pointer; min-height: 34px; border-radius: var(--pill); }
.tc-view button[aria-pressed=true] { background: var(--ink); color: #fff; }
.tc-view-swatch .tc-card__hover { opacity: 1; }
.tc-view-swatch .tc-card__link:hover .tc-card__hover, .tc-view-swatch .tc-card__link:focus-visible .tc-card__hover { opacity: 0; }
.tc-count { color: var(--ink-2); white-space: nowrap; font-size: 14px; font-variant-numeric: tabular-nums; }
.woocommerce .woocommerce-ordering { float: none; margin: 0; }
.woocommerce .woocommerce-ordering select { height: 40px; border: 1px solid var(--line); background: var(--card); padding: 0 14px; border-radius: var(--pill); }
.tc-card { position: relative; margin: 0 !important; width: auto !important; float: none !important; }
.tc-card__link { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; text-decoration: none; }
.tc-card__img { grid-column: 1 / -1; position: relative; display: block; aspect-ratio: 1 / .949; overflow: hidden; background: var(--soft); border-radius: var(--r-lg); margin-bottom: 10px; }
.tc-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; margin: 0 !important; }
.tc-card__hover { position: absolute; inset: 0; opacity: 0; }
.tc-card__hover:not([src]) { visibility: hidden; }
.tc-card__link:hover .tc-card__hover, .tc-card__link:focus-visible .tc-card__hover { opacity: 1; }
.tc-card__name { font-weight: 500; font-size: 15px; line-height: 1.3; padding-inline-start: 4px; }
.tc-card__sku { font-size: 11px; font-weight: 500; line-height: 1.9; letter-spacing: .1em; color: var(--ink-3); text-align: end; padding-inline-end: 4px; }
.tc-fav { background: rgba(255, 255, 255, .94); border: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.tc-fav svg { fill: none; stroke: var(--ink); stroke-width: 1.8; }
.tc-fav:hover { background: #fff; }
.tc-fav.is-on { background: var(--accent); }
.tc-fav.is-on svg { fill: var(--ink); }
.tc-fav--card { position: absolute; top: 10px; inset-inline-start: 10px; }
.tc-fav--wide { width: auto; height: 48px; border-radius: var(--pill); border: 1.5px solid var(--ink); padding: 0 20px; gap: 8px; display: inline-flex; align-items: center; background: transparent; font-weight: 600; font-size: 15px; }
.tc-fav--wide::after { content: 'שמירה למועדפים'; }
.tc-fav--wide.is-on::after { content: 'נשמר במועדפים'; }
.woocommerce nav.woocommerce-pagination { margin-top: 36px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; float: none; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; padding: 0 10px; border-radius: var(--pill); }
.woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------------------------------------------------------------- product */
.tc-shop--single div.product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 3.4vw, 56px); align-items: start; }
.tc-shop--single .related { margin-top: clamp(36px, 5vw, 72px); clear: both; }
.tc-shop--single .related > h2 { font-size: clamp(24px, 2.8vw, 36px); margin-bottom: 22px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: auto; margin: 0; }
.woocommerce-product-gallery { opacity: 1 !important; position: relative; }
.woocommerce-product-gallery__wrapper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; }
.woocommerce-product-gallery__image { border-radius: var(--r-md); overflow: hidden; background: var(--soft); aspect-ratio: 1; }
.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2) { width: 100%; display: block; margin: 0; }
.woocommerce-product-gallery__image:first-child { grid-column: 1 / -1; border-radius: var(--r-lg); }
.woocommerce-product-gallery__image a { display: block; height: 100%; }
.woocommerce-product-gallery__image img { width: 100%; height: 100%; object-fit: cover; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { inset-inline-end: 14px; inset-inline-start: auto; top: 14px; }
.woocommerce div.product div.summary { background: var(--card); border-radius: var(--r-xl); padding: clamp(18px, 2.4vw, 32px); }
.tc-code { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; background: var(--ink); color: #fff; padding: 8px 16px; font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: .18em; border-radius: var(--pill); }
.tc-code b { color: var(--accent); font-weight: 700; letter-spacing: .08em; font-size: 13px; }
.woocommerce div.product .product_title { font-size: clamp(28px, 3.2vw, 46px); font-weight: 800; margin-bottom: 14px; }
.woocommerce div.product p.price { color: var(--ink); font-size: 22px; font-weight: 600; margin: 0 0 14px; }
.tc-from, .tc-unit { font-size: 14px; font-weight: 400; color: var(--ink-2); }
.tc-colors { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 20px; }
.tc-colors > span { color: var(--ink-2); font-size: 14px; margin-inline-end: 4px; }
.tc-guest { background: var(--bg); border-radius: var(--r-lg); padding: 20px; margin-bottom: 22px; }
.tc-guest__lede { margin: 0 0 16px; font-size: 17px; }
.tc-guest__row { display: flex; flex-wrap: wrap; gap: 10px; }
.tc-guest__dealer { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.tc-dealer-fav { margin: 0 0 18px; }
.tc-specs { margin: 0; }
.tc-specs div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.tc-specs dt { color: var(--ink-2); font-size: 14px; }
.tc-specs dd { margin: 0; font-weight: 500; }
.tc-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.tc-pn a { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line); background: var(--card); text-decoration: none; min-width: 0; border-radius: var(--r-md); }
.tc-pn a:hover { border-color: var(--ink); }
.tc-pn img { width: 52px; height: 52px; object-fit: cover; flex: none; border-radius: var(--r-sm); }
.tc-pn span { display: grid; min-width: 0; }
.tc-pn small { color: var(--ink-2); font-size: 12px; }
.tc-pn b { font-size: 13px; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-pn__next { flex-direction: row-reverse; text-align: end; }
.woocommerce div.product form.cart { margin: 0 0 20px; }
.woocommerce div.product form.cart div.quantity { display: none; }
.woocommerce div.product form.cart .single_add_to_cart_button { width: 100%; min-height: 54px; font-size: 17px; float: none; }
.tc-calc { background: var(--bg); border-radius: var(--r-lg); padding: 18px; margin-bottom: 14px; display: grid; gap: 14px; }
.tc-calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tc-calc label, .tc-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.tc-calc input, .tc-calc select, .tc-calc textarea, .tc-form input, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { width: 100%; min-height: 48px; border: 1.5px solid var(--line); background: #fff; padding: 8px 14px; border-radius: var(--r-md); color: var(--ink); font-size: 16px; }
.tc-calc input:focus, .tc-calc select:focus, .tc-calc textarea:focus, .tc-form input:focus, .woocommerce form .form-row input.input-text:focus { border-color: var(--ink); outline: 3px solid rgba(17, 17, 17, .14); outline-offset: 0; }
.tc-calc__sum { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.tc-calc__price { font-size: 28px; font-weight: 800; line-height: 1; }
.tc-calc__note, .tc-calc__special { margin: 0; font-size: 13px; color: var(--ink-2); }
.tc-calc__special { color: var(--ok); font-weight: 600; }

/* ---------------------------------------------------------------- pages, forms, favourites, account, cart */
.tc-page { width: min(880px, 100% - 2 * var(--gut)); margin: clamp(24px, 4vw, 56px) auto clamp(44px, 6vw, 88px); }
.tc-page__title { font-size: clamp(32px, 4.2vw, 56px); font-weight: 800; margin-bottom: 22px; }
.tc-prose p, .tc-prose li { font-size: 17px; max-width: 68ch; }
.tc-prose h2 { font-size: 26px; margin: 32px 0 12px; }
.woocommerce-cart .tc-page, .woocommerce-checkout .tc-page, .woocommerce-account .tc-page, .tc-page:has(#tc-favs) { width: min(1180px, 100% - 2 * var(--gut)); }
.tc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--card); border-radius: var(--r-xl); padding: clamp(18px, 3vw, 32px); margin-top: 22px; position: relative; }
.tc-form button { grid-column: 1 / -1; justify-self: start; }
.tc-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tc-favs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.tc-favs__item { position: relative; display: grid; gap: 2px; text-decoration: none; }
.tc-favs__item img { aspect-ratio: 1 / .949; object-fit: cover; object-position: top; width: 100%; margin-bottom: 6px; border-radius: var(--r-lg); }
.tc-favs__sku { font-size: 11px; font-weight: 500; letter-spacing: .1em; color: var(--ink-3); direction: ltr; text-align: end; }
.tc-favs__name { font-weight: 500; }
.tc-favs__x { position: absolute; top: 8px; inset-inline-start: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.tc-favs__x:hover { background: var(--accent); }
.tc-favs__bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding: 16px; background: var(--card); border-radius: var(--r-lg); }
.tc-favs__empty { font-size: 18px; color: var(--ink-2); background: var(--card); border-radius: var(--r-lg); padding: 28px; }
.woocommerce table.shop_table { border: 0; border-radius: var(--r-lg); border-collapse: separate; border-spacing: 0; width: 100%; background: var(--card); overflow: hidden; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border: 0; border-bottom: 1px solid var(--line); padding: 14px 16px; text-align: start; vertical-align: top; }
.woocommerce table.shop_table tr:last-child > td, .woocommerce table.shop_table tr:last-child > th { border-bottom: 0; }
.woocommerce table.shop_table dl.variation { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; }
.woocommerce table.shop_table dl.variation dt, .woocommerce table.shop_table dl.variation dd, .woocommerce table.shop_table dl.variation p { margin: 0; float: none; }
.woocommerce table.cart img { width: 84px; border-radius: var(--r-sm); }
.woocommerce table.cart td.actions { display: none; }
.woocommerce .cart-collaterals, .woocommerce-checkout #order_review { margin-top: 24px; }
.woocommerce .cart-collaterals .cart_totals { float: none; width: min(480px, 100%); margin-inline-start: auto; }
.woocommerce .cart_totals h2, .woocommerce-checkout h3 { font-size: 24px; margin: 16px 0 12px; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { width: 100%; min-height: 54px; font-size: 17px; margin-top: 16px; }
.woocommerce a.remove { color: var(--err) !important; }
.woocommerce form.login, .woocommerce form.checkout_coupon, .woocommerce form.register { border: 0; background: var(--card); border-radius: var(--r-xl); padding: 26px; max-width: 520px; }
.woocommerce form.checkout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 56px); align-items: start; }
.woocommerce form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.woocommerce form.checkout #customer_details { grid-row: 1 / span 3; background: var(--card); border-radius: var(--r-xl); padding: clamp(18px, 2.4vw, 28px); }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { float: none; width: auto; }
.woocommerce form .form-row { display: block; margin: 0 0 14px; padding: 0; float: none; width: auto; }
.woocommerce form .form-row label { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 5px; }
.woocommerce form .form-row .required { color: var(--err); text-decoration: none; }
.woocommerce-checkout #payment { background: var(--card); border: 0; border-radius: var(--r-lg); margin-top: 16px; }
.woocommerce-checkout #payment ul.payment_methods { list-style: none; margin: 0; padding: 18px; border-bottom: 1px solid var(--line); }
.woocommerce-checkout #payment div.payment_box { background: var(--bg); margin: 10px 0 0; padding: 12px 14px; font-size: 14px; border-radius: var(--r-md); }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment div.place-order { padding: 18px; }
.woocommerce-checkout #payment #place_order { width: 100%; min-height: 54px; font-size: 17px; float: none; }
.woocommerce ul.order_details { list-style: none; margin: 0 0 24px; padding: 18px; display: flex; flex-wrap: wrap; gap: 12px 32px; background: var(--card); border-radius: var(--r-lg); }
.woocommerce ul.order_details li { float: none; border: 0; margin: 0; padding: 0; font-size: 13px; color: var(--ink-2); text-transform: none; }
.woocommerce ul.order_details li strong { display: block; font-size: 18px; color: var(--ink); }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: start; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; background: var(--card); border-radius: var(--r-lg); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 10px 14px; text-decoration: none; border-radius: var(--r-sm); }
.woocommerce-MyAccount-navigation li a:hover { background: var(--bg); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--ink); color: #fff; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }

/* ---------------------------------------------------------------- footer */
.tc-footer { width: var(--wrap); margin: 0 auto var(--gut); background: var(--ink); color: #dcdcd8; border-radius: var(--r-xl); overflow: hidden; }
.tc-footer :focus-visible { outline-color: #fff; }
.tc-footer .tc-logo { color: #fff; }
.tc-footer__in { padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1.2fr 2fr 1fr; gap: 36px; }
.tc-footer__brand p { max-width: 34ch; margin: 16px 0 0; color: #b4b4b0; }
.tc-footer nav { display: grid; gap: 7px; align-content: start; }
.tc-footer__cats { grid-template-columns: repeat(3, 1fr); }
.tc-footer a { text-decoration: none; font-size: 15px; }
.tc-footer a:hover { text-decoration: underline; }
.tc-footer__bar { border-top: 1px solid #2c2c2c; padding: 16px clamp(28px, 4vw, 56px); display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; letter-spacing: .2em; color: #a3a39f; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .tc-cats, .woocommerce ul.products:has(> .tc-cat) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tc-nav__link { padding: 0 10px; }
}
@media (max-width: 1100px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --bar: 64px; }
  .tc-header__in { flex-wrap: wrap; row-gap: 0; padding-block: 10px; }
  .tc-logo { font-size: 15px; letter-spacing: .18em; margin-inline-end: auto; order: 1; }
  .tc-header__tools { order: 2; gap: 6px; }
  .tc-burger { display: flex; order: 3; }
  .tc-search { order: 4; flex-basis: 100%; max-width: none; margin-top: 10px; height: 44px; }
  .tc-nav { display: none; order: 5; flex-basis: 100%; flex-direction: column; align-items: stretch; margin: 8px 0 0; }
  .tc-nav.is-open { display: flex; }
  .tc-nav__item { flex-direction: column; }
  .tc-nav__link { min-height: 48px; font-size: 17px; }
  .tc-mega { position: static; visibility: visible; opacity: 1; box-shadow: none; border: 0; padding: 0 0 8px; grid-template-columns: 1fr 1fr; background: transparent; }
  .tc-hlink--pill { padding: 0 14px; font-size: 13px; }
  .tc-hero { grid-template-columns: 1fr; }
  .tc-hero__mosaic img:nth-child(n+9) { display: none; }
  .woocommerce ul.products, .tc-cats, .woocommerce ul.products:has(> .tc-cat) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tc-view { margin-inline-start: 0; }
  .tc-shop--single div.product { grid-template-columns: 1fr; }
  .woocommerce div.product div.summary { position: static; }
  .tc-steps { grid-template-columns: 1fr; }
  .tc-footer__in { grid-template-columns: 1fr; }
  .tc-footer__cats { grid-template-columns: repeat(2, 1fr); }
  .tc-form { grid-template-columns: 1fr; }
  .woocommerce-account .woocommerce { grid-template-columns: 1fr; }
  .woocommerce form.checkout { grid-template-columns: 1fr; }
  .woocommerce form.checkout #customer_details { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ---------- v0.3: sub-categories, topics, search in the hero, guides ---------- */
.tc-subcats { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 4px; }
.tc-subcat { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; padding-inline: 6px 16px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--pill); text-decoration: none; min-height: 52px; }
.tc-subcat img, .tc-subcat__all { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--soft); flex: none; }
.tc-subcat__all { display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--ink-2); }
.tc-subcat b { font-weight: 600; font-size: 15px; }
.tc-subcat small { color: var(--ink-3); font-size: 12px; }
.tc-subcat:hover { border-color: var(--ink); }
.tc-subcat.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.tc-subcat.is-on small { color: #d6d6d2; }
.tc-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.tc-topics__label { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-inline-end: 4px; }
.tc-chip--topic small { color: var(--ink-3); font-size: 12px; }
.tc-chip--topic.is-on small { color: #d6d6d2; }
.tc-ptags { margin-top: 6px; }
.tc-card__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tc-hero__search { display: flex; gap: 8px; margin: 0 0 12px; max-width: 560px; }
.tc-hero__search input[type=search] { flex: 1; min-width: 0; min-height: 52px; border: 1.5px solid var(--line); background: var(--bg); border-radius: var(--pill); padding: 0 20px; font: 400 16px/1 var(--font); color: var(--ink); }
.tc-hero__search input[type=search]:focus { border-color: var(--ink); outline: 3px solid rgba(17, 17, 17, .14); background: #fff; }
.tc-hero__topics { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; }
.tc-form__check { grid-column: 1 / -1; display: flex !important; align-items: center; gap: 10px; }
.tc-form__check input { width: 20px; min-height: 20px; height: 20px; flex: none; }
.tc-calc__matnote { color: var(--ink-3); font-size: 13px; min-height: 1em; }
@media (max-width: 700px) {
  .tc-subcats { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; }
  .tc-subcat { flex: none; }
  .tc-hero__search { flex-direction: column; }
}

/* ---------- guides + dealers' centre ---------- */
.tc-guidepage, .tc-page:has(.tc-dc) { width: min(1180px, 100% - 2 * var(--gut)); }
.tc-guidepage__h, .tc-dc h2 { font-size: 26px; margin: 36px 0 14px; }
.tc-guides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.tc-guides a { display: grid; gap: 8px; height: 100%; background: var(--card); border: 1.5px solid transparent; border-radius: var(--r-lg); padding: 22px; text-decoration: none; }
.tc-guides a:hover { border-color: var(--ink); }
.tc-guides__n { font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: .08em; }
.tc-guides b { font-size: 19px; line-height: 1.25; }
.tc-guides a > span:last-child { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.tc-guide h1 { font-size: clamp(30px, 4vw, 52px); font-weight: 800; margin: 6px 0 22px; }
.tc-guide__body { background: var(--card); border-radius: var(--r-xl); padding: clamp(20px, 3.4vw, 44px); }
.tc-guide__body h2:first-child { margin-top: 0; }
.tc-guide__body ol, .tc-guide__body ul { padding-inline-start: 22px; display: grid; gap: 8px; }
.tc-guide__body .tc-tip { background: var(--bg); border-radius: var(--r-md); padding: 14px 18px; border-inline-start: 5px solid var(--accent); max-width: 68ch; }
.tc-guide__body table { border-collapse: collapse; width: 100%; max-width: 720px; margin: 12px 0; }
.tc-guide__body th, .tc-guide__body td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: start; font-size: 16px; }
.tc-guide__more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tc-dc__quick { display: flex; flex-wrap: wrap; gap: 10px; }
.tc-dc__lede { color: var(--ink-2); margin: -6px 0 14px; }
.tc-pdfs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.tc-pdfs a { display: grid; gap: 4px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; text-decoration: none; }
.tc-pdfs a:hover { border-color: var(--ink); }
.tc-pdfs span { font-size: 13px; color: var(--ink-3); }
.tc-dl { font-size: 14px; color: var(--ink-2); margin: 10px 0 0; }
.tc-dl span { font-weight: 600; }

/* category landing: groups as picture tiles */
.tc-landing__h { font-size: 22px; font-weight: 700; margin: 26px 0 14px; }
.tc-cats--landing { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tc-cats--landing .tc-cat__img img { height: 100%; object-position: center; }
.tc-subcats--topics { margin-top: 16px; }
@media (max-width: 1100px) { .tc-cats--landing { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .tc-cats--landing { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* wall preview: the model on a wall of the typed size */
.tc-wall { display: grid; gap: 10px; }
.tc-wall__title { font-weight: 700; font-size: 17px; margin: 0; }
.tc-summary > .tc-wall, .summary > .tc-wall { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; margin: 18px 0; }
.summary > .tc-wall .tc-calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.summary > .tc-wall label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.summary > .tc-wall input[type=number] { width: 100%; min-height: 48px; border: 1.5px solid var(--line); background: #fff; padding: 8px 14px; border-radius: var(--r-md); font-size: 16px; color: var(--ink); }
.tc-wall__stage { display: grid; gap: 8px; justify-items: center; }
.tc-wall__cv { display: block; max-width: 100%; border-radius: var(--r-sm); background: var(--soft); cursor: grab; touch-action: none; box-shadow: var(--shadow); }
.tc-wall__cv.is-drag { cursor: grabbing; }
.tc-wall__cv:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.tc-wall__dims { margin: 0; font-size: 13px; color: var(--ink-3); }
.tc-wall__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; width: 100%; }
.tc-wall__tools label { display: flex !important; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.tc-wall__zoom { flex: 1; min-width: 220px; }
.tc-wall__zoom input[type=range] { flex: 1; min-height: 24px; padding: 0; border: 0; accent-color: var(--ink); }
.tc-wall__zoom output { min-width: 44px; font-variant-numeric: tabular-nums; }
.tc-wall__mirror input { width: 18px; height: 18px; min-height: 18px; }
.tc-wall__reset { border: 0; background: none; text-decoration: underline; font: inherit; font-size: 14px; color: var(--ink-2); cursor: pointer; min-height: 32px; padding: 0 4px; }
.tc-wall__hint { margin: 0; font-size: 13px; color: var(--ink-3); width: 100%; }

/* ---------- guides v2: pictures and things to click ---------- */
.tc-guide__body { display: grid; gap: 22px; }
.tc-guide__body > * { margin: 0; }
.tc-guide__body > h2 { margin-top: 14px; font-size: 24px; }
.tc-guide__lead { font-size: 19px !important; color: var(--ink-2); }
.tc-svg { display: block; width: 100%; height: auto; background: var(--bg); border-radius: var(--r-md); }
.tc-cards { list-style: none; padding: 0 !important; margin: 0; display: grid !important; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px !important; counter-reset: tcstep; }
.tc-cards > li { counter-increment: tcstep; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 12px 12px 16px; display: grid; gap: 8px; align-content: start; max-width: none; }
.tc-cards > li > h3 { font-size: 17px; line-height: 1.3; margin: 4px 4px 0; display: flex; gap: 8px; align-items: baseline; }
.tc-cards--num > li > h3::before { content: counter(tcstep); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; display: inline-grid; place-items: center; transform: translateY(2px); }
.tc-cards > li > p { font-size: 15px !important; line-height: 1.5; color: var(--ink-2); margin: 0 4px; }
.tc-shot { display: block; border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; max-width: 900px; }
.tc-shot img { display: block; width: 100%; height: auto; }
.tc-shot--tall { max-width: 400px; }
.tc-cards .tc-shot--tall { max-width: 100%; max-height: 380px; }
.tc-cards .tc-shot--tall img { object-fit: cover; object-position: top; height: 380px; }
.tc-shot:hover { border-color: var(--ink); }
.tc-cards--shots { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.tc-tool { background: var(--bg); border-radius: var(--r-lg); padding: clamp(16px, 2.4vw, 26px); display: grid; gap: 14px; }
.tc-tool__title { font-weight: 700; font-size: 19px !important; margin: 0; }
.tc-measure__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tc-measure__grid b { display: block; font-size: 15px; }
.tc-measure__grid span { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 6px; }
.tc-measure__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tc-measure__row input { width: 100%; min-height: 48px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff; padding: 6px 10px; font-size: 16px; text-align: center; color: var(--ink); }
.tc-measure__row input:focus { border-color: var(--ink); outline: 3px solid rgba(17, 17, 17, .14); }
.tc-measure__out { font-size: 17px !important; margin: 0; }
.tc-measure__out b { font-size: 24px; }
.tc-tool .tc-btn { justify-self: start; }
.tc-finder__q { font-weight: 600; margin: 0; font-size: 16px !important; }
.tc-finder__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-finder__opts .tc-chip { cursor: pointer; font: inherit; font-size: 15px; min-height: 44px; color: var(--ink); }
.tc-finder__opts .tc-chip[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tc-finder__res { display: flex; flex-wrap: wrap; gap: 8px; min-height: 48px; align-items: center; }
.tc-finder__res a { min-height: 48px; }
.tc-check { list-style: none; padding: 0 !important; display: grid !important; gap: 8px !important; }
.tc-check li { max-width: none; }
.tc-check label { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; cursor: pointer; font-size: 16px; }
.tc-check input { width: 22px; height: 22px; flex: none; accent-color: var(--ink); }
.tc-check label:has(input:checked) { background: var(--bg); color: var(--ink-3); text-decoration: line-through; }
.tc-check__state { font-size: 14px !important; color: var(--ink-3); margin: 0; }
.tc-yesno { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tc-yesno > div { border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 12px 12px 16px; display: grid; gap: 8px; align-content: start; }
.tc-yesno h3 { font-size: 17px; margin: 4px 4px 0; }
.tc-yesno ul { margin: 0; padding-inline-start: 22px; gap: 4px !important; }
.tc-yesno li { font-size: 15px !important; }
.tc-guide__body details { border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff; }
.tc-guide__body details + details { margin-top: -12px; }
.tc-guide__body summary { cursor: pointer; padding: 14px 18px; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.tc-guide__body summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--ink-3); }
.tc-guide__body details[open] summary::after { content: '–'; }
.tc-guide__body summary::-webkit-details-marker { display: none; }
.tc-guide__body details > p { padding: 0 18px 16px; margin: 0; color: var(--ink-2); }
@media (max-width: 700px) { .tc-measure__grid, .tc-yesno { grid-template-columns: 1fr; } }

/* product page: the pictures stay in view while the (longer) details column scrolls; "more from this world" sits below both */
@media (min-width: 901px) and (min-height: 800px) {
  .woocommerce div.product div.images.woocommerce-product-gallery { position: sticky; top: calc(var(--bar) + 20px); }
}

.tc-page.tc-guide--wide { width: min(1080px, 100% - 2 * var(--gut)); }
/* descriptive names need the full card width; the model code sits under the name */
.tc-card__name, .tc-card__sku { grid-column: 1 / -1; }
.tc-card__sku { text-align: start; padding-inline: 4px 0; line-height: 1.5; }

/* the hidden attribute must win over display:grid, or an out-of-range size keeps showing the previous wall */
.tc-wall__stage[hidden], .tc-wall__msg[hidden] { display: none; }
.tc-wall__msg { margin: 0; padding: 12px 14px; border-radius: var(--r-md); background: #fdecea; color: #7a1a14; font-size: 14px; font-weight: 500; }
