/*
 * OverflowingTech export catalog — catalog page, product page and the shared
 * enquiry/compare layer. Everything is scoped to .otc / .otc-layer so the host
 * theme is left alone. Themes: light (default), dark, system.
 */

/* ------------------------------------------------------------ tokens --- */
.otc:not(#ob-scope), .otc-layer:not(#ob-scope) {
	--otc-bg: #f4f7f5;
	--otc-panel: #ffffff;
	--otc-raised: #ffffff;
	--otc-ink: #10231f;
	--otc-muted: #5b6d68;
	--otc-faint: #8a9994;
	--otc-line: #dfe7e2;
	--otc-line-strong: #c9d5cf;
	--otc-accent: #1b6b57;
	--otc-accent-hover: #155645;
	--otc-accent-ink: #ffffff;
	--otc-tint: #e4f0ea;
	--otc-soft: #ebf2ee;
	--otc-photo: #ffffff;
	--otc-wa: #1ea952;
	--otc-wa-hover: #178a42;
	--otc-hero-a: #e3efe8;
	--otc-hero-b: #f4f7f5;
	--otc-shadow: 0 1px 2px rgba(16, 35, 31, .05), 0 8px 24px rgba(16, 35, 31, .06);
	--otc-shadow-lg: 0 2px 6px rgba(16, 35, 31, .06), 0 24px 60px rgba(16, 35, 31, .14);
	--otc-radius: 18px;
	--otc-gap: clamp(16px, 2.2vw, 28px);
	--otc-pad: clamp(18px, 4.5vw, 64px);
	color-scheme: light;
}
.otc[data-theme=dark]:not(#ob-scope), .otc-layer[data-theme=dark]:not(#ob-scope) {
	--otc-bg: #0d1a18;
	--otc-panel: #142522;
	--otc-raised: #1a2e2a;
	--otc-ink: #e9f2ee;
	--otc-muted: #a6bab3;
	--otc-faint: #7d918b;
	--otc-line: #253b36;
	--otc-line-strong: #33504a;
	--otc-accent: #7cd3ad;
	--otc-accent-hover: #9ae0c0;
	--otc-accent-ink: #0b1a16;
	--otc-tint: #1a3a31;
	--otc-soft: #12231f;
	--otc-photo: #f3f6f4;
	--otc-hero-a: #173a31;
	--otc-hero-b: #0d1a18;
	--otc-shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 10px 28px rgba(0, 0, 0, .25);
	--otc-shadow-lg: 0 24px 70px rgba(0, 0, 0, .5);
	color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
	.otc[data-theme=system]:not(#ob-scope), .otc-layer[data-theme=system]:not(#ob-scope) {
		--otc-bg: #0d1a18;
		--otc-panel: #142522;
		--otc-raised: #1a2e2a;
		--otc-ink: #e9f2ee;
		--otc-muted: #a6bab3;
		--otc-faint: #7d918b;
		--otc-line: #253b36;
		--otc-line-strong: #33504a;
		--otc-accent: #7cd3ad;
		--otc-accent-hover: #9ae0c0;
		--otc-accent-ink: #0b1a16;
		--otc-tint: #1a3a31;
		--otc-soft: #12231f;
		--otc-photo: #f3f6f4;
		--otc-hero-a: #173a31;
		--otc-hero-b: #0d1a18;
		--otc-shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 10px 28px rgba(0, 0, 0, .25);
		--otc-shadow-lg: 0 24px 70px rgba(0, 0, 0, .5);
		color-scheme: dark;
	}
}

