/**
 * Affiliate Market — Main Styles
 */

:root {
	/* dailyfindsdeals.com brand palette */
	--color-navy: #001d4a;
	--color-navy-dark: #001433;
	--color-navy-mid: #002856;
	--color-navy-light: #003d73;
	--color-orange: #ff6600;
	--color-orange-hover: #ff8533;
	--color-orange-dark: #e55a00;
	--color-blue: #007bff;
	--color-blue-hover: #3399ff;
	--color-white: #ffffff;

	--color-bg: var(--color-navy);
	--color-bg-elevated: var(--color-navy-dark);
	--color-bg-card: var(--color-navy-mid);
	--color-surface: var(--color-navy-light);
	--color-border: rgba(255, 255, 255, 0.1);
	--color-text: var(--color-white);
	--color-text-muted: #a8c4e0;
	--color-primary: var(--color-orange);
	--color-primary-hover: var(--color-orange-hover);
	--color-accent: var(--color-blue);
	--color-amazon: var(--color-orange);
	--color-on-primary: var(--color-navy);
	--color-success: #22c55e;
	--color-star: #ffc107;
	--font-body: "DM Sans", system-ui, sans-serif;
	--font-display: "Outfit", system-ui, sans-serif;
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 20px;
	--radius-xl: 28px;
	--shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
	--shadow-glow: 0 0 60px rgba(255, 102, 0, 0.2);
	--container: min(1200px, 100% - 2rem);
	--header-height: 72px;
	--transition: 0.2s ease;
	--color-white-bg: var(--color-white);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-text);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color var(--transition);
}

a:hover {
	color: var(--color-primary-hover);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.2;
	margin-top: 0;
}

.container {
	width: var(--container);
	margin-inline: auto;
	padding-inline: 1rem;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
	white-space: normal;
	background: var(--color-primary);
	color: #000;
	padding: 0.5rem 1rem;
	z-index: 9999;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--color-white-bg);
	 /* rgba(0, 29, 74, 0.92); */
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: var(--header-height);
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 1rem;
}

.site-branding .custom-logo,
.site-branding .site-logo {
	max-height: 52px;
	width: auto;
}

.site-title {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--color-text);
}

.site-title:hover {
	color: var(--color-primary);
}

.site-title__icon {
	color: var(--color-orange);
}

.site-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.site-logo-link:hover {
	opacity: 0.92;
}

.site-logo--footer {
	max-height: 44px;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: none;
	background: var(--color-surface);
	border-radius: var(--radius-sm);
	cursor: pointer;
}

.nav-toggle__bar {
	display: block;
	width: 20px;
	height: 2px;
	margin-inline: auto;
	background: var(--color-text);
	transition: var(--transition);
}

.primary-navigation {
	flex: 1;
}

.nav-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-menu a {
	color:  rgba(0, 29, 74, 0.92);
	/* var(--color-text-muted); */
	font-weight: 500;
	font-size: 0.9375rem;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
	color: var(--color-primary);
	/* var(--color-primary); */
}

.header-search {
	flex-shrink: 0;
}

.search-form {
	display: flex;
	align-items: center;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	overflow: hidden;
}

.search-form__input {
	border: none;
	background: transparent;
	color: var(--color-text);
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	width: 160px;
	outline: none;
}

.search-form__input::placeholder {
	color: var(--color-text-muted);
}

.search-form__submit {
	border: none;
	background: transparent;
	color: var(--color-text-muted);
	padding: 0.5rem 0.75rem;
	cursor: pointer;
	display: flex;
	align-items: center;
}

.search-form__submit:hover {
	color: var(--color-primary);
}

/* Hero */
.hero {
	padding: 4rem 0 5rem;
	background:
		radial-gradient(ellipse 80% 50% at 20% -10%, rgba(0, 123, 255, 0.18), transparent),
		radial-gradient(ellipse 70% 50% at 80% 0%, rgba(255, 102, 0, 0.14), transparent),
		var(--color-bg);
}

.hero__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.hero__badge {
	display: inline-block;
	padding: 0.35rem 0.85rem;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	background: rgba(255, 102, 0, 0.18);
	color: var(--color-orange);
	border-radius: 999px;
	margin-bottom: 1rem;
}

