/* =========================================================
   RF Coax — design tokens (снято с rfcoax.ru)
   ========================================================= */
:root {
	--rfc-bg: #fcfcfc;
	--rfc-surface: #ffffff;
	--rfc-surface-2: #f0f2f5;
	--rfc-border: #dfe1e5;
	--rfc-ink: #070b14;
	--rfc-ink-muted: #5d646f;
	--rfc-brand: #0066ff;
	--rfc-brand-hover: #0052cc;
	--rfc-brand-tint: rgba(0, 102, 255, 0.1);
	--rfc-navy: #1a1a2e;
	--rfc-navy-deep: #0a1628;
	--rfc-danger: #e7000b;
	--rfc-radius: 0px;
	--rfc-font-sans: "DM Sans", Inter, system-ui, sans-serif;
	--rfc-font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
	--rfc-container: 1180px;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--rfc-bg);
	color: var(--rfc-ink);
	font-family: var(--rfc-font-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--rfc-brand); outline-offset: 2px; }

.rfc-container {
	max-width: var(--rfc-container);
	margin: 0 auto;
	padding: 0 24px;
}
@media (max-width: 640px) { .rfc-container { padding: 0 20px; } }

.rfc-icon { width: 24px; height: 24px; flex-shrink: 0; }

/* =========================================================
   Eyebrow: NUMBER · line · LABEL — both mono, blue, tracked
   ========================================================= */
