/* ============================================
   Everyone's Broke — affiliate shopping theme
   ============================================ */

:root {
	--c-bg: #ececec;
	--c-surface: #ffffff;
	--c-surface-2: #f5f5f5;
	--c-text: #111827;
	--c-text-muted: #5b6472;
	--c-accent: #2563eb;
	--c-accent-dark: #1d4ed8;
	--c-accent-soft: #dbeafe;
	--c-deal: #c45500;
	--c-deal-hover: #9f4600;
	--c-tab-bar: #2b2b2b;
	--c-bar: #0f172a;
	--c-nav-accent: #bf0000;
	--c-border: #d4d4d4;
	--radius: 3px;
	--container: 1180px;
	--container-narrow: 720px;
	--font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--font-display: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; }
h1, h2, .hero-title, .section-title, .entry-title, .page-title {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: -0.02em;
}

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
}

.container-narrow { max-width: var(--container-narrow); }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--c-accent);
	color: #fff;
	padding: 8px 16px;
	z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Affiliate bar ---------- */

.affiliate-bar {
	background: var(--c-bar);
	color: #cbd5e1;
	font-size: 0.82rem;
}

.affiliate-bar-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
}

.affiliate-bar-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}

.affiliate-bar-note { opacity: 0.85; }

.btn-header-amazon {
	width: auto;
	min-width: 0;
	padding: 8px 14px;
	font-size: 0.78rem;
	white-space: nowrap;
}

.affiliate-bar-statement {
	margin: 0;
}

.affiliate-bar-statement a {
	color: #fde68a;
	margin-left: 8px;
	text-decoration: underline;
}

.paid-link-label {
	font-size: 0.78em;
	font-weight: 500;
	opacity: 0.9;
}

/* ---------- Compare results ---------- */

.compare-results {
	display: grid;
	gap: 20px;
}

.results-notice {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	color: #9a3412;
	border-radius: var(--radius);
	padding: 16px 18px;
	font-size: 0.92rem;
	line-height: 1.5;
}

.results-notice code {
	background: rgba(255, 255, 255, 0.7);
	padding: 2px 6px;
	border-radius: 6px;
}

.results-notice--demo {
	background: #eff6ff;
	border-color: #bfdbfe;
	color: #1e40af;
}

.compare-card {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: calc(var(--radius) + 2px);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.compare-card-main {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 24px;
	padding: 24px;
	border-bottom: 1px solid var(--c-border);
}

.compare-card-image {
	aspect-ratio: 1;
	border: 1px solid var(--c-border);
	border-radius: 12px;
	background: #fff;
	display: grid;
	place-items: center;
	overflow: hidden;
}

.compare-card-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 12px;
}

.compare-card-placeholder {
	color: var(--c-text-muted);
	font-size: 0.9rem;
}

.compare-card-title {
	font-family: var(--font-body);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 10px;
}

.compare-card-reviews {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	align-items: center;
	margin-bottom: 12px;
	font-size: 0.88rem;
}

.rating-stars {
	color: #d97706;
	font-weight: 700;
}

.review-count,
.review-source {
	color: var(--c-text-muted);
}

.compare-card-desc {
	color: var(--c-text-muted);
	margin: 0 0 12px;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.review-snippets {
	margin: 0;
	padding-left: 18px;
	color: var(--c-text-muted);
	font-size: 0.9rem;
}
.review-snippets li { margin-bottom: 8px; }

.compare-card-offers {
	padding: 18px 24px 24px;
	background: var(--c-surface-2);
}

/* ---------- Amazon product cards ---------- */

.amazon-card {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: calc(var(--radius) + 2px);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.amazon-card-main {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 24px;
	padding: 24px;
}

.amazon-card-image {
	aspect-ratio: 1;
	border: 1px solid var(--c-border);
	border-radius: 12px;
	background: #fff;
	display: grid;
	place-items: center;
	overflow: hidden;
}

.amazon-card-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 12px;
}

.amazon-card-title {
	font-family: var(--font-body);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 10px;
}

.amazon-card-reviews {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	align-items: center;
	margin-bottom: 12px;
	font-size: 0.88rem;
}

.amazon-card-desc {
	color: var(--c-text-muted);
	margin: 0 0 12px;
	line-height: 1.55;
}

.amazon-card-note {
	color: var(--c-text-muted);
	font-size: 0.84rem;
	margin: 0;
}

.amazon-card-buy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 24px;
	background: #fffaf0;
	border-top: 1px solid var(--c-border);
}

