/*
 * Lock Grade — shared site stylesheet.
 * Loaded by every page; layout is mobile-first with a sticky header,
 * a responsive comparison-table component, and an accessible FAQ pattern.
 */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	-webkit-text-size-adjust: 100% !important;
	-moz-text-size-adjust: 100% !important;
	text-size-adjust: 100% !important;
}

html {
	font-size: 17px;
	scroll-behavior: smooth;
}

body {
	margin: 0;
}

img {
	max-width: 100%;
	display: block;
}

ul {
	margin: 0;
	padding: 0;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Design tokens ---------- */
:root {
	/* Obsidian & Brass — dark premium theme */
	--ink-1: #f8fafc;
	--ink-2: #cbd5e1;
	--ink-3: #64748b;
	--surface-1: #1a202c;
	--surface-2: #151924;
	--surface-3: #0f1419;
	--line: #2d3748;
	--brand: #d97706;
	--brand-dark: #b45309;
	--accent: #f59e0b;
	--accent-dark: #d97706;
	--success: #10b981;
	--warning: #f59e0b;
	--danger: #ef4444;
	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-lg: 16px;
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
	--shadow-md: 0 4px 20px rgba(0, 0, 0, 0.45);
	--max-width: 1180px;
	--font-sans: system-ui, -apple-system, "Inter", "SF Pro Display", sans-serif;
}

body {
	font-family: var(--font-sans);
	font-size: 18px !important;
	color: var(--ink-1);
	background: #121620;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
	line-height: 1.2;
	font-weight: 800;
	color: var(--ink-1);
	letter-spacing: -0.02em;
}

h1 {
	font-size: clamp(2rem, 4.2vw, 2.85rem);
	margin: 0 0 0.75rem;
}

h2 {
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	margin: 2.75rem 0 1rem;
}

h3 {
	font-size: 1.2rem;
	margin: 1.75rem 0 0.6rem;
}

p {
	color: var(--ink-2);
	margin: 0 0 1rem;
}

a {
	color: var(--accent);
	text-decoration: underline;
	text-decoration-color: rgba(245, 158, 11, 0.3);
	text-underline-offset: 2px;
}

a:hover {
	color: var(--accent-dark);
}

.eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent-dark);
	margin-bottom: 0.6rem;
}

.lede {
	font-size: 1.1rem;
	color: var(--ink-2);
}

/* ---------- Header / nav ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(11, 14, 20, 0.97);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
	box-shadow: var(--shadow-sm);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.9rem 0;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-weight: 800;
	font-size: 1.4rem;
	color: var(--ink-1);
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.2s ease;
}

.brand:hover {
	color: var(--ink-1) !important;
	opacity: 0.85;
	text-decoration: none !important;
}

.brand:hover .brand-accent {
	color: #22c55e !important;
}

.brand svg {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
}

.logo-icon {
	font-size: 1.5rem;
	display: inline-block;
	flex-shrink: 0;
	background: linear-gradient(135deg, #ffffff 30%, #2ecc71 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.brand-accent {
	color: #22c55e;
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 1.75rem;
}

.main-nav ul {
	display: flex;
	gap: 1.75rem;
	list-style: none;
}

.main-nav a {
	color: var(--ink-2);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.4rem 0.1rem;
	border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current='page'] {
	color: var(--brand);
	border-bottom-color: var(--accent);
}

.nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 0.45rem 0.6rem;
	cursor: pointer;
}

.nav-toggle svg {
	display: block;
}

@media (max-width: 820px) {
	.nav-toggle {
		display: inline-flex;
	}

	.main-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		background: var(--surface-1);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-md);
		padding: 0.5rem 1.5rem 1rem;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.25s ease;
	}

	.main-nav.is-open {
		max-height: 320px;
	}

	.main-nav ul {
		flex-direction: column;
		gap: 0.25rem;
	}

	.main-nav a {
		display: block;
		padding: 0.6rem 0.2rem;
	}
}

/* ---------- Hero ---------- */
.hero {
	padding: 3.25rem 0 2.5rem;
	border-bottom: 1px solid var(--line);
	background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
}

.breadcrumbs {
	font-size: 0.85rem;
	color: var(--ink-3);
	margin-bottom: 1rem;
}

.breadcrumbs a {
	color: var(--ink-3);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--brand);
}

