/* Preview4 header proportions; the bottom cart remains a native cart-page link. */
html[data-theme="dark"] .onyx-header .wishlist-link[aria-current="page"] {
	color: var(--accent-text);
}
.onyx-mobile-nav [data-mobile-cart-count][hidden] {
	display: none;
}

.catalogue-formats { margin: 8px 0 28px; }
.catalogue-formats-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
	color: var(--muted);
	font-size: 12px;
}
.catalogue-all-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding-inline: 8px;
	color: var(--accent-text);
}
.catalogue-all-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.catalogue-formats .catalogue-format-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.catalogue-formats .catalogue-format {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
	min-height: 96px;
	padding: 20px 22px;
	border: 1px solid var(--line-strong);
	border-radius: 12px;
	background: linear-gradient(145deg, rgba(255,255,255,.035), transparent), var(--surface);
	color: var(--text);
	transition: border-color .18s ease, background-color .18s ease;
}
.catalogue-format-icon { flex: 0 0 32px; color: var(--accent-text); }
.catalogue-format-copy { display: grid; gap: 5px; min-width: 0; }
.catalogue-format-copy strong { font-size: 17px; line-height: 1.2; font-weight: 600; }
.catalogue-format-copy > span { color: var(--muted); font-size: 11px; line-height: 1.4; }
.catalogue-format-arrow { margin-left: auto; color: var(--quiet); font-size: 19px; }
.catalogue-formats .catalogue-format:hover,
.catalogue-formats .catalogue-format[aria-current="page"] {
	border-color: var(--accent);
	background: linear-gradient(135deg, rgba(26,198,207,.10), rgba(26,198,207,.025)), var(--surface);
	color: var(--text);
}
.catalogue-formats .catalogue-format[aria-current="page"] .catalogue-format-arrow { color: var(--accent-text); }
.catalogue-format:focus-visible, .catalogue-all-link:focus-visible, .onyx-mobile-cart-slot a:focus-visible {
	outline: 2px solid var(--accent-text);
	outline-offset: 4px;
}

@media (max-width: 900px) {
	html[data-theme="dark"] .onyx-header .wishlist-link { display: none; }
	html[data-theme="dark"] .onyx-header .nav-toggle { width: 44px; min-width: 44px; }
	html[data-theme="dark"] .onyx-header #cartOpen { display: grid; order: 2; width: 44px; min-width: 44px; }
	.onyx-mobile-cart-slot { display: grid; min-width: 0; }
	.onyx-mobile-nav .cart-b .n { top: 0; right: calc(50% - 22px); min-width: 15px; height: 15px; font-size: 10px; }
	.catalogue-formats { margin: 4px 0 20px; }
	.catalogue-formats-heading { margin-bottom: 6px; }
	.catalogue-formats .catalogue-format-grid { gap: 8px; }
	.catalogue-formats .catalogue-format {
		flex-direction: column;
		justify-content: center;
		gap: 9px;
		min-height: 108px;
		padding: 12px 4px;
		border-radius: 10px;
		text-align: center;
	}
	.catalogue-format-copy { gap: 4px; }
	.catalogue-format-copy strong { font-size: 13px; }
	.catalogue-format-copy > span { font-size: 10px; }
	.catalogue-format-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.catalogue-formats .catalogue-format { transition: none; }
}
