/* Product catalog and product page (catalog.php, single-product.php). Colours from the theme (css/common.css). */
.fc-page {
	--fc-navy: rgba(0, 20, 119, 1);
	--fc-blue: rgba(0, 71, 255, 1);
	--fc-ink: rgb(18, 18, 18);
	--fc-text: rgb(80, 80, 80);
	--fc-muted: rgb(110, 110, 110);
	--fc-light: rgba(243, 246, 255, 1);
	--fc-line: rgb(222, 227, 240);
	--fc-radius: 14px;
	padding: 20px 0 80px;
	color: var(--fc-text);
	font-family: "Roboto", sans-serif;
}
/* Directly below the fixed header (64 px); the theme's .content margin is meant for its banners. */
.content.fc-page {
	margin-top: 64px;
}
.fc-container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}
.fc-page *, .fc-page *::before, .fc-page *::after { box-sizing: border-box; }

/* Headings: the theme's h1 is the white hero style, here dark and smaller. */
.fc-page h1.fc-title {
	color: var(--fc-ink);
	font-family: "Archivo", sans-serif;
	font-size: clamp(30px, 4.2vw, 48px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
	text-transform: none;
	margin: 0 0 14px;
}
.fc-page h2 {
	color: var(--fc-ink);
	font-family: "Archivo", sans-serif;
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0 0 16px;
}
.fc-lead {
	max-width: 760px;
	font-size: 18px;
	line-height: 1.55;
	color: var(--fc-text);
	margin: 0 0 28px;
}

.fc-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 22px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--fc-muted);
}
.fc-breadcrumbs a { color: var(--fc-muted); text-decoration: none; }
.fc-breadcrumbs a:hover { color: var(--fc-blue); }
.fc-breadcrumbs > * + *::before { content: "/"; margin-right: 6px; color: var(--fc-line); }

/* Buttons */
.fc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 18px;
	border: 2px solid var(--fc-navy);
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.2;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.fc-btn--primary { background: var(--fc-navy); color: #fff; }
.fc-btn--primary:hover { background: var(--fc-blue); border-color: var(--fc-blue); color: #fff; }
.fc-btn--ghost { background: transparent; color: var(--fc-navy); }
.fc-btn--ghost:hover { background: var(--fc-navy); color: #fff; }
.fc-btn--light { background: #fff; color: var(--fc-navy); border-color: #fff; }
.fc-btn--light:hover { background: transparent; color: #fff; }
.fc-btn:focus-visible, .fc-filter__option:focus-visible, .fc-card__title a:focus-visible, .fc-table-wrap:focus-visible {
	outline: 3px solid var(--fc-blue);
	outline-offset: 2px;
}

/* Filters */
.fc-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 28px;
	margin: 0 0 26px;
	padding: 16px 18px;
	background: var(--fc-light);
	border-radius: var(--fc-radius);
}
.fc-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fc-filter__label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fc-muted); margin-right: 4px; }
.fc-filter__option {
	padding: 7px 14px;
	border: 1px solid var(--fc-line);
	border-radius: 999px;
	background: #fff;
	color: var(--fc-ink);
	font-size: 14px;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.fc-filter__option:hover { border-color: var(--fc-navy); }
.fc-filter__option.is-active { background: var(--fc-navy); border-color: var(--fc-navy); color: #fff; }
.fc-count { margin: 0 0 0 auto; font-size: 14px; font-weight: 700; color: var(--fc-navy); }

/* Cards */
.fc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 22px;
}
.fc-grid--small { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.fc-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--fc-line);
	border-radius: var(--fc-radius);
	overflow: hidden;
	transition: box-shadow 0.2s, transform 0.2s;
}
.fc-card[hidden] { display: none; }
.fc-card:hover { box-shadow: 0 12px 30px rgba(0, 20, 119, 0.12); transform: translateY(-2px); }
.fc-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	padding: 18px;
	background: var(--fc-light);
}
.fc-card__media { overflow: hidden; }
.fc-card__media img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.fc-card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 6px; flex: 1; }
.fc-card__model {
	display: inline-block;
	align-self: flex-start;
	margin: 0;
	padding: 3px 9px;
	border-radius: 6px;
	background: var(--fc-navy);
	color: #fff;
	font-family: "Archivo", sans-serif;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.04em;
}
.fc-page .fc-card__title { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 700; }
.fc-card__title a { color: var(--fc-ink); text-decoration: none; }
.fc-card__title a:hover { color: var(--fc-blue); }
.fc-card__compat { margin: 0; font-size: 13px; line-height: 1.45; color: var(--fc-muted); }
.fc-card__actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 18px 18px; }
.fc-card__actions .fc-btn { flex: 1 1 auto; }
.fc-empty { padding: 24px; text-align: center; background: var(--fc-light); border-radius: var(--fc-radius); }

