/* MagazinePriceSearch.com and ChristianMags.us stylesheet. Colors are tokens on :root; [data-brand="cm"] recolors.
   Dark mode follows the device unless the header's light/dark button set data-theme on <html>. */

:root {
	--paper: #faf8f4;
	--card: #ffffff;
	--ink: #1c1f26;
	--muted: #646a77;
	--line: #e7e2d9;
	--accent: #c8361f;          /* masthead red */
	--accent-ink: #ffffff;
	--save: #0d7a4c;            /* savings green */
	--save-bg: #e5f4ec;
	--badge: #ffff00;           /* the original site's bold yellow (nav bar, box headings) */
	--dod-bg: #ff9933;          /* the original site's orange Deal of the Day bar */
	--dod-ink: #0a1378;
	--badge-line: #000000;      /* black edge around yellow areas, as on the original site */
	--shadow: 0 1px 2px rgba(28, 31, 38, .08), 0 4px 14px rgba(28, 31, 38, .06);
	--radius: 10px;
	--wrap: 1180px;
	--serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	/* Header strip: the logo's navy, as on the original site (its outline blends into it) */
	--navy: #0a1378;
	--head-bg: var(--navy); --head-ink: #ffffff; --head-line: var(--navy);
}
:root[data-brand="cm"] {
	--accent: #2f5d8a;          /* ChristianMags.us: deep blue */
	--badge: #e9f0f7;
	--dod-bg: var(--accent); --dod-ink: var(--accent-ink); --badge-line: var(--line);
	--head-bg: var(--card); --head-ink: var(--ink); --head-line: var(--line);
}
/* Dark: deep navy for MagazinePriceSearch.com, neutral for ChristianMags.us. Each set is written
   twice: once for the device setting, once for the button's choice. */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--paper: #0b1030; --card: #131a42; --ink: #eceef7; --muted: #a5adcf; --line: #273170;
		--save: #4fd197; --save-bg: #14332c; --badge: #1d2766; --badge-line: var(--line); --accent: #e04a2d; --shadow: 0 1px 2px rgba(0,0,0,.45);
	}
	:root[data-brand="cm"]:not([data-theme="light"]) {
		--paper: #15171c; --card: #1e2128; --ink: #ecebe7; --muted: #a2a7b3; --line: #2e323b;
		--save-bg: #183327; --accent: #6c9fd0; --badge: #1f2a36; --badge-line: var(--line);
	}
}
:root[data-theme="dark"] {
	--paper: #0b1030; --card: #131a42; --ink: #eceef7; --muted: #a5adcf; --line: #273170;
	--save: #4fd197; --save-bg: #14332c; --badge: #1d2766; --badge-line: var(--line); --accent: #e04a2d; --shadow: 0 1px 2px rgba(0,0,0,.45);
}
:root[data-brand="cm"][data-theme="dark"] {
	--paper: #15171c; --card: #1e2128; --ink: #ecebe7; --muted: #a2a7b3; --line: #2e323b;
	--save-bg: #183327; --accent: #6c9fd0; --badge: #1f2a36; --badge-line: var(--line);
}
:root { color-scheme: light dark; }
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font: 16px/1.5 var(--sans);
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* Header: wordmark, Exclusive Offers box, search; then the nav strip and the Deal of the Day strip */
.site-head { background: var(--head-bg); color: var(--head-ink); border-bottom: 1px solid var(--head-line); }
.site-head .wrap { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.wordmark { font: 700 23px/1 var(--serif); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.wordmark b { color: var(--accent); font-weight: 700; }
.wordmark small { display: block; font: 500 11px/1.4 var(--sans); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.wordmark.logo img { display: block; width: 236px; max-width: 100%; height: auto; margin: -4px 0; }
.excl { background: var(--card); color: var(--ink); }
/* Light/dark button: last in the header; on phones, beside the logo. The admin gear (only for the
   signed-in admin) sits just before it and looks the same. */
.theme-toggle, .admin-btn { order: 3; flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 0;
	border: 1px solid color-mix(in srgb, var(--head-ink) 40%, transparent); border-radius: 999px;
	background: transparent; color: var(--head-ink); cursor: pointer; }
.theme-toggle:hover, .admin-btn:hover { border-color: var(--head-ink); }
.admin-btn { text-decoration: none; }
.admin-btn[hidden] { display: none; }
.theme-toggle svg, .admin-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .ic-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .theme-toggle .ic-sun { display: block; }
	:root:not([data-theme="light"]) .theme-toggle .ic-moon { display: none; }
}
.search { order: 2; }
.excl { display: flex; align-items: stretch; border: 1px solid var(--badge-line); border-radius: 6px; font-size: 13px; line-height: 1.35; overflow: hidden; }
.excl h2 { font: 700 15px/1.15 var(--sans); background: var(--badge); border-right: 1px solid var(--badge-line); padding: 6px 12px; width: 6.4em; display: flex; align-items: center; }
.excl ul { list-style: none; margin: 0; padding: 5px 12px; }
.excl li { white-space: nowrap; }
.search { flex: 1 1 240px; display: flex; margin-left: auto; max-width: 420px; }
.search input {
	flex: 1; min-width: 0; font: inherit; padding: 8px 12px; border: 1.5px solid var(--line); border-right: 0;
	border-radius: 6px 0 0 6px; background: var(--paper); color: var(--ink);
}
.search input:focus { outline: none; border-color: var(--accent); }
.search button {
	font: 600 15px var(--sans); padding: 0 16px; border: 0; border-radius: 0 6px 6px 0;
	background: var(--accent); color: var(--accent-ink); cursor: pointer;
}
.nav { background: var(--badge); border-top: 1px solid var(--badge-line); border-bottom: 1px solid var(--badge-line); font-size: 15px; font-weight: 600; }
.nav .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 22px; padding-top: 7px; padding-bottom: 7px; }
.nav a { text-decoration: underline; text-underline-offset: 2px; }
.nav a:hover, .nav a[aria-current] { color: var(--accent); }
.dod-strip { background: var(--dod-bg); color: var(--dod-ink); text-align: center; font-size: 17px; font-weight: 600; padding: 7px 0; }
.dod-strip .kicker { text-transform: uppercase; letter-spacing: .04em; }
.dod-strip .per, .dod-strip .amt { color: inherit; font-size: inherit; }

/* Lines of "Name $price for N issues" */
.amt { color: var(--accent); font-weight: 700; }
.per { color: var(--muted); font-size: .93em; }

/* Three columns: Shop By Price + Category List, the page, Top Magazines */
.frame { display: grid; grid-template-columns: 200px minmax(0, 1fr) 190px; gap: 22px; align-items: start; }
.frame.no-right { grid-template-columns: 200px minmax(0, 1fr); }
.box { background: var(--card); border: 1px solid var(--badge-line); border-radius: 6px; overflow: hidden; margin-bottom: 16px; }
.box h2 { font: 700 16px/1.2 var(--sans); background: var(--badge); padding: 7px 10px; text-align: center; border-bottom: 1px solid var(--badge-line); }
.box-body { padding: 8px 10px 10px; font-size: 14px; }
.side-list { list-style: none; margin: 0; padding: 0; line-height: 1.45; }
.side-list .side-list { padding-left: 12px; font-size: 13px; }
.side-list a { font-weight: 600; }
.side-list .side-list a { font-weight: 400; }
.side-extra { margin: 12px 0 0; font-weight: 600; }
.top-list { list-style: none; margin: 0; padding: 0; text-align: center; }
.top-list li { margin: 0 0 14px; line-height: 1.3; }
.top-list li > a { font-weight: 600; }
.side-right .side-extra { text-align: center; }
.pick-cover { display: block; width: 96px; margin: 0 auto 6px; }
.pick-cover img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--line); border-radius: 3px; }
.intro-lead { font-size: 17px; line-height: 1.45; margin: 0 0 18px; }
.cover-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 12px; margin: 0 0 20px; text-align: center; font-size: 14px; line-height: 1.3; }
.cover-row .pick > div > a { font-weight: 600; }
.mag-list { list-style: none; margin: 0; padding: 0; columns: 2 230px; column-gap: 26px; font-size: 15px; line-height: 1.45; }
.mag-list li { break-inside: avoid; }
.mag-list li > a { font-weight: 600; }
.mag-list.drops { columns: auto; }
.mag-list.drops li { margin-bottom: 4px; }
.was { color: var(--muted); text-decoration: line-through; }