.seo-breadcrumbs {
	display: none;
}

/* ---------- Section spacing ---------- */
.section {
	padding: 3rem 0;
}

.section--tight {
	padding-top: 0;
}

.section-intro {
}

.matrix__type {
	display: block;
	font-weight: 600;
	color: var(--ink-1);
	font-size: 0.9rem;
	line-height: 1.3;
}

.matrix__product strong {
	display: block;
	font-weight: 700;
	color: var(--ink-1);
	font-size: 0.95rem;
	line-height: 1.35;
}

/* ---------- Blog post / buying guide article ---------- */
.blog-post {
	padding: 2.5rem 0 2.75rem;
	background: var(--surface-2);
	border-bottom: 1px solid var(--line);
}

.blog-post > .container > h2 {
	margin-top: 0;
}

.blog-post h3 {
	border-left: 3px solid var(--brand);
	padding-left: 0.75rem;
	margin-top: 2rem;
	color: var(--ink-1);
}

.blog-post p,
.blog-post ul {
	max-width: none;
}

.blog-post p strong {
	color: var(--ink-1);
}

.blog-post ul {
	list-style: disc;
	padding-left: 1.75rem;
	margin: 0.5rem 0 1.1rem;
}

.blog-post li {
	color: var(--ink-2);
	margin-bottom: 0.4rem;
	line-height: 1.6;
}

.blog-post li strong {
	color: var(--ink-1);
}

/* ---------- Comparison matrix table ---------- */
.matrix-wrap {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	background: var(--surface-1);
}

.matrix {
	width: 100%;
	border-collapse: collapse;
	min-width: 760px;
}

.matrix caption {
	text-align: left;
	font-weight: 700;
	padding: 1rem 1.25rem 0.25rem;
}

.matrix thead th {
	text-align: left;
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-3);
	background: var(--surface-2);
	padding: 0.9rem 1.1rem;
	border-bottom: 1px solid var(--line);
}

.matrix tbody td {
	padding: 1.1rem;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
	color: var(--ink-2);
}

.matrix tbody tr:last-child td {
	border-bottom: none;
}

.matrix tbody tr:hover {
	background: var(--surface-2);
}

.matrix__product {
	font-weight: 700;
	color: var(--ink-1);
	min-width: 200px;
}

.matrix__product span {
	display: block;
	font-weight: 500;
	color: var(--ink-3);
	font-size: 0.85rem;
	margin-top: 0.2rem;
}