.amazon-card-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px;
}

.price-current {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--c-text);
}

.price-was {
	font-size: 0.88rem;
	color: var(--c-text-muted);
	text-decoration: line-through;
}

.price-deal {
	font-size: 0.78rem;
	font-weight: 700;
	color: #b45309;
	background: #fef3c7;
	padding: 4px 8px;
	border-radius: 999px;
}

.btn-amazon {
	background: var(--c-deal);
	color: #fff;
}
.btn-amazon:hover {
	background: var(--c-deal-hover);
	color: #fff;
	text-decoration: none;
}

.btn-deal {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	border: 0;
	border-radius: var(--radius);
	padding: 12px 16px;
	font-size: 0.95rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	cursor: pointer;
	text-decoration: none;
}

.btn-deal-lg {
	width: auto;
	min-width: 220px;
	padding: 14px 28px;
	font-size: 1rem;
}

.offers-title {
	margin: 0 0 12px;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--c-text-muted);
}

.offer-row {
	display: grid;
	grid-template-columns: 120px 1fr auto auto;
	gap: 12px;
	align-items: center;
	padding: 12px 14px;
	border: 1px solid var(--c-border);
	border-radius: 12px;
	background: #fff;
	color: inherit;
	margin-bottom: 10px;
}
.offer-row:last-child { margin-bottom: 0; }
.offer-row:hover { text-decoration: none; border-color: var(--c-accent); }

.offer-row--best {
	border-color: #86efac;
	background: #f0fdf4;
}

.offer-retailer {
	font-weight: 700;
	font-size: 0.92rem;
}

.offer-price {
	font-size: 1.05rem;
	font-weight: 700;
}

.offer-badge {
	background: #16a34a;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	padding: 4px 8px;
	border-radius: 999px;
}

.offer-cta {
	color: var(--c-accent);
	font-weight: 700;
	font-size: 0.88rem;
}

.retailer-links {
	margin-top: 8px;
	padding: 20px;
	background: var(--c-surface);
	border: 1px dashed var(--c-border);
	border-radius: var(--radius);
}

.retailer-links h3 {
	margin: 0 0 14px;
	font-family: var(--font-body);
	font-size: 1rem;
}

.retailer-links-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.retailer-link {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	border-radius: 12px;
	border: 1px solid var(--c-border);
	background: #fff;
	font-weight: 700;
	font-size: 0.88rem;
	color: var(--c-text);
}
.retailer-link:hover {
	text-decoration: none;
	border-color: var(--c-accent);
	color: var(--c-accent);
}

.offer-retailer--amazon,
.retailer-link--amazon { border-left: 4px solid #ff9900; }
.offer-retailer--walmart,
.retailer-link--walmart { border-left: 4px solid #0071ce; }
.offer-retailer--bestbuy,
.retailer-link--bestbuy { border-left: 4px solid #0046be; }
.offer-retailer--newegg,
.retailer-link--newegg { border-left: 4px solid #f59e0b; }

/* ---------- Header ---------- */

.site-header {
	background: #fff;
	border-bottom: 1px solid var(--c-border);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.site-header-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 58px;
}

.site-header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.site-branding { display: flex; flex-direction: column; gap: 2px; }

.site-title {
	font-family: var(--font-body);
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--c-text);
	letter-spacing: -0.03em;
	text-transform: lowercase;
}
.site-title span { color: var(--c-nav-accent); }
.site-title:hover { text-decoration: none; }

.site-tagline {
	margin: 0;
	font-size: 0.76rem;
	color: var(--c-text-muted);
}

.site-header-nav {
	background: var(--c-tab-bar);
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header-nav-inner {
	position: relative;
}

.site-nav {
	width: 100%;
}

.nav-menu {
	display: flex;
	align-items: stretch;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
}

.nav-menu::-webkit-scrollbar { display: none; }

.nav-item {
	position: static;
	list-style: none;
	flex: 0 0 auto;
}

.nav-item-row {
	display: flex;
	align-items: stretch;
}

.nav-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.88);
	font-weight: 700;
	font-size: 0.82rem;
	padding: 0 14px;
	min-height: 42px;
	border-radius: 0;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
	box-shadow: inset 0 -3px 0 transparent;
}

.nav-link:hover,
.nav-link.is-active,
.nav-item.is-current > .nav-item-row > .nav-link {
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
	box-shadow: inset 0 -3px 0 var(--c-nav-accent);
	text-decoration: none;
}

.nav-link-arrow {
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	opacity: 0.72;
	margin-left: 2px;
}

.nav-link-chevron {
	appearance: none;
	display: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.72);
	cursor: pointer;
}

.nav-link-chevron span {
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
}

.nav-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	padding: 0;
	background: #fff;
	border-bottom: 1px solid var(--c-border);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
	z-index: 130;
}

