/* ==========================================================================
   Presidents Day Price Tracker — main.css
   1. Variables  2. Reset  3. Layout  4. Components  5. Utilities  6. Responsive
   ========================================================================== */

/* 1. VARIABLES ============================================================ */
:root {
	--c-bg: #ffffff;
	--c-bg-soft: #f5f6f8;
	--c-tile: #f2f3f5;
	--c-surface: #ffffff;
	--c-text: #101828;
	--c-text-2: #344054;
	--c-muted: #5d6878;
	--c-border: #e4e7ec;
	--c-border-strong: #cfd4dc;
	--c-navy: #0b1f3a;
	--c-navy-2: #12294a;
	--c-navy-3: #1b3660;
	--c-navy-ink: #e9eef6;
	--c-navy-muted: #b4c0d3;
	--c-red: #c8102e;
	--c-red-hover: #a50d26;
	--c-red-soft: #fdeef0;
	--c-red-ink: #b10e29;
	--c-on-red: #ffffff;
	--c-green: #0b7a3e;
	--c-green-soft: #e6f5ec;
	--c-amber: #8f5300;
	--c-amber-soft: #fff3df;
	--c-blue: #1d5fb8;
	--c-blue-soft: #e8f0fb;
	--c-focus: #2463eb;
	--t-exceptional: #0b7a3e;
	--t-great: #2f7d32;
	--t-good: #1d5fb8;
	--t-fair: #8f5300;
	--t-poor: #5d6878;
	--radius-xs: 6px;
	--radius-sm: 8px;
	--radius: 12px;
	--radius-lg: 16px;
	--shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
	--shadow: 0 6px 20px rgba(16, 24, 40, .08);
	--shadow-lg: 0 18px 50px rgba(16, 24, 40, .22);
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--container: 1320px;
	--tap: 44px;
	--gutter: 16px;
	--fs-xs: .75rem;
	--fs-sm: .875rem;
	--fs-base: 1rem;
	--fs-lg: 1.125rem;
	--fs-h3: clamp(1.05rem, .98rem + .3vw, 1.2rem);
	--fs-h2: clamp(1.3rem, 1.1rem + .8vw, 1.65rem);
	--fs-h1: clamp(1.75rem, 1.3rem + 2vw, 2.6rem);
	--fs-hero: clamp(2rem, 1.3rem + 3.4vw, 3.4rem);
	--bottom-nav-h: 0px;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--c-bg: #0d1117;
		--c-bg-soft: #121822;
		--c-tile: #1a212c;
		--c-surface: #151b25;
		--c-text: #e8ecf1;
		--c-text-2: #c9d1db;
		--c-muted: #9aa6b5;
		--c-border: #283141;
		--c-border-strong: #3a4558;
		--c-navy: #0a1a31;
		--c-navy-2: #0f2240;
		--c-navy-3: #1a3358;
		--c-red: #ff5a6f;
		--c-red-hover: #ff7a8b;
		--c-red-soft: #3a1820;
		--c-red-ink: #ff7286;
		--c-on-red: #1a0006;
		--c-green: #4cc782;
		--c-green-soft: #12301f;
		--c-amber: #f0b45a;
		--c-amber-soft: #33270f;
		--c-blue: #7fb0ff;
		--c-blue-soft: #15243d;
		--c-focus: #7fb0ff;
		--t-exceptional: #4cc782;
		--t-great: #6fcf73;
		--t-good: #7fb0ff;
		--t-fair: #f0b45a;
		--t-poor: #9aa6b5;
		--shadow: 0 6px 20px rgba(0, 0, 0, .35);
		--shadow-lg: 0 18px 50px rgba(0, 0, 0, .55);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--c-bg: #0d1117;
	--c-bg-soft: #121822;
	--c-tile: #1a212c;
	--c-surface: #151b25;
	--c-text: #e8ecf1;
	--c-text-2: #c9d1db;
	--c-muted: #9aa6b5;
	--c-border: #283141;
	--c-border-strong: #3a4558;
	--c-navy: #0a1a31;
	--c-navy-2: #0f2240;
	--c-navy-3: #1a3358;
	--c-red: #ff5a6f;
	--c-red-hover: #ff7a8b;
	--c-red-soft: #3a1820;
	--c-red-ink: #ff7286;
	--c-on-red: #1a0006;
	--c-green: #4cc782;
	--c-green-soft: #12301f;
	--c-amber: #f0b45a;
	--c-amber-soft: #33270f;
	--c-blue: #7fb0ff;
	--c-blue-soft: #15243d;
	--c-focus: #7fb0ff;
	--t-exceptional: #4cc782;
	--t-great: #6fcf73;
	--t-good: #7fb0ff;
	--t-fair: #f0b45a;
	--t-poor: #9aa6b5;
	--shadow: 0 6px 20px rgba(0, 0, 0, .35);
	--shadow-lg: 0 18px 50px rgba(0, 0, 0, .55);
	color-scheme: dark;
}

/* 2. RESET ================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; overflow-x: clip; }
/* Off-canvas drawers must never widen the page. */
.js .filters:not(.is-open) { inset-inline-end: -100vw; }
body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font: 400 var(--fs-base)/1.55 var(--font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.2; font-weight: 750; letter-spacing: -.01em; color: var(--c-text); overflow-wrap: break-word; }
p, ul, ol, dl, figure, table, fieldset { margin: 0 0 1rem; }
ul[class], ol[class], nav ul, nav ol { list-style: none; padding: 0; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-blue); text-underline-offset: .15em; }
a:hover { color: var(--c-red-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
th { text-align: left; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
s { text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--c-red); color: #fff; }
[hidden] { display: none !important; }
.num, .price, .stat__value, .score-pill, .score-ring__num { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 3. LAYOUT =============================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 680px; }
.container--article { max-width: 820px; }
.site-main { display: block; min-height: 60vh; padding-bottom: 3rem; }
.site-main:focus { outline: none; }
.section { margin-block: 2.25rem; }
.section--tint { background: var(--c-bg-soft); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 1.25rem; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.section-title { font-size: var(--fs-h2); margin: 0; }
.section > .section-title, .account-panel > .section-title, .faq > .section-title { margin-bottom: 1rem; }
.section-sub { color: var(--c-muted); margin: .25rem 0 0; font-size: var(--fs-sm); }
.section-link { display: inline-flex; align-items: center; gap: .15rem; white-space: nowrap; font-weight: 650; font-size: var(--fs-sm); color: var(--c-blue); text-decoration: none; padding: .5rem 0; min-height: 44px; }
.section-link:hover { text-decoration: underline; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: var(--fs-xs); font-weight: 700; color: var(--c-red-ink); margin: 0 0 .4rem; }

/* Header ------------------------------------------------------------------ */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: #fff; color: #0b1f3a; padding: .75rem 1rem; border-radius: var(--radius-sm); font-weight: 700; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.site-header { background: var(--c-navy); color: var(--c-navy-ink); position: relative; z-index: 50; }
.site-header__bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "menu brand actions" "search search search"; align-items: center; gap: .5rem .25rem; padding-block: .5rem .75rem; }
.menu-toggle { grid-area: menu; margin-left: -6px; }
.brand { grid-area: brand; min-width: 0; }
.site-header__search { grid-area: search; min-width: 0; }
.site-header__actions { grid-area: actions; display: flex; align-items: center; gap: .125rem; margin-right: -6px; }
.brand__link, .brand .custom-logo-link { max-width: 100%; display: inline-flex; align-items: center; gap: .55rem; color: #fff; text-decoration: none; min-height: 44px; }
.brand .custom-logo { max-height: 40px; width: auto; }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #c8102e; color: #fff; flex: none; }
.brand__mark .icon { width: 20px; height: 20px; }
/* Long site titles wrap to two lines, then truncate. */
.brand__name { min-width: 0; font-weight: 800; font-size: clamp(.9rem, .85rem + .3vw, 1.02rem); letter-spacing: -.01em; line-height: 1.15; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.brand__link:hover { color: #fff; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: inherit; }
.icon-btn:hover { background: rgba(255, 255, 255, .1); }
.icon-btn--plain { color: var(--c-text); }
.icon-btn--plain:hover { background: var(--c-bg-soft); }
.header-action { position: relative; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 .5rem; border-radius: 10px; color: var(--c-navy-ink); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); }
.header-action:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.header-action__label { display: none; }
.header-action--saved { display: none; }
.theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .theme-toggle__sun { display: block; }
	:root:not([data-theme="light"]) .theme-toggle__moon { display: none; }
}
.count-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--c-red); color: var(--c-on-red); font-size: .7rem; font-weight: 800; line-height: 1; }
.count-badge--muted { background: var(--c-bg-soft); color: var(--c-text-2); border: 1px solid var(--c-border); }
.header-action .count-badge { position: absolute; top: 2px; right: 0; }

/* Nav strip (desktop) */
.nav-strip { display: none; background: var(--c-navy-2); border-top: 1px solid rgba(255, 255, 255, .07); }
html:not(.js) .nav-strip { display: block; overflow-x: auto; }
.nav-strip__list { display: flex; align-items: stretch; gap: .25rem; margin: 0; margin-inline: -.8rem; }
.nav-strip__list > li { flex: none; }
.nav-strip__list .sub-menu { display: none; }
.nav-strip__item { position: relative; display: flex; align-items: center; }
.nav-strip__link, .nav-strip__list > li > a { display: inline-flex; align-items: center; gap: .35rem; padding: .7rem .8rem; min-height: 46px; color: var(--c-navy-ink); text-decoration: none; font-weight: 600; font-size: .94rem; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav-strip__link:hover, .nav-strip__link[aria-current="page"] { color: #fff; border-bottom-color: var(--c-red); }
.nav-strip__item--event .nav-strip__link { color: #fff; }
.nav-strip__item--event .icon { color: #ff8a98; }
.mega-toggle { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-left: -.4rem; border: 0; border-radius: 6px; background: transparent; color: var(--c-navy-ink); }
.mega-toggle:hover { background: rgba(255, 255, 255, .1); }
.mega-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
/* The panel spans the full nav bar and always drops straight down below it
   (anchored to .nav-strip, not the centred flex item), capped to the visible screen. */
.nav-strip { position: relative; }
.nav-strip__item.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--mega-top, 120px) - 16px); max-height: calc(100dvh - var(--mega-top, 120px) - 16px); overflow-y: auto; overscroll-behavior: contain; display: none; background: var(--c-surface); color: var(--c-text); border-top: 3px solid var(--c-red); box-shadow: var(--shadow-lg); z-index: 60; }
.has-mega:hover > .mega, .mega.is-open { display: block; }
.mega__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 2rem; padding-block: 1.5rem; }
.mega__parent { display: block; font-weight: 750; color: var(--c-text); text-decoration: none; margin-bottom: .35rem; }
.mega__parent:hover { color: var(--c-red-ink); }
.mega__col ul { margin: 0; }
.mega__col li a { display: block; padding: .2rem 0; color: var(--c-text-2); text-decoration: none; font-size: var(--fs-sm); }
.mega__col li a:hover { color: var(--c-red-ink); text-decoration: underline; }
.mega__all { grid-column: 1 / -1; margin: 0; }

/* Mobile menu drawer */
.mobile-menu { position: fixed; inset: 0; z-index: 200; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(5, 12, 24, .55); }
.mobile-menu__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); background: var(--c-surface); color: var(--c-text); overflow-y: auto; padding: .5rem 1rem 2rem; box-shadow: var(--shadow-lg); }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--c-border); margin-bottom: .5rem; }
.mobile-menu__head .icon-btn:hover { background: var(--c-bg-soft); }
.mobile-menu__title { font-weight: 800; }
.mobile-menu__list { margin: 0; }
.mobile-menu__list a, .mobile-menu__group summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: .25rem .25rem; color: var(--c-text); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--c-border); cursor: pointer; list-style: none; }
.mobile-menu__group summary::-webkit-details-marker { display: none; }
.mobile-menu__group[open] summary .icon { transform: rotate(180deg); }
.mobile-menu__group ul { margin: 0 0 .5rem .75rem; }
.mobile-menu__group ul a { font-weight: 500; min-height: 44px; }
.mobile-menu__list a[aria-current="page"], .mobile-menu__list .current-menu-item > a { color: var(--c-red-ink); }
.mobile-menu__list .sub-menu { margin: 0 0 .5rem .75rem; padding: 0; list-style: none; }
.mobile-menu__list .sub-menu a { font-weight: 500; }
.mobile-menu__list--extra { margin-top: 1rem; }
.mobile-menu__list--extra a { font-weight: 500; color: var(--c-text-2); }