.hero__title {
	font-size: clamp(2rem, 5vw, 3.25rem);
	margin-bottom: 1rem;
	background: linear-gradient(135deg, var(--color-white) 0%, var(--color-blue-hover) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero__subtitle {
	font-size: 1.125rem;
	color: var(--color-text-muted);
	max-width: 32rem;
	margin-bottom: 1.5rem;
}

.hero__actions {
	margin-bottom: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.hero__visual {
	position: relative;
	min-height: 280px;
}

.hero__card {
	position: absolute;
	padding: 1rem 1.25rem;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
}

.hero__card--1 {
	top: 20%;
	left: 10%;
	animation: float 4s ease-in-out infinite;
}

.hero__card--2 {
	bottom: 15%;
	right: 5%;
	animation: float 4s ease-in-out infinite 1s;
}

.hero__card span {
	font-weight: 700;
	color: var(--color-primary);
}

.hero__card p {
	margin: 0.25rem 0 0;
	font-size: 0.875rem;
	color: var(--color-text-muted);
}

.hero__glow {
	position: absolute;
	inset: 20%;
	background: radial-gradient(circle, rgba(0, 123, 255, 0.25), rgba(255, 102, 0, 0.15) 50%, transparent 70%);
	border-radius: 50%;
	filter: blur(40px);
}

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.65rem 1.35rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.9375rem;
	border-radius: var(--radius-sm);
	border: 2px solid transparent;
	cursor: pointer;
	transition: all var(--transition);
	text-decoration: none;
}

.btn--primary {
	background: var(--color-orange);
	color: var(--color-on-primary);
}

.btn--primary:hover {
	background: var(--color-orange-hover);
	color: var(--color-on-primary);
	transform: translateY(-1px);
}

.btn--amazon {
	background: linear-gradient(180deg, var(--color-orange-hover) 0%, var(--color-orange) 100%);
	color: var(--color-on-primary);
	border-color: var(--color-orange-dark);
}

.btn--amazon:hover {
	filter: brightness(1.08);
	color: var(--color-on-primary);
	transform: translateY(-1px);
}

.btn--outline {
	background: transparent;
	border-color: var(--color-border);
	color: var(--color-text);
}

.btn--outline:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.btn--lg {
	padding: 0.85rem 1.75rem;
	font-size: 1rem;
}

/* Sections */
.section {
	padding: 4rem 0;
}

.section-header {
	text-align: center;
	margin-bottom: 2.5rem;
}

.section-header h2 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin-bottom: 0.5rem;
}

.section-header p {
	color: var(--color-text-muted);
	margin: 0;
}

.section-header--row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	text-align: left;
}

.link-arrow {
	font-weight: 600;
	color: var(--color-primary);
	white-space: nowrap;
}

/* Category grid */
.category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.25rem;
}

.category-card {
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	transition: all var(--transition);
	color: inherit;
}

.category-card:hover {
	border-color: rgba(255, 102, 0, 0.5);
	transform: translateY(-4px);
	box-shadow: var(--shadow-glow);
	color: inherit;
}

.category-card__icon {
	font-size: 2rem;
	margin-bottom: 0.75rem;
}

.category-card__title {
	font-size: 1.125rem;
	margin-bottom: 0.35rem;
	color: var(--color-text);
}

.category-card__desc {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	margin: 0 0 auto;
	flex: 1;
}

.category-card__count {
	font-size: 0.8125rem;
	color: var(--color-primary);
	margin-top: 1rem;
	font-weight: 600;
}

/* Product grid */
.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5rem;
}

.product-card {
	display: flex;
	flex-direction: column;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: all var(--transition);
}

.product-card:hover {
	border-color: rgba(255, 102, 0, 0.4);
	box-shadow: var(--shadow-card);
}

.product-card__image-link {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--color-surface);
}

.product-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.product-card:hover .product-card__image {
	transform: scale(1.05);
}

.product-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	font-size: 3rem;
	background: var(--color-surface);
}

.product-card__badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	padding: 0.25rem 0.65rem;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	background: var(--color-orange);
	color: var(--color-on-primary);
	border-radius: 999px;
}

.product-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.25rem;
}

