/*
Theme Name: TestCal Instruments
Theme URI: https://example.com/testcal
Author: TestCal Instruments
Description: Built for WordPress 6.2.x and WooCommerce 7.6–8.2. A clean, industrial WooCommerce theme for selling refurbished and calibrated RF & microwave test equipment. Includes spec filters (frequency coverage, manufacturer, condition, calibration, price), a request-a-quote list with saved requests in the dashboard, and a side-by-side compare table.
Version: 1.1.4
Requires at least: 6.2
Tested up to: 6.2
Requires PHP: 7.4
WC requires at least: 7.6
WC tested up to: 8.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: testcal
Tags: e-commerce, woocommerce, custom-logo, custom-menu, featured-images, theme-options, two-columns
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	/* TestCal brand (from the SA4 logo kit) */
	--tc-brand: #1384c0;          /* logo blue */
	--tc-signal: #14a845;         /* logo trace green (on light) */
	--tc-screen-blue: #5bb8ee;    /* logo blue on dark */
	--tc-screen-green: #43e86a;   /* logo trace green on dark */

	--tc-ink: #14212b;            /* logo "INSTRUMENTS" ink */
	--tc-ink-2: #34424f;
	--tc-muted: #5e6c78;
	--tc-line: #e0e6eb;
	--tc-line-2: #c9d3db;
	--tc-paper: #f3f6f8;
	--tc-white: #ffffff;
	--tc-accent: #0f6fa5;         /* action blue: brand blue deepened for AA with white text */
	--tc-accent-ink: #0c5b87;
	--tc-accent-soft: #e7f1f8;
	--tc-navy: #14212b;
	--tc-navy-2: #1c2d3a;
	--tc-screen: #0d1820;         /* analyzer display background */
	--tc-ok: #0f7f35;
	--tc-ok-soft: #e5f5ea;
	--tc-warn: #9a5800;
	--tc-warn-soft: #fdf1df;
	--tc-diff: #eef6fc;

	--tc-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--tc-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--tc-radius: 6px;
	--tc-radius-lg: 10px;
	--tc-shadow: 0 1px 2px rgba(20, 33, 43, .06), 0 4px 16px rgba(20, 33, 43, .06);
	--tc-shadow-lg: 0 10px 40px rgba(20, 33, 43, .14);
	--tc-wrap: 1240px;
	--tc-gutter: clamp(16px, 4vw, 32px);
	--tc-header-h: 72px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--tc-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--tc-ink);
	background: var(--tc-white);
	-webkit-font-smoothing: antialiased;
}
body.has-tray { padding-bottom: 72px; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--tc-ink); text-decoration-color: var(--tc-line-2); text-underline-offset: 3px; }
a:hover { color: var(--tc-accent); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code, kbd { font-family: var(--tc-mono); font-size: .9em; }
button { font: inherit; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--tc-accent); outline-offset: 2px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000;
	top: 8px; left: 8px; padding: 10px 16px; background: var(--tc-white); box-shadow: var(--tc-shadow-lg);
}

.tc-wrap { width: 100%; max-width: var(--tc-wrap); margin: 0 auto; padding: 0 var(--tc-gutter); }
.tc-icon { flex-shrink: 0; }
.tc-muted { color: var(--tc-muted); }
.tc-small { font-size: 13px; }
.tc-mt { margin-top: 40px; }
.tc-eyebrow {
	display: block; margin: 0 0 8px; font-family: var(--tc-mono); font-size: 12px; font-weight: 500;
	letter-spacing: .08em; text-transform: uppercase; color: var(--tc-accent);
}

/* ==========================================================================
   Buttons & form controls
   ========================================================================== */
.tc-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt,
.wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--tc-radius);
	font-family: var(--tc-font); font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none;
	cursor: pointer; transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
	white-space: nowrap;
}
.tc-btn--primary,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce #payment #place_order, .woocommerce .single_add_to_cart_button,
.woocommerce a.checkout-button, .tc-btn--primary-solid {
	background: var(--tc-accent) !important; color: #fff !important; border-color: var(--tc-accent) !important;
}
.tc-btn--primary:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover, .tc-btn--primary-solid:hover {
	background: var(--tc-accent-ink) !important; border-color: var(--tc-accent-ink) !important; color: #fff !important;
}
.tc-btn--outline,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	background: var(--tc-white); color: var(--tc-ink); border-color: var(--tc-line-2);
}
.tc-btn--outline:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
	border-color: var(--tc-ink); color: var(--tc-ink); background: var(--tc-white);
}
.tc-btn--outline.is-active { border-color: var(--tc-ok); color: var(--tc-ok); background: var(--tc-ok-soft); }
.tc-btn--primary-solid.is-active { background: var(--tc-ok) !important; border-color: var(--tc-ok) !important; }
.tc-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.tc-btn--ghost-light:hover { border-color: #fff; color: #fff; }
.tc-btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.tc-btn--lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.tc-btn--block { width: 100%; }
.tc-btn--grow { flex: 1; }
.tc-btn .tc-icon { width: 18px; height: 18px; }

.tc-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--tc-ink); }
.tc-link .tc-icon { width: 18px; transition: transform .15s; }
.tc-link:hover .tc-icon { transform: translateX(3px); }
.tc-link-muted {
	background: none; border: 0; padding: 0; color: var(--tc-muted); font-size: 14px; cursor: pointer;
	text-decoration: underline; text-underline-offset: 3px;
}
.tc-link-muted:hover { color: var(--tc-ink); }
.tc-link-muted--light { color: rgba(255, 255, 255, .7); }
.tc-link-muted--light:hover { color: #fff; }
.tc-icon-btn {
	display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--tc-radius);
	border: 1px solid transparent; background: none; color: var(--tc-muted); cursor: pointer;
}
.tc-icon-btn:hover { border-color: var(--tc-line); color: var(--tc-ink); }