.rfc-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}
.rfc-eyebrow .idx,
.rfc-eyebrow .lbl {
	font-family: var(--rfc-font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--rfc-brand);
	white-space: nowrap;
}
.rfc-eyebrow--light .idx,
.rfc-eyebrow--light .lbl { color: var(--rfc-brand); }
.rfc-tech-line {
	flex: 1 1 auto;
	max-width: 64px;
	height: 1px;
	background: linear-gradient(90deg, #0766ee, #206fef 12.5%, #3078ef 25%, #4c89ef 50%, #dfe1e5 100%);
}

/* =========================================================
   Section scaffolding
   ========================================================= */
.rfc-section { padding: 96px 0; }
@media (max-width: 780px) { .rfc-section { padding: 64px 0; } }

.rfc-section-head { max-width: 640px; margin-bottom: 48px; }
.rfc-section-head h2 {
	font-size: clamp(28px, 3.4vw, 36px);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
.rfc-section-head p {
	margin-top: 16px;
	color: var(--rfc-ink-muted);
	font-size: 16px;
	line-height: 1.7;
}
.rfc-section-head--light h2 { color: #fff; }
.rfc-section-head--light p { color: rgba(255,255,255,0.65); }

/* =========================================================
   Buttons — square corners throughout the site
   ========================================================= */
.rfc-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 24px;
	border-radius: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	border: 1px solid transparent;
	transition: background-color .2s ease, border-color .2s ease;
}
.rfc-btn--primary { background: var(--rfc-brand); color: #fff; }
.rfc-btn--primary:hover { background: var(--rfc-brand-hover); }
.rfc-btn--outline-light { border-color: rgba(255,255,255,0.3); color: #fff; }
.rfc-btn--outline-light:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }
.rfc-btn--block { width: 100%; justify-content: center; padding: 14px 24px; }

/* =========================================================
   Header
   ========================================================= */
.rfc-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	padding: 20px 0;
	transition: background-color .3s ease, padding .3s ease, box-shadow .3s ease;
}
.rfc-header.is-scrolled,
.rfc-header.rfc-header--solid {
	background: rgba(255,255,255,0.95);
	backdrop-filter: blur(8px);
	padding: 12px 0;
	box-shadow: 0 1px 0 var(--rfc-border);
}
.rfc-header .rfc-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.rfc-logo { display: flex; align-items: center; color: #fff; transition: color .3s ease; }
.rfc-logo svg { height: 36px; width: auto; display: block; }
.rfc-header.is-scrolled .rfc-logo,
.rfc-header.rfc-header--solid .rfc-logo { color: var(--rfc-ink); }

.rfc-nav { display: flex; align-items: center; gap: 32px; }
.rfc-nav a {
	font-family: var(--rfc-font-mono);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	transition: color .2s ease;
}
.rfc-header.is-scrolled .rfc-nav a,
.rfc-header.rfc-header--solid .rfc-nav a { color: var(--rfc-ink); }
.rfc-nav a:hover { color: var(--rfc-brand); }

.rfc-header-right { display: flex; align-items: center; gap: 20px; }
.rfc-header-phone {
	display: inline-flex;
	align-items: center;
	line-height: 1;
	font-family: var(--rfc-font-mono);
	font-size: 12px;
	letter-spacing: 0.04em;
	color: #fff;
}
.rfc-header.is-scrolled .rfc-header-phone,
.rfc-header.rfc-header--solid .rfc-header-phone { color: var(--rfc-ink); }
.rfc-header-cta { padding: 10px 20px; font-size: 13px; white-space: nowrap; }

.rfc-menu-toggle { display: none; color: #fff; padding: 4px; }
.rfc-header.is-scrolled .rfc-menu-toggle,
.rfc-header.rfc-header--solid .rfc-menu-toggle { color: var(--rfc-ink); }

/* Catalog dropdown — desktop: hover/focus flyout panel under "Каталог"
   (and any other item that picks up children in the future). Sub-menu
   items get the site's normal sans body font rather than the top-level
   nav's all-caps mono treatment, which reads fine for one short word
   ("КАТАЛОГ") but turns unreadable at paragraph-length item labels like
   "Радиочастотные соединители (по сериям: SMA, N-type, BNC…)". */
.rfc-nav > ul,
.rfc-nav { position: relative; }
.rfc-nav li { position: relative; }
.rfc-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 340px;
	max-width: 400px;
	background: var(--rfc-surface);
	border: 1px solid var(--rfc-border);
	box-shadow: 0 16px 32px rgba(7,11,20,0.12);
	padding: 8px 0;
	margin-top: 8px;
	z-index: 60;
}
.rfc-nav li.is-open > .sub-menu,
.rfc-nav li:hover > .sub-menu,
.rfc-nav li:focus-within > .sub-menu { display: block; }
/* A third-level flyout (e.g. "Кабельные сборки" → its children) needs to
   open to the RIGHT of the panel it's nested in, not stack below it like
   the first level does — otherwise it overlaps the sibling items still
   showing behind it. */
.rfc-nav .sub-menu .sub-menu {
	top: -9px;
	left: 100%;
	margin-top: 0;
	margin-left: 4px;
}
.rfc-nav .sub-menu a {
	display: block;
	font-family: var(--rfc-font-sans);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	line-height: 1.4;
	color: var(--rfc-ink);
	padding: 10px 20px;
	white-space: normal;
}
.rfc-nav .sub-menu a:hover { color: var(--rfc-brand); background: var(--rfc-surface-2); }

@media (max-width: 920px) {
	.rfc-nav { display: none; }
	.rfc-header-phone { display: none; }
	.rfc-menu-toggle { display: block; }

	.rfc-nav.is-open {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		position: absolute;
		top: 100%;
		left: 0; right: 0;
		background: var(--rfc-navy);
		padding: 12px 20px 24px;
		max-height: calc(100vh - 80px);
		overflow-y: auto;
	}
	.rfc-nav.is-open a { color: #fff; padding: 10px 0; width: 100%; }

	/* No hover on touch — sub-menus render inline, always expanded,
	   under their parent rather than as a flyout. */
	.rfc-nav.is-open .sub-menu {
		display: block;
		position: static;
		background: transparent;
		border: none;
		box-shadow: none;
		margin: 0 0 4px;
		padding: 0 0 0 16px;
	}
	.rfc-nav.is-open .sub-menu a {
		color: rgba(255,255,255,0.65);
		font-size: 13px;
		padding: 8px 0;
		border-left: 1px solid rgba(255,255,255,0.15);
		padding-left: 12px;
	}
	.rfc-nav.is-open .sub-menu a:hover { color: #fff; background: transparent; }
}

/* =========================================================
   Hero (+ stats bar folded into the same dark surface)
   ========================================================= */
.rfc-hero {
	position: relative;
	background-color: var(--rfc-navy);
	color: #fff;
	overflow: hidden;
}
.rfc-hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.rfc-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
	background-size: 40px 40px;
	opacity: 0.04;
}
.rfc-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, var(--rfc-navy) 0%, rgba(26,26,46,0.85) 45%, rgba(26,26,46,0.55) 100%);
}
.rfc-hero-main { position: relative; z-index: 1; padding: 128px 0 64px; }
.rfc-hero .rfc-container { position: relative; z-index: 1; }

.rfc-hero-kicker {
	font-family: var(--rfc-font-mono);
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--rfc-brand);
	margin-bottom: 24px;
}
.rfc-hero h1 {
	font-size: clamp(32px, 6vw, 72px);
	line-height: 1.05;
	font-weight: 700;
	letter-spacing: -0.02em;
	max-width: 16ch;
	text-wrap: balance;
	margin-bottom: 24px;
}
.rfc-hero h1 em {
	font-style: normal;
	background: linear-gradient(90deg, #4c89ef, var(--rfc-brand));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.rfc-hero p.lede {
	max-width: 46ch;
	font-size: 18px;
	line-height: 1.7;
	color: rgba(255,255,255,0.7);
	margin-bottom: 40px;
}
.rfc-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.rfc-stats {
	position: relative;
	z-index: 1;
	border-top: 1px solid rgba(255,255,255,0.08);
}
.rfc-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.rfc-stat { padding: 32px 24px; border-left: 1px solid rgba(255,255,255,0.08); }
.rfc-stat:first-child { border-left: none; padding-left: 0; }
.rfc-stat .num {
	font-family: var(--rfc-font-sans);
	font-size: 24px;
	font-weight: 700;
	color: #fff;
	font-variant-numeric: tabular-nums;
}
.rfc-stat .lbl {
	margin-top: 6px;
	font-family: var(--rfc-font-mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.55);
}
@media (max-width: 700px) {
	.rfc-stats-grid { grid-template-columns: repeat(2, 1fr); gap-y: 24px; }
	.rfc-stat:nth-child(3) { border-left: none; padding-left: 0; }
	.rfc-stat:nth-child(3), .rfc-stat:nth-child(4) { padding-top: 24px; }
}

/* =========================================================
   Advantages
   ========================================================= */
.rfc-adv-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--rfc-border);
	border: 1px solid var(--rfc-border);
}
.rfc-adv-card { background: var(--rfc-surface); padding: 40px 32px; }
.rfc-icon-wrap {
	width: 48px; height: 48px;
	display: flex; align-items: center; justify-content: center;
	background: var(--rfc-brand-tint);
	color: var(--rfc-brand);
	margin-bottom: 20px;
	transition: background-color .25s ease, color .25s ease;
}
.rfc-adv-card:hover .rfc-icon-wrap,
.rfc-product-card:hover .rfc-icon-wrap { background: var(--rfc-brand); color: #fff; }
.rfc-adv-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.rfc-adv-card p { color: var(--rfc-ink-muted); font-size: 15px; line-height: 1.7; }

@media (max-width: 860px) { .rfc-adv-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Products
   ========================================================= */
.rfc-product-intro {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
	margin-bottom: 56px;
}
.rfc-product-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.rfc-product-photo img { width: 100%; height: 100%; object-fit: cover; }

.rfc-product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--rfc-border);
	border: 1px solid var(--rfc-border);
}
.rfc-product-card {
	position: relative;
	background: var(--rfc-surface);
	padding: 32px;
	transition: background-color .25s ease;
	overflow: hidden;
}
.rfc-product-card::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 2px;
	background: var(--rfc-brand);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease;
}
.rfc-product-card:hover { background: var(--rfc-surface-2); }
.rfc-product-card:hover::before { transform: scaleX(1); }
.rfc-product-card .idx {
	font-family: var(--rfc-font-mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--rfc-brand);
	display: block;
	margin-bottom: 16px;
}
.rfc-product-card .rfc-icon-wrap { width: 44px; height: 44px; margin: 0 0 20px; }
.rfc-product-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.rfc-product-card p { color: var(--rfc-ink-muted); font-size: 14.5px; line-height: 1.7; margin-bottom: 20px; }
.rfc-product-card .more {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 13.5px; font-weight: 500; color: var(--rfc-brand);
}
.rfc-product-card .more .rfc-icon { width: 16px; height: 16px; transition: transform .2s ease; }
.rfc-product-card:hover .more .rfc-icon { transform: translateX(3px); }