.product-card__category {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-accent);
	margin-bottom: 0.35rem;
}

.product-card__title {
	font-size: 1rem;
	margin: 0 0 0.5rem;
}

.product-card__title a {
	color: var(--color-text);
}

.product-card__title a:hover {
	color: var(--color-primary);
}

.product-card__excerpt {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	margin: 0 0 0.75rem;
	flex: 1;
}

.product-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.product-card__price {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.125rem;
	color: var(--color-primary);
}

.product-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: auto;
}

.product-card__footer .btn {
	flex: 1;
	font-size: 0.8125rem;
	padding: 0.5rem 0.75rem;
}

/* Stars & badges */
.star-rating {
	display: inline-flex;
	gap: 1px;
}

.star {
	font-size: 0.875rem;
}

.star--full,
.star--half {
	color: var(--color-star);
}

.star--empty {
	color: var(--color-text-muted);
	opacity: 0.4;
}

.review-count {
	font-size: 0.8125rem;
	color: var(--color-text-muted);
	margin-left: 0.35rem;
}

.prime-badge {
	font-size: 0.6875rem;
	font-weight: 700;
	padding: 0.2rem 0.5rem;
	background: var(--color-blue);
	color: var(--color-white);
	border-radius: 4px;
}

.prime-badge--lg {
	font-size: 0.8125rem;
	padding: 0.35rem 0.75rem;
}

/* Disclosure */
.affiliate-disclosure {
	font-size: 0.75rem;
	color: var(--color-text-muted);
	line-height: 1.5;
	margin: 0;
}

.hero .affiliate-disclosure {
	max-width: 36rem;
}

/* Page header */
.page-header {
	padding: 2.5rem 0 2rem;
	background: var(--color-bg-elevated);
	border-bottom: 1px solid var(--color-border);
	margin-bottom: 2rem;
}

.page-header h1 {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	margin-bottom: 0.5rem;
}

.page-header p {
	color: var(--color-text-muted);
	margin: 0;
}

.page-header__icon {
	font-size: 2.5rem;
	display: block;
	margin-bottom: 0.5rem;
}

.breadcrumbs {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	margin-bottom: 1rem;
}

.breadcrumbs a {
	color: var(--color-text-muted);
}

.breadcrumbs a:hover {
	color: var(--color-primary);
}

/* Filter pills */
.category-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2rem;
}

.filter-pill {
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	color: var(--color-text-muted);
	transition: all var(--transition);
}

.filter-pill:hover,
.filter-pill.is-active {
	background: rgba(255, 102, 0, 0.18);
	border-color: var(--color-orange);
	color: var(--color-orange);
}

/* Single product */
.single-product {
	padding: 2rem 0 4rem;
}

.single-product__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
	margin-bottom: 3rem;
}

.single-product__gallery {
	position: relative;
	background: var(--color-bg-card);
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--color-border);
}

.single-product__image {
	width: 100%;
}

.single-product__placeholder {
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 5rem;
	background: var(--color-surface);
}

.single-product__badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	padding: 0.35rem 0.85rem;
	background: var(--color-orange);
	color: var(--color-on-primary);
	font-weight: 700;
	font-size: 0.75rem;
	border-radius: 999px;
}

.single-product__category {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-accent);
}

.single-product__title {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	margin: 0.5rem 0 1rem;
}

.single-product__rating-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.single-product__price {
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 800;
	color: var(--color-primary);
	margin: 0 0 1.5rem;
}

.single-product__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.single-product__excerpt {
	font-size: 1.0625rem;
	color: var(--color-text-muted);
}

.single-product__content {
	padding: 2rem;
	background: var(--color-bg-card);
	border-radius: var(--radius-lg);
	border: 1px solid var(--color-border);
}

.single-product__content h2 {
	margin-bottom: 1rem;
}

.entry-content {
	color: var(--color-text-muted);
}

.entry-content h2,
.entry-content h3 {
	color: var(--color-text);
}

.entry-content a {
	color: var(--color-primary);
}

.sticky-cta-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.5rem;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	margin-top: 2rem;
}

.sticky-cta-bar__info {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.sticky-cta-bar__info span {
	color: var(--color-primary);
	font-weight: 700;
}

/* Blog */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
}

