/* ===================== CONTAINER DA MARCA ===================== */
.marca-container {
  padding: 30px;
}

.marca-container h2 {
  text-align: center;
  font-size: 28px;
  color: #ffde33;
  margin-bottom: 30px;
}

.marca-container .produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
  justify-items: center;
}

/* ===================== CARD PRODUTO ===================== */
.produto {
  background: #1a1a1a;
  padding: 15px;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
  text-align: center;
  width: 100%;
  max-width: 240px;
}

.produto:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #ffde33;
}

.produto img {
  width: 100%;
  height: 220px;          /* mesma altura para todos */
  object-fit: contain;    /* faz caber sem cortar */
  object-position: center;/* CENTRALIZA a imagem */
  display: block;
}


.produto p {
  margin: 10px 0 5px;
  font-size: 16px;
  color: #fff;
}

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

/* ===================== LINKS SUPERIORES ===================== */
.top-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px;
}

.top-links a {
  background: #222;
  padding: 8px 16px;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s, box-shadow 0.3s;
}

.top-links a:hover {
  background: #ffde33;
  color: #000;
  box-shadow: 0 0 10px #ffde33;
}

/* ===================== OPÇÕES PRODUTO ===================== */
.opcoes-produto {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: white;
}

.opcoes-produto select,
.opcoes-produto input {
  padding: 6px;
  border-radius: 5px;
  border: none;
  width: 100%;
}

/* ===================== BOTÕES ===================== */
.adicionar-carrinho {
  margin-top: 10px;
  background-color: #ffde33;
  color: #000;
  font-weight: bold;
  border: none;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
}

.adicionar-carrinho:hover {
  background-color: #fff200;
  box-shadow: 0 0 10px #ffde33;
}

/* ===================== CARRINHO LATERAL ===================== */
.carrinho-lateral {
  position: fixed;
  top: 0;
  right: -400px;
  width: 300px;
  height: 100%;
  background: #111;
  color: white;
  transition: right 0.3s ease;
  z-index: 2000;
  overflow-y: auto;
  padding: 20px;
}

.carrinho-lateral.open {
  right: 0;
}

.carrinho-lateral h3 {
  margin-bottom: 15px;
  font-size: 20px;
  border-bottom: 1px solid #444;
  padding-bottom: 10px;
}

.carrinho-lateral ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.carrinho-lateral li {
  margin-bottom: 10px;
  font-size: 14px;
  border-bottom: 1px dashed #333;
  padding-bottom: 5px;
}

.total-carrinho {
  font-size: 16px;
  margin-top: 10px;
  padding: 10px 0;
  border-top: 1px solid #444;
  display: flex;
  justify-content: space-between;
}

#fechar-carrinho {
  background: linear-gradient(90deg, #ffcc00, #ffde33);
  color: #111;
  font-weight: bold;
  border: none;
  padding: 12px;
  font-size: 16px;
  width: 100%;
  margin-top: 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 10px rgba(255, 222, 51, 0.4);
}

#fechar-carrinho:hover {
  background: #fff200;
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(255, 222, 51, 0.6);
}

/* ===================== MODAL GALERIA ===================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 3000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal.aberta {
  display: flex;
}

.modal-conteudo {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.modal-conteudo img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;   /* 🔥 mantém proporção */
  height: auto;
  width: auto;
}

.fechar-modal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

/* ===================== CABEÇALHO MARCA ===================== */
.brand-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 22px;
}

.btn-voltar {
  color: #ffde33;
  text-decoration: none;
  font-size: 1rem;
}

.brand-logo {
  color: #ffde33;
  font-size: 1.2rem;
  letter-spacing: .5px;
}

.botao-carrinho {
  background-color: #ffde33;
  color: #000;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.2s ease;
}

.botao-carrinho:hover {
  filter: brightness(1.1);
  transform: scale(1.05);
}

/* ===================== GLOBAL ===================== */
body {
  background: #000;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

footer {
  text-align: center;
  margin: 50px 0 30px;
  color: #999;
  font-size: 0.85rem;
}
.modal-conteudo img {
  max-width: 90%;
  max-height: 80vh;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}
.aviso-container {
  text-align: center;
  padding: 60px 20px;
}

.aviso-breve {
  margin-top: 40px;
  padding: 40px;
  background: linear-gradient(135deg, #111, #1c1c1c);
  border: 1px solid #2a2a2a;
  border-radius: 12px;
}

.aviso-breve h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 10px;
}

.aviso-breve p {
  color: #aaa;
  margin: 5px 0;
}
.logo-marca {
  margin-top: 30px;
  text-align: center;
}

.logo-marca img {
  max-width: 160px;
  filter: brightness(0) invert(1); /* deixa branca se a logo for preta */
  opacity: 0.9;
}
