/* === VITRINE FACAS === */

/* Scroll top */
.btn-scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 32px;
  height: 32px;
  background: #C8922A;
  color: #17140f;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
}
.btn-scroll-top.visivel { opacity: 1; visibility: visible; transform: translateY(0); }
.btn-scroll-top:hover { background: #e8b86d; }

/* Cat banner */
.cat-banner {
  width: 100%;
  height: clamp(180px, 22vw, 280px);
  position: relative;
  overflow: hidden;
  margin-top: var(--header-h);
}
.cat-banner-bg {
  position: absolute; inset: 0;
  /*
  ══════════════════════════════════════════════════════
  PROMPT FLOW — Banner principal Vitrine Facas:
  "Professional chef knives arranged on dark wet slate
  surface, dramatic raking side light, water droplets on
  steel blades, copper and steel reflections, cinematic
  editorial photography, dark moody background, 16:9"
  Salve como: /chamaesabor-imagens/banner-facas.jpg
  Substitua a URL abaixo após gerar a imagem.
  ══════════════════════════════════════════════════════
  */
  background:
    linear-gradient(to right, rgba(23,20,15,0.93) 20%, rgba(23,20,15,0.5) 50%, rgba(23,20,15,0.15) 70%),
    linear-gradient(to top, rgba(23,20,15,0.8) 0%, transparent 20%),
    url('/chamaesabor-imagens/banner-facas.jpg') center center / cover no-repeat;
  background-color: #17140f;
  filter: brightness(0.68) sepia(0.1);
}
.cat-banner-content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}
.cat-banner-breadcrumb {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}
.cat-banner-breadcrumb a { color: var(--text-dim); transition: color .2s; }
.cat-banner-breadcrumb a:hover { color: var(--gold); }
.cat-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
}
.cat-banner-title em { font-style: italic; color: var(--gold); }
.cat-banner-desc {
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--text-muted);
  max-width: 520px;
}

/* Filtros */
.filtros-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative; z-index: 1;
}
.filtros-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.filtros-inner::-webkit-scrollbar { display: none; }
.filtro-link {
  display: block;
  padding: 1rem 1.25rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.filtro-link:hover, .filtro-link.ativo {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Secoes */
.produtos-secao {
  max-width: var(--max-w); margin: 0 auto;
  padding: 3rem var(--pad) 0;
  position: relative; z-index: 1;
}
.secao-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}
.secao-titulo {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}
.secao-titulo em { font-style: italic; color: var(--gold); }
.secao-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.7;
  margin-top: 0.4rem;
}
.secao-link-artigo {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 1px;
  white-space: nowrap;
  transition: border-color .2s;
  flex-shrink: 0;
}
.secao-link-artigo:hover { border-color: var(--gold); }

/* Grid produtos */
.produtos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

/* Card */
.produto-card-vitrine {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background .25s;
}
.produto-card-vitrine:hover { background: var(--surface); }

.plataforma-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  z-index: 2;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 1px;
}
.badge-amazon { background: rgba(255,153,0,0.15); color: #ff9900; border: 1px solid rgba(255,153,0,0.3); }
.badge-ml { background: rgba(255,230,0,0.12); color: #c8a800; border: 1px solid rgba(255,230,0,0.25); }

.produto-img-vitrine {
  width: 100%;
  aspect-ratio: 4/3;
  background: #f5f0e8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.produto-img-vitrine img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform .3s;
}
.produto-card-vitrine:hover .produto-img-vitrine img { transform: scale(1.04); }

.produto-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
}
.produto-img-placeholder span {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a09080;
  text-align: center;
  padding: 0 1rem;
  line-height: 1.6;
}

.produto-corpo {
  padding: 1.25rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}
.produto-material-tag {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.produto-nome-vitrine {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.produto-estrelas { display: flex; align-items: center; gap: 6px; }
.estrelas { color: var(--gold); font-size: 13px; letter-spacing: 1px; }
.estrelas-num { font-size: 12px; color: var(--text-muted); }
.produto-desc-vitrine { font-size: 13px; color: var(--text-muted); line-height: 1.7; flex: 1; }

.produto-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 0.25rem; }
.info-badge { font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 8px; border-radius: 1px; }
.badge-frete { background: rgba(122,184,122,0.12); color: #7ab87a; border: 1px solid rgba(122,184,122,0.25); }
.badge-oficial { background: rgba(100,150,255,0.1); color: #8aaaff; border: 1px solid rgba(100,150,255,0.25); }
.badge-prime { background: rgba(100,149,237,0.12); color: #6495ed; border: 1px solid rgba(100,149,237,0.25); }

.produto-botoes { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.75rem; }
.btn-ver-preco {
  display: block;
  text-align: center;
  background: var(--gold);
  color: #17140f;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
  transition: background .2s;
}
.btn-ver-preco:hover { background: var(--gold-light); }

/* AdSense */
.adsense-entre-linhas {
  max-width: var(--max-w); margin: 2.5rem auto;
  padding: 0 var(--pad);
  position: relative; z-index: 1;
}

/* CTA artigo */
.artigo-cta {
  max-width: var(--max-w); margin: 0 auto;
  padding: 2.5rem var(--pad);
  position: relative; z-index: 1;
}
.artigo-cta-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.artigo-cta-text { flex: 1; }
.artigo-cta-label { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.artigo-cta-titulo { font-family: var(--font-serif); font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 700; margin-bottom: 0.35rem; }
.artigo-cta-desc { font-size: 13px; color: var(--text-muted); }

/* Responsivo */
@media (max-width: 900px) {
  .produtos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .produtos-grid { grid-template-columns: 1fr; }
  .secao-header { flex-direction: column; align-items: flex-start; }
  .btn-scroll-top { bottom: 1.25rem; right: 1.25rem; width: 36px; height: 36px; font-size: 1.1rem; }
}