/* Sections */
main { padding: 18px 0 32px; }
.section { margin: 0 0 40px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0; }
h2 { font-size: 26px; }
.section-head a { font-size: 14px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-block; padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 999px;
	text-decoration: none; font-size: 14px; font-weight: 500; background: var(--paper);
}
.chip:hover { border-color: var(--accent); }
.chip span { color: var(--muted); font-weight: 400; }

/* Cover cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px 18px; }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.card .cover {
	position: relative; aspect-ratio: 3 / 4; border-radius: 4px; overflow: hidden; background: var(--line);
	box-shadow: var(--shadow); transition: transform .15s ease;
}
.card:hover .cover { transform: translateY(-3px); }
.card .cover img { width: 100%; height: 100%; object-fit: cover; }
.card .cover .nocover {
	position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; text-align: center;
	font: 700 18px/1.2 var(--serif); color: var(--muted);
}
.card .title { font-weight: 600; font-size: 15px; line-height: 1.25; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price strong { font-size: 18px; }
.price .per { font-size: 13px; color: var(--muted); }
.tag {
	position: absolute; left: 8px; top: 8px; background: var(--badge); color: var(--ink); border: 1px solid var(--badge-line);
	font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 4px; text-transform: uppercase; letter-spacing: .03em;
}
.save { color: var(--save); font-weight: 600; font-size: 13px; }

/* Detail page: cover, name and description, "other magazines" box; then best price, the grid, history */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.mag-top { display: grid; grid-template-columns: 240px minmax(0, 1fr) 250px; gap: 26px; align-items: start; }
.mag-cover { text-align: center; }
.mag-cover img { border: 1px solid var(--line); border-radius: 4px; width: 100%; }
.mag-cover p { margin: 8px 0 0; }
.mag h1 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.01em; }
.mag .facts { color: var(--muted); margin: 2px 0 10px; }
.other { background: var(--badge); border: 1px solid var(--badge-line); border-radius: 6px; padding: 10px 12px; font-size: 15px; }
.by { color: var(--muted); font-style: italic; }
.best-line { margin: 8px 0; font-size: 17px; }
.flag { color: var(--accent); font-weight: 700; text-transform: uppercase; font-size: .82em; letter-spacing: .03em; }
.scroll-x { overflow-x: auto; }
.pgrid { border-collapse: collapse; margin-top: 12px; background: var(--card); font-size: 15px; }
.pgrid th, .pgrid td { border: 1px solid var(--line); padding: 8px 14px; text-align: center; vertical-align: middle; }
.pgrid thead th { background: var(--paper); font-weight: 600; font-size: 14px; }
.pgrid th.store { text-align: left; min-width: 170px; }
.pgrid .store a { text-decoration: none; }
.pgrid .store a:hover { text-decoration: underline; }
.pgrid .note { display: block; font-size: 12px; font-weight: 400; color: var(--accent); max-width: 240px; }
.pgrid td { white-space: nowrap; }
.pgrid td.none { color: var(--muted); }
.pgrid td.best-cell { background: var(--badge); outline: 1px solid var(--badge-line); outline-offset: -1px; }
.pgrid .flag, .pgrid .cnote { display: block; }
.pgrid .calc { color: var(--muted); font-size: 13px; }
.pgrid .cnote { font-size: 12px; color: var(--muted); }
.pgrid .amt { font-size: 16px; }
.grid-note { font-size: 14px; color: var(--muted); font-style: italic; margin: 6px 0 0; }
.best {
	background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); padding: 16px 18px; margin-top: 18px;
}
.badge-low {
	display: inline-block; background: var(--save-bg); color: var(--save); font-size: 12px; font-weight: 700;
	padding: 3px 8px; border-radius: 999px; margin-bottom: 6px;
}
.code {
	font: 600 13px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--badge); padding: 2px 7px;
	border-radius: 4px; border: 1px dashed var(--badge-line);
}
.btn {
	display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none;
	font-weight: 600; padding: 10px 18px; border-radius: 8px; white-space: nowrap;
}
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }

