/* ==========================================================================
   Affiliate Store — design system
   Mobile-first · logical properties (RTL-ready) · light/dark via tokens
   ========================================================================== */

:root {
	--primary: #4a1d3f;
	--secondary: #1f1a24;
	--accent: #d94f6b;
	--background: #faf7f5;
	--surface: #ffffff;
	--text: #1f1a24;
	--muted: #6b6170;
	--border: #ebe4e6;
	--success: #1f8a5b;
	--danger: #c8323f;

	--primary-soft: color-mix(in srgb, var(--primary) 9%, var(--surface));
	--accent-soft: color-mix(in srgb, var(--accent) 12%, var(--surface));
	--surface-2: color-mix(in srgb, var(--text) 3%, var(--surface));
	--tint: color-mix(in srgb, var(--primary) 4%, var(--background));
	--on-primary: #fff;
	--gold: #c9a227;

	--font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--font-heading: "Iowan Old Style", "Palatino Linotype", Palatino, "URW Palladio L", P052, Georgia, serif;
	--fs-base: 16px;

	--radius-xs: 6px;
	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--pill: 999px;
	--shadow-sm: 0 1px 2px rgb(31 26 36 / 5%), 0 1px 1px rgb(31 26 36 / 4%);
	--shadow: 0 2px 4px rgb(31 26 36 / 4%), 0 8px 24px rgb(31 26 36 / 7%);
	--shadow-lg: 0 12px 40px rgb(31 26 36 / 14%);
	--container: 1280px;
	--gutter: 16px;
	--header-h: 64px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--focus: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent);
	color-scheme: light;
}