.tc-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--tc-ink-2); }
.tc-field abbr { color: var(--tc-accent); text-decoration: none; }
.tc-field input, .tc-field textarea, .tc-select, .tc-freq input, .tc-price input, .tc-finder__freq input, .tc-unit,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce .quantity .qty, .woocommerce-ordering select {
	width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--tc-line-2); border-radius: var(--tc-radius);
	background: var(--tc-white); font-size: 15px; font-weight: 400; color: var(--tc-ink); transition: border-color .15s, box-shadow .15s;
}
.tc-field textarea { resize: vertical; min-height: 120px; }
.tc-field input:focus, .tc-field textarea:focus, .tc-select:focus, .tc-freq input:focus, .tc-price input:focus,
.tc-finder__freq input:focus, .tc-unit:focus,
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus {
	outline: none; border-color: var(--tc-accent); box-shadow: 0 0 0 3px var(--tc-accent-soft);
}
.tc-select, .tc-unit, .woocommerce-ordering select {
	appearance: none; padding-right: 34px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235f6b7a' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center;
}
.tc-unit { width: auto; min-width: 76px; padding-left: 10px; }
.tc-toggle { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.tc-toggle input, .tc-checklist input {
	appearance: none; flex-shrink: 0; width: 18px; height: 18px; margin: 0; border: 1.5px solid var(--tc-line-2);
	border-radius: 4px; background: var(--tc-white) center/12px no-repeat; cursor: pointer; transition: all .12s;
}
.tc-toggle input:checked, .tc-checklist input:checked {
	background-color: var(--tc-accent); border-color: var(--tc-accent);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Header
   ========================================================================== */
.tc-announce { background: var(--tc-navy); color: rgba(255, 255, 255, .86); font-size: 13px; }
.tc-announce__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.tc-announce p { margin: 0; }
.tc-announce__contact { display: flex; gap: 20px; }
.tc-announce a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.tc-announce a:hover { color: #fff; }
.tc-announce .tc-icon { width: 14px; height: 14px; opacity: .7; }

.tc-header { position: sticky; top: 0; z-index: 100; background: var(--tc-white); border-bottom: 1px solid var(--tc-line); transition: box-shadow .2s; }
.admin-bar .tc-header { top: 32px; }
.tc-header.is-scrolled { box-shadow: 0 4px 20px rgba(20, 33, 43, .07); }
.tc-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--tc-header-h); }
.tc-header__burger { display: none; background: none; border: 0; padding: 8px; margin-left: -8px; cursor: pointer; color: var(--tc-ink); }

/* Logo: one size rule for the bundled logo and any logo uploaded in Customize → Site Identity.
   Height comes from Customize → TestCal Store → Header (--tc-logo-h). !important beats the
   width/height attributes WordPress puts on uploaded logos. */
.tc-brand { flex: 0 0 auto; display: flex; align-items: center; min-width: 0; }
.tc-brand a, .tc-brand__link { display: block; line-height: 0; }
.tc-brand img, .tc-brand .custom-logo, .tc-brand__logo {
	display: block; height: var(--tc-logo-h, 44px) !important; max-height: none !important;
	width: auto !important; max-width: 320px !important; object-fit: contain; object-position: left center;
}
.tc-footer__logo { display: inline-block; line-height: 0; }
.tc-footer__logo .tc-brand__logo { height: 44px; }
.tc-brand__text { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tc-ink); }
.tc-brand__mark { color: var(--tc-accent); display: inline-flex; }
.tc-brand__name { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.tc-brand__text--light { color: #fff; }

.tc-search { position: relative; flex: 1; min-width: 220px; max-width: 520px; }
.tc-search input {
	width: 100%; height: 44px; padding: 0 48px 0 16px; border: 1px solid var(--tc-line-2); border-radius: var(--tc-radius);
	background: var(--tc-paper); font-size: 14px; transition: all .15s;
}
.tc-search input:focus { outline: none; background: var(--tc-white); border-color: var(--tc-accent); box-shadow: 0 0 0 3px var(--tc-accent-soft); }
.tc-search button {
	position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; display: grid; place-items: center;
	border: 0; border-radius: 4px; background: none; color: var(--tc-muted); cursor: pointer;
}
.tc-search button:hover { color: var(--tc-accent); }
.tc-search--inline { max-width: 420px; margin: 20px auto 0; }

.tc-header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.tc-action {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 10px;
	border-radius: var(--tc-radius); color: var(--tc-ink-2); text-decoration: none; font-size: 12px; font-weight: 500;
}
.tc-action:hover { background: var(--tc-paper); color: var(--tc-ink); }
.tc-action .tc-icon { width: 22px; height: 22px; }
.tc-count, .tc-cart-count {
	position: absolute; top: 0; right: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
	background: var(--tc-accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.tc-count.is-empty, .tc-cart-count.is-empty { display: none; }

.tc-nav { border-top: 1px solid var(--tc-line); }
.tc-nav__menu { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.tc-nav__menu > li { position: relative; }
.tc-nav__menu a {
	display: block; padding: 12px 14px; font-size: 14px; font-weight: 500; color: var(--tc-ink-2); text-decoration: none;
	border-bottom: 2px solid transparent;
}
.tc-nav__menu > li:first-child > a { padding-left: 0; }
.tc-nav__menu a:hover, .tc-nav__menu .current-menu-item > a, .tc-nav__menu .current-menu-ancestor > a { color: var(--tc-ink); border-bottom-color: var(--tc-accent); }
.tc-nav__menu .tc-nav__cta, .tc-nav__menu .menu-item-cta { margin-left: auto; }
.tc-nav__menu .tc-nav__cta a, .tc-nav__menu .menu-item-cta a { color: var(--tc-accent); font-weight: 600; }
.tc-nav__menu .sub-menu {
	position: absolute; top: 100%; left: 0; z-index: 20; min-width: 220px; margin: 0; padding: 8px; list-style: none;
	background: var(--tc-white); border: 1px solid var(--tc-line); border-radius: var(--tc-radius-lg); box-shadow: var(--tc-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(4px); transition: all .15s;
}
.tc-nav__menu li:hover > .sub-menu, .tc-nav__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tc-nav__menu .sub-menu a { padding: 8px 12px; border: 0; border-radius: 4px; }
.tc-nav__menu .sub-menu a:hover { background: var(--tc-paper); }

/* ==========================================================================
   Hero
   ========================================================================== */
.tc-hero { position: relative; overflow: hidden; background: var(--tc-screen); color: #fff; }
.tc-hero__screen { position: absolute; inset: 0; pointer-events: none; }
.tc-hero__graticule {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(91, 184, 238, .11) 1px, transparent 1px),
		linear-gradient(90deg, rgba(91, 184, 238, .11) 1px, transparent 1px);
	background-size: 10% 12.5%;
	background-position: -1px -1px;
}
.tc-hero__screen::after {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(120% 90% at 30% 20%, transparent 40%, rgba(5, 10, 14, .55) 100%);
}
.tc-hero__trace { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46%; overflow: visible; }
.tc-hero__trace path { fill: none; stroke: var(--tc-screen-green); stroke-width: 1.8; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .75; }
.tc-hero__trace .tc-hero__trace-glow { stroke-width: 7; opacity: .14; filter: blur(3px); }
.tc-hero__marker {
	position: absolute; left: 43%; bottom: 39.5%; transform: translate(16px, 50%);
	display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px; border: 1px solid rgba(91, 184, 238, .35); border-radius: 3px;
	background: rgba(13, 24, 32, .8); font-family: var(--tc-mono); font-size: 11px; color: var(--tc-screen-blue); white-space: nowrap;
}
.tc-hero__marker i { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid var(--tc-screen-green); }
.tc-hero__inner {
	position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
	gap: clamp(32px, 6vw, 80px); align-items: start; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(140px, 16vw, 210px);
}
.tc-hero__title { font-size: clamp(34px, 5vw, 58px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; max-width: 14em; color: #fff; }
.tc-hero .tc-eyebrow { color: var(--tc-screen-blue); }
.tc-hero__text { font-size: clamp(16px, 1.6vw, 19px); color: #b9c7d2; max-width: 34em; }
.tc-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tc-hero__image { margin-top: 32px; }
.tc-hero__image img { max-height: 280px; width: auto; }

.tc-finder {
	display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--tc-white); color: var(--tc-ink);
	border: 1px solid var(--tc-line); border-top: 3px solid var(--tc-signal); border-radius: var(--tc-radius-lg); box-shadow: var(--tc-shadow-lg);
}
.tc-finder__title { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 18px; }
.tc-finder__title .tc-icon { color: var(--tc-accent); }
.tc-finder__freq { display: grid; grid-template-columns: 1fr auto auto 1fr auto; gap: 6px; align-items: center; }
.tc-finder__freq input { min-width: 0; font-family: var(--tc-mono); }
.tc-finder__to { font-size: 13px; color: var(--tc-muted); padding: 0 2px; }

/* Trust strip */
.tc-trust { border-bottom: 1px solid var(--tc-line); }
.tc-trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.tc-trust__item {
	display: flex; align-items: center; justify-content: center; gap: 10px; padding: 20px 12px;
	font-size: 14px; font-weight: 500; color: var(--tc-ink-2); border-left: 1px solid var(--tc-line);
}
.tc-trust__item:first-child { border-left: 0; }
.tc-trust__item .tc-icon { color: var(--tc-accent); width: 22px; height: 22px; }

/* ==========================================================================
   Sections
   ========================================================================== */
.tc-section { padding: clamp(56px, 8vw, 96px) 0; }
.tc-section--tight { padding: clamp(32px, 5vw, 56px) var(--tc-gutter); }
.tc-section--tint { background: var(--tc-paper); border-top: 1px solid var(--tc-line); border-bottom: 1px solid var(--tc-line); }
.tc-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.tc-section__head--center { justify-content: center; text-align: center; }
.tc-section__title { margin: 0; font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; letter-spacing: -.02em; }

/* Categories */
.tc-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tc-cat {
	display: grid; grid-template-rows: auto auto auto; gap: 4px; padding: 20px; text-decoration: none; color: var(--tc-ink);
	border: 1px solid var(--tc-line); border-radius: var(--tc-radius-lg); background: var(--tc-white); transition: all .15s;
}
.tc-cat:hover { border-color: var(--tc-ink); box-shadow: var(--tc-shadow); color: var(--tc-ink); transform: translateY(-2px); }
.tc-cat__media {
	display: grid; place-items: center; aspect-ratio: 16 / 10; margin-bottom: 12px; border-radius: var(--tc-radius);
	background: var(--tc-paper); color: var(--tc-accent); overflow: hidden;
}
.tc-cat__media img { width: 100%; height: 100%; object-fit: cover; }
.tc-cat__media .tc-icon { width: 40px; height: 40px; }
.tc-cat__media img.tc-cat__mark { width: 64px; height: auto; object-fit: contain; transition: transform .2s; }
.tc-cat:hover .tc-cat__mark { transform: translateY(-2px); }
.tc-cat__name { font-weight: 600; font-size: 16px; }
.tc-cat__count { font-family: var(--tc-mono); font-size: 12px; color: var(--tc-muted); }

/* Process steps */
.tc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.tc-steps li { padding: 28px 24px; border-top: 2px solid var(--tc-line); position: relative; }
.tc-steps li::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--tc-signal); }
.tc-steps__num { display: block; font-family: var(--tc-mono); font-size: 13px; color: var(--tc-accent); margin-bottom: 12px; }
.tc-steps h3 { font-size: 18px; }
.tc-steps p { margin: 0; font-size: 15px; color: var(--tc-muted); }

/* Brands */
.tc-brands { border-top: 1px solid var(--tc-line); }
.tc-brands__inner { display: flex; align-items: center; gap: 32px; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
.tc-brands .tc-eyebrow { margin: 0; color: var(--tc-muted); }
.tc-brands ul { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0; padding: 0; list-style: none; }
.tc-brands a { font-size: 18px; font-weight: 600; color: var(--tc-ink-2); text-decoration: none; letter-spacing: -.01em; }
.tc-brands a:hover { color: var(--tc-accent); }

/* CTA band */
.tc-cta { background: var(--tc-screen); border-top: 3px solid var(--tc-signal); color: #fff; position: relative; overflow: hidden; }
.tc-cta::after {
	content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
	background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
	background-size: 48px 48px;
}
.tc-cta__inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.tc-cta h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.tc-cta p { margin: 0; color: rgba(255, 255, 255, .75); max-width: 40em; }
.tc-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ==========================================================================
   Product cards
   ========================================================================== */
.tc-grid { display: grid; gap: 20px; }
.tc-grid--4 { grid-template-columns: repeat(4, 1fr); }

.woocommerce ul.products, .woocommerce-page ul.products {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 0 32px; padding: 0;
}
.woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	float: none !important; width: auto !important; margin: 0 !important; padding: 0; display: flex;
}

.tc-card {
	display: flex; flex-direction: column; width: 100%; background: var(--tc-white); border: 1px solid var(--tc-line);
	border-radius: var(--tc-radius-lg); overflow: hidden; transition: border-color .15s, box-shadow .15s;
}
.tc-card:hover { border-color: var(--tc-line-2); box-shadow: var(--tc-shadow); }
.tc-card__media {
	position: relative; display: block; aspect-ratio: 4 / 3; background: var(--tc-paper); overflow: hidden;
	border-bottom: 1px solid var(--tc-line);
}
.tc-card__media img, .woocommerce ul.products li.product .tc-card__media img { width: 100% !important; height: 100% !important; object-fit: contain; padding: 12px; margin: 0 !important; transition: transform .3s; mix-blend-mode: multiply; box-shadow: none !important; }
.tc-card:hover .tc-card__media img { transform: scale(1.03); }
.tc-card__placeholder {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	color: var(--tc-muted);
	background-image: linear-gradient(var(--tc-line) 1px, transparent 1px), linear-gradient(90deg, var(--tc-line) 1px, transparent 1px);
	background-size: 24px 24px; background-position: center;
}
.tc-card__media .tc-card__placeholder img.tc-card__mark,
.woocommerce ul.products li.product .tc-card__placeholder img.tc-card__mark {
	width: 64px !important; height: auto !important; max-width: 64px !important; padding: 0 !important; margin: 0 auto !important; mix-blend-mode: normal; box-shadow: none !important;
}
.tc-card:hover .tc-card__media .tc-card__mark { transform: none; }
.tc-card__placeholder span { max-width: 85%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--tc-mono); font-size: 16px; font-weight: 500; color: var(--tc-ink-2); background: var(--tc-paper); padding: 0 8px; }
.tc-card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.tc-card__sale {
	position: absolute; top: 10px; right: 10px; padding: 3px 8px; border-radius: 4px;
	background: var(--tc-accent); color: #fff; font-size: 12px; font-weight: 700;
}
.tc-badge {
	display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 4px; background: var(--tc-white);
	border: 1px solid var(--tc-line); font-size: 12px; font-weight: 600; color: var(--tc-ink-2); line-height: 1.4;
}
.tc-badge .tc-icon { width: 13px; height: 13px; }
.tc-badge--ok { background: var(--tc-ok-soft); border-color: transparent; color: var(--tc-ok); }
.tc-badge--warn { background: var(--tc-warn-soft); border-color: transparent; color: var(--tc-warn); }

.tc-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.tc-card__meta { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 6px; font-size: 13px; color: var(--tc-muted); }
.tc-card__meta span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-card__meta code { flex-shrink: 1; min-width: 0; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--tc-ink); font-weight: 500; }
.tc-card__title { margin: 0 0 8px; font-size: 16px; font-weight: 600; line-height: 1.35; }
.tc-card__title a { text-decoration: none; color: var(--tc-ink); }
.tc-card__title a:hover { color: var(--tc-accent); }
.tc-card__freq {
	display: flex; align-items: center; gap: 6px; margin: 0 0 12px; font-family: var(--tc-mono); font-size: 13px; color: var(--tc-ink-2);
}
.tc-card__freq .tc-icon { width: 16px; height: 16px; color: var(--tc-accent); }
.tc-card__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.tc-card__price { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.tc-card__price del { font-size: 14px; font-weight: 400; color: var(--tc-muted); margin-right: 4px; }
.tc-card__price ins { text-decoration: none; }
/* "eBay $X · save N%" from the TestCal eBay Sync plugin */
.tc-ebay-price { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--tc-ok); }
.tc-ebay-price del { color: var(--tc-muted); font-weight: 400; }
.woocommerce div.product p.price .tc-ebay-price { font-size: 15px; margin-top: 4px; }
.tc-compare__price .tc-ebay-price { font-size: 12px; }
.tc-price-request { font-size: 15px; font-weight: 600; color: var(--tc-ink-2); }
.tc-stock--out { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--tc-muted); letter-spacing: .05em; }
.tc-card__actions { display: flex; gap: 8px; margin-top: 12px; }
.tc-card__actions .added_to_cart { display: none; }
.tc-card__actions .tc-btn.loading { opacity: .6; }
.tc-card__actions .tc-btn.added::after { content: " ✓"; }

.tc-compare-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 12px;
	border: 1px solid var(--tc-line-2); border-radius: var(--tc-radius); background: var(--tc-white);
	color: var(--tc-ink-2); font-size: 13px; font-weight: 600; cursor: pointer; transition: all .15s;
}
.tc-compare-btn .tc-icon { width: 16px; height: 16px; }
.tc-compare-btn:hover { border-color: var(--tc-ink); color: var(--tc-ink); }
.tc-compare-btn.is-active { background: var(--tc-ink); border-color: var(--tc-ink); color: #fff; }
.tc-compare-btn--boxed { min-height: 44px; padding: 0 16px; font-size: 14px; }

/* ==========================================================================
   Shop archive
   ========================================================================== */
.tc-page-head { background: var(--tc-paper); border-bottom: 1px solid var(--tc-line); padding: 32px 0 36px; }
.tc-page-head--compact { padding: 24px 0; }
.tc-page-head__title { margin: 0; font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -.02em; }
.tc-page-head__desc { margin: 10px 0 0; max-width: 46em; color: var(--tc-muted); }
.tc-page-head__desc p:last-child { margin: 0; }

.tc-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; font-size: 13px; color: var(--tc-muted); }
.tc-crumbs a { color: var(--tc-muted); text-decoration: none; }
.tc-crumbs a:hover { color: var(--tc-accent); }
.tc-crumbs__sep { color: var(--tc-line-2); }

.tc-shop { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 40px; padding-top: 32px; padding-bottom: 64px; }
.tc-shop__sidebar { align-self: start; position: sticky; top: calc(var(--tc-header-h) + 64px); }
.tc-shop__backdrop { display: none; }

.tc-filters { display: flex; flex-direction: column; }
.tc-filters__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--tc-line); }
.tc-filters__title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; }
.tc-filters__title .tc-icon { color: var(--tc-accent); width: 18px; }
.tc-filters__close { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.tc-filter { margin: 0; padding: 18px 0; border: 0; border-bottom: 1px solid var(--tc-line); }
.tc-filter legend {
	padding: 0; margin-bottom: 10px; font-family: var(--tc-mono); font-size: 12px; font-weight: 500;
	letter-spacing: .06em; text-transform: uppercase; color: var(--tc-ink-2); float: left; width: 100%;
}
.tc-filter legend + * { clear: both; }
.tc-filter__hint { margin: 0 0 10px; font-size: 13px; color: var(--tc-muted); clear: both; }
.tc-filter__empty { margin: 0; font-size: 13px; color: var(--tc-muted); clear: both; }
.tc-freq { display: grid; gap: 8px; }
.tc-freq__row { display: grid; grid-template-columns: 40px 1fr auto; gap: 6px; align-items: center; font-size: 13px; color: var(--tc-muted); }
.tc-freq__row input { min-width: 0; font-family: var(--tc-mono); }
.tc-checklist { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; clear: both; max-height: 240px; overflow: auto; }
.tc-checklist label { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 14px; cursor: pointer; }
.tc-checklist em { margin-left: auto; font-style: normal; font-family: var(--tc-mono); font-size: 12px; color: var(--tc-muted); }
.tc-filter .tc-toggle { margin-top: 12px; }
.tc-price { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; clear: both; }
.tc-price input { min-width: 0; }
.tc-filters__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 18px; }

