/* demonslayer.com.br — papel washi, tinta sumi e vermelho beni.
   Padrões japoneses tradicionais (ichimatsu, uroko, seigaiha) desenhados em CSS/SVG próprios. */
:root {
  --bg: #F7F2E8; --paper: #FFFCF6; --paper-2: #F1EADD; --ink: #1B1A21; --ink-2: #4A4652; --muted: #77716A;
  --line: #E6DBCA; --line-2: #D5C6AE;
  --beni: #C3242F; --beni-d: #9E1B25; --beni-soft: #F7E2DF; --on-beni: #FFF6EA;
  --ai: #23305A; --ai-soft: #E5E8F2; --kin: #A87A22; --kin-soft: #F5EAD2; --matcha: #2F6B4F; --fuji: #7D66C2;
  --photo: #FFFFFF;
  --shadow: 0 1px 0 rgba(27, 26, 33, .04), 0 10px 26px -14px rgba(27, 26, 33, .28);
  --radius: 14px;
  --serif: 'Shippori Mincho B1', 'Yu Mincho', 'Hiragino Mincho ProN', Georgia, serif;
  --sans: 'Zen Kaku Gothic New', 'Yu Gothic', 'Hiragino Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #12131C; --paper: #1A1C28; --paper-2: #222536; --ink: #F2EBDF; --ink-2: #D2C9BB; --muted: #9C95A6;
  --line: #2B2E40; --line-2: #3A3D52;
  --beni: #E5485A; --beni-d: #C3242F; --beni-soft: #3A1D26; --on-beni: #FFF6EA;
  --ai: #A9B8EE; --ai-soft: #222844; --kin: #E0B866; --kin-soft: #3A3122; --matcha: #6CC39A; --fuji: #B7A2E6;
  --photo: #F4F1EC;
  --shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 12px 28px -14px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 800; line-height: 1.2; margin: 0 0 .5em; letter-spacing: .005em; }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); }