.post-card {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: border-color var(--transition);
}

.post-card:hover {
	border-color: rgba(0, 123, 255, 0.4);
}

.post-card__image img {
	width: 100%;
	aspect-ratio: 16/10;
	object-fit: cover;
}

.post-card__body {
	padding: 1.25rem;
}

.post-card__date {
	font-size: 0.8125rem;
	color: var(--color-text-muted);
}

.post-card__title {
	font-size: 1.125rem;
	margin: 0.35rem 0 0.5rem;
}

.post-card__title a {
	color: var(--color-text);
}

.post-card__excerpt {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	margin-bottom: 0.75rem;
}

/* Layout with sidebar */
.layout-with-sidebar {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 2.5rem;
	padding-bottom: 3rem;
}

.sidebar {
	position: sticky;
	top: calc(var(--header-height) + 1rem);
	align-self: start;
}

.widget {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 1.25rem;
	margin-bottom: 1.25rem;
}

.widget-title {
	font-size: 1rem;
	margin: 0 0 1rem;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget li {
	padding: 0.35rem 0;
	border-bottom: 1px solid var(--color-border);
}

.widget li:last-child {
	border-bottom: none;
}

.widget a {
	color: var(--color-text-muted);
}

.widget a span {
	color: var(--color-text-muted);
	opacity: 0.7;
}

/* CTA banner */
.cta-banner {
	text-align: center;
	padding: 3rem 2rem;
	background: linear-gradient(135deg, var(--color-bg-card) 0%, var(--color-surface) 100%);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-xl);
}

.cta-banner h2 {
	margin-bottom: 0.75rem;
}

.cta-banner p {
	color: var(--color-text-muted);
	margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
	background: var(--color-bg-elevated);
	border-top: 1px solid var(--color-border);
	padding: 3rem 0 1.5rem;
	margin-top: 2rem;
}

.footer-disclosure {
	padding-bottom: 2rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid var(--color-border);
}

.footer-disclosure .affiliate-disclosure {
	font-size: 0.8125rem;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 2rem;
	margin-bottom: 2rem;
}

.site-footer__tagline {
	color: var(--color-text-muted);
	font-size: 0.875rem;
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu li {
	margin-bottom: 0.5rem;
}

.footer-menu a {
	color: var(--color-text-muted);
	font-size: 0.875rem;
}

.social-links {
	display: flex;
	gap: 0.75rem;
	margin-top: 1rem;
}

.social-link {
	font-size: 0.8125rem;
	color: var(--color-text-muted);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--color-border);
	font-size: 0.8125rem;
	color: var(--color-text-muted);
}

.site-footer__bottom p {
	margin: 0;
}

/* Empty & 404 */
.empty-state {
	text-align: center;
	padding: 3rem 1rem;
	grid-column: 1 / -1;
	color: var(--color-text-muted);
}

.empty-state--wide {
	max-width: 480px;
	margin-inline: auto;
}

.error-404 {
	text-align: center;
	padding: 5rem 1rem;
}

.error-404__code {
	font-family: var(--font-display);
	font-size: 6rem;
	font-weight: 800;
	color: var(--color-primary);
	opacity: 0.3;
	line-height: 1;
}

.error-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	margin-top: 1.5rem;
}

/* Pagination */
.navigation.pagination {
	margin: 2.5rem 0;
}

.nav-links {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.75rem;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	color: var(--color-text-muted);
	font-weight: 500;
}

.page-numbers.current,
.page-numbers:hover {
	background: var(--color-orange);
	border-color: var(--color-orange);
	color: var(--color-on-primary);
}