@media (max-width: 860px) {
	.rfc-product-intro { grid-template-columns: 1fr; gap: 24px; }
	.rfc-product-grid { grid-template-columns: 1fr; }
}
@media (min-width: 640px) and (max-width: 860px) {
	.rfc-product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   About
   ========================================================= */
.rfc-about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}
.rfc-about-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.rfc-about-photo img { width: 100%; height: 100%; object-fit: cover; }
.rfc-about-text h2 {
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
	margin-bottom: 24px;
}
.rfc-about-text p { color: var(--rfc-ink-muted); font-size: 16px; line-height: 1.8; }
.rfc-about-text p + p { margin-top: 16px; }
.rfc-about-figures {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 32px;
}
.rfc-about-figures .fig { border-left: 2px solid var(--rfc-brand); padding-left: 16px; }
.rfc-about-figures .fig .num { font-size: 24px; font-weight: 700; color: var(--rfc-ink); }
.rfc-about-figures .fig .lbl {
	margin-top: 4px;
	font-family: var(--rfc-font-mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rfc-ink-muted);
}
@media (max-width: 860px) { .rfc-about-grid { grid-template-columns: 1fr; gap: 32px; } }

/* =========================================================
   Partners
   ========================================================= */
.rfc-partners { position: relative; color: #fff; background-color: var(--rfc-navy); overflow: hidden; }
.rfc-partners-bg {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	opacity: 0.5;
}
.rfc-partners::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(26,26,46,0.75), rgba(26,26,46,0.94));
}
.rfc-partners .rfc-container { position: relative; z-index: 1; }