.nav-item--has-menu:hover .nav-mega,
.nav-item--has-menu.is-open .nav-mega,
.nav-item--has-menu:focus-within .nav-mega {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav-mega-inner {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 0;
	max-width: var(--container);
	margin: 0 auto;
	min-height: 220px;
}

.nav-mega-sidebar {
	padding: 18px 0 18px 20px;
	border-right: 1px solid var(--c-border);
	background: #fafafa;
}

.nav-mega-heading {
	margin: 0 0 12px;
	font-size: 0.95rem;
	font-weight: 800;
	color: var(--c-text);
}

.nav-mega-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 2px;
}

.nav-mega-link {
	display: block;
	padding: 8px 12px;
	border-radius: var(--radius);
	color: var(--c-text);
	font-size: 0.84rem;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.12s ease, color 0.12s ease;
}

.nav-mega-link:hover,
.nav-mega-link.is-active {
	background: #fff;
	color: var(--c-nav-accent);
	text-decoration: none;
	box-shadow: inset 3px 0 0 var(--c-nav-accent);
}

.nav-mega-panel {
	padding: 18px 20px 20px;
}

.nav-mega-panel-label {
	margin: 0 0 12px;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--c-text-muted);
}

.nav-mega-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 10px;
}

.nav-mega-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 132px;
	padding: 12px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	background: #fff;
	color: var(--c-text);
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nav-mega-card:hover,
.nav-mega-card.is-active {
	border-color: #999;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	text-decoration: none;
}

.nav-mega-card--all {
	background: #fafafa;
}

.nav-mega-card-media {
	display: grid;
	place-items: center;
	height: 64px;
	border-radius: var(--radius);
	background: #fff;
	border: 1px solid #eee;
	overflow: hidden;
}

.nav-mega-card-media--logo {
	background: #fff;
	padding: 8px;
}

.nav-mega-card-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.nav-mega-card-media--icon {
	width: 48px;
	height: 48px;
	margin: 0 auto;
	border-radius: 50%;
	font-size: 0.68rem;
}

.nav-mega-card-copy {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.nav-mega-card-label {
	font-size: 0.86rem;
	font-weight: 800;
	line-height: 1.25;
	color: var(--c-text);
}

.nav-mega-card-desc {
	font-size: 0.74rem;
	line-height: 1.4;
	color: var(--c-text-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nav-item--plain {
	margin-left: auto;
}

.nav-item--plain .nav-link {
	color: rgba(255, 255, 255, 0.62);
	font-weight: 600;
}

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 8px;
	cursor: pointer;
}
.nav-toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--c-text);
	margin: 5px 0;
}

/* ---------- Deal board ---------- */

.deals-main {
	background: var(--c-bg);
}

.picks-hero {
	background: #fff;
	border-bottom: 1px solid var(--c-border);
	scroll-margin-top: 110px;
}

.picks-hero-inner {
	padding: 22px 20px 18px;
}

.picks-hero-eyebrow {
	margin: 0 0 6px;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--c-nav-accent);
}

.picks-hero-title {
	margin: 0 0 10px;
	font-size: clamp(1.65rem, 3.5vw, 2.25rem);
	font-weight: 800;
	line-height: 1.1;
}

.picks-hero-desc {
	margin: 0;
	max-width: 680px;
	color: var(--c-text-muted);
	font-size: 0.94rem;
	line-height: 1.6;
}

.picks-toolbar {
	position: sticky;
	top: var(--header-offset, 100px);
	z-index: 90;
	background: #fff;
	border-bottom: 1px solid var(--c-border);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.picks-toolbar-inner {
	padding: 10px 20px 12px;
}

.picks-toolbar-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}

.picks-toolbar-label {
	margin: 0;
	flex: 0 0 auto;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--c-text-muted);
}

