/**
 * D-hybrid language pass — sitewide typography + accent-budget rules.
 * (premium redesign, 2026-08-16; loaded after theme.css everywhere)
 *
 * Scope: display faces and accent discipline ONLY — no layout changes.
 * - Display titles → Archivo variable, expanded, 900 (the approved mockup's
 *   .mega treatment), section headings → Archivo 800/112%.
 * - Eyebrows → JetBrains Mono, wide-tracked.
 * - Prices → mono, tabular numerals; PDP price leaves accent-yellow so the
 *   Add-to-basket button is the page's one solid accent (audit: accent
 *   saturation had flattened all hierarchy).
 * - Card/row CTAs: accent border + accent text on dark (operator 2026-07-03
 *   requires the button to LOOK like a button — the old white ghost failed),
 *   solid accent fill on hover. Kills the 15-solid-yellow-blocks wall while
 *   keeping every button unmistakable.
 */

/* ---------- display titles ---------- */
.cb-plp__title,
.cb-pdp__title,
.cb-cinematic__title {
	font-family: var(--wp--preset--font-family--archivo, var(--wp--preset--font-family--sans));
	font-stretch: 118%;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: -0.015em;
	line-height: 0.98;
}

/* ---------- section headings ---------- */
.cb-section-heading,
.cb-landing__title,
.cb-home-section__heading,
.cb-filters__heading,
.cb-plp__empty-title,
.cb-pdp__mounts-title,
.cb-pdp__kit-title,
.cb-pdp__upgrades-title,
.cb-pdp__hero-closeups-title {
	font-family: var(--wp--preset--font-family--archivo, var(--wp--preset--font-family--sans));
	font-stretch: 112%;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

/* ---------- eyebrows → mono ritual ---------- */
.cb-section-eyebrow,
.cb-landing__eyebrow {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.7rem;
	letter-spacing: 0.24em;
	color: var(--wp--preset--color--text-subtle);
}

/* ---------- prices → mono instruments ---------- */
.cb-plp__row-price,
.cb-plp__card-price,
.cb-pdp .cb-buy-row__amount,
.cb-pdp .cb-configurator__summary-price {
	font-family: var(--wp--preset--font-family--mono);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.01em;
}

/* PDP price: white, not yellow — the buy button carries the accent */
.cb-pdp .cb-buy-row__amount,
.cb-pdp .cb-configurator__summary-price {
	color: var(--wp--preset--color--text);
}

/* ---------- listing CTAs: bordered accent, solid only on hover ---------- */
.cb-plp__row-button,
.cb-product-card__cta--ghost {
	background: transparent;
	border: 1px solid rgba(232, 255, 0, 0.55);
	color: var(--wp--preset--color--accent);
	border-radius: 0;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
}

.cb-plp__row-button:hover,
.cb-plp__row-button:focus-visible,
.cb-product-card__cta--ghost:hover,
.cb-product-card__cta--ghost:focus-visible {
	background: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--text-on-accent, #0d0d0f);
}

/* ---------- About page — group / factory / patents additions ---------- */
.cb-about-fig img {
	background: #fff;
	padding: 24px;
	border: 1px solid var(--wp--preset--color--border);
	max-width: 100%;
	height: auto;
}

details.cb-about-fold {
	border: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--surface-sunken, #101014);
	padding: 0 18px;
	margin: 12px 0;
}

details.cb-about-fold summary {
	cursor: pointer;
	list-style: none;
	padding: 14px 0;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--text-muted);
	transition: color 0.2s ease;
}

details.cb-about-fold summary::before {
	content: "+";
	display: inline-block;
	width: 1.4em;
	color: var(--wp--preset--color--accent);
}

details.cb-about-fold[open] summary::before { content: "–"; }
details.cb-about-fold summary:hover { color: var(--wp--preset--color--text); }
details.cb-about-fold summary::-webkit-details-marker { display: none; }

details.cb-about-fold > ol {
	margin: 4px 0 18px;
	padding-left: 38px;
}

details.cb-about-fold > ol li {
	margin-bottom: 8px;
	color: var(--wp--preset--color--text-muted);
}

details.cb-about-fold > ol li strong {
	color: var(--wp--preset--color--text);
}

.cb-about-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 12px;
	margin: 4px 0 18px;
}

.cb-about-gallery img {
	width: 100%;
	height: auto;
	background: #fff;
	border: 1px solid var(--wp--preset--color--border);
}
