/* =========================================================
   SÓ OFERTAS – estilos
   Cores principais ficam nas variáveis abaixo.
   ========================================================= */
:root {
  --yellow: #FFE000;
  --yellow-2: #FFD000;
  --yellow-soft: #FFF6B8;
  --ink: #111111;
  --ink-2: #2B2B2B;
  --muted: #6B6B6B;
  --line: #E6E6E6;
  --bg: #F4F4F4;
  --card: #FFFFFF;
  --red: #E4262F;
  --green: #0A8F3C;
  --star: #F5B301;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.05);
  --shadow-hover: 0 6px 22px rgba(0,0,0,.12);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1460px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
.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; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #1F6FEB; outline-offset: 2px; }

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

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border: 0; border-radius: 8px; padding: .75em 1.2em;
  font-weight: 800; text-decoration: none; line-height: 1.1;
  transition: transform .12s ease, background-color .12s ease, box-shadow .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-2); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--sm { font-size: 13px; padding: .65em 1em; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; background: transparent; border-radius: 8px; }
.icon-btn svg { width: 24px; height: 24px; }
.badge {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; line-height: 1;
}

/* ---------- Cabeçalho ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--yellow); }
.topbar__row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.menu-btn { display: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo__cart { width: 64px; height: 52px; stroke: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text strong { font-size: 30px; font-weight: 900; letter-spacing: -.5px; white-space: nowrap; }
.logo__tld { font-size: .82em; }
.logo__text small { font-size: 10.5px; font-weight: 700; letter-spacing: .4px; margin-top: 4px; }

.search { position: relative; flex: 1; display: flex; max-width: 740px; background: #fff; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.search__lead { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-2); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 14px 12px 14px 48px; font-size: 15px; font-weight: 500; border-radius: 8px 0 0 8px; }
.search input:focus { outline: none; }
.search:focus-within { box-shadow: 0 0 0 3px rgba(17,17,17,.85); }
.search button { width: 60px; border: 0; background: var(--yellow-2); border-radius: 0 8px 8px 0; display: grid; place-items: center; }
.search button svg { width: 22px; height: 22px; }

.topbar__actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.top-link { position: relative; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 6px 2px; font-weight: 700; font-size: 14px; text-decoration: none; }
.top-link svg { width: 26px; height: 26px; }
.top-link .badge { position: absolute; left: 16px; top: -2px; }

.navbar { background: #fff; border-bottom: 1px solid var(--line); }
.navbar__row { display: flex; align-items: center; gap: 28px; min-height: 48px; }
.allcats { position: relative; }
.allcats__btn { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; font-weight: 800; font-size: 14px; padding: 12px 0; }
.allcats__btn .chev { width: 16px; height: 16px; }
.allcats__menu {
  position: absolute; left: 0; top: 100%; z-index: 50; min-width: 280px; margin: 0; padding: 8px; list-style: none;
  background: #fff; border-radius: 10px; box-shadow: var(--shadow-hover); border: 1px solid var(--line);
}
.allcats__menu button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; background: none; border-radius: 8px; font-weight: 600; font-size: 14px; text-align: left; }
.allcats__menu button:hover { background: var(--yellow-soft); }
.allcats__menu small { margin-left: auto; color: var(--muted); font-weight: 600; }
.navbar__links { display: flex; gap: 6px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.navbar__links a, .navbar__links button {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px; border: 0; background: none;
  text-decoration: none; font-weight: 600; font-size: 14px; border-radius: 8px;
}
.navbar__links a:hover, .navbar__links button:hover { background: var(--yellow-soft); }
.navbar__links svg { width: 18px; height: 18px; }
.navbar__updated { display: flex; align-items: center; gap: 8px; margin: 0 0 0 auto; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.navbar__updated svg { width: 20px; height: 20px; }

/* ---------- Gaveta (celular) ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); animation: fade .2s ease; }
.drawer__panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(86vw, 340px); background: #fff; overflow-y: auto; animation: slideIn .22s ease; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; background: var(--yellow); font-size: 18px; }
.drawer__nav { display: flex; flex-direction: column; padding: 8px 12px 24px; }
.drawer__nav a, .drawer__nav button { display: flex; align-items: center; gap: 12px; padding: 12px 10px; border: 0; background: none; border-radius: 8px; text-decoration: none; font-weight: 600; text-align: left; }
.drawer__nav a:hover, .drawer__nav button:hover { background: var(--yellow-soft); }
.drawer__nav small { margin-left: auto; color: var(--muted); }
.drawer__label { margin: 16px 10px 4px; font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); }
@keyframes slideIn { from { transform: translateX(-100%); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- Banner (carrossel – desktop) ---------- */
.hero-wrap { margin-top: 16px; }
.hero { position: relative; border-radius: 14px; overflow: hidden; background: var(--yellow); box-shadow: var(--shadow); }
.hero__track { display: flex; transition: transform .55s ease; }
.slide { position: relative; flex: 0 0 100%; min-height: 220px; display: flex; align-items: stretch; isolation: isolate; overflow: hidden; }
.slide__pic { position: absolute; inset: 0 0 0 34%; z-index: -1; }
.slide__art { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slide__panel {
  position: relative; width: 48%; display: flex; flex-direction: column; justify-content: center;
  padding: 14px 60px 14px 58px; color: #fff; background: #15171D;
  clip-path: polygon(0 0, 100% 0, 91% 100%, 0 100%);
}
.hero__tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin: 0 0 6px; padding: 4px 10px; background: var(--yellow); color: var(--ink); border-radius: 4px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.hero__tag svg { width: 15px; height: 15px; }
.slide__title { margin: 0; font-size: clamp(22px, 1.95vw, 30px); line-height: 1.05; font-weight: 900; text-transform: uppercase; letter-spacing: -.4px; }
.slide__title em { font-style: normal; color: var(--yellow); }
.slide__title--case { text-transform: none; font-size: clamp(24px, 2.3vw, 36px); font-weight: 800; letter-spacing: -.6px; }
.slide__sub { margin: 5px 0 10px; font-size: 15px; font-weight: 500; line-height: 1.25; }
.slide__cta { align-self: flex-start; font-size: 14.5px; text-transform: uppercase; padding: 10px 18px; }
.slide__cta--round { text-transform: none; border-radius: 999px; }
.slide__perks { display: flex; gap: 24px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 11.5px; line-height: 1.2; }
.slide__perks li { display: flex; align-items: center; gap: 8px; }
.slide__perks svg { width: 26px; height: 26px; color: var(--yellow); stroke-width: 1.6; }
.slide__perks b { display: block; font-size: 12px; font-weight: 700; }
.slide__badge {
  position: absolute; right: 26px; top: 18px; display: flex; align-items: center; gap: 10px; margin: 0;
  padding: 10px 16px; background: #15171D; color: #fff; border-radius: 12px; transform: rotate(-5deg);
  font-weight: 900; text-transform: uppercase; line-height: 1; font-size: 15px; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.slide__badge svg { width: 28px; height: 28px; color: var(--yellow); }
.slide__badge span { display: flex; flex-direction: column; }
.slide__badge b { color: var(--yellow); font-size: 22px; }
.slide__badge small { font-size: 9.5px; font-weight: 700; margin-top: 3px; }
.slide--2 .slide__panel { width: 44%; clip-path: none; padding-right: 110px; background: linear-gradient(90deg, #15171D 72%, rgba(21,23,29,0)); }
.slide--2 .slide__pic { inset: 0 18% 0 36%; }
.slide__side {
  position: absolute; right: 0; top: 0; bottom: 0; width: 19%; margin: 0; padding: 16px 22px 16px 34px; list-style: none;
  display: flex; flex-direction: column; justify-content: center; gap: 12px; color: var(--ink);
  background: linear-gradient(90deg, rgba(255,224,0,0), var(--yellow) 24%);
}
.slide__side li { display: flex; align-items: center; gap: 12px; font-size: 11.5px; line-height: 1.2; }
.slide__side svg { width: 32px; height: 32px; stroke-width: 1.6; }
.slide__side b { display: block; font-size: 12.5px; font-weight: 800; text-transform: uppercase; }
.slide__side em { font-style: normal; }
.hero__arrow {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.hero__arrow:hover { background: var(--yellow); }
.hero__arrow svg { width: 20px; height: 20px; stroke-width: 2.6; }
.hero__arrow--prev { left: 12px; }
.hero__arrow--next { right: 12px; }
.hero__dots { position: absolute; bottom: 10px; left: 50%; z-index: 2; transform: translateX(-50%); display: flex; gap: 7px; }
.hero__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.8); box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
.hero__dots button[aria-current="true"] { background: var(--ink); }
@media (max-width: 1200px) {
  .slide__perks, .slide__badge { display: none; }
  .slide__panel { width: 52%; }
}
@media (max-width: 1000px) {
  .slide__side { display: none; }
  .slide--2 .slide__pic { right: 0; }
}

/* ---------- Barra de categorias ---------- */
.catbar { margin-top: 16px; }
.catbar__list { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.catbar__btn {
  width: 100%; height: 100%; min-height: 86px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 6px; border: 1.5px solid transparent; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
  font-size: 12.5px; font-weight: 600; text-align: center; line-height: 1.15;
  transition: border-color .12s ease, transform .12s ease;
}
.catbar__btn:hover { transform: translateY(-2px); border-color: var(--yellow-2); }
.catbar__btn[aria-pressed="true"] { border-color: var(--ink); background: var(--yellow-soft); }
.catbar__btn svg { width: 32px; height: 32px; stroke-width: 1.6; }

/* ---------- Layout ---------- */
.layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 22px; margin-top: 20px; align-items: start; }

/* ---------- Filtros ---------- */
.filters { position: sticky; top: 140px; max-height: calc(100vh - 156px); overflow-y: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 16px 8px; }
.filters__head { display: flex; align-items: center; justify-content: space-between; }
.filters__head h2 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.filters__close, .filters__foot .filters__apply { display: none; }
.fgroup { border-top: 1px solid var(--line); padding: 10px 0; }
.fgroup summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 800; font-size: 14px; list-style: none; padding: 4px 0; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-135deg) translate(-2px, -2px); transition: transform .15s; }
.fgroup:not([open]) summary::after { transform: rotate(45deg); }
.fgroup__body { padding: 8px 0 4px; display: flex; flex-direction: column; gap: 6px; }
.check { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; cursor: pointer; padding: 2px 0; }
.check input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); flex: none; }
.check small { color: var(--muted); margin-left: 2px; }
.check .stars { font-size: 13px; }
.price-inputs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.price-inputs label { position: relative; flex: 1; }
.price-inputs .pfx { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--muted); pointer-events: none; }
.price-inputs input { width: 100%; padding: 8px 6px 8px 30px; border: 1.5px solid var(--line); border-radius: 6px; font-size: 13px; font-weight: 600; -moz-appearance: textfield; }
.price-inputs input::-webkit-outer-spin-button, .price-inputs input::-webkit-inner-spin-button { -webkit-appearance: none; }
.range { position: relative; height: 28px; margin: 6px 4px 0; }
.range__track { position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 2px; background: var(--line); }
.range__fill { position: absolute; top: 0; bottom: 0; background: var(--yellow-2); border-radius: 2px; }
.range input { position: absolute; left: -2px; right: -2px; top: 4px; width: calc(100% + 4px); margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; height: 20px; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); cursor: pointer; }
.range input::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); cursor: pointer; }
.range input::-moz-range-track { background: none; }
.filters__foot { display: flex; gap: 10px; padding: 12px 0 8px; border-top: 1px solid var(--line); }
.filters__foot .btn { flex: 1; font-size: 13px; }
.filters-backdrop { display: none; }