/* Bottom nav */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--c-surface); border-top: 1px solid var(--c-border); padding-bottom: env(safe-area-inset-bottom, 0); box-shadow: 0 -4px 16px rgba(16, 24, 40, .06); }
.bottom-nav ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); margin: 0; }
.bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; color: var(--c-muted); text-decoration: none; font-size: .75rem; font-weight: 650; }
.bottom-nav a .icon { width: 22px; height: 22px; }
.bottom-nav a[aria-current="page"] { color: var(--c-red-ink); }
.bottom-nav .count-badge { position: absolute; top: 4px; left: calc(50% + 4px); }
.has-bottom-nav { --bottom-nav-h: 57px; }
/* Everything fixed to the bottom (bottom nav + sticky buy bar) is reserved here so it never hides content. */
.has-bottom-nav .site-main { padding-bottom: 3rem; }
body { --fixed-bottom: var(--bottom-nav-h); padding-bottom: calc(var(--fixed-bottom) + env(safe-area-inset-bottom, 0px)); }
body.has-compare { padding-bottom: calc(var(--fixed-bottom) + 68px + env(safe-area-inset-bottom, 0px)); }

/* Footer */
.site-footer { background: var(--c-navy); color: var(--c-navy-muted); padding: 2.5rem 0 1.5rem; font-size: var(--fs-sm); }
.site-footer a { color: var(--c-navy-ink); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__top { display: grid; gap: 2rem; }
.site-footer__about { min-width: 0; }
.site-footer__about p { max-width: 42ch; margin-top: .75rem; }
.brand__link--footer { color: #fff; }
.brand__link--footer .brand__name { -webkit-line-clamp: 3; }
.site-footer__disclosure { font-size: var(--fs-xs); opacity: .9; }
.site-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.25rem; min-width: 0; }
.footer-col { min-width: 0; }
.footer-col__title { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .35rem; }
.footer-col__list { margin: 0; }
.footer-col__list li { margin: 0; }
.footer-col__list a { display: inline-flex; align-items: center; padding: .3rem 0; min-height: 32px; line-height: 1.3; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2rem; padding-top: 1.25rem; font-size: var(--fs-xs); }
.site-footer__bottom p { margin: 0; max-width: 70ch; }
.legal-links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: 0; }
.legal-links a { display: inline-flex; align-items: center; min-height: 32px; }

