/* ==================================================
   BASE
================================================== */

.product-page-container{
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.product-details-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

/* ==================================================
   GALERIA
================================================== */

.product-visuals-column{
  display: flex;
  justify-content: center;
}

.product-image-gallery{
  display: flex;
  gap: 12px;
}

.thumbnails-container{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.thumbnail{
  width: 72px;
  height: 72px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid transparent;
  transition: .2s;
}

.thumbnail.active,
.thumbnail:hover{
  border-color: #ff9900;
}

.main-image-container{
  flex: 1;
}

#main-product-image{
  width: 100%;
  border-radius: 6px;
  display: block;
}

/* ==================================================
   INFO PRODUTO (NÃO ESTILIZA TEXTO NO CONTAINER)
================================================== */

.product-info-column{
  font-family: 'Inter', sans-serif;
  color: #fff;
}

/* TÍTULO */
.product-info-column h1{
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.25;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #fff;
}

/* DESCRIÇÃO */
.product-info-column > p{
  font-size: 12px;
  line-height: 1.55;
  color: #cfcfcf;
  max-width: 520px;
  margin-bottom: 10px;
}

/* ==================================================
   PREÇO — HERO (IGUAL AO DA IMAGEM)
================================================== */

.price-section{
  margin: 22px 0 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.product-price{
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffa000;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0;
}

/* ==================================================
   ESTADO DO PRODUTO
================================================== */

.estado-produto{
  display: none;
  margin: 14px 0;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(180deg,#111,#0b0b0b);
  border: 1px solid rgba(255,153,0,.35);
  text-align: center;
}

.estado-icone{
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: rgba(255,153,0,.15);
  color: #ff9900;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.estado-produto h3{
  color: #ff9900;
  font-size: 16px;
  margin-bottom: 6px;
}

.estado-produto p{
  font-size: 13px;
  line-height: 1.5;
  color: #bbb;
}

/* ==================================================
   TAMANHOS
================================================== */

.size-options{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.size-btn{
  background: #222;
  color: #fff;
  border: 1px solid #444;
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: .2s;
}

.size-btn.active,
.size-btn:hover{
  background: #ff9900;
  color: #111;
}

/* ==================================================
   BOTÃO
================================================== */

.add-to-cart-btn{
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: #ff9900;
  color: #111;
  font-weight: 700;
  cursor: pointer;
}


/* ==================================================
   4. RELACIONADOS – DESKTOP
================================================== */

.produtos-relacionados {
  margin: 80px auto;
}

.produtos-relacionados .produtos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.produtos-relacionados .card-img {
  aspect-ratio: 1 / 1;
}

.produtos-relacionados img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px){

  .product-details-grid{
    display: block;
  }

  .product-price{
    font-size: 3rem;
    letter-spacing: 0.06em;
  }
/* ===== RELACIONADOS ===== */

  .produtos-relacionados {
    margin: 40px auto;
    padding: 0 12px;
  }

  .produtos-relacionados .produtos {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

}