.offers { width: 100%; border-collapse: collapse; margin-top: 24px; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.offers th, .offers td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.offers th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; background: var(--paper); }
.offers td.num, .offers th.num { text-align: right; font-variant-numeric: tabular-nums; }
.offers tr.top td { background: var(--save-bg); }
.offers tr:last-child td { border-bottom: 0; }
.offers .store { font-weight: 600; }
.offers .note { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.filters { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--muted); }

.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; margin-top: 24px; }
.panel h2 { font-size: 21px; margin-bottom: 10px; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .axis { stroke: var(--line); }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.chart .dot { fill: var(--accent); }
.chart text { fill: var(--muted); font: 12px var(--sans); }
.desc { color: var(--ink); }
.desc p { margin: 0 0 10px; }

/* Footer: disclosure, fine print, then the link bar */
.site-foot { padding: 8px 0 28px; font-size: 13px; color: var(--muted); }
.site-foot p { margin: 0 0 10px; }
.site-foot .disclosure { text-align: center; font-size: 15px; color: var(--ink); }
.foot-bar {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; background: var(--badge); color: var(--ink);
	border: 1px solid var(--badge-line); border-radius: 6px; padding: 9px 14px; font-size: 14px;
}
.foot-bar a { font-weight: 600; }
.foot-bar span { color: var(--muted); }

/* Narrower screens: the right column goes under the page, then the left one becomes a strip above it */
@media (max-width: 1020px) {
	.frame { grid-template-columns: 190px minmax(0, 1fr); }
	.cover-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.side-right { grid-column: 2; }
	.top-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0 12px; }
	.mag-top { grid-template-columns: 200px minmax(0, 1fr); }
	.other { grid-column: 1 / -1; }
	.excl { order: 4; width: 100%; }
	.wordmark.logo img { width: 220px; }
	.excl ul { columns: 2 220px; flex: 1; }
}
@media (max-width: 700px) {
	.frame, .frame.no-right { grid-template-columns: minmax(0, 1fr); }
	.side-left { order: 2; }
	.side-right { order: 3; grid-column: auto; }
	.cat-box .side-list { columns: 2 140px; column-gap: 16px; }
	.cat-box .side-list .side-list { columns: auto; }
	.side-left .box:first-child .side-list { display: flex; flex-wrap: wrap; gap: 2px 18px; }
	.nav .wrap { gap: 2px 16px; }
	.dod-strip { font-size: 15px; }
	.excl h2 { width: auto; }
	.wordmark.logo img { width: min(200px, calc(100vw - 86px)); }
	.theme-toggle, .admin-btn { order: 1; margin-left: auto; }
	.admin-btn:not([hidden]) + .theme-toggle { margin-left: 0; }
	.site-head .wrap:has(.admin-btn:not([hidden])) .wordmark.logo img { width: min(200px, calc(100vw - 148px)); }
	.search { flex-basis: 100%; max-width: none; }
	.cover-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mag-top { display: block; }
	.mag-cover { float: left; width: 112px; margin: 2px 14px 8px 0; }
	.mag-cover .btn { padding: 6px 10px; font-size: 14px; }
	.other { clear: both; margin-top: 12px; }
	.mag h1 { font-size: 26px; }
	/* The plain tables (coupons, last prices) become cards */
	.offers, .offers tbody, .offers tr, .offers td { display: block; width: 100%; }
	.offers thead { display: none; }
	.offers { background: none; box-shadow: none; }
	.offers tr {
		background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 12px;
		display: grid; grid-template-columns: 1fr auto; padding: 12px 14px; gap: 4px 12px;
	}
	.offers td { border: 0; padding: 0; }
	.offers td.num { text-align: left; }
	.offers td[data-k]::before { content: attr(data-k) ": "; color: var(--muted); font-size: 13px; }
}
.offers th { white-space: nowrap; }
.offers .coupon { white-space: nowrap; }

