/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #111;
  color: #ffdd00; /* amarelo ouro */
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  padding: 0 10px;
  /* Se usar .top-bar fixa, descomente a linha abaixo e ajuste a altura */
  /* padding-top: 40px; */
}

/* Topo */
.top-bar {
  background-color: #000;
  color: #fff;
  padding: 8px 16px;
  font-size: 14px;
  display: flex;
  justify-content: flex-start;
  padding-left: 10px;
  flex-wrap: wrap;
  gap: 10px;

  /* Se quiser a top-bar fixa no topo, descomente: */
  /* position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000; */
}

.top-bar a {
  color: #f8fdfc;
  text-decoration: none;
  margin-left: 8px;
}

/* Cabeçalho principal */
.main-header {
  display: flex;
  justify-content: space-between; /* logo à esquerda, pesquisa e ações à direita */
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid #333;
  position: relative;
  margin-top: 0; /* remover margem extra */
  flex-wrap: wrap;
}

/* Logo e nome */
.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-container img {
  height: 80px; /* tamanho adequado para o topo */
}

.blinking-text {
  animation: blink 1.5s infinite;
  font-size: 24px;
  color: #c0c00f;
  font-weight: bold;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Área direita: busca + ações do usuário */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Caixa de busca */
.search-box {
  display: flex;
  align-items: center;
}

.search-box input {
  padding: 8px;
  border-radius: 4px 0 0 4px;
  border: none;
  outline: none;
  width: 250px;
  max-width: 90vw;
}

.search-box button {
  padding: 8px 12px;
  background-color: #f7f8f8;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  color: #111;
}

/* Links Minha conta e Carrinho */
.user-actions a {
  color: #f1f1f1;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

/* Lista de marcas */
.brand-list {
  margin-top: 20px;
  font-size: 15px;
}

.brand-list ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-list li a {
  color: #fafdfc;
  text-decoration: none;
  transition: color 0.3s;
}

.brand-list li a:hover {
  color: #fff;
}

/* Seção de categorias */
.category-section {
  margin: 30px 0;
  text-align: center;
}

.category-links ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.category-links li {
  background-color: #1e1e1e;
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 8px;
}

.category-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

/* Produtos */
.produtos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.produto {
  background-color: #1e1e1e;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s;
}

.produto:hover {
  transform: scale(1.05);
}

.produto img {
  width: 100%;
  height: 320px; /* AUMENTA A FOTO */
  object-fit: cover;
  border-radius: 10px;
}


.produto h2 {
  font-size: 18px;
  margin: 10px 0 5px;
}

.produto p {
  font-size: 16px;
  color: #ccc;
}

/* Rodapé */
footer {
  text-align: center;
  padding: 10px;
  margin-top: 40px;
  font-size: 12px;
  background-color: #000;
}

/* Botão Voltar ao Topo */
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #00ffb3;
  color: #000;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  display: none;
  box-shadow: 0 0 10px #00ffb3;
}
button:hover,
a:hover,
.category-button:hover {
  box-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700;
  transition: box-shadow 0.3s ease;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

footer {
  background-color: #000;
  color: #f1de33;
  padding: 20px;
  text-align: center;
}

/* Banner */
.banner-principal {
  background: linear-gradient(to right, #111, #222);
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

.banner-texto h2 {
  font-size: 2rem;
  color: #ffde33;
}

.banner-texto p {
  font-size: 1.2rem;
  margin: 10px 0;
}

.btn-banner {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  background: #ffde33;
  color: #000;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-banner:hover {
  background: #fff;
}

/* Destaques */
.destaques {
  padding: 40px 20px;
}

.destaques h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #ffde33;
}

.destaques .produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.destaques .produto {
  background: #1a1a1a;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s;
}

.destaques .produto:hover {
  transform: scale(1.05);
}

.destaques .produto img {
  width: 100%;
  border-radius: 8px;
}

.destaques .produto span {
  color: #ffde33;
  font-weight: bold;
}

/* Pagamento */
.pagamento {
  padding: 40px 20px;
  text-align: center;
  color: white;
}

.pagamento h3 {
  color: #ffde33;
  margin-bottom: 10px;
}

.icones-pagamento {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.icones-pagamento img {
  height: 50px;
  filter: brightness(1.1);
}
/* Botão "Ver mais fotos" */
.ver-fotos {
  background-color: transparent;
  border: 1px solid #ffde33;
  color: #ffde33;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
  transition: all 0.3s ease;
}

.ver-fotos:hover {
  background-color: #ffde33;
  color: #111;
  box-shadow: 0 0 8px #ffde33;
  transform: scale(1.05);
}
