
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; background: #f5f7fb; color: #111827; }
.hero { padding: 48px 20px 42px; background: linear-gradient(135deg, #111827 0%, #1f2937 55%, #374151 100%); color: white; text-align: center; }
.hero.com-banner { padding: 0; background: none; }
.hero.com-banner img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.hero-inner { max-width: 1100px; margin: 0 auto; }
.tag { display: inline-block; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); font-size: 13px; font-weight: 700; letter-spacing: .4px; margin-bottom: 16px; }
.hero h1 { margin: 0; font-size: clamp(30px, 6vw, 52px); line-height: 1.08; }
.hero p { max-width: 680px; margin: 16px auto 0; color: #d1d5db; font-size: 17px; line-height: 1.6; }
.contador { margin-top: 20px; font-size: 14px; color: #cbd5e1; }
main { width: min(1200px, calc(100% - 30px)); margin: 0 auto; padding: 38px 0 60px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.card { background: white; border-radius: 18px; overflow: hidden; border: 1px solid #e5e7eb; box-shadow: 0 8px 28px rgba(15,23,42,.07); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(15,23,42,.12); }
.categoria { padding: 12px 15px 0; color: #6b7280; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; }
.foto { height: 230px; margin: 10px 14px 0; border-radius: 14px; overflow: hidden; background: #f8fafc; display: flex; align-items: center; justify-content: center; }
.foto img { width: 100%; height: 100%; object-fit: contain; }
.sem-imagem { color: #9ca3af; font-size: 14px; }
.conteudo { padding: 17px; display: flex; flex-direction: column; flex: 1; }
.conteudo h2 { margin: 0; font-size: 17px; line-height: 1.35; color: #111827; }
.conteudo p { margin: 11px 0 18px; color: #6b7280; font-size: 14px; line-height: 1.5; flex: 1; }
.botao { display: block; width: 100%; padding: 13px 16px; border-radius: 11px; background: #111827; color: white; text-decoration: none; text-align: center; font-weight: 800; font-size: 14px; transition: opacity .18s ease; }
.botao:hover { opacity: .88; }
.vazio { background: white; border-radius: 18px; padding: 50px 20px; text-align: center; }
footer { border-top: 1px solid #e5e7eb; background: white; padding: 28px 20px; text-align: center; color: #6b7280; font-size: 13px; line-height: 1.5; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .foto { height: 190px; } .conteudo { padding: 14px; } .conteudo h2 { font-size: 15px; } .conteudo p { font-size: 13px; } .hero { padding: 38px 18px 34px; } }
@media (max-width: 460px) { .grid { grid-template-columns: 1fr; } .foto { height: 250px; } }
.hero-carousel { position: relative; width: 100%; overflow: hidden; touch-action: pan-y; user-select: none; cursor: grab; }
.hero-carousel:active { cursor: grabbing; }
.hero-carousel-track { display: flex; transition: transform 0.5s ease; }
.hero-carousel-track img { width: 100%; flex-shrink: 0; max-height: 420px; object-fit: cover; display: block; pointer-events: none; }
.hero-carousel-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.hero-carousel-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; transition: background .2s ease; }
.hero-carousel-dots span.ativo { background: #fff; }
.categoria-bloco { margin-bottom: 40px; }
.categoria-titulo { margin: 0 0 16px 4px; font-size: 20px; font-weight: 800; color: #111827; }
.categoria-carousel { position: relative; }
.categoria-carousel-track { display: flex; gap: 18px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 6px; cursor: grab; }
.categoria-carousel-track::-webkit-scrollbar { display: none; }
.categoria-carousel-track:active { cursor: grabbing; }
.categoria-carousel-track .card { min-width: 240px; max-width: 240px; flex-shrink: 0; }
@media (max-width: 720px) {
  .categoria-carousel-track { gap: 10px; }
  .categoria-carousel-track .card { min-width: 140px; max-width: 140px; }
  .categoria-carousel-track .foto { height: 120px; }
  .categoria-carousel-track .foto img { object-fit: cover; }
  .categoria-carousel-track .conteudo { padding: 10px; }
  .categoria-carousel-track .conteudo h2 {
    font-size: 13px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .categoria-carousel-track .conteudo p {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 4px 0 0;
  }
  .categoria-carousel-track .botao { padding: 9px 10px; font-size: 12px; }
}
.lojas-parceiras { margin-top: 50px; padding-top: 30px; border-top: 2px dashed #e5e7eb; }
.lojas-titulo { margin: 0 0 16px 4px; font-size: 22px; font-weight: 800; color: #111827; }
.card-loja { border: 2px solid #fbbf24; }
.botao-loja { background: #f59e0b; }
.botao-loja:hover { opacity: .88; }
.meus-produtos { margin-top: 50px; padding-top: 30px; border-top: 2px solid #111827; }
.meus-produtos-titulo { margin: 0 0 16px 4px; font-size: 22px; font-weight: 800; color: #111827; }
.card-meu-produto { border: 2px solid #10b981; }
.botao-meu-produto { background: #10b981; }
.botao-meu-produto:hover { opacity: .88; }

.topbar { position: sticky; top: 0; z-index: 100; background: #111827; padding: 12px 20px; display: flex; align-items: center; gap: 16px; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.topbar-logo { color: white; font-weight: 900; font-size: 20px; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.topbar-busca { flex: 1; display: flex; }
.topbar-busca input { width: 100%; padding: 10px 16px; border-radius: 999px; border: none; font-size: 14px; outline: none; }
.topbar-icone { background: none; border: none; color: white; cursor: pointer; padding: 6px; display: flex; align-items: center; position: relative; flex-shrink: 0; }
.topbar-icone svg { width: 24px; height: 24px; }
.carrinho-badge { position: absolute; top: -2px; right: -2px; background: #ef4444; color: white; font-size: 10px; font-weight: 800; width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.menu-dropdown { position: fixed; top: 0; right: -280px; width: 260px; height: 100%; background: white; box-shadow: -4px 0 20px rgba(0,0,0,.15); transition: right .25s ease; z-index: 200; padding: 20px; }
.menu-dropdown.aberto { right: 0; }
.menu-dropdown a { display: block; padding: 12px 8px; color: #111827; text-decoration: none; font-weight: 700; font-size: 15px; border-bottom: 1px solid #f1f5f9; }
.menu-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.4); z-index: 199; }
.menu-overlay.aberto { display: block; }
.menu-fechar { background: none; border: none; font-size: 22px; float: right; cursor: pointer; }
@media (max-width: 720px) { .topbar-logo { font-size: 16px; } }

.topbar-logo-img { height: 52px; width: auto; display: block; border-radius: 6px; }