/* Page header & breadcrumbs */
.breadcrumbs { font-size: var(--fs-sm); color: var(--c-muted); padding-top: .75rem; }
/* One line: ancestors stay whole, the current page truncates. */
.breadcrumbs ol { display: flex; flex-wrap: nowrap; align-items: center; margin: 0; padding: 0; list-style: none; min-width: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; flex: none; white-space: nowrap; }
.breadcrumbs li:last-child { flex: 0 1 auto; min-width: 0; }
.breadcrumbs li + li::before { content: "/"; margin: 0 .45rem; color: var(--c-border-strong); }
.breadcrumbs a { color: var(--c-muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.breadcrumbs a:hover { color: var(--c-red-ink); text-decoration: underline; }
/* The current page is already the H1: keep it to one truncated line. */
.breadcrumbs [aria-current] { display: block; min-width: 0; color: var(--c-text-2); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-header { padding: 1rem 0 .5rem; max-width: 820px; }
.page-title { font-size: var(--fs-h1); margin-bottom: .5rem; letter-spacing: -.02em; }
.page-intro { color: var(--c-text-2); font-size: clamp(1rem, .95rem + .3vw, 1.125rem); max-width: 72ch; }
.page-intro p { margin-bottom: .6rem; }
.page-meta { color: var(--c-muted); font-size: var(--fs-sm); }

/* Hero */
.hero { background: var(--c-navy); color: var(--c-navy-ink); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c-red); }
.hero--home { padding: 2rem 0 2.5rem; background: radial-gradient(1200px 400px at 85% -10%, rgba(255, 255, 255, .08), transparent 60%), var(--c-navy); }
.hero--event { padding: 0 0 2rem; }
.hero .breadcrumbs, .hero .breadcrumbs a { color: var(--c-navy-muted); }
.hero .breadcrumbs [aria-current] { color: #fff; }
.hero .breadcrumbs li + li::before { color: rgba(255, 255, 255, .3); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.hero__title { color: #fff; font-size: var(--fs-hero); letter-spacing: -.025em; margin: .5rem 0 .75rem; line-height: 1.05; }
.hero--event .hero__title { font-size: var(--fs-h1); }
.hero__lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--c-navy-ink); max-width: 60ch; }
.hero__meta { color: var(--c-navy-muted); font-size: var(--fs-sm); margin: 0; }
.hero__meta .updated { color: inherit; } /* The generic muted grey is unreadable on the navy hero. */
.hero__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.hero__panel { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); padding: 1.25rem; }
.hero__panel-title { display: flex; align-items: center; gap: .5rem; font-weight: 750; color: #fff; margin-bottom: .75rem; }
.hero__panel-note { color: var(--c-navy-muted); font-size: var(--fs-sm); }
.hero__panel-link { display: inline-flex; align-items: center; gap: .35rem; color: #fff; font-weight: 700; text-decoration: none; min-height: 44px; }
.hero__panel-link:hover { color: #fff; text-decoration: underline; }
.key-dates { display: grid; gap: .75rem; margin: 0; }
.key-dates div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: .75rem 1rem; }
.key-dates--stack div { background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); border-radius: 0; padding: 0 0 .6rem; }
.key-dates dt { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--c-navy-muted); font-weight: 700; }
.key-dates dd { margin: .15rem 0 0; color: #fff; font-weight: 650; }
.status-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-size: var(--fs-sm); font-weight: 650; margin: 0; }
.status-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #9fb0c8; }
.status-pill--live .status-pill__dot { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .2); }
.status-pill--upcoming .status-pill__dot { background: #ffb547; }
.status-pill--light { background: var(--c-bg-soft); color: var(--c-text-2); border: 1px solid var(--c-border); }

/* Trust strip */
.trust-strip { background: var(--c-bg-soft); border-bottom: 1px solid var(--c-border); }
/* Mobile: compact 2×2 grid (icon above text); tablet: 2 columns; desktop: 4. */
.trust-strip__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1rem; margin: 0; padding-block: 1rem; }
.trust-strip__list li { display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; font-size: .8125rem; line-height: 1.4; color: var(--c-text-2); min-width: 0; }
.trust-strip__list .icon { flex: none; width: 22px; height: 22px; color: var(--c-red-ink); margin-top: 1px; }
.trust-strip__list strong { color: var(--c-text); display: block; }

/* 4. COMPONENTS =========================================================== */
.icon { width: 20px; height: 20px; flex: none; }
.icon--sm { width: 16px; height: 16px; }
.icon--xs { width: 13px; height: 13px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; padding: .55rem 1.1rem; border-radius: 10px; border: 1px solid transparent; font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; text-align: center; }
.btn--sm { min-height: 40px; padding: .45rem .8rem; font-size: .875rem; }
.btn--lg { min-height: 52px; padding: .8rem 1.4rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary, .btn--accent { background: var(--c-red); color: var(--c-on-red); }
.btn--primary:hover, .btn--accent:hover { background: var(--c-red-hover); color: var(--c-on-red); }
.btn--secondary { background: var(--c-surface); color: var(--c-text); border-color: var(--c-border-strong); }
.btn--secondary:hover { border-color: var(--c-text); color: var(--c-text); background: var(--c-bg-soft); }
.btn--ghost { background: transparent; color: var(--c-text-2); border-color: transparent; }
.btn--ghost:hover { background: var(--c-bg-soft); color: var(--c-text); }
.btn--ghost[aria-pressed="true"] { background: var(--c-blue-soft); color: var(--c-blue); }
.btn--on-dark { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--on-dark:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn--danger { background: var(--c-red-soft); color: var(--c-red-ink); border-color: transparent; }
.btn--danger:hover { background: var(--c-red); color: var(--c-on-red); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn .icon { width: 16px; height: 16px; }

/* Forms */
.input, .select { width: 100%; min-height: 44px; padding: .55rem .75rem; border: 1px solid var(--c-border-strong); border-radius: 10px; background: var(--c-surface); color: var(--c-text); }
.select { appearance: none; padding-right: 2.2rem; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.select--sm { min-height: 40px; width: auto; font-size: var(--fs-sm); font-weight: 600; }
.input:focus, .select:focus { border-color: var(--c-focus); }
.field { margin-bottom: 1rem; }
.field__label, .filter-group__title { display: block; font-weight: 700; font-size: var(--fs-sm); margin-bottom: .4rem; color: var(--c-text); }
.field__sublabel { display: block; font-size: var(--fs-xs); color: var(--c-muted); margin-bottom: .2rem; }
.field__hint { font-size: var(--fs-xs); color: var(--c-muted); margin: .35rem 0 0; }
.check { display: flex; align-items: center; gap: .6rem; min-height: 40px; cursor: pointer; font-size: var(--fs-sm); }
.check input { width: 20px; height: 20px; accent-color: var(--c-red); flex: none; }
.check__count { margin-left: auto; color: var(--c-muted); font-size: var(--fs-xs); }
.check--card { align-items: flex-start; border: 1px solid var(--c-border); border-radius: var(--radius); padding: .85rem 1rem; margin-bottom: .6rem; }
.check--card span { display: grid; gap: .15rem; }
.input-money { position: relative; }
.input-money__sym { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--c-muted); font-weight: 700; }
.input-money .input { padding-left: 1.8rem; font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Search */
.search-form { position: relative; }
.search-form__label { display: block; font-weight: 700; color: #fff; margin-bottom: .5rem; font-size: var(--fs-sm); }
.search-form__field { position: relative; display: flex; align-items: center; background: var(--c-surface); border-radius: 12px; border: 1px solid var(--c-border-strong); }
.search-form__icon { position: absolute; left: .85rem; color: var(--c-muted); pointer-events: none; }
.search-form__input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; padding: .55rem .5rem .55rem 2.6rem; color: var(--c-text); border-radius: 12px; }
.search-form__input:focus { outline: none; }
.search-form__field:focus-within { outline: 3px solid var(--c-focus); outline-offset: 1px; }
.search-form__input::-webkit-search-cancel-button { cursor: pointer; }
.search-form__submit { flex: none; display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; margin: 2px; border: 0; border-radius: 10px; background: var(--c-red); color: var(--c-on-red); font-weight: 700; padding: 0 .9rem; }
.search-form__submit:hover { background: var(--c-red-hover); }
.search-form--header .search-form__field { border-color: transparent; }
.search-form--header .search-form__submit { padding: 0; width: 44px; }
.search-form--hero { margin-top: 1.25rem; max-width: 640px; }
.search-form--hero .search-form__field { border: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.search-form--hero .search-form__input { min-height: 56px; font-size: 1.05rem; }
.search-form--hero .search-form__submit { min-height: 48px; padding: 0 1.25rem; margin: 4px; }
.search-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--c-surface); color: var(--c-text); border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 120; max-height: min(70vh, 520px); overflow-y: auto; padding: .4rem; text-align: left; }
.suggest__group { padding: .4rem .5rem .2rem; font-size: var(--fs-xs); font-weight: 750; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); }
.suggest__item { display: flex; align-items: center; gap: .65rem; padding: .45rem .55rem; border-radius: 8px; color: var(--c-text); text-decoration: none; min-height: 44px; cursor: pointer; }
.suggest__item[aria-selected="true"], .suggest__item:hover { background: var(--c-bg-soft); color: var(--c-text); }
.suggest__thumb { width: 40px; height: 40px; border-radius: 8px; background: var(--c-tile); object-fit: contain; flex: none; }
.suggest__text { min-width: 0; flex: 1; }
.suggest__title { display: block; font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest__sub { display: block; font-size: var(--fs-xs); color: var(--c-muted); }
.suggest__price { font-weight: 800; color: var(--c-red-ink); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.suggest__msg { padding: .75rem; color: var(--c-muted); font-size: var(--fs-sm); margin: 0; }
.suggest__all { display: block; padding: .65rem .55rem; font-weight: 700; font-size: var(--fs-sm); border-top: 1px solid var(--c-border); margin-top: .25rem; }

/* Badges & pills */
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .5rem; border-radius: 6px; font-size: .75rem; font-weight: 750; line-height: 1.3; letter-spacing: .01em; white-space: nowrap; max-width: 100%; }
.badge--lg { font-size: .8rem; padding: .3rem .6rem; }
.badge--demo { background: #fff4c2; color: #6b4a00; border: 1px solid #e9cf72; text-transform: uppercase; letter-spacing: .06em; }
.badge--low { background: var(--c-green-soft); color: var(--c-green); }
.badge--drop { background: var(--c-red-soft); color: var(--c-red-ink); }
.badge--oos { background: var(--c-bg-soft); color: var(--c-muted); border: 1px solid var(--c-border); }
.badge--ending { background: var(--c-amber-soft); color: var(--c-amber); margin-top: .25rem; }
.status { display: inline-block; padding: .15rem .5rem; border-radius: 999px; font-size: .75rem; font-weight: 750; background: var(--c-bg-soft); color: var(--c-text-2); border: 1px solid var(--c-border); white-space: nowrap; }
.status--active, .status--confirmed { background: var(--c-green-soft); color: var(--c-green); border-color: transparent; }
.status--upcoming, .status--pending { background: var(--c-blue-soft); color: var(--c-blue); border-color: transparent; }
.status--expired, .status--out_of_stock, .status--paused { background: var(--c-bg-soft); color: var(--c-muted); }
.status--price_changed, .status--unverified { background: var(--c-amber-soft); color: var(--c-amber); border-color: transparent; }
.status--demo { background: #fff4c2; color: #6b4a00; border-color: #e9cf72; }

/* Deal score */
.score-pill { display: inline-flex; align-items: center; gap: .4rem; border-radius: 999px; padding: .15rem .55rem .15rem .2rem; background: var(--c-bg-soft); border: 1px solid var(--c-border); font-size: .75rem; font-weight: 700; color: var(--tier, var(--c-text-2)); white-space: nowrap; }
.score-pill__num { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--tier, var(--c-muted)); color: #fff; font-weight: 800; font-size: .75rem; }
:root[data-theme="dark"] .score-pill__num { color: #0d1117; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .score-pill__num { color: #0d1117; } }
.score-pill--mini { padding: .1rem .45rem; background: var(--tier); color: #fff; border: 0; }
.tier--exceptional { --tier: var(--t-exceptional); }
.tier--great { --tier: var(--t-great); }
.tier--good { --tier: var(--t-good); }
.tier--fair { --tier: var(--t-fair); }
.tier--poor { --tier: var(--t-poor); }
.tier-text--exceptional { color: var(--t-exceptional); }
.tier-text--great { color: var(--t-great); }
.tier-text--good { color: var(--t-good); }
.tier-text--fair { color: var(--t-fair); }
.tier-text--poor { color: var(--t-poor); }
.score-ring { position: relative; width: 64px; height: 64px; flex: none; color: var(--tier); }
.score-ring svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.score-ring__track { fill: none; stroke: var(--c-border); stroke-width: 5; }
.score-ring__bar { fill: none; stroke: var(--tier); stroke-width: 5; stroke-linecap: round; }
.score-ring__num { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 850; font-size: 1.25rem; color: var(--c-text); }

/* Rating */
.rating { display: flex; align-items: center; gap: .3rem; margin: 0 0 .35rem; font-size: var(--fs-sm); color: var(--c-text-2); }
.rating--compact { font-size: var(--fs-xs); }
.rating__stars { --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.8-4.9 4.5 1.3 6.5L12 17l-5.9 3.3 1.3-6.5L2.5 9.3l6.6-.8z'/%3E%3C/svg%3E"); position: relative; width: 80px; height: 16px; background: linear-gradient(90deg, #e8a317 var(--rating), var(--c-border-strong) var(--rating)); -webkit-mask: var(--star) 0 0 / 16px 16px repeat-x; mask: var(--star) 0 0 / 16px 16px repeat-x; }
.rating--compact .rating__stars { width: 70px; height: 14px; -webkit-mask-size: 14px 14px; mask-size: 14px 14px; }
.rating__num { font-weight: 700; color: var(--c-text); }
.rating__count { color: var(--c-muted); }

/* Prices */
.price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .5rem; row-gap: .1rem; }
.price__now { font-weight: 850; color: var(--c-red-ink); letter-spacing: -.02em; line-height: 1.1; }
.price__was { color: var(--c-muted); font-size: max(.75rem, .85em); font-weight: 500; }
.price__off { display: inline-block; background: var(--c-red-soft); color: var(--c-red-ink); font-weight: 800; font-size: .78rem; padding: .12rem .45rem; border-radius: 6px; }
.price__none { color: var(--c-muted); font-weight: 600; }
.price--card .price__now { font-size: 1.4rem; }
.price--card .price__was { font-size: .82rem; }
.price--md .price__now { font-size: 1.35rem; }
.price--lg .price__now { font-size: clamp(2rem, 1.6rem + 1.5vw, 2.6rem); }
.price--lg .price__was { font-size: 1rem; }
.price--lg .price__off { font-size: .9rem; }
.price-signal { display: flex; align-items: center; gap: .3rem; margin: .3rem 0 0; font-size: .8rem; font-weight: 650; }
.price-signal--drop { color: var(--c-green); }
.price-signal--avg { color: var(--c-green); }
.freshness { display: flex; align-items: center; gap: .35rem; font-size: var(--fs-xs); color: var(--c-muted); margin: .5rem 0 0; }
.freshness.is-stale { color: var(--c-amber); font-weight: 650; }
.freshness--sm { margin-top: .2rem; }

/* Retailer logo / initials */
.rlogo { display: inline-grid; place-items: center; flex: none; border-radius: 10px; font-weight: 850; letter-spacing: -.02em; color: #fff; overflow: hidden; background: var(--c-navy-3); }
.rlogo--sm { width: 30px; height: 30px; font-size: .75rem; border-radius: 7px; }
.rlogo--md { width: 44px; height: 44px; font-size: .9rem; }
.rlogo--lg { width: 72px; height: 72px; font-size: 1.4rem; border-radius: 16px; }
.rlogo--img { background: #fff; border: 1px solid var(--c-border); }
.rlogo--img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.tint-0 { background: #1b3660; } .tint-1 { background: #8a1c2c; } .tint-2 { background: #1f6b4a; } .tint-3 { background: #6b3fa0; }
.tint-4 { background: #9a4a10; } .tint-5 { background: #22577a; } .tint-6 { background: #4b5563; } .tint-7 { background: #0f6e78; }

/* Product card */
/* Cards size themselves from their own width (container queries), so the same
   card works in a 2-up phone grid, a swipe row or a 5-up desktop grid. */
.pcard { position: relative; display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 14px; overflow: hidden; transition: box-shadow .2s, border-color .2s; min-width: 0; container-type: inline-size; container-name: pcard; }
.pcard:hover { border-color: var(--c-border-strong); box-shadow: var(--shadow); }
/* Fixed square tile; any image ratio is contained on a neutral background. */
.pcard__media { position: relative; background: var(--c-tile); aspect-ratio: 1 / 1; overflow: hidden; flex: none; }
.pcard__img { position: absolute; inset: 0; display: grid; place-items: center; padding: 10%; }
.pcard__img img, .pcard__img .img-placeholder { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
:root[data-theme="dark"] .pcard__img img { mix-blend-mode: normal; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pcard__img img { mix-blend-mode: normal; } }
.pcard__badges { position: absolute; top: .5rem; left: .5rem; right: 3.25rem; display: flex; flex-wrap: wrap; align-items: flex-start; gap: .25rem; pointer-events: none; }
.pcard__badges .badge { white-space: normal; box-shadow: 0 1px 2px rgba(16, 24, 40, .08); }
.pcard__body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: .8rem .85rem .9rem; }
.pcard__brand { margin: 0 0 .15rem; font-size: .75rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__title { font-size: .95rem; font-weight: 650; line-height: 1.35; margin: 0 0 .4rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.pcard__title a { color: var(--c-text); text-decoration: none; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.pcard__title a:hover { text-decoration: underline; }
.pcard__pricing { margin-top: auto; padding-top: .3rem; min-width: 0; }
.pcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin: .6rem 0 .75rem; min-width: 0; }
.pcard__retailer { margin: 0; font-size: .8rem; color: var(--c-muted); min-width: 0; overflow-wrap: anywhere; }
.pcard__actions { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
.pcard__actions .btn { padding-inline: .4rem; font-size: .84rem; min-width: 0; white-space: nowrap; }
.pcard__actions .btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard .compare-check, .pcard .rating { position: relative; z-index: 1; }
.pcard .fav-btn--icon { z-index: 2; }
.pcard.is-oos .pcard__img img { opacity: .5; }
.pcard.is-demo { border-style: dashed; }
.price--card .price__now { font-size: clamp(1.1rem, 9cqi, 1.4rem); }
/* Narrow cards (2-up phones, swipe rows): stack the buttons, tighten spacing. */
@container pcard (max-width: 259px) {
	.pcard__body { padding: .65rem .65rem .75rem; }
	.pcard__title { font-size: .9rem; -webkit-line-clamp: 3; }
	/* Primary action full width; "Track price" collapses to a 44px bell button. */
	.pcard__actions { grid-template-columns: minmax(0, 1fr) var(--tap); }
	.pcard__actions .btn--primary .icon { display: none; }
	.pcard__actions [data-pdpt-alert] { padding: 0; }
	.pcard__actions [data-pdpt-alert] span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.pcard__actions [data-pdpt-alert] .icon { width: 18px; height: 18px; }
	.pcard__actions > :only-child { grid-column: 1 / -1; }
	.pcard__meta { margin: .45rem 0 .6rem; }
	.pcard__badges { top: .4rem; left: .4rem; right: 3rem; }
	.price--card .price__was { font-size: .8rem; }
}
.compare-check { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .45rem; margin-top: .4rem; font-size: .8125rem; color: var(--c-muted); cursor: pointer; min-height: 40px; align-self: flex-start; }
.compare-check input { width: 18px; height: 18px; accent-color: var(--c-navy-3); }
html:not(.js) .compare-check { display: none; }
.img-placeholder { display: grid; place-items: center; color: var(--c-border-strong); background: var(--c-tile); border-radius: 8px; }
.img-placeholder .icon { width: 40%; height: 40%; max-width: 64px; }

/* Favorite */
.fav-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 1px solid var(--c-border); background: var(--c-surface); color: var(--c-text-2); cursor: pointer; }
.fav-btn--icon { position: absolute; top: .5rem; right: .5rem; width: 44px; height: 44px; border-radius: 50%; box-shadow: var(--shadow-sm); }
.fav-btn--full { min-height: 44px; padding: .55rem 1rem; border-radius: 10px; font-weight: 700; font-size: .95rem; border-color: var(--c-border-strong); }
.fav-btn:hover { color: var(--c-red-ink); border-color: var(--c-red); }
.fav-btn[aria-pressed="true"] { color: var(--c-red); border-color: var(--c-red); }
.fav-btn[aria-pressed="true"] .icon { fill: currentColor; }
.fav-btn.is-bump .icon { animation: pdpt-bump .35s ease; }
@keyframes pdpt-bump { 50% { transform: scale(1.3); } }
html:not(.js) .fav-btn { display: none; }

/* Card containers: 1 col < 360px, 2 on phones, 3 on tablets, 4 on desktop, 5 ≥ 1600px. */
.card-grid { --cols: 2; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: .75rem; }
.card-grid__empty { grid-column: 1 / -1; }
/* Swipe rows (mobile/tablet only): ~2.3 cards visible so the next one peeks in, plus an edge fade. */
.scroller { position: relative; }
.card-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(164px, 44%); gap: .75rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: .75rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--c-border-strong) transparent; }
.card-row > * { scroll-snap-align: start; }
.scroller::after { content: ""; position: absolute; top: 0; bottom: .75rem; right: calc(var(--gutter) * -1); width: 40px; background: linear-gradient(to left, var(--c-bg), transparent); pointer-events: none; transition: opacity .2s; }
.scroller.is-end::after, .scroller.is-static::after { opacity: 0; }

/* Section misc */
.demo-banner { display: flex; align-items: center; gap: .6rem; background: #fff8db; color: #5c4300; border: 1px solid #ecd27a; border-radius: var(--radius); padding: .65rem 1rem; font-size: var(--fs-sm); font-weight: 600; margin: 1.25rem 0 0; }
:root[data-theme="dark"] .demo-banner { background: #2e2608; color: #f3dc8a; border-color: #5a4a12; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .demo-banner { background: #2e2608; color: #f3dc8a; border-color: #5a4a12; } }
.notice-box { display: flex; gap: .85rem; align-items: flex-start; border: 1px solid var(--c-border); background: var(--c-bg-soft); border-radius: var(--radius-lg); padding: 1.25rem; margin: 1.5rem 0; }
.notice-box > .icon { color: var(--c-blue); margin-top: .15rem; }
.notice-box__title { font-weight: 750; margin-bottom: .25rem; }
.notice-box p:last-child { margin-bottom: 0; }
.notice-inline { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .75rem 1rem; border-radius: var(--radius); background: var(--c-blue-soft); color: var(--c-text-2); font-size: var(--fs-sm); margin: 1rem 0; }
.notice-inline .icon { color: var(--c-blue); }
.notice-inline--success { background: var(--c-green-soft); }
.notice-inline--error { background: var(--c-red-soft); color: var(--c-text); }
.empty-state { text-align: center; border: 1px dashed var(--c-border-strong); border-radius: var(--radius-lg); padding: 2.25rem 1.25rem; background: var(--c-bg-soft); }
.empty-state__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-red-ink); margin-bottom: .75rem; }
.empty-state__icon .icon { width: 26px; height: 26px; }
.empty-state__title { font-size: var(--fs-h3); margin-bottom: .35rem; }
.empty-state__text { color: var(--c-muted); max-width: 52ch; margin-inline: auto; }
.empty-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1rem 0 0; }
.disclosure { display: flex; gap: .45rem; align-items: flex-start; font-size: var(--fs-xs); color: var(--c-muted); margin: .75rem 0 0; }
.disclosure .icon { margin-top: 2px; }
.disclosure a { color: inherit; }
.disclosure--home { justify-content: center; margin-top: 2rem; }
.updated { color: var(--c-muted); }
.chip { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: .35rem .85rem; border-radius: 999px; border: 1px solid var(--c-border-strong); background: var(--c-surface); color: var(--c-text); text-decoration: none; font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; max-width: 100%; }
.chip-list .chip { white-space: normal; line-height: 1.25; }
.chip:hover { border-color: var(--c-text); color: var(--c-text); }
.chip.is-on, .chip[aria-current="page"] { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.chip--strong { background: var(--c-red); border-color: var(--c-red); color: var(--c-on-red); }
.chip--strong:hover { color: var(--c-on-red); background: var(--c-red-hover); }
.chip__count { color: var(--c-muted); font-weight: 500; font-size: var(--fs-xs); }
.chip--remove { background: var(--c-blue-soft); border-color: transparent; color: var(--c-blue); min-height: 36px; }
.chip--clear { border-color: transparent; color: var(--c-muted); text-decoration: underline; min-height: 36px; }
.chip-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.chip-nav ul { display: flex; gap: .5rem; overflow-x: auto; margin: .75rem calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) .5rem; scrollbar-width: thin; }
.chip-btn { min-height: 36px; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--c-border-strong); background: var(--c-surface); font-size: var(--fs-xs); font-weight: 650; }
.chip-btn:hover, .chip-btn.is-on { border-color: var(--c-navy); background: var(--c-navy); color: #fff; }

/* Listing / filters */
.listing { display: grid; gap: 1.25rem; margin-top: 1.25rem; align-items: start; }
.results { min-width: 0; }
.results__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.results__title { font-size: var(--fs-h3); margin: 0; }
.results__count { margin: 0; color: var(--c-muted); font-size: var(--fs-sm); }
.results__controls { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.sort-control { display: inline-flex; align-items: center; gap: .4rem; }
.sort-control__label { font-size: var(--fs-sm); color: var(--c-muted); }
.active-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.results__grid-wrap { position: relative; }
[data-pdpt-results][aria-busy="true"] { opacity: .45; pointer-events: none; transition: opacity .15s; }
.results__pagination { margin-top: 1.5rem; }
.filters { background: var(--c-surface); }
.filters__head { display: flex; align-items: center; justify-content: space-between; }
.filters__title { display: flex; align-items: center; gap: .45rem; font-size: var(--fs-lg); margin: 0; }
.filters__close { display: none; }
.filter-group { padding: .9rem 0; border-bottom: 1px solid var(--c-border); margin: 0; }
.filter-group:last-child { border-bottom: 0; }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: .5rem; align-items: end; }
.price-range > span { padding-bottom: .7rem; color: var(--c-muted); }
.quick-prices { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .6rem; }
.check-list { margin: 0; max-height: 280px; overflow-y: auto; }
.filters__foot { display: flex; gap: .5rem; padding-top: 1rem; }
.filters__foot .btn { flex: 1; }
.filter-fab { display: none; }
.filters-toggle { display: none; }
html:not(.js) .filters { border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 1rem; }
.no-js-only { display: none; }
html:not(.js) .no-js-only { display: inline-flex; }

/* Pagination */
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin: 0; }
.pagination__num, .pagination__step { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-width: 44px; min-height: 44px; padding: 0 .75rem; border-radius: 10px; border: 1px solid var(--c-border); color: var(--c-text); text-decoration: none; font-weight: 650; font-variant-numeric: tabular-nums; }
.pagination a:hover { border-color: var(--c-text); color: var(--c-text); }
.pagination .is-current { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
.pagination__gap { display: grid; place-items: center; min-width: 24px; color: var(--c-muted); }

/* FAQ */
.faq__list { border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; background: var(--c-surface); margin-top: 1rem; }
.faq__item + .faq__item { border-top: 1px solid var(--c-border); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; cursor: pointer; font-weight: 700; list-style: none; min-height: 52px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { background: var(--c-bg-soft); }
.faq__chev { transition: transform .2s; color: var(--c-muted); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 1.15rem 1rem; color: var(--c-text-2); }
.faq__a p:last-child { margin-bottom: 0; }

/* Retailer / category tiles */
.retailer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 0; }
.retailer-tile { display: flex; align-items: center; gap: .65rem; min-height: 64px; padding: .6rem .75rem; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface); color: var(--c-text); text-decoration: none; font-weight: 650; font-size: var(--fs-sm); }
.retailer-tile:hover { border-color: var(--c-text); color: var(--c-text); box-shadow: var(--shadow-sm); }
.retailer-tile__name { min-width: 0; line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.cat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 0; }
.cat-tile { display: flex; align-items: center; gap: .75rem; padding: .75rem; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface); color: var(--c-text); text-decoration: none; min-height: 64px; }
.cat-tile:hover { border-color: var(--c-text); color: var(--c-text); }
.cat-tile__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: #fff; font-weight: 850; flex: none; }
.cat-tile__text { display: grid; min-width: 0; }
.cat-tile__name { font-weight: 700; font-size: var(--fs-sm); line-height: 1.25; overflow-wrap: break-word; hyphens: auto; }
.cat-tile__count { font-size: var(--fs-xs); color: var(--c-muted); }
.cat-directory { display: grid; gap: 1rem; margin: 1.25rem 0 0; }
.cat-directory__item { border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 1.1rem; background: var(--c-surface); }
.cat-directory__title { font-size: var(--fs-h3); margin: 0; }
.cat-directory__title a { display: flex; align-items: center; gap: .7rem; color: var(--c-text); text-decoration: none; }
.cat-directory__title a:hover { color: var(--c-red-ink); }
.cat-directory__count { color: var(--c-muted); font-size: var(--fs-sm); margin: .35rem 0 .6rem; }
.cat-directory__children { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .2rem .75rem; margin: 0; font-size: var(--fs-sm); }
.cat-directory__children a { display: inline-flex; align-items: center; min-height: 32px; padding: .25rem 0; line-height: 1.25; }
.cat-directory__title a { min-height: 44px; }

/* Link lists */
.link-list { margin: 0; }
.link-list li { border-bottom: 1px solid var(--c-border); }
.link-list li:last-child { border-bottom: 0; }
.link-list a { display: flex; align-items: center; min-height: 44px; padding: .5rem 0; font-weight: 600; font-size: var(--fs-sm); line-height: 1.3; text-decoration: none; }
.link-list a:hover { text-decoration: underline; }
.link-columns { display: grid; gap: 1.25rem; margin-top: 1rem; }
.link-columns__title { font-size: var(--fs-base); }
.side-box { border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 1.1rem; background: var(--c-surface); margin-bottom: 1rem; }
.side-box__title { font-size: var(--fs-base); margin-bottom: .5rem; }
.side-box__link { display: inline-flex; align-items: center; min-height: 44px; margin-top: .25rem; font-weight: 700; font-size: var(--fs-sm); }
.side-box--navy { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-navy-ink); }
.side-box--navy .side-box__title { color: #fff; }
.side-box--navy .side-box__link { color: #fff; }
.check-points { margin: 0; display: grid; gap: .6rem; font-size: var(--fs-sm); }
.check-points li { display: flex; gap: .5rem; }
.check-points .icon { color: #5fe39a; margin-top: 3px; }

/* A–Z */
.az-nav ul { display: flex; flex-wrap: wrap; gap: .3rem; margin: 1rem 0; }
.az-nav a { display: grid; place-items: center; min-width: 40px; min-height: 40px; border-radius: 8px; border: 1px solid var(--c-border); text-decoration: none; font-weight: 750; color: var(--c-text); }
.az-nav a:hover, .az-nav a.is-on { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
.az-group { margin-bottom: 1.5rem; }
.az-group__letter { font-size: 1.4rem; border-bottom: 2px solid var(--c-text); padding-bottom: .25rem; }
.az-list { columns: 2 160px; column-gap: 1.5rem; margin: 0; }
.az-list li { break-inside: avoid; padding: .2rem 0; font-size: var(--fs-sm); }
.brand-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 1rem 0 0; }
.brand-tile { display: grid; padding: .85rem 1rem; border: 1px solid var(--c-border); border-radius: var(--radius); text-decoration: none; color: var(--c-text); }
.brand-tile:hover { border-color: var(--c-text); color: var(--c-text); }
.brand-tile__name { font-weight: 750; }
.brand-tile__count { color: var(--c-muted); font-size: var(--fs-xs); }

/* Stores */
.store-tools { position: sticky; top: 0; z-index: 20; background: var(--c-bg); padding: .75rem 0 .25rem; border-bottom: 1px solid var(--c-border); margin-bottom: 1rem; }
.store-filter { max-width: 480px; margin-bottom: .25rem; }
.store-tools .az-nav ul { flex-wrap: nowrap; overflow-x: auto; margin: .5rem 0; padding-bottom: .25rem; }
.store-group { margin-bottom: 2rem; }
.store-group__title { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-h3); border-bottom: 1px solid var(--c-border); padding-bottom: .5rem; }
.store-group__count { font-size: var(--fs-xs); font-weight: 700; color: var(--c-muted); background: var(--c-bg-soft); border: 1px solid var(--c-border); border-radius: 999px; padding: .1rem .5rem; }
.store-list { columns: 4 170px; column-gap: 1.5rem; margin: 0; }
.store-list li { break-inside: avoid; }
.store-list a { display: flex; align-items: center; gap: .55rem; min-height: 36px; padding: .25rem 0; font-size: var(--fs-sm); line-height: 1.3; text-decoration: none; color: var(--c-text-2); overflow-wrap: anywhere; }
.store-list a:hover { color: var(--c-red-ink); text-decoration: underline; }
.store-head { display: grid; gap: 1rem; padding: 1rem 0 .5rem; }
.store-head__id { display: flex; align-items: center; gap: 1rem; }
.store-head .page-title { margin: 0; }
.store-head__domain { margin: .2rem 0 0; color: var(--c-muted); font-size: var(--fs-sm); }
.store-stats { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.store-stats__item { border: 1px solid var(--c-border); border-radius: var(--radius); padding: .5rem .85rem; background: var(--c-bg-soft); }
.store-stats dd { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }
.store-stats strong { color: var(--c-text); font-size: 1.1rem; }
.store-intro { max-width: 75ch; }
.coupon-grid { display: grid; gap: .75rem; margin: 0; }
.coupon { display: grid; gap: .75rem; border: 1px dashed var(--c-border-strong); border-radius: var(--radius); padding: 1rem; background: var(--c-surface); }
.coupon__title { font-weight: 750; margin: 0 0 .25rem; }
.coupon__desc { font-size: var(--fs-sm); color: var(--c-text-2); margin: 0 0 .35rem; }
.coupon__meta { display: flex; flex-wrap: wrap; gap: .25rem .75rem; font-size: var(--fs-xs); color: var(--c-muted); margin: 0; }
.coupon__actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.coupon-code { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; max-width: 100%; text-align: left; padding: .25rem .6rem; border: 1px dashed var(--c-red); border-radius: 8px; background: var(--c-red-soft); color: var(--c-red-ink); font-weight: 750; }
.coupon-code code { font-family: var(--font-mono); font-size: .85rem; letter-spacing: .04em; overflow-wrap: anywhere; word-break: break-all; min-width: 0; }
.coupon-code--lg { min-height: 40px; }
.coupon-code.is-copied { border-style: solid; background: var(--c-green-soft); color: var(--c-green); border-color: var(--c-green); }
.coupon-text { display: block; font-size: var(--fs-xs); color: var(--c-muted); margin-top: .2rem; }
.tips__list { counter-reset: tip; margin: 1rem 0 0; display: grid; gap: .75rem; }
.tips__list li { counter-increment: tip; position: relative; padding: .85rem 1rem .85rem 3.2rem; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface); }
.tips__list li::before { content: counter(tip); position: absolute; left: 1rem; top: .8rem; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-navy); color: #fff; font-weight: 800; font-size: var(--fs-sm); }

/* Events */
.event-grid { display: grid; gap: 1rem; margin: 1.25rem 0 0; }
.event-card { border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 1.25rem; background: var(--c-surface); }
.event-card__title { font-size: var(--fs-h3); margin: .75rem 0 .35rem; }
.event-card__title a { color: var(--c-text); text-decoration: none; }
.event-card__title a:hover { color: var(--c-red-ink); text-decoration: underline; }
.event-card__dates { display: flex; align-items: center; gap: .4rem; color: var(--c-muted); font-size: var(--fs-sm); }
.event-card__desc { color: var(--c-text-2); font-size: var(--fs-sm); }
.event-card__editions { font-size: var(--fs-sm); display: flex; gap: .5rem; flex-wrap: wrap; margin: 0; }
.chip-nav--landings ul { margin-top: 1.25rem; }
.event-columns { display: grid; gap: 1.5rem; margin-top: 2rem; align-items: start; }
.event-content h2 { font-size: var(--fs-h2); margin-top: 1.5rem; }
.event-content h2:first-child { margin-top: 0; }
.edition-list { display: grid; gap: .6rem; margin: 1rem 0 0; }
.edition { display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; align-items: center; padding: .8rem 1rem; border: 1px solid var(--c-border); border-radius: var(--radius); text-decoration: none; color: var(--c-text); }
.edition:hover { border-color: var(--c-text); color: var(--c-text); }
.edition__year { grid-row: span 2; font-size: 1.5rem; font-weight: 850; color: var(--c-red-ink); font-variant-numeric: tabular-nums; }
.edition__name { font-weight: 700; }
.edition__dates { color: var(--c-muted); font-size: var(--fs-sm); }

/* Historical low table */
.lows-table-wrap { border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; }
.lows-table th, .lows-table td { padding: .75rem .85rem; border-bottom: 1px solid var(--c-border); vertical-align: middle; font-size: var(--fs-sm); }
.lows-table thead th { background: var(--c-bg-soft); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); }
.lows-table tbody tr:last-child > * { border-bottom: 0; }
.lows-table__link { display: flex; gap: .75rem; align-items: center; color: var(--c-text); text-decoration: none; }
.lows-table__link:hover .lows-table__title { text-decoration: underline; }
.lows-table__img { width: 56px; height: 56px; border-radius: 10px; background: var(--c-tile); padding: 4px; flex: none; }
.lows-table__img img, .lows-table__img .img-placeholder { width: 100%; height: 100%; object-fit: contain; }
.lows-table__brand { display: block; font-size: var(--fs-xs); color: var(--c-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.lows-table__title { display: block; font-weight: 650; }
.price-strong { color: var(--c-red-ink); font-size: 1.05rem; }

/* Modal / dialog */
.modal { border: 0; padding: 1.25rem; border-radius: var(--radius-lg); width: min(440px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); background: var(--c-surface); color: var(--c-text); box-shadow: var(--shadow-lg); }
.modal::backdrop { background: rgba(5, 12, 24, .6); }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.modal__title { display: flex; align-items: center; gap: .5rem; font-size: 1.2rem; margin: 0; }
.modal__title .icon { color: var(--c-red-ink); }
.modal__actions { display: grid; gap: .5rem; margin-top: 1rem; }
.modal__fine { text-align: center; font-size: var(--fs-xs); margin: .75rem 0 0; }
.alert-form__product { font-weight: 650; margin-bottom: .25rem; color: var(--c-text-2); }
.alert-form__current { font-size: 1.05rem; font-weight: 750; margin-bottom: 1rem; }
.alert-form__msg { font-size: var(--fs-sm); font-weight: 600; min-height: 1.2em; }
.alert-form__msg.is-error { color: var(--c-red-ink); }
.alert-form__msg.is-ok { color: var(--c-green); background: var(--c-green-soft); padding: .75rem; border-radius: 10px; }
.saved-list { margin: .75rem 0 0; display: grid; gap: .5rem; }
.saved-item { display: flex; align-items: center; gap: .75rem; padding: .5rem; border: 1px solid var(--c-border); border-radius: var(--radius); }
.saved-item img { width: 48px; height: 48px; object-fit: contain; background: var(--c-tile); border-radius: 8px; }
.saved-item a { flex: 1; min-width: 0; font-weight: 650; font-size: var(--fs-sm); color: var(--c-text); text-decoration: none; }
.saved-item a:hover { text-decoration: underline; }
.saved-item__price { display: block; color: var(--c-red-ink); font-weight: 800; }

/* Compare tray & toast */
.compare-tray { position: fixed; left: 0; right: 0; bottom: var(--fixed-bottom); z-index: 95; background: var(--c-navy); color: #fff; box-shadow: 0 -8px 24px rgba(0, 0, 0, .2); padding-bottom: env(safe-area-inset-bottom, 0); }
.compare-tray__inner { display: flex; align-items: center; gap: .75rem; padding-block: .6rem; }
.compare-tray__title { display: flex; align-items: center; gap: .4rem; margin: 0; font-weight: 750; font-size: var(--fs-sm); white-space: nowrap; }
.compare-tray__items { display: flex; gap: .4rem; margin: 0; flex: 1; min-width: 0; overflow-x: auto; }
.compare-tray__item { position: relative; flex: none; }
.compare-tray__item img, .compare-tray__item .ph { width: 44px; height: 44px; border-radius: 8px; background: #fff; object-fit: contain; padding: 3px; }
.compare-tray__item button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--c-red); color: #fff; display: grid; place-items: center; padding: 0; }
.compare-tray__item button .icon { width: 12px; height: 12px; }
.compare-tray__actions { display: flex; gap: .4rem; }
.compare-tray .btn--ghost { color: #fff; }
.compare-tray .btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.toast { position: fixed; left: 50%; bottom: calc(var(--fixed-bottom) + 1rem); transform: translateX(-50%); z-index: 300; background: #111827; color: #fff; padding: .7rem 1rem; border-radius: 10px; font-size: var(--fs-sm); font-weight: 600; box-shadow: var(--shadow-lg); max-width: calc(100vw - 2rem); }
body.has-compare .toast { bottom: calc(var(--fixed-bottom) + 5rem); }

/* Account */
.account-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-top: 1rem; }
.account-layout > * { min-width: 0; }
/* Show only the requested panel before main.js initialises the tabs (no layout shift). */
.js [data-pdpt-tabs]:not(.is-ready) .account-panels:not(:has(.account-panel:target)) .account-panel:not(:first-child),
.js [data-pdpt-tabs]:not(.is-ready) .account-panels:has(.account-panel:target) .account-panel:not(:target) { display: none; }
.account-nav ul { display: flex; gap: .4rem; overflow-x: auto; margin: 0; padding-bottom: .25rem; }
.account-nav a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .4rem .9rem; border-radius: 10px; border: 1px solid var(--c-border); text-decoration: none; color: var(--c-text); font-weight: 650; font-size: var(--fs-sm); white-space: nowrap; }
.account-nav a[aria-current="true"] { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
.account-panel { margin-bottom: 2.5rem; }
.account-panel .section-title { margin-bottom: 1rem; }
.alert-list { display: grid; gap: .6rem; margin: 0; }
.alert-item { display: grid; gap: .6rem; align-items: center; border: 1px solid var(--c-border); border-radius: var(--radius); padding: .85rem; }
.alert-item.is-paused { opacity: .7; }
.alert-item__product { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.alert-item__img { width: 52px; height: 52px; background: var(--c-tile); border-radius: 8px; padding: 3px; flex: none; }
.alert-item__img img { width: 100%; height: 100%; object-fit: contain; }
.alert-item__title { font-weight: 700; display: block; }
.alert-item__meta { display: block; font-size: var(--fs-sm); color: var(--c-muted); font-variant-numeric: tabular-nums; }
.alert-item__actions { display: flex; gap: .25rem; }
.alert-item__actions form { margin: 0; }
.privacy-grid { display: grid; gap: 1rem; }
.privacy-card { border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 1.1rem; }
.privacy-card h3 { display: flex; gap: .5rem; align-items: center; font-size: var(--fs-base); }
.privacy-card--danger { border-color: var(--c-red-soft); }
.result-card { text-align: center; margin: 3rem auto; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 2rem 1.5rem; }
.result-card__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 1rem; }
.result-card__icon .icon { width: 30px; height: 30px; }
.result-card.is-ok .result-card__icon { background: var(--c-green-soft); color: var(--c-green); }
.result-card.is-error .result-card__icon { background: var(--c-red-soft); color: var(--c-red-ink); }
.result-card__title { font-size: var(--fs-h2); }
.result-card__product { display: flex; align-items: center; gap: 1rem; text-align: left; border: 1px solid var(--c-border); border-radius: var(--radius); padding: .75rem; margin: 1rem 0; }
.result-card__product img { width: 72px; height: 72px; object-fit: contain; background: var(--c-tile); border-radius: 8px; }
.result-card__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }

/* Tables (generic) */
.table-scroll { overflow-x: auto; }
.data-table th, .data-table td { padding: .55rem .75rem; border-bottom: 1px solid var(--c-border); font-size: var(--fs-sm); }
.data-table thead th { color: var(--c-muted); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .05em; }

/* Editorial cards */
.post-grid { display: grid; gap: 1rem; margin-top: 1rem; }
.post-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; background: var(--c-surface); transition: box-shadow .2s, border-color .2s; min-width: 0; }
.post-card:hover { border-color: var(--c-border-strong); box-shadow: var(--shadow); }
.post-card:focus-within { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.post-card__title a:focus-visible { outline: none; }
.post-card__media { display: block; aspect-ratio: 16 / 9; background: var(--c-tile); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__ph { display: grid; place-items: center; height: 100%; color: var(--c-border-strong); }
.post-card__ph .icon { width: 48px; height: 48px; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.1rem 1.15rem; }
.post-card__title { font-size: var(--fs-h3); line-height: 1.3; margin: 0 0 .4rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.post-card__title a { color: var(--c-text); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__title a:hover { color: var(--c-red-ink); text-decoration: underline; }
.post-card__excerpt { color: var(--c-text-2); font-size: var(--fs-sm); }
.post-card__meta { font-size: var(--fs-xs); margin: auto 0 0; color: var(--c-muted); }

/* 404 */
.not-found { text-align: center; padding: 2.5rem 0 1rem; max-width: 640px; margin: 0 auto; }
.not-found__code { font-size: clamp(4rem, 3rem + 6vw, 7rem); font-weight: 900; line-height: 1; color: var(--c-red); letter-spacing: -.05em; margin: 0 0 .5rem; }
.not-found__search { max-width: 520px; margin: 1.25rem auto; }
.not-found__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.page-search { max-width: 560px; margin-top: 1rem; }

/* Pros / cons (shared with guides) */
.pros-cons__grid { display: grid; gap: 1rem; margin-top: 1rem; }
.pros-cons__col { border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 1rem 1.1rem; }
.pros-cons__col--pros { border-top: 4px solid var(--c-green); }
.pros-cons__col--cons { border-top: 4px solid var(--c-red); }
.pros-cons__title { font-size: var(--fs-base); }
.pros-cons__col ul { margin: 0; display: grid; gap: .5rem; }
.pros-cons__col li { display: flex; gap: .5rem; font-size: var(--fs-sm); }
.pros-cons__col--pros .icon { color: var(--c-green); margin-top: 3px; }
.pros-cons__col--cons .icon { color: var(--c-red); margin-top: 3px; }

/* 5. UTILITIES ============================================================ */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.muted { color: var(--c-muted); }
.ok { color: var(--c-green); font-weight: 650; }
.prose { max-width: 75ch; overflow-wrap: break-word; }
.prose a, .comment-content a, .faq__a a, .specs-table td { overflow-wrap: anywhere; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: var(--fs-h2); margin-top: 1.75rem; }
.prose h3 { font-size: var(--fs-h3); margin-top: 1.4rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .35rem; }
.prose img { border-radius: var(--radius); }
.prose blockquote { margin: 1.25rem 0; padding: .25rem 0 .25rem 1rem; border-left: 4px solid var(--c-red); color: var(--c-text-2); }
.alignwide, .alignfull { max-width: none; }
.wp-caption-text, figcaption { font-size: var(--fs-xs); color: var(--c-muted); margin-top: .4rem; }

/* 6. RESPONSIVE ===========================================================
   Breakpoints: 360 (2-up cards) · 640 (tablet) · 960 (desktop header, sidebars)
   · 1200 (4-up listings) · 1600 (5-up grids). Header nav additionally
   collapses into the drawer whenever it does not fit (html.nav-collapsed). */

@media (max-width: 759px) {
	.lows-table-wrap { border: 0; border-radius: 0; overflow: visible; }
	.lows-table, .lows-table tbody, .lows-table tr, .lows-table th, .lows-table td { display: block; }
	.lows-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.lows-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem .75rem; border: 1px solid var(--c-border); border-radius: var(--radius); padding: .8rem; margin-bottom: .6rem; background: var(--c-surface); }
	.lows-table th, .lows-table td { border: 0; padding: .25rem 0; }
	.lows-table td[data-label]::before { content: attr(data-label); display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); font-weight: 700; }
	.lows-table__product, .lows-table__action { grid-column: 1 / -1; }
	.lows-table__action .btn { width: 100%; margin-top: .35rem; }
}

/* Touch-sized targets on phones/tablets and any coarse pointer. */
@media (max-width: 1024px), (pointer: coarse) {
	.btn--sm, .select--sm, .chip, .chip-btn, .chip--remove, .chip--clear, .compare-check, .az-nav a { min-height: var(--tap); }
	.az-nav a { min-width: var(--tap); }
	.breadcrumbs a, .footer-col__list a, .legal-links a, .store-list a, .cat-directory__children a, .mobile-menu__group ul a, .compare-table__remove { min-height: var(--tap); }
	.breadcrumbs li:not(:last-child) { min-height: var(--tap); }
	.breadcrumbs a, .footer-col__list a, .legal-links a, .comment-reply-link, .comment-metadata a, .side-box__link, .store-list a { min-width: var(--tap); }
	.breadcrumbs a { justify-content: center; }
	.mega-toggle { width: var(--tap); height: var(--tap); margin-left: -.7rem; }
	.comment-reply-link, .comment-metadata a, .comment-edit-link { display: inline-flex; align-items: center; min-height: var(--tap); }
	.buybox__brand a { display: inline-flex; align-items: center; min-height: var(--tap); }
	.compare-table__title { display: flex; align-items: center; min-height: var(--tap); }
	.notice-inline a, .page-meta a { display: inline-flex; align-items: center; min-height: var(--tap); }
	.az-list a, .cat-directory__children a { display: inline-flex; align-items: center; min-height: var(--tap); min-width: var(--tap); }
	.lows-table a:not(.btn), .compare-table td a:not(.btn) { display: inline-flex; align-items: center; min-height: var(--tap); }
}

@media (max-width: 359px) {
	.card-grid { --cols: 1; }
	.card-grid .pcard__media { aspect-ratio: 4 / 3; }
	.trust-strip__list { grid-template-columns: minmax(0, 1fr); }
	.trust-strip__list li { flex-direction: row; gap: .65rem; }
	.site-footer__cols { grid-template-columns: minmax(0, 1fr); }
}
/* Home sections: one tidy block per section (phones 2×2), no endless rows. */
@media (max-width: 639px) {
	.card-grid--home > :nth-child(n+5), .card-grid--home-2 > :nth-child(n+5) { display: none; }
	.card-grid { gap: .6rem; }
}
@media (max-width: 359px) {
	.card-grid--home > :nth-child(n+4), .card-grid--home-2 > :nth-child(n+4) { display: none; }
}
@media (min-width: 600px) {
	.retailer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.brand-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.trust-strip__list li { flex-direction: row; gap: .65rem; font-size: var(--fs-sm); }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.coupon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pros-cons__grid { grid-template-columns: 1fr 1fr; }
	.privacy-grid { grid-template-columns: 1fr 1fr; }
	.alert-item { grid-template-columns: minmax(0, 1fr) auto auto; }
	.link-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cat-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 640px) {
	.card-grid { --cols: 3; gap: 1rem; }
	.card-row { grid-auto-columns: minmax(180px, 30%); gap: 1rem; }
	.card-grid--home > :nth-child(n+4) { display: none; }
	.card-grid--home-2 > :nth-child(n+7) { display: none; }
}
@media (max-width: 959px) {
	.hero__panel { display: none; }
	.home .site-header__search { display: none; }
	.home .site-header__bar { grid-template-areas: "menu brand actions"; padding-bottom: .5rem; }
	/* Mobile filter drawer (JS only). */
	.js .filters { position: fixed; inset: 0 0 0 auto; width: min(92vw, 400px); z-index: 210; transform: translateX(100%); transition: transform .25s ease; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; visibility: hidden; }
	.js .filters.is-open { transform: none; visibility: visible; }
	.js .filters__form { display: flex; flex-direction: column; height: 100%; }
	.js .filters__head { padding: .75rem 1rem; border-bottom: 1px solid var(--c-border); }
	.js .filters__close { display: inline-grid; }
	.js .filters__body { flex: 1; overflow-y: auto; padding: 0 1rem; }
	.js .filters__foot { padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom, 0)); border-top: 1px solid var(--c-border); }
	.js .filters-backdrop { position: fixed; inset: 0; background: rgba(5, 12, 24, .55); z-index: 205; }
	.js .filter-fab { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--fixed-bottom) + .9rem); z-index: 80; display: inline-flex; align-items: center; gap: .45rem; min-height: 48px; padding: .6rem 1.3rem; border: 0; border-radius: 999px; background: var(--c-navy); color: #fff; font-weight: 750; box-shadow: var(--shadow-lg); transition: opacity .2s, transform .2s; }
	/* Only while the results are on screen (filters.js), so it never covers the footer. */
	.js .filter-fab.is-away { opacity: 0; transform: translate(-50%, 150%); pointer-events: none; visibility: hidden; }
	:root[data-theme="dark"] .js .filter-fab, :root[data-theme="dark"].js .filter-fab { background: #2a4a7c; }
	body.has-compare .filter-fab { bottom: calc(var(--fixed-bottom) + 5rem); }
	.js .filters-toggle { display: inline-flex; }
	.sort-control__label { display: none; }
	.results__controls { flex: 1 1 auto; justify-content: flex-end; }
	.results__controls .select--sm { max-width: 52vw; }
}
@media (min-width: 960px) {
	:root { --gutter: 24px; }
	.has-bottom-nav { --bottom-nav-h: 0px; }
	.bottom-nav { display: none; }
	html:not(.nav-collapsed) .menu-toggle { display: none; }
	.site-header__bar { grid-template-columns: minmax(0, max-content) minmax(220px, 1fr) auto; grid-template-areas: "brand search actions"; gap: 1.25rem; padding-block: .75rem; }
	.nav-collapsed .site-header__bar { grid-template-columns: auto minmax(0, max-content) minmax(220px, 1fr) auto; grid-template-areas: "menu brand search actions"; gap: 1rem; }
	.brand { max-width: 300px; }
	.site-header__search { max-width: 640px; width: 100%; justify-self: center; }
	.header-action__label { display: inline; }
	.header-action--saved { display: inline-flex; }
	.header-action .count-badge { position: static; }
	.nav-strip { display: block; }
	.nav-collapsed .nav-strip { display: none; }
	html:not(.nav-collapsed) .mobile-menu { display: none !important; }
	.listing { grid-template-columns: 250px minmax(0, 1fr); gap: 1.75rem; }
	.filters { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow-y: auto; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 1rem 1.1rem; scrollbar-width: thin; }
	.filters-backdrop { display: none !important; }
	.card-grid { --cols: 4; }
	.listing .card-grid { --cols: 3; }
	.card-grid--home > :nth-child(-n+4) { display: flex; }
	.card-grid--home > :nth-child(n+5) { display: none; }
	.card-grid--home-2 > :nth-child(-n+8) { display: flex; }
	.card-grid--home-2 > :nth-child(n+9) { display: none; }
	.card-row { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; padding-bottom: 0; }
	.scroller::after { display: none; }
	.hero__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; }
	.hero--home { padding: 3rem 0 3.25rem; }
	.hero--event .hero__grid { grid-template-columns: minmax(0, 1fr) 360px; }
	.retailer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.retailer-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.cat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.brand-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.trust-strip__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
	.post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
	.event-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.event-columns { grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; }
	.coupon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cat-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.site-footer__top { grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 3rem; }
	.site-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.account-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 2rem; }
	.account-nav ul { flex-direction: column; position: sticky; top: 1rem; }
	.account-nav a { width: 100%; justify-content: space-between; }
	.compare-tray__inner { padding-block: .75rem; }
}
@media (min-width: 1200px) {
	.listing .card-grid { --cols: 4; }
	.listing { grid-template-columns: 260px minmax(0, 1fr); gap: 2rem; }
	.retailer-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.site-footer__cols { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.brand { max-width: 360px; }
}
@media (min-width: 1600px) {
	.card-grid { --cols: 5; }
	.card-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.card-grid--home > :nth-child(-n+5) { display: flex; }
	.card-grid--home-2 > :nth-child(-n+10) { display: flex; }
}

@media print {
	.site-header, .site-footer, .bottom-nav, .filters, .filter-fab, .compare-tray, .pcard__actions, .fav-btn, .mobile-buybar { display: none !important; }
	body { color: #000; background: #fff; padding: 0; }
}

/* Mobile form controls: 16px prevents iOS auto-zoom on focus. */
@media (max-width: 768px) {
	body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea) { font-size: 16px !important; }
	.compare-scroll { max-width: 100%; }
	.listing, .tracker, .container > * { min-width: 0; }
}

/* Absolutely positioned descendants (visually-hidden labels) must stay inside
   their scroll container, or they widen the page. */
.card-row, .chip-nav ul, .gallery__thumbs, .account-nav ul, .store-tools .az-nav ul, .page-tabs ul, .compare-tray__items, .check-list, .chart__ranges { position: relative; }

/* Horizontal scroll containers get edge shadows that show there is more to see. */
.scroll-shadow, .table-scroll, .compare-scroll, .wp-block-table {
	position: relative;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	background:
		linear-gradient(to right, var(--c-surface) 30%, transparent) left center / 40px 100% no-repeat local,
		linear-gradient(to left, var(--c-surface) 30%, transparent) right center / 40px 100% no-repeat local,
		radial-gradient(farthest-side at 0 50%, rgba(16, 24, 40, .22), transparent) left center / 14px 100% no-repeat scroll,
		radial-gradient(farthest-side at 100% 50%, rgba(16, 24, 40, .22), transparent) right center / 14px 100% no-repeat scroll;
	background-color: var(--c-surface);
}

/* Deal score: new listing (not enough price history yet) */
.tier--new { --tier: var(--c-text-2); }
.score-pill.tier--new { background: var(--c-bg-soft); color: var(--c-text-2); border: 1px solid var(--c-border); }
.score-ring.tier--new .score-ring__track { stroke: var(--c-border); }
.score-ring__num--text { font-size: .72rem; letter-spacing: .04em; color: var(--c-text-2); }
.tier-text--new { color: var(--c-text-2); }

/* Bundled brand logo (SVG, 302×64) */
.brand__link--logo { display: inline-flex; align-items: center; }
.brand__logo { display: block; height: 44px; width: auto; max-width: 100%; }
.brand__link--footer .brand__logo { height: 44px; }
@media (max-width: 600px) { .brand__logo { height: 34px; } }
@media (max-width: 359px) { .brand__logo { height: 30px; } }

/* Store logos: extra-small size for the A–Z directory; logos always sit on white so dark marks stay visible in dark mode */
.rlogo--xs { width: 22px; height: 22px; font-size: .75rem; letter-spacing: -.06em; border-radius: 6px; flex: none; }
.rlogo--img { background: #fff; }
.rlogo--img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rlogo--xs.rlogo--img img { padding: 2px; }
.cat-tile__icon .icon { width: 22px; height: 22px; stroke-width: 1.9; }