.product-id {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.avatar-container {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--surface-2);
	border: 1px solid var(--line);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.avatar-container img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.product-id__text {
	min-width: 0;
}

.badge-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.badge {
	display: inline-flex;
	align-items: center;
	font-size: 0.78rem;
	font-weight: 600;
	padding: 0.25rem 0.55rem;
	border-radius: 999px;
	background: var(--surface-3);
	color: var(--ink-2);
	white-space: nowrap;
}

.badge--brand {
	background: #1b4d3e;
	color: #ffffff;
	border: none;
}

.battery-indicator {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.battery-indicator .bars {
	width: 46px;
	height: 14px;
	border: 2px solid var(--ink-3);
	border-radius: 3px;
	position: relative;
	background: linear-gradient(to right, var(--success) calc(var(--level, 3) / 5 * 100%), var(--surface-3) 0);
}

.battery-indicator .bars::after {
	content: '';
	position: absolute;
	top: 3px;
	right: -5px;
	width: 3px;
	height: 8px;
	background: var(--ink-3);
	border-radius: 0 2px 2px 0;
}

.battery-indicator small {
	color: var(--ink-3);
	font-size: 0.78rem;
}

.price-action-btn {
	display: inline-block;
	white-space: nowrap;
	background: var(--brand);
	color: #0b0e14 !important;
	font-weight: 700;
	font-size: 0.82rem;
	padding: 0.6rem 1.25rem;
	border-radius: var(--radius-sm);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border: none;
	box-shadow: 0 2px 8px rgba(217, 119, 6, 0.28);
	transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.price-action-btn:hover {
	background: var(--brand-dark);
	color: #0b0e14 !important;
	box-shadow: 0 4px 14px rgba(217, 119, 6, 0.45);
	transform: translateY(-1px);
}

.price-action-btn--ghost {
	background: transparent;
	color: var(--accent) !important;
	box-shadow: none;
	border: 1.5px solid var(--brand);
}

.price-action-btn--ghost:hover {
	background: var(--brand);
	color: #0b0e14 !important;
	box-shadow: 0 2px 8px rgba(217, 119, 6, 0.28);
}

/* Comparison table collapses into stacked cards on small screens */
@media (max-width: 720px) {
	.matrix-wrap--cards {
		border: none;
		box-shadow: none;
		overflow-x: visible;
	}

	.matrix--cards {
		min-width: 0;
	}

	.matrix--cards thead {
		display: none;
	}

	.matrix--cards tbody tr {
		display: block;
		margin-bottom: 1rem;
		border: 1px solid var(--line);
		border-radius: var(--radius-md);
		box-shadow: var(--shadow-sm);
		overflow: hidden;
	}

	.matrix--cards tbody td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 1rem;
		border-bottom: 1px solid var(--surface-3);
	}

	.matrix--cards tbody td::before {
		content: attr(data-label);
		font-size: 0.75rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.05em;
		color: var(--ink-3);
		flex-shrink: 0;
	}

	.matrix--cards tbody td:last-child {
		border-bottom: none;
		justify-content: center;
	}

	.matrix--cards tbody td:last-child::before {
		content: none;
	}
}

/* ---------- Educational alert box ---------- */
.edu-box {
	background: #1a202c;
	border: 1px solid #2d3748;
	border-left: 5px solid var(--accent);
	border-radius: var(--radius-md);
	padding: 2rem 2rem 1.5rem;
}

.edu-box__tag {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
	background: rgba(245, 158, 11, 0.12);
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	margin-bottom: 0.65rem;
}

.edu-box__title {
	font-size: clamp(1.2rem, 2.4vw, 1.6rem);
	margin: 0 0 0.9rem;
}

.edu-box__split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.1rem;
	margin: 1.25rem 0 1rem;
}

.edu-box__col {
	padding: 1.1rem 1.25rem;
	border-radius: var(--radius-sm);
}

.edu-box__col h3 {
	font-size: 0.98rem;
	margin: 0 0 0.5rem;
	border-left: none;
	padding-left: 0;
}

.edu-box__col p {
	font-size: 0.88rem;
	margin: 0;
}

.edu-box__col--electronic {
	background: rgba(239, 68, 68, 0.07);
	border: 1px solid rgba(239, 68, 68, 0.22);
}

.edu-box__col--electronic h3 {
	color: var(--danger);
}

.edu-box__col--smart {
	background: rgba(16, 185, 129, 0.07);
	border: 1px solid rgba(16, 185, 129, 0.22);
}

.edu-box__col--smart h3 {
	color: var(--success);
}

.edu-box__note {
	margin: 0;
	font-size: 0.85rem;
	color: var(--ink-3);
	font-style: italic;
}

@media (max-width: 620px) {
	.edu-box__split {
		grid-template-columns: 1fr;
	}

	.edu-box {
		padding: 1.25rem;
	}
}

/* ---------- Callout / cross-link box ---------- */
.callout {
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-left: 4px solid var(--brand);
	border-radius: var(--radius-sm);
	padding: 1rem 1.25rem;
	margin: 1.5rem 0;
}

.callout p:last-child {
	margin-bottom: 0;
}

/* ---------- FAQ accordion ---------- */
.faq-list {
	border-top: 1px solid var(--line);
}

.faq-item {
	border-bottom: 1px solid var(--line);
}

.faq-item h3 {
	margin: 0;
}

.faq-question {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	background: none;
	border: none;
	text-align: left;
	font: inherit;
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--ink-1);
	padding: 1.1rem 0.2rem;
	cursor: pointer;
}

.faq-question__icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1.5px solid var(--brand);
	color: var(--brand);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	transition: transform 0.2s ease;
}

.faq-question[aria-expanded='true'] .faq-question__icon {
	transform: rotate(45deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.25s ease;
}

.faq-answer__inner {
	padding: 0 0.2rem 1.1rem;
}

.faq-answer p:last-child {
	margin-bottom: 0;
}

/* ---------- Guides dashboard ---------- */
.kb-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.5rem;
}

.kb-card {
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 1.5rem;
	background: var(--surface-1);
	box-shadow: var(--shadow-sm);
}