.picks-quick-nav {
	display: flex;
	flex: 1 1 280px;
	flex-wrap: nowrap;
	gap: 6px;
	overflow-x: auto;
	padding-bottom: 2px;
	scrollbar-width: none;
}

.picks-quick-nav::-webkit-scrollbar { display: none; }

.picks-quick-link {
	appearance: none;
	flex: 0 0 auto;
	border: 1px solid var(--c-border);
	background: #fff;
	color: var(--c-text);
	border-radius: var(--radius);
	padding: 8px 14px;
	font-size: 0.82rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.picks-quick-link:hover {
	border-color: #999;
}

.picks-quick-link.is-active {
	background: var(--c-tab-bar);
	border-color: var(--c-tab-bar);
	color: #fff;
}

.picks-toolbar-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px 12px;
	margin-left: auto;
}

.picks-count {
	margin: 0;
	font-size: 0.88rem;
	font-weight: 800;
	color: var(--c-text);
	white-space: nowrap;
}

.picks-clear-filter {
	appearance: none;
	border: 1px solid var(--c-border);
	background: #fff;
	color: var(--c-nav-accent);
	border-radius: var(--radius);
	padding: 7px 12px;
	font-size: 0.78rem;
	font-weight: 800;
	cursor: pointer;
	white-space: nowrap;
}

.picks-clear-filter:hover {
	border-color: var(--c-nav-accent);
	background: #fff5f5;
}

.picks-subnav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed var(--c-border);
}

.picks-subnav-label {
	margin: 0;
	flex: 0 0 auto;
	font-size: 0.76rem;
	font-weight: 700;
	color: var(--c-text-muted);
}

.picks-subnav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.picks-subnav-link {
	appearance: none;
	border: 1px solid var(--c-border);
	background: var(--c-surface-2);
	color: var(--c-text-muted);
	border-radius: var(--radius);
	padding: 6px 12px;
	font-size: 0.78rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.picks-subnav-link:hover {
	border-color: #999;
	color: var(--c-text);
}

.picks-subnav-link.is-active {
	background: var(--c-nav-accent);
	border-color: var(--c-nav-accent);
	color: #fff;
}

.picks-filter-label {
	margin: 8px 0 0;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--c-text-muted);
}

.picks-hero-meta {
	display: none;
}

.picks-board {
	display: grid;
	gap: 0;
}

.category-section {
	padding: 20px 0 12px;
	border-bottom: 1px solid var(--c-border);
	background: #fff;
	scroll-margin-top: 130px;
}

.category-section:nth-child(even) {
	background: var(--c-surface-2);
}

.category-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-left: 4px solid var(--c-nav-accent);
}

.category-section:nth-child(even) .category-section-head {
	background: #fff;
}

.category-section-title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 800;
}

.category-section-count {
	margin: 4px 0 0;
	color: var(--c-text-muted);
	font-size: 0.82rem;
	font-weight: 600;
}

.collection-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.collection-chip {
	appearance: none;
	border: 1px solid var(--c-border);
	background: #fff;
	color: var(--c-text-muted);
	border-radius: var(--radius);
	padding: 7px 12px;
	font-size: 0.8rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.collection-chip:hover {
	border-color: #999;
	color: var(--c-text);
}

.collection-chip.is-active {
	background: var(--c-tab-bar);
	border-color: var(--c-tab-bar);
	color: #fff;
}

.category-section-empty,
.picks-empty-state {
	padding: 28px 0 40px;
	text-align: center;
	color: var(--c-text-muted);
}

.picks-empty-state p {
	margin: 0 0 16px;
}

.deals-nav {
	display: none;
}

.featured-deal {
	background: #fff;
	border-bottom: 1px solid var(--c-border);
}

.featured-deal-inner {
	display: grid;
	grid-template-columns: minmax(280px, 420px) 1fr;
	gap: 32px;
	align-items: center;
	padding: 28px 0;
}

.featured-deal-media {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	background: #fff;
	border: 1px solid var(--c-border);
	padding: 24px;
	text-decoration: none;
}

.featured-deal-media--icon {
	background: linear-gradient(180deg, #fafafa 0%, #efefef 100%);
}

.featured-deal-image,
.featured-deal-media .deal-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.featured-deal-label {
	margin: 0 0 8px;
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--c-deal);
}

.featured-deal-badge {
	margin: 0 0 10px;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--c-text-muted);
}