.tc-toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.tc-toolbar .woocommerce-result-count { margin: 0 auto 0 0 !important; float: none !important; font-size: 14px; color: var(--tc-muted); }
.tc-toolbar .woocommerce-ordering { margin: 0 !important; float: none !important; }
.tc-toolbar .woocommerce-ordering select { min-height: 40px; font-size: 14px; }
.tc-toolbar__filters { display: none; }

.tc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tc-chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: var(--tc-ink);
	color: #fff; font-size: 13px; font-weight: 500; text-decoration: none;
}
.tc-chip:hover { background: var(--tc-accent); color: #fff; }

.woocommerce nav.woocommerce-pagination ul { display: flex; justify-content: center; gap: 6px; border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--tc-line) !important; border-radius: var(--tc-radius); font-weight: 600;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--tc-ink) !important; color: #fff !important; border-color: var(--tc-ink) !important; }

.tc-empty { max-width: 520px; margin: 32px auto; text-align: center; padding: 48px 24px; border: 1px dashed var(--tc-line-2); border-radius: var(--tc-radius-lg); }
.tc-empty > .tc-icon { width: 40px; height: 40px; color: var(--tc-accent); margin-bottom: 12px; }
.tc-empty h1, .tc-empty h2 { font-size: 22px; }
.tc-empty p { color: var(--tc-muted); }
.tc-404 { font-family: var(--tc-mono); font-size: 64px; font-weight: 500; color: var(--tc-accent); line-height: 1; margin-bottom: 12px; }

