/* Rexu Achados — catálogo público */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --yellow: #FFDA00;
  --yellow-hover: #F5D000;
  --yellow-soft: #FFF5B8;
  --ink: #20211F;
  --ink-2: #353633;
  --bg: #F7F7F4;
  --surface: #FFFFFF;
  --muted: #73756D;
  --muted-on-bg: #676961;
  --line: #E9E9E1;
  --line-strong: #D9D9CF;
  --danger: #A32D17;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(32, 33, 31, .04), 0 6px 18px rgba(32, 33, 31, .06);
  --shadow-hover: 0 2px 6px rgba(32, 33, 31, .07), 0 14px 32px rgba(32, 33, 31, .11);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --gutter: 16px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 720px) { :root { --gutter: 24px; } }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
.icon { flex: none; }

.js .js-hide { display: none !important; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .15s, border-color .15s, box-shadow .15s, transform .15s;
}
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-hover); box-shadow: inset 0 0 0 1.5px rgba(32, 33, 31, .18); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { min-height: 52px; padding: 12px 22px; font-size: 16px; }
.btn-sm { min-height: 38px; padding: 6px 12px; font-size: 14px; }
.btn-block { width: 100%; }
.btn.is-disabled { background: var(--line); color: var(--muted-on-bg); cursor: not-allowed; box-shadow: none; }

/* ---------- Faixa de demonstração ---------- */
.demo-bar {
  background: var(--ink); color: #fff; text-align: center;
  font-size: 13px; font-weight: 600; padding: 8px var(--gutter);
}

/* ---------- Cabeçalho ---------- */
.site-header { background: var(--yellow); }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "brand fav" "search search";
  align-items: center;
  gap: 10px 16px;
  padding-block: 10px 12px;
}
.brand { grid-area: brand; display: inline-flex; align-items: center; text-decoration: none; justify-self: start; border-radius: 6px; }
.brand-logo { height: 40px; width: auto; }
/* Composição tipográfica provisória (até a logo oficial): "rexu" menor em cima, "ACHADOS" maior e forte */
.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; color: var(--ink); line-height: 1; }
.wm-rexu { font-size: 13px; font-weight: 700; letter-spacing: .01em; line-height: 1; margin: 0 0 1px 1px; }
.wm-achados { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: .92; }

.search { grid-area: search; position: relative; display: flex; align-items: center; width: 100%; }
.search-icon { position: absolute; left: 14px; color: var(--muted); display: flex; pointer-events: none; }
.search-input {
  width: 100%; height: 48px; padding: 0 56px 0 44px;
  background: var(--surface); border: 1.5px solid transparent; border-radius: var(--radius-sm);
  font-size: 16px; color: var(--ink);
  box-shadow: 0 1px 2px rgba(32, 33, 31, .08);
  -webkit-appearance: none; appearance: none;
}
.search-input::placeholder { color: var(--muted); opacity: 1; }
.search-input:focus { outline: none; border-color: var(--ink); }
.search-input:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; }
.search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-btn {
  position: absolute; right: 5px; top: 5px; width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--yellow); border: 0; border-radius: 6px; cursor: pointer;
}
.search-btn:hover { background: var(--ink-2); }

.fav-link {
  grid-area: fav; position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 12px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 15px; text-decoration: none;
}
.fav-link:hover { background: rgba(32, 33, 31, .08); }
.fav-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.fav-count[hidden] { display: none; }

@media (min-width: 900px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand search fav";
    gap: 32px;
    padding-block: 18px;
  }
  .search { max-width: 680px; justify-self: center; }
  .search-input { height: 52px; }
  .search-btn { width: 42px; height: 42px; }
  .wm-rexu { font-size: 15px; }
  .wm-achados { font-size: 30px; }
}
@media (max-width: 359px) { .fav-label { display: none; } }
@media (max-width: 419px) {
  .search-input { padding-left: 40px; padding-right: 50px; }
  .search-icon { left: 12px; }
  .search-input::placeholder { font-size: 14.5px; }
}

