/* ==========================================
   香水村 — Fresh & Clean
   ========================================== */

/* Fonts loaded via <link> in base.html for performance */

:root {
    --bg: #fafafa;
    --surface: #fff;
    --surface2: #f4f6f8;
    --border: #e6e9ed;
    --border-accent: #d0d5db;
    --text: #1a1d24;
    --text2: #7b8294;
    --accent: #e87a90;
    --accent-hover: #d45c74;
    --blue: #5ba4cf;
    --blue-light: rgba(91,164,207,.08);
    --blue-hover: #4690be;
    --pink: #f0a0b0;
    --pink-light: rgba(240,160,176,.07);
    --green: #5cb87a;
    --green-light: rgba(92,184,122,.07);
    --shadow: 0 1px 4px rgba(0,0,0,0.04);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.07);
    --heading: 'Plus Jakarta Sans', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    --sans: 'Noto Sans JP', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --r: 8px;
    --r-lg: 12px;
    --max: 960px;
}
[data-theme="dark"] {
    --bg: #111318;
    --surface: #1a1d24;
    --surface2: #22252e;
    --border: #2e3240;
    --border-accent: #3e4352;
    --text: #e8eaef;
    --text2: #8b90a0;
    --accent: #f0a0b0;
    --accent-hover: #f5bcc8;
    --blue: #7dbee0;
    --blue-light: rgba(125,190,224,.08);
    --blue-hover: #a0d2ea;
    --pink: #f0a0b0;
    --pink-light: rgba(240,160,176,.06);
    --green: #6dcc88;
    --green-light: rgba(109,204,136,.06);
    --shadow: 0 1px 4px rgba(0,0,0,0.25);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    transition: background .3s, color .3s;
}

a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-hover); }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ==========================================
   Header — compact single row
   ========================================== */
.header {
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(14px);
    background: rgba(250,250,250,.88);
    transition: background .3s;
}
[data-theme="dark"] .header { background: rgba(26,29,36,.88); }
.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.logo {
    font-family: var(--heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.01em;
    white-space: nowrap;
    flex-shrink: 0;
}
.logo:hover { color: var(--text); }
.nav { display: flex; gap: 20px; }
.nav a {
    color: var(--text2);
    font-size: .76rem;
    font-weight: 400;
    letter-spacing: .03em;
    white-space: nowrap;
}
.nav a:hover { color: var(--accent); }
.header-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-search input {
    width: 160px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--bg);
    color: var(--text);
    font-size: .78rem;
    font-family: var(--sans);
    transition: border-color .2s;
}
.header-search input:focus { outline: none; border-color: var(--blue); }
.theme-btn { background: none; border: none; cursor: pointer; font-size: .9rem; padding: 4px; line-height: 1; opacity: .6; transition: opacity .2s; }
.theme-btn:hover { opacity: 1; }

/* ==========================================
   Hero — minimal
   ========================================== */
.hero {
    padding: 64px 0 48px;
    text-align: center;
}
.hero h1 {
    font-family: var(--heading);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 8px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
    color: var(--text2);
    font-size: .88rem;
    margin-bottom: 28px;
    font-weight: 300;
}
.search-form { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; }
.search-form input {
    flex: 1;
    padding: 11px 18px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    color: var(--text);
    font-size: .85rem;
    font-family: var(--sans);
    transition: border-color .2s;
}
.search-form input:focus { outline: none; border-color: var(--blue); }
.search-form input::placeholder { color: var(--text2); }
.search-form button {
    padding: 11px 24px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 24px;
    font-weight: 500;
    font-size: .82rem;
    font-family: var(--sans);
    cursor: pointer;
    transition: background .15s;
}
.search-form button:hover { background: var(--accent-hover); }

/* ==========================================
   Section — reusable
   ========================================== */
.section { padding: 40px 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}
.section-head h2 {
    font-family: var(--heading);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: .02em;
}
.section-head a { font-size: .75rem; color: var(--text2); }
.section-head a:hover { color: var(--accent); }