.rfc-partner-tabs { display: flex; gap: 4px; margin-bottom: 32px; flex-wrap: wrap; }
.rfc-partner-tab {
	padding: 10px 20px;
	font-family: var(--rfc-font-mono);
	font-size: 14px;
	letter-spacing: 0.04em;
	color: rgba(255,255,255,0.6);
	background: rgba(255,255,255,0.1);
	transition: background-color .2s ease, color .2s ease;
}
.rfc-partner-tab:hover { color: #fff; background: rgba(255,255,255,0.15); }
.rfc-partner-tab.is-active { background: var(--rfc-brand); color: #fff; }

.rfc-partner-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 1px;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.08);
	margin-bottom: 32px;
}
.rfc-partner-badge {
	background: rgba(10,22,40,0.6);
	padding: 18px 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 13.5px;
	color: rgba(255,255,255,0.85);
	transition: background-color .3s ease;
}
.rfc-partner-badge:hover { background: rgba(0,102,255,0.15); }

.rfc-partner-notes {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.rfc-partner-note {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: rgba(255,255,255,0.5);
}
.rfc-partner-note .rfc-icon { width: 16px; height: 16px; color: var(--rfc-brand); margin-top: 2px; }
.rfc-partner-note b { color: rgba(255,255,255,0.85); font-weight: 600; }
@media (min-width: 640px) { .rfc-partner-notes { flex-direction: row; gap: 24px; } }

/* =========================================================
   Contact
   ========================================================= */
.rfc-contact-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 64px;
}
.rfc-contact-info-item { padding: 20px 0; border-bottom: 1px solid var(--rfc-border); }
.rfc-contact-info-item:first-child { padding-top: 0; }
.rfc-contact-info-item .lbl {
	font-family: var(--rfc-font-mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rfc-ink-muted);
	margin-bottom: 4px;
}
.rfc-contact-info-item .val { font-size: 18px; font-weight: 700; }
.rfc-contact-info-item a:hover { color: var(--rfc-brand); }

.rfc-form { background: var(--rfc-surface-2); padding: 32px; }
.rfc-form h3 { font-size: 18px; font-weight: 700; margin-bottom: 24px; }
.rfc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rfc-field { margin-bottom: 16px; }
.rfc-field label {
	display: block;
	font-family: var(--rfc-font-mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rfc-ink-muted);
	margin-bottom: 8px;
}
.rfc-field input, .rfc-field textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--rfc-border);
	border-radius: 0;
	background: var(--rfc-bg);
	color: var(--rfc-ink);
	font-size: 14px;
	transition: border-color .2s ease;
}
.rfc-field input::placeholder, .rfc-field textarea::placeholder { color: #9ca0a8; }
.rfc-field input:focus, .rfc-field textarea:focus { border-color: var(--rfc-brand); outline: none; }
.rfc-field textarea { resize: vertical; min-height: 120px; }
.rfc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.rfc-field--consent { margin-bottom: 20px; }
.rfc-field--consent label.rfc-consent-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	font-family: var(--rfc-font-sans, inherit);
	text-transform: none;
	letter-spacing: normal;
	font-size: 13px;
	line-height: 1.5;
	color: var(--rfc-ink-muted);
	margin-bottom: 0;
}
.rfc-consent-label input[type="checkbox"] {
	width: 16px;
	height: 16px;
	min-width: 16px;
	margin: 2px 0 0;
	padding: 0;
	accent-color: var(--rfc-brand);
}
.rfc-consent-label a { color: var(--rfc-ink); text-decoration: underline; }
.rfc-consent-label a:hover { color: var(--rfc-brand); }