p { margin: 0 0 1em; }
.wrap { width: min(1220px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 860px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.fine { font-size: .82rem; color: var(--muted); }
:focus-visible { outline: 3px solid var(--beni); outline-offset: 2px; border-radius: 6px; }

/* ---------- padrões ---------- */
.uroko-bar { height: 8px; background: conic-gradient(from 135deg at 50% 0, var(--beni) 90deg, var(--ink) 0) 0 0 / 16px 8px; }
.checker { display: inline-block; width: 14px; height: 14px; border-radius: 3px; background: repeating-conic-gradient(var(--beni) 0 25%, var(--ink) 0 50%) 0 0 / 7px 7px; vertical-align: -2px; }
.brush { position: relative; padding-bottom: .35em; }
.brush::after { content: ''; position: absolute; left: 0; bottom: 0; width: 92px; height: 9px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 9'%3E%3Cpath d='M2 6.2C14 3.4 30 2.6 46 3.1s28 1.4 44 .6c-1 1.6-3 2.8-7 3.3-14 1.2-29 .6-43 .5C27 7.4 15 7.6 5 8.3 2.4 8.5 1 7.4 2 6.2z' fill='%23C3242F'/%3E%3C/svg%3E") no-repeat 0 0 / contain; }

/* ---------- topo ---------- */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.seal-bg { fill: var(--beni); }
.seal-line { stroke: var(--on-beni); }
.seal-ink { fill: var(--on-beni); }
.seal-faded { opacity: .35; }
.brand .seal { transform: rotate(-4deg); transition: transform .25s; }
.brand:hover .seal { transform: rotate(4deg) scale(1.04); }
.wm { display: flex; align-items: baseline; font-family: var(--serif); line-height: 1; }
.wm b { font-weight: 800; font-size: 1.28rem; letter-spacing: .01em; }
.wm i { font-style: normal; font-family: var(--sans); font-weight: 700; font-size: .78rem; color: var(--beni); margin-left: 1px; }
.menu { display: flex; gap: 2px; margin-left: 6px; }
.menu a { text-decoration: none; padding: 8px 11px; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--ink-2); }
.menu a:hover { background: var(--paper-2); color: var(--ink); }
.menu a[aria-current="page"] { color: var(--beni); background: var(--beni-soft); }
.top-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon:hover { border-color: var(--line-2); }
.menu-btn { display: none; }
.count-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--beni); color: var(--on-beni); font-size: .7rem; font-weight: 700; display: inline-grid; place-items: center; }
.count-badge[hidden] { display: none; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; padding: 10px 16px; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; line-height: 1.2; transition: background .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-beni { background: var(--beni); color: var(--on-beni); }
.btn-beni:hover { background: var(--beni-d); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-line { background: var(--paper); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink-2); }
.btn-sm { padding: 7px 12px; font-size: .88rem; }
.btn-lg { padding: 14px 22px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn img, .btn i { width: 20px; height: 20px; border-radius: 5px; background: #fff; }
.link { color: var(--beni); font-weight: 700; text-decoration: none; white-space: nowrap; }
.link:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background:
  radial-gradient(70% 90% at 100% 0, color-mix(in srgb, var(--beni) 9%, transparent), transparent 70%),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cg fill='none' stroke='%23C3242F' stroke-opacity='.07' stroke-width='1.4'%3E%3Ccircle cx='24' cy='24' r='22'/%3E%3Ccircle cx='24' cy='24' r='15'/%3E%3Ccircle cx='24' cy='24' r='8'/%3E%3Ccircle cx='0' cy='12' r='22'/%3E%3Ccircle cx='48' cy='12' r='22'/%3E%3C/g%3E%3C/svg%3E") 0 100% / 48px 24px repeat-x,
  var(--bg); }
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; padding: 46px 0 54px; }
.kicker { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.1rem, 4.7vw, 3.55rem); line-height: 1.08; margin-bottom: 16px; }
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 60ch; }
.search { display: flex; gap: 8px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 14px; padding: 6px; max-width: 560px; box-shadow: var(--shadow); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 12px; outline: none; font-size: 1rem; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 18px 0 0; color: var(--muted); font-size: .92rem; }
.facts b { color: var(--ink); font-family: var(--serif); font-size: 1.2rem; margin-right: 3px; }
.hero-visual { position: relative; }
.hero-art { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(28, 33, 64, .55); transform: rotate(1.2deg); }
.hero-visual::before { content: ''; position: absolute; inset: 18px -14px -14px 18px; border-radius: 30px; background: repeating-conic-gradient(var(--beni) 0 25%, transparent 0 50%) 0 0 / 22px 22px; opacity: .18; z-index: -1; }

/* ---------- franquias ---------- */
.fr-ribbon { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 18px 0 6px; scrollbar-width: thin; }
.fr-label { font-family: var(--serif); font-weight: 800; font-size: .95rem; color: var(--beni); margin-right: 4px; flex: none; }
.fr-ribbon a { flex: none; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; font-size: .9rem; font-weight: 500; }
.fr-ribbon a:hover { border-color: var(--beni); color: var(--beni); }
.fr-ribbon small { background: var(--beni-soft); color: var(--beni); border-radius: 999px; padding: 0 7px; font-weight: 700; font-size: .72rem; }
.fr-ribbon .fr-all { border-style: dashed; color: var(--ink-2); }
.fr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin-bottom: 28px; }
.fr-card { display: flex; flex-direction: column; gap: 2px; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--beni); border-radius: 12px; padding: 12px 14px; }
.fr-card strong { font-family: var(--serif); }
.fr-card span { font-size: .85rem; color: var(--muted); }
.fr-card.is-empty { border-left-color: var(--line-2); }
.fr-card:hover { box-shadow: var(--shadow); }