/* ==========================================
   Card grid — 4 col default
   ========================================== */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface);
    color: var(--text);
    transition: box-shadow .2s, transform .15s;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card img { width: 100%; height: 120px; object-fit: contain; margin-bottom: 2px; border-radius: var(--r); background: var(--surface2); }
.card strong { font-family: var(--heading); font-size: .9rem; font-weight: 600; line-height: 1.3; }
.card .meta { font-size: .72rem; }
.card--brand { padding: 18px; }
.card--brand strong { font-size: .95rem; }

/* ==========================================
   List — simple rows
   ========================================== */
.list-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.list-row:last-child { border-bottom: none; }
.list-row:hover { color: var(--accent); }
.list-row strong { font-family: var(--heading); font-size: .95rem; font-weight: 600; }
.list-row time { white-space: nowrap; flex-shrink: 0; }

/* ==========================================
   Ranking — horizontal compact
   ========================================== */
.ranking-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.ranking-strip::-webkit-scrollbar { display: none; }
.ranking-chip {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface);
    color: var(--text);
    white-space: nowrap;
    flex-shrink: 0;
    transition: box-shadow .15s;
    font-size: .82rem;
}
.ranking-chip:hover { box-shadow: var(--shadow-hover); }
.ranking-chip .rank-num {
    display: flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    font-size: .65rem; font-weight: 700;
    font-family: var(--heading);
    border: 1px solid var(--border);
    color: var(--text2);
    flex-shrink: 0;
}
.ranking-chip .rank-num--top {
    background: linear-gradient(135deg, var(--accent), var(--blue));
    color: #fff; border-color: transparent;
}
.ranking-chip strong { font-family: var(--heading); font-weight: 600; }
.ranking-chip .meta { font-size: .68rem; }

/* ==========================================
   Page — list pages (single column)
   ========================================== */
.page { padding: 40px 0 56px; }
.page-title {
    font-family: var(--heading);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 6px;
}
.page-desc { color: var(--text2); font-size: .85rem; font-weight: 300; margin-bottom: 24px; }

.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.tag {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    font-size: .75rem;
    color: var(--text2);
    transition: all .15s;
}
.tag:hover { border-color: var(--accent); color: var(--accent); }
.tag--active { background: var(--accent); color: #fff; border-color: var(--accent); }
.tag--active:hover { color: #fff; }

/* Sort bar */
.sort-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: .82rem; }
.sort-bar label { color: var(--text2); white-space: nowrap; }
.sort-bar select { padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); color: var(--text); font-size: .82rem; font-family: var(--sans); }

/* Placeholder image */
.img-placeholder { width: 100%; height: 120px; display: flex; align-items: center; justify-content: center; background: var(--surface2); border-radius: var(--r); color: var(--text2); font-size: .75rem; margin-bottom: 2px; }

/* ==========================================
   Detail page
   ========================================== */
