@import "global.css";

/* =============================================
   style-home.css — Estilos exclusivos da página "Home"
   ============================================= */

.produtos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.produto {
  background: #fffaf7;
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.produto:hover {
  transform: scale(1.02);
}

.imagem-produto {
  height: 250px;
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.imagem-produto img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
}


.produto button {
  background: #D6A77A;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
}

.produto button:hover {
  background: #c18c5d;
}

.resumo-historia {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  /* <-- isso alinha verticalmente ao centro */
  gap: 2rem;
  background-color: #fdf6f2;
  padding: 3rem 2rem;
  border-radius: 12px;
  margin: 3rem 0;
}

.resumo-texto {
  flex: 1 1 50%;
  color: #4A4A4A;
}

.resumo-texto h2 {
  font-size: 1.8rem;
  color: #8b3a3a;
  margin-bottom: 1rem;
}

.resumo-texto p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.resumo-texto strong {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  color: #8b3a3a;
}

.resumo-imagem {
  width: 100%;
  max-width: 500px;
  flex-shrink: 0;
}

.resumo-imagem img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  border-radius: 10px;
}

.slider-historia img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


select#cob-mini,
select#quant-mini {
  padding: 0.6rem 1rem;
  border-radius: 30px;
  border: 1px solid #d6a77a;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  background-color: #fffaf7;
  color: #5a4033;
  width: 100%;
  max-width: 200px;
  text-align: center;
}

#precomini-calculado {
  font-size: 1.2rem;
  color: #8b3a3a;
  margin: 1rem 0;
}

.produto h4,
#item-price {
  color: #8b3a3a;
  margin: 1rem 0;
}

#descricao-item {
  font-size: 15px;
}

.slick-dots li button:before {
  color: #8b3a3a;
  opacity: 0.5;
}

.slick-dots li.slick-active button:before {
  opacity: 1;
}

.slick-arrow {
  background-color: #D6A77A;
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
}

.slick-arrow:hover {
  background-color: #c18c5d;
}

footer {
  background-color: #f3e8e1;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

footer h2 {
  margin-bottom: 2rem;
  text-align: center;
  color: #8b3a3a;
  font-family: 'Montserrat';
  text-transform: uppercase;
  font-size: 26px;
  font-weight: 400;
}

.forma-pagamento,
.politica-cancelamento {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.forma-pagamento img,
.politica-cancelamento img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.forma-pagamento p,
.politica-cancelamento p {
  margin: 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  flex: 1;
  line-height: 1.5;
}

.info-box .consulta {
  font-style: italic;
  font-size: 12px;
  text-transform: bold;
  color: red;
}

.delivery-list {
  list-style: none;
  /* Remove os marcadores padrão */
  text-align: center;
  /* Centraliza o texto dos itens da lista */
  padding: 0;
}

.delivery-list li {
  display: list-item;
  /* Faz com que os itens fiquem em linha e possam ser centralizados */
  text-align: center;
}

.info h4 {
  margin: 0 0 0.25rem;
  font-weight: 600;
}

.info p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: #666;
}

.contato {
  padding-bottom: 3rem;
}

.contato p {
  padding-top: 1rem;
}

#contato {
  text-align: center;
}

.link-icon {
  display: inline-flex;
  /* ou flex, se preferir */
  align-items: center;
  gap: 8px;
  /* espaço entre imagem e texto */
  color: #8b3a3a;
  text-decoration: none;
  font-size: 1rem;
  padding-top: 1rem;
}

.link-icon img {
  width: 20px;
  height: auto;
  display: block;
}

a.minha-classe {
  color: #4A4A4A;
  text-decoration: none;
}

#informacoes {
  text-align: center;
  margin-top: 50px;
}

.info-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.info-box {
  background-color: #fffaf0;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 10px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex: 1 1 300px;
  /* para permitir quebra suave em telas pequenas */
}

.info-box h3 {
  color: #8b3a3a;
  font-size: 1.5em;
  padding-bottom: 2rem;
}

.info-box p {
  color: #4A4A4A;
  font-size: 1em;
  margin-top: 10px;
}


@media (max-width: 768px) {
  .info-container {
    flex-direction: column;
    align-items: center;
  }

  select#cob-mini {
    max-width: 100%;
    width: auto;
    box-sizing: border-box;
  }
}

/* 👉 MOBILE: inverter ordem */
@media (max-width: 768px) {
  .resumo-historia {
    flex-direction: column;
    text-align: center;
  }

  .resumo-imagem img {
    max-width: 100%;
  }

  .resumo-texto {
    max-width: 100%;
  }
}