/* ---------- Conteúdo ---------- */
.toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; min-height: 40px; }
.filter-btn { display: none; }
.toolbar__count { margin: 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.sort select { padding: 8px 30px 8px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px; -webkit-appearance: none; appearance: none; font-weight: 700; font-size: 13px; }

.block { margin: 0 0 30px; scroll-margin-top: 150px; }
.block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.block__head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.3px; }
.block__head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.block__head p a { color: var(--ink); font-weight: 700; }
.block__meta { display: flex; align-items: center; gap: 14px; flex: none; }
.ico-fire { width: 28px; height: 28px; color: var(--red); fill: var(--red); stroke: var(--red); }
.ico-trophy { width: 28px; height: 28px; color: #E8A400; stroke-width: 2.2; }
.updated-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px; background: #fff; border-radius: 8px; box-shadow: var(--shadow); font-size: 13px; font-weight: 600; color: var(--ink-2) !important; }
.updated-pill b { color: var(--ink); }
.updated-pill svg { width: 18px; height: 18px; }

.cat-head h2 .cat-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--yellow); }
.cat-head h2 .cat-ico svg { width: 22px; height: 22px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; padding: 8px 12px; border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.link-more:hover { background: var(--yellow-soft); }
.link-more svg { width: 16px; height: 16px; }

/* ---------- Grade de cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.grid--row { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .15s ease, transform .15s ease; }
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; padding: 14px; }
.card__media img { width: 100%; height: 100%; object-fit: contain; }
.card__off { position: absolute; left: 10px; top: 10px; padding: 3px 7px; border-radius: 4px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; }
.card__rank { position: absolute; left: 10px; bottom: 8px; padding: 3px 8px; border-radius: 4px; background: var(--ink); color: var(--yellow); font-size: 11px; font-weight: 800; letter-spacing: .2px; }
.card__fav, .card__share {
  position: absolute; right: 8px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); box-shadow: 0 1px 4px rgba(0,0,0,.12); color: #8a8a8a;
}
.card__fav { top: 8px; }
.card__share { top: 48px; color: #1FA855; }
.card__fav svg, .card__share svg { width: 19px; height: 19px; }
.card__share svg { fill: currentColor; stroke: none; }
.card__fav:hover { color: var(--red); }
.card__fav[aria-pressed="true"] { color: var(--red); }
.card__fav[aria-pressed="true"] svg { fill: var(--red); }
.card__body { display: flex; flex-direction: column; gap: 5px; padding: 4px 14px 14px; flex: 1; }
.card__cat { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; }
.card__name { margin: 0; font-size: 13.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card__name a { text-decoration: none; }
.card__name a::after { content: ""; position: absolute; inset: 0; z-index: 0; } /* card inteiro clicável */
.card__fav, .card__share, .card__cta { z-index: 1; }
.rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 600; min-height: 16px; }
.stars { position: relative; display: inline-block; font-size: 13px; letter-spacing: 1px; line-height: 1; color: #D9D9D9; }
.stars::before { content: "★★★★★"; }
.stars span { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--star); }
.stars span::before { content: "★★★★★"; }
.rating b { color: var(--ink); }
.price-old { font-size: 12.5px; color: var(--muted); text-decoration: line-through; min-height: 18px; }
.price { font-size: 21px; font-weight: 800; color: var(--red); line-height: 1.1; letter-spacing: -.3px; }
.price small { font-size: 13px; font-weight: 800; }
.price-date { font-size: 11px; color: var(--muted); font-weight: 600; }
.price-now { position: relative; z-index: 1; align-self: flex-start; font-size: 11.5px; font-weight: 700; color: #1F5FBF; text-decoration: underline; text-underline-offset: 2px; }
.price-now:hover { color: var(--ink); }
.sold { font-size: 11.5px; color: var(--green); font-weight: 700; }
.card__cta { position: relative; margin-top: auto; padding: 10px 8px; font-size: 13px; border-radius: 6px; text-align: center; }
.card__cta-wrap { margin-top: auto; padding-top: 6px; }

/* ---------- Ranking compacto ---------- */
.toplist { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.topitem { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow .15s ease; }
.topitem:hover { box-shadow: var(--shadow-hover); }
.topitem__n { position: absolute; left: 8px; top: 8px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); font-weight: 800; font-size: 13px; z-index: 1; }
.topitem img { width: 74px; height: 74px; object-fit: contain; flex: none; }
.topitem__txt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.topitem__cat { font-size: 10.5px; font-weight: 800; text-transform: uppercase; color: var(--muted); letter-spacing: .3px; }
.topitem__name { font-size: 12.5px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-decoration: none; }
.topitem__name::after { content: ""; position: absolute; inset: 0; }
.topitem__price { font-size: 16px; font-weight: 800; }

/* ---------- Vazio / erro ---------- */
.empty { text-align: center; padding: 40px 16px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.empty p { margin: 0 0 6px; }
.empty .btn { margin-top: 10px; }
.load-error { padding: 16px; border-radius: var(--radius); background: #FFF0F0; color: #8A1116; font-weight: 600; }

/* ---------- Selos ---------- */
.trust { background: #fff; border-top: 1px solid var(--line); margin-top: 10px; }
.trust__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0 auto; padding-top: 18px; padding-bottom: 18px; list-style: none; }
.trust__list li { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 12px; color: var(--ink-2); line-height: 1.25; }
.trust__list svg { width: 32px; height: 32px; stroke-width: 1.6; }
.trust__list b { display: block; color: var(--ink); font-size: 13px; }

/* ---------- Rodapé ---------- */
.footer { background: #141414; color: #CFCFCF; font-size: 13px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr 1.2fr; gap: 28px; padding-top: 30px; padding-bottom: 22px; }
.footer h3 { margin: 0 0 10px; color: #fff; font-size: 14px; font-weight: 800; }
.footer ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--yellow); text-decoration: underline; }
.footer__cats { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 14px; }
.logo--footer { color: var(--yellow); }
.logo--footer .logo__text strong { color: #fff; font-size: 26px; }
.logo--footer .logo__text small { color: #CFCFCF; font-size: 9.5px; }
.footer__legal { border-top: 1px solid #2E2E2E; padding-top: 16px; padding-bottom: 26px; font-size: 12px; color: #A8A8A8; }
.footer__legal p { margin: 0 0 8px; }
.footer__legal strong { color: #fff; font-weight: 700; }

/* ---------- Botão flutuante do grupo de WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 24px; z-index: 61; display: flex; align-items: center; justify-content: flex-end;
  height: 58px; min-width: 58px; border-radius: 29px; background: #25D366; color: #fff; text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.wa-float svg { width: 32px; height: 32px; margin: 0 13px; fill: currentColor; stroke: none; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 800; font-size: 14px; transition: max-width .25s ease, padding .25s ease; order: -1; }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 180px; padding-left: 20px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.55);
  animation: waPulse 2.4s ease-out infinite; pointer-events: none;
}
@keyframes waPulse { 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Voltar ao topo / toast ---------- */
.to-top { position: fixed; right: 16px; bottom: 18px; z-index: 60; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--ink); color: var(--yellow); display: none; place-items: center; box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.to-top svg { width: 22px; height: 22px; stroke-width: 2.6; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; box-shadow: 0 6px 22px rgba(0,0,0,.25); max-width: calc(100vw - 32px); }

/* ---------- Páginas de texto (sobre / privacidade) ---------- */
.page { max-width: 820px; margin: 28px auto 40px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 32px; }
.page h1 { margin: 0 0 12px; font-size: 28px; font-weight: 900; }
.page h2 { margin: 26px 0 8px; font-size: 18px; font-weight: 800; scroll-margin-top: 100px; }
.page p, .page li { color: var(--ink-2); line-height: 1.6; }
.page a { font-weight: 700; }
.page .note { padding: 12px 14px; background: var(--yellow-soft); border-radius: 8px; color: var(--ink); }
.simple-top .topbar__row { min-height: 68px; }
.back-link { margin-left: auto; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1360px) {
  .grid--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--row > :nth-child(n+5) { display: none; }
  .toplist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catbar__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .navbar__updated { display: none; }
}

@media (max-width: 1100px) {
  .topbar__actions .top-link span { display: none; }
  .navbar__links a, .navbar__links button { padding: 12px 8px; }
}

@media (max-width: 900px) {
  .wrap { padding: 0 16px; }
  .topbar__row { flex-wrap: wrap; gap: 6px 10px; min-height: 0; padding-top: 8px; padding-bottom: 10px; }
  .menu-btn { display: inline-grid; margin-left: -8px; }
  .logo__cart { width: 44px; height: 36px; }
  .logo__text strong { font-size: 22px; }
  .logo__text small { font-size: 8px; }
  .topbar__actions { gap: 4px; }
  .topbar__actions .top-link:first-child { display: none; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search input { padding-top: 11px; padding-bottom: 11px; }
  .navbar { display: none; }


  .catbar__list { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .catbar__list::-webkit-scrollbar { display: none; }
  .catbar__list li { flex: 0 0 92px; scroll-snap-align: start; }
  .catbar__btn { min-height: 80px; font-size: 11.5px; }
  .catbar__btn svg { width: 28px; height: 28px; }

  .layout { grid-template-columns: minmax(0, 1fr); margin-top: 12px; }
  .filters {
    position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 85; max-height: 86vh; border-radius: 16px 16px 0 0;
    padding: 16px 18px 0; transform: translateY(105%); transition: transform .25s ease; visibility: hidden;
  }
  .filters.is-open { transform: none; visibility: visible; }
  .filters__close { display: inline-grid; }
  .filters__foot { position: sticky; bottom: 0; background: #fff; padding-bottom: 14px; }
  .filters__foot .filters__apply { display: inline-flex; }
  .filters-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 84; background: rgba(0,0,0,.45); }
  .filter-btn { display: inline-flex; gap: 8px; padding: 10px 14px; font-size: 14px; }
  .filter-btn .badge { background: var(--yellow); color: var(--ink); }
  .toolbar { flex-wrap: wrap; gap: 10px; }
  .toolbar__count { order: 3; flex-basis: 100%; }
  .sort span { display: none; }

  .block__head { flex-wrap: wrap; align-items: flex-start; }
  .block__head h2 { font-size: 20px; }
  .block__meta { width: 100%; justify-content: space-between; }

  .grid, .grid--row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid--row > :nth-child(n+5) { display: flex; }
  .grid--row > :nth-child(n+7) { display: none; }
  .card__media { padding: 10px; }
  .card__body { padding: 2px 10px 10px; gap: 4px; }
  .card__name { font-size: 12.5px; }
  .price { font-size: 18px; }
  .card__cta { font-size: 12px; padding: 9px 4px; }
  .card__fav, .card__share { width: 32px; height: 32px; right: 6px; }
  .card__share { top: 44px; }
  .rating { font-size: 11px; gap: 4px; }
  .rating .rating__count { display: none; }

  .toplist { display: flex; overflow-x: auto; gap: 10px; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .toplist::-webkit-scrollbar { display: none; }
  .toplist li { flex: 0 0 260px; }

  .trust__list { grid-template-columns: 1fr 1fr; }
  .trust__list li { justify-content: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .to-top:not([hidden]) { display: grid; }
  .wa-float { right: 14px; bottom: 76px; height: 54px; min-width: 54px; }
  .wa-float svg { width: 30px; height: 30px; margin: 0 12px; }
  .to-top { right: 17px; }
  .page { margin: 16px; padding: 22px 18px; }
}

@media (max-width: 760px) {
  /* Banner no celular: layout empilhado (texto em cima, arte embaixo), sem carrossel */
  .hero-wrap { padding: 0; margin-top: 0; }
  .hero { border-radius: 0; box-shadow: none; background: var(--ink); }
  .hero__track { display: block; transform: none !important; }
  .slide--2, .hero__arrow, .hero__dots, .slide__badge { display: none !important; }
  .slide--1 { display: flex; flex-direction: column-reverse; min-height: 0; }
  .slide__pic { position: static; display: block; }
  .slide__art { height: auto; aspect-ratio: 16 / 9; }
  .slide__panel { width: auto; clip-path: none; padding: 22px 16px 18px; }
  .hero__tag { font-size: 13px; padding: 5px 12px; margin-bottom: 12px; }
  .slide__title { font-size: 28px; line-height: 1.04; }
  .slide__sub { font-size: 15px; margin: 12px 0 18px; line-height: 1.3; }
  .slide__sub br { display: none; }
  .slide__cta { font-size: 17px; padding: 14px 22px; }
  .slide__perks { display: flex !important; flex-wrap: wrap; gap: 12px 18px; margin-top: 20px; font-size: 12.5px; }
  .slide__perks li { flex: 1 1 140px; }
  .slide__perks b { font-size: 12.5px; font-weight: 600; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .trust__list { grid-template-columns: 1fr; }
  .slide__cta { align-self: stretch; }
}

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