.rfc-form-notice { padding: 12px 16px; font-size: 14px; margin-bottom: 20px; }
.rfc-form-notice--ok { background: #e9f7ef; color: #1e7e42; border: 1px solid #bfe6cc; }
.rfc-form-notice--err { background: #fdecec; color: #b3261e; border: 1px solid #f5c2c0; }

@media (max-width: 860px) {
	.rfc-contact-grid { grid-template-columns: 1fr; gap: 40px; }
	.rfc-form-row { grid-template-columns: 1fr; }
}

/* =========================================================
   Footer
   ========================================================= */
.rfc-footer { background: var(--rfc-navy); color: rgba(255,255,255,0.65); padding: 72px 0 0; }
.rfc-footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 0.8fr 0.8fr;
	gap: 40px;
	padding-bottom: 56px;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rfc-footer-brand .rfc-logo { color: #fff; margin-bottom: 20px; display: inline-flex; }
.rfc-footer-brand p { font-size: 14px; line-height: 1.7; max-width: 32ch; }
.rfc-footer-col h4 {
	font-family: var(--rfc-font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 20px;
}
.rfc-footer-col ul li { margin-bottom: 12px; font-size: 14px; }
.rfc-footer-col a:hover { color: #fff; }

/* Footer catalog columns — top-level category bold/white, its children
   a smaller indented list beneath (mirrors the header dropdown tree). */
.rfc-footer-cat-list .rfc-footer-cat-group { margin-bottom: 16px; }
.rfc-footer-cat-list .rfc-footer-cat-top {
	display: block;
	font-weight: 600;
	color: #fff;
	margin-bottom: 8px;
}
.rfc-footer-cat-list .rfc-footer-cat-top:hover { color: var(--rfc-brand); }
.rfc-footer-cat-list ul { margin: 0; padding-left: 14px; border-left: 1px solid rgba(255,255,255,0.12); }
.rfc-footer-cat-list ul li { margin-bottom: 8px; font-size: 13px; line-height: 1.4; }
.rfc-footer-cat-list ul a { color: rgba(255,255,255,0.5); }
.rfc-footer-cat-list ul a:hover { color: #fff; }

.rfc-footer-bottom {
	padding: 24px 0;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 12.5px;
	font-family: var(--rfc-font-mono);
	color: rgba(255,255,255,0.4);
}
@media (max-width: 1100px) { .rfc-footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px) { .rfc-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .rfc-footer-grid { grid-template-columns: 1fr; } }

.rfc-footer-disclaimer {
	padding: 16px 0 24px;
	border-top: 1px solid rgba(255,255,255,0.08);
	font-size: 12px;
	line-height: 1.6;
	color: rgba(255,255,255,0.35);
}
.rfc-footer-disclaimer p { margin: 0; max-width: 900px; }
.rfc-footer-disclaimer a { color: rgba(255,255,255,0.55); text-decoration: underline; }
.rfc-footer-disclaimer a:hover { color: #fff; }

/* =========================================================
   Catalog (reference card grid, no prices/cart)
   ========================================================= */
.rfc-catalog-layout {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 40px;
	align-items: start;
}
.rfc-catalog-sidebar {
	position: sticky;
	top: 100px;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	padding-right: 4px;
}
.rfc-filter-group { margin-bottom: 32px; }
.rfc-filter-group h4 {
	font-family: var(--rfc-font-mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rfc-ink-muted);
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--rfc-border);
}
.rfc-filter-list, .rfc-filter-tree, .rfc-filter-tree ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.rfc-filter-tree ul { padding-left: 16px; margin-top: 4px; }
.rfc-filter-list li, .rfc-filter-tree li { margin-bottom: 2px; }
.rfc-filter-list a, .rfc-filter-tree a {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	padding: 6px 8px;
	font-size: 13.5px;
	color: var(--rfc-ink-muted);
	border-radius: 0;
}
.rfc-filter-list a:hover, .rfc-filter-tree a:hover { color: var(--rfc-ink); background: var(--rfc-surface-2); }
.rfc-filter-list a.is-checked, .rfc-filter-tree a.is-active {
	color: var(--rfc-brand);
	background: var(--rfc-brand-tint);
	font-weight: 500;
}
.rfc-filter-list a::before {
	content: "";
	width: 14px; height: 14px;
	flex-shrink: 0;
	border: 1px solid var(--rfc-border);
	margin-right: 8px;
	display: inline-block;
}
.rfc-filter-list a.is-checked::before {
	background: var(--rfc-brand);
	border-color: var(--rfc-brand);
}
.rfc-filter-list a .cnt, .rfc-filter-tree a .cnt {
	font-family: var(--rfc-font-mono);
	font-size: 11px;
	color: var(--rfc-ink-muted);
	margin-left: auto;
}

.rfc-filter-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 1px solid var(--rfc-border);
	font-family: var(--rfc-font-mono);
	font-size: 13px;
	color: var(--rfc-ink);
	margin-bottom: 20px;
}
.rfc-filter-toggle .rfc-icon { width: 16px; height: 16px; }
.rfc-filter-mobile-head, .rfc-filter-mobile-apply { display: none; }

@media (max-width: 900px) {
	.rfc-catalog-layout { grid-template-columns: 1fr; display: block; }
	.rfc-filter-toggle { display: inline-flex; }

	.rfc-catalog-sidebar {
		position: fixed;
		inset: 0;
		z-index: 250;
		max-height: none;
		background: var(--rfc-bg);
		padding: 20px;
		transform: translateX(-100%);
		transition: transform .25s ease;
		display: flex;
		flex-direction: column;
	}
	.rfc-catalog-sidebar.is-open { transform: translateX(0); }

	.rfc-filter-mobile-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		font-weight: 700;
		font-size: 16px;
		padding-bottom: 16px;
		margin-bottom: 20px;
		border-bottom: 1px solid var(--rfc-border);
	}
	.rfc-filter-mobile-apply {
		display: block;
		margin-top: auto;
		padding-top: 16px;
		position: sticky;
		bottom: 0;
		background: var(--rfc-bg);
	}
}

.rfc-catalog-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 0;
	margin-bottom: 32px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--rfc-border);
}
.rfc-catalog-toolbar .count {
	flex: 1 1 100%;
	order: 2;
	text-align: right;
	font-family: var(--rfc-font-mono);
	font-size: 12px;
	color: var(--rfc-ink-muted);
}
.rfc-catalog-search {
	display: flex;
	align-items: stretch;
	flex: 1 1 100%;
	order: 1;
	margin-bottom: 12px;
}
.rfc-catalog-search input {
	flex: 1;
	min-width: 0;
	padding: 10px 14px;
	border: 1px solid var(--rfc-border);
	border-right: none;
	background: var(--rfc-surface);
	color: var(--rfc-ink);
	font-size: 14px;
}
.rfc-catalog-search input:focus { outline: none; border-color: var(--rfc-brand); }
.rfc-catalog-search button {
	padding: 0 14px;
	background: var(--rfc-brand);
	color: #fff;
	flex-shrink: 0;
}
.rfc-catalog-search button:hover { background: var(--rfc-brand-hover); }
.rfc-catalog-search .rfc-icon { width: 16px; height: 16px; }
.rfc-catalog-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.rfc-catalog-filters a {
	font-family: var(--rfc-font-mono);
	font-size: 11.5px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 6px 12px;
	border: 1px solid var(--rfc-border);
	color: var(--rfc-ink-muted);
}
.rfc-catalog-filters a:hover,
.rfc-catalog-filters a.is-active { border-color: var(--rfc-brand); color: var(--rfc-brand); }

.rfc-catalog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1px;
	background: var(--rfc-border);
	border: 1px solid var(--rfc-border);
}
.rfc-catalog-card {
	display: flex;
	flex-direction: column;
	background: var(--rfc-surface);
	color: var(--rfc-ink);
	transition: background-color .2s ease;
}
.rfc-catalog-card:hover { background: var(--rfc-surface-2); }
.rfc-catalog-card-img {
	aspect-ratio: 1 / 1;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	border-bottom: 1px solid var(--rfc-border);
}
.rfc-catalog-card-img img { width: 100%; height: 100%; object-fit: contain; }
.rfc-catalog-card-noimg { color: var(--rfc-border); }
.rfc-catalog-card-noimg .rfc-icon { width: 40px; height: 40px; }
.rfc-catalog-card-body { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.rfc-catalog-card-brand {
	font-family: var(--rfc-font-mono);
	font-size: 10.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rfc-brand);
}
.rfc-catalog-card-body h3 { font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.rfc-catalog-card-sku {
	font-family: var(--rfc-font-mono);
	font-size: 11px;
	color: var(--rfc-ink-muted);
}
.rfc-catalog-card-price {
	margin-top: auto;
	padding-top: 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--rfc-ink);
}

.rfc-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.rfc-pagination a, .rfc-pagination span {
	min-width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--rfc-font-mono);
	font-size: 12px;
	border: 1px solid var(--rfc-border);
	color: var(--rfc-ink-muted);
}
.rfc-pagination .current { border-color: var(--rfc-brand); color: var(--rfc-brand); }
.rfc-pagination a:hover { border-color: var(--rfc-brand); color: var(--rfc-brand); }

