/* === ESTILO GERAL DO SLIDER === */

.slider-wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  margin: 30px auto;
  padding: 10px;
  box-sizing: border-box;
  background: #fffdf9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Container flexível com rolagem */
.slider-container {
  display: flex;
  gap: 16px;
  transition: transform 0.5s ease;
  will-change: transform;
  scroll-behavior: smooth;
}

/* Produtos */
.produto {
  flex: 0 0 180px;
  background: white;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  margin-right: 16px;
}

.produto:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.produto img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.produto h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 10px 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #222;
}

.produto p {
  font-size: 0.87rem;
  color: #555;
  margin: 0 0 10px;
  line-height: 1.5;
  flex-grow: 1;
}

/* Botão */
.botao {
  display: inline-block;
  background: #e47911;
  color: white;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  margin-top: 12px;
  transition: background 0.3s;
}

.botao:hover {
  background: #d06f10;
}

/* Setas */
.seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 10;
  color: #333;
}

.seta-esquerda {
  left: 6px;
}

.seta-direita {
  right: 6px;
}

.seta:hover {
  background: #e47911;
  color: white;
}

/* Conteúdo visual das setas */
.seta-esquerda::before {
  content: '◀';
  color: inherit;
  font-size: 18px;
  display: inline-block;
  width: 100%;
  text-align: center;
  line-height: 32px;
}

.seta-direita::before {
  content: '▶';
  color: inherit;
  font-size: 18px;
  display: inline-block;
  width: 100%;
  text-align: center;
  line-height: 32px;
}

/* === MOBILE RESPONSIVO === */
@media (max-width: 768px) {
  .slider-container {
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 10px;
  }

  .produto {
    flex: 0 0 75%;
    margin-right: 12px;
  }

  .seta {
    top: auto;
    bottom: 10px;
    transform: none;
    width: 30px;
    height: 30px;
    font-size: 16px;
    line-height: 30px;
  }

  .seta-esquerda {
    left: 12px;
  }

  .seta-direita {
    right: 12px;
  }
}

/* Selo de atualização */
body::after {
  content: "estilo atualizado";
  position: fixed;
  bottom: 10px;
  right: 10px;
  background: #222;
  color: #fff;
  padding: 4px 8px;
  font-size: 10px;
  z-index: 9999;
}