/* Site additions */
.test-note { background: #5b2a86; color: #fff; font-size: 13px; text-align: center; padding: 5px 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
h1 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.01em; margin-bottom: 10px; }
.intro { color: var(--muted); font-size: 17px; margin: 0 0 14px; max-width: 760px; }
.list-head { margin-bottom: 18px; }
.list-tools { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 14px; margin: 10px 0; }
.sorts { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.sorts span[aria-current] { color: var(--ink); font-weight: 600; }
.sorts a { color: var(--muted); }
.subcats { margin: 10px 0 4px; }
.chip.on { border-color: var(--accent); color: var(--accent); }
button.chip { font: inherit; font-size: 14px; cursor: pointer; color: var(--ink); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 32px 0 0; }
.pager a, .pager span { padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-size: 15px; }
.pager span[aria-current] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pager .gap { border: 0; background: none; }
.empty { padding: 30px 0; }
.empty h1 { margin-bottom: 8px; }
.search.big { max-width: 560px; margin: 16px 0; }
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin: 26px 0 8px; }
.prose p, .prose li { margin: 0 0 10px; }
.cat-index { columns: 3 200px; column-gap: 28px; margin-top: 18px; }
.cat-block { break-inside: avoid; margin-bottom: 20px; }
.cat-block h2 { font-size: 19px; margin-bottom: 6px; }
.cat-block h2 a { text-decoration: none; }
.cat-block span, .cat-block li span { color: var(--muted); font: 400 14px var(--sans); }
.cat-block ul { list-style: none; padding: 0; margin: 0; }
.cat-block li { padding: 2px 0; }
.cat-block li a { text-decoration: none; }
.cat-block li a:hover, .cat-block h2 a:hover { color: var(--accent); }
.filters-line { margin-top: 20px; font-size: 14px; color: var(--muted); }
.offers .store a { text-decoration: none; }
.offers .store a:hover { text-decoration: underline; }
h2.sub { font-size: 22px; margin: 26px 0 8px; }
.ceased-note { color: var(--muted); }
.chart-note { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.code[data-copy] { cursor: pointer; }
.code.copied::after { content: " ✓ copied"; color: var(--save); font-family: var(--sans); font-weight: 600; }
.code.big { font-size: 22px; padding: 6px 16px; color: var(--ink); }
.jump { display: grid; grid-template-columns: 140px 1fr; gap: 28px; max-width: 860px; }
.jump .kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.jump-cover img { border-radius: 4px; box-shadow: var(--shadow); }
.jump-code { margin: 18px 0; display: grid; gap: 8px; justify-items: start; }
.jump .notes { margin: 16px 0; padding-left: 20px; }
.jump .notes li { margin-bottom: 6px; }
.upsell { background: var(--badge); border: 1px solid var(--badge-line); border-radius: 8px; padding: 12px 14px; margin: 14px 0; }
.btn.big { font-size: 18px; padding: 14px 24px; }
.store-list { list-style: none; padding: 0; display: grid; gap: 8px; max-width: 600px; }
.store-list li { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.store-list a { text-decoration: none; }
.letter h2 { font-size: 22px; border-bottom: 1px solid var(--line); padding-bottom: 4px; margin: 22px 0 8px; }
.letter ul { list-style: none; padding: 0; columns: 2 280px; }
.letter li { break-inside: avoid; padding: 3px 0; }
.form { display: grid; gap: 14px; max-width: 560px; margin-top: 16px; }
.form label { display: grid; gap: 4px; font-weight: 500; }
.form input, .form textarea, .form select {
	font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); }
.form .btn { justify-self: start; border: 0; cursor: pointer; font-size: 16px; }
.hp { position: absolute; left: -9999px; }
.error { color: var(--accent); font-weight: 600; }
.snippet { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 12px; overflow-x: auto; white-space: pre-wrap; word-break: break-word; font-size: 13px; }
.spec { border-collapse: collapse; width: 100%; font-size: 14px; }
.spec td, .spec th { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
.crumbs span { color: var(--ink); }

/* Search suggestions */
.search { position: relative; }
.suggest {
	position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 20; background: var(--card); border: 1px solid var(--line);
	border-radius: 10px; box-shadow: var(--shadow); list-style: none; margin: 0; padding: 4px; max-height: 70vh; overflow-y: auto;
}
.suggest a { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 6px; text-decoration: none; }
.suggest a[aria-selected="true"], .suggest a:hover { background: var(--paper); }
.suggest img, .suggest .ph { width: 36px; height: 48px; object-fit: cover; border-radius: 2px; background: var(--line); }
.suggest .p { color: var(--muted); font-size: 13px; white-space: nowrap; }

@media (max-width: 640px) {
	.jump { grid-template-columns: 1fr; }
	.jump-cover { max-width: 110px; }
	.offers.coupons tr { grid-template-columns: 1fr; }
}