.detail-top { display: flex; gap: 36px; margin-bottom: 36px; }
.detail-img { flex: 0 0 200px; }
.detail-img img { width: 200px; height: 240px; object-fit: contain; border-radius: var(--r-lg); background: var(--surface2); padding: 12px; }
.detail-info { flex: 1; }
.detail-brand { font-size: .78rem; color: var(--text2); font-weight: 400; letter-spacing: .02em; }
.detail-brand:hover { color: var(--accent); }
.detail-info h1 { font-family: var(--heading); font-size: 1.5rem; font-weight: 600; margin: 4px 0 8px; line-height: 1.3; }
.detail-price-row { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.detail-price { font-family: var(--heading); font-size: 1.2rem; font-weight: 600; color: var(--accent); }
.detail-desc { color: var(--text2); margin-bottom: 20px; font-weight: 300; line-height: 1.8; font-size: .88rem; }

.detail-specs { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.detail-spec {
    display: flex; flex-direction: column; align-items: center;
    padding: 10px 16px; background: var(--surface2);
    border-radius: var(--r); min-width: 80px;
}
.detail-spec-label { font-size: .65rem; color: var(--text2); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.detail-spec-value { font-family: var(--heading); font-size: .9rem; font-weight: 600; }

.notes { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: .85rem; }
.notes dt { color: var(--accent); font-weight: 500; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.notes dd { margin: 0; font-weight: 300; }

.buy-links { display: flex; gap: 8px; }
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 22px;
    font-weight: 500;
    font-size: .82rem;
    font-family: var(--sans);
    background: var(--accent);
    color: #fff;
    transition: background .15s;
}
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn--sub { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn--sub:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

.detail-section { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.detail-section h2 {
    font-family: var(--heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Dupe cards */
.dupe-card {
    display: flex; gap: 14px; padding: 16px;
    border: 1px solid var(--border); border-radius: var(--r-lg);
    background: var(--surface); color: var(--text);
    transition: box-shadow .2s, border-color .2s;
    margin-bottom: 10px;
}
.dupe-card:hover { box-shadow: var(--shadow-hover); border-color: var(--border-accent); color: var(--text); }
.dupe-card-left { flex-shrink: 0; }
.dupe-card-img { width: 64px; height: 80px; object-fit: contain; border-radius: var(--r); background: var(--surface2); }
.dupe-card-body { flex: 1; min-width: 0; }
.dupe-card-brand { font-size: .72rem; color: var(--text2); }
.dupe-card-name { display: block; font-family: var(--heading); font-size: .95rem; font-weight: 600; margin: 2px 0 8px; }
.dupe-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.dupe-tag { font-size: .68rem; font-weight: 500; padding: 3px 10px; border-radius: 12px; background: var(--surface2); color: var(--text2); white-space: nowrap; }
.dupe-tag--sim { background: var(--blue-light); color: var(--blue); }
.dupe-tag--save { background: var(--green-light); color: var(--green); font-weight: 600; }
.dupe-card-comment { font-size: .8rem; color: var(--text2); line-height: 1.7; font-weight: 300; }

.review { padding: 14px 0; border-bottom: 1px solid var(--border); }
.review:last-child { border-bottom: none; }
.review-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.review p { font-size: .85rem; color: var(--text2); font-weight: 300; }

/* ==========================================
   Article body
   ========================================== */
.article-hero { margin-bottom: 32px; }
.article-hero .page-title { font-size: 1.6rem; line-height: 1.4; margin-bottom: 12px; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.article-category {
    display: inline-block; font-size: .68rem; font-weight: 600;
    padding: 4px 12px; border-radius: 14px;
    background: var(--accent); color: #fff;
    letter-spacing: .03em;
}
.article-date { font-size: .8rem; color: var(--text2); }
.article-featured {
    display: inline-block; font-size: .68rem; font-weight: 600;
    padding: 4px 12px; border-radius: 14px;
    background: #d4a017; color: #fff;
    letter-spacing: .03em;
}
.article-tag {
    display: inline-block; font-size: .72rem; color: var(--text2);
    text-decoration: none;
}
.article-summary {
    font-size: .88rem; color: var(--text2); font-weight: 300;
    line-height: 1.8; margin-top: 4px;
}

.article-body { margin-top: 36px; line-height: 2; font-weight: 300; font-size: .92rem; }
.article-body h2 {
    font-family: var(--heading); font-size: 1.2rem; font-weight: 700;
    margin: 48px 0 16px; padding: 12px 16px;
    background: var(--surface2); border-radius: var(--r);
    border-left: 4px solid var(--accent);
    line-height: 1.5;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
    font-family: var(--heading); font-size: 1.02rem; font-weight: 600;
    margin: 32px 0 10px; padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    line-height: 1.5;
}
.article-body p { margin-bottom: 16px; color: var(--text); }
.article-body ul, .article-body ol { margin-bottom: 18px; padding-left: 24px; }
.article-body li { margin-bottom: 6px; }
.article-body li strong { color: var(--text); font-weight: 600; }
.article-body strong { font-weight: 600; }

/* Article callout boxes */
.article-body blockquote {
    margin: 20px 0; padding: 16px 20px;
    background: var(--blue-light); border-left: 4px solid var(--blue);
    border-radius: 0 var(--r) var(--r) 0;
    font-size: .88rem; color: var(--text);
}

/* Article table of contents feel for related section */
.article-related { margin-top: 48px; padding-top: 24px; border-top: 2px solid var(--border); }
.article-related h2 {
    font-family: var(--heading); font-size: 1.1rem; font-weight: 600;
    margin-bottom: 16px; padding: 0; background: none; border-left: none;
}

/* Article list rows */
.article-row {
    display: block; padding: 20px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text); transition: all .15s;
}
.article-row:last-child { border-bottom: none; }
.article-row:hover { color: var(--text); }
.article-row:hover .article-row-title { color: var(--accent); }
.article-row-body { display: flex; flex-direction: column; gap: 6px; }
.article-row-meta { display: flex; align-items: center; gap: 10px; }
.article-row-title {
    font-family: var(--heading); font-size: 1.02rem; font-weight: 600;
    line-height: 1.5; transition: color .15s;
}
.article-row-summary { font-size: .82rem; color: var(--text2); font-weight: 300; line-height: 1.7; margin: 0; }

/* Article row with thumbnail */
.article-row--has-thumb { display: flex; gap: 16px; align-items: flex-start; }
.article-row-thumb { flex-shrink: 0; width: 120px; height: 80px; border-radius: var(--r); overflow: hidden; background: var(--surface2); }
.article-row-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Rank badge for popular articles */
.rank-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    font-size: .68rem; font-weight: 700;
    font-family: var(--heading);
    background: linear-gradient(135deg, var(--accent), var(--blue));
    color: #fff; margin-right: 8px; flex-shrink: 0;
    vertical-align: middle;
}

/* ==========================================
   Badges
   ========================================== */
.savings {
    font-size: .62rem; font-weight: 600;
    color: var(--green); background: var(--green-light);
    padding: 2px 8px; border-radius: 10px; white-space: nowrap;
}
.badge-dupe {
    font-size: .62rem; font-weight: 600;
    color: var(--accent); background: var(--pink-light);
    padding: 2px 8px; border-radius: 10px; white-space: nowrap;
}

/* ==========================================
   Shared
   ========================================== */
.meta { font-size: .75rem; color: var(--text2); font-weight: 400; }
.label-sm { display: inline-block; font-size: .6rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--text2); }
.empty { color: var(--text2); text-align: center; padding: 40px 0; font-weight: 300; }
.search-count { font-size: .88rem; color: var(--text2); margin-bottom: 16px; }

/* ==========================================
   Footer — simple
   ========================================== */
.footer {
    margin-top: 48px;
    padding: 28px 0 20px;
    border-top: 1px solid var(--border);
}
.footer-inner {
    max-width: var(--max); margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap;
}
.footer-brand p { font-size: .78rem; color: var(--text2); font-weight: 300; margin-top: 2px; }
.footer-links { display: flex; gap: 32px; }
.footer-links div strong {
    display: block; font-size: .65rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: .08em; color: var(--text2); margin-bottom: 6px;
}
.footer-links a { display: block; font-size: .78rem; color: var(--text2); padding: 2px 0; font-weight: 300; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { text-align: center; font-size: .68rem; color: var(--text2); margin-top: 20px; padding: 0 24px; }

/* ==========================================
   About
   ========================================== */
.about-page h1 { font-family: var(--heading); font-size: 1.8rem; margin-bottom: 28px; }
.about-section { margin-bottom: 28px; }
.about-section h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; border-left: 3px solid var(--accent); padding-left: 10px; }
.about-section h3 { font-family: var(--heading); font-size: .95rem; font-weight: 600; margin: 20px 0 8px; }
.about-section p { line-height: 1.85; margin-bottom: 10px; font-weight: 300; }
.about-section ul { padding-left: 20px; line-height: 1.85; margin-bottom: 12px; }
.about-section li { margin-bottom: 6px; font-weight: 300; }

.pillar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 16px 0; }
.pillar-card {
    padding: 16px 14px; background: var(--surface2);
    border-radius: var(--r-lg); border: 1px solid var(--border);
}
.pillar-card strong { font-family: var(--heading); font-size: .88rem; display: block; margin-bottom: 4px; }
.pillar-card p { font-size: .76rem; color: var(--text2); font-weight: 300; line-height: 1.5; margin: 0; }

/* ==========================================
   Breadcrumb
   ========================================== */
.breadcrumb { font-size: .8rem; color: var(--text2); margin-bottom: 20px; padding-top: 20px; }
.breadcrumb a { color: var(--text2); }
.breadcrumb a:hover { color: var(--accent); }

/* ==========================================
   Forms
   ========================================== */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: .82rem; font-weight: 500; margin-bottom: 4px; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r);
    background: var(--surface);
    color: var(--text);
    font-size: .85rem;
    font-family: var(--sans);
    transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue); outline: none; }
.form-group input[type="checkbox"] { width: auto; margin-right: 6px; }
.form-error { color: #c0392b; font-size: .75rem; margin-top: 2px; display: block; }
.review-form-section { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.review-form-section h3 { font-family: var(--heading); font-size: .95rem; font-weight: 600; margin-bottom: 12px; }
.contact-form { margin-top: 20px; }

/* ==========================================
   Alerts
   ========================================== */
.alert { padding: 12px 16px; border-radius: var(--r); margin: 14px 0; font-size: .85rem; }
.alert--success { background: var(--green-light); color: var(--green); border: 1px solid rgba(92,184,122,.12); }

/* ==========================================
   Pagination
   ========================================== */
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.pagination-link { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 8px; border: 1px solid var(--border); border-radius: 17px; font-size: .82rem; color: var(--text2); transition: all .15s; }
.pagination-link:hover { border-color: var(--accent); color: var(--accent); }
.pagination-link--active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ==========================================
   Frag list (brand detail)
   ========================================== */
.frag-list { list-style: none; }
.frag-list li { border-bottom: 1px solid var(--border); }
.frag-list li:last-child { border-bottom: none; }
.frag-list a { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--text); }
.frag-list a:hover { color: var(--accent); }

/* ==========================================
   Accessibility
   ========================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 768px) {
    .wrap { padding: 0 16px; }
    .header-inner { padding: 10px 16px; gap: 12px; flex-wrap: wrap; }
    .nav { gap: 12px; order: 3; width: 100%; overflow-x: auto; }
    .nav a { font-size: .7rem; }
    .header-search input { width: 120px; }
    .hero { padding: 44px 0 32px; }
    .hero h1 { font-size: 1.5rem; }
    .search-form { flex-direction: column; }
    .card-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .detail-top { flex-direction: column; gap: 20px; }
    .detail-img { flex: none; text-align: center; }
    .detail-img img { margin: 0 auto; width: 160px; height: 200px; }
    .detail-specs { gap: 8px; }
    .detail-spec { padding: 8px 12px; min-width: 70px; }
    .dupe-card { padding: 12px; }
    .dupe-card-img { width: 52px; height: 64px; }
    .article-hero .page-title { font-size: 1.3rem; }
    .article-row-thumb { width: 90px; height: 60px; }
    .article-summary { font-size: .85rem; padding: 12px 14px; }
    .article-body h2 { font-size: 1.05rem; padding: 10px 12px; margin: 36px 0 12px; }
    .article-body h3 { font-size: .95rem; margin: 24px 0 8px; }
    .footer-inner { flex-direction: column; gap: 16px; }
    .footer-links { flex-direction: column; gap: 16px; }
    .pillar-grid { grid-template-columns: 1fr; }
    .ranking-strip { gap: 6px; }
}
@media (max-width: 480px) {
    .card-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .card { padding: 10px; }
    .card img { height: 100px; }
}