/* ==========================================================================
   Single product
   ========================================================================== */
.tc-single { padding-top: 24px; padding-bottom: 64px; }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 56px; }
.woocommerce div.product > * { grid-column: 1 / -1; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images { grid-column: 1; }
.woocommerce div.product div.summary { grid-column: 2; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.woocommerce div.product div.images .flex-viewport {
	background: var(--tc-paper); border: 1px solid var(--tc-line); border-radius: var(--tc-radius-lg); overflow: hidden;
}
.woocommerce div.product div.images img { mix-blend-mode: multiply; }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 8px; margin-top: 8px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 72px !important; }
.woocommerce div.product div.images .flex-control-thumbs img { border: 1px solid var(--tc-line); border-radius: var(--tc-radius); }
.woocommerce-product-gallery--without-images .woocommerce-product-gallery__image--placeholder { aspect-ratio: 4/3; }

.tc-single__eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-weight: 600; color: var(--tc-ink-2); }
.tc-single__eyebrow code { padding: 2px 8px; border-radius: 4px; background: var(--tc-paper); border: 1px solid var(--tc-line); font-weight: 500; }
.woocommerce div.product .product_title { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--tc-ink) !important; font-size: 30px; font-weight: 700; letter-spacing: -.01em; }
.woocommerce div.product p.price del { font-size: 18px; color: var(--tc-muted); }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--tc-ink-2); }