.featured-deal-title {
	margin: 0 0 12px;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 800;
	line-height: 1.15;
}

.featured-deal-pitch {
	margin: 0 0 12px;
	color: var(--c-text-muted);
	font-size: 1rem;
	line-height: 1.55;
	max-width: 560px;
}

.featured-deal-price-note {
	margin: 0 0 18px;
	font-size: 0.88rem;
	color: var(--c-text-muted);
}

.deals-grid-section {
	padding: 24px 0 40px;
}

.deals-grid,
.picks-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.deals-empty,
.picks-empty {
	text-align: center;
	color: var(--c-text-muted);
	margin-top: 24px;
}

.deal-tile,
.pick-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: none;
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.deal-tile:hover,
.pick-card:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transform: none;
	border-color: #999;
}

.deal-tile-badge {
	display: inline-block;
	margin-bottom: 8px;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--c-deal);
}

.deal-tile-media {
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	background: #fff;
	border-bottom: 1px solid var(--c-border);
	padding: 18px;
	overflow: hidden;
}

.deal-tile-media--icon {
	background: linear-gradient(180deg, #fafafa 0%, #efefef 100%);
}

.deal-tile-media--logo {
	background: #fff;
	padding: 28px 24px;
}

.deal-brand-logo {
	width: 72%;
	max-width: 200px;
	height: auto;
	object-fit: contain;
}

.featured-deal-media--logo .deal-brand-logo {
	max-width: 260px;
}

.deal-tile-media .deal-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.deal-tile-icon {
	display: grid;
	place-items: center;
	width: 72%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--c-border);
	font-size: 0.82rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--c-deal);
}

