﻿.detalhe-produto {
  width: 100%;
}

.detalhe-card {
  max-width: 1120px;
  margin: 0 auto;
  background-color: white;
  border-radius: 14px;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  gap: 28px;
  align-items: start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.detalhe-coluna-imagem {
  width: 100%;
}

.detalhe-coluna-imagem > img {
  width: 100%;
  max-height: 430px;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  cursor: zoom-in;
}

.detalhe-miniaturas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.detalhe-miniatura {
  width: 64px;
  height: 64px;
  padding: 3px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background-color: white;
  cursor: pointer;
}

.detalhe-miniatura:hover,
.detalhe-miniatura.ativo {
  border-color: #111;
}

.detalhe-miniatura:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

.detalhe-miniatura img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
}

.aviso-tonalidade {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.4;
  color: #777;
  text-align: center;
}

.detalhe-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0;
}

.detalhe-categoria {
  display: none;
}

.detalhe-info h2 {
  font-size: 24px;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
}

.detalhe-descricao {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 14px;
}

.detalhe-preco {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 16px;
}

.detalhe-controle-carrinho {
  width: 100%;
}

.botao-adicionar-detalhe {
  width: 100%;
}

.controle-quantidade-detalhe {
  width: 100%;
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  background-color: #111;
}

.controle-quantidade-detalhe button {
  width: 100%;
  height: 42px;
  padding: 0;
  border-radius: 0;
  background-color: #111;
  color: white;
  font-size: 22px;
  font-weight: bold;
}

.controle-quantidade-detalhe button:hover {
  background-color: #333;
}

.controle-quantidade-detalhe span {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #111;
  color: white;
  font-size: 16px;
  font-weight: bold;
}

.sugestoes-produto {
  margin-top: 26px;
}

.sugestoes-produto h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.lista-sugestoes {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 180px);
  grid-template-columns: none;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.sugestao-card {
  background-color: #f7f7f7;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  min-width: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sugestao-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.area-click-sugestao img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.area-click-sugestao h4 {
  font-size: 13px;
  line-height: 1.25;
  margin-bottom: 6px;
}

.area-click-sugestao p {
  font-size: 13px;
  font-weight: bold;
}

.zoom-produto {
  display: none;
  position: fixed;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
  width: 360px;
  height: 360px;
  background-repeat: no-repeat;
  background-size: 230%;
  background-position: center;
  border-radius: 14px;
  border: 3px solid #111;
  background-color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  z-index: 2000;
  pointer-events: none;
}

.zoom-produto.ativo {
  display: block;
}

.entrega-produto {
  color: #555;
  font-size: 14px;
  margin-bottom: 16px;
}
