/* ============================================================
   PÁGINA DE PRODUTO — productPage.css
   Importa em cima do productsStyle.css
   ============================================================ */


/* ============================================================
   LAYOUT PRINCIPAL
   ============================================================ */

.product-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

@media (max-width: 700px) {
  .product-page {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 16px 48px;
  }
}


/* ============================================================
   GALERIA
   ============================================================ */

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  background: var(--color-background);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-main img:hover {
  transform: scale(1.03);
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.thumb {
  width: 72px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb.active,
.thumb:hover {
  border-color: var(--color-primary);
}

/* ============================================================
   INFORMAÇÕES DO PRODUTO
   ============================================================ */

.product-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-name {
  font-family: var(--font-family-body);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--color-primary);
  letter-spacing: 2px;
  line-height: 1.1;
}

.product-price {
  font-family: var(--font-family-body);
  font-size: 1.8rem;
  color: var(--color-primary);
}

/* Tags */
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: var(--font-family-body);
  font-size: 0.85rem;
  background: rgba(244, 211, 94, 0.4);
  color: var(--color-primary);
  border: 1px solid rgba(244, 211, 94, 0.8);
  border-radius: 999px;
  padding: 4px 14px;
}

/* Tabela de detalhes */
.product-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border-subtle);
  border-radius: 12px;
  overflow: hidden;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  font-family: var(--font-family-body);
  font-size: 0.95rem;
}

.detail-row:not(:last-child) {
  border-bottom: 1px solid var(--color-border-subtle);
}

.detail-row:nth-child(even) {
  background: rgba(244, 211, 94, 0.15);
}

.detail-label {
  color: var(--color-primary);
  opacity: 0.7;
}

.detail-value {
  color: var(--color-primary);
  font-weight: bold;
}

/* Descrição */
.product-description h2 {
  font-family: var(--font-family-body);
  font-size: 1rem;
  color: var(--color-primary);
  opacity: 0.7;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-description {
  font-family: var(--font-family-body);
  font-size: 1rem;
  color: var(--color-primary);
  line-height: 1.7;
  text-align: justify;
}

.intro-button {
  font-style: italic;
  font-family: var(--font-family-body);
  font-size: 1rem;
  color: #F63E02;
  line-height: 1.7;
  text-align: justify;
}

.intro-button:hover {
  font-family: var(--font-family-body);
  font-size: 1rem;
  color: #F63E02;
  line-height: 1.7;
  text-align: justify;
}

@media (max-width: 1024px), (max-width: 768px), (max-width: 480px) {
  .intro-button {
    color: #F63E02;
  }
}

/* Botão de contato */
.contact-btn {
  display: inline-block;
  text-align: center;
  padding: 14px 28px;
  background: var(--color-primary);
  color: var(--color-secondary);
  font-family: var(--font-family-body);
  font-size: 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  margin-top: 8px;
}

.contact-btn:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.tabela-medidas {
  display: flex;
  width: 502px;
  height: auto;
  justify-content: inherit;
  align-content: center;
  margin: auto;
}