.kb-card h2 {
	margin-top: 0;
	font-size: 1.15rem;
}

.kb-card ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.kb-card a {
	text-decoration: none;
	color: var(--ink-2);
	font-weight: 600;
	font-size: 0.95rem;
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
}

.kb-card a::before {
	content: '→';
	color: var(--accent-dark);
	flex-shrink: 0;
}

.kb-card a:hover {
	color: var(--brand);
}

/* ---------- Handle / lever knob showcase grid ---------- */
.handle-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.handle-card {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 1.5rem;
	background: var(--surface-1);
	box-shadow: var(--shadow-sm);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.handle-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
}

.handle-card h3 {
	margin: 0;
	font-size: 1.05rem;
}

.handle-card p {
	margin: 0;
	font-size: 0.92rem;
	flex-grow: 1;
}

.handle-card .price-action-btn {
	align-self: flex-start;
}

@media (max-width: 880px) {
	.handle-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Hub link grid (used on homepage) ---------- */
.hub-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.25rem;
}

.hub-card {
	display: block;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 1.4rem;
	text-decoration: none;
	background: var(--surface-1);
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.hub-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
	border-color: var(--brand);
}

.hub-card h3 {
	margin: 0 0 0.4rem;
	color: var(--ink-1);
}

.hub-card p {
	margin: 0;
	font-size: 0.92rem;
}

/* ---------- Footer ---------- */
.site-footer {
	border-top: 1px solid var(--line);
	background: var(--surface-2);
	padding: 2.5rem 0 2rem;
	margin-top: 3rem;
}

.site-footer__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 1.5rem;
}

.site-footer nav ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.site-footer nav a {
	color: var(--ink-2);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
}

.site-footer nav a:hover {
	color: var(--brand);
}

.disclosure {
	font-size: 0.82rem;
	color: var(--ink-3);
	border-top: 1px solid var(--line);
	padding-top: 1.25rem;
	max-width: 80ch;
}

.copyright {
	font-size: 0.8rem;
	color: var(--ink-3);
	margin-top: 0.5rem;
}

/* ---------- Top 3 Picks callout ---------- */
.top-picks-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin-top: 1.5rem;
}

.top-pick-card {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	background: var(--surface-1);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 1.5rem;
	box-shadow: var(--shadow-sm);
}

.top-pick-card__label {
	display: inline-block;
	align-self: flex-start;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #f59e0b;
	background: rgba(245, 158, 11, 0.1);
	border: 1px solid rgba(245, 158, 11, 0.2);
	padding: 0.2rem 0.65rem;
	border-radius: 999px;
	margin: 0;
}

.top-pick-card__name {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--ink-1);
	margin: 0;
}

.top-pick-card__reason {
	font-size: 0.9rem;
	color: var(--ink-2);
	flex: 1;
	margin: 0;
	line-height: 1.6;
}

.top-pick-card .price-action-btn {
	align-self: flex-start;
	margin-top: 0.25rem;
}

@media (max-width: 820px) {
	.top-picks-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Product showcase (10-row list with image) ---------- */
.showcase-grid {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-top: 2rem;
}

.showcase-card {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 2rem;
	background: #1a202c !important;
	border: 1px solid #2d3748 !important;
	border-radius: 8px;
	padding: 2rem;
	box-shadow: var(--shadow-sm);
	position: relative;
}

.product-thumb {
	width: 200px;
	max-width: 200px;
	height: auto;
	flex-shrink: 0;
	border-radius: var(--radius-md);
	object-fit: contain;
	background: var(--surface-2);
	border: 1px solid var(--line);
	padding: 0.75rem;
}

.showcase-card__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.showcase-card__title {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--ink-1);
	margin: 0;
}

.showcase-card__summary {
	font-size: 0.95rem;
	color: var(--ink-2);
	margin: 0;
	line-height: 1.65;
}

.showcase-card__specs {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	border-top: 1px solid var(--line);
	padding-top: 0.85rem;
}

.showcase-card__specs li {
	font-size: 0.875rem;
	color: var(--ink-2);
	line-height: 1.5;
}

.showcase-card__specs li strong {
	color: var(--ink-1);
	font-weight: 600;
}

.showcase-card__body .price-action-btn {
	align-self: flex-start;
	margin-top: 0.35rem;
}

