:root {
  --navy: #14213d; --navy-2: #1f3160; --ink: #1b1f2a; --muted: #5d6475;
  --cream: #faf7f2; --card: #ffffff; --line: #e7e2d9;
  --accent: #ff6b4a; --accent-2: #e2512f; --good: #2e9d6b; --bad: #d1495b; --gold: #f5b300;
  --radius: 14px; --shadow: 0 6px 24px rgba(20, 33, 61, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.6; }
h1, h2, h3, h4 { font-family: "Fraunces", Georgia, serif; line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
a { color: var(--navy-2); }
img { max-width: 100%; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.btn { display: inline-block; padding: .75em 1.4em; border-radius: 999px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; border: 0; cursor: pointer; font-size: 1rem; transition: background .2s, transform .2s; }
.btn:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.btn.small { padding: .5em 1em; font-size: .9rem; }
.pill { display: inline-block; padding: .2em .7em; border-radius: 999px; background: #eef1f8; color: var(--navy-2); font-size: .8rem; font-weight: 600; margin: 2px; }
.muted { color: var(--muted); }
.section { padding: 64px 0; }
.section.alt { background: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.grid { display: grid; gap: 22px; }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Header */
.topbar { background: var(--navy); color: #cfd6e6; font-size: .82rem; text-align: center; padding: 6px 16px; }
header.site { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { font-family: "Fraunces", serif; font-weight: 700; font-size: 1.45rem; color: var(--navy); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo span.dot { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), #ffb36b); display: inline-block; }
.menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a { display: block; white-space: nowrap; padding: 10px 12px; text-decoration: none; color: var(--ink); font-weight: 500; border-radius: 8px; }
.menu > li > a:hover, .menu > li > a.active { background: #f3efe8; }
.dropdown { position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 10px; min-width: 240px; display: none; }
.menu > li:hover .dropdown, .menu > li:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: 7px 10px; text-decoration: none; color: var(--ink); border-radius: 8px; font-size: .94rem; }
.dropdown a:hover { background: #f3efe8; }
.burger { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; }
@media (max-width: 1100px) {
  .burger { display: block; }
  .menu { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px 16px; border-bottom: 1px solid var(--line); max-height: calc(100vh - 68px); overflow: auto; }
  .menu.open { display: flex; }
  .dropdown { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .nav .btn { display: none; }
}

/* Hero */
.hero { background: radial-gradient(1200px 400px at 80% -10%, #ffe2d6 0, transparent 60%), linear-gradient(180deg, #fff 0, var(--cream) 100%); padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.stats { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.stats strong { display: block; font-size: 1.7rem; font-family: "Fraunces", serif; color: var(--navy); }
.stats span { color: var(--muted); font-size: .9rem; }
.hero-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 24px; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(20,33,61,.12); }
.product-img { height: 140px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 14px; position: relative; overflow: hidden; }
.product-img svg { width: 80%; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--navy); color: #fff; font-size: .72rem; padding: 3px 9px; border-radius: 999px; font-weight: 600; }
.rating { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); }
.stars { color: var(--gold); letter-spacing: 1px; }
.card h3 { font-size: 1.2rem; margin: 6px 0; }
.card h3 a { text-decoration: none; color: inherit; }
.meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); margin: 6px 0 10px; }
.card .row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 8px; }
.price { font-weight: 700; font-size: 1.1rem; }

.cat-card { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.cat-card .ico { font-size: 1.8rem; width: 52px; height: 52px; border-radius: 12px; background: #fff1eb; display: grid; place-items: center; flex: none; }
.cat-card strong { display: block; color: var(--navy); }

/* Trust / method */
.method { text-align: center; }
.method .ico { font-size: 2rem; }
.promise { background: var(--navy); color: #e8ecf5; border-radius: 20px; padding: 40px; }
.promise h2 { color: #fff; }
.promise ul { list-style: none; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.promise li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* Deals */
.deal { border: 2px dashed var(--accent); background: #fffaf7; }
.code { font-family: ui-monospace, monospace; background: #fff; border: 1px solid var(--line); padding: 4px 10px; border-radius: 6px; font-weight: 700; }

/* Filters */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 24px; }
.toolbar label { display: flex; flex-direction: column; font-size: .8rem; color: var(--muted); font-weight: 600; gap: 4px; flex: 1 1 160px; }
select, input[type=search], input[type=range] { font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }

/* Review page */
.breadcrumb { font-size: .88rem; color: var(--muted); margin: 18px 0; }
.breadcrumb a { color: var(--muted); }
.review-head { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
@media (max-width: 900px) { .review-head { grid-template-columns: 1fr; } }
.scorebox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: sticky; top: 90px; }
.big-score { font-size: 3rem; font-family: "Fraunces", serif; color: var(--navy); font-weight: 700; line-height: 1; }
.bar { height: 8px; background: #eee8de; border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #ffb36b); border-radius: 99px; }
.score-row { display: grid; grid-template-columns: 1fr 44px; gap: 4px 10px; align-items: center; margin: 10px 0; font-size: .92rem; }
.score-row .bar { grid-column: 1 / -1; }
.firm-scale { position: relative; height: 14px; border-radius: 99px; background: linear-gradient(90deg, #bfe3ff, #9ad0c2, #ffd27a, #ff9f5a, #d1495b); margin: 30px 0 8px; }
.firm-scale .marker { position: absolute; top: -26px; transform: translateX(-50%); background: var(--navy); color: #fff; font-size: .75rem; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.firm-scale .marker::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--navy); border-bottom: 0; }
.firm-labels { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .proscons { grid-template-columns: 1fr; } }
.proscons ul { padding-left: 0; list-style: none; }
.proscons .pros li::before { content: "✔ "; color: var(--good); }
.proscons .cons li::before { content: "✖ "; color: var(--bad); }
.layers li { padding: 10px 14px; margin: 6px 0; border-radius: 8px; background: #f5f2ec; list-style: none; }
.layers { padding: 0; }
.verdict { border-left: 5px solid var(--accent); background: #fff; padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.toc a { display: inline-block; margin: 3px 10px 3px 0; }
.author { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--navy-2), var(--accent)); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; }
article.body section { margin-bottom: 40px; }
.disclosure { font-size: .82rem; color: var(--muted); background: #f3efe8; padding: 10px 14px; border-radius: 10px; }

/* Table */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: .94rem; }
th { background: #f7f4ef; color: var(--navy); font-weight: 600; }
td.win { background: #eaf7f0; font-weight: 700; }

/* Quiz */
.quiz { max-width: 720px; margin: 0 auto; }
.progress { height: 6px; background: #eee8de; border-radius: 99px; overflow: hidden; margin-bottom: 26px; }
.progress i { display: block; height: 100%; background: var(--accent); transition: width .3s; }
.options { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.option { padding: 18px; border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; text-align: left; font: inherit; transition: border-color .2s, background .2s; }
.option:hover { border-color: var(--accent); background: #fffaf7; }
.option .ico { font-size: 1.6rem; display: block; margin-bottom: 4px; }

/* Newsletter + footer */
.newsletter { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 20px; padding: 40px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.newsletter h2 { color: #fff; margin: 0; }
.newsletter form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter input { padding: 12px 16px; border-radius: 999px; border: 0; min-width: 240px; font: inherit; }
footer.site { background: var(--navy); color: #b8c1d6; padding: 56px 0 24px; margin-top: 64px; font-size: .92rem; }
footer.site h4 { color: #fff; font-family: "Inter", sans-serif; font-size: .95rem; }
footer.site a { color: #b8c1d6; text-decoration: none; display: block; padding: 3px 0; }
footer.site a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; }
.empty { padding: 40px; text-align: center; color: var(--muted); }

/* ---------- PHP site additions ---------- */
.center { text-align: center; }
.mt { margin-top: 24px; }
.mb { margin-bottom: 32px; }
.small { font-size: .85rem; }
.strong { font-weight: 600; }
.narrow { max-width: 860px; }
.lead { font-size: 1.12rem; }
.good { color: var(--good); font-weight: 600; }
.block { display: block; width: 100%; text-align: center; }
.hp { position: absolute; left: -9999px; }
.topbar a { color: #fff; }
.logo img { display: block; }
.menu-search input { width: 130px; padding: 7px 10px; }
.dropdown.mega { display: none; grid-template-columns: repeat(2, minmax(200px, 1fr)); gap: 10px 22px; min-width: 460px; }
.dropdown.mega.wide { grid-template-columns: repeat(3, minmax(190px, 1fr)); min-width: 680px; left: -120px; }
.menu > li:hover .dropdown.mega, .menu > li:focus-within .dropdown.mega { display: grid; }
.dropdown h5 { margin: 6px 10px; font-family: Inter, sans-serif; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
@media (max-width: 1100px) {
  .dropdown.mega, .dropdown.mega.wide { display: grid; grid-template-columns: 1fr; min-width: 0; }
  .menu-search input { width: 100%; }
}
.hero-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); gap: 10px; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img { height: 260px; }
.pill.on { background: var(--navy); color: #fff; }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.cat-tabs .pill { text-decoration: none; padding: .4em .9em; }
.quicklinks { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 10px 0 18px; font-size: .94rem; }
.toolbar label.end { justify-content: flex-end; flex: 0 0 auto; }
.light-link { color: #ffd6c9; }
.vs-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-decoration: none; color: var(--navy); }
.vs-card .vs { background: var(--accent); color: #fff; border-radius: 99px; padding: 2px 10px; font-size: .8rem; font-weight: 700; }
.brand-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.brand-strip a { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 18px; text-decoration: none; font-weight: 600; color: var(--navy); }
.brand-strip img { height: 28px; }
.brand-card { text-decoration: none; color: inherit; text-align: center; }
.brand-card img { max-height: 40px; }
.brand-head { display: flex; align-items: center; gap: 16px; }
.brand-head img { max-height: 56px; }
.guide-card { text-decoration: none; color: inherit; display: block; }
.guide-card h3 { margin-top: 10px; }
.guide-hero { width: 100%; border-radius: 14px; margin: 10px 0 20px; }
.pick { display: grid; grid-template-columns: minmax(0, 240px) 1fr; gap: 24px; margin-bottom: 22px; }
.pick .product-img { height: auto; min-height: 160px; }
@media (max-width: 640px) { .pick { grid-template-columns: 1fr; } }
.award-label { color: var(--accent-2); font-weight: 700; font-size: .9rem; }
.awards { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 20px; }
.award { background: #fff4e5; color: #8a4b00; border-radius: 99px; padding: 4px 12px; font-size: .85rem; text-decoration: none; font-weight: 600; }
.proscons.compact ul { margin: 6px 0; }
.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 1.6em; }
.prose img { border-radius: 10px; }
.prose table { min-width: 0; background: #fff; border: 1px solid var(--line); }
.prose blockquote { border-left: 4px solid var(--accent); margin: 1em 0; padding: 4px 18px; background: #fff; }
.lead-block { margin-bottom: 24px; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.sidebar .card { position: sticky; top: 90px; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } }
.author.big .avatar { width: 88px; height: 88px; font-size: 2rem; }
img.avatar { object-fit: cover; }
.deal .brand { color: var(--navy); }
button.code { cursor: pointer; }
button.code.copied::after { content: " ✓ copied"; color: var(--good); font-weight: 400; }
.deal-note { color: var(--accent-2); }
.draft-banner { background: #fff3cd; color: #856404; padding: 10px 14px; border-radius: 10px; margin-top: 16px; font-weight: 600; }
.searchbar { display: flex; gap: 8px; margin: 16px 0; max-width: 560px; }
.searchbar input { flex: 1; font: inherit; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; }
.form label { display: block; font-weight: 600; margin-bottom: 14px; }
.form input, .form textarea { display: block; width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; margin-top: 6px; }
.notice { padding: 14px 18px; border-radius: 10px; margin: 16px 0; }
.notice.ok { background: #eaf7f0; color: #1d6b48; }
.notice.err { background: #fdecee; color: #9b2335; }
.newsletter p { margin: 6px 0 0; color: #cfd6e6; }
.socials a { display: inline-block; margin-right: 12px; }

.pending { background: #fff4e5; color: #8a4b00; border-radius: 10px; padding: 10px 12px; font-weight: 600; margin: 8px 0 12px; }
.spec-list { list-style: none; padding: 0; margin: 0 0 14px; }
.spec-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.spec-list span { color: var(--muted); }

.takeaways { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--navy); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 22px; margin: 20px 0; }
.takeaways h2 { font-size: 1.15rem; margin-bottom: 8px; }
.takeaways ul { margin: 0; padding-left: 20px; }
.takeaways li { margin: 4px 0; }
.specs-table th { width: 38%; background: #faf8f4; }

.research-badge { display: inline-block; background: #eef4ff; color: #1f3d8a; border: 1px solid #c9d8ff; border-radius: 999px; padding: 2px 10px; font-size: .82rem; font-weight: 700; }
.bar.research > i { background: linear-gradient(90deg, #4f6fd6, #8fb0ff); }

/* ===== Photos, diagrams & media ===== */
figure.photo { margin: 0 0 22px; }
figure.photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; }
figure.photo figcaption { font-size: .75rem; color: var(--muted); margin-top: 6px; }
figure.photo figcaption a { color: var(--muted); }
figure.photo.wide img { aspect-ratio: 16 / 7; }
.product-img.diagram { height: 150px; padding: 12px 10px 22px; }
.product-img.diagram svg { width: 92%; height: 100%; }
.hero-img.diagram { height: 260px; }
.diagram-tag { position: absolute; right: 10px; bottom: 6px; font-size: .68rem; color: var(--muted); letter-spacing: .02em; }
.layer-figure { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0 0 18px; }
.layer-figure svg { width: 100%; height: auto; display: block; }
.layer-figure figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; }
dialog.lightbox::backdrop { background: rgba(10, 15, 30, .85); }
dialog.lightbox img { max-height: 86vh; border-radius: 10px; display: block; }
dialog.lightbox button { position: absolute; top: 8px; right: 8px; border: 0; background: #fff; border-radius: 99px; width: 34px; height: 34px; font-size: 1.1rem; cursor: pointer; }
.lite-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; margin: 0 0 18px; }
.lite-video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.lite-video button { position: absolute; inset: 0; margin: auto; width: 74px; height: 52px; border-radius: 14px; border: 0; background: var(--accent); color: #fff; font-size: 1.5rem; cursor: pointer; }
.lite-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hero-photo { margin: 0 0 18px; }
.hero-photo img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.hero-photo figcaption { font-size: .7rem; color: var(--muted); margin-top: 4px; }
.hero-photo figcaption a { color: var(--muted); }
.page-hero { position: relative; border-radius: 20px; overflow: hidden; margin: 0 0 26px; }
.page-hero img { display: block; width: 100%; height: 280px; object-fit: cover; }
.page-hero figcaption { position: absolute; right: 10px; bottom: 8px; font-size: .7rem; color: #fff; background: rgba(0,0,0,.45); padding: 2px 8px; border-radius: 6px; margin: 0; }
.page-hero figcaption a { color: #fff; }
@media (max-width: 640px) { .page-hero img { height: 180px; } }
.list-card { padding: 0; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.list-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.list-card div { padding: 14px 16px 18px; }
.list-card strong { color: var(--navy); display: block; }
.guide-card { text-decoration: none; color: var(--ink); }
.guide-card .guide-img { width: calc(100% + 44px); margin: -22px -22px 14px; max-width: none; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; display: block; }

/* ===== Share, TOC, back to top ===== */
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 22px; font-size: .85rem; }
.share span { color: var(--muted); font-weight: 600; }
.share a, .share button { font: inherit; font-size: .82rem; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--navy); }
.share button.copied::after { content: " ✓"; color: var(--good); }
.toc-box { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 16px 20px; margin: 0 0 24px; }
.toc-box ol { margin: 8px 0 0; padding-left: 20px; columns: 2 260px; }
.toc-box li { margin: 3px 0; break-inside: avoid; }
.prose h2, section[id] { scroll-margin-top: 90px; }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 60; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* ===== Reader reviews & price alerts ===== */
.rr-summary { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.rr-summary .big-score { font-size: 2.4rem; }
.rr-item { border-top: 1px solid var(--line); padding: 16px 0; }
.rr-item h4 { margin: 4px 0; font-size: 1.05rem; }
.rr-form { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 14px; }
.rr-form .full { grid-column: 1 / -1; }
.rr-form label, .rr-form .lbl { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.rr-form input, .rr-form textarea, .rr-form select, .alert-form input, .tool input, .tool select { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
@media (max-width: 640px) { .rr-form { grid-template-columns: 1fr; } }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; border: 0; padding: 0; margin: 0; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 1.8rem; color: #d8d2c6; cursor: pointer; line-height: 1; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--gold); }
.star-input input:focus-visible + label { outline: 2px solid var(--navy); border-radius: 4px; }
.notice { padding: 12px 16px; border-radius: 10px; margin: 10px 0; }
.notice.ok { background: #e7f6ee; color: #1d6b48; }
.notice.err { background: #fde8eb; color: #9b2335; }
.alert-form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.alert-form input[type=email] { flex: 1 1 160px; min-width: 0; }
.alert-box { background: #f5f2ec; border-radius: 12px; padding: 14px; margin-top: 16px; font-size: .9rem; }
.cpn { font-size: .85rem; color: var(--muted); }

/* ===== Tools, tables, glossary ===== */
.tool { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); margin: 0 0 28px; }
.tool-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: end; }
.tool-row label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--muted); flex: 1 1 160px; }
.tool-result { margin-top: 18px; }
.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.result-grid div { background: var(--cream); border-radius: 12px; padding: 14px; text-align: center; }
.result-grid strong { display: block; font-family: "Fraunces", serif; font-size: 1.6rem; color: var(--navy); }
.result-grid .best { background: #fff1eb; outline: 2px solid var(--accent); }
.tool-card { text-decoration: none; color: var(--ink); }
.tool-card .ico { font-size: 2rem; }
table.sortable th { cursor: pointer; user-select: none; white-space: nowrap; }
table.sortable th::after { content: " ↕"; color: #b9b2a5; font-size: .8em; }
table.sortable th.asc::after { content: " ↑"; color: var(--navy); }
table.sortable th.desc::after { content: " ↓"; color: var(--navy); }
table.sortable th.nosort { cursor: default; }
table.sortable th.nosort::after { content: ""; }
.fits { color: var(--good); font-weight: 600; }
.nofit { color: var(--bad); }
.size-viz { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; margin: 18px 0; }
.size-viz div { background: #e8edf7; border: 2px solid var(--navy-2); border-radius: 6px; display: grid; place-items: center; font-size: .7rem; font-weight: 600; color: var(--navy); text-align: center; padding: 2px; }
.glossary-letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; }
.glossary-letters a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
dl.glossary dt { font-family: "Fraunces", serif; font-size: 1.15rem; color: var(--navy); margin-top: 18px; scroll-margin-top: 90px; }
dl.glossary dd { margin: 4px 0 0; }
dl.glossary h3 { margin-top: 28px; border-bottom: 1px solid var(--line); padding-bottom: 4px; scroll-margin-top: 90px; }

/* ===== Search suggestions & cookie banner ===== */
.suggest-wrap { position: relative; }
.suggest { position: absolute; top: calc(100% + 4px); right: 0; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); z-index: 70; padding: 6px; text-align: left; }
.suggest a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .9rem; }
.suggest a small { color: var(--muted); display: block; font-size: .75rem; }
.suggest a:hover, .suggest a.on { background: #f3efe8; }
.cookie-bar { position: fixed; left: 16px; bottom: 16px; width: min(560px, calc(100% - 32px)); background: var(--navy); color: #e8ecf5; border-radius: 16px; padding: 16px 18px; z-index: 80; box-shadow: 0 10px 40px rgba(0,0,0,.25); font-size: .9rem; }
.cookie-bar a { color: #fff; }
.cookie-bar .btns { display: flex; gap: 8px; margin-top: 10px; }
.cookie-bar .btn.ghost { color: #fff; border-color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Deals hub & brand coupon pages ===== */
.brand-tile { width: 52px; height: 52px; border-radius: 12px; display: inline-grid; place-items: center; flex: none; color: #fff; font-family: "Fraunces", serif; font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; }
.brand-tile.lg { width: 76px; height: 76px; font-size: 1.6rem; border-radius: 16px; }
.brand-tile.has-logo { background: #fff; border: 1px solid var(--line); padding: 6px; }
.brand-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.deal-brand-head { display: flex; align-items: center; gap: 14px; }
.deal-brand-head h1 { margin: 0 0 4px; }
.deal-brand-head.big { margin-bottom: 8px; }
.deal-brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; }
.deal-brand h3 { margin: 0; font-size: 1.1rem; }
.deal-brand-top { margin: 0; font-size: .92rem; }
.deal-brand-cta { margin-top: auto; font-weight: 600; color: var(--accent-2); font-size: .9rem; }
.deal .meta a.brand { text-decoration: none; }
.deal-type { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 2px 8px; border-radius: 99px; background: #eef1f8; color: var(--navy-2); }
.deal-type.code-type { background: #fff1eb; color: var(--accent-2); }
.deal-list { display: grid; gap: 14px; }
.deal-list > div[hidden] { display: none; }
.deal-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 16px; }
.deal-tabs button { font: inherit; font-size: .88rem; font-weight: 600; padding: 7px 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--navy); }
.deal-tabs button.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ===== Brand logos ===== */
img.brand-logo { display: block; max-height: 44px; max-width: 170px; width: auto; height: auto; object-fit: contain; }
img.card-logo { display: block; height: 22px; width: auto; max-width: 120px; object-fit: contain; margin: 4px 0 2px; }
img.deal-logo { display: block; height: 24px; width: auto; max-width: 110px; object-fit: contain; }
img.review-logo { height: 30px; width: auto; max-width: 160px; display: block; margin: 0 0 8px; }
img.scorebox-logo { height: 28px; width: auto; max-width: 150px; margin: 0 auto 10px; display: block; }
img.th-logo { display: block; height: 22px; width: auto; max-width: 120px; margin-bottom: 4px; }
.review-brand { display: inline-block; }
.scorebox-brand { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 10px; }
.brand-card img { max-height: 44px; max-width: 160px; width: auto; height: auto; margin: 6px auto 10px; display: block; object-fit: contain; }
.brand-strip a { display: flex; align-items: center; min-height: 54px; }
.brand-strip img { height: 26px; width: auto; max-width: 130px; object-fit: contain; }
.brand-head img { max-height: 56px; max-width: 200px; width: auto; object-fit: contain; }

/* ===== Deals hero ===== */
.deals-hero { background: radial-gradient(900px 300px at 85% -20%, rgba(255,107,74,.35), transparent 60%), linear-gradient(135deg, var(--navy) 0%, #24386b 100%); color: #e8ecf5; padding: 8px 0 40px; }
.deals-hero .breadcrumb, .deals-hero .breadcrumb a { color: #b9c3dc; }
.deals-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .3em; }
.deals-hero .lead { color: #cfd6e6; max-width: 720px; font-size: 1.08rem; }
.deal-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.deal-stats div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 12px 18px; min-width: 120px; }
.deal-stats strong { display: block; font-family: "Fraunces", serif; font-size: 1.7rem; color: #fff; line-height: 1.1; }
.deal-stats span { font-size: .82rem; color: #b9c3dc; }
.deal-stats .hot { background: rgba(255,107,74,.2); border-color: rgba(255,107,74,.5); }
.deal-stats.compact div { padding: 8px 14px; min-width: 96px; }
.deal-stats.compact strong { font-size: 1.35rem; }
.brand-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; }
.brand-hero-logo { background: #fff; border-radius: 18px; width: 190px; height: 110px; display: grid; place-items: center; padding: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.brand-hero-logo img.brand-logo { max-height: 64px; max-width: 150px; }
@media (max-width: 820px) { .brand-hero { grid-template-columns: 1fr; gap: 16px; } .brand-hero-logo { width: 160px; height: 90px; } }
.mt-lg { margin-top: 48px; }

/* ===== Brand deal cards (hub) ===== */
.brand-deal-card { padding: 0; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.bdc-logo { height: 110px; display: grid; place-items: center; background: linear-gradient(180deg, #fff, #f7f4ee); border-bottom: 1px solid var(--line); padding: 16px; }
.bdc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bdc-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #eef1f8; color: var(--navy-2); }
.chip.code { background: #fff1eb; color: var(--accent-2); }
.bdc-top { margin: 0; font-size: .95rem; }
.bdc-top strong { color: var(--accent-2); margin-right: 4px; }
.bdc-cta { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--navy); font-size: .9rem; }
.brand-deal-card:hover .bdc-cta { color: var(--accent-2); }

/* ===== Coupon-style deal cards ===== */
.deal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 18px; }
@media (max-width: 520px) { .deal-grid { grid-template-columns: 1fr; } }
.deal-card { display: grid; grid-template-columns: 112px 1fr; padding: 0; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.deal-card.is-featured { border-color: var(--accent); box-shadow: 0 8px 26px rgba(255,107,74,.15); }
.deal-badge { background: linear-gradient(160deg, #fff4ef, #ffe3d8); border-right: 2px dashed #f3b7a3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14px 8px; color: var(--accent-2); position: relative; }
.deal-badge::before, .deal-badge::after { content: ""; position: absolute; right: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); }
.deal-badge::before { top: -9px; } .deal-badge::after { bottom: -9px; }
.deal-badge strong { font-family: "Fraunces", serif; font-size: 1.75rem; line-height: 1; letter-spacing: -.01em; }
.deal-badge span, .deal-badge small { font-weight: 800; font-size: .72rem; letter-spacing: .08em; }
.deal-badge small { margin-bottom: 3px; color: #b8563a; }
.deal-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.deal-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.deal-brand-link { text-decoration: none; color: var(--navy); margin-right: 2px; }
.deal-type.hot { background: #fff1eb; color: var(--accent-2); }
.deal-exp { margin-left: auto; font-size: .78rem; color: var(--muted); white-space: nowrap; }
.deal-exp.urgent { color: #c0392b; font-weight: 700; }
.deal-exp.urgent::before { content: "⏱ "; }
.deal-card h3 { font-size: 1.08rem; margin: 2px 0 0; }
.deal-card p { margin: 0; font-size: .9rem; }
.deal-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.deal-actions .btn { margin-left: auto; }
.no-code { font-size: .82rem; color: var(--good); font-weight: 600; }
.deal-review { flex-basis: 100%; font-size: .82rem; }
.code-box { display: inline-flex; align-items: stretch; border: 2px dashed var(--accent); border-radius: 10px; overflow: hidden; }
.code-box span { font-family: ui-monospace, monospace; font-weight: 800; letter-spacing: .06em; padding: 6px 12px; color: var(--navy); background: #fffaf7; }
.code-copy { border: 0; background: var(--accent); color: #fff; font-weight: 700; padding: 0 12px; cursor: pointer; font: inherit; font-size: .82rem; }
.code-copy.copied::after { content: " ✓"; }
@media (max-width: 520px) { .deal-card { grid-template-columns: 84px 1fr; } .deal-badge strong { font-size: 1.3rem; } .deal-exp { margin-left: 0; } }

/* ===== Logo wall, sale calendar, sidebar ===== */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.logo-wall a { background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 74px; display: grid; place-items: center; padding: 12px 16px; text-decoration: none; color: var(--navy); transition: transform .2s, box-shadow .2s; }
.logo-wall a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.logo-wall img { max-height: 34px; max-width: 120px; width: auto; height: auto; object-fit: contain; filter: grayscale(.15); }
.logo-wall.small { grid-template-columns: repeat(2, 1fr); gap: 8px; }
.logo-wall.small a { height: 56px; padding: 8px; }
.logo-wall.small img { max-height: 24px; max-width: 100px; }
.sale-calendar { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.sale-calendar > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; position: relative; }
.sale-calendar > div.now { border-color: var(--accent); box-shadow: 0 8px 24px rgba(255,107,74,.15); }
.sale-calendar .month { display: inline-block; font-weight: 800; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--navy); padding: 3px 10px; border-radius: 99px; margin-bottom: 8px; }
.sale-calendar .now .month { background: var(--accent); }
.sale-calendar strong { display: block; color: var(--navy); }
.sale-calendar p { margin: 4px 0 0; }
.sidebar-logo { display: grid; place-items: center; padding: 6px 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.deal-list { gap: 16px; }
.brand-deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.review-head > *, .article-layout > *, .hero-grid > *, .brand-hero > * { min-width: 0; }
.layer-figure, .layer-figure svg { max-width: 100%; }
select { max-width: 100%; }
.toolbar label, .tool-row label { min-width: 0; }
.toolbar select, .tool-row select, .tool-row input { width: 100%; }
.brand-card img { width: 170px; height: 46px; max-width: 100%; object-fit: contain; margin: 8px auto 12px; }
.product-img.logo-tile { background: linear-gradient(180deg, #fff, #f6f3ee); border: 1px solid var(--line); padding: 18px 24px; }
img.tile-logo { display: block; max-width: 72%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.hero-img.logo-tile { height: 220px; }
.hero-img.logo-tile img.tile-logo { max-height: 110px; max-width: 60%; }
.pick .product-img.logo-tile img.tile-logo { max-height: 52px; }
img.tile-logo { max-width: 86%; }

/* ===== Product card alignment ===== */
.btn { white-space: nowrap; }
.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card h3 { margin-top: 8px; }
.product-card .row { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); flex-wrap: nowrap; }
.product-card .card-tags { margin-bottom: 14px; }
.product-card .price { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.product-card .price small { font-size: .78rem; font-weight: 600; margin-top: 2px; }
.product-card .btn.small { padding: .55em 1.05em; font-size: .88rem; flex: none; }
.product-card > .research-badge, .product-card > .rating, .product-card > .pill { align-self: flex-start; }

/* ===== Comparison pages ===== */
.vs-head { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; margin: 10px 0 8px; }
.vs-head > * { min-width: 0; }
.vs-product { display: flex; flex-direction: column; position: relative; }
.vs-product.leader { border-color: var(--accent); box-shadow: 0 10px 30px rgba(255,107,74,.15); }
.vs-product h2.h3 { font-size: 1.3rem; margin: 6px 0 4px; }
.vs-product h2.h3 a { text-decoration: none; color: inherit; }
.vs-product .row { margin-top: auto; padding-top: 12px; }
.vs-product .spec-list { margin: 8px 0 0; }
.leader-tag { position: absolute; top: -12px; left: 18px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; z-index: 2; }
.vs-score { font-size: .95rem; color: var(--muted); }
.vs-score strong { font-family: "Fraunces", serif; font-size: 1.8rem; color: var(--navy); }
.vs-badge { align-self: center; width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: "Fraunces", serif; font-weight: 700; font-size: 1.1rem; box-shadow: var(--shadow); }
@media (max-width: 760px) { .vs-head { grid-template-columns: 1fr; } .vs-badge { justify-self: center; margin: -4px 0; } }
.diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.diff { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.diff .ico { font-size: 1.4rem; line-height: 1.2; }
.diff strong { color: var(--navy); }
.diff p { margin: 2px 0 0; font-size: .92rem; }
.cmp-table { background: #fff; }
.cmp-table th[scope=row] { width: 26%; color: var(--muted); font-weight: 600; }
.cmp-table thead th { vertical-align: bottom; }
.cmp-table td.win { background: #e9f7ef; font-weight: 700; color: #1d6b48; }
.rs-compare { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 18px; }
.rs-head, .rs-row { display: grid; grid-template-columns: minmax(130px, 1.1fr) 1fr 1fr; gap: 16px; align-items: center; padding: 9px 0; }
.rs-head { border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--navy); }
.rs-row + .rs-row { border-top: 1px dashed var(--line); }
.rs-label { font-size: .9rem; color: var(--muted); font-weight: 600; }
.rs-cell { display: grid; grid-template-columns: 1fr 34px; gap: 10px; align-items: center; }
.rs-cell b { text-align: right; color: var(--navy); }
.rs-cell.win .bar > i { background: linear-gradient(90deg, #2e9d6b, #6fd19e); }
.rs-cell.win b { color: #1d6b48; }
.rs-row.total { border-top: 2px solid var(--line); font-size: 1.05rem; }
.rs-row.total .rs-cell { grid-template-columns: 1fr; }
.layer-list { padding-left: 20px; margin: 6px 0 0; }
.layer-list li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.layer-list li:last-child { border-bottom: 0; }
.who-card { display: flex; flex-direction: column; }
.who-card ul { padding-left: 0; list-style: none; }
.who-card ul li::before { content: "✔ "; color: var(--good); }
.who-card .btn { margin-top: auto; align-self: flex-start; }
.vs-card.logos { flex-wrap: nowrap; }
.vs-side { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; flex: 1; }
.vs-side:last-child { align-items: flex-end; text-align: right; }
.vs-side img { height: 20px; width: auto; max-width: 110px; object-fit: contain; }
.diff .ico { width: 34px; height: 34px; flex: none; border-radius: 50%; background: #fff1eb; color: var(--accent-2); display: grid; place-items: center; font-weight: 800; font-size: 1rem; }
.vs-side img { width: 110px; height: 26px; max-width: 100%; object-fit: contain; object-position: left center; }
.vs-side:last-child img { object-position: right center; }
.vs-side strong { font-size: .95rem; line-height: 1.3; }

/* ===== Deal promotion ===== */
.dealbar { display: block; background: linear-gradient(90deg, var(--accent), #ff8a5c); color: #fff; text-align: center; padding: 8px 16px; font-size: .9rem; text-decoration: none; }
.dealbar:hover { filter: brightness(1.05); }
.dealbar-cta { display: inline-block; margin-left: 8px; background: rgba(255,255,255,.22); padding: 2px 10px; border-radius: 99px; font-weight: 700; }
.nav-deals { color: var(--accent-2) !important; font-weight: 700 !important; }
.nav-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; margin-left: 2px; vertical-align: 1px; }
.meta-deal { display: inline-flex; align-items: center; gap: 4px; background: #fff1eb; color: var(--accent-2) !important; border: 1px solid #ffc9b6; border-radius: 99px; padding: 2px 12px; font-weight: 700; text-decoration: none; }
.meta-deal:hover { background: var(--accent); color: #fff !important; border-color: var(--accent); }
.toc a.toc-deal { color: var(--accent-2); font-weight: 700; }

.deal-banner { display: grid; grid-template-columns: 104px 1fr auto; gap: 18px; align-items: center; margin: 4px 0 18px; padding: 16px 18px; border: 2px solid var(--accent); border-radius: 16px; background: linear-gradient(120deg, #fff6f2, #fff); box-shadow: 0 10px 28px rgba(255,107,74,.16); position: relative; }
.deal-banner.quiet { border-style: dashed; box-shadow: none; }
.db-badge { height: 86px; border-radius: 12px; background: var(--accent); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.05; padding: 6px; }
.deal-banner.quiet .db-badge { background: #fff1eb; color: var(--accent-2); }
.db-badge strong { font-family: "Fraunces", serif; font-size: 1.7rem; }
.db-badge span, .db-badge small { font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.db-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.db-kicker { font-size: .78rem; font-weight: 800; color: var(--accent-2); text-transform: uppercase; letter-spacing: .04em; }
.db-title { font-size: 1.05rem; color: var(--navy); line-height: 1.35; }
.db-body .deal-exp { margin-left: 0; }
.db-actions { display: flex; flex-direction: column; gap: 8px; }
.db-actions .btn { text-align: center; }
.db-actions .btn.ghost { border-color: var(--accent); color: var(--accent-2); padding: .55em 1.1em; font-size: .9rem; }
.db-actions .btn.ghost:hover { background: var(--accent); color: #fff; }
@media (max-width: 700px) {
  .deal-banner { grid-template-columns: 74px 1fr; gap: 12px; padding: 14px; }
  .db-badge { height: 70px; } .db-badge strong { font-size: 1.25rem; }
  .db-actions { grid-column: 1 / -1; flex-direction: row; }
  .db-actions .btn { flex: 1; padding: .7em .6em; font-size: .92rem; }
}

.sb-deal { display: block; margin: -4px 0 16px; padding: 10px 14px; border-radius: 12px; background: linear-gradient(90deg, var(--accent), #ff8a5c); color: #fff; text-decoration: none; }
.sb-deal span { display: block; font-weight: 800; font-size: 1rem; }
.sb-deal small { opacity: .92; font-weight: 600; }
.btn.block.deal-btn { margin-top: 10px; background: #fff; color: var(--accent-2); border: 2px solid var(--accent); }
.btn.block.deal-btn:hover { background: var(--accent); color: #fff; }

.card-deal { display: block; margin: 0 0 12px; padding: 7px 10px; border-radius: 10px; background: #fff1eb; color: var(--accent-2); font-size: .82rem; text-decoration: none; line-height: 1.35; }
.card-deal:hover { background: var(--accent); color: #fff; }
.pick .card-deal { display: inline-block; margin: 6px 0 0; }
.deals-strip { background: linear-gradient(180deg, #fff3ee, var(--cream)); }

/* ===== Mobile sticky buy bar ===== */
.buy-bar { display: none; }
@media (max-width: 900px) {
  .buy-bar { display: flex; align-items: center; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(20,33,61,.14); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .25s; }
  .buy-bar.show { transform: none; }
  .bb-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
  .bb-info strong { font-size: .9rem; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bb-info span { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bb-info b { color: var(--accent-2); }
  .buy-bar .btn.ghost { border-color: var(--accent); color: var(--accent-2); }
  body.has-buy-bar { padding-bottom: 76px; }
  body.has-buy-bar .to-top { bottom: 88px; }
  body.has-buy-bar .cookie-bar { bottom: 84px; }
}

/* ===== Mobile polish ===== */
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .section { padding: 44px 0; }
  .dealbar { font-size: .82rem; padding: 7px 12px; }
  .topbar { font-size: .74rem; }
  h1 { font-size: 1.75rem; }
  .review-head h1 { font-size: 1.7rem; }
  .toc { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .toc::-webkit-scrollbar { display: none; }
  .toc a { white-space: nowrap; padding: 6px 10px; background: #fff; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; }
  .toc strong { display: none; }
  .meta { gap: 6px 12px; }
  .share a, .share button { padding: 7px 12px; }
  .scorebox { position: static; }
  .hero-img.logo-tile { height: 160px; }
  .menu > li > a { padding: 12px 10px; }
  input, select, textarea { font-size: 16px; }
}