.fc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fc-chip { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.3; }
.fc-chip--radio { background: rgba(0, 71, 255, 0.1); color: var(--fc-navy); }
.fc-chip--mount { background: rgb(236, 238, 242); color: rgb(60, 60, 60); }

.fc-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 2px 0 0; }
.fc-facts > div { padding: 8px 10px; background: var(--fc-light); border-radius: 8px; min-width: 0; }
.fc-facts dt { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fc-muted); }
.fc-facts dd { margin: 2px 0 0; font-size: 14px; font-weight: 700; color: var(--fc-ink); overflow-wrap: anywhere; }
.fc-card .fc-facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
.fc-card .fc-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; background: none; border-radius: 0; border-bottom: 1px solid var(--fc-line); }
.fc-card .fc-facts > div:last-child { border-bottom: 0; }
.fc-card .fc-facts dd { margin: 0; text-align: right; font-size: 13px; }
.fc-facts--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 6px 0 4px; }
.fc-facts__full { grid-column: 1 / -1; }
.fc-facts--wide dd { font-size: 15px; }

/* Comparison and specification tables */
.fc-compare, .fc-specs, .fc-related, .fc-text { margin-top: 64px; }
.fc-table-wrap { overflow-x: auto; border: 1px solid var(--fc-line); border-radius: var(--fc-radius); }
.fc-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.4; }
.fc-table th, .fc-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--fc-line); }
.fc-table thead th { background: var(--fc-navy); color: #fff; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.fc-table tbody tr:last-child > * { border-bottom: 0; }
.fc-table tbody tr:nth-child(even) { background: var(--fc-light); }
.fc-table tbody th { color: var(--fc-ink); font-weight: 700; white-space: nowrap; }
.fc-table a { color: var(--fc-navy); font-weight: 700; }
.fc-table--specs th { width: 45%; white-space: normal; font-weight: 400; color: var(--fc-text); }
.fc-table--specs td { color: var(--fc-ink); font-weight: 700; }

/* Call to action */
.fc-cta {
	margin-top: 64px;
	padding: 36px;
	border-radius: var(--fc-radius);
	background: var(--fc-navy);
	color: #fff;
}
.fc-page .fc-cta h2 { color: #fff; }
.fc-cta p { max-width: 720px; margin: 0 0 20px; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, 0.85); }

/* Product page */
.fc-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 44px;
	align-items: start;
}
.fc-hero__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	padding: 28px;
	border-radius: var(--fc-radius);
	background: var(--fc-light);
}
.fc-hero__media img { width: 100%; height: 100%; object-fit: contain; }
.fc-hero__info { display: flex; flex-direction: column; gap: 14px; }
.fc-hero__info .fc-title { margin: 0; }
.fc-hero__info .fc-lead { margin: 0 0 4px; }
.fc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.fc-text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.fc-prose { font-size: 16px; line-height: 1.65; color: var(--fc-text); }
.fc-prose p { margin: 0 0 12px; }
.fc-prose img { max-width: 100%; height: auto; }
.fc-prose--wide { margin-top: 40px; }
.fc-after a[href$=".pdf"] { color: var(--fc-navy); font-weight: 700; }

.fc-inquiry {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 36px;
	margin-top: 72px;
	padding: 36px;
	border-radius: var(--fc-radius);
	background: var(--fc-navy);
	color: #fff;
	scroll-margin-top: 90px;
}
.fc-page .fc-inquiry h2 { color: #fff; }
.fc-inquiry__intro p { font-size: 16px; line-height: 1.6; margin: 0; color: rgba(255, 255, 255, 0.85); }

@media (max-width: 900px) {
	.fc-hero, .fc-text, .fc-inquiry { grid-template-columns: minmax(0, 1fr); }
	.fc-hero { gap: 24px; }
	.fc-hero__media { aspect-ratio: 4 / 3; }
	.fc-count { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
	.fc-container { padding: 0 16px; }
	.fc-page { padding-top: 14px; }
	.fc-lead { font-size: 16px; }
	.fc-grid { grid-template-columns: minmax(0, 1fr); }
	.fc-filters { padding: 14px; }
	.fc-facts--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fc-cta, .fc-inquiry { padding: 24px 18px; }
	.fc-card__actions .fc-btn { flex-basis: 100%; }
}