/* Responsive */
@media (max-width: 992px) {
	.hero__inner {
		grid-template-columns: 1fr;
	}

	.hero__visual {
		display: none;
	}

	.single-product__layout {
		grid-template-columns: 1fr;
	}

	.layout-with-sidebar {
		grid-template-columns: 1fr;
	}

	.sidebar {
		position: static;
	}

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.nav-toggle {
		display: flex;
		margin-left: auto;
	}

	.primary-navigation {
		position: fixed;
		top: var(--header-height);
		left: 0;
		right: 0;
		background: var(--color-bg-elevated);
		border-bottom: 1px solid var(--color-border);
		padding: 1rem;
		transform: translateY(-120%);
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease;
	}

	.primary-navigation.is-open {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}

	.nav-menu {
		flex-direction: column;
		gap: 0;
	}

	.nav-menu li {
		border-bottom: 1px solid var(--color-border);
	}

	.nav-menu a {
		display: block;
		padding: 0.75rem 0;
	}

	.header-search {
		order: 3;
		width: 100%;
	}

	.search-form__input {
		width: 100%;
	}

	.site-header__inner {
		flex-wrap: wrap;
	}

	.product-grid {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
		gap: 1rem;
	}

	.sticky-cta-bar {
		flex-direction: column;
		text-align: center;
	}

	.sticky-cta-bar .btn {
		width: 100%;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.category-grid {
		grid-template-columns: 1fr;
	}

	.product-card__footer {
		flex-direction: column;
		align-items: stretch;
	}

	.video-card__footer {
		flex-direction: column;
		align-items: stretch;
	}

	.gaming-hero__inner {
		grid-template-columns: 1fr;
	}

	.youtube-subscribe {
		flex-direction: column;
		text-align: center;
	}
}

/* ─── YouTube / Gaming Videos ─── */

.btn--youtube {
	background: #ff0000;
	color: var(--color-white);
	border-color: #cc0000;
}

.btn--youtube:hover {
	background: #ff3333;
	color: var(--color-white);
	transform: translateY(-1px);
}

.btn--sm {
	padding: 0.45rem 0.85rem;
	font-size: 0.8125rem;
}

.gaming-videos-section {
	background:
		radial-gradient(ellipse 60% 40% at 10% 50%, rgba(255, 0, 0, 0.06), transparent),
		radial-gradient(ellipse 50% 40% at 90% 20%, rgba(0, 123, 255, 0.1), transparent),
		var(--color-bg-elevated);
	border-block: 1px solid var(--color-border);
}

.gaming-hero {
	padding: 3rem 0;
	background:
		radial-gradient(ellipse 70% 60% at 80% 0%, rgba(0, 123, 255, 0.15), transparent),
		radial-gradient(ellipse 60% 50% at 20% 100%, rgba(255, 102, 0, 0.1), transparent),
		var(--color-bg-elevated);
	border-bottom: 1px solid var(--color-border);
	margin-bottom: 2rem;
}

.gaming-hero__inner {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 2rem;
	align-items: center;
}

.gaming-hero__badge {
	display: inline-block;
	padding: 0.35rem 0.85rem;
	font-size: 0.75rem;
	font-weight: 600;
	background: rgba(255, 0, 0, 0.12);
	color: #ff6666;
	border-radius: 999px;
	margin-bottom: 0.75rem;
}

.gaming-hero__title {
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	margin-bottom: 0.75rem;
}

.gaming-hero__tagline {
	color: var(--color-text-muted);
	font-size: 1.0625rem;
	max-width: 36rem;
	margin-bottom: 1.5rem;
}

.gaming-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.gaming-hero__visual {
	position: relative;
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gaming-hero__icon {
	font-size: 6rem;
	position: relative;
	z-index: 1;
	filter: drop-shadow(0 8px 24px rgba(0, 123, 255, 0.3));
}

.gaming-hero__glow {
	position: absolute;
	inset: 10%;
	background: radial-gradient(circle, rgba(255, 0, 0, 0.15), rgba(0, 123, 255, 0.2) 50%, transparent 70%);
	border-radius: 50%;
	filter: blur(30px);
}

.page-header--gaming {
	background:
		linear-gradient(135deg, var(--color-navy-mid) 0%, var(--color-navy-dark) 100%);
}

.youtube-subscribe {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.25rem 1.5rem;
	margin-bottom: 2rem;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
}

.youtube-subscribe--home {
	margin-bottom: 2rem;
}

.youtube-subscribe--inline {
	margin-top: 1.5rem;
	margin-bottom: 0;
}

.youtube-subscribe--archive {
	margin-top: 2.5rem;
}

.youtube-subscribe--single {
	margin-top: 1.5rem;
	margin-bottom: 0;
}

.youtube-subscribe__icon {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 0, 0, 0.12);
	color: #ff0000;
	border-radius: var(--radius-md);
}

.youtube-subscribe__content {
	flex: 1;
	min-width: 0;
}

.youtube-subscribe__content strong {
	display: block;
	font-family: var(--font-display);
	font-size: 1.0625rem;
	margin-bottom: 0.15rem;
}

.youtube-subscribe__content p {
	margin: 0;
	font-size: 0.875rem;
	color: var(--color-text-muted);
}

.youtube-subscribe .btn--youtube {
	flex-shrink: 0;
	white-space: nowrap;
}

.video-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2rem;
}