.tc-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 20px 0; background: var(--tc-line); border: 1px solid var(--tc-line); border-radius: var(--tc-radius-lg); overflow: hidden; }
.tc-facts__item { display: grid; grid-template-columns: 24px 1fr; gap: 2px 10px; padding: 14px 16px; background: var(--tc-white); }
.tc-facts__item .tc-icon { grid-row: span 2; color: var(--tc-accent); width: 20px; margin-top: 2px; }
.tc-facts dt { font-family: var(--tc-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--tc-muted); }
.tc-facts dd { margin: 0; font-weight: 600; font-size: 15px; }

.woocommerce div.product form.cart { display: flex; gap: 10px; margin: 20px 0 12px !important; }
.woocommerce div.product form.cart .quantity .qty { width: 72px; min-height: 52px; text-align: center; }
.woocommerce div.product form.cart .single_add_to_cart_button { min-height: 52px; flex: 1; font-size: 16px; }
.woocommerce div.product .stock { font-weight: 600; color: var(--tc-ok) !important; }
.woocommerce div.product .stock.out-of-stock { color: var(--tc-muted) !important; }

.tc-single__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.tc-single__actions .tc-quote-btn:not(.tc-btn--lg) { min-height: 44px; }
.tc-single__quote-note { flex-basis: 100%; margin: 8px 0 4px; padding: 12px 14px; border-left: 3px solid var(--tc-accent); background: var(--tc-accent-soft); font-size: 14px; color: var(--tc-ink-2); }
.tc-single__actions .tc-btn--lg { flex: 1; }
.tc-assurance { display: grid; gap: 8px; margin: 0 0 20px; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--tc-line); font-size: 14px; color: var(--tc-ink-2); }
.tc-assurance li { display: flex; align-items: center; gap: 10px; }
.tc-assurance .tc-icon { width: 18px; color: var(--tc-ok); }
.woocommerce div.product .product_meta { font-size: 13px; color: var(--tc-muted); display: grid; gap: 4px; }