/* ── Superlative badge — anchored to card top-right corner ── */
.showcase-card .badge--brand {
	position: absolute;
	top: 16px;
	right: 16px;
	padding: 6px 12px;
	border-radius: 4px;
}

/* Push title clear of the floating badge on cards that carry one */
.showcase-card:has(.badge--brand) .showcase-card__title {
	margin-top: 1.5rem;
	padding-right: 8rem;
}

@media (max-width: 640px) {
	.showcase-card {
		flex-direction: column;
		gap: 1.25rem;
	}

	.product-thumb {
		width: 100%;
		max-width: 100%;
	}

	/* Badge overlaps image corner at mobile — title sits in body with no conflict */
	.showcase-card:has(.badge--brand) .showcase-card__title {
		margin-top: 0;
		padding-right: 0;
	}
}

/* ================================================================
   Home page product cards (new structure)
   ================================================================ */

.product-card {
	background: #1a202c;
	border: 1px solid #2d3748;
	border-radius: 8px;
	padding: 2rem;
	box-shadow: var(--shadow-sm);
	position: relative;
}

.product-card-layout {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 2rem;
}

.product-image-container {
	flex-shrink: 0;
}

.product-img {
	width: 200px;
	max-width: 200px;
	height: auto;
	border-radius: var(--radius-md);
	display: block;
}

.product-info-container {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.product-title {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ink-1);
	margin: 0;
}

.product-description {
	color: var(--ink-2);
	margin: 0;
	line-height: 1.6;
}

.product-specs {
	list-style: disc;
	padding-left: 1.75rem;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.product-specs li {
	color: var(--ink-2);
	font-size: 0.9rem;
	line-height: 1.5;
}

.product-specs li strong {
	color: var(--ink-1);
}

.amazon-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: #FF9900;
	color: #111111 !important;
	font-weight: 700;
	text-decoration: none !important;
	padding: 0.65rem 1.25rem;
	border-radius: var(--radius-sm);
	font-size: 0.9rem;
	align-self: flex-start;
	margin-top: 0.35rem;
	transition: background-color 0.2s ease;
}

.amazon-btn:hover {
	background-color: #e68a00 !important;
	color: #111111 !important;
	opacity: 1;
}

.amazon-btn i {
	font-size: 1.2em;
	line-height: 1;
}

@media (max-width: 640px) {
	.product-card-layout {
		flex-direction: column;
		gap: 1.25rem;
	}

	.product-img {
		width: 100%;
		max-width: 100%;
	}
}

/* ================================================================
   Collapsible Fixed Sidebar + Content Layout — Obsidian & Brass
   Applied globally; all pages carry .on-page-nav-container
   ================================================================ */

/* Fixed left navigation panel */
.on-page-nav-container {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: 260px;
	height: 100vh;
	background-color: #0b0e14 !important;
	border-right: 1px solid #2d3748 !important;
	z-index: 100;
	padding: 2rem 1.5rem;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s ease;
}

/* Sidebar slides off-screen to the left when collapsed */
.on-page-nav-container.sidebar-collapsed {
	transform: translateX(-100%);
}

/* Label row at top of sidebar */
.sidebar-header {
	display: flex;
	align-items: center;
	margin-bottom: 1.25rem;
	flex-shrink: 0;
}

.sidebar-label {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #64748b;
	margin: 0;
}

/* Nav link list */
.on-page-nav-container ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* Nav links */
.on-page-nav-container a {
	display: block;
	padding: 0.45rem 0.5rem;
	border-radius: var(--radius-sm);
	font-size: 0.85rem;
	font-weight: 400;
	color: #94a3b8;
	text-decoration: none;
	transition: color 0.18s ease;
	line-height: 1.5;
}

.on-page-nav-container a:hover {
	color: #f59e0b;
}

/* Collapse tab — fixed to the sidebar's right edge, mirrors the expand button */
.sidebar-toggle-btn {
	position: fixed;
	top: 50%;
	left: 260px;
	transform: translateY(-50%);
	z-index: 101;
	background: #0b0e14;
	border: 1px solid #2d3748;
	border-left: none;
	border-radius: 0 6px 6px 0;
	padding: 0.85rem 0.55rem;
	color: #f59e0b;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.18s ease;
}