.section--videos {
	padding-bottom: 3rem;
}

.section--compact {
	padding: 0;
}

.video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
}

.video-grid--home {
	margin-bottom: 1.5rem;
}

.video-card {
	display: flex;
	flex-direction: column;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: all var(--transition);
}

.video-card:hover {
	border-color: rgba(255, 0, 0, 0.35);
	box-shadow: var(--shadow-card);
}

.video-card__thumb-link {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--color-surface);
}

.video-card__thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.video-card:hover .video-card__thumb {
	transform: scale(1.04);
}

.video-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	font-size: 3rem;
	background: var(--color-surface);
}

.video-card__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.35);
	color: var(--color-white);
	opacity: 0;
	transition: opacity var(--transition);
}

.video-card:hover .video-card__play {
	opacity: 1;
}

.video-card__play svg {
	filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.video-card__duration {
	position: absolute;
	bottom: 0.5rem;
	right: 0.5rem;
	padding: 0.2rem 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	background: rgba(0, 0, 0, 0.85);
	color: var(--color-white);
	border-radius: 4px;
}

.video-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.25rem;
}

.video-card__category {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--color-blue);
	margin-bottom: 0.35rem;
}

.video-card__title {
	font-size: 1rem;
	margin: 0 0 0.5rem;
}

.video-card__title a {
	color: var(--color-text);
}

.video-card__title a:hover {
	color: var(--color-orange);
}

.video-card__excerpt {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	margin: 0 0 0.75rem;
	flex: 1;
}

.video-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	font-size: 0.8125rem;
	color: var(--color-text-muted);
	margin-bottom: 1rem;
}

.video-card__footer {
	display: flex;
	gap: 0.5rem;
	margin-top: auto;
}

.video-card__footer .btn {
	flex: 1;
}

.video-category-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}

.video-cat-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	color: var(--color-text-muted);
	transition: all var(--transition);
}

.video-cat-pill:hover {
	border-color: var(--color-blue);
	color: var(--color-blue);
	background: rgba(0, 123, 255, 0.1);
}

/* Single video */
.single-video {
	padding: 2rem 0 1rem;
}

.single-video__player-wrap {
	margin-bottom: 2rem;
}

.single-video__player {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-card);
}

.single-video__player iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.single-video__placeholder {
	aspect-ratio: 16 / 9;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-surface);
	border-radius: var(--radius-lg);
	color: var(--color-text-muted);
}

.single-video__category {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-blue);
}

.single-video__title {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	margin: 0.5rem 0 1rem;
}

.single-video__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.875rem;
	color: var(--color-text-muted);
	margin-bottom: 1.25rem;
}

.single-video__actions {
	margin-bottom: 0;
}

.single-video__content {
	margin-top: 2rem;
	padding: 2rem;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
}

.single-video__excerpt {
	font-size: 1.0625rem;
	color: var(--color-text-muted);
	margin-bottom: 1rem;
}

.gaming-products-strip {
	padding: 3rem 0;
	border-top: 1px solid var(--color-border);
}

.related-videos {
	padding-bottom: 2rem;
}

/* Search mixed results */
.search-results-mixed {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

.search-results-mixed__item--product,
.search-results-mixed__item--video {
	display: flex;
}

.search-results-mixed__item--product .product-card,
.search-results-mixed__item--video .video-card {
	width: 100%;
}

@media (max-width: 768px) {
	.video-grid {
		grid-template-columns: 1fr;
	}

	.gaming-hero__inner {
		grid-template-columns: 1fr;
	}

	.gaming-hero__visual {
		display: none;
	}
}
