/* =========================================================
   SPEC SAVE — Design System
   Apple 스타일 미니멀 프리미엄 · 하드웨어 리뷰 매체
   ========================================================= */

:root {
	/* Base */
	--bg-primary: #FBFBFD;
	--bg-card: #FFFFFF;
	--bg-subtle: #F5F5F7;
	--text-primary: #1D1D1F;
	--text-muted: #6E6E73;

	/* Brand */
	--accent: #0071E3;
	--accent-dark: #0059B3;
	--price-hot: #FF3B30;
	--price-save: #FF9500;
	--spec-good: #34C759;

	/* Lines / layout */
	--border: #E5E5EA;
	--radius-sm: 10px;
	--radius-md: 14px;
	--radius-lg: 18px;
	--shadow-card: 0 8px 24px rgba(0, 0, 0, 0.06);
	--shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.10);
	--shadow-sticky: 0 -4px 24px rgba(0, 0, 0, 0.08);

	--font-body: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', system-ui, sans-serif;
	--font-mono: 'SF Mono', 'Menlo', 'Consolas', monospace;

	--wrap: 1120px;
	--wrap-narrow: 820px;
	--header-h: 64px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
	margin: 0;
	font-family: var(--font-body);
	background: var(--bg-primary);
	color: var(--text-primary);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 17px;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4, h5 { letter-spacing: -0.015em; line-height: 1.3; }