.sidebar-toggle-btn:hover {
	background: #1a202c;
}

/* Floating expand button — visible only when sidebar is collapsed */
.sidebar-expand-btn {
	position: fixed;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	z-index: 101;
	background: #0b0e14;
	border: 1px solid #2d3748;
	border-left: none;
	border-radius: 0 6px 6px 0;
	padding: 0.85rem 0.55rem;
	color: #f59e0b;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	transition: background 0.18s ease;
}

.sidebar-expand-btn:hover {
	background: #1a202c;
}

/* Sticky top bar — offset to sit right of the sidebar (only on pages that have one) */
.has-sidebar .site-header {
	margin-left: 260px;
	width: calc(100% - 260px);
	transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s ease;
}

/* Main content area — sits right of the sidebar */
.main-content-wrapper {
	margin-left: 260px !important;
	width: calc(100% - 260px) !important;
	transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s ease;
}

/* When sidebar is collapsed, content expands to full width */
.main-content-wrapper.content-expanded {
	margin-left: 0 !important;
	width: 100% !important;
}

/* Homepage inner flex layout (sidebar is now an external fixed panel) */
.main-layout-container {
	display: flex;
	align-items: flex-start;
}

.main-content {
	flex: 1;
	min-width: 0;
}

.mobile-quicklinks {
	display: none;
}

/* ---------- FAQ: native details/summary ---------- */
.faq-group {
	margin-bottom: 2rem;
}

.faq-group > h3 {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--ink-3);
	margin: 0 0 0.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--line);
}

details.faq-item {
	border-bottom: 1px solid var(--line);
}

details.faq-item:first-of-type {
	border-top: 1px solid var(--line);
}

details.faq-item > summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 1.1rem 0.2rem;
	cursor: pointer;
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--ink-1);
	list-style: none;
	line-height: 1.4;
	transition: color 0.15s ease;
}

details.faq-item > summary::-webkit-details-marker {
	display: none;
}

details.faq-item > summary::after {
	content: '+';
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1.5px solid var(--brand);
	color: var(--brand);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1;
	transition: transform 0.2s ease;
}

details.faq-item[open] > summary {
	color: var(--brand);
}

details.faq-item[open] > summary::after {
	transform: rotate(45deg);
}

.faq-detail-body {
	padding: 0 0.2rem 1.1rem;
}

.faq-detail-body p:last-child {
	margin-bottom: 0;
}

/* ---------- Responsive breakpoints ---------- */
@media (max-width: 900px) {
	.on-page-nav-container {
		width: 220px;
	}
	.has-sidebar .site-header,
	.main-content-wrapper {
		margin-left: 220px !important;
		width: calc(100% - 220px) !important;
	}
	.sidebar-toggle-btn {
		left: 220px;
	}
}

@media (max-width: 768px) {
	.on-page-nav-container,
	.sidebar-expand-btn,
	.sidebar-toggle-btn {
		display: none !important;
	}

	.has-sidebar .site-header,
	.main-content-wrapper {
		margin-left: 0 !important;
		width: 100% !important;
	}

	.main-layout-container {
		flex-direction: column;
	}

	.mobile-quicklinks {
		display: flex;
		flex-wrap: wrap;
		gap: 0.5rem;
		padding: 0.75rem 1.5rem;
		background: var(--surface-2);
		border-bottom: 1px solid var(--line);
		overflow-x: auto;
	}

	.mobile-quicklinks a {
		display: inline-block;
		padding: 0.4rem 0.9rem;
		background: var(--surface-1);
		border: 1px solid var(--line);
		border-radius: var(--radius-sm);
		font-size: 0.82rem;
		font-weight: 500;
		color: var(--ink-2);
		text-decoration: none;
		white-space: nowrap;
	}

	.mobile-quicklinks a:hover {
		background: var(--brand);
		color: #0b0e14;
		border-color: var(--brand);
	}
}

/* ── Amazon branded CTA button ───────────────────────────────────── */
.amazon-brand-btn {
	background-color: #FF9900 !important;
	color: #111111 !important;
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 700;
	transition: background-color 0.2s ease;
}

.amazon-brand-btn:hover {
	background-color: #e68a00 !important;
}

.amazon-brand-btn i {
	font-size: 1.2em;
	line-height: 1;
}