/* ------------------------------------------------------------- base --- */
.otc:not(#ob-scope) {
	background: var(--otc-bg);
	color: var(--otc-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.55;
	text-align: left;
	max-width: 1440px;
	margin: 24px auto;
	border-radius: 28px;
	overflow: clip;
	-webkit-font-smoothing: antialiased;
}
.otc.otc-full:not(#ob-scope) {
	/* --otc-sbw (set by catalog.js) removes the desktop scrollbar from 100vw. */
	width: calc(100vw - var(--otc-sbw, 0px));
	max-width: none;
	margin-left: calc(50% - 50vw + var(--otc-sbw, 0px) / 2);
	margin-right: calc(50% - 50vw + var(--otc-sbw, 0px) / 2);
	border-radius: 0;
}
.otc:not(#ob-scope) *, .otc:not(#ob-scope) *::before, .otc:not(#ob-scope) *::after, .otc-layer:not(#ob-scope) *, .otc-layer:not(#ob-scope) *::before, .otc-layer:not(#ob-scope) *::after { box-sizing: border-box; }
.otc:not(#ob-scope) :is(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset),
.otc-layer:not(#ob-scope) :is(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset) { margin: 0; padding: 0; }
.otc:not(#ob-scope) :is(h1, h2, h3, h4), .otc-layer:not(#ob-scope) :is(h1, h2, h3, h4) { color: inherit; font-family: inherit; line-height: 1.15; letter-spacing: -.02em; font-weight: 600; text-transform: none; }
.otc:not(#ob-scope) ul, .otc:not(#ob-scope) ol, .otc-layer:not(#ob-scope) ul, .otc-layer:not(#ob-scope) ol { list-style: none; }
.otc:not(#ob-scope) a, .otc-layer:not(#ob-scope) a { color: inherit; text-decoration: none; }
.otc:not(#ob-scope) img, .otc-layer:not(#ob-scope) img { max-width: 100%; height: auto; display: block; border: 0; box-shadow: none; }
.otc:not(#ob-scope) fieldset { border: 0; min-width: 0; }
.otc:not(#ob-scope) :is(a, button, input, select, textarea, summary):focus-visible,
.otc-layer:not(#ob-scope) :is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--otc-accent); outline-offset: 3px; }
.otc-i:not(#ob-scope) { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: middle; }
.otc-sr:not(#ob-scope) { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.otc:not(#ob-scope) [hidden], .otc-layer:not(#ob-scope) [hidden] { display: none !important; }
.otc-eyebrow:not(#ob-scope) { display: block; font-size: 11px; line-height: 1.3; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--otc-muted); }
.otc-eyebrow-accent:not(#ob-scope) { color: var(--otc-accent); }

/* ---------------------------------------------------------- buttons --- */
.otc:not(#ob-scope) .otc-btn, .otc-layer:not(#ob-scope) .otc-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	margin: 0;
	padding: 10px 20px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--otc-accent);
	color: var(--otc-accent-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	font-family: inherit;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
	transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.otc:not(#ob-scope) .otc-btn:hover, .otc-layer:not(#ob-scope) .otc-btn:hover { background: var(--otc-accent-hover); color: var(--otc-accent-ink); }
.otc:not(#ob-scope) .otc-btn:active, .otc-layer:not(#ob-scope) .otc-btn:active { transform: translateY(1px); }
.otc:not(#ob-scope) .otc-btn-ghost, .otc-layer:not(#ob-scope) .otc-btn-ghost { background: transparent; color: var(--otc-ink); border-color: var(--otc-line-strong); }
.otc:not(#ob-scope) .otc-btn-ghost:hover, .otc-layer:not(#ob-scope) .otc-btn-ghost:hover { background: var(--otc-soft); color: var(--otc-ink); border-color: var(--otc-ink); }
.otc:not(#ob-scope) .otc-btn-wa, .otc-layer:not(#ob-scope) .otc-btn-wa { background: var(--otc-wa); color: #fff; }
.otc:not(#ob-scope) .otc-btn-wa:hover, .otc-layer:not(#ob-scope) .otc-btn-wa:hover { background: var(--otc-wa-hover); color: #fff; }
.otc:not(#ob-scope) .otc-btn-sm, .otc-layer:not(#ob-scope) .otc-btn-sm { min-height: 40px; padding: 8px 16px; font-size: 13px; }
.otc:not(#ob-scope) .otc-btn-lg, .otc-layer:not(#ob-scope) .otc-btn-lg { min-height: 54px; padding: 14px 28px; font-size: 15px; }
.otc:not(#ob-scope) .otc-btn:disabled, .otc-layer:not(#ob-scope) .otc-btn:disabled { opacity: .45; cursor: not-allowed; }
.otc:not(#ob-scope) .otc-icon-btn, .otc-layer:not(#ob-scope) .otc-icon-btn {
	appearance: none;
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	flex: none;
	margin: 0;
	padding: 0;
	border: 1px solid var(--otc-line-strong);
	border-radius: 999px;
	background: var(--otc-panel);
	color: var(--otc-ink);
	cursor: pointer;
	box-shadow: none;
	transition: background-color .15s, color .15s, border-color .15s;
}
.otc:not(#ob-scope) .otc-icon-btn:hover, .otc-layer:not(#ob-scope) .otc-icon-btn:hover { border-color: var(--otc-ink); }
.otc:not(#ob-scope) .otc-icon-btn[aria-pressed=true], .otc-layer:not(#ob-scope) .otc-icon-btn[aria-pressed=true] { background: var(--otc-accent); border-color: var(--otc-accent); color: var(--otc-accent-ink); }

/* ------------------------------------------------------------- hero --- */
.otc-hero:not(#ob-scope) {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
	padding: clamp(32px, 6vw, 84px) var(--otc-pad) clamp(32px, 5vw, 64px);
	background:
		radial-gradient(1200px 500px at 100% 0%, var(--otc-hero-a), transparent 60%),
		linear-gradient(180deg, var(--otc-hero-a), var(--otc-hero-b));
}
.otc:not(#ob-scope) .otc-hero-title { font-size: clamp(34px, 4.8vw, 66px); line-height: 1.03; letter-spacing: -.035em; font-weight: 600; margin: 16px 0 18px; max-width: 13ch; }
.otc-lead:not(#ob-scope) { font-size: clamp(16px, 1.35vw, 18px); color: var(--otc-muted); max-width: 54ch; }
.otc-hero-search:not(#ob-scope) {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 28px;
	max-width: 580px;
	padding: 6px 6px 6px 18px;
	background: var(--otc-panel);
	border: 1px solid var(--otc-line);
	border-radius: 999px;
	box-shadow: var(--otc-shadow);
}
.otc-hero-search:focus-within:not(#ob-scope) { border-color: var(--otc-accent); }
.otc-hero-search:not(#ob-scope) > .otc-i { color: var(--otc-muted); width: 20px; height: 20px; }
.otc:not(#ob-scope) .otc-hero-search input {
	flex: 1;
	min-width: 0;
	height: 44px;
	margin: 0;
	padding: 0 4px;
	border: 0;
	background: transparent;
	color: var(--otc-ink);
	font: inherit;
	font-size: 15px;
	box-shadow: none;
	outline: none;
}
.otc:not(#ob-scope) .otc-hero-search input::placeholder { color: var(--otc-faint); }
.otc-hero-stats:not(#ob-scope) { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; font-size: 14px; color: var(--otc-muted); }
.otc-hero-stats:not(#ob-scope) strong { color: var(--otc-ink); font-weight: 700; margin-right: 4px; }
.otc-hero-art:not(#ob-scope) {
	position: relative;
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 14px;
	height: clamp(320px, 34vw, 460px);
}
.otc-hero-art.otc-art-1:not(#ob-scope) { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.otc-hero-art.otc-art-2:not(#ob-scope) { grid-template-rows: 1fr; grid-template-columns: 1fr 1fr; }
.otc-art-tile:not(#ob-scope) { background: var(--otc-photo); border-radius: 24px; overflow: hidden; display: grid; place-items: center; padding: 8%; box-shadow: var(--otc-shadow); }
.otc-art-tile:not(#ob-scope) img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.otc-art-3:not(#ob-scope) .otc-art-0 { grid-row: span 2; }
.otc-art-note:not(#ob-scope) {
	position: absolute;
	left: -28px;
	bottom: 26px;
	display: flex;
	gap: 12px;
	align-items: center;
	max-width: 280px;
	padding: 14px 18px;
	background: var(--otc-panel);
	border: 1px solid var(--otc-line);
	border-radius: 16px;
	box-shadow: var(--otc-shadow-lg);
	font-size: 13px;
	color: var(--otc-muted);
}
.otc-art-note:not(#ob-scope) .otc-i { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: var(--otc-tint); color: var(--otc-accent); }
.otc-art-note:not(#ob-scope) strong { display: block; color: var(--otc-ink); font-size: 14px; }

/* ------------------------------------------------------------ trust --- */
.otc-trust:not(#ob-scope) {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px 24px;
	padding: 20px var(--otc-pad);
	border-top: 1px solid var(--otc-line);
	border-bottom: 1px solid var(--otc-line);
	background: var(--otc-panel);
}
.otc-trust:not(#ob-scope) li { display: flex; gap: 12px; align-items: center; font-size: 12.5px; color: var(--otc-muted); line-height: 1.35; }
.otc-trust:not(#ob-scope) .otc-i { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--otc-tint); color: var(--otc-accent); }
.otc-trust:not(#ob-scope) strong { display: block; color: var(--otc-ink); font-size: 13.5px; }

/* ------------------------------------------------------------- rail --- */
.otc-rail:not(#ob-scope) { padding: 28px 0 4px; }
.otc-rail-head:not(#ob-scope) { padding: 0 var(--otc-pad) 12px; }
.otc-rail-track:not(#ob-scope) {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	padding: 4px var(--otc-pad) 12px;
	scrollbar-width: thin;
}
.otc-tile:not(#ob-scope) {
	flex: 0 0 auto;
	scroll-snap-align: start;
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 220px;
	padding: 10px 18px 10px 10px;
	border: 1px solid var(--otc-line);
	border-radius: 16px;
	background: var(--otc-panel);
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.otc-tile:hover:not(#ob-scope) { border-color: var(--otc-line-strong); box-shadow: var(--otc-shadow); transform: translateY(-1px); }
.otc-tile.is-active:not(#ob-scope) { border-color: var(--otc-accent); background: var(--otc-tint); box-shadow: inset 0 0 0 1px var(--otc-accent); }
.otc-tile-art:not(#ob-scope) { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--otc-photo); overflow: hidden; color: var(--otc-accent); }
.otc-tile-art:not(#ob-scope) img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.otc-tile-all:not(#ob-scope) { background: var(--otc-tint); }
.otc-tile-art:not(#ob-scope) .otc-i { width: 24px; height: 24px; }
.otc-tile-text:not(#ob-scope) { display: flex; flex-direction: column; line-height: 1.25; }
.otc-tile-text:not(#ob-scope) strong { font-size: 14px; font-weight: 600; }
.otc-tile-text:not(#ob-scope) small { font-size: 12px; color: var(--otc-muted); }

/* ------------------------------------------------------------ shell --- */
.otc-shell:not(#ob-scope) {
	display: grid;
	grid-template-columns: 272px minmax(0, 1fr);
	gap: var(--otc-gap);
	align-items: start;
	padding: 20px var(--otc-pad) 56px;
	scroll-margin-top: 24px;
}

/* ---------------------------------------------------------- filters --- */
.otc-filters:not(#ob-scope) { position: sticky; top: 24px; }
.admin-bar:not(#ob-scope) .otc-filters { top: 56px; }
.otc-filter-form:not(#ob-scope) {
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 48px);
	background: var(--otc-panel);
	border: 1px solid var(--otc-line);
	border-radius: var(--otc-radius);
	overflow: hidden;
}
.otc-drawer-head:not(#ob-scope) { display: none; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--otc-line); font-size: 17px; }
.otc-filter-scroll:not(#ob-scope) { overflow-y: auto; padding: 6px 20px 20px; overscroll-behavior: contain; scrollbar-width: thin; }
.otc-facet:not(#ob-scope) { padding: 18px 0; border-bottom: 1px solid var(--otc-line); }
.otc-facet:last-of-type:not(#ob-scope) { border-bottom: 0; }
.otc-facet:not(#ob-scope) legend { float: left; width: 100%; margin-bottom: 10px; padding: 0; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--otc-muted); }
.otc-facet:not(#ob-scope) legend + * { clear: both; }
.otc-option:not(#ob-scope) {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 -10px;
	padding: 7px 10px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.3;
	cursor: pointer;
	transition: background-color .12s;
}
.otc-option:hover:not(#ob-scope) { background: var(--otc-soft); }
.otc:not(#ob-scope) .otc-option input { appearance: none; width: 18px; height: 18px; flex: none; margin: 0; border: 1.5px solid var(--otc-line-strong); border-radius: 50%; background: var(--otc-panel); display: grid; place-items: center; cursor: pointer; }
.otc:not(#ob-scope) .otc-option input::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--otc-accent-ink); transform: scale(0); transition: transform .12s; }
.otc:not(#ob-scope) .otc-option input:checked { background: var(--otc-accent); border-color: var(--otc-accent); }
.otc:not(#ob-scope) .otc-option input:checked::after { transform: scale(1); }
.otc-option:not(#ob-scope) span { flex: 1; min-width: 0; }
.otc-option:has(input:checked):not(#ob-scope) span { font-weight: 600; }
.otc-option:not(#ob-scope) small, .otc-pill:not(#ob-scope) small { font-size: 12px; color: var(--otc-faint); font-variant-numeric: tabular-nums; }
.otc-option.is-empty:not(#ob-scope), .otc-pill.is-empty:not(#ob-scope) { opacity: .42; }
.otc-suboptions:not(#ob-scope) { margin: 2px 0 4px 18px; padding-left: 10px; border-left: 1px solid var(--otc-line); }
.otc-pills:not(#ob-scope) { display: flex; flex-wrap: wrap; gap: 8px; }
.otc-pill:not(#ob-scope) { position: relative; cursor: pointer; }
.otc-pill:not(#ob-scope) input { position: absolute; opacity: 0; pointer-events: none; }
.otc-pill:not(#ob-scope) > span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--otc-line-strong); border-radius: 999px; font-size: 13px; line-height: 1.2; transition: all .12s; }
.otc-pill:hover:not(#ob-scope) > span { border-color: var(--otc-ink); }
.otc-pill:not(#ob-scope) input:checked + span { background: var(--otc-accent); border-color: var(--otc-accent); color: var(--otc-accent-ink); font-weight: 600; }
.otc-pill:not(#ob-scope) input:checked + span small { color: inherit; opacity: .8; }
.otc-pill:not(#ob-scope) input:focus-visible + span { outline: 2px solid var(--otc-accent); outline-offset: 2px; }
.otc-filter-help:not(#ob-scope) { display: flex; gap: 12px; margin-top: 6px; padding: 16px; border-radius: 14px; background: var(--otc-soft); font-size: 13px; color: var(--otc-muted); }
.otc-filter-help:not(#ob-scope) .otc-i { width: 22px; height: 22px; color: var(--otc-accent); }
.otc-filter-help:not(#ob-scope) strong { color: var(--otc-ink); }
.otc-filter-help:not(#ob-scope) a { color: var(--otc-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.otc-drawer-foot:not(#ob-scope) { display: flex; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--otc-line); background: var(--otc-panel); }
.otc-drawer-foot:not(#ob-scope) .otc-btn { flex: 1; }
.otc.is-ready:not(#ob-scope) .otc-drawer-foot [data-action=apply] { display: none; }

/* ---------------------------------------------------------- toolbar --- */
.otc-toolbar:not(#ob-scope) { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.otc:not(#ob-scope) .otc-filter-toggle { display: none; }
.otc-dot:not(#ob-scope) { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--otc-accent); color: var(--otc-accent-ink); font-size: 11px; font-weight: 700; }
.otc-count:not(#ob-scope) { font-size: 15px; color: var(--otc-muted); margin-right: auto; }
.otc-count:not(#ob-scope) strong { color: var(--otc-ink); font-size: 20px; letter-spacing: -.02em; margin-right: 2px; }
.otc-toolbar-end:not(#ob-scope) { display: flex; gap: 10px; align-items: center; }
.otc-select:not(#ob-scope) { position: relative; display: inline-flex; align-items: center; }
.otc:not(#ob-scope) .otc-select select {
	appearance: none;
	height: 42px;
	margin: 0;
	padding: 0 40px 0 16px;
	border: 1px solid var(--otc-line-strong);
	border-radius: 999px;
	background: var(--otc-panel);
	color: var(--otc-ink);
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	box-shadow: none;
}
.otc-select:not(#ob-scope) .otc-i { position: absolute; right: 14px; pointer-events: none; color: var(--otc-muted); }
.otc-views:not(#ob-scope) { display: inline-flex; padding: 3px; border: 1px solid var(--otc-line-strong); border-radius: 999px; background: var(--otc-panel); }
.otc:not(#ob-scope) .otc-views button { appearance: none; display: grid; place-items: center; width: 36px; height: 34px; margin: 0; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--otc-muted); cursor: pointer; box-shadow: none; }
.otc:not(#ob-scope) .otc-views button[aria-pressed=true] { background: var(--otc-ink); color: var(--otc-panel); }
.otc-chips:not(#ob-scope) { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.otc:not(#ob-scope) .otc-chip { appearance: none; display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 10px 6px 14px; border: 1px solid transparent; border-radius: 999px; background: var(--otc-tint); color: var(--otc-ink); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.otc:not(#ob-scope) .otc-chip .otc-i { width: 14px; height: 14px; opacity: .7; }
.otc:not(#ob-scope) .otc-chip:hover { border-color: var(--otc-accent); }
.otc:not(#ob-scope) .otc-chip-clear { background: transparent; color: var(--otc-muted); text-decoration: underline; text-underline-offset: 3px; padding-left: 8px; }

/* ------------------------------------------------------------- grid --- */
.otc-grid:not(#ob-scope) { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 256px), 1fr)); gap: var(--otc-gap); }
.otc-grid:not(#ob-scope) [data-over] { display: none; }
.otc-card:not(#ob-scope) {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--otc-panel);
	border: 1px solid var(--otc-line);
	border-radius: var(--otc-radius);
	overflow: hidden;
	transition: box-shadow .2s, transform .2s, border-color .2s;
}
.otc-card:hover:not(#ob-scope) { box-shadow: var(--otc-shadow-lg); border-color: var(--otc-line-strong); transform: translateY(-2px); }
.otc-card.is-new:not(#ob-scope) { animation: otc-in .35s ease both; }
@keyframes otc-in { from { opacity: 0; transform: translateY(8px); } }
.otc-card-media:not(#ob-scope) { position: relative; background: var(--otc-photo); aspect-ratio: 4 / 3; overflow: hidden; }
.otc-card-img:not(#ob-scope) { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; height: 100%; padding: 7%; box-sizing: border-box; }
.otc-card-img:not(#ob-scope) img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease; }
.otc-card:hover:not(#ob-scope) .otc-card-img img { transform: scale(1.04); }
.otc-placeholder:not(#ob-scope) { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #8a9994; font-size: 12px; }
.otc-placeholder:not(#ob-scope) .otc-i { width: 34px; height: 34px; }
.otc-badge:not(#ob-scope), .otc-photos:not(#ob-scope) { position: absolute; top: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; line-height: 1.4; }
.otc-badge:not(#ob-scope) { left: 12px; max-width: calc(100% - 90px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: rgba(16, 35, 31, .78); color: #fff; backdrop-filter: blur(6px); }
.otc-photos:not(#ob-scope) { right: 12px; background: rgba(255, 255, 255, .9); color: #10231f; border: 1px solid rgba(16, 35, 31, .08); }
.otc-photos:not(#ob-scope) .otc-i { width: 14px; height: 14px; }
.otc-card-tools:not(#ob-scope) { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px; justify-content: center; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.otc-card:hover:not(#ob-scope) .otc-card-tools, .otc-card:focus-within:not(#ob-scope) .otc-card-tools { opacity: 1; transform: none; }
.otc:not(#ob-scope) .otc-tool {
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 34px;
	margin: 0;
	padding: 6px 12px;
	border: 1px solid rgba(16, 35, 31, .1);
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	color: #10231f;
	font: inherit;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(16, 35, 31, .12);
	backdrop-filter: blur(8px);
}
.otc:not(#ob-scope) .otc-tool:hover { background: #fff; border-color: #10231f; }
.otc:not(#ob-scope) .otc-tool[aria-pressed=true] { background: #1b6b57; border-color: #1b6b57; color: #fff; }
.otc-card-body:not(#ob-scope) { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 20px; border-top: 1px solid var(--otc-line); }
.otc:not(#ob-scope) .otc-card-title { font-size: 16.5px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.otc-card-title:not(#ob-scope) a:hover { color: var(--otc-accent); }
.otc-card-title:not(#ob-scope) a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.otc-card-media:not(#ob-scope), .otc-card-actions:not(#ob-scope), .otc-card-tools:not(#ob-scope) { z-index: 1; }
.otc-model:not(#ob-scope) { align-self: flex-start; display: inline-flex; gap: 6px; padding: 3px 9px; border-radius: 6px; background: var(--otc-soft); font: 600 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--otc-ink); }
.otc-model:not(#ob-scope) span { font-family: inherit; color: var(--otc-faint); font-weight: 500; }
.otc-card-summary:not(#ob-scope) { display: none; font-size: 14px; color: var(--otc-muted); }
.otc-keyspecs:not(#ob-scope) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 4px; }
.otc-keyspecs:not(#ob-scope) > div { min-width: 0; padding: 7px 10px; border-radius: 10px; background: var(--otc-soft); }
.otc-keyspecs:not(#ob-scope) > div:nth-child(n+5) { display: none; }
.otc-keyspecs:not(#ob-scope) dt { font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--otc-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.otc-keyspecs:not(#ob-scope) dd { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.otc-card-actions:not(#ob-scope) { position: relative; display: flex; gap: 8px; align-items: center; margin-top: auto; padding-top: 10px; }
.otc-card-actions:not(#ob-scope) .otc-btn { flex: 1; }

/* list view */
.otc-grid[data-view=list]:not(#ob-scope) { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.otc-grid[data-view=list]:not(#ob-scope) .otc-card { flex-direction: row; }
.otc-grid[data-view=list]:not(#ob-scope) .otc-card-media { width: min(300px, 34%); flex: none; aspect-ratio: auto; min-height: 220px; }
.otc-grid[data-view=list]:not(#ob-scope) .otc-card-body { border-top: 0; border-left: 1px solid var(--otc-line); padding: 22px 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto 1fr; column-gap: 24px; align-content: start; }
.otc-grid[data-view=list]:not(#ob-scope) .otc-card-body > :not(.otc-card-actions) { grid-column: 1; }
.otc-grid[data-view=list]:not(#ob-scope) .otc-card-title { font-size: 19px; -webkit-line-clamp: 3; }
.otc-grid[data-view=list]:not(#ob-scope) .otc-card-summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.otc-grid[data-view=list]:not(#ob-scope) .otc-keyspecs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.otc-grid[data-view=list]:not(#ob-scope) .otc-keyspecs > div:nth-child(n+5) { display: block; }
.otc-grid[data-view=list]:not(#ob-scope) .otc-card-actions { grid-column: 2; grid-row: 1 / -1; flex-direction: column; align-items: stretch; justify-content: flex-end; margin: 0; padding: 0; min-width: 160px; }
.otc-grid[data-view=list]:not(#ob-scope) .otc-card-actions .otc-btn { flex: none; }
.otc-grid[data-view=list]:not(#ob-scope) .otc-card-actions .otc-icon-btn { width: 100%; border-radius: 999px; }

/* empty + more */
.otc-empty:not(#ob-scope) { display: grid; justify-items: center; gap: 10px; padding: 64px 24px; text-align: center; border: 1px dashed var(--otc-line-strong); border-radius: var(--otc-radius); background: var(--otc-panel); }
.otc-empty:not(#ob-scope) > .otc-i { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--otc-tint); color: var(--otc-accent); }
.otc:not(#ob-scope) .otc-empty h3 { font-size: 20px; }
.otc-empty:not(#ob-scope) p { max-width: 46ch; color: var(--otc-muted); }
.otc-empty-actions:not(#ob-scope) { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.otc-more:not(#ob-scope) { display: grid; justify-items: center; gap: 12px; margin-top: 40px; font-size: 14px; color: var(--otc-muted); }
.otc-progress:not(#ob-scope) { width: 220px; height: 4px; border-radius: 4px; background: var(--otc-line); overflow: hidden; }
.otc-progress:not(#ob-scope) span { display: block; height: 100%; background: var(--otc-accent); border-radius: inherit; transition: width .3s; }

/* ------------------------------------------------------ steps / help --- */
.otc-steps:not(#ob-scope) { padding: clamp(40px, 6vw, 72px) var(--otc-pad); background: var(--otc-panel); border-top: 1px solid var(--otc-line); }
.otc-steps-head:not(#ob-scope) { max-width: 640px; margin-bottom: 32px; }
.otc:not(#ob-scope) .otc-steps-head h3 { font-size: clamp(24px, 2.6vw, 34px); margin-top: 10px; }
.otc-steps:not(#ob-scope) ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--otc-gap); counter-reset: none; }
.otc-steps:not(#ob-scope) li { padding: 26px; border-radius: var(--otc-radius); background: var(--otc-bg); border: 1px solid var(--otc-line); }
.otc-steps:not(#ob-scope) li strong { display: block; font-size: 17px; margin: 14px 0 6px; }
.otc-steps:not(#ob-scope) li p { font-size: 14px; color: var(--otc-muted); }
.otc-step-no:not(#ob-scope) { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--otc-tint); color: var(--otc-accent); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.otc-help:not(#ob-scope) {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 0;
	padding: clamp(32px, 5vw, 56px) var(--otc-pad);
	background: linear-gradient(120deg, #123f35, #1b6b57 60%, #23806a);
	color: #fff;
}
.otc:not(#ob-scope) .otc-help h3 { font-size: clamp(22px, 2.6vw, 32px); color: #fff; }
.otc-help:not(#ob-scope) p { margin-top: 8px; color: rgba(255, 255, 255, .8); max-width: 56ch; }

/* ------------------------------------------------ design B: showcase --- */
.otc-design-b:not(#ob-scope) .otc-hero { background: radial-gradient(900px 480px at 85% 10%, #245e50, transparent 65%), linear-gradient(160deg, #0f2a24, #0b1f1b); color: #eef6f2; }
.otc-design-b:not(#ob-scope) .otc-hero .otc-lead, .otc-design-b:not(#ob-scope) .otc-hero-stats { color: rgba(238, 246, 242, .75); }
.otc-design-b:not(#ob-scope) .otc-hero-stats strong { color: #fff; }
.otc-design-b:not(#ob-scope) .otc-eyebrow-accent { color: #7cd3ad; }
.otc-design-b:not(#ob-scope) .otc-hero-search { border-color: transparent; }
.otc-design-b:not(#ob-scope) .otc-shell { grid-template-columns: minmax(0, 1fr); }
.otc-design-b:not(#ob-scope) .otc .otc-filter-toggle, .otc.otc-design-b:not(#ob-scope) .otc-filter-toggle { display: inline-flex; }
.otc-design-b:not(#ob-scope) .otc-grid:not([data-view=list]) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.otc-design-b:not(#ob-scope) .otc-card-media { aspect-ratio: 1 / 1; }
.otc-design-b:not(#ob-scope) .otc-tile { width: 200px; min-width: 0; flex-direction: column; align-items: flex-start; padding: 12px; }
.otc-design-b:not(#ob-scope) .otc-tile-art { width: 100%; height: 120px; }

/* -------------------------------------------------- design C: finder --- */
.otc-design-c:not(#ob-scope) .otc-hero { grid-template-columns: minmax(0, 1fr); padding-bottom: 36px; }
.otc-design-c:not(#ob-scope) .otc-hero-art { display: none; }
.otc-design-c:not(#ob-scope) .otc-hero-title { font-size: clamp(30px, 3.6vw, 48px); max-width: 22ch; }
.otc-design-c:not(#ob-scope) .otc-rail { display: none; }
.otc-design-c:not(#ob-scope) .otc-trust { display: none; }
.otc-design-c:not(#ob-scope) .otc-shell { padding-top: 28px; }

/* ----------------------------------------------------------- drawer --- */
@media (max-width: 1023px) {
	.otc-shell:not(#ob-scope) { grid-template-columns: minmax(0, 1fr); }
	.otc:not(#ob-scope) .otc-filter-toggle { display: inline-flex; }
}
@media (max-width: 1023px) {
	.otc:not(#ob-scope) .otc-filters { position: static; }
}
/* The drawer is used below 1024px, and at every width in design B. */
@media (max-width: 1023px) {
	.otc.is-ready:not(#ob-scope) .otc-filters { position: fixed; inset: 0 0 0 auto; z-index: 100000; width: min(420px, 100%); transform: translateX(105%); transition: transform .28s ease, visibility .28s; visibility: hidden; top: 0; }
	.otc.is-ready.is-filtering:not(#ob-scope) .otc-filters { transform: none; visibility: visible; box-shadow: 0 0 0 100vmax rgba(6, 18, 15, .45); }
	.otc.is-ready:not(#ob-scope) .otc-filter-form { height: 100%; max-height: none; border-radius: 0; border: 0; }
	.otc.is-ready:not(#ob-scope) .otc-drawer-head { display: flex; }
	.otc.is-ready:not(#ob-scope) .otc-drawer-foot [data-action=apply] { display: inline-flex; }
}
.otc-design-b.is-ready:not(#ob-scope) .otc-filters { position: fixed; inset: 0 0 0 auto; z-index: 100000; width: min(420px, 100%); transform: translateX(105%); transition: transform .28s ease, visibility .28s; visibility: hidden; top: 0; }
.otc-design-b.is-ready.is-filtering:not(#ob-scope) .otc-filters { transform: none; visibility: visible; box-shadow: 0 0 0 100vmax rgba(6, 18, 15, .45); }
.otc-design-b.is-ready:not(#ob-scope) .otc-filter-form { height: 100%; max-height: none; border-radius: 0; border: 0; }
.otc-design-b.is-ready:not(#ob-scope) .otc-drawer-head { display: flex; }
.otc-design-b.is-ready:not(#ob-scope) .otc-drawer-foot [data-action=apply] { display: inline-flex; }

/* ----------------------------------------------------------- tablet --- */
@media (max-width: 960px) {
	.otc-hero:not(#ob-scope) { grid-template-columns: minmax(0, 1fr); }
	.otc-hero-art:not(#ob-scope) { height: 240px; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 1fr; }
	.otc-art-3:not(#ob-scope) .otc-art-0 { grid-row: auto; }
	.otc-art-note:not(#ob-scope) { display: none; }
	.otc-trust:not(#ob-scope) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.otc-steps:not(#ob-scope) ol { grid-template-columns: minmax(0, 1fr); }
	.otc-help:not(#ob-scope) { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------ phone --- */
@media (max-width: 640px) {
	/* Phones: tighter inner padding so cards get the room. */
	.otc:not(#ob-scope) { margin: 12px auto; border-radius: 18px; --otc-pad: 14px; --otc-gap: 12px; }
	.otc.otc-full:not(#ob-scope) { border-radius: 0; }
	/* Phones: count and layout toggle on one line, Filters and a full-width sort menu below. */
	.otc-toolbar:not(#ob-scope) { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "count views" "filters sort"; align-items: center; }
	.otc-count:not(#ob-scope) { grid-area: count; }
	.otc:not(#ob-scope) .otc-toolbar .otc-filter-toggle { grid-area: filters; }
	.otc-toolbar:not(#ob-scope) .otc-select { grid-area: sort; }
	.otc-toolbar:not(#ob-scope) .otc-views { grid-area: views; justify-self: end; }
	.otc-toolbar-end:not(#ob-scope) { display: contents; }
	.otc:not(#ob-scope) .otc-filter-toggle { justify-self: start; padding: 0 14px; min-height: 40px; height: 40px; gap: 6px; }
	.otc-toolbar:not(#ob-scope) { gap: 8px; }
	.otc:not(#ob-scope) .otc-select select { padding-left: 14px; font-size: 14px; }
	.otc-select:not(#ob-scope) { min-width: 0; }
	.otc:not(#ob-scope) .otc-select select { width: 100%; max-width: none; height: 40px; }
	.otc-card-actions:not(#ob-scope) { gap: 6px; }
	.otc:not(#ob-scope) .otc-card-actions .otc-btn { min-width: 0; padding: 6px 8px; }
	.otc-hero:not(#ob-scope) { padding-top: 32px; }
	.otc:not(#ob-scope) .otc-hero-title { max-width: none; }
	.otc-hero-search:not(#ob-scope) { padding-left: 14px; }
	.otc-hero-search:not(#ob-scope) .otc-btn { padding: 10px 16px; }
	.otc-hero-art:not(#ob-scope) { height: 150px; gap: 8px; }
	.otc-art-tile:not(#ob-scope) { border-radius: 16px; }
	.otc-hero-stats:not(#ob-scope) { gap: 6px 18px; }
	.otc-trust:not(#ob-scope) { gap: 14px; padding-top: 16px; padding-bottom: 16px; }
	.otc-trust:not(#ob-scope) .otc-i { width: 30px; height: 30px; padding: 6px; }
	.otc-trust:not(#ob-scope) span { font-size: 12px; }
	.otc-tile:not(#ob-scope) { min-width: 180px; }
	.otc-design-b:not(#ob-scope) .otc-tile { width: 156px; }
	.otc-design-b:not(#ob-scope) .otc-tile-art { height: 96px; }
	.otc-grid:not(#ob-scope) { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.otc-card:not(#ob-scope) { border-radius: 16px; }
	.otc-card-body:not(#ob-scope) { padding: 14px 16px 16px; gap: 8px; }
	.otc:not(#ob-scope) .otc-card-title { font-size: 17px; }
	.otc-keyspecs:not(#ob-scope) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
	.otc-keyspecs:not(#ob-scope) > div:nth-child(n+5) { display: none; }
	.otc-card-actions:not(#ob-scope) .otc-btn { min-height: 42px; flex: 1; justify-content: center; }
	.otc:not(#ob-scope) .otc-card-actions .otc-icon-btn { width: 42px; height: 42px; }
	.otc-badge:not(#ob-scope) { top: 10px; left: 10px; max-width: calc(100% - 20px); }
	.otc-card-tools:not(#ob-scope) { opacity: 1; transform: none; left: auto; right: 8px; bottom: 8px; top: auto; }
	.otc:not(#ob-scope) .otc-tool { min-height: 32px; width: 32px; padding: 0; justify-content: center; }
	.otc:not(#ob-scope) .otc-tool span { display: none; }
	.otc-grid[data-view=list]:not(#ob-scope) { grid-template-columns: minmax(0, 1fr); }
	.otc-grid[data-view=list]:not(#ob-scope) .otc-card-media { width: 112px; min-height: 0; aspect-ratio: 1 / 1; align-self: flex-start; margin: 12px 0 0 12px; border-radius: 12px; }
	.otc-grid[data-view=list]:not(#ob-scope) .otc-badge { display: none; }
	.otc-grid[data-view=list]:not(#ob-scope) .otc-card-body { display: flex; padding: 12px 14px; }
	.otc-grid[data-view=list]:not(#ob-scope) .otc-card-title { font-size: 15px; }
	.otc-grid[data-view=list]:not(#ob-scope) .otc-card-summary { display: none; }
	.otc-grid[data-view=list]:not(#ob-scope) .otc-keyspecs { grid-template-columns: minmax(0, 1fr); }
	.otc-grid[data-view=list]:not(#ob-scope) .otc-keyspecs > div:nth-child(n+3) { display: none; }
	.otc-grid[data-view=list]:not(#ob-scope) .otc-card-actions { flex-direction: row; min-width: 0; }
	.otc-grid[data-view=list]:not(#ob-scope) .otc-card-actions .otc-icon-btn { width: 36px; }
	.otc-grid[data-view=list]:not(#ob-scope) .otc-card-tools { display: none; }
	.otc-steps:not(#ob-scope) li { padding: 20px; }
	.otc-help:not(#ob-scope) .otc-btn { width: 100%; }
}
@media (hover: none) {
	.otc-card-tools:not(#ob-scope) { opacity: 1; transform: none; }
	.otc-card:hover:not(#ob-scope) { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.otc:not(#ob-scope) *, .otc-layer:not(#ob-scope) * { transition: none !important; animation: none !important; }
}

/* ======================================================= product page === */
.otc-product:not(#ob-scope) { padding: clamp(20px, 3.5vw, 44px) var(--otc-pad) 0; }
.otc-crumbs:not(#ob-scope) { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--otc-muted); margin-bottom: 20px; }
.otc-crumbs:not(#ob-scope) a:hover { color: var(--otc-accent); text-decoration: underline; }
.otc-crumbs:not(#ob-scope) .otc-sep { color: var(--otc-faint); }
.otc-pd:not(#ob-scope) { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.otc-gallery:not(#ob-scope) { position: sticky; top: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.admin-bar:not(#ob-scope) .otc-gallery { top: 56px; }
.otc:not(#ob-scope) .otc-stage { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; max-height: 640px; padding: 6%; margin: 0; border: 1px solid var(--otc-line); border-radius: 24px; background: var(--otc-photo); cursor: zoom-in; overflow: hidden; appearance: none; box-shadow: none; }
.otc-stage:not(#ob-scope) img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.otc-stage-hint:not(#ob-scope) { position: absolute; right: 14px; bottom: 14px; display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); border: 1px solid rgba(16, 35, 31, .08); font-size: 12px; font-weight: 600; color: #10231f; }
.otc-stage-nav:not(#ob-scope) { position: absolute; top: 50%; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: rgba(255, 255, 255, .92); border: 1px solid rgba(16, 35, 31, .1); color: #10231f; cursor: pointer; }
.otc-thumbs:not(#ob-scope) { display: flex; gap: 10px; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
.otc:not(#ob-scope) .otc-thumbs button { position: relative; appearance: none; flex: none; width: 76px; height: 76px; margin: 0; padding: 6px; border: 1px solid var(--otc-line); border-radius: 14px; background: var(--otc-photo); cursor: pointer; box-shadow: none; }
.otc:not(#ob-scope) .otc-thumbs button[aria-pressed=true] { border-color: var(--otc-accent); box-shadow: inset 0 0 0 1px var(--otc-accent); }
.otc-thumbs:not(#ob-scope) img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.otc-noimg:not(#ob-scope) { display: grid; place-items: center; gap: 10px; aspect-ratio: 4 / 3; border: 1px dashed var(--otc-line-strong); border-radius: 24px; color: var(--otc-muted); text-align: center; padding: 24px; }
.otc-noimg:not(#ob-scope) .otc-i { width: 40px; height: 40px; }
.otc-pd-info:not(#ob-scope) { display: flex; flex-direction: column; gap: 16px; }
.otc:not(#ob-scope) .otc-pd-info h1 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -.03em; }
.otc-pd-meta:not(#ob-scope) { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.otc-pd-meta:not(#ob-scope) .otc-model { font-size: 13px; }
.otc-tag:not(#ob-scope) { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--otc-tint); color: var(--otc-accent); font-size: 12px; font-weight: 600; }
.otc-pd-intro:not(#ob-scope) { font-size: 16.5px; color: var(--otc-muted); }
.otc-pd-highlights:not(#ob-scope) { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.otc-pd-highlights:not(#ob-scope) > div { padding: 14px 16px; border: 1px solid var(--otc-line); border-radius: 14px; background: var(--otc-panel); }
.otc-pd-highlights:not(#ob-scope) dt { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--otc-faint); }
.otc-pd-highlights:not(#ob-scope) dd { font-size: 16px; font-weight: 600; margin-top: 2px; overflow-wrap: anywhere; }
.otc-quote:not(#ob-scope) { display: grid; gap: 12px; padding: 22px; border-radius: 20px; background: var(--otc-panel); border: 1px solid var(--otc-line); box-shadow: var(--otc-shadow); }
.otc-quote:not(#ob-scope) strong { font-size: 17px; }
.otc-quote:not(#ob-scope) p { font-size: 14px; color: var(--otc-muted); }
.otc-quote-actions:not(#ob-scope) { display: flex; flex-wrap: wrap; gap: 10px; }
.otc-quote-actions:not(#ob-scope) .otc-btn { flex: 1 1 200px; }
.otc-quote:not(#ob-scope) small { display: flex; gap: 6px; align-items: center; color: var(--otc-faint); font-size: 12.5px; }
.otc-quote:not(#ob-scope) small .otc-i { color: var(--otc-accent); }
.otc-pd-points:not(#ob-scope) { display: grid; gap: 10px; font-size: 14px; color: var(--otc-muted); }
.otc-pd-points:not(#ob-scope) li { display: flex; gap: 10px; align-items: center; }
.otc-pd-points:not(#ob-scope) .otc-i { width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: var(--otc-tint); color: var(--otc-accent); }
.otc-pd-points:not(#ob-scope) strong { color: var(--otc-ink); font-weight: 600; }
.otc-tabs:not(#ob-scope) { position: sticky; top: 0; z-index: 5; display: flex; gap: 4px; margin: clamp(40px, 5vw, 64px) calc(-1 * var(--otc-pad)) 0; padding: 10px var(--otc-pad); background: color-mix(in srgb, var(--otc-bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--otc-line); overflow-x: auto; }
.admin-bar:not(#ob-scope) .otc-tabs { top: 32px; }
.otc-tabs:not(#ob-scope) a { flex: none; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--otc-muted); }
.otc-tabs:not(#ob-scope) a:hover, .otc-tabs:not(#ob-scope) a.is-active { background: var(--otc-panel); color: var(--otc-ink); box-shadow: inset 0 0 0 1px var(--otc-line); }
.otc-section:not(#ob-scope) { padding: clamp(32px, 4vw, 52px) 0; scroll-margin-top: 80px; border-bottom: 1px solid var(--otc-line); }
.otc-section:last-child:not(#ob-scope) { border-bottom: 0; }
.otc-section-head:not(#ob-scope) { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.otc:not(#ob-scope) .otc-section-head h2 { font-size: clamp(22px, 2.4vw, 30px); margin-top: 6px; }
.otc-desc:not(#ob-scope) { max-width: 78ch; font-size: 16px; color: var(--otc-ink); }
.otc-desc:not(#ob-scope) > * + * { margin-top: 14px; }
.otc-desc:not(#ob-scope) :is(h2, h3, h4) { font-size: 18px; margin-top: 26px; }
.otc-desc:not(#ob-scope) strong { font-weight: 650; }
.otc-desc:not(#ob-scope) p { color: var(--otc-muted); }
.otc-desc:not(#ob-scope) p strong { color: var(--otc-ink); }
.otc-desc:not(#ob-scope) ul, .otc-desc:not(#ob-scope) ol { padding-left: 1.2em; list-style: disc; color: var(--otc-muted); }
.otc-desc:not(#ob-scope) li + li { margin-top: 6px; }
.otc-desc:not(#ob-scope) img { border-radius: 14px; margin: 10px 0; }
.otc-table-scroll:not(#ob-scope) { max-width: 100%; overflow-x: auto; border: 1px solid var(--otc-line); border-radius: 14px; background: var(--otc-panel); }
.otc-table-scroll:not(#ob-scope) table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; border: 0; }
.otc-table-scroll:not(#ob-scope) :is(td, th) { padding: 10px 14px; border: 0; border-bottom: 1px solid var(--otc-line); text-align: left; vertical-align: top; color: var(--otc-ink); }
.otc-table-scroll:not(#ob-scope) tr:last-child > * { border-bottom: 0; }
.otc-table-scroll:not(#ob-scope) tr:first-child > * { background: var(--otc-soft); font-weight: 600; }
.otc-table-scroll:not(#ob-scope) :is(td, th) p { margin: 0; color: inherit; }
.otc-spec-grid:not(#ob-scope) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--otc-gap); }
.otc-spec-grid:not(#ob-scope) > div { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 16px; padding: 13px 4px; border-bottom: 1px solid var(--otc-line); font-size: 14.5px; }
.otc-spec-grid:not(#ob-scope) dt { color: var(--otc-muted); }
.otc-spec-grid:not(#ob-scope) dd { font-weight: 600; overflow-wrap: anywhere; }
.otc-order:not(#ob-scope) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--otc-gap); }
.otc-order:not(#ob-scope) li { padding: 24px; border: 1px solid var(--otc-line); border-radius: var(--otc-radius); background: var(--otc-panel); }
.otc-order:not(#ob-scope) strong { display: block; font-size: 16px; margin: 12px 0 6px; }
.otc-order:not(#ob-scope) p { font-size: 14px; color: var(--otc-muted); }
.otc-related:not(#ob-scope) .otc-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.otc-product-foot:not(#ob-scope) { margin: 0 calc(-1 * var(--otc-pad)); }
.otc-mobile-cta:not(#ob-scope) { display: none; }
@media (max-width: 960px) {
	.otc-pd:not(#ob-scope) { grid-template-columns: minmax(0, 1fr); }
	.otc-gallery:not(#ob-scope) { position: static; }
	.otc-stage:not(#ob-scope) { aspect-ratio: 4 / 3; }
	.otc-spec-grid:not(#ob-scope), .otc-order:not(#ob-scope) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
	.otc-product:not(#ob-scope) { padding-bottom: 72px; }
	.otc-thumbs:not(#ob-scope) button { width: 60px; height: 60px; }
	.otc-pd-highlights:not(#ob-scope) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.otc-pd-highlights:not(#ob-scope) dd { font-size: 14px; }
	.otc-spec-grid:not(#ob-scope) > div { grid-template-columns: minmax(0, 45%) 1fr; font-size: 14px; }
	.otc-related:not(#ob-scope) .otc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.otc-mobile-cta:not(#ob-scope) { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--otc-panel); border-top: 1px solid var(--otc-line); box-shadow: 0 -8px 24px rgba(0, 0, 0, .08); }
	.otc-mobile-cta:not(#ob-scope) .otc-btn { flex: 1; }
	.otc-mobile-cta:not(#ob-scope) .otc-icon-btn { width: 44px; height: 44px; }
	body:has(.otc-mobile-cta):not(#ob-scope) .otc-dock { bottom: 76px; }
}

/* =================================================== enquiry / compare === */
.otc-layer:not(#ob-scope) { font-family: inherit; color: var(--otc-ink); line-height: 1.5; }
.otc-dock:not(#ob-scope) {
	position: fixed;
	left: 50%;
	bottom: 18px;
	z-index: 99990;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: calc(100% - 24px);
	padding: 8px;
	transform: translateX(-50%);
	background: var(--otc-panel);
	border: 1px solid var(--otc-line);
	border-radius: 999px;
	box-shadow: var(--otc-shadow-lg);
	animation: otc-up .25s ease both;
}
@keyframes otc-up { from { opacity: 0; transform: translate(-50%, 12px); } }
.otc-dock-compare:not(#ob-scope) { display: flex; align-items: center; gap: 8px; padding-right: 10px; border-right: 1px solid var(--otc-line); }
.otc-dock-compare:last-child:not(#ob-scope) { border-right: 0; padding-right: 0; }
.otc-dock-thumbs:not(#ob-scope) { display: flex; }
.otc-dock-thumbs:not(#ob-scope) span { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--otc-panel); background: #fff center / contain no-repeat; margin-left: -10px; box-shadow: 0 0 0 1px var(--otc-line); }
.otc-dock-thumbs:not(#ob-scope) span:first-child { margin-left: 0; }
.otc-count-badge:not(#ob-scope) { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .22); font-size: 12px; font-weight: 700; }
.otc-layer:not(#ob-scope) .otc-btn-ghost .otc-count-badge { background: var(--otc-tint); color: var(--otc-accent); }
.otc-toast:not(#ob-scope) { position: fixed; left: 50%; bottom: 92px; z-index: 99995; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: #10231f; color: #fff; font-size: 14px; box-shadow: var(--otc-shadow-lg); animation: otc-up .2s ease both; max-width: calc(100% - 32px); }
.otc-toast:not(#ob-scope) .otc-i { color: #7cd3ad; }
.otc-modal:not(#ob-scope) {
	width: min(1040px, calc(100% - 32px));
	max-height: calc(100vh - 48px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 26px;
	background: var(--otc-panel);
	color: var(--otc-ink);
	box-shadow: var(--otc-shadow-lg);
	overflow: hidden;
}
.otc-modal:not(#ob-scope)::backdrop { background: rgba(6, 18, 15, .55); backdrop-filter: blur(3px); }
.otc-modal[open]:not(#ob-scope) { display: flex; flex-direction: column; animation: otc-pop .22s ease both; }
@keyframes otc-pop { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.otc-modal-head:not(#ob-scope) { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--otc-line); }
.otc-layer:not(#ob-scope) .otc-modal-head h2 { font-size: 19px; }
.otc-modal-body:not(#ob-scope) { overflow: auto; padding: 24px; }
.otc-modal-foot:not(#ob-scope) { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding: 16px 22px; border-top: 1px solid var(--otc-line); background: var(--otc-soft); }
.otc-qv:not(#ob-scope) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.otc-qv-stage:not(#ob-scope) { display: grid; place-items: center; aspect-ratio: 1 / 1; padding: 6%; border-radius: 20px; background: var(--otc-photo); border: 1px solid var(--otc-line); }
.otc-qv-stage:not(#ob-scope) img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.otc-qv-thumbs:not(#ob-scope) { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.otc-layer:not(#ob-scope) .otc-qv-thumbs button { position: relative; appearance: none; flex: none; width: 60px; height: 60px; margin: 0; padding: 4px; border: 1px solid var(--otc-line); border-radius: 12px; background: #fff; cursor: pointer; }
.otc-layer:not(#ob-scope) .otc-qv-thumbs button[aria-pressed=true] { border-color: var(--otc-accent); box-shadow: inset 0 0 0 1px var(--otc-accent); }
.otc-qv-thumbs:not(#ob-scope) img { width: 100%; height: 100%; object-fit: contain; }
.otc-qv-info:not(#ob-scope) { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.otc-layer:not(#ob-scope) .otc-qv-info h3 { font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
.otc-qv-info:not(#ob-scope) > p { color: var(--otc-muted); font-size: 15px; }
.otc-mini-specs:not(#ob-scope) { border: 1px solid var(--otc-line); border-radius: 14px; overflow: hidden; font-size: 14px; }
.otc-mini-specs:not(#ob-scope) > div { display: grid; grid-template-columns: 42% 1fr; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--otc-line); }
.otc-mini-specs:not(#ob-scope) > div:last-child { border-bottom: 0; }
.otc-mini-specs:not(#ob-scope) > div:nth-child(odd) { background: var(--otc-soft); }
.otc-mini-specs:not(#ob-scope) dt { color: var(--otc-muted); }
.otc-mini-specs:not(#ob-scope) dd { font-weight: 600; overflow-wrap: anywhere; }
.otc-qv-actions:not(#ob-scope) { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.otc-qv-actions:not(#ob-scope) .otc-btn { flex: 1 1 180px; }
.otc-compare-wrap:not(#ob-scope) { overflow: auto; border: 1px solid var(--otc-line); border-radius: 16px; }
.otc-compare:not(#ob-scope) { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 640px; font-size: 14px; }
.otc-compare:not(#ob-scope) :is(th, td) { padding: 12px 16px; border-bottom: 1px solid var(--otc-line); text-align: left; vertical-align: top; min-width: 190px; background: var(--otc-panel); }
.otc-compare:not(#ob-scope) th[scope=row] { position: sticky; left: 0; z-index: 1; min-width: 150px; color: var(--otc-muted); font-weight: 500; background: var(--otc-soft); }
.otc-compare:not(#ob-scope) thead th { vertical-align: bottom; }
.otc-compare:not(#ob-scope) thead img { width: 100%; height: 130px; object-fit: contain; background: #fff; border-radius: 12px; margin-bottom: 10px; }
.otc-compare:not(#ob-scope) thead a { display: block; font-weight: 600; line-height: 1.3; }
.otc-compare:not(#ob-scope) tr.is-diff td { background: color-mix(in srgb, var(--otc-tint) 55%, var(--otc-panel)); }
.otc-compare:not(#ob-scope) td { font-weight: 600; }
.otc-compare:not(#ob-scope) td.is-none { color: var(--otc-faint); font-weight: 400; }
.otc-compare-foot:not(#ob-scope) td { border-bottom: 0; }
.otc-compare:not(#ob-scope) .otc-btn { width: 100%; }
.otc-compare-note:not(#ob-scope) { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; font-size: 13px; color: var(--otc-muted); }
.otc-compare-note:not(#ob-scope) span { display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: color-mix(in srgb, var(--otc-tint) 55%, var(--otc-panel)); border: 1px solid var(--otc-line-strong); }
.otc-list:not(#ob-scope) { display: grid; gap: 10px; }
.otc-list:not(#ob-scope) li { display: flex; align-items: center; gap: 14px; padding: 10px; padding-right: 14px; border: 1px solid var(--otc-line); border-radius: 16px; }
.otc-list:not(#ob-scope) img, .otc-list:not(#ob-scope) .otc-list-noimg { width: 64px; height: 64px; flex: none; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid var(--otc-line); }
.otc-list-main:not(#ob-scope) { flex: 1; min-width: 0; }
.otc-list-main:not(#ob-scope) a { font-weight: 600; line-height: 1.3; display: block; }
.otc-list-main:not(#ob-scope) a:hover { color: var(--otc-accent); }
.otc-list-main:not(#ob-scope) small { color: var(--otc-muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.otc-layer:not(#ob-scope) .otc-note { display: grid; gap: 6px; margin-top: 18px; font-size: 13px; font-weight: 600; }
.otc-layer:not(#ob-scope) .otc-note textarea { width: 100%; min-height: 84px; margin: 0; padding: 12px 14px; border: 1px solid var(--otc-line-strong); border-radius: 14px; background: var(--otc-panel); color: var(--otc-ink); font: inherit; font-size: 14px; font-weight: 400; resize: vertical; box-shadow: none; }
.otc-list-empty:not(#ob-scope) { display: grid; justify-items: center; gap: 8px; padding: 32px 12px; text-align: center; color: var(--otc-muted); }
.otc-list-empty:not(#ob-scope) .otc-i { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--otc-tint); color: var(--otc-accent); }
.otc-lightbox:not(#ob-scope) { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; border-radius: 0; background: rgba(8, 16, 14, .94); }
.otc-lightbox[open]:not(#ob-scope) { display: grid; place-items: center; }
.otc-lightbox:not(#ob-scope) img { max-width: 92vw; max-height: 86vh; object-fit: contain; background: #fff; border-radius: 12px; }
.otc-layer:not(#ob-scope) .otc-lightbox .otc-icon-btn { position: absolute; background: rgba(255, 255, 255, .95); color: #10231f; border: 0; width: 48px; height: 48px; }
.otc-lightbox:not(#ob-scope) [data-lb=close] { top: 16px; right: 16px; }
.otc-lightbox:not(#ob-scope) [data-lb=prev] { left: 16px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.otc-lightbox:not(#ob-scope) [data-lb=next] { right: 16px; top: 50%; transform: translateY(-50%); }
.otc-lightbox-count:not(#ob-scope) { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; }
@media (max-width: 760px) {
	.otc-modal:not(.otc-lightbox):not(#ob-scope) { width: 100%; max-width: 100%; max-height: 92vh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
	.otc-qv:not(#ob-scope) { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.otc-qv-stage:not(#ob-scope) { aspect-ratio: 4 / 3; }
	.otc-layer:not(#ob-scope) .otc-qv-info h3 { font-size: 21px; }
	.otc-modal-body:not(#ob-scope) { padding: 18px; }
	.otc-modal-foot:not(#ob-scope) { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
	.otc-modal-foot:not(#ob-scope) .otc-btn { flex: 1; }
	.otc-dock:not(#ob-scope) { left: 12px; right: 12px; transform: none; max-width: none; border-radius: 20px; justify-content: space-between; animation: none; }
	.otc-dock:not(#ob-scope) .otc-btn { padding: 8px 14px; font-size: 13px; }
	.otc-dock-thumbs:not(#ob-scope) span { width: 32px; height: 32px; }
	.otc-toast:not(#ob-scope) { bottom: 88px; }
}

/* Wrapper used by the plugin's own product template. */
.otc-main-wrap:not(#ob-scope) { padding: 20px clamp(12px, 4vw, 60px); }
/* Some supplier models are a list of variants; keep cards even. */
.otc-card:not(#ob-scope) .otc-model { display: -webkit-inline-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }

/* ============================================================ video ==== */
.otc-media-badges:not(#ob-scope) { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; gap: 6px; align-items: center; }
.otc-media-badges:not(#ob-scope) .otc-photos { position: static; }
.otc:not(#ob-scope) .otc-video-badge { appearance: none; display: inline-flex; align-items: center; gap: 5px; margin: 0; padding: 4px 10px 4px 8px; border: 0; border-radius: 999px; background: rgba(16, 35, 31, .82); color: #fff; font: inherit; font-size: 11.5px; font-weight: 600; line-height: 1.4; cursor: pointer; backdrop-filter: blur(6px); box-shadow: none; }
.otc:not(#ob-scope) .otc-video-badge .otc-i { width: 13px; height: 13px; }
.otc:not(#ob-scope) .otc-video-badge:hover { background: var(--otc-accent); color: var(--otc-accent-ink); }
.otc:not(#ob-scope) .otc-thumbs .otm-thumb { padding: 0; }
.otc:not(#ob-scope) .otc-thumbs .otm-thumb:not(.is-video) img { padding: 6px; }
.otc:not(#ob-scope) .otc-thumbs .otm-thumb.is-video img { object-fit: cover; mix-blend-mode: normal; }
.otc:not(#ob-scope) .otc-stage.otc-stage-video { display: grid; place-items: center; padding: 0; background: #0b1412; cursor: default; }
.otc:not(#ob-scope) .otc-stage.otc-stage-video[hidden] { display: none; }
.otc-stage-video:not(#ob-scope) > img { width: 100%; height: 100%; object-fit: contain; opacity: .6; }
.otc-stage-video:not(#ob-scope) > .otm-player { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.otc-stage-video:not(#ob-scope) > .otm-player.is-portrait { width: auto; max-width: 100%; }
.otc:not(#ob-scope) .otc-media-summary { appearance: none; display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin: 0; padding: 6px 12px; border: 1px solid var(--otc-line); border-radius: 999px; background: var(--otc-panel); color: var(--otc-muted); font: inherit; font-size: 13px; cursor: pointer; box-shadow: none; }
.otc:not(#ob-scope) .otc-media-summary span { color: var(--otc-accent); font-weight: 600; }
.otc:not(#ob-scope) .otc-media-summary:hover { border-color: var(--otc-accent); }
.otc-video-grid:not(#ob-scope) { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--otc-gap); align-items: start; }
.otc-video-grid.is-single:not(#ob-scope) { grid-template-columns: minmax(0, 900px); }
.otc-video-card:not(#ob-scope) { margin: 0; display: grid; gap: 10px; }
.otc-video-card:not(#ob-scope) .otm-player { border-radius: 16px; box-shadow: var(--otc-shadow); }
.otc-video-card:not(#ob-scope) .otm-player.is-portrait { width: 100%; height: auto; max-height: 560px; aspect-ratio: 9 / 16; }
.otc-video-grid.is-single:not(#ob-scope) .otc-video-card .otm-player.is-portrait { width: auto; height: min(70vh, 620px); }
.otc-video-card:not(#ob-scope) figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.otc-video-card:not(#ob-scope) figcaption span { color: var(--otc-muted); font-variant-numeric: tabular-nums; }
.otc-qv-stage.is-video:not(#ob-scope) { padding: 0; background: #0b1412; overflow: hidden; }
.otc-qv-stage.is-video:not(#ob-scope) > div { width: 100%; height: 100%; }
.otc-qv-stage.is-video:not(#ob-scope) .otm-player { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.otc-qv-stage.is-video:not(#ob-scope) .otm-player.is-portrait { width: auto; margin-inline: auto; }
.otc-qv-thumbs:not(#ob-scope) .otm-thumb { width: 60px; height: 60px; }
@media (max-width: 640px) {
	.otc-media-badges:not(#ob-scope) { top: 8px; right: 8px; }
	.otc-media-badges:not(#ob-scope) .otc-photos { display: none; }
	.otc:not(#ob-scope) .otc-video-badge span { display: none; }
	.otc:not(#ob-scope) .otc-video-badge { padding: 5px; }
	.otc-video-card:not(#ob-scope) .otm-player.is-portrait { max-height: 72vh; }
}
/* The poster overlay already names the video; keep the caption row for the duration only when useful. */
.otc-video-card:not(#ob-scope) .otm-caption { display: none; }
.otc-video-grid.is-single:not(#ob-scope) { justify-content: center; }

/* Shown to logged-in editors only when a shortcode names a category that does not exist. */
.otc-editor-note:not(#ob-scope), .obtc-editor-note:not(#ob-scope) { margin: 12px auto; max-width: 1440px; padding: 10px 14px; border: 1px dashed #b26a00; border-radius: 10px; background: #fff4e0; color: #6b4700; font-size: 14px; }

/* Paging: lazy loading, page numbers, and the info buttons in the hero. */
.otc-hero-links:not(#ob-scope) { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.otc:not(#ob-scope) .otc-link-btn { appearance: none; display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 7px 14px; border: 1px solid var(--otc-line); border-radius: 999px; background: var(--otc-panel); color: var(--otc-ink); font: inherit; font-size: 13.5px; font-weight: 600; line-height: 1.2; cursor: pointer; transition: border-color .15s, color .15s; }
.otc:not(#ob-scope) .otc-link-btn:hover, .otc:not(#ob-scope) .otc-link-btn:focus-visible { border-color: var(--otc-accent); color: var(--otc-accent); }
.otc.is-lazy:not(#ob-scope) [data-otc-info] { display: none; }
.otc.is-lazy:not(#ob-scope) [data-otc-more] [data-action=more] { display: none; }
.otc.is-paged:not(#ob-scope) [data-otc-more] [data-action=more], .otc.is-paged:not(#ob-scope) [data-otc-more] .otc-progress { display: none; }
.otc-pager:not(#ob-scope) { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.otc:not(#ob-scope) .otc-page { appearance: none; min-width: 40px; height: 40px; margin: 0; padding: 0 12px; border: 1px solid var(--otc-line); border-radius: 12px; background: var(--otc-panel); color: var(--otc-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.otc:not(#ob-scope) .otc-page:hover:not([disabled]) { border-color: var(--otc-accent); color: var(--otc-accent); }
.otc:not(#ob-scope) .otc-page[aria-current=page] { background: var(--otc-accent); border-color: var(--otc-accent); color: #fff; }
.otc:not(#ob-scope) .otc-page[disabled] { opacity: .4; cursor: default; }
.otc-page-gap:not(#ob-scope) { padding: 0 4px; color: var(--otc-muted); }
.otc-info-lead:not(#ob-scope) { margin: 0 0 18px; color: var(--otc-muted); font-size: 15px; }
.otc-steps-modal:not(#ob-scope) { padding: 0; background: none; border: 0; }
.otc-steps-modal:not(#ob-scope) ol { grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.otc-steps-modal:not(#ob-scope) li { padding: 18px 20px; }