/* Single product */
.rfc-product-single {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 56px;
	align-items: start;
}
.rfc-product-gallery {
	background: #fff;
	border: 1px solid var(--rfc-border);
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px;
}
.rfc-product-gallery img { width: 100%; height: 100%; object-fit: contain; }
.rfc-product-single h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.25; margin-bottom: 8px; }
.rfc-product-meta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.rfc-product-meta-row span {
	font-family: var(--rfc-font-mono);
	font-size: 12px;
	color: var(--rfc-ink-muted);
}
.rfc-product-meta-row a { color: var(--rfc-brand); }
.rfc-product-price { font-size: 24px; font-weight: 700; color: var(--rfc-ink); margin-bottom: 16px; }

table.rfc-spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
table.rfc-spec-table th, table.rfc-spec-table td {
	text-align: left;
	padding: 12px 16px;
	border-bottom: 1px solid var(--rfc-border);
	font-size: 14px;
	vertical-align: top;
}
table.rfc-spec-table th {
	width: 42%;
	font-weight: 400;
	color: var(--rfc-ink-muted);
}
table.rfc-spec-table td { font-weight: 500; }

@media (max-width: 780px) {
	.rfc-product-single { grid-template-columns: 1fr; gap: 24px; }
}

/* =========================================================
   Expandable text (SEO copy longer than a couple of lines)
   ========================================================= */