/* ---------- Categorias ---------- */
.cat-nav { background: var(--surface); border-bottom: 1px solid var(--line); }
.cat-wrap { display: flex; align-items: center; gap: 6px; }
.cat-list {
  position: relative; flex: 1 1 auto; min-width: 0;
  display: flex; gap: 4px; padding: 6px 3px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.cat-list::-webkit-scrollbar { display: none; }
.cat-list li { flex: none; }
@media (max-width: 639px) {
  .cat-link { padding: 8px 12px; font-size: 14px; }
}
.cat-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 14.5px; font-weight: 600; color: var(--muted-on-bg); text-decoration: none; white-space: nowrap;
}
.cat-link:hover { color: var(--ink); background: var(--bg); }
.cat-link.is-active { color: var(--ink); font-weight: 800; background: var(--yellow-soft); }
/* Indicação de que há mais categorias: borda esmaecida do lado com conteúdo */
.no-js .cat-list,
.cat-wrap.can-next .cat-list { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); }
.cat-wrap.can-prev .cat-list { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 32px), transparent); }
.cat-wrap.can-prev.can-next .cat-list { -webkit-mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent); }
/* Botões ficam fora da faixa, nunca sobre os nomes */
.cat-arrows { flex: none; display: flex; gap: 2px; }
.cat-arrows[hidden] { display: none; }
.cat-arrow {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 50%;
  cursor: pointer; transition: opacity .15s, border-color .15s;
}
.cat-arrow:hover:not(:disabled) { border-color: var(--ink); }
.cat-arrow:disabled { opacity: .3; cursor: default; }
@media (min-width: 900px) {
  .cat-list { flex-wrap: wrap; overflow: visible; padding-block: 8px; }
  .no-js .cat-list { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Hero ---------- */
.hero { margin-top: 12px; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "desc" "offer" "cta";
  row-gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-inner.no-offer { grid-template-areas: "head" "desc" "cta"; }
.hero-head { grid-area: head; min-width: 0; container-type: inline-size; }
.hero-desc { grid-area: desc; color: var(--muted); font-size: 14px; line-height: 1.4; }
.hero-cta { grid-area: cta; }
.hero-cta .btn { width: 100%; min-height: 46px; padding-block: 10px; font-size: 15.5px; }
.eyebrow {
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 6px;
}
/* O título se ajusta à largura disponível: cada frase cabe em uma linha */
.hero-title {
  font-size: clamp(1.25rem, 0.4rem + 4.8vw, 2.9rem);
  font-size: clamp(1.25rem, 7.6cqi, 2.9rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1.1;
}
.mark {
  background: linear-gradient(transparent 56%, var(--yellow) 56%, var(--yellow) 94%, transparent 94%);
  padding: 0 .06em; margin: 0 -.06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Oferta em destaque (produto real escolhido no painel) */
.hero-offer {
  grid-area: offer; min-width: 0;
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 10px 10px 10px 8px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
}
.hero-offer-media {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 64px; aspect-ratio: 1; border-radius: 50%; text-decoration: none;
}
.hero-circle { position: absolute; inset: 0; border-radius: 50%; background: var(--yellow); }
.hero-offer-media img {
  position: relative; width: 78%; height: 78%; object-fit: contain;
  background: #fff; border-radius: 10px; padding: 6%;
  box-shadow: 0 6px 16px rgba(32, 33, 31, .14);
}
.hero-offer-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hero-offer-kicker { display: none; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero-offer-title { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.hero-offer-title a {
  text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 1; line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-offer-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero-offer-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin-top: 2px; }
.hero-offer-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; min-width: 0; }
.hero-offer-price strong { font-size: 17px; font-weight: 800; letter-spacing: -.025em; white-space: nowrap; }
.hero-offer-price s { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.hero-offer-noprice { font-size: 13px; font-weight: 700; color: var(--muted-on-bg); }
.hero-offer-cond { flex-basis: 100%; font-size: 12px; color: var(--muted); line-height: 1.3; }
.hero-offer-btn { flex: none; min-height: 40px; padding: 8px 12px; font-size: 13.5px; }
/* Celular: foto ao lado do texto de apoio; nome, preço e botão da loja logo abaixo */
@media (max-width: 639px) {
  .hero-inner.has-offer {
    grid-template-columns: minmax(0, 1fr) 64px;
    grid-template-areas: "head head" "desc media" "info info" "cta cta";
    column-gap: 12px;
  }
  .hero-inner.has-offer .hero-desc { align-self: center; }
  .hero-offer { display: contents; }
  .hero-offer-media { grid-area: media; }
  .hero-offer-info {
    grid-area: info; padding-top: 10px; border-top: 1px solid var(--line);
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "title btn" "price btn";
    column-gap: 10px; row-gap: 2px; align-items: center;
  }
  .hero-offer-title { grid-area: title; }
  .hero-offer-buy { display: contents; }
  .hero-offer-price { grid-area: price; column-gap: 8px; }
  .hero-offer-price s { display: none; }
  .hero-offer-cond { flex-basis: auto; }
  .hero-offer-btn { grid-area: btn; }
}
@media (max-width: 399px) {
  .hero-offer-btn .icon { display: none; }
}

/* Sem oferta: composição institucional discreta */
.hero-visual { grid-area: visual; display: none; }
.hero-ring {
  display: flex; align-items: center; justify-content: center;
  width: 120px; aspect-ratio: 1; border-radius: 50%;
  background: var(--yellow-soft); box-shadow: inset 0 0 0 10px rgba(255, 218, 0, .35);
  color: rgba(32, 33, 31, .4);
}

@media (min-width: 640px) {
  .hero { margin-top: 18px; }
  .hero-inner { padding: 24px; row-gap: 12px; }
  .hero-inner.has-offer, .hero-inner.no-offer {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto 1fr;
    column-gap: 24px;
  }
  .hero-inner.has-offer { grid-template-areas: "head offer" "desc offer" "cta offer"; }
  .hero-inner.no-offer { grid-template-areas: "head visual" "desc visual" "cta visual"; }
  .hero-inner.no-offer .hero-visual { display: flex; align-items: center; justify-content: center; }
  .hero-head { align-self: end; }
  .hero-cta { align-self: start; }
  .hero-desc { font-size: 16px; }
  .hero-cta .btn { width: auto; }
  .hero-offer {
    align-self: center; width: 216px;
    grid-template-columns: minmax(0, 1fr); justify-items: stretch; gap: 10px; padding: 14px;
  }
  .hero-offer-media { width: 120px; justify-self: center; }
  .hero-offer-kicker { display: block; font-size: 11px; }
  .hero-offer-title { font-size: 14.5px; }
  .hero-offer-title a { -webkit-line-clamp: 2; line-clamp: 2; }
  .hero-offer-buy { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-offer-btn { width: 100%; }
}
@media (min-width: 1100px) {
  .hero { margin-top: 24px; }
  .hero-inner, .hero-inner.has-offer, .hero-inner.no-offer {
    row-gap: 14px; column-gap: 40px;
    padding: 32px 48px;
  }
  .hero-desc { font-size: 17px; max-width: 34ch; }
  .hero-cta { align-self: start; }
  .hero-cta .btn { min-height: 52px; font-size: 16px; padding-inline: 22px; }
  .hero-offer {
    align-self: center; width: auto;
    grid-template-columns: 200px 230px; gap: 24px; align-items: center;
    padding: 0; background: none; border: 0;
  }
  .hero-offer-media { justify-self: auto; }
  .hero-offer-btn { width: auto; }
  .hero-offer-media { width: 200px; }
  .hero-offer-media img { border-radius: 14px; box-shadow: 0 10px 24px rgba(32, 33, 31, .16); }
  .hero-offer-info { gap: 6px; }
  .hero-offer-title { font-size: 17px; font-weight: 700; line-height: 1.3; }
  .hero-offer-title a { -webkit-line-clamp: 3; line-clamp: 3; }
  .hero-offer-buy { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-offer-price strong { font-size: 26px; }
  .hero-offer-price s { font-size: 14px; }
  .hero-offer-cond { font-size: 13.5px; }
  .hero-offer-btn { min-height: 46px; padding: 10px 18px; font-size: 15px; }
  .hero-ring { width: 180px; }
  .eyebrow { font-size: 12.5px; }
}

/* ---------- Benefícios ---------- */
.benefits { margin-top: 8px; }
.benefit-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
}
.benefit-list li {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; line-height: 1.2; letter-spacing: -.005em; color: var(--ink);
  padding: 4px 0;
}
.benefit-icon {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow-soft);
  display: inline-flex; align-items: center; justify-content: center;
}
.benefit-icon .icon { width: 15px; height: 15px; }
@media (max-width: 379px) {
  .benefit-list li { gap: 5px; font-size: 11px; }
  .benefit-icon { width: 22px; height: 22px; }
  .benefit-icon .icon { width: 13px; height: 13px; }
}
@media (min-width: 720px) {
  .benefits { margin-top: 14px; }
  .benefit-list li { font-size: 14.5px; gap: 10px; padding: 8px 6px; }
  .benefit-icon { width: 34px; height: 34px; }
  .benefit-icon .icon { width: 18px; height: 18px; }
}

/* ---------- Catálogo ---------- */
.catalog { margin-top: 18px; }
.catalog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "title count" "sub sub" "tools tools";
  align-items: baseline;
  column-gap: 12px;
  margin-bottom: 14px;
}
.catalog-head > .section-title { grid-area: title; }
.catalog-head > .section-sub { grid-area: sub; }
.catalog-head > .result-count { grid-area: count; justify-self: end; white-space: nowrap; }
.catalog-head > .catalog-tools { grid-area: tools; margin-top: 10px; }
.catalog-head.is-empty { grid-template-areas: "title title" "sub sub"; }
.section-title {
  font-size: clamp(1.4rem, 1.15rem + 1.4vw, 2.15rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.1;
}
.section-title-sm { font-size: 1.25rem; margin: 8px 0 14px; }
.section-sub { color: var(--muted-on-bg); margin-top: 2px; font-size: 14.5px; }
.catalog-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.result-count { font-size: 14px; color: var(--muted-on-bg); font-weight: 600; }
.result-count-block { margin-bottom: 16px; }
.select-wrap select {
  height: 40px; padding: 0 36px 0 12px; max-width: 100%;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2320211F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.select-wrap select:hover { border-color: var(--ink); }
@media (max-width: 639px) {
  .catalog-tools .select-wrap { flex: 1 1 0; min-width: 0; }
  .catalog-tools select { width: 100%; }
}
@media (min-width: 640px) {
  .catalog { margin-top: 28px; }
  .catalog-head {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "title count tools" "sub count tools";
    align-items: end;
    row-gap: 0;
    margin-bottom: 18px;
  }
  .catalog-head > .catalog-tools { margin-top: 0; align-self: end; }
  .catalog-head > .result-count { align-self: end; padding-bottom: 10px; }
  .catalog-head.is-empty { grid-template-areas: "title title title" "sub sub sub"; }
  .section-sub { margin-top: 4px; font-size: 15px; }
}

.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px;
  padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 600; text-decoration: none;
}
.chip:hover { border-color: var(--ink); }
.link-clear { font-size: 14px; font-weight: 700; padding: 8px 4px; }

.grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
@media (max-width: 339px) { .grid { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.grid-single { max-width: 320px; margin-bottom: 28px; grid-template-columns: minmax(0, 1fr); }

/* ---------- Card ---------- */
.card { display: flex; }
.card-inner {
  display: flex; flex-direction: column; width: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card-inner:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
}
.card-media { position: relative; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid var(--line); }
.card-img-link { display: block; width: 100%; height: 100%; padding: 10px; }
.card-img-link img { width: 100%; height: 100%; object-fit: contain; }
.card-noimg { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--line-strong); }
.badge {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 8px; border-radius: 6px; font-size: 12px; font-weight: 800; line-height: 1.2;
}
.badge-off { background: var(--ink); color: #fff; }
.badge-ended { background: var(--bg); color: var(--ink); border: 1px solid var(--line-strong); }
.badge-demo { background: var(--yellow-soft); color: var(--ink); border: 1px dashed var(--ink); }
.fav-btn {
  position: absolute; top: 6px; right: 6px; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .94); color: var(--ink);
  border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
  box-shadow: 0 2px 8px rgba(32, 33, 31, .10);
  transition: background-color .15s, transform .15s;
}
.no-js .fav-btn, .no-js .fav-btn-wide { display: none; }
.fav-btn:hover { background: #fff; border-color: var(--ink); }
.fav-btn[aria-pressed="true"], .fav-btn-wide[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); }
.fav-btn[aria-pressed="true"] .icon, .fav-btn-wide[aria-pressed="true"] .icon { fill: currentColor; }

.card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 12px; flex: 1; }
.card-store { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card-title { font-size: 14px; font-weight: 600; line-height: 1.32; letter-spacing: -.01em; min-height: 2.64em; }
.card-title a {
  text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; margin-top: 4px; }
.price-old { font-size: 13px; color: var(--muted); }
.price-now { font-size: 19px; font-weight: 800; letter-spacing: -.025em; }
.price-none, .price-ended { font-size: 14px; font-weight: 700; color: var(--muted); }
.card-cond { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.card-cta { margin-top: auto; width: 100%; min-height: 44px; padding: 8px 10px; font-size: 14px; }
.card-body > :nth-last-child(2) { margin-bottom: 10px; }
.card.is-ended .card-media img { opacity: .55; filter: grayscale(.6); }
@media (min-width: 720px) {
  .card-body { padding: 14px 16px 16px; }
  .card-title { font-size: 15px; }
  .price-now { font-size: 21px; }
}
@media (max-width: 399px) {
  .card-cta { font-size: 13px; }
  .card-cta .icon-ext { display: none; }
}

/* ---------- Paginação ---------- */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 32px; }
.page-list { display: flex; gap: 4px; align-items: center; }
.page-num, .page-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line-strong); font-weight: 700; font-size: 14px; text-decoration: none;
}
.page-num:hover, .page-btn:hover { border-color: var(--ink); }
.page-num.is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-gap { padding: 0 4px; color: var(--muted-on-bg); }
@media (max-width: 479px) { .page-btn span { display: none; } }

/* ---------- Vazio / avisos ---------- */
.empty {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.empty[hidden] { display: none; }
.empty p { color: var(--muted); max-width: 46ch; }
.empty-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--yellow-soft);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.empty-title { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 8px; }
.notice {
  display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 12px 14px; margin-bottom: 16px; font-size: 14px;
}
.notice[hidden] { display: none; }
.notice-warn { border-color: #E2C34A; background: #FFFBEA; align-items: center; justify-content: space-between; }

/* ---------- Faixa do Instagram ---------- */
.ig-band-wrap { margin-top: 48px; }
.ig-band {
  background: var(--ink); color: #fff; border-radius: var(--radius-lg);
  padding: 28px 22px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
}
.eyebrow-yellow { color: var(--yellow); }
.ig-band-title { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.ig-band .btn { width: 100%; }
.ig-band :focus-visible { outline-color: var(--yellow); }
@media (min-width: 720px) {
  .ig-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 36px 44px; }
  .ig-band .btn { width: auto; }
}

/* ---------- Rodapé ---------- */
.site-footer { margin-top: 56px; background: var(--surface); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 24px; padding-block: 36px 24px; }
.footer-tagline { color: var(--muted); font-size: 14px; margin-top: 10px; }
.footer-ig { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 700; font-size: 14px; text-decoration: none; min-height: 40px; }
.footer-ig:hover { text-decoration: underline; }
.footer-links ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
.footer-links a { display: inline-flex; min-height: 40px; align-items: center; font-size: 14.5px; font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-disclosure { font-size: 13.5px; color: var(--muted); max-width: 42ch; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 16px 28px; font-size: 13px; color: var(--muted); }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.1fr 1fr 1.2fr; gap: 40px; }
  .footer-links ul { grid-template-columns: 1fr; }
}

/* ---------- Página do achado ---------- */
.preview-bar {
  margin-top: 16px; background: var(--yellow-soft); border: 1px dashed var(--ink); border-radius: var(--radius-sm);
  padding: 10px 14px; font-size: 14px;
}
.preview-bar a { font-weight: 700; margin-left: 8px; }
.product-page { margin-top: 18px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; font-size: 13.5px; color: var(--muted-on-bg); }
.breadcrumb li + li::before { content: "/"; margin-right: 4px; color: var(--line-strong); }
.breadcrumb a { text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.product-grid { display: grid; gap: 22px; margin-top: 14px; }
@media (min-width: 900px) {
  .product-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: start; }
  .gallery { position: sticky; top: 20px; }
}
.gallery-main {
  position: relative; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
@media (max-width: 899px) { .gallery-main { aspect-ratio: 4 / 3; } .gallery-main img { padding: 12px; } }
.gallery-main .badge { top: 14px; left: 14px; font-size: 13px; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumb {
  display: block; width: 64px; height: 64px; padding: 4px; background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
}
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.is-active { border-color: var(--ink); }

.product-store {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-on-bg);
}
.product-title {
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.12; margin-top: 8px;
}
.product-code { font-size: 14px; color: var(--muted-on-bg); margin-top: 8px; }
.price-box {
  margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px;
}
.price-line-old { font-size: 15px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.badge-inline { background: var(--ink); color: #fff; font-weight: 800; font-size: 12.5px; border-radius: 6px; padding: 2px 7px; }
.price-big { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin-top: 2px; }
.price-cond { font-size: 14px; color: var(--muted); margin-top: 6px; }
.price-box .price-none { font-size: 17px; color: var(--ink); }
.price-box.is-ended { background: var(--bg); }
.ended-title { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; }
.ended-text { color: var(--muted-on-bg); font-size: 14.5px; margin-top: 6px; }
.ended-store-link { font-size: 13.5px; color: var(--muted-on-bg); margin-top: 10px; }

.coupon {
  margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border: 1.5px dashed var(--ink); border-radius: var(--radius); background: var(--yellow-soft); padding: 12px 14px;
}
.coupon-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.coupon-code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 18px; font-weight: 700; letter-spacing: .04em; margin-top: 2px; word-break: break-all; }
.coupon-terms { font-size: 13px; color: var(--ink-2); margin-top: 2px; }

.product-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.product-actions .btn-block { flex: 1 1 220px; }
.fav-btn-wide { flex: 0 0 auto; }
@media (max-width: 479px) { .fav-wide-label { display: none; } .fav-btn-wide { width: 52px; padding: 0; } }
.verified, .store-notice { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--muted-on-bg); margin-top: 14px; }
.verified .icon, .store-notice .icon { margin-top: 2px; }
.store-notice { margin-top: 8px; }
.product-desc { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.product-desc h2 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.product-desc p + p { margin-top: 10px; }
.product-desc p { color: var(--ink-2); }
.related { margin-top: 48px; scroll-margin-top: 20px; }
.related .section-title { margin-bottom: 18px; }

.sticky-buy { display: none; }
@media (max-width: 899px) {
  .has-sticky { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .sticky-buy {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(32, 33, 31, .08);
  }
  .sticky-price { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
  .sticky-price strong { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
  .sticky-price span { font-size: 12.5px; color: var(--muted); }
  .sticky-buy .btn { flex: 0 1 auto; min-height: 48px; }
  .has-sticky .toast { bottom: calc(88px + env(safe-area-inset-bottom)); }
}

/* ---------- Páginas simples ---------- */
.page-head { margin-top: 28px; margin-bottom: 4px; }
.page-title { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.page-lead { color: var(--muted-on-bg); margin-top: 8px; max-width: 60ch; }
.ig-search { display: flex; gap: 8px; margin-top: 18px; max-width: 560px; }
.input {
  flex: 1; min-width: 0; height: 48px; padding: 0 14px; background: var(--surface);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); font-size: 16px;
  -webkit-appearance: none; appearance: none;
}
.input:focus { outline: none; border-color: var(--ink); }
.input:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; }
.ig-search .btn { min-height: 48px; }
.prose-page { margin-top: 32px; max-width: 760px; }
.prose { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.prose p + p { margin-top: 14px; }
.prose p { color: var(--ink-2); }
.error-page { margin-top: 40px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 60; transform: translate(-50%, 20px);
  max-width: calc(100% - 32px); background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
  padding: 10px 16px; border-radius: var(--radius-sm); box-shadow: var(--shadow-hover);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