.woocommerce div.product .woocommerce-tabs { margin-top: 32px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 0; list-style: none; padding: 0 !important; margin: 0 0 24px !important; border-bottom: 1px solid var(--tc-line); overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; border-radius: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 14px 20px !important; font-weight: 600; color: var(--tc-muted) !important; border-bottom: 2px solid transparent; white-space: nowrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--tc-ink) !important; border-bottom-color: var(--tc-accent); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 860px; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { font-size: 20px; }

.tc-spec-table, .woocommerce table.shop_attributes { width: 100%; border-collapse: collapse; border: 1px solid var(--tc-line) !important; border-radius: var(--tc-radius-lg); overflow: hidden; }
.tc-spec-table th, .tc-spec-table td, .woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td {
	padding: 12px 16px !important; border-bottom: 1px solid var(--tc-line) !important; text-align: left; vertical-align: top; font-size: 15px;
}
.tc-spec-table th, .woocommerce table.shop_attributes th { width: 38%; background: var(--tc-paper); font-weight: 500; color: var(--tc-ink-2); }
.tc-spec-table td { font-family: var(--tc-mono); font-size: 14px; }
.tc-spec-table tr:last-child th, .tc-spec-table tr:last-child td { border-bottom: 0 !important; }
.woocommerce table.shop_attributes { margin-top: 24px; }
.woocommerce table.shop_attributes td p { margin: 0; padding: 0 !important; font-style: normal; }

.woocommerce div.product .related, .woocommerce div.product .upsells { margin-top: 56px; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: 24px; margin-bottom: 20px; }

/* ==========================================================================
   Compare
   ========================================================================== */
.tc-compare-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.tc-compare-scroll { overflow-x: auto; border: 1px solid var(--tc-line); border-radius: var(--tc-radius-lg); }
.tc-compare { width: 100%; min-width: calc(200px + var(--cols, 2) * 230px); border-collapse: collapse; table-layout: fixed; }
.tc-compare th, .tc-compare td { padding: 12px 16px; border-bottom: 1px solid var(--tc-line); border-left: 1px solid var(--tc-line); text-align: left; vertical-align: top; font-size: 14px; }
.tc-compare th:first-child { border-left: 0; }
.tc-compare tbody th { width: 200px; background: var(--tc-paper); font-weight: 500; color: var(--tc-ink-2); position: sticky; left: 0; z-index: 1; }
.tc-compare__corner { width: 200px; background: var(--tc-paper); font-family: var(--tc-mono); font-size: 12px !important; text-transform: uppercase; letter-spacing: .06em; color: var(--tc-muted); vertical-align: bottom !important; position: sticky; left: 0; z-index: 2; }
.tc-compare td { font-family: var(--tc-mono); font-size: 13.5px; }
.tc-compare tr.is-different td { background: var(--tc-diff); }
.tc-compare tr.is-different th { box-shadow: inset 3px 0 0 var(--tc-accent); }
.tc-compare.diff-only tbody tr:not(.is-different) { display: none; }
.tc-compare tbody tr:last-child th, .tc-compare tbody tr:last-child td { border-bottom: 0; }
.tc-compare__product { position: relative; font-weight: 400; background: var(--tc-white); }
.tc-compare__remove { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 4px; background: var(--tc-paper); color: var(--tc-muted); cursor: pointer; }
.tc-compare__remove:hover { color: var(--tc-accent); }
.tc-compare__remove .tc-icon { width: 16px; }
.tc-compare__img { display: block; aspect-ratio: 4/3; margin-bottom: 12px; border-radius: var(--tc-radius); background: var(--tc-paper); overflow: hidden; }
.tc-compare__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.tc-compare__name { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; text-decoration: none; margin-bottom: 6px; }
.tc-compare__price { display: block; font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.tc-compare__actions { display: flex; flex-wrap: wrap; gap: 6px; }

/* ==========================================================================
   Quote page
   ========================================================================== */
.tc-quote { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.tc-quote__items, .tc-quote__details { padding: 28px; border: 1px solid var(--tc-line); border-radius: var(--tc-radius-lg); background: var(--tc-white); }
.tc-quote__items { background: var(--tc-paper); position: sticky; top: calc(var(--tc-header-h) + 64px); }
.tc-quote__heading { font-size: 18px; margin-bottom: 18px; }
.tc-quote__empty p { color: var(--tc-muted); font-size: 15px; }
.tc-quote-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tc-quote-list__item { display: grid; grid-template-columns: 64px 1fr 72px 36px; gap: 12px; align-items: center; padding: 10px; background: var(--tc-white); border: 1px solid var(--tc-line); border-radius: var(--tc-radius); }
.tc-quote-list__img { display: block; aspect-ratio: 1; border-radius: 4px; background: var(--tc-paper); overflow: hidden; }
.tc-quote-list__img img { width: 100%; height: 100%; object-fit: contain; }
.tc-quote-list__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; }
.tc-quote-list__info a { font-weight: 600; text-decoration: none; }
.tc-quote-list__info .tc-eyebrow { margin: 0; color: var(--tc-muted); font-size: 11px; }
.tc-qty input { width: 100%; min-height: 40px; padding: 6px; text-align: center; border: 1px solid var(--tc-line-2); border-radius: var(--tc-radius); }
.tc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.tc-field--full { grid-column: 1 / -1; }
.tc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tc-notice { margin-bottom: 24px; padding: 14px 18px; border-radius: var(--tc-radius); font-weight: 500; }
.tc-notice--ok { background: var(--tc-ok-soft); color: var(--tc-ok); }
.tc-notice--error { background: var(--tc-warn-soft); color: var(--tc-warn); }

/* ==========================================================================
   Compare tray + toast
   ========================================================================== */
.tc-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--tc-navy); color: #fff; box-shadow: 0 -8px 30px rgba(0,0,0,.18); animation: tc-up .25s ease-out; }
.tc-tray[hidden] { display: none; }
.tc-tray__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; }
.tc-tray p { margin: 0; font-size: 15px; }
.tc-tray strong { font-family: var(--tc-mono); color: #fff; }
.tc-tray__actions { display: flex; align-items: center; gap: 16px; }
@keyframes tc-up { from { transform: translateY(100%); } to { transform: none; } }

.tc-toast {
	position: fixed; left: 50%; bottom: 88px; z-index: 200; transform: translate(-50%, 20px); padding: 10px 18px;
	border-radius: var(--tc-radius); background: var(--tc-ink); color: #fff; font-size: 14px; font-weight: 500;
	box-shadow: var(--tc-shadow-lg); opacity: 0; pointer-events: none; transition: all .2s;
}
.tc-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Footer
   ========================================================================== */
.tc-footer { background: var(--tc-navy); color: rgba(255, 255, 255, .72); font-size: 14px; }
.tc-cta + .tc-footer { border-top: 1px solid rgba(255, 255, 255, .08); }
.tc-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 56px; padding-bottom: 48px; }
.tc-footer__about p { margin-top: 16px; max-width: 30em; }
.tc-footer__heading { margin: 0 0 14px; font-family: var(--tc-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: #fff; }
.tc-footer__links, .tc-footer__contact { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tc-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.tc-footer a:hover { color: #fff; }
.tc-footer__contact li { display: flex; align-items: center; gap: 8px; }
.tc-footer__contact .tc-icon { width: 16px; color: var(--tc-accent); }
.tc-muted-light { color: rgba(255, 255, 255, .5); }
.tc-footer__bar { border-top: 1px solid rgba(255, 255, 255, .08); }
.tc-footer__bar-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.tc-footer__bar p { margin: 0; }
.tc-footer .tc-widget { margin-top: 20px; }

/* ==========================================================================
   Content, posts, WooCommerce pages
   ========================================================================== */
.tc-prose { max-width: 760px; font-size: 17px; }
.tc-prose h2 { font-size: 26px; margin-top: 1.6em; }
.tc-prose h3 { font-size: 20px; margin-top: 1.4em; }
.tc-prose img { border-radius: var(--tc-radius-lg); }
.tc-featured { margin: 0 0 32px; }
.tc-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tc-post-card { border: 1px solid var(--tc-line); border-radius: var(--tc-radius-lg); overflow: hidden; }
.tc-post-card__img img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.tc-post-card__body { padding: 20px; }
.tc-post-card__title { font-size: 19px; }
.tc-post-card__title a { text-decoration: none; }

.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border: 0 !important; border-left: 3px solid var(--tc-accent) !important; border-radius: var(--tc-radius); background: var(--tc-paper) !important; color: var(--tc-ink) !important;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--tc-accent) !important; }
.woocommerce-error { border-left-color: #c0392b !important; }
.woocommerce table.shop_table { border: 1px solid var(--tc-line) !important; border-radius: var(--tc-radius-lg) !important; border-collapse: separate; }
.woocommerce table.shop_table th { font-family: var(--tc-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--tc-muted); }
.woocommerce span.onsale { background: var(--tc-accent) !important; border-radius: 4px !important; min-height: 0 !important; min-width: 0 !important; padding: 4px 10px !important; line-height: 1.4 !important; }
.woocommerce .star-rating span::before { color: var(--tc-accent); }

/* Block-based cart/checkout */
.wc-block-components-button:not(.is-link) { background: var(--tc-accent); color: #fff; }
.wc-block-components-button:not(.is-link):hover { background: var(--tc-accent-ink); color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.tc-grid--4, .woocommerce ul.products.columns-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tc-grid--4 > :nth-child(n+7) { display: none; }
	.tc-action__label { display: none; }
	.tc-action { padding: 10px; }
	.tc-count, .tc-cart-count { top: 2px; right: 2px; }
}

@media (max-width: 960px) {
	.tc-hero__inner { grid-template-columns: 1fr; }
	.tc-cats { grid-template-columns: repeat(3, 1fr); }
	.tc-steps { grid-template-columns: repeat(2, 1fr); }
	.tc-footer__grid { grid-template-columns: 1fr 1fr; }
	.tc-cta__inner { flex-direction: column; align-items: flex-start; }
	.tc-quote { grid-template-columns: 1fr; }
	.tc-quote__items { position: static; }
	.tc-posts { grid-template-columns: repeat(2, 1fr); }

	/* Filters become a drawer */
	.tc-shop { grid-template-columns: 1fr; }
	.tc-toolbar__filters { display: inline-flex; }
	.tc-shop__sidebar {
		position: fixed; top: 0; bottom: 0; left: 0; z-index: 300; width: min(340px, 88vw); padding: 20px; overflow-y: auto;
		background: var(--tc-white); box-shadow: var(--tc-shadow-lg); transform: translateX(-105%); transition: transform .25s;
	}
	.filters-open .tc-shop__sidebar { transform: none; }
	.tc-shop__backdrop { display: block; position: fixed; inset: 0; z-index: 290; background: rgba(20, 33, 43, .45); opacity: 0; pointer-events: none; transition: opacity .25s; }
	.filters-open .tc-shop__backdrop { opacity: 1; pointer-events: auto; }
	.filters-open { overflow: hidden; }
	.tc-filters__close { display: inline-grid; }

	.woocommerce div.product { grid-template-columns: 1fr; }
	.woocommerce div.product div.images, .woocommerce div.product div.summary { grid-column: 1; }
}

@media (max-width: 782px) {
	.admin-bar .tc-header { top: 46px; }
	.tc-announce__contact { display: none; }
	.tc-announce__inner { justify-content: center; text-align: center; padding-top: 8px; padding-bottom: 8px; }
	.tc-header__inner { flex-wrap: wrap; gap: 8px 12px; padding-top: 10px; padding-bottom: 10px; min-height: 0; }
	.tc-header__burger { display: inline-grid; }
	.tc-search { order: 10; flex-basis: 100%; max-width: none; }
	.tc-action--account { display: none; }
	.tc-nav { display: none; }
	.tc-nav.is-open { display: block; }
	.tc-nav__menu { flex-direction: column; gap: 0; padding: 8px 0; }
	.tc-nav__menu a, .tc-nav__menu > li:first-child > a { padding: 12px 0; border-bottom: 1px solid var(--tc-line); }
	.tc-nav__menu .tc-nav__cta, .tc-nav__menu .menu-item-cta { margin-left: 0; }
	.tc-nav__menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }

	.tc-grid--4, .woocommerce ul.products, .woocommerce-page ul.products, .woocommerce ul.products.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.tc-grid--4 > :nth-child(n+7) { display: flex; }
	.tc-trust__inner { grid-template-columns: 1fr 1fr; }
	.tc-trust__item { justify-content: flex-start; padding: 14px 8px; border-left: 0; font-size: 13px; }
	.tc-cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.tc-section__head { flex-direction: column; align-items: flex-start; }
	.tc-section__head--center { align-items: center; }
	.tc-form-grid { grid-template-columns: 1fr; }
	.tc-facts { grid-template-columns: 1fr; }
	.tc-posts { grid-template-columns: 1fr; }
	.tc-footer__bar-inner { flex-direction: column; }
}

@media (max-width: 560px) {
	.tc-grid--4, .woocommerce ul.products, .woocommerce-page ul.products, .woocommerce ul.products.columns-4 { grid-template-columns: 1fr; }
	.tc-finder { padding: 20px; }
	.tc-finder__freq { grid-template-columns: 1fr auto; }
	.tc-finder__to { grid-column: 1 / -1; }
	.tc-hero__ctas .tc-btn { flex: 1; }
	.tc-steps { grid-template-columns: 1fr; }
	.tc-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.tc-quote__items, .tc-quote__details { padding: 20px; }
	.tc-quote-list__item { grid-template-columns: 48px 1fr 60px 32px; gap: 8px; }
	.tc-tray p span { display: none; }
	.tc-toolbar { flex-wrap: wrap; }
	.tc-toolbar .woocommerce-ordering { flex-basis: 100%; }
	.tc-brand img, .tc-brand .custom-logo, .tc-brand__logo { height: calc(var(--tc-logo-h, 44px) * .8) !important; max-width: 60vw !important; }
	.tc-brand { flex: 1; min-width: 0; }
	.tc-header__actions { gap: 0; }
	.tc-action { padding: 8px 6px; }
	.tc-card__media { aspect-ratio: 16 / 9; }
	.tc-compare-btn [data-label] { display: none; }
}

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

@media print {
	.tc-announce, .tc-header, .tc-footer, .tc-tray, .tc-shop__sidebar, .tc-cta { display: none !important; }
}

@media (max-width: 960px) {
	.tc-hero__inner { padding-bottom: 56px; }
	.tc-hero__trace { height: 30%; }
	.tc-hero__marker { display: none; }
}