.deal-tile-icon--tech { color: #2563eb; }
.deal-tile-icon--gaming { color: #7c3aed; }
.deal-tile-icon--watches { color: #0f766e; }
.deal-tile-icon--books { color: #b45309; }
.deal-tile-icon--deals { color: #c45500; }
.deal-tile-icon--kitchen { color: #ea580c; }
.deal-tile-icon--beauty { color: #db2777; }
.deal-tile-icon--home { color: #059669; }
.deal-tile-icon--car { color: #475569; }
.deal-tile-icon--style { color: #9333ea; }

.deal-tile-body {
	padding: 14px 14px 10px;
	flex: 1;
}

.deal-tile-category {
	display: inline-block;
	margin-bottom: 8px;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--c-text-muted);
}

.deal-tile-title {
	margin: 0 0 8px;
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.35;
}

.deal-tile-pitch {
	margin: 0 0 8px;
	font-size: 0.84rem;
	line-height: 1.45;
	color: var(--c-text-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.deal-tile-price-note {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--c-deal);
}

.deal-tile-action {
	padding: 0 14px 14px;
}

.deals-trust {
	background: #fff;
	border-top: 1px solid var(--c-border);
	border-bottom: 1px solid var(--c-border);
}

.deals-trust-inner {
	padding: 18px 20px;
}

.deals-trust-inner p {
	margin: 0;
	font-size: 0.88rem;
	color: var(--c-text-muted);
	line-height: 1.55;
}

.deals-trust-inner a {
	font-weight: 700;
}

/* Legacy pick styles kept for compatibility */
.picks-toolbar,
.spotlight-card,
.pick-card-top,
.pick-card-image,
.pick-card-body,
.pick-card-footer,
.how-we-pick {
	display: none;
}

.amazon-fallback {
	padding: 56px 0 72px;
}

.amazon-fallback-inner {
	text-align: center;
	max-width: 560px;
	margin: 0 auto;
}

.amazon-fallback-inner p {
	color: var(--c-text-muted);
	margin: 0 0 20px;
}

.suggestions-section {
	padding: 40px 0;
	background: #fff;
	border-top: 1px solid var(--c-border);
	border-bottom: 1px solid var(--c-border);
}

.suggestions-inner {
	max-width: 760px;
}

.suggestions-copy .section-title {
	margin-bottom: 10px;
	font-size: 1.6rem;
}

.suggestions-copy p {
	margin: 0 0 20px;
	color: var(--c-text-muted);
	line-height: 1.6;
}

.suggestions-notice {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: var(--radius);
	font-size: 0.92rem;
	font-weight: 600;
}

.suggestions-notice--success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.suggestions-notice--error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.suggestions-form {
	display: grid;
	gap: 14px;
}

.suggestions-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.suggestions-field {
	display: grid;
	gap: 6px;
}

.suggestions-label {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--c-text);
}

.suggestions-field textarea,
.suggestions-field input,
.suggestions-field select {
	width: 100%;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	padding: 10px 12px;
	font: inherit;
	background: #fff;
	color: var(--c-text);
}

.suggestions-field textarea {
	min-height: 120px;
	resize: vertical;
}

.suggestions-submit {
	width: auto;
	min-width: 180px;
	justify-self: start;
}

/* ---------- Hero / search (legacy) ---------- */

.shop-hero {
	padding: 56px 0 48px;
	background:
		radial-gradient(ellipse 50% 60% at 100% 0%, rgba(37, 99, 235, 0.12), transparent),
		radial-gradient(ellipse 40% 50% at 0% 100%, rgba(37, 99, 235, 0.06), transparent),
		var(--c-bg);
}

.shop-hero-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px;
	align-items: center;
}

.hero-eyebrow,
.section-eyebrow {
	color: var(--c-accent);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.72rem;
	margin: 0 0 10px;
}

.hero-title {
	font-size: clamp(2.4rem, 5vw, 3.8rem);
	line-height: 1.02;
}
.hero-title span { color: var(--c-text-muted); font-style: italic; }

.hero-sub {
	color: var(--c-text-muted);
	font-size: 1.05rem;
	margin: 0;
	max-width: 520px;
}

.search-panel {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: calc(var(--radius) + 4px);
	padding: 24px;
	box-shadow: var(--shadow);
}

.search-label {
	display: block;
	font-size: 0.85rem;
	font-weight: 700;
	margin-bottom: 10px;
}

.search-row {
	display: flex;
	gap: 10px;
}

.search-input {
	flex: 1;
	border: 1px solid var(--c-border);
	border-radius: 999px;
	padding: 14px 18px;
	font-size: 1rem;
	background: #fff;
	color: var(--c-text);
}
.search-input:focus {
	outline: none;
	border-color: var(--c-accent);
	box-shadow: 0 0 0 4px var(--c-accent-soft);
}

.search-suggestions {
	margin-top: 8px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: 12px;
	overflow: hidden;
}

.suggestion-item {
	display: block;
	width: 100%;
	text-align: left;
	padding: 10px 14px;
	border: 0;
	background: #fff;
	cursor: pointer;
	font: inherit;
	color: var(--c-text);
}
.suggestion-item:hover { background: var(--c-surface-2); }

.search-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.chip {
	border: 1px solid var(--c-border);
	background: var(--c-surface-2);
	color: var(--c-text);
	border-radius: 999px;
	padding: 8px 14px;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
}
.chip:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.92rem;
	border: 0;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { text-decoration: none; }

.btn-primary {
	background: var(--c-accent);
	color: #fff;
}
.btn-primary:hover { background: var(--c-accent-dark); }

.btn-secondary {
	background: #fff;
	color: var(--c-text);
	border: 1px solid var(--c-border);
}
.btn-secondary:hover {
	border-color: var(--c-accent);
	color: var(--c-accent);
}

.btn-ghost {
	border: 1px solid var(--c-border);
	background: #fff;
	color: var(--c-text);
}
.btn-ghost:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* ---------- Product grid ---------- */

.shop-results,
.featured-picks,
.how-it-works {
	padding: 48px 0;
}

.section-head { margin-bottom: 24px; }
.section-head--row {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 16px;
	flex-wrap: wrap;
}

.section-title {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.results-meta {
	margin: 6px 0 0;
	color: var(--c-text-muted);
	font-size: 0.92rem;
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.product-card {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.product-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	padding: 16px;
}
.product-card-link:hover { text-decoration: none; }

.product-card-image {
	aspect-ratio: 1;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--c-border);
	display: grid;
	place-items: center;
	overflow: hidden;
	margin-bottom: 14px;
}
.product-card-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 10px;
}

.product-card-title {
	font-family: var(--font-body);
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 12px;
	flex: 1;
}

.product-card-cta {
	color: var(--c-accent);
	font-size: 0.88rem;
	font-weight: 700;
}

.results-fallback,
.results-more {
	grid-column: 1 / -1;
	background: var(--c-surface);
	border: 1px dashed var(--c-border);
	border-radius: var(--radius);
	padding: 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.results-fallback h3 {
	font-family: var(--font-body);
	font-size: 1.1rem;
	margin: 0 0 6px;
}
.results-fallback p {
	margin: 0;
	color: var(--c-text-muted);
}

.results-loading { margin-top: 18px; }

.skeleton {
	min-height: 280px;
	background: linear-gradient(90deg, #eef1f6 25%, #f8fafc 50%, #eef1f6 75%);
	background-size: 200% 100%;
	animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

/* ---------- How it works ---------- */

.how-it-works {
	background: var(--c-surface);
	border-top: 1px solid var(--c-border);
	border-bottom: 1px solid var(--c-border);
}

.how-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: start;
}

.steps-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
	counter-reset: step;
}

.steps-list li {
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	padding: 18px 20px;
	color: var(--c-text-muted);
}
.steps-list strong {
	display: block;
	color: var(--c-text);
	margin-bottom: 4px;
}

/* ---------- Blog / pages (still supported) ---------- */

.site-main { min-height: 50vh; }

.page-header { padding: 48px 0 24px; }
.page-title { font-size: clamp(1.8rem, 4vw, 2.6rem); }

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.post-card {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	overflow: hidden;
}

.post-card-link { color: inherit; display: block; }
.post-card-body { padding: 18px 20px 22px; }
.post-card-meta { color: var(--c-text-muted); font-size: 0.82rem; margin: 0 0 8px; }
.post-card-title { font-size: 1.05rem; margin-bottom: 8px; }
.post-card-excerpt { color: var(--c-text-muted); font-size: 0.93rem; margin: 0; }

.single-post,
.single-page { padding-top: 48px; padding-bottom: 48px; }

.entry-meta {
	color: var(--c-text-muted);
	font-size: 0.82rem;
	margin: 0 0 10px;
}

.entry-title {
	font-size: clamp(2rem, 5vw, 2.8rem);
	margin-bottom: 24px;
}

.entry-content { font-size: 1.05rem; line-height: 1.7; }
.entry-content h2 {
	margin: 1.8em 0 0.6em;
	font-size: 1.25rem;
	font-weight: 800;
}
.entry-content ul,
.entry-content ol {
	margin: 0 0 1.2em;
	padding-left: 1.4em;
}
.entry-content li { margin-bottom: 0.45em; }
.entry-content p { margin: 0 0 1em; }
.entry-content a { font-weight: 700; }
.entry-content blockquote {
	border-left: 3px solid var(--c-accent);
	margin: 1.5em 0;
	padding: 4px 0 4px 20px;
	color: var(--c-text-muted);
}

.pagination { padding: 32px 0 48px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers {
	padding: 8px 14px;
	border: 1px solid var(--c-border);
	border-radius: 8px;
	color: var(--c-text-muted);
	background: #fff;
}
.pagination .page-numbers.current {
	background: var(--c-accent);
	color: #fff;
	border-color: var(--c-accent);
}

.page-404 { padding: 80px 20px; text-align: center; }

.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] {
	flex: 1;
	border: 1px solid var(--c-border);
	border-radius: 8px;
	padding: 10px 14px;
}

/* ---------- Footer ---------- */

.site-footer {
	background: var(--c-bar);
	color: #94a3b8;
	padding: 48px 0 28px;
}

.footer-top {
	display: grid;
	grid-template-columns: 1.4fr 0.6fr;
	gap: 32px;
	margin-bottom: 28px;
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .site-title { color: #fff; }
.footer-brand p {
	margin: 12px 0 0;
	max-width: 420px;
	line-height: 1.55;
}

.footer-links h4 {
	color: #fff;
	margin: 0 0 12px;
	font-size: 0.95rem;
}

.footer-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}
.footer-links a { color: #94a3b8; }
.footer-links a:hover { color: #fff; }

.footer-copy {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.55;
	max-width: 900px;
}

/* ---------- Mobile ---------- */

@media (max-width: 960px) {
	.featured-deal-inner { grid-template-columns: 1fr; }
	.deals-grid,
	.picks-grid { grid-template-columns: repeat(2, 1fr); }
	.product-grid { grid-template-columns: repeat(2, 1fr); }
	.shop-hero-inner,
	.how-grid,
	.footer-top { grid-template-columns: 1fr; }
	.compare-card-main,
	.amazon-card-main { grid-template-columns: 1fr; }
	.retailer-links-grid { grid-template-columns: repeat(2, 1fr); }
	.offer-row { grid-template-columns: 1fr 1fr; }
	.offer-cta { grid-column: 2; justify-self: end; }

	.nav-mega-inner {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.nav-mega-sidebar {
		padding: 14px 20px 10px;
		border-right: 0;
		border-bottom: 1px solid var(--c-border);
	}

	.nav-mega-links {
		grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
		gap: 4px;
	}
}

@media (max-width: 640px) {
	.deals-grid,
	.picks-grid { grid-template-columns: 1fr; }
	.product-grid,
	.post-grid { grid-template-columns: 1fr; }

	.picks-toolbar-row {
		flex-direction: column;
		align-items: stretch;
	}

	.picks-toolbar-meta {
		margin-left: 0;
		justify-content: space-between;
		width: 100%;
	}

	.picks-quick-nav {
		flex: 1 1 auto;
		width: 100%;
	}

	.picks-subnav {
		flex-direction: column;
		align-items: stretch;
	}

	.picks-subnav-links {
		width: 100%;
	}

	.search-row { flex-direction: column; }
	.search-row .btn { width: 100%; }

	.nav-toggle { display: block; }

	.site-header-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		max-height: calc(100vh - 64px);
		overflow-y: auto;
		background: var(--c-tab-bar);
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	.site-header.is-nav-open .site-header-nav {
		display: block;
	}

	.nav-menu {
		flex-direction: column;
		align-items: stretch;
		overflow: visible;
	}

	.nav-item-row {
		width: 100%;
	}

	.nav-link {
		flex: 1;
		justify-content: flex-start;
	}

	.nav-link-chevron {
		display: inline-flex;
		border-left: 1px solid rgba(255, 255, 255, 0.08);
	}

	.nav-mega {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		padding: 0 0 8px;
		background: transparent;
		display: none;
	}

	.nav-item--has-menu.is-open .nav-mega {
		display: block;
	}

	.nav-mega-inner {
		display: block;
		min-height: 0;
	}

	.nav-mega-sidebar {
		padding: 8px 12px 0;
		border-right: 0;
		background: transparent;
	}

	.nav-mega-heading {
		color: rgba(255, 255, 255, 0.72);
		font-size: 0.72rem;
		text-transform: uppercase;
		letter-spacing: 0.08em;
		margin-bottom: 6px;
	}

	.nav-mega-links {
		gap: 0;
		margin-bottom: 8px;
	}

	.nav-mega-link {
		color: rgba(255, 255, 255, 0.88);
		padding: 10px 12px;
		border-radius: 0;
	}

	.nav-mega-link:hover,
	.nav-mega-link.is-active {
		background: rgba(255, 255, 255, 0.08);
		color: #fff;
		box-shadow: inset 3px 0 0 var(--c-nav-accent);
	}

	.nav-mega-panel {
		padding: 0 12px 8px;
	}

	.nav-mega-panel-label {
		display: none;
	}

	.nav-mega-grid {
		grid-template-columns: 1fr;
		padding: 0;
	}

	.nav-mega-card {
		min-height: 0;
		flex-direction: row;
		align-items: center;
		background: rgba(255, 255, 255, 0.06);
		border-color: rgba(255, 255, 255, 0.08);
		color: #fff;
	}

	.nav-mega-card--all {
		background: rgba(255, 255, 255, 0.08);
	}

	.nav-mega-card:hover,
	.nav-mega-card.is-active {
		border-color: rgba(255, 255, 255, 0.24);
		box-shadow: none;
	}

	.nav-mega-card-media {
		width: 56px;
		height: 56px;
		flex: 0 0 56px;
		background: rgba(255, 255, 255, 0.92);
		border-color: transparent;
	}

	.nav-mega-card-label {
		color: #fff;
	}

	.nav-mega-card-desc {
		color: rgba(255, 255, 255, 0.72);
	}

	.category-section-head {
		padding: 12px 14px;
	}

	.nav-item--plain {
		margin-left: 0;
	}

	.affiliate-bar-inner {
		flex-direction: column;
		align-items: stretch;
	}

	.affiliate-bar-actions {
		justify-content: space-between;
		width: 100%;
	}

	.site-header-actions {
		flex: 0 0 auto;
	}

	.btn-header-amazon--compact {
		display: none;
	}

	.suggestions-form-row {
		grid-template-columns: 1fr;
	}
}