figure { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; box-shadow: var(--shadow-card); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------- Reading progress ---------- */
.reading-progress {
	position: fixed; top: 0; left: 0; height: 3px; width: 0%;
	background: linear-gradient(90deg, var(--accent), var(--price-save));
	z-index: 1000; transition: width .1s linear;
}

/* ================= HEADER ================= */
.site-header {
	position: sticky; top: 0; z-index: 900;
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: saturate(180%) blur(20px);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand-logo, .custom-logo-link { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo img, .custom-logo-link img { height: 42px; width: auto; }

.primary-nav { flex: 1 1 auto; }
.primary-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.primary-nav a {
	display: block; padding: 8px 14px; color: var(--text-primary);
	font-size: 15px; font-weight: 500; border-radius: 999px; transition: background .15s ease, color .15s ease;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a { background: var(--bg-subtle); color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.header-search-toggle, .nav-toggle {
	width: 40px; height: 40px; border: none; background: transparent; cursor: pointer;
	border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--text-primary);
}
.header-search-toggle:hover, .nav-toggle:hover { background: var(--bg-subtle); }
.nav-toggle { display: none; }

.header-search { display: none; padding: 12px 0; border-top: 1px solid var(--border); }
.header-search.is-open { display: block; }
.header-search form { display: flex; gap: 8px; max-width: 640px; margin: 0 auto; }
.header-search input[type="search"] {
	flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: 999px;
	font-size: 15px; font-family: inherit; background: var(--bg-subtle);
}
.header-search input[type="search"]:focus { outline: 2px solid var(--accent); background: #fff; }

/* ================= LAYOUT ================= */
.site-main { padding: 40px 0 80px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.layout.no-sidebar { grid-template-columns: minmax(0, 1fr); }
.content-narrow { max-width: var(--wrap-narrow); margin: 0 auto; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { margin: 0 0 20px; font-size: 13px; color: var(--text-muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--border); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li[aria-current] { color: var(--text-primary); }

/* ================= HERO (front page) ================= */
.hero {
	text-align: center; padding: 64px 24px 56px;
	background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-primary) 100%);
	border-bottom: 1px solid var(--border);
}
.hero h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; margin: 0 0 14px; letter-spacing: -0.03em; }
.hero .tagline { font-size: clamp(16px, 2.4vw, 20px); color: var(--text-muted); margin: 0 0 6px; }
.hero .sub { font-size: 15px; color: var(--text-muted); }
.hero-cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.hero-cats a {
	display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; background: var(--bg-card);
	border: 1px solid var(--border); border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--text-primary);
	box-shadow: var(--shadow-card); transition: transform .15s ease, box-shadow .15s ease, color .15s ease;
}
.hero-cats a:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); color: var(--accent); }

/* ---------- Section headings ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 56px 0 22px; gap: 16px; }
.section-head h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 700; margin: 0; }
.section-head .more { font-size: 14px; font-weight: 600; white-space: nowrap; }

/* ================= CARD GRID ================= */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card-grid.cols-2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }

.review-card {
	background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
	overflow: hidden; box-shadow: var(--shadow-card); transition: transform .18s ease, box-shadow .18s ease;
	display: flex; flex-direction: column;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-thumb { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-subtle); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.review-card:hover .card-thumb img { transform: scale(1.04); }
.card-thumb-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--text-muted); font-weight: 700; letter-spacing: .04em; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-cat { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .03em; }
.card-title { font-size: 18px; font-weight: 700; margin: 0; line-height: 1.4; }
.card-title a { color: var(--text-primary); }
.card-title a:hover { color: var(--accent); }
.card-excerpt { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.6; }
.card-meta { margin-top: auto; font-size: 12.5px; color: var(--text-muted); display: flex; gap: 8px; align-items: center; padding-top: 6px; }
.meta-sep { color: var(--border); }

/* ================= SINGLE POST ================= */
.entry-header { margin-bottom: 28px; }
.entry-cat { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.entry-title { font-size: clamp(28px, 4.4vw, 40px); font-weight: 800; margin: 0 0 18px; letter-spacing: -0.025em; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }
.post-author { display: inline-flex; align-items: center; gap: 8px; }
.author-avatar { border-radius: 50%; }
.author-name { font-weight: 600; color: var(--text-primary); }

.entry-thumb { max-width: 620px; margin: 0 auto 32px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.entry-thumb img { width: 100%; height: auto; display: block; }

/* ---------- Article body typography ---------- */
.entry-content { font-size: 17.5px; }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content h2 { font-size: 27px; font-weight: 700; margin: 2em 0 .6em; padding-bottom: 12px; border-bottom: 2px solid var(--text-primary); scroll-margin-top: 90px; }
.entry-content h3 { font-size: 21px; font-weight: 700; margin: 1.6em 0 .5em; scroll-margin-top: 90px; }
.entry-content h4 { font-size: 17px; font-weight: 700; color: var(--accent); margin: 1.4em 0 .4em; }
.entry-content p { margin: 1.1em 0; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0,113,227,.35); }
.entry-content a:hover { text-decoration-color: var(--accent); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin: .4em 0; }
.entry-content img { border-radius: var(--radius-md); margin-left: auto; margin-right: auto; }
.entry-content blockquote {
	margin: 1.6em 0; padding: 18px 24px; background: var(--bg-card);
	border-left: 4px solid var(--accent); border-radius: var(--radius-sm); box-shadow: var(--shadow-card);
}
.entry-content blockquote p { margin: 0; }
.entry-content code { background: var(--bg-subtle); padding: 2px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: .88em; color: #D63384; }
.entry-content pre { background: #1D1D1F; color: #F5F5F7; padding: 20px 24px; border-radius: var(--radius-sm); overflow-x: auto; font-family: var(--font-mono); font-size: 14px; line-height: 1.6; }
.entry-content pre code { background: transparent; color: inherit; padding: 0; }
/* Data tables (premium) — 스크롤 래퍼가 있으면 모바일 가로 스크롤, 데스크톱은 항상 100% 폭 */
.entry-content .table-scroll { overflow-x: auto; margin: 22px 0; border-radius: 14px; box-shadow: var(--shadow-card); border: 1px solid var(--border); -webkit-overflow-scrolling: touch; }
.entry-content .table-scroll table { margin: 0; box-shadow: none; border: 0; border-radius: 0; }
.entry-content table { width: 100%; border-collapse: collapse; background: var(--bg-card); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-card); font-size: 15px; }
.entry-content thead th { background: linear-gradient(135deg, #2B2F3A, #171A24); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .02em; padding: 15px 18px; text-align: left; vertical-align: middle; }
.entry-content tbody th, .entry-content tbody td { padding: 14px 18px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--border); }
.entry-content tbody tr:last-child th, .entry-content tbody tr:last-child td { border-bottom: 0; }
.entry-content tbody td:first-child, .entry-content tbody th[scope="row"] { font-weight: 700; color: var(--text-primary); background: #FAFBFC; }
.entry-content hr { border: 0; border-top: 1px solid var(--border); margin: 2.6em 0; }

/* ---------- Table of contents ---------- */
.toc {
	background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
	padding: 20px 24px; margin: 28px 0 36px; box-shadow: var(--shadow-card);
}
.toc-title { font-size: 15px; font-weight: 700; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.toc-title button { margin-left: auto; border: none; background: none; color: var(--accent); font-size: 13px; cursor: pointer; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc.is-collapsed ol { display: none; }
.toc li { margin: 5px 0; break-inside: avoid; }
.toc a { color: var(--text-primary); font-size: 14.5px; }
.toc a:hover, .toc a.is-active { color: var(--accent); font-weight: 600; }

/* ================= REVIEW COMPONENTS ================= */
/* Verdict box */
.ss-verdict {
	background: linear-gradient(135deg, #F0F7FF 0%, #E8F1FF 100%);
	border: 1px solid #C7DDF7; border-radius: var(--radius-lg); padding: 22px 26px; margin: 2em 0;
}
.ss-verdict-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.ss-verdict-label { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .02em; }
.ss-verdict-score { margin-left: auto; font-size: 30px; font-weight: 800; color: var(--text-primary); line-height: 1; }
.ss-verdict-score small { font-size: 15px; color: var(--text-muted); font-weight: 600; }
.ss-verdict-summary { font-size: 16.5px; font-weight: 600; margin: 6px 0 14px; }
.ss-verdict-rec { display: grid; gap: 10px; }
.ss-verdict-rec > div { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.rec-ic { flex: 0 0 auto; font-weight: 700; }
.rec-good .rec-ic { color: var(--spec-good); }
.rec-bad .rec-ic { color: var(--price-hot); }

/* SpecCard grid */
.ss-speccard {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1px;
	background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-md);
	overflow: hidden; margin: 1.6em 0; box-shadow: var(--shadow-card);
}
.spec-item { background: var(--bg-card); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.spec-ic { font-size: 18px; }
.spec-label { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.spec-value { font-size: 15px; font-weight: 700; color: var(--text-primary); }

/* Price compare */
.ss-price {
	background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
	padding: 22px 24px; margin: 2em 0; box-shadow: var(--shadow-card);
}
.price-lead { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.price-cap { font-size: 13px; font-weight: 700; color: var(--price-hot); background: rgba(255,59,48,.1); padding: 3px 10px; border-radius: 999px; }
.price-num { font-size: 26px; font-weight: 800; color: var(--text-primary); }
.price-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.price-btn {
	flex: 1; min-width: 140px; text-align: center; padding: 14px 18px; border-radius: var(--radius-md);
	font-size: 15px; font-weight: 700; background: var(--bg-subtle); color: var(--text-primary); border: 1px solid var(--border);
	transition: transform .12s ease, box-shadow .12s ease;
}
.price-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.price-btn.is-coupang { background: #F5B800; color: #1D1D1F; border-color: #F5B800; box-shadow: 0 4px 14px rgba(245,184,0,.35); }
.price-btn.is-coupang:hover { background: #E8AE00; color: #1D1D1F; }
.price-note, .affiliate-disclosure { font-size: 12.5px; color: var(--text-muted); margin: 12px 0 0; line-height: 1.5; }

/* Pros / Cons */
.ss-proscons { border-radius: var(--radius-md); padding: 18px 22px; margin: 1.4em 0; border: 1px solid var(--border); }
.ss-proscons.is-pros { background: rgba(52,199,89,.07); border-color: rgba(52,199,89,.3); }
.ss-proscons.is-cons { background: rgba(255,59,48,.06); border-color: rgba(255,59,48,.25); }
.pc-title { margin: 0 0 8px; font-size: 16px; }
.ss-proscons ul { margin: 0; padding-left: 1.3em; }

/* Badges */
.badge { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; margin-right: 6px; vertical-align: middle; color: #fff; }
.badge-hot { background: var(--price-hot); }
.badge-save { background: var(--price-save); }
.badge-good { background: var(--spec-good); }
.badge-new { background: var(--accent); }

/* Sticky CTA bar (JS-generated) */
.sticky-cta {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
	background: rgba(255,255,255,.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
	border-top: 1px solid var(--border); box-shadow: var(--shadow-sticky);
	transform: translateY(110%); transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta-inner { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.sticky-cta .cta-label { font-weight: 700; font-size: 15px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-cta .cta-price { font-weight: 800; color: var(--price-hot); font-size: 16px; }
.sticky-cta .price-btn { flex: 0 0 auto; min-width: 160px; }

/* ---------- Affiliate disclosure block ---------- */
.post-disclosure { margin: 2.4em 0 0; padding: 16px 20px; background: var(--bg-subtle); border-radius: var(--radius-sm); font-size: 13px; color: var(--text-muted); }
/* 글 최상단 고지 (컴플라이언스) */
.post-disclosure-top { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 24px; padding: 13px 18px; background: #FFF3D9; color: #8A5A00; border: 1px solid #F5D98A; border-radius: var(--radius-sm); font-size: 13.5px; line-height: 1.55; }
.post-disclosure-top .pd-ic { flex: 0 0 auto; }

/* ---------- Tags / footer of post ---------- */
.entry-tags { margin-top: 2em; display: flex; flex-wrap: wrap; gap: 8px; }
.entry-tags a { font-size: 13px; padding: 5px 12px; background: var(--bg-subtle); border-radius: 999px; color: var(--text-muted); }
.entry-tags a:hover { background: var(--accent); color: #fff; }

/* ---------- Author box ---------- */
.author-box { display: flex; gap: 18px; margin: 3em 0 0; padding: 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; flex: 0 0 auto; }
.author-box h3 { margin: 0 0 4px; font-size: 17px; }
.author-box p { margin: 0; font-size: 14px; color: var(--text-muted); }

/* ---------- Related posts ---------- */
.related-posts { margin-top: 3.5em; }

/* ================= SIDEBAR ================= */
.sidebar .widget { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px; margin-bottom: 24px; box-shadow: var(--shadow-card); }
.widget-title { font-size: 15px; font-weight: 700; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: 7px 0; border-bottom: 1px solid var(--bg-subtle); font-size: 14.5px; }
.sidebar li:last-child { border-bottom: none; }
.sidebar a { color: var(--text-primary); }
.sidebar a:hover { color: var(--accent); }
.sidebar.is-sticky { position: sticky; top: calc(var(--header-h) + 24px); }

/* ================= PAGINATION ================= */
.pagination { margin: 48px 0 0; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px;
	background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); font-weight: 600; color: var(--text-primary);
}
.pagination .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }
.pagination a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }

/* ================= FOOTER ================= */
.site-footer { background: #fff; border-top: 1px solid var(--border); margin-top: 80px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1.2fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; margin: 4px 0; max-width: 320px; line-height: 1.6; }
.footer-slogan { font-weight: 600; color: var(--text-primary) !important; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 8px 0; }
.footer-col a { color: var(--text-muted); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
/* 카테고리 아이콘 그리드 */
.footer-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.footer-cat-grid a { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.footer-cat-ic { width: 26px; height: 26px; object-fit: contain; flex: 0 0 auto; }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; text-align: center; color: var(--text-muted); font-size: 13px; }
.footer-bottom .disc { max-width: 720px; margin: 0 auto 8px; line-height: 1.6; }
@media (max-width: 900px) {
	.footer-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.footer-top { grid-template-columns: 1fr; }
	.footer-cat-grid { grid-template-columns: 1fr 1fr; }
}

/* ================= 404 / search ================= */
.page-hero { text-align: center; padding: 64px 0 40px; }
.page-hero h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin: 0 0 10px; }
.page-hero p { color: var(--text-muted); font-size: 16px; }
.btn-primary { display: inline-block; margin-top: 20px; padding: 13px 26px; background: var(--accent); color: #fff; border-radius: 999px; font-weight: 700; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
	.layout { grid-template-columns: minmax(0, 1fr); }
	.sidebar { display: none; }
	body.single-force-sidebar .sidebar { display: block; }
}
@media (max-width: 768px) {
	body { font-size: 16px; }
	.nav-toggle { display: inline-flex; }
	.primary-nav { display: none; position: absolute; left: 0; right: 0; top: var(--header-h); background: #fff; border-bottom: 1px solid var(--border); padding: 12px 0; box-shadow: var(--shadow-card); }
	.primary-nav.is-open { display: block; }
	.primary-nav ul { flex-direction: column; gap: 2px; padding: 0 16px; }
	.primary-nav a { padding: 12px 14px; border-radius: var(--radius-sm); }
	.footer-top { grid-template-columns: 1fr; gap: 28px; }
	.entry-content .toc ol { columns: 1; }
	.toc ol { columns: 1; }
	.sticky-cta .cta-label { display: none; }
	.sticky-cta .price-btn { flex: 1; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* =========================================================
   v1.1 — 프리미엄 폴리시 (히어로/카테고리/스포트라이트/사이드바/광고)
   ========================================================= */

/* ---------- Hero 강화 ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 24px 60px; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: 0;
	background:
		radial-gradient(60% 80% at 50% -10%, rgba(0,113,227,.10), transparent 70%),
		radial-gradient(40% 60% at 85% 10%, rgba(255,149,0,.08), transparent 70%);
	pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero-eyebrow {
	display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em;
	color: var(--accent); background: rgba(0,113,227,.08); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { background: linear-gradient(180deg, #1D1D1F 0%, #3a3a3f 100%); -webkit-background-clip: text; background-clip: text; }
.hero-search { max-width: 560px; margin: 28px auto 0; }
.hero-search .search-form { display: flex; gap: 10px; }
.hero-search input[type="search"] {
	flex: 1; padding: 14px 20px; border: 1px solid var(--border); border-radius: 999px;
	font-size: 15px; font-family: inherit; background: #fff; box-shadow: var(--shadow-card);
}
.hero-search input[type="search"]:focus { outline: 2px solid var(--accent); }
.hero-search .btn-primary { margin-top: 0; white-space: nowrap; }

/* ---------- 카테고리 아이콘 카드 ---------- */
.cat-cards {
	display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
	margin: 20px 0 8px; position: relative; z-index: 2;
}
.cat-card {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
	background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
	padding: 20px 12px 16px; box-shadow: var(--shadow-card);
	transition: transform .18s ease, box-shadow .18s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cat-card-icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; }
.cat-card-icon img { width: 64px; height: 64px; object-fit: contain; }
.cat-card-mark {
	width: 56px; height: 56px; border-radius: 16px; background: var(--accent); color: #fff;
	display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 26px;
}
.cat-card-label { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.cat-card-count { font-size: 12px; color: var(--text-muted); }

/* ---------- 추천 스포트라이트 ---------- */
.spotlight-wrap { margin: 40px 0 8px; }
.spotlight {
	display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; overflow: hidden;
	background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
}
.spotlight-media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-subtle); }
.spotlight-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.spotlight:hover .spotlight-media img { transform: scale(1.03); }
.spotlight-media-ph { display: flex; align-items: center; justify-content: center; height: 100%; }
.spotlight-media-ph img { width: 128px; height: 128px; }
.spotlight-flag {
	position: absolute; top: 16px; left: 16px; background: rgba(29,29,31,.82); color: #fff;
	font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}
.spotlight-body { padding: 32px 34px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.spotlight-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin: 10px 0 12px; line-height: 1.28; }
.spotlight-title a { color: var(--text-primary); }
.spotlight-title a:hover { color: var(--accent); }
.spotlight-excerpt { color: var(--text-muted); font-size: 15.5px; margin: 0 0 16px; }
.spotlight-meta { font-size: 13px; color: var(--text-muted); display: flex; gap: 8px; align-items: center; margin-bottom: 20px; }
.spotlight-btn { margin-top: 0; }

/* ---------- 섹션 헤더 아이콘 ---------- */
.section-head h2 { display: inline-flex; align-items: center; gap: 10px; }
.section-head-ic { display: inline-flex; }
.section-head-ic img, .section-ic { width: 34px; height: 34px; object-fit: contain; }

/* ---------- 카드 썸네일 아이콘/마크 ---------- */
.card-thumb-placeholder { background: linear-gradient(135deg, #EAF2FE 0%, #F5F5F7 100%); }
.card-thumb-icon { width: 96px; height: 96px; object-fit: contain; opacity: .92; }
.card-thumb-mark {
	width: 64px; height: 64px; border-radius: 16px; background: var(--accent); color: #fff;
	display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 30px;
}

/* ---------- 빈 상태 ---------- */
.empty-state { text-align: center; padding: 60px 24px; background: var(--bg-card); border: 1px dashed var(--border); border-radius: var(--radius-lg); margin: 32px 0; }
.empty-mark { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 30px; }
.empty-state h2 { margin: 0 0 8px; font-size: 22px; }
.empty-state p { color: var(--text-muted); margin: 0; }

/* ---------- 사이드바 리치 위젯 ---------- */
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li { border-bottom: 1px solid var(--bg-subtle); }
.cat-list li:last-child { border-bottom: none; }
.cat-list a { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: var(--text-primary); }
.cat-list a:hover { color: var(--accent); }
.cat-list-ic { width: 30px; height: 30px; object-fit: contain; flex: 0 0 auto; }
.cat-list-ic--fallback { background: var(--accent); color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.cat-list-name { flex: 1; font-size: 14.5px; font-weight: 500; }
.cat-list-count { font-size: 12px; color: var(--text-muted); background: var(--bg-subtle); padding: 2px 9px; border-radius: 999px; }

.recent-list { list-style: none; margin: 0; padding: 0; }
.recent-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--bg-subtle); }
.recent-list li:last-child .recent-item { border-bottom: none; }
.recent-thumb { flex: 0 0 auto; width: 56px; height: 56px; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-subtle); display: flex; align-items: center; justify-content: center; }
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-thumb-ic { width: 40px !important; height: 40px !important; object-fit: contain; }
.recent-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.recent-title { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--text-primary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.recent-item:hover .recent-title { color: var(--accent); }
.recent-date { font-size: 12px; color: var(--text-muted); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-cloud a { font-size: 13px; padding: 5px 11px; background: var(--bg-subtle); border-radius: 999px; color: var(--text-muted); }
.tag-cloud a:hover { background: var(--accent); color: #fff; }

/* ---------- 광고 컨테이너 ---------- */
.ss-ad { margin: 2em 0; text-align: center; min-height: 90px; }
.ss-ad-tag { display: block; font-size: 10px; letter-spacing: .08em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 4px; opacity: .7; }
.ss-ad ins { margin: 0 auto; }
.home-ad { margin: 24px 0 8px; }
.widget-ad { padding: 0 !important; border: none !important; background: transparent !important; box-shadow: none !important; }
.widget-ad .ss-ad { margin: 0 0 24px; }

/* ---------- 반응형 (신규 컴포넌트) ---------- */
@media (max-width: 900px) {
	.spotlight { grid-template-columns: 1fr; }
	.spotlight-body { padding: 24px 24px 28px; }
	.cat-cards { grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
}
@media (max-width: 768px) {
	.hero-search .search-form { flex-direction: column; }
	.hero-search .btn-primary { width: 100%; }
}
@media (max-width: 480px) {
	.cat-cards { grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.cat-card { padding: 14px 6px 12px; }
	.cat-card-icon, .cat-card-icon img { width: 48px; height: 48px; }
	.cat-card-count { display: none; }
}

/* =========================================================
   v2 — 카테고리 배너 인트로 + UI 컴포넌트 라이브러리
   ========================================================= */

/* ---------- 카테고리 가로 배너 인트로 ---------- */
.cat-hero { margin: 6px 0 18px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--border); }
.cat-hero img { width: 100%; height: auto; display: block; }
.cat-intro { font-size: 16px; color: var(--text-muted); margin: 0 0 8px; line-height: 1.6; max-width: 760px; }
.section-head--tight { margin-top: 20px; }
.count-badge { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); background: rgba(0,113,227,.08); padding: 2px 10px; border-radius: 999px; vertical-align: middle; margin-left: 4px; }

/* ---------- 뱃지 v2 (soft + solid) ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .01em; line-height: 1.4; }
/* Soft */
.badge-hot { background: #FFE5E3; color: var(--price-hot); }
.badge-save { background: #FFEBD2; color: #B85E00; }
.badge-good { background: #E1F5E6; color: #1B7A3A; }
.badge-new { background: #E5F0FF; color: var(--accent); }
.badge-editor { background: #1D1D1F; color: #fff; }
.badge-sold { background: var(--bg-subtle); color: var(--text-muted); }
/* Solid */
.badge-solid-hot { background: var(--price-hot); color: #fff; }
.badge-solid-save { background: var(--price-save); color: #fff; }
.badge-solid-good { background: var(--spec-good); color: #fff; }
.badge-solid-new { background: var(--accent); color: #fff; }

/* ---------- CTA 버튼 v2 ---------- */
.ss-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; line-height: 1; }
.ss-btn svg { width: 17px; height: 17px; }
.ss-btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(0,113,227,.35); }
.ss-btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.ss-btn-coupang { background: #F5B800; color: #1D1D1F; box-shadow: 0 4px 14px rgba(245,184,0,.4); }
.ss-btn-coupang:hover { background: #E8AE00; color: #1D1D1F; transform: translateY(-1px); }
.ss-btn-danger { background: var(--price-hot); color: #fff; box-shadow: 0 4px 14px rgba(255,59,48,.35); }
.ss-btn-danger:hover { color: #fff; transform: translateY(-1px); }
.ss-btn-ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.ss-btn-ghost:hover { background: var(--accent); color: #fff; }
.ss-btn-lg { padding: 16px 32px; font-size: 16px; }
.ss-btn-block { display: flex; width: 100%; justify-content: center; }

/* ---------- 가격 컴포넌트 v2 (원가/할인) ---------- */
.price-lead.has-discount { flex-direction: column; align-items: flex-start; gap: 2px; }
.price-orig { font-size: 14px; color: var(--text-muted); text-decoration: line-through; }
.price-off { display: inline-block; background: var(--price-hot); color: #fff; font-size: 13px; font-weight: 800; padding: 2px 9px; border-radius: 6px; margin-left: 8px; vertical-align: middle; }

/* ---------- 알림 배너 (ss_alert) ---------- */
.ss-alert { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14.5px; margin: 1.5em 0; line-height: 1.6; }
.ss-alert .ss-alert-ic { flex: 0 0 auto; font-size: 18px; line-height: 1.4; }
.ss-alert-info { background: #E5F0FF; color: #004999; }
.ss-alert-success { background: #E1F5E6; color: #0F5C25; }
.ss-alert-warn { background: #FFF3D9; color: #8A5A00; }
.ss-alert-danger { background: #FFE5E3; color: #A81E15; }
.ss-alert strong { font-weight: 800; }

/* ---------- 점수 카드 (ss_score) ---------- */
.ss-score { display: flex; align-items: center; gap: 20px; background: var(--bg-subtle); border-radius: var(--radius-lg); padding: 20px 24px; margin: 1.8em 0; }
.ss-score-circle { width: 84px; height: 84px; flex: 0 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; }
.ss-score-circle::before { content: ''; position: absolute; inset: 8px; background: var(--bg-card); border-radius: 50%; }
.ss-score-circle span { position: relative; font-size: 24px; font-weight: 800; color: var(--accent); }
.ss-score-info h4 { margin: 0 0 4px; font-size: 17px; }
.ss-score-info p { margin: 0; color: var(--text-muted); font-size: 14px; }

/* ---------- 리본 (카드 코너) ---------- */
.review-card { position: relative; }
.card-ribbon { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.card-ribbon-hot { background: var(--price-hot); }
.card-ribbon-editor { background: var(--accent); }
.card-ribbon-best { background: linear-gradient(135deg,#FFB800,#FF9500); }

/* ---------- 스펙카드 v2 (SVG 아이콘) ---------- */
.ss-speccard { background: var(--bg-card); }
.spec-item { align-items: center; text-align: center; }
.spec-item .spec-ic svg { width: 22px; height: 22px; stroke: var(--accent); }
.spec-item .spec-ic { font-size: 20px; }

@media (max-width: 600px) {
	.ss-score { flex-direction: row; padding: 16px 18px; }
	.ss-score-circle { width: 68px; height: 68px; }
	.ss-score-circle span { font-size: 20px; }
}

/* ---------- FAQ 아코디언 (ss_faq) ---------- */
.ss-faq { margin: 1.8em 0; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--bg-card); box-shadow: var(--shadow-card); }
.ss-faq-item { border-bottom: 1px solid var(--border); }
.ss-faq-item:last-child { border-bottom: none; }
.ss-faq-item > summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 15.5px; display: flex; align-items: center; gap: 10px; color: var(--text-primary); position: relative; }
.ss-faq-item > summary::-webkit-details-marker { display: none; }
.ss-faq-item > summary::before { content: "Q"; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.ss-faq-item > summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--text-muted); font-weight: 400; }
.ss-faq-item[open] > summary::after { content: "−"; }
.ss-faq-item[open] > summary { color: var(--accent); }
.ss-faq-a { padding: 0 20px 18px 54px; color: var(--text-primary); font-size: 15px; line-height: 1.7; }
.ss-faq-a p { margin: 0 0 .6em; }
.ss-faq-a p:last-child { margin-bottom: 0; }

/* ---------- 성능: 하단 영역 렌더 비용 절감 (안전 범위) ---------- */
.site-footer { content-visibility: auto; contain-intrinsic-size: auto 480px; }
.related-posts { content-visibility: auto; contain-intrinsic-size: auto 420px; }

/* =========================================================
   v4 — 리뷰 페이지 인터랙션 (reveal · shine · snap · 벤치마크)
   ========================================================= */

/* ---------- Reveal on scroll ---------- */
.ss-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.ss-reveal.is-revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
	.ss-reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Shine 애니메이션 (쿠팡 CTA) ---------- */
.price-btn.is-coupang, .ss-btn-coupang, .sticky-cta .price-btn.is-coupang { position: relative; overflow: hidden; }
.price-btn.is-coupang::after, .ss-btn-coupang::after, .sticky-cta .price-btn.is-coupang::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45), transparent 70%);
	transform: translateX(-100%); animation: ss-shine 3.2s infinite;
}
@keyframes ss-shine { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(220%); } }
@media (prefers-reduced-motion: reduce) {
	.price-btn.is-coupang::after, .ss-btn-coupang::after, .sticky-cta .price-btn.is-coupang::after { animation: none; display: none; }
}

/* ---------- 관련 리뷰 모바일 가로 스냅 ---------- */
@media (max-width: 768px) {
	.related-posts .card-grid {
		grid-template-columns: none; display: flex; gap: 14px;
		overflow-x: auto; scroll-snap-type: x mandatory;
		margin: 0 -18px; padding: 4px 18px 10px; -webkit-overflow-scrolling: touch;
	}
	.related-posts .card-grid::-webkit-scrollbar { display: none; }
	.related-posts .review-card { flex: 0 0 74%; scroll-snap-align: start; }
}

/* ---------- 벤치마크 바 (ss_bench) ---------- */
.ss-bench { margin: 1.6em 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 20px; box-shadow: var(--shadow-card); }
.ss-bench-row { display: flex; align-items: center; gap: 12px; margin: 10px 0; font-size: 13.5px; }
.ss-bench-row:first-child { margin-top: 0; }
.ss-bench-name { width: 108px; flex: 0 0 auto; color: var(--text-muted); font-weight: 600; }
.ss-bench-track { flex: 1; height: 9px; background: var(--bg-subtle); border-radius: 5px; overflow: hidden; }
.ss-bench-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--spec-good)); border-radius: 5px; width: var(--w, 0%); transition: width 1s cubic-bezier(.2,.7,.2,1); }
.ss-bench.ss-reveal:not(.is-revealed) .ss-bench-fill { width: 0; }
.ss-bench-val { width: 62px; flex: 0 0 auto; text-align: right; font-weight: 800; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.ss-bench-cap { font-size: 12px; color: var(--text-muted); margin: 0 0 12px; }
@media (max-width: 600px) { .ss-bench-name { width: 84px; } }

/* ---------- 홈 카테고리 배너 캐러셀 ---------- */
.cat-carousel-wrap { margin: 0 0 10px; }
.cat-carousel { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); border: 1px solid var(--border); background: var(--bg-subtle); }
.cat-carousel-track { display: flex; transition: transform .7s cubic-bezier(.4,0,.2,1); }
.cat-slide { flex: 0 0 100%; display: block; }
/* --- 스택형 모드(fade/kenburns/herostack): 슬라이드 absolute 적층 --- */
.cat-carousel--fade .cat-carousel-track,
.cat-carousel--kenburns .cat-carousel-track,
.cat-carousel--herostack .cat-carousel-track { display: block; position: relative; aspect-ratio: 2000 / 667; transition: none; }
.cat-carousel--fade .cat-slide,
.cat-carousel--kenburns .cat-slide,
.cat-carousel--herostack .cat-slide { position: absolute; inset: 0; flex: none; }
.cat-carousel--fade .cat-slide img,
.cat-carousel--kenburns .cat-slide img,
.cat-carousel--herostack .cat-slide img { width: 100%; height: 100%; object-fit: cover; }
/* Fade */
.cat-carousel--fade .cat-slide { opacity: 0; transition: opacity 1.1s ease; z-index: 1; }
.cat-carousel--fade .cat-slide.is-active { opacity: 1; z-index: 2; }
/* Ken Burns (줌 + 페이드) */
.cat-carousel--kenburns .cat-slide { opacity: 0; transition: opacity 1.2s ease; z-index: 1; }
.cat-carousel--kenburns .cat-slide.is-active { opacity: 1; z-index: 2; }
.cat-carousel--kenburns .cat-slide.is-active img { animation: ss-kb 6s ease forwards; }
@keyframes ss-kb { from { transform: scale(1); } to { transform: scale(1.08); } }
/* Hero Card Stack (패럴럭스) */
.cat-carousel--herostack .cat-slide { transform: translateX(100%); opacity: 0; transition: transform .8s cubic-bezier(.65,0,.35,1), opacity .6s ease; z-index: 1; }
.cat-carousel--herostack .cat-slide.is-active { transform: translateX(0); opacity: 1; z-index: 3; }
.cat-carousel--herostack .cat-slide.is-prev { transform: translateX(-38%) scale(.92); opacity: .4; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
	.cat-carousel--kenburns .cat-slide.is-active img { animation: none; }
	.cat-carousel--herostack .cat-slide { transition: opacity .3s ease; transform: none; }
}
.cat-slide img { width: 100%; height: auto; display: block; }
.cat-carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; background: rgba(255,255,255,.9); border: none; border-radius: 50%; box-shadow: var(--shadow-card); cursor: pointer; font-size: 20px; color: var(--text-primary); z-index: 3; display: flex; align-items: center; justify-content: center; transition: transform .15s ease, background .15s ease; }
.cat-carousel-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); color: var(--accent); }
.cat-carousel-arrow.prev { left: 14px; }
.cat-carousel-arrow.next { right: 14px; }
.cat-carousel-nav { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 3; }
.cat-carousel-nav button { width: 24px; height: 6px; border-radius: 3px; border: none; background: rgba(29,29,31,.28); cursor: pointer; padding: 0; transition: width .3s ease, background .3s ease; }
.cat-carousel-nav button.active { background: var(--accent); width: 34px; }
.cat-carousel-prog { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--accent); z-index: 4; width: 0; }
@media (max-width: 600px) { .cat-carousel-arrow { width: 34px; height: 34px; font-size: 16px; } .cat-carousel-nav { bottom: 10px; } }
@media (prefers-reduced-motion: reduce) { .cat-carousel-track { transition: none; } .cat-carousel-prog { display: none; } }

/* ---------- 딜 스트립: 마퀴 ---------- */
.deal-marquee-wrap { margin: 0 0 10px; }
.deal-marquee { position: relative; display: flex; align-items: center; gap: 0; background: #1D1D1F; border-radius: var(--radius-md); overflow: hidden; }
.deal-strip-badge { flex: 0 0 auto; align-self: stretch; display: flex; align-items: center; background: var(--price-hot); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 0 14px; z-index: 2; }
.deal-marquee-track { display: flex; gap: 26px; align-items: center; padding: 11px 20px; white-space: nowrap; animation: ss-marquee 32s linear infinite; width: max-content; }
.deal-marquee:hover .deal-marquee-track { animation-play-state: paused; }
.deal-marquee-item { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 13.5px; font-weight: 600; }
.deal-marquee-item:hover { color: #fff; }
.deal-marquee-item .dm-cat { font-size: 11px; font-weight: 700; color: #1D1D1F; background: var(--price-save); padding: 2px 8px; border-radius: 999px; }
@keyframes ss-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .deal-marquee-track { animation: none; } }

/* ---------- 딜 스트립: 티커 ---------- */
.deal-ticker-wrap { margin: 0 0 10px; }
.deal-ticker { position: relative; display: flex; align-items: stretch; height: 52px; background: linear-gradient(90deg, #1D1D1F 0%, var(--accent-dark) 100%); border-radius: var(--radius-md); overflow: hidden; }
.deal-strip-badge.is-ticker { background: var(--price-hot); }
.deal-ticker-track { position: relative; flex: 1; overflow: hidden; }
.deal-ticker-item { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; padding: 0 20px; color: #fff; font-size: 14px; font-weight: 600; opacity: 0; transform: translateY(100%); transition: transform .5s ease, opacity .5s ease; }
.deal-ticker-item.is-active { opacity: 1; transform: translateY(0); }
.deal-ticker-item.is-out { opacity: 0; transform: translateY(-100%); }
.deal-ticker-item:hover { color: #fff; }
.deal-ticker-item .dt-cat { font-size: 11px; font-weight: 700; color: #1D1D1F; background: var(--price-save); padding: 2px 8px; border-radius: 999px; }
@media (max-width: 600px) { .deal-ticker-item .dt-title, .deal-marquee-item .dm-title { font-size: 13px; } }