.rfc-expand { position: relative; margin-top: 8px; }
.rfc-expand-inner {
	color: var(--rfc-ink-muted);
	font-size: 16px;
	line-height: 1.7;
	max-height: 17em; /* ~10 lines at this line-height */
	overflow: hidden;
	position: relative;
}
.rfc-expand-inner p + p { margin-top: 12px; }
.rfc-expand:not(.is-expanded) .rfc-expand-inner::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 3.4em;
	background: linear-gradient(to bottom, transparent, var(--rfc-bg));
	pointer-events: none;
}
.rfc-expand.is-expanded .rfc-expand-inner { max-height: none; }
.rfc-expand-toggle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 12px;
	color: var(--rfc-brand);
	font-size: 14px;
	font-weight: 500;
}
.rfc-expand-toggle:hover { text-decoration: underline; }

/* =========================================================
   Modal (price/availability request, etc.)
   ========================================================= */
body.rfc-modal-open { overflow: hidden; }
.rfc-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(7, 11, 20, 0.6);
	align-items: center;
	justify-content: center;
	padding: 20px;
	display: none;
}
.rfc-modal-overlay:not([hidden]) { display: flex; }
.rfc-modal {
	position: relative;
	background: var(--rfc-surface);
	width: 100%;
	max-width: 480px;
	max-height: 90vh;
	overflow-y: auto;
	padding: 32px;
}
.rfc-modal h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; padding-right: 24px; }
.rfc-modal-subtitle { font-size: 13.5px; color: var(--rfc-ink-muted); margin-bottom: 24px; }
.rfc-modal-close {
	position: absolute;
	top: 20px; right: 20px;
	color: var(--rfc-ink-muted);
	line-height: 0;
}
.rfc-modal-close:hover { color: var(--rfc-ink); }
.rfc-modal-close .rfc-icon { width: 18px; height: 18px; }

/* =========================================================
   Scroll-reveal
   ========================================================= */
.rfc-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.rfc-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
	.rfc-reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}