[data-theme="dark"] {
	color-scheme: dark;
	--primary-soft: color-mix(in srgb, var(--primary) 30%, var(--surface));
	--accent-soft: color-mix(in srgb, var(--accent) 18%, var(--surface));
	--surface-2: color-mix(in srgb, #fff 4%, var(--surface));
	--tint: color-mix(in srgb, #fff 2%, var(--background));
	--shadow-sm: 0 1px 2px rgb(0 0 0 / 30%);
	--shadow: 0 2px 4px rgb(0 0 0 / 25%), 0 8px 24px rgb(0 0 0 / 30%);
	--shadow-lg: 0 12px 40px rgb(0 0 0 / 50%);
}

@media (min-width: 768px) {
	:root { --gutter: 24px; --header-h: 72px; }
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-base);
	line-height: 1.6;
	color: var(--text);
	background: var(--background);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
body.has-bottom-nav, body { padding-bottom: env(safe-area-inset-bottom); }
img, svg, video { max-width: 100%; height: auto; display: block; }
img { border-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .5em; color: var(--text); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent-soft); color: var(--text); }
[hidden] { display: none !important; }
del { color: var(--muted); }
code, .code-chip { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000; inset-inline-start: 12px; top: 12px;
	background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.icon { width: 1.25em; height: 1.25em; flex: none; }
.muted { color: var(--muted); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--accent); margin: 0 0 8px; text-decoration: none;
}
.eyebrow .icon { width: 14px; height: 14px; }
.eyebrow--light { color: #ffd3dc; }

/* ---------- Buttons ---------- */
.btn {
	--btn-bg: var(--primary); --btn-fg: var(--on-primary);
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px; border-radius: var(--pill); border: 1px solid transparent;
	background: var(--btn-bg); color: var(--btn-fg); font-weight: 650; font-size: .95rem; line-height: 1.1;
	text-decoration: none; letter-spacing: .01em; white-space: nowrap;
	transition: transform .15s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn--primary { --btn-bg: var(--primary); }
.btn--accent, .btn--cta { --btn-bg: var(--accent); --btn-fg: #fff; }
.btn--cta { text-transform: uppercase; font-size: .85rem; letter-spacing: .06em; }
.btn--cta:hover { --btn-bg: color-mix(in srgb, var(--accent) 88%, #000); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--border); }
.btn--ghost:hover { --btn-fg: var(--text); border-color: var(--text); box-shadow: none; }
.btn--light { --btn-bg: rgb(255 255 255 / 12%); --btn-fg: #fff; border-color: rgb(255 255 255 / 35%); backdrop-filter: blur(6px); }
.btn--light:hover { --btn-bg: #fff; --btn-fg: var(--primary); }
.btn--lg { min-height: 52px; padding: 14px 28px; font-size: 1rem; }
.btn--sm { min-height: 38px; padding: 8px 14px; font-size: .78rem; }
.btn--block { width: 100%; }
.btn--disabled { --btn-bg: var(--surface-2); --btn-fg: var(--muted); border-color: var(--border); cursor: not-allowed; pointer-events: none; }
.btn__icon { width: 14px; height: 14px; opacity: .85; }
[dir="rtl"] .btn__icon { transform: scaleX(-1); }

.icon-btn {
	position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--pill);
	background: transparent; border: 0; color: var(--text); text-decoration: none; transition: background-color .15s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn .icon { width: 22px; height: 22px; }
.count-badge {
	position: absolute; inset-block-start: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: var(--pill); background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}

/* ---------- Announcement ---------- */
.announce { background: var(--secondary); color: #fff; font-size: .82rem; }
[data-theme="dark"] .announce { background: #0c0a0e; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 36px; padding-block: 6px; }
.announce a { color: #fff; text-decoration: none; font-weight: 600; }
.announce a:hover { text-decoration: underline; color: #fff; }
.announce__trust { display: none; align-items: center; gap: 6px; color: rgb(255 255 255 / 70%); }
.announce__trust .icon { width: 14px; height: 14px; }
@media (min-width: 900px) { .announce__inner { justify-content: space-between; } .announce__trust { display: inline-flex; } }

/* ---------- Header ---------- */
.site-header { background: color-mix(in srgb, var(--surface) 92%, transparent); border-bottom: 1px solid var(--border); z-index: 50; backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.has-sticky-header .site-header { position: sticky; top: 0; }
.admin-bar.has-sticky-header .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar.has-sticky-header .site-header { top: 32px; } }
.header__bar { display: flex; align-items: center; gap: 8px; min-height: var(--header-h); }
.brand { flex: 0 1 auto; min-width: 0; margin-inline-end: auto; }
.brand__name { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; color: var(--primary); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
[data-theme="dark"] .brand__name { color: var(--text); }
.custom-logo-link img { max-height: 44px; width: auto; }
.header__actions { display: flex; align-items: center; gap: 2px; }
.header__deals { display: none; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .88rem; text-decoration: none; margin-inline: 6px; }
.header__deals:hover { background: var(--accent); color: #fff; }
.header__deals .icon { width: 18px; height: 18px; }
.header__account { display: none; }
.theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: block; }
[data-theme="dark"] .theme-toggle__moon { display: none; }

/* Search */
.search { position: relative; display: flex; align-items: center; width: 100%; }
.site-header .search { display: none; }
.site-header.search-open .search { display: flex; position: absolute; inset-inline: 0; top: 100%; padding: 10px var(--gutter); background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
.search__icon { position: absolute; inset-inline-start: 14px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.site-header.search-open .search__icon { inset-inline-start: calc(var(--gutter) + 14px); }
.search__input {
	width: 100%; min-height: 46px; padding: 10px 92px 10px 42px; padding-inline: 42px 92px; border-radius: var(--pill);
	border: 1px solid var(--border); background: var(--surface-2); outline: none; transition: border-color .15s, box-shadow .15s, background .15s;
	-webkit-appearance: none; appearance: none;
}
.search__input:focus { border-color: var(--accent); background: var(--surface); box-shadow: var(--focus); }
.search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search__submit { position: absolute; inset-inline-end: 5px; min-height: 36px; padding: 0 16px; border-radius: var(--pill); border: 0; background: var(--primary); color: #fff; font-weight: 600; font-size: .85rem; }
.site-header.search-open .search__submit { inset-inline-end: calc(var(--gutter) + 5px); }
.search__results {
	position: absolute; top: calc(100% + 6px); inset-inline: 0; z-index: 60; max-height: min(70vh, 560px); overflow: auto;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px;
}
.site-header.search-open .search__results { inset-inline: var(--gutter); }
.sg-group__label { padding: 8px 10px 4px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sg-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--radius-sm); text-decoration: none; }
.sg-item:hover, .sg-item[aria-selected="true"] { background: var(--surface-2); color: var(--text); }
.sg-item img, .sg-item .sg-ph { width: 40px; height: 40px; border-radius: var(--radius-xs); object-fit: cover; background: var(--primary-soft); flex: none; }
.sg-item__title { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.sg-item__meta { font-size: .78rem; color: var(--muted); }
.sg-all { display: block; text-align: center; padding: 10px; margin-top: 4px; border-top: 1px solid var(--border); font-weight: 600; font-size: .88rem; text-decoration: none; color: var(--accent); }
.sg-empty { padding: 16px; color: var(--muted); text-align: center; }
.search mark { background: var(--accent-soft); color: inherit; padding: 0 1px; border-radius: 2px; }

@media (min-width: 1100px) {
	.header__bar { gap: 24px; }
	.brand { margin-inline-end: 0; }
	.site-header .search { display: flex; flex: 1; max-width: 560px; margin-inline: auto; }
	.header__search-btn, .header__menu-btn { display: none; }
	.header__deals, .header__account { display: inline-flex; }
	.header__account { display: inline-grid; }
}

/* ---------- Main navigation & mega menu ---------- */
.main-nav { display: none; border-top: 1px solid var(--border); }
.menu { list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; }
@media (min-width: 1100px) {
	.main-nav { display: block; }
	.menu--desktop { display: flex; flex-wrap: nowrap; align-items: stretch; justify-content: space-between; gap: 2px; }
	.menu--desktop > li { position: static; display: flex; align-items: center; }
	.menu--desktop > li > a { display: block; padding: 13px 10px; font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text); position: relative; white-space: nowrap; }
	.menu--desktop > li > a::after { content: ""; position: absolute; inset-inline: 10px; bottom: 6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
	.menu--desktop > li:hover > a::after, .menu--desktop > li:focus-within > a::after, .menu--desktop > li.current-menu-item > a::after, .menu--desktop > li.current-menu-ancestor > a::after { transform: scaleX(1); }
	.menu--desktop > li.menu-deals > a { color: var(--accent); }
	.menu--desktop > li > .sub-toggle { display: none; }
	.menu--desktop .sub-toggle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; padding: 0; }
	.menu--desktop .sub-toggle:focus { position: static; width: auto; height: auto; clip: auto; background: none; }
	.menu--desktop .has-mega > .mega, .menu--desktop .has-dropdown > .dropdown {
		position: absolute; inset-inline: 0; top: 100%; z-index: 40; visibility: hidden; opacity: 0; transform: translateY(6px);
		transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s;
		background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); box-shadow: 0 24px 40px rgb(31 26 36 / 10%);
	}
	.menu--desktop .has-dropdown { position: relative; }
	.menu--desktop .has-dropdown > .dropdown { inset-inline: auto; inset-inline-start: 0; min-width: 260px; border: 1px solid var(--border); border-radius: var(--radius); }
	.menu--desktop li:hover > .mega, .menu--desktop li:hover > .dropdown,
	.menu--desktop li:focus-within > .mega, .menu--desktop li:focus-within > .dropdown,
	.menu--desktop li.is-open > .mega, .menu--desktop li.is-open > .dropdown { visibility: visible; opacity: 1; transform: none; transition-delay: .06s, .06s, 0s; }
	.mega__inner { max-width: var(--container); margin-inline: auto; padding: 28px var(--gutter) 32px; }
	.dropdown .mega__inner { padding: 12px; }
	.mega__inner > .sub-menu { list-style: none; margin: 0; padding: 0; columns: 5 200px; column-gap: 32px; }
	.mega__inner > .sub-menu > li { break-inside: avoid; margin-bottom: 22px; }
	.mega__inner > .sub-menu > li > a { display: block; font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
	.mega .sub-menu--1 { columns: auto; list-style: none; padding: 0; margin: 0; }
	.mega .sub-menu--1 li { margin: 0; }
	.mega .sub-menu--1 a { display: block; padding: 4px 0; font-size: .9rem; color: var(--muted); }
	.mega .sub-menu--1 a:hover, .mega__inner > .sub-menu > li > a:hover { color: var(--accent); }
	.dropdown .sub-menu { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 8px; }
	.dropdown .sub-menu a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); font-size: .9rem; }
	.dropdown .sub-menu a:hover { background: var(--surface-2); color: var(--text); }
}

/* ---------- Drawer (mobile navigation) ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer__backdrop, .filters__backdrop { position: absolute; inset: 0; background: rgb(15 10 18 / 45%); backdrop-filter: blur(2px); animation: fade .2s var(--ease); }
.drawer__panel {
	position: absolute; inset-block: 0; inset-inline-start: 0; width: min(92vw, 400px); display: flex; flex-direction: column;
	background: var(--surface); box-shadow: var(--shadow-lg); animation: slide-in .25s var(--ease);
}
[dir="rtl"] .drawer__panel { animation-name: slide-in-rtl; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 20px; padding-inline: 20px 12px; border-bottom: 1px solid var(--border); }
.drawer__title { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; }
.drawer__nav { flex: 1; overflow-y: auto; padding: 8px 0; overscroll-behavior: contain; }
.menu--mobile li { position: relative; }
.menu--mobile a { display: block; padding: 13px 56px 13px 20px; padding-inline: 20px 56px; font-weight: 600; }
.menu--mobile > li { border-bottom: 1px solid var(--border); }
.menu--mobile .sub-toggle { position: absolute; inset-inline-end: 8px; top: 4px; width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: none; border-radius: var(--pill); color: var(--muted); }
.menu--mobile .sub-toggle .icon { transition: transform .2s; }
.menu--mobile .sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.menu--mobile .mega, .menu--mobile .dropdown { display: none; background: var(--surface-2); }
.menu--mobile li.is-open > .mega, .menu--mobile li.is-open > .dropdown { display: block; }
.menu--mobile .sub-menu { list-style: none; margin: 0; padding: 4px 0; }
.menu--mobile .sub-menu a { padding-inline-start: 32px; font-weight: 500; font-size: .95rem; }
.menu--mobile .sub-menu--1 { display: none; padding: 0 0 6px; }
.menu--mobile li.is-open > .sub-menu--1 { display: block; }
.menu--mobile .sub-menu--1 a { padding-block: 9px; padding-inline-start: 46px; color: var(--muted); font-size: .9rem; }
.menu--mobile .menu-deals > a { color: var(--accent); }
.drawer__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; border-top: 1px solid var(--border); }
.drawer__foot a, .drawer__foot button { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-2); border: 0; text-decoration: none; font-size: .9rem; font-weight: 600; }
.drawer__foot .icon { width: 18px; height: 18px; color: var(--accent); }
body.is-locked { overflow: hidden; }

@keyframes fade { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(-100%); } }
@keyframes slide-in-rtl { from { transform: translateX(100%); } }
@keyframes slide-up { from { transform: translateY(100%); } }

/* ---------- Bottom navigation (mobile) ---------- */
.bottom-nav {
	position: fixed; inset-inline: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(5, 1fr);
	background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a, .bottom-nav button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 7px; background: none; border: 0; text-decoration: none; color: var(--muted); font-size: .68rem; font-weight: 600; }
.bottom-nav .icon { width: 22px; height: 22px; }
.bottom-nav [aria-current="page"], .bottom-nav a:hover { color: var(--primary); }
[data-theme="dark"] .bottom-nav [aria-current="page"] { color: var(--accent); }
.bottom-nav__deals { color: var(--accent) !important; }
.bottom-nav .count-badge { inset-inline-end: calc(50% - 22px); top: 3px; }
body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
@media (min-width: 1100px) { .bottom-nav { display: none; } body { padding-bottom: 0; } }

/* ---------- Toast ---------- */
.toast {
	position: fixed; z-index: 300; inset-inline: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); margin-inline: auto; max-width: 420px;
	padding: 14px 18px; border-radius: var(--radius); background: var(--secondary); color: #fff; box-shadow: var(--shadow-lg);
	font-weight: 600; font-size: .92rem; text-align: center; animation: toast-in .25s var(--ease);
}
[data-theme="dark"] .toast { background: #fff; color: #1f1a24; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
@media (min-width: 1100px) { .toast { bottom: 24px; } }

/* ---------- Age gate ---------- */
.age-gate { display: none; }
.age-pending .age-gate {
	display: flex; position: fixed; inset: 0; z-index: 1000; align-items: center; justify-content: center; padding: 20px;
	background: radial-gradient(120% 90% at 20% 0%, color-mix(in srgb, var(--primary) 85%, #000) 0%, #120a12 70%);
}
.age-pending body { overflow: hidden; }
.age-gate__box { width: 100%; max-width: 460px; padding: 36px 28px; border-radius: var(--radius-lg); background: var(--surface); text-align: center; box-shadow: var(--shadow-lg); }
.age-gate__badge { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); font-weight: 800; font-size: 1.1rem; margin-bottom: 12px; }
.age-gate__site { margin: 0 0 6px; font-family: var(--font-heading); font-size: 1.1rem; color: var(--muted); }
.age-gate__title { font-size: 1.7rem; }
.age-gate__text { color: var(--muted); }
.age-gate__actions { display: grid; gap: 10px; margin-top: 20px; }
.age-gate__note { margin: 16px 0 0; font-size: .78rem; color: var(--muted); }
@media (min-width: 480px) { .age-gate__actions { grid-template-columns: 1fr 1fr; } }

/* ---------- Sections ---------- */
.site-main { display: block; min-height: 50vh; }
.site-main:focus { outline: none; }
.section { padding-block: 40px; }
.section--flush { padding-top: 8px; }
.section--tint { background: var(--tint); }
.section--muted { background: var(--surface-2); }
.section--muted .pcard, .section--muted .coupon { opacity: .85; }
@media (min-width: 900px) { .section { padding-block: 64px; } .section--flush { padding-top: 12px; } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-title { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0; }
.section-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: .9rem; text-decoration: none; white-space: nowrap; color: var(--primary); }
[data-theme="dark"] .section-link { color: var(--accent); }
.section-link .icon { width: 16px; height: 16px; transition: transform .15s; }
.section-link:hover .icon { transform: translateX(3px); }
[dir="rtl"] .section-link .icon { transform: scaleX(-1); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--accent) 55%, var(--primary)) 0%, var(--primary) 45%, color-mix(in srgb, var(--primary) 60%, #000) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 10% 110%, rgb(255 255 255 / 10%), transparent); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; display: grid; gap: 32px; padding-block: 48px 56px; align-items: center; }
.hero__title { color: #fff; font-size: clamp(2.3rem, 6vw, 4.2rem); line-height: 1.04; letter-spacing: -.02em; margin-bottom: 16px; }
.hero__sub { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgb(255 255 255 / 82%); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; margin: 32px 0 0; padding: 0; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-heading); font-size: 1.6rem; line-height: 1.1; }
.hero__stats span { font-size: .8rem; color: rgb(255 255 255 / 70%); }
.hero__visual { position: relative; max-width: 300px; width: 100%; justify-self: center; }
@media (min-width: 640px) { .hero__visual { max-width: 420px; } }
@media (min-width: 900px) { .hero__visual { max-width: 520px; } }
.hero__art { aspect-ratio: 1; border-radius: 48% 52% 46% 54% / 55% 45% 55% 45%; overflow: hidden; box-shadow: 0 30px 80px rgb(0 0 0 / 35%); }
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__deal {
	position: absolute; inset-inline-start: -8px; bottom: 12%; display: flex; align-items: center; gap: 12px; max-width: 290px;
	padding: 12px 16px 12px 12px; padding-inline: 12px 16px; border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; box-shadow: var(--shadow-lg);
	animation: float 6s ease-in-out infinite;
}
.hero__deal:hover { color: var(--text); }
.hero__deal-off { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; flex: none; }
.hero__deal-body { display: flex; flex-direction: column; min-width: 0; }
.hero__deal-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.hero__deal-title { font-weight: 650; font-size: .9rem; line-height: 1.25; }
.hero__deal-price { font-weight: 800; }
.hero__chip { position: absolute; inset-inline-end: 4%; top: 8%; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--pill); background: rgb(255 255 255 / 16%); backdrop-filter: blur(8px); font-size: .8rem; font-weight: 600; border: 1px solid rgb(255 255 255 / 25%); }
.hero__chip .icon { width: 14px; height: 14px; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.1fr .9fr; padding-block: 80px 88px; } }

/* ---------- Trust strip ---------- */
.trust-strip { border-bottom: 1px solid var(--border); background: var(--surface); }
.trust-strip__inner, .footer__trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding-block: 18px; }
.trust-item { display: flex; align-items: flex-start; gap: 10px; font-size: .82rem; line-height: 1.35; }
.trust-item .icon { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); flex: none; }
[data-theme="dark"] .trust-item .icon { color: var(--accent); }
.trust-item strong { display: block; font-size: .88rem; }
.trust-item span { color: var(--muted); }
@media (min-width: 900px) { .trust-strip__inner, .footer__trust { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Grids & rails ---------- */
.grid { display: grid; gap: 12px; }
.grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--coupons { grid-template-columns: 1fr; }
.grid--brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--stores { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid--posts { grid-template-columns: 1fr; gap: 24px; }
.grid--single { grid-template-columns: minmax(0, 320px); }
.grid--picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stack { display: grid; gap: 12px; }
@media (min-width: 640px) {
	.grid { gap: 16px; }
	.grid--coupons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid--stores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid--posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid--brands { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
	.grid--products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.grid--cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.grid--picks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
	.grid { gap: 20px; }
	.grid--products, .grid--featured { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.grid--coupons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.grid--stores { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.grid--posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.grid--brands { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.grid--cats-sm { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.listing__results .grid--products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) { .listing__results .grid--products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 72%); gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
	scrollbar-width: thin;
}
.rail > * { scroll-snap-align: start; }
.rail--brands { grid-auto-columns: minmax(140px, 40%); }
@media (min-width: 640px) { .rail { grid-auto-columns: minmax(220px, 42%); } .rail--brands { grid-auto-columns: minmax(150px, 22%); } }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; margin-inline: 0; padding-inline: 0; } .rail--brands { grid-auto-columns: calc((100% - 100px) / 6); } }

.rail-wrap { position: relative; }
.rail-nav { display: none; }
@media (min-width: 1100px) {
	.rail-nav { position: absolute; top: 34%; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); box-shadow: var(--shadow); transition: opacity .2s, transform .15s; }
	.rail-nav:hover { transform: scale(1.06); }
	.rail-nav[disabled] { opacity: 0; pointer-events: none; }
	.rail-nav--prev { inset-inline-start: -22px; }
	.rail-nav--next { inset-inline-end: -22px; }
	.rail-nav .icon { width: 20px; height: 20px; }
	[dir="rtl"] .rail-nav .icon { transform: scaleX(-1); }
}

/* ---------- Placeholder art ---------- */
.ph {
	display: grid; place-items: center; width: 100%; height: 100%; aspect-ratio: 1;
	background:
		radial-gradient(60% 60% at 30% 25%, hsl(var(--h) 70% 86% / .95), transparent 70%),
		radial-gradient(50% 50% at 75% 80%, hsl(calc(var(--h) + 25) 60% 70% / .8), transparent 70%),
		linear-gradient(135deg, hsl(var(--h) 45% 92%), hsl(calc(var(--h) - 20) 40% 80%));
}
[data-theme="dark"] .ph { filter: brightness(.55) saturate(.9); }
.ph__mark { font-family: var(--font-heading); font-size: clamp(2rem, 6vw, 3.5rem); color: rgb(255 255 255 / 92%); text-shadow: 0 2px 20px rgb(0 0 0 / 18%); text-align: center; padding-inline: 12px; line-height: 1.1; }
.ph__mark--word { font-size: clamp(1.05rem, 2.4vw, 1.6rem); letter-spacing: .02em; font-style: italic; }
.ph__mark--word::before, .ph__mark--word::after { content: ""; display: block; width: 28px; height: 1px; margin: 10px auto; background: rgb(255 255 255 / 70%); }

/* ---------- Product card ---------- */
.pcard {
	position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
	transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s;
}
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: color-mix(in srgb, var(--border) 50%, var(--primary)); }
.pcard__media { position: relative; background: var(--surface-2); }
.pcard__img { display: block; aspect-ratio: 1; overflow: hidden; text-decoration: none; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard.is-expired .pcard__img { filter: grayscale(.8); opacity: .7; }
.badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; flex-wrap: wrap; gap: 4px; max-width: calc(100% - 60px); }
.badge {
	display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: var(--pill); font-size: .65rem; font-weight: 750;
	text-transform: uppercase; letter-spacing: .05em; background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); line-height: 1.5;
}
.badge .icon { width: 12px; height: 12px; }
.badge--flash { background: var(--accent); color: #fff; }
.badge--exclusive { background: var(--secondary); color: #fff; }
[data-theme="dark"] .badge--exclusive { background: #fff; color: #1f1a24; }
.badge--coupon { background: #fff4d6; color: #7a5600; }
.badge--trending { background: var(--accent-soft); color: var(--accent); }
.badge--bestseller { background: #fbefc8; color: #6d5300; }
.badge--featured { background: var(--primary-soft); color: var(--primary); }
.badge--limited { background: #ffe8de; color: #9b3a12; }
.badge--expired { background: var(--surface-2); color: var(--muted); }
.badge--verified { background: color-mix(in srgb, var(--success) 14%, var(--surface)); color: var(--success); }
.badge--best { background: var(--success); color: #fff; }
[data-theme="dark"] .badge--coupon, [data-theme="dark"] .badge--bestseller, [data-theme="dark"] .badge--limited { background: var(--surface-2); color: #f3d38a; }
.pcard__off {
	position: absolute; bottom: 10px; inset-inline-start: 10px; padding: 4px 9px; border-radius: var(--pill);
	background: var(--accent); color: #fff; font-weight: 800; font-size: .78rem; box-shadow: var(--shadow-sm);
}
.pcard__off--lg { font-size: .95rem; padding: 6px 12px; }
.pcard__rank {
	position: absolute; top: 10px; inset-inline-start: 10px; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
	background: var(--secondary); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; box-shadow: var(--shadow-sm);
}
.rail--ranked .pcard__rank + .badges, .grid--ranked .pcard__rank + .badges { inset-inline-start: 50px; }
.wish {
	display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 92%);
	color: var(--text); box-shadow: var(--shadow-sm); transition: transform .15s, color .15s;
}
.wish .icon { width: 19px; height: 19px; }
.wish:hover { transform: scale(1.08); color: var(--accent); }
.wish[aria-pressed="true"] { color: var(--accent); }
.wish[aria-pressed="true"] .icon { fill: currentColor; }
.pcard__wish { position: absolute; top: 8px; inset-inline-end: 8px; }
[data-theme="dark"] .wish { background: rgb(30 26 34 / 90%); }
.wish--text { width: auto; height: 40px; padding-inline: 14px; border-radius: var(--pill); background: var(--surface-2); box-shadow: none; display: inline-flex; gap: 6px; }
.wish--text::after { content: attr(data-label); font-size: .85rem; font-weight: 600; }
.pcard__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 12px; }
@media (min-width: 640px) { .pcard__body { padding: 14px 16px 16px; } }
.pcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 18px; }
.pcard__brand { font-size: .7rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__verified { display: inline-flex; align-items: center; gap: 3px; color: var(--success); font-size: .72rem; font-weight: 700; }
.pcard__verified .icon { width: 15px; height: 15px; }
.pcard__title { font-family: var(--font-body); font-size: .92rem; font-weight: 650; line-height: 1.35; margin: 0; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__title a { text-decoration: none; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.pcard__wish, .pcard__foot, .pcard .countdown { position: relative; z-index: 1; }
.pcard__media .badges, .pcard__off, .pcard__rank { z-index: 1; }
.pcard__wish { position: absolute; }
.pcard__desc { display: none; font-size: .82rem; color: var(--muted); line-height: 1.45; margin: 0; }
@media (min-width: 900px) { .pcard__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } }
.pcard__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: auto; padding-top: 4px; }
.pcard__save { font-size: .74rem; font-weight: 700; color: var(--success); }
.pcard__coupon, .pcard__exp { display: flex; align-items: center; gap: 5px; margin: 0; font-size: .76rem; font-weight: 650; color: #8a6200; }
[data-theme="dark"] .pcard__coupon { color: #f3d38a; }
.pcard__exp { color: var(--muted); font-weight: 500; }
.pcard__coupon .icon, .pcard__exp .icon { width: 14px; height: 14px; }
.pcard__foot { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.pcard__store { display: flex; align-items: center; gap: 5px; font-size: .75rem; color: var(--muted); }
.pcard__store .icon { width: 14px; height: 14px; }
.pcard--deal .pcard__price { margin-top: 0; }
.pcard--deal .pcard__foot { margin-top: auto; }

/* Price */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.price__now { font-weight: 800; font-size: 1.08rem; color: var(--text); letter-spacing: -.01em; }
.price__old { font-size: .82rem; color: var(--muted); }
.price__off { display: inline-block; padding: 1px 7px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: .74rem; }
.price--lg .price__now { font-size: clamp(1.8rem, 4vw, 2.3rem); font-family: var(--font-heading); }
.price--lg .price__old { font-size: 1.05rem; }
.price--lg .price__off { font-size: .9rem; padding: 3px 10px; }

/* Stars */
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); }
.stars { --size: 15px; position: relative; display: inline-block; width: calc(var(--size) * 5); height: var(--size); background: color-mix(in srgb, var(--muted) 30%, transparent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 3 6.6 7 .8-5.2 4.8 1.4 7L12 17.7 5.8 21.2l1.4-7L2 9.4l7-.8z'/%3E%3C/svg%3E") 0 0 / var(--size) var(--size) repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 3 6.6 7 .8-5.2 4.8 1.4 7L12 17.7 5.8 21.2l1.4-7L2 9.4l7-.8z'/%3E%3C/svg%3E") 0 0 / var(--size) var(--size) repeat-x; }
.stars::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--pct); background: var(--gold); }
.rating__value { font-weight: 750; color: var(--text); }
.rating__max { font-weight: 500; color: var(--muted); }
.rating--compact .stars { --size: 13px; }
.rating--compact { font-size: .76rem; gap: 4px; }
.rating--compact .rating__count { display: none; }

/* Countdown */
.countdown { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .74rem; }
.countdown__label { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.countdown__label .icon { width: 14px; height: 14px; }
.countdown__units { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.countdown__unit { display: inline-flex; align-items: baseline; gap: 2px; padding: 2px 5px; border-radius: var(--radius-xs); background: var(--accent-soft); color: var(--accent); }
.countdown__unit b { font-variant-numeric: tabular-nums; font-weight: 800; }
.countdown__unit small { font-size: .62rem; opacity: .8; text-transform: uppercase; }
.countdown--lg { gap: 10px 14px; font-size: .85rem; }
.countdown--lg .countdown__units { gap: 8px; }
.countdown--lg .countdown__unit { flex-direction: column; align-items: center; min-width: 56px; padding: 8px 6px; border-radius: var(--radius-sm); background: var(--secondary); color: #fff; }
[data-theme="dark"] .countdown--lg .countdown__unit { background: var(--surface-2); }
.countdown--lg .countdown__unit b { font-size: 1.5rem; line-height: 1; font-family: var(--font-heading); }
.countdown--lg .countdown__unit small { font-size: .6rem; letter-spacing: .08em; margin-top: 4px; color: rgb(255 255 255 / 70%); }
.countdown.is-expired .countdown__units, .countdown.is-expired .countdown__label { display: none; }
.countdown__expired { display: inline-flex; padding: 4px 10px; border-radius: var(--pill); background: var(--surface-2); color: var(--danger); font-weight: 800; text-transform: uppercase; font-size: .72rem; letter-spacing: .05em; }

/* ---------- Coupon card ---------- */
.coupon {
	position: relative; display: grid; grid-template-columns: 96px 1fr; grid-template-areas: "value body" "action action";
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s;
}
.coupon:hover { box-shadow: var(--shadow); }
.coupon__value {
	grid-area: value; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 14px 8px; text-align: center;
	background: var(--primary-soft); border-inline-end: 2px dashed var(--border);
}
.coupon__value::before, .coupon__value::after { content: ""; position: absolute; inset-inline-end: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--background); border: 1px solid var(--border); }
.coupon__value::before { top: -9px; }
.coupon__value::after { bottom: -9px; }
.coupon__logo img { max-height: 28px; width: auto; }
.coupon__discount { font-family: var(--font-heading); font-size: 1.15rem; line-height: 1.1; color: var(--primary); }
[data-theme="dark"] .coupon__discount { color: var(--accent); }
.coupon__kind { font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.coupon__body { grid-area: body; padding: 14px 16px 6px; min-width: 0; }
.coupon__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.coupon__tags .badge { box-shadow: none; }
.coupon__title { font-family: var(--font-body); font-size: .98rem; font-weight: 700; margin: 0 0 4px; line-height: 1.3; }
.coupon__title a { text-decoration: none; }
.coupon__desc { font-size: .82rem; color: var(--muted); margin: 0 0 6px; }
.coupon__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; font-size: .76rem; color: var(--muted); }
.coupon__meta li { display: inline-flex; align-items: center; gap: 4px; }
.coupon__meta .icon { width: 13px; height: 13px; }
.coupon__action { grid-area: action; padding: 10px 16px 16px; display: flex; }
.coupon__action > * { flex: 1; }
.coupon__code {
	position: relative; display: flex; align-items: stretch; min-height: 46px; padding: 0; border: 2px dashed var(--accent); border-radius: var(--pill);
	background: var(--accent-soft); overflow: hidden; font-weight: 800; letter-spacing: .08em; color: var(--accent);
}
.coupon__peek { display: flex; align-items: center; justify-content: flex-end; flex: 1; padding-inline: 16px; font-family: ui-monospace, monospace; }
.coupon__btn {
	position: absolute; inset-block: 0; inset-inline-start: 0; inset-inline-end: 44px; display: flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--accent); color: #fff; text-transform: uppercase; font-size: .8rem; letter-spacing: .06em;
	border-start-end-radius: 26px 40px; border-end-end-radius: 26px 40px; transition: inset-inline-end .25s var(--ease);
}
.coupon__btn .icon { width: 16px; height: 16px; }
.coupon__code:hover .coupon__btn { inset-inline-end: 54px; }
.coupon__code.is-revealed .coupon__btn { display: none; }
.coupon__code.is-revealed .coupon__peek { justify-content: center; }
.coupon.is-expired { opacity: .7; }
@media (min-width: 640px) {
	.coupon { grid-template-columns: 110px 1fr; }
}

/* ---------- Entity cards (brand/store) ---------- */
.ecard { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-align: center; height: 100%; transition: box-shadow .2s, transform .2s; }
.ecard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ecard__link { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; width: 100%; }
.ecard__logo { display: grid; place-items: center; width: 100%; aspect-ratio: 2 / 1; border-radius: var(--radius-sm); background: var(--surface-2); overflow: hidden; padding: 10px; }
.ecard__logo img { max-height: 100%; width: auto; object-fit: contain; }
.ecard__mono { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--primary); line-height: 1.1; }
[data-theme="dark"] .ecard__mono { color: var(--text); }
.ecard__name { font-weight: 700; font-size: .92rem; }
.ecard__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .76rem; color: var(--muted); text-align: start; width: 100%; }
.ecard__facts li { display: flex; align-items: center; gap: 6px; }
.ecard__facts .icon { width: 14px; height: 14px; }
.is-ok { color: var(--success); }
.ecard--store { align-items: stretch; }
.ecard--store .ecard__link { align-items: center; }
.ecard--store .rating { justify-content: center; }
.ecard--store .btn { margin-top: auto; }

/* ---------- Category card ---------- */
.ccard { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; box-shadow: var(--shadow-sm); }
.ccard__img, .ccard__img img, .ccard__img .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.ccard__img img { transition: transform .6s var(--ease); }
.ccard:hover .ccard__img img { transform: scale(1.06); }
.ccard::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, transparent 35%, rgb(15 8 15 / 72%) 100%); }
.ccard__body { position: absolute; z-index: 1; inset-inline: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 2px; }
.ccard__title { font-family: var(--font-heading); font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 600; line-height: 1.15; }
.ccard__sub { font-size: .76rem; color: rgb(255 255 255 / 80%); }
.ccard__arrow { position: absolute; z-index: 1; top: 12px; inset-inline-end: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgb(255 255 255 / 18%); backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.ccard__arrow .icon { width: 16px; height: 16px; }
[dir="rtl"] .ccard__arrow .icon { transform: scaleX(-1); }
.ccard:hover { color: #fff; }
.ccard:hover .ccard__arrow { background: var(--accent); transform: rotate(-45deg); }
.grid--cats-sm .ccard { aspect-ratio: 1; }
.grid--cats-sm .ccard__title { font-size: 1.05rem; }

/* ---------- Page headers ---------- */
.page-head { padding-block: 20px 24px; background: linear-gradient(180deg, var(--tint), var(--background)); }
.page-head--plain { background: none; padding-inline: 0; }
.page-head--deals { background: radial-gradient(80% 140% at 100% 0%, var(--accent-soft), var(--background) 70%); }
.page-head__title { font-size: clamp(1.8rem, 4.4vw, 2.8rem); margin: 6px 0 8px; }
.page-head__desc { max-width: 720px; color: var(--muted); margin: 0 0 16px; }
.page-head .search { max-width: 640px; margin-block: 14px; }
.breadcrumbs { font-size: .8rem; color: var(--muted); padding-block: 10px 4px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs [aria-current] { color: var(--text); font-weight: 600; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-block: 6px 4px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
[dir="rtl"] .chips { -webkit-mask-image: linear-gradient(-90deg, #000 90%, transparent); mask-image: linear-gradient(-90deg, #000 90%, transparent); }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .chips { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; } }
.chip-link { flex: none; padding: 8px 14px; border-radius: var(--pill); border: 1px solid var(--border); background: var(--surface); font-size: .84rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: border-color .15s, background .15s; }
.chip-link:hover { border-color: var(--text); color: var(--text); }
.chip-link.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.az { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.az a, .az span { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); text-decoration: none; font-weight: 700; font-size: .85rem; }
.az a:hover { border-color: var(--text); }
.az a.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }
.az .is-disabled { opacity: .35; }

/* Category hero */
.cat-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--tint), var(--background)); }
.cat-hero__inner { position: relative; z-index: 1; padding-block: 16px 28px; }
.cat-hero__title { font-size: clamp(1.8rem, 4.6vw, 3rem); margin: 8px 0; max-width: 820px; }
.cat-hero__intro { max-width: 680px; color: var(--muted); margin-bottom: 14px; }
.cat-hero--root { background: var(--primary); color: #fff; }
.cat-hero--root .cat-hero__inner { padding-block: 20px 44px; }
.cat-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cat-hero--root::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(20 8 18 / 70%), rgb(20 8 18 / 20%)); }
[dir="rtl"] .cat-hero--root::after { background: linear-gradient(-90deg, rgb(20 8 18 / 70%), rgb(20 8 18 / 20%)); }
.cat-hero--root .cat-hero__title { color: #fff; }
.cat-hero--root .cat-hero__intro, .cat-hero--root .breadcrumbs, .cat-hero--root .breadcrumbs [aria-current] { color: rgb(255 255 255 / 85%); }
.cat-hero--root .chip-link { background: rgb(255 255 255 / 12%); border-color: rgb(255 255 255 / 25%); color: #fff; backdrop-filter: blur(6px); }
.cat-hero--root .chip-link:hover { background: #fff; color: var(--primary); }
.cat-hero--root .chips { -webkit-mask-image: none; mask-image: none; }
@media (min-width: 900px) { .cat-hero--root .cat-hero__inner { padding-block: 28px 72px; } }

/* ---------- Listing & filters ---------- */
.listing__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px 14px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.listing__count { margin: 0; font-weight: 650; color: var(--muted); font-size: .9rem; }
.listing__tools { display: flex; align-items: center; gap: 10px; }
.listing__filter-btn { position: relative; }
.listing__filter-btn .count-badge { position: static; margin-inline-start: 4px; }
.listing__sort { display: none; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.listing__sort select, .fgroup select { min-height: 40px; padding: 6px 34px 6px 12px; padding-inline: 12px 34px; border-radius: var(--pill); border: 1px solid var(--border); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6170' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; -webkit-appearance: none; appearance: none; color: var(--text); font-weight: 600; }
[dir="rtl"] .listing__sort select, [dir="rtl"] .fgroup select { background-position: left 10px center; }
.listing__layout { display: block; }
.listing__results { min-width: 0; transition: opacity .2s; }
.listing__results[aria-busy="true"] { opacity: .45; pointer-events: none; }
.filters { display: none; }
.filters.is-open { display: block; position: fixed; inset: 0; z-index: 210; }
.filters.is-open .filters__panel {
	position: absolute; inset-inline: 0; bottom: 0; max-height: 88vh; display: flex; flex-direction: column;
	background: var(--surface); border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: var(--shadow-lg); animation: slide-up .28s var(--ease);
}
.filters__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 20px; padding-inline: 20px 10px; border-bottom: 1px solid var(--border); }
.filters__title { font-size: 1.15rem; margin: 0; }
.filters__body { flex: 1; overflow-y: auto; padding: 4px 20px; overscroll-behavior: contain; }
.filters__foot { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }
.fgroup { border: 0; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--border); min-width: 0; }
.fgroup:last-child { border-bottom: 0; }
.fgroup__title { display: block; padding: 0; margin-bottom: 10px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: var(--text); }
.fgroup__list { display: grid; gap: 2px; }
.fgroup__list--scroll { max-height: 220px; overflow-y: auto; padding-inline-end: 4px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 2px; font-size: .9rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.check span { flex: 1; }
.check small { color: var(--muted); font-size: .75rem; }
.fgroup__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 6px 12px; border-radius: var(--pill); border: 1px solid var(--border); font-size: .82rem; font-weight: 600; transition: all .15s; }
.chip input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip input:focus-visible + span { box-shadow: var(--focus); }
.fgroup__range { display: flex; align-items: center; gap: 8px; }
.fgroup__range input { width: 100%; min-height: 40px; padding: 6px 10px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); }
.fgroup__range label { flex: 1; }
.fgroup--sort select { width: 100%; }
.filters__widgets { margin-top: 20px; display: none; }
@media (min-width: 1100px) { .filters__widgets { display: block; } }
@media (min-width: 1100px) {
	.listing__filter-btn { display: none; }
	.listing__sort { display: inline-flex; }
	.listing__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
	.filters { display: block; position: sticky; top: calc(var(--header-h) + 60px); max-height: calc(100vh - var(--header-h) - 80px); overflow-y: auto; scrollbar-width: thin; }
	.filters__backdrop, .filters__head, .fgroup--sort { display: none; }
	.filters__panel { background: transparent; }
	.filters__body { padding: 0; overflow: visible; }
	.filters__foot { grid-template-columns: 1fr 1fr; padding: 12px 0; border: 0; }
	.filters [data-filters-apply] { display: none; }
	.js .filters__foot { grid-template-columns: 1fr; }
}
.no-js .filters [data-filters-apply] { display: inline-flex; }

.empty-state { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 16px; text-align: center; color: var(--muted); border: 1px dashed var(--border); border-radius: var(--radius); background: var(--surface); }
.empty-state .icon { width: 36px; height: 36px; color: var(--accent); }

/* Pagination */
.pagination { margin-top: 32px; }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--pill); border: 1px solid var(--border); background: var(--surface); text-decoration: none; font-weight: 650; }
.pagination .page-numbers.current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination a.page-numbers:hover { border-color: var(--text); color: var(--text); }
.pagination .icon { width: 18px; height: 18px; }
[dir="rtl"] .pagination .icon { transform: scaleX(-1); }

/* ---------- Single product ---------- */
.product__top { display: grid; gap: 24px; padding-block: 8px 24px; }
@media (min-width: 900px) { .product__top { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; padding-bottom: 40px; } }
.gallery { position: relative; }
.gallery__main { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery__main .pcard__off { top: 16px; bottom: auto; inset-inline-start: 16px; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumb { flex: none; width: 72px; height: 72px; padding: 0; border-radius: var(--radius-sm); border: 2px solid transparent; overflow: hidden; background: var(--surface-2); opacity: .7; transition: opacity .15s, border-color .15s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active, .gallery__thumb:hover { opacity: 1; border-color: var(--accent); }
@media (min-width: 900px) { .gallery { position: sticky; top: calc(var(--header-h) + 64px); } }
.summary__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 6px; }
.summary__meta .badges { position: static; }
.summary__brand { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); text-decoration: none; }
.summary__title { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin-bottom: 10px; }
.summary__buy { display: grid; gap: 14px; margin-block: 18px; padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.summary__save { margin: -8px 0 0; color: var(--success); font-weight: 700; font-size: .9rem; }
.summary__coupon { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: var(--radius); background: #fff8e6; color: #6d4c00; font-weight: 650; font-size: .88rem; }
[data-theme="dark"] .summary__coupon { background: var(--surface-2); color: #f3d38a; }
.summary__coupon > span { display: inline-flex; align-items: center; gap: 6px; }
.code-copy { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--radius-sm); border: 2px dashed currentColor; background: transparent; color: inherit; font-weight: 800; }
.code-copy code { font-size: 1rem; letter-spacing: .08em; }
.code-copy .icon { width: 16px; height: 16px; }
.summary__store { margin: 0; font-size: .88rem; color: var(--muted); text-align: center; }
.summary__store a { font-weight: 650; color: var(--text); }
.trust-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 0 0 16px; padding: 0; font-size: .84rem; }
.trust-list li { display: flex; align-items: center; gap: 8px; }
.trust-list .icon { width: 18px; height: 18px; color: var(--success); }
.disclosure { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--muted); font-size: .8rem; line-height: 1.5; }
.disclosure .icon { width: 16px; height: 16px; margin-top: 2px; }
.disclosure--compact { padding: 8px 12px; font-size: .74rem; }
.summary__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.share { display: flex; align-items: center; gap: 4px; }
.share__label { font-size: .8rem; font-weight: 700; color: var(--muted); margin-inline-end: 4px; }
.share__btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; }
.share__btn:hover { border-color: var(--accent); color: var(--accent); }
.share__btn .icon { width: 17px; height: 17px; }
.notice { padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 650; margin: 0; }
.notice--error { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--danger); }
.notice--success { background: color-mix(in srgb, var(--success) 12%, var(--surface)); color: var(--success); }
.jump { position: sticky; top: var(--header-h); z-index: 20; display: flex; gap: 4px; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter); background: color-mix(in srgb, var(--background) 92%, transparent); backdrop-filter: blur(10px); border-block: 1px solid var(--border); scrollbar-width: none; }
.has-sticky-header .jump { top: var(--header-h); }
@media (min-width: 1100px) { .has-sticky-header .jump { top: calc(var(--header-h) + 46px); } }
.jump a { flex: none; padding: 7px 14px; border-radius: var(--pill); font-size: .85rem; font-weight: 650; text-decoration: none; color: var(--muted); }
.jump a:hover { background: var(--surface-2); color: var(--text); }
.product__content { display: grid; gap: 32px; padding-block: 28px 16px; }
@media (min-width: 1100px) { .product__content { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } .product__aside { position: sticky; top: calc(var(--header-h) + 110px); } }
.product__section { margin-bottom: 40px; }
.product__section > .section-title, .compare > .section-title, .faq > .section-title { margin-bottom: 16px; }
.product__specs { display: grid; gap: 32px; }
@media (min-width: 768px) { .product__specs { grid-template-columns: 1fr 1fr; } }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: color-mix(in srgb, var(--success) 14%, var(--surface)); color: var(--success); flex: none; margin-top: 2px; }
.specs { width: 100%; border-collapse: collapse; font-size: .9rem; }
.specs th, .specs td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: start; vertical-align: top; }
.specs th { width: 42%; color: var(--muted); font-weight: 600; }
.specs tr:nth-child(odd) { background: var(--surface-2); }
.proscons { display: grid; gap: 14px; }
@media (min-width: 640px) { .proscons { grid-template-columns: 1fr 1fr; } }
.proscons__col { padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.proscons__col--pros { border-top: 3px solid var(--success); }
.proscons__col--cons { border-top: 3px solid var(--danger); }
.proscons__title { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; margin-bottom: 10px; }
.proscons__col--pros .proscons__title .icon { color: var(--success); }
.proscons__col--cons .proscons__title .icon { color: var(--danger); }
.proscons ul { margin: 0; padding-inline-start: 18px; display: grid; gap: 6px; }
.proscons--compact .proscons__col { padding: 12px 14px; }
.callout { margin-bottom: 40px; padding: 22px 24px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft)); border: 1px solid var(--border); }
.callout__title { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }
.callout__title .icon { color: var(--accent); }
.aside-box { margin-bottom: 24px; }
.aside-box__title { font-size: 1.05rem; margin-bottom: 10px; }
.sticky-cta {
	position: fixed; inset-inline: 0; bottom: calc(60px + env(safe-area-inset-bottom)); z-index: 80; display: flex; align-items: center; gap: 12px;
	padding: 10px var(--gutter); background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgb(31 26 36 / 8%);
	transform: translateY(150%); transition: transform .25s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta__info { flex: 1; min-width: 0; }
.sticky-cta__title { display: block; font-size: .8rem; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta .price__now { font-size: 1rem; }
@media (min-width: 1100px) { .sticky-cta { bottom: 0; } .sticky-cta__info { max-width: 980px; margin-inline: auto; } }

/* Compare table */
.compare { margin-bottom: 40px; }
.compare__wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.compare__table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.compare__table thead { display: none; }
.compare__table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.compare__table tr:last-child { border-bottom: 0; }
.compare__table th[scope="row"] { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; text-align: start; font-weight: 700; }
.compare__table td { display: flex; flex-direction: column; font-size: .85rem; }
.compare__table td::before { content: attr(data-label); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.compare__table td.compare__cta { grid-column: 1 / -1; }
.compare__table td.compare__cta::before { display: none; }
.compare__table td.compare__cta .btn { width: 100%; }
.compare__logo img { width: 32px; height: 32px; border-radius: var(--radius-xs); object-fit: contain; background: #fff; }
.compare__table tr.is-best { background: color-mix(in srgb, var(--success) 6%, var(--surface)); }
.compare__table tr.is-oos { opacity: .6; }
.compare__table del { font-size: .78rem; }
.compare__note { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .78rem; color: var(--muted); }
.compare__note .icon { width: 14px; height: 14px; }
.code-chip { display: inline-block; padding: 2px 8px; border-radius: var(--radius-xs); border: 1px dashed var(--accent); color: var(--accent); font-weight: 700; font-size: .8rem; background: var(--accent-soft); }
@media (min-width: 768px) {
	.compare__table thead { display: table-header-group; }
	.compare__table tr { display: table-row; padding: 0; }
	.compare__table th, .compare__table td { display: table-cell; padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; text-align: start; }
	.compare__table thead th { background: var(--surface-2); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
	.compare__table th[scope="row"] { display: table-cell; }
	.compare__table th[scope="row"] > * { vertical-align: middle; margin-inline-end: 8px; }
	.compare__table th[scope="row"] .compare__logo { display: inline-block; }
	.compare__table td::before { display: none; }
	.compare__table td.compare__cta .btn { width: auto; }
	.compare__table tr:last-child th, .compare__table tr:last-child td { border-bottom: 0; }
}

/* FAQ */
.faq { margin-bottom: 40px; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 2px; cursor: pointer; list-style: none; font-weight: 650; font-size: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { width: 20px; height: 20px; color: var(--accent); transition: transform .2s; flex: none; }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__a { padding: 0 2px 16px; color: var(--muted); }
.faq__a p:last-child { margin-bottom: 0; }

/* Entity header (store/brand) */
.entity { display: grid; gap: 20px; align-items: center; margin-block: 8px 12px; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.entity__logo { display: grid; place-items: center; width: 120px; height: 120px; border-radius: var(--radius); background: var(--surface-2); padding: 14px; overflow: hidden; }
.entity__logo img { max-height: 100%; width: auto; object-fit: contain; }
.entity__title { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin-bottom: 6px; }
.entity__desc { color: var(--muted); margin: 10px 0 0; max-width: 640px; }
.entity__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; padding: 0; font-size: .85rem; color: var(--muted); }
.entity__facts li { display: inline-flex; align-items: center; gap: 6px; }
.entity__facts .icon { width: 16px; height: 16px; }
.entity__cta { display: grid; gap: 8px; min-width: 240px; }
@media (min-width: 900px) { .entity { grid-template-columns: auto minmax(0, 1fr) minmax(240px, 320px); padding: 32px; } }

/* ---------- Tabs ---------- */
.tabs__list { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 20px; scrollbar-width: none; }
.tabs__tab { flex: none; padding: 10px 18px; border-radius: var(--pill); border: 1px solid var(--border); background: var(--surface); font-weight: 650; font-size: .9rem; }
.tabs__tab[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.tabs__more { text-align: center; margin-top: 20px; }
.flash__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.flash__head .section-head { margin: 0; }
.section--flash { background: linear-gradient(180deg, var(--accent-soft), var(--background) 75%); }

/* ---------- Posts ---------- */
.post-card { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.post-card__img img, .post-card__img .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.post-card__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.post-card__body .eyebrow { margin-bottom: 2px; }
.post-card__title { font-size: 1.15rem; margin: 0; }
.post-card__title a { text-decoration: none; }
.post-card__excerpt { font-size: .88rem; color: var(--muted); margin: 4px 0 0; }
.post-card__meta { margin: auto 0 0; padding-top: 10px; font-size: .76rem; color: var(--muted); }
.post-feature { margin-bottom: 24px; }
@media (min-width: 900px) {
	.post-feature .post-card { display: grid; grid-template-columns: 1.3fr 1fr; }
	.post-feature .post-card__img { aspect-ratio: auto; min-height: 320px; }
	.post-feature .post-card__body { justify-content: center; padding: 32px; }
	.post-feature .post-card__title { font-size: 2rem; }
}

/* ---------- Article ---------- */
.article__layout { display: grid; gap: 40px; padding-block: 8px 48px; }
.article__main { min-width: 0; max-width: 760px; margin-inline: auto; width: 100%; }
@media (min-width: 1100px) {
	.article__layout.has-sidebar, .article__layout.has-toc { grid-template-columns: minmax(0, 1fr) 300px; }
	.article__layout.has-toc .toc { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 64px); align-self: start; }
}
.article__head { padding-block: 8px 20px; }
.article__title { font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.12; margin: 8px 0 12px; }
.article__lead { font-size: 1.15rem; color: var(--muted); }
.article__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .84rem; color: var(--muted); }
.article__meta span + span::before { content: "·"; margin-inline-end: 16px; opacity: .6; }
.article__hero { margin: 0 0 28px; border-radius: var(--radius-lg); overflow: hidden; }
.article__foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); display: grid; gap: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags a { padding: 4px 12px; border-radius: var(--pill); background: var(--surface-2); font-size: .8rem; text-decoration: none; }
.author-box { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.author-box img { border-radius: 50%; }
.author-box__name { font-weight: 700; margin: 0; }
.author-box__bio { margin: 2px 0 0; font-size: .88rem; color: var(--muted); }
.article__related { margin-top: 48px; }
.toc { padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); font-size: .9rem; }
.toc__title { font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; cursor: pointer; }
.toc ol { margin: 10px 0 0; padding-inline-start: 18px; display: grid; gap: 6px; }
.toc a { text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--accent); }
@media (max-width: 1099px) { .article__layout.has-toc .toc { order: -1; } }
.sidebar .widget { margin-bottom: 24px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.widget-title { font-size: 1.05rem; }
.review-box { display: grid; gap: 20px; margin-bottom: 32px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.review-box__score { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 16px; border-radius: var(--radius); background: var(--primary); color: #fff; text-align: center; }
.review-box__score strong { font-family: var(--font-heading); font-size: 2.8rem; line-height: 1; }
.review-box__score > span { color: rgb(255 255 255 / 70%); font-size: .85rem; }
.review-box__score .rating__value { color: #fff; }
.review-box__title { font-size: 1.3rem; }
@media (min-width: 768px) { .review-box { grid-template-columns: 140px 1fr; } .review-box__product { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .review-box { grid-template-columns: 140px 1fr 240px; } .review-box__product { grid-column: auto; } }
.vs { margin-bottom: 32px; }
.vs__wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.vs__table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .88rem; }
.vs__table th, .vs__table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: center; vertical-align: middle; }
.vs__table tbody th { text-align: start; color: var(--muted); font-weight: 650; background: var(--surface-2); white-space: nowrap; }
.vs__img img, .vs__img .ph { width: 88px; height: 88px; margin: 0 auto 8px; border-radius: var(--radius-sm); object-fit: cover; }
.vs__name { font-weight: 700; text-decoration: none; display: block; font-family: var(--font-body); }
.vs__table .price, .vs__table .rating { justify-content: center; }
.top-picks { margin-bottom: 32px; }
.top-picks .section-title { margin-bottom: 14px; }
.ranked-list { list-style: none; margin: 32px 0; padding: 0; display: grid; gap: 18px; counter-reset: rank; }
.ranked { position: relative; display: grid; gap: 14px; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.ranked__num { position: absolute; top: -12px; inset-inline-start: -8px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; box-shadow: var(--shadow); }
.ranked__img, .vs__img, .post-card__img, .ccard { text-decoration: none; }
.ranked__img { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; max-width: 220px; }
.ranked__img img { width: 100%; height: 100%; object-fit: cover; }
.ranked__title { font-size: 1.3rem; margin-bottom: 6px; }
.ranked__title a { text-decoration: none; }
.ranked__buy { display: grid; gap: 8px; align-content: center; }
@media (min-width: 768px) { .ranked { grid-template-columns: 180px 1fr 200px; align-items: center; padding: 22px; } }

/* Entry content typography */
.entry-content { font-size: 1.04rem; line-height: 1.75; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin-top: 1.8em; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.5em; }
.entry-content a { color: var(--primary); }
[data-theme="dark"] .entry-content a { color: var(--accent); }
.entry-content ul, .entry-content ol { padding-inline-start: 1.3em; }
.entry-content li + li { margin-top: .35em; }
.entry-content blockquote { margin-inline: 0; padding: 4px 0 4px 20px; padding-inline: 20px 0; border-inline-start: 3px solid var(--accent); font-family: var(--font-heading); font-size: 1.2rem; color: var(--text); }
.entry-content img, .entry-content figure img { border-radius: var(--radius); }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 10px 12px; text-align: start; }
.entry-content .wp-block-button__link { border-radius: var(--pill); background: var(--accent); color: #fff; text-decoration: none; padding: 12px 24px; font-weight: 700; }
.entry-content .alignwide { max-width: min(1100px, 100vw - 32px); }
.entry-content--wide { max-width: none; }
.seo-content { margin-top: 48px; color: var(--muted); font-size: .96rem; }
.seo-content h2, .seo-content h3 { color: var(--text); }
.page-article { padding-block: 8px 56px; }
.page-article .page-head__title { margin-bottom: 20px; }

/* ---------- Newsletter ---------- */
.newsletter { padding-block: 48px; background: var(--secondary); color: #fff; }
[data-theme="dark"] .newsletter { background: #0f0c12; }
.newsletter__inner { display: grid; gap: 20px; align-items: center; }
.newsletter__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgb(255 255 255 / 10%); margin-bottom: 10px; color: #ffc2cf; }
.newsletter__title { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 6px; }
.newsletter__copy p { color: rgb(255 255 255 / 72%); margin: 0; }
.newsletter__row { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter__row input { flex: 1 1 220px; min-height: 52px; padding: 12px 20px; border-radius: var(--pill); border: 1px solid rgb(255 255 255 / 25%); background: rgb(255 255 255 / 8%); color: #fff; outline: none; }
.newsletter__row input::placeholder { color: rgb(255 255 255 / 55%); }
.newsletter__row input:focus { border-color: #fff; box-shadow: 0 0 0 3px rgb(255 255 255 / 15%); }
.newsletter__row .btn { min-height: 52px; padding-inline: 28px; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.newsletter__consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: .78rem; color: rgb(255 255 255 / 70%); }
.newsletter__consent input { margin-top: 3px; accent-color: var(--accent); }
.newsletter__msg { margin: 8px 0 0; font-size: .88rem; font-weight: 600; min-height: 1.2em; }
.newsletter__msg.is-error { color: #ffb4bf; }
.newsletter__msg.is-ok { color: #9be7c1; }
@media (min-width: 900px) { .newsletter { padding-block: 64px; } .newsletter__inner { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); margin-top: 0; }
.footer__trust { border-bottom: 1px solid var(--border); padding-block: 24px; }
.footer__grid { display: grid; gap: 28px; padding-block: 40px 24px; grid-template-columns: 1fr 1fr; }
.footer__about { grid-column: 1 / -1; }
.footer__about p { color: var(--muted); font-size: .9rem; max-width: 380px; }
.brand__name--footer { margin-bottom: 10px; display: inline-block; }
.footer__title { font-family: var(--font-body); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.footer-menu a { text-decoration: none; color: var(--muted); }
.footer-menu a:hover { color: var(--accent); }
.social { display: flex; gap: 6px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); color: var(--text); }
.social a:hover { background: var(--accent); color: #fff; }
.social .icon { width: 18px; height: 18px; }
.footer__bottom { padding-block: 16px 24px; border-top: 1px solid var(--border); }
.footer__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; font-size: .8rem; color: var(--muted); }
.footer__secure { display: inline-flex; align-items: center; gap: 6px; }
.footer__secure .icon { width: 14px; height: 14px; }
.footer__adult { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--muted); font-weight: 800; font-size: .72rem; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; } .footer__about { grid-column: auto; } }

/* ---------- Misc pages ---------- */
.notfound { text-align: center; }
.notfound__code { font-family: var(--font-heading); font-size: clamp(5rem, 18vw, 9rem); line-height: 1; margin: 0; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound .search { margin: 20px auto; max-width: 520px; }
.notfound .grid--cats { margin-top: 40px; }
.search-group { margin-bottom: 40px; }
.single-coupon { padding-bottom: 32px; }
.single-coupon .countdown { margin-block: 20px; }
.contact-form { margin-top: 24px; }
.contact-form label { display: block; font-weight: 650; font-size: .9rem; margin-bottom: 6px; }
.contact-form input, .contact-form textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); outline: none;
}
.contact-form input:focus, .contact-form textarea:focus, .comment-form input:focus, .comment-form textarea:focus { border-color: var(--accent); box-shadow: var(--focus); }
.form-grid { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.comments { margin-top: 32px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--border); }
.comment-list .children { list-style: none; padding-inline-start: 24px; }
.comment-author img { border-radius: 50%; display: inline-block; vertical-align: middle; margin-inline-end: 8px; }
.comment-meta { font-size: .8rem; color: var(--muted); }
.wishlist .grid { margin-top: 8px; }
.afs-block { margin-block: 24px; }
.afs-block__empty { padding: 16px; border: 1px dashed var(--border); border-radius: var(--radius-sm); color: var(--muted); }
.page-links { margin-top: 24px; }

/* ---------- WooCommerce (light touch) ---------- */
.section--wc .woocommerce ul.products li.product, .woocommerce-page .section--wc ul.products li.product { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; }
.woocommerce .button, .woocommerce a.button, .woocommerce button.button { border-radius: var(--pill) !important; background: var(--primary) !important; color: #fff !important; }
.woocommerce .product_type_external, .woocommerce .single_add_to_cart_button { background: var(--accent) !important; }
.woocommerce span.onsale { background: var(--accent); border-radius: var(--pill); min-height: auto; min-width: auto; padding: 4px 10px; line-height: 1.4; }

/* ---------- Print ---------- */
@media print {
	.site-header, .bottom-nav, .announce, .site-footer, .sticky-cta, .filters, .age-gate, .newsletter { display: none !important; }
	body { background: #fff; color: #000; padding: 0; }
}
.countdown--sm .countdown__unit { padding: 2px 4px; gap: 1px; }
.countdown--sm .countdown__unit small { text-transform: none; font-size: .66rem; }

/* ---------- Category icons (round images + Explore buttons) ---------- */
.grid--icons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
@media (min-width: 768px) { .grid--icons { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; } }
.cicon { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; text-decoration: none; color: var(--text); }
.cicon:hover { color: var(--text); }
.cicon__img { display: block; width: min(100%, 210px); aspect-ratio: 1; border-radius: 50%; transition: transform .3s var(--ease), filter .3s; }
.cicon__img img, .cicon__img .ph { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.cicon:hover .cicon__img { transform: translateY(-4px) scale(1.03); filter: drop-shadow(0 12px 20px rgb(31 26 36 / 14%)); }
.cicon__title { font-family: var(--font-body); font-weight: 800; font-size: clamp(1rem, 2.2vw, 1.35rem); line-height: 1.2; letter-spacing: -.01em; min-height: 2.4em; display: flex; align-items: center; }
.cicon__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 150px; padding: 10px 22px; border-radius: var(--pill); background: var(--c); color: var(--ct); font-weight: 700; font-size: .95rem; transition: transform .15s var(--ease), box-shadow .2s; }
.cicon__btn .icon { width: 18px; height: 18px; transition: transform .15s; }
[dir="rtl"] .cicon__btn .icon { transform: scaleX(-1); }
.cicon:hover .cicon__btn { box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 40%, transparent); transform: translateY(-1px); }
.cicon:hover .cicon__btn .icon { transform: translateX(3px); }
.cicon:focus-visible { outline: none; }
.cicon:focus-visible .cicon__btn { box-shadow: var(--focus); }
[data-theme="dark"] .cicon__img { filter: brightness(.95); }
@media (max-width: 480px) { .cicon__btn { min-width: 0; width: 100%; max-width: 160px; padding: 9px 14px; font-size: .88rem; } }