/* ---------- categorias ---------- */
.block { padding: 34px 0; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 2px; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 14px 76px; min-height: 84px; justify-content: center; transition: transform .18s, border-color .18s, box-shadow .18s; }
.cat:hover { transform: translateY(-2px); border-color: var(--beni); box-shadow: var(--shadow); }
.cat-kanji { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; display: grid; place-items: center; font-family: var(--serif); font-weight: 800; font-size: 1.75rem; color: var(--on-beni); background: var(--beni); border-radius: 12px; box-shadow: inset 0 0 0 3px var(--beni), inset 0 0 0 4.5px var(--on-beni); }
.cat:nth-child(3n+2) .cat-kanji { background: var(--ai); box-shadow: inset 0 0 0 3px var(--ai), inset 0 0 0 4.5px #fff6ea; color: #fff6ea; }
[data-theme="dark"] .cat:nth-child(3n+2) .cat-kanji { background: #2c3a6e; box-shadow: inset 0 0 0 3px #2c3a6e, inset 0 0 0 4.5px #fff6ea; }
.cat:nth-child(3n) .cat-kanji { background: var(--ink); color: var(--bg); box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4.5px var(--bg); }
.cat strong { font-family: var(--serif); font-size: 1.08rem; }
.cat span:last-child { font-size: .84rem; color: var(--muted); }

/* ---------- chegou agora ---------- */
.flash { padding: 8px 0 4px; }
.flash-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 12px; }
.flash-head h2 { margin: 0; display: inline-flex; align-items: center; gap: 10px; }
.flash-head span { color: var(--muted); font-size: .9rem; }
.kanji-badge { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--beni); color: var(--on-beni); font-family: var(--serif); font-size: 1rem; transform: rotate(-5deg); }
.flash-row { display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 12px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.mini { scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.mini:hover { border-color: var(--beni); }
.mini-photo { position: relative; aspect-ratio: 1; background: var(--photo); border-radius: 8px; overflow: hidden; display: grid; place-items: center; }
.mini-photo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.mini-photo .tag { position: absolute; top: 6px; left: 6px; }
.mini-title { font-size: .82rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.mini-price .bp { font-size: 1.05rem; }
.mini-meta { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--muted); }
.mini-meta img, .mini-meta i { width: 14px; height: 14px; border-radius: 4px; }

/* ---------- cabeçalhos de bloco ---------- */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.head h2 { margin-bottom: .2em; }
.head p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card-photo { display: grid; place-items: center; aspect-ratio: 1; margin: 8px 8px 0; background: var(--photo); border-radius: 10px; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .3s; }
.card:hover .card-photo img { transform: scale(1.04); }
.ph { font-family: var(--serif); font-weight: 800; font-size: 3.4rem; color: var(--line-2); }
.store { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .94); color: #1B1A21; border: 1px solid rgba(0, 0, 0, .06); border-radius: 999px; padding: 3px 9px 3px 3px; font-size: .74rem; font-weight: 700; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.store img, .store i { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.store i, .mini-meta i, .btn i { display: inline-grid; place-items: center; color: #fff; font-style: normal; font-size: .66rem; font-weight: 700; }
.flags { position: absolute; top: 16px; right: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.deal, .tag { display: inline-block; border-radius: 6px; padding: 3px 8px; font-size: .72rem; font-weight: 700; line-height: 1.3; }
.deal { background: var(--ai); color: #fff; }
[data-theme="dark"] .deal { color: #12131C; }
.deal-low { background: var(--matcha); }
.tag-new { background: var(--kin); color: #fff; }
.tag-cupom { background: var(--fuji); color: #fff; }
[data-theme="dark"] .tag-new, [data-theme="dark"] .tag-cupom, [data-theme="dark"] .deal-low { color: #12131C; }
.card-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 4px; font-size: .76rem; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.card-meta a { text-decoration: none; }
.card-meta a:hover { color: var(--beni); }
.card-meta a:first-child { color: var(--beni); }
.dot { color: var(--line-2); }
.card h3 { font-family: var(--sans); font-weight: 500; font-size: .94rem; line-height: 1.38; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.76em; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--beni); }
.card-price { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; }
.card-price > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.card-price strong { font-weight: 700; }
.card-price s { color: var(--muted); font-size: .84rem; }
.ago { width: 100%; color: var(--muted); font-size: .76rem; }
.bp { font-family: var(--sans); font-weight: 700; font-size: 1.45rem; letter-spacing: -.01em; white-space: nowrap; }
.bp small { font-size: .55em; margin-right: 2px; font-weight: 700; }
.bp sup { font-size: .55em; vertical-align: .55em; margin-left: 1px; }

/* carimbo da nota */
.stamp { flex: none; display: inline-grid; place-items: center; align-content: center; width: 48px; height: 48px; border-radius: 50%; border: 2.5px solid currentColor; box-shadow: inset 0 0 0 2px var(--paper), inset 0 0 0 3.5px currentColor; color: var(--beni); transform: rotate(-10deg); line-height: 1; font-family: var(--serif); }
.stamp b { font-size: 1.05rem; font-weight: 800; }
.stamp small { font-family: var(--sans); font-size: .5rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: 1px; }
.stamp-mid { color: var(--kin); }
.stamp-lo { color: var(--muted); }
.stamp-big { width: 78px; height: 78px; }
.stamp-big b { font-size: 1.7rem; }
.stamp-big small { font-size: .62rem; }

.empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 40px 16px; background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--ink-2); }

/* ---------- faixa de guias ---------- */
.band { background: var(--paper-2); border-block: 1px solid var(--line); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cg fill='none' stroke='%23C3242F' stroke-opacity='.06' stroke-width='1.4'%3E%3Ccircle cx='24' cy='24' r='22'/%3E%3Ccircle cx='24' cy='24' r='15'/%3E%3Ccircle cx='24' cy='24' r='8'/%3E%3Ccircle cx='0' cy='12' r='22'/%3E%3Ccircle cx='48' cy='12' r='22'/%3E%3C/g%3E%3C/svg%3E"); }
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.guides-col { grid-template-columns: 1fr; }
.guide { display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; transition: border-color .15s, transform .15s; }
.guide:hover { border-color: var(--beni); transform: translateY(-2px); }
.guide-group { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--beni); }
.guide strong { font-family: var(--serif); font-size: 1.04rem; line-height: 1.3; }
.guide-more { margin-top: auto; font-size: .85rem; color: var(--muted); }

/* ---------- faixa de preço / como escolhemos ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.tier-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tier-row a { display: flex; flex-direction: column; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.tier-row a:hover { border-color: var(--beni); }
.tier-row strong { font-family: var(--serif); font-size: 1.1rem; }
.tier-row span { color: var(--muted); font-size: .86rem; }
.how { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.how ol { padding-left: 1.2em; margin: 0 0 14px; }
.how li { margin-bottom: 8px; }
.snapshot { margin: 20px 0; }
.snapshot h2 { font-size: 1.25rem; }

/* ---------- FAQ ---------- */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--beni); font-weight: 800; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--ink-2); }

/* ---------- cupons ---------- */
.coupons { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.coupon { position: relative; background: var(--paper); border: 1px dashed var(--line-2); border-radius: 12px; padding: 44px 14px 14px; }
.coupon .store { top: 10px; left: 10px; }
.coupon p { font-size: .9rem; }
.coupon button, .coupon a { border: 1px solid var(--beni); color: var(--beni); background: var(--beni-soft); border-radius: 8px; padding: 6px 10px; font-weight: 700; cursor: pointer; text-decoration: none; }

/* ---------- trilha / listas ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: var(--muted); padding: 18px 0 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--beni); }
.crumbs i { font-style: normal; color: var(--line-2); }
.crumbs span { color: var(--ink-2); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-h { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.list-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 8px; }
.list-kanji { flex: none; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 16px; background: var(--beni); color: var(--on-beni); font-family: var(--serif); font-weight: 800; font-size: 2.6rem; box-shadow: inset 0 0 0 4px var(--beni), inset 0 0 0 6px var(--on-beni); transform: rotate(-3deg); }
.pills { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 12px; }
.pills a { flex: none; text-decoration: none; border: 1px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: 6px 13px; font-size: .88rem; font-weight: 500; }
.pills a[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.sel { display: flex; flex-direction: column; gap: 4px; font-size: .76rem; font-weight: 700; color: var(--muted); }
.sel.grow { flex: 1 1 220px; }
.sel input, .sel select { min-height: 40px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); padding: 8px 10px; font-size: .92rem; font-weight: 400; color: var(--ink); }
.check { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: .9rem; }
.check input { accent-color: var(--beni); width: 18px; height: 18px; }
.count { color: var(--muted); font-size: .9rem; margin: 14px 0; }
.count a { color: var(--beni); }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.pager a { color: var(--beni); font-weight: 700; text-decoration: none; }
.group-title { margin-top: 26px; font-size: 1.2rem; color: var(--ink-2); }

/* ---------- oferta ---------- */
.offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 34px; padding: 18px 0 30px; align-items: start; }
.offer-photo { position: sticky; top: 84px; display: grid; place-items: center; aspect-ratio: 1; background: var(--photo); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.offer-photo > img { width: 100%; height: 100%; object-fit: contain; padding: 26px; }
.offer-photo .store { top: 14px; left: 14px; font-size: .8rem; }
.offer-cat { font-size: .86rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.offer-cat a { color: var(--beni); text-decoration: none; }
.offer h1 { font-family: var(--sans); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.3; }
.offer-buy { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin: 16px 0; display: grid; gap: 12px; }
.offer-price { display: grid; gap: 2px; }
.offer-price span, .offer-price small { color: var(--muted); font-size: .86rem; }
.offer-price .bp { font-size: 2.2rem; }
.offer-price code { background: var(--beni-soft); color: var(--beni); padding: 1px 6px; border-radius: 6px; font-weight: 700; }
.verdict { display: flex; gap: 16px; align-items: center; border-radius: 16px; padding: 16px 18px; margin-bottom: 14px; }
.verdict-good { background: var(--beni-soft); border: 1px solid color-mix(in srgb, var(--beni) 25%, transparent); }
.verdict-plain { background: var(--paper); border: 1px dashed var(--line-2); }
.verdict ul { margin: 6px 0; padding-left: 1.1em; font-size: .92rem; }
.verdict .stamp { box-shadow: inset 0 0 0 2px var(--beni-soft), inset 0 0 0 3.5px currentColor; }
.offer-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.vote { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.vote button { border: 1px solid var(--line-2); background: var(--paper); border-radius: 8px; padding: 5px 12px; cursor: pointer; }
.vote.is-done button { opacity: .45; pointer-events: none; }
.small-h { font-size: 1.05rem; margin-top: 8px; }
.gone { background: var(--kin-soft); border: 1px solid color-mix(in srgb, var(--kin) 40%, transparent); border-radius: 12px; padding: 12px 16px; margin-top: 14px; }

/* ---------- artigo ---------- */
.article { max-width: 780px; padding: 18px 0 30px; }
.article h1 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
.byline { color: var(--muted); font-size: .88rem; }
.answer { position: relative; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--beni); border-radius: 12px; padding: 16px 18px 14px; margin: 18px 0 26px; }
.answer::after { content: ''; position: absolute; top: -1px; right: -1px; width: 28px; height: 28px; border-radius: 0 12px 0 8px; background: repeating-conic-gradient(var(--beni) 0 25%, var(--ink) 0 50%) 0 0 / 7px 7px; opacity: .85; }
.answer strong { display: block; font-family: var(--serif); color: var(--beni); margin-bottom: 4px; }
.answer p { margin: 0; font-size: 1.04rem; }
.prose h2 { margin-top: 1.6em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--beni); }
.gloss dt { font-family: var(--serif); font-weight: 800; margin-top: 12px; }
.gloss dd { margin: 2px 0 0; color: var(--ink-2); }
.table-wrap { overflow-x: auto; margin: 14px 0 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--paper-2); font-size: .8rem; letter-spacing: .03em; }
tbody tr:last-child td { border-bottom: 0; }
td a { color: var(--beni); }
.sources ul { padding-left: 1.1em; }
.sources a { color: var(--beni); }

/* ---------- rodapé ---------- */
.foot { margin-top: 40px; color: #E9E1D3; background: #14151F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cg fill='none' stroke='%23F3E6CF' stroke-opacity='.05' stroke-width='1.4'%3E%3Ccircle cx='24' cy='24' r='22'/%3E%3Ccircle cx='24' cy='24' r='15'/%3E%3Ccircle cx='24' cy='24' r='8'/%3E%3Ccircle cx='0' cy='12' r='22'/%3E%3Ccircle cx='48' cy='12' r='22'/%3E%3C/g%3E%3C/svg%3E"); }
.foot::before { content: ''; display: block; height: 8px; background: conic-gradient(from 135deg at 50% 0, #C3242F 90deg, #14151F 0) 0 0 / 16px 8px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding: 40px 0 24px; }
.foot .wm b { color: #F3EDE2; }
.foot p { color: #BDB4A6; font-size: .9rem; }
.foot .fine { color: #958C80; }
.foot a { color: #E9E1D3; }
.foot h4 { font-size: 1rem; color: #F3EDE2; margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .9rem; }
.foot ul a { text-decoration: none; color: #BDB4A6; }
.foot ul a:hover { color: #fff; }
.foot-logo { margin-bottom: 12px; }
.disclaimer { font-size: .84rem; color: #BDB4A6; border: 1px solid #2B2D3C; border-left: 4px solid #C3242F; border-radius: 10px; padding: 12px 16px; background: rgba(255, 255, 255, .02); }
.disclaimer strong { color: #F3EDE2; }
.foot-bottom { padding: 18px 0 30px; font-size: .82rem; color: #8B8377; }

/* ---------- conta / drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(10, 10, 16, .45); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 60; }
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(400px, 100%); background: var(--bg); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .25s; z-index: 61; display: flex; flex-direction: column; }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.2rem; }
.drawer-tabs { display: flex; gap: 4px; padding: 10px 18px 0; }
.drawer-tabs button, .seg button { border: 0; background: transparent; padding: 8px 12px; border-radius: 8px; cursor: pointer; font-weight: 700; color: var(--muted); }
.drawer-tabs .is-active, .seg .is-active { background: var(--beni-soft); color: var(--beni); }
.drawer-body { padding: 16px 18px; overflow-y: auto; }
.row-form { display: flex; gap: 8px; margin-bottom: 14px; }
.row-form input, .auth input { flex: 1; min-width: 0; border: 1px solid var(--line-2); border-radius: 10px; background: var(--paper); padding: 10px 12px; }
.auth { display: grid; gap: 10px; margin-top: 12px; }
.auth label { display: grid; gap: 4px; font-size: .85rem; font-weight: 700; }
.auth-error { color: var(--beni); font-size: .86rem; }
.alert-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.profile { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--beni); color: var(--on-beni); display: grid; place-items: center; font-weight: 800; }
.profile span { display: block; font-size: .85rem; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-size: .92rem; z-index: 80; box-shadow: var(--shadow); }

/* ---------- responsivo ---------- */
@media (max-width: 1060px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 14px; margin: 0; }
  .menu.is-open { display: flex; }
  .menu a { border-radius: 10px; padding: 11px 12px; }
  .menu-btn { display: inline-grid; }
  .hero-in { grid-template-columns: 1fr; gap: 26px; padding: 30px 0 40px; }
  .hero-visual { max-width: 460px; }
  .split, .offer { grid-template-columns: 1fr; }
  .offer-photo { position: relative; top: 0; max-width: 520px; }
}
@media (max-width: 560px) {
  .wm b { font-size: 1.08rem; }
  .wm i { display: none; }
  .top-tools .btn { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 10px; }
  .card h3 { font-size: .86rem; }
  .bp { font-size: 1.2rem; }
  .stamp { width: 40px; height: 40px; }
  .stamp b { font-size: .9rem; }
  .store { top: 12px; left: 12px; font-size: 0; padding: 3px; gap: 0; }
  .flags { top: 12px; right: 12px; }
  .cat { padding: 12px 10px 12px 62px; min-height: 72px; }
  .cat-kanji { width: 42px; height: 42px; font-size: 1.4rem; left: 10px; }
  .cat strong { font-size: .96rem; }
  .tier-row { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .head { flex-direction: column; align-items: flex-start; }
  .list-kanji { width: 56px; height: 56px; font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
