:root {
  --azul-suave: #2a64cc;        /* info / navegação / links */
  --azul-escuro: #204ca6;
  --bege-suave-1: #fef8f3;
  --bege-suave-2: #fbeede;
  --cinza-claro: #f1f1f1;       /* fundo leve, hover */
  --cinza-medio: #999999;       /* texto secundário */
  --laranja: #ff9f1c;           /* ação neutra/destaque leve (ex: editar, continuar) */
  --laranja-escuro: #cc7f17;
  --verde-logo: #5b8554;
  --verde-vibrante: #44b445;
  --verde-vibrante2: #00b25b;    /* primário - ações principais como "Comprar" */
  --vermelho: #e63946;          /* ações destrutivas (excluir, cancelar) */
  --vermelho-escuro: #b22f38;
  --fundo-claro: #ffffff;
  --fundo-suave: #f5f7f4;
  --cinza-claro: #dddddd;
  --texto-escuro: #333333;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: var(--cinza-claro);
  font-family: 'Segoe UI', sans-serif;
  color: var(--texto-escuro);
}

header.topo {
  background: white;
  padding: 1rem 0.5rem;
  text-align: center;
  border-bottom: 2px solid var(--cinza-claro);
  position: relative;
}

.logo-container {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tag-loja {
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.5rem;
  color: var(--verde-logo);
  margin-bottom: 4px;
  width: 60px;
  text-align: center;
}

.logo-container img {
  height: 60px;
  display: block;
}

a {
  color: var(--verde-vibrante);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1000px;
  margin: 20px auto;
  padding: 0 20px;
}

.grade-produtos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.card-produto {
  background: white;
  padding: 20px;
  width: 300px;
  min-height: 450px;
  max-height: 800px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative; /* importante para posicionar elementos filhos */
  overflow: hidden;
}

.card-produto img {
  max-width: 100%;
  max-height: 250px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.preco {
  font-size: 1.2rem;
  color: var(--verde-vibrante);
  font-weight: bold;
  margin-top: 10px;
}

.botao-ver {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background: var(--verde-vibrante);
  color: white;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
}

.botao-ver:hover {
  background: #3aa03d;
}

.btn-admin {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 0.9rem;
  color: var(--texto-escuro);
  background: var(--cinza-claro);
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
}

footer {
  width: 100%;
  background-color: var(--verde-logo);
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  border-top: 4px solid var(--cinza-claro);
  box-sizing: border-box;
  margin-top: 40px;
}

footer a {
  color: #e5ffe5;
}
.swiper-container {
  width: 100%;
  height: auto; /*anteriormente 200px*/
  position: relative;
  padding-bottom: 30px;
  overflow: hidden;
}
.swiper-wrapper {
  height: 200px; /*item novo*/
  display: flex;
  align-items: center;
}
/*
.swiper-slide img {
  position: absolute;
  bottom: 4px;
  left: 0; 
  width: 100%;
  text-align: center;
  max-height: 100%;
}*/
.swiper-slide img {
  border-radius: 8px;
  object-fit: contain;
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: auto;
  position: relative;
}

/* Botões de navegação (← →) */
.swiper-button-next,
.swiper-button-prev {
  color: var(--verde-vibrante);
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
}

/* Bolinhas da paginação */
.swiper-pagination {
  bottom: 4px !important;
  text-align: center;
}

.swiper-pagination-bullet {
  background: var(--verde-vibrante);
  opacity: 0.5;
  margin: 0 3px; /*novo*/
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

.card-dashboard {
  background: white;
  padding: 20px;
  width: 300px;
  height: 200px;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.card-dashboard:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.conteudo-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.card-dashboard h3 {
  font-size: 1.2rem;
  color: var(--texto-escuro);
  margin-bottom: 10px;
}

.card-dashboard p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

.btn-dashboard {
  display: inline-block;
  padding: 10px 16px;
  background: var(--verde-vibrante);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
}

.btn-dashboard:hover {
  background: #3aa03d;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 1rem;
}
.card-admin {
  flex: 1 1 clamp(220px, 45%, 300px);
  background: var(--card, white);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
  padding: 1.4rem;
  text-decoration: none;
  color: var(--text, #333);
  transition: transform .18s, box-shadow .18s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card-admin:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.label-admin {
  font-size: 1rem;
  margin-bottom: .4rem;
  text-align: center;
}

.btn-pergunta {
  margin-top: 10px;
  background: var(--azul-suave);
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  display: inline-block;
  flex: 1 1 calc(50% - 5px); /* ocupa 50% menos o gap */
  box-sizing: border-box;
}

.btn-pergunta:hover {
  background: var(--azul-escuro);
  transform: translateY(-2px);
}

.btn-pergunta:active {
  background: var(--azul-escuro);
  transform: translateY(0);
}

.btn-descricao {
  margin-top: 10px;
  background: var(--verde-vibrante2);
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  display: inline-block;
  flex: 1 1 calc(50% - 5px);
  box-sizing: border-box;
}

.btn-descricao:hover {
  background: var(--verde-vibrante);
  transform: translateY(-2px);
}

.btn-descricao:active {
  background: var(--verde-logo);
  transform: translateY(0);
}

.grupo-botoes-produto {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.divisor-profundo-1 {
  width: 100%;
  height: 1px;
  border: none;
  margin: 30px 0;
  background-color: #ffffff40; /* branco com transparência */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.divisor-profundo-2 {
  width: 100%;
  height: 2px;
  border: none;
  margin: 30px 0;
  background: linear-gradient(to right, #888888, #aaaaaa);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

#popup-pergunta {
  display: none;
  width: 90%;
  max-width: 550px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  z-index: 999;
}

.pergunta-collapse {
  margin: 10px 0;
  border: 1px solid var(--cinza-claro);
  border-radius: 6px;
  overflow: hidden;
}

.pergunta-header {
  background: var(--bege-suave-1);
  padding: 12px 16px;
  cursor: pointer;
  font-weight: bold;
  color: var(--texto-escuro);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s ease;
}

.pergunta-header:hover {
  background: var(--bege-suave-2); /* tom um pouco mais forte que o bege-suave */
}

.pergunta-header .icone {
  transition: transform 0.3s ease;
}

.pergunta-header.aberta .icone {
  transform: rotate(90deg);
}

.pergunta-body {
  display: none;
  padding: 10px 16px;
  background: var(--fundo-claro);
  border-top: 1px solid var(--cinza-claro);
  font-size: 0.95rem;
  color: var(--texto-escuro);
}
.wpp {
  z-index: 1;
  position: fixed;
  bottom: 0;
  right: 20px;
  cursor: pointer;
}

