/* ============================================================
   ÜRÜN DETAY SAYFASI CSS
   Header, footer, hero ve marquee componentleri diğer dosyalardan (header-footer.css ve diğer-ürünlerimiz.css) import edildi. 
   Sadece Section 2 (Product Detail) özellikleri burada tutuluyor.
   ============================================================ */

.product-detail-section {
  background: #ffffff;
  padding: 80px 0 120px 0;
  width: 100%;
}

.product-detail-inner {
  max-width: 1210px; /* Görsel ve tablo toplam genişliği için optimal değer */
  margin: 0 auto;
  display: flex;
  flex-direction: row; /* Her iki sütunun aynı boy olması için */
  gap: 20px;
}

/* Sol Taraf: Ürün Görseli */

.product-detail__image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Sağ Taraf: Ürün Info */
.product-detail__info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Tablo */
.product-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  border: 1px solid #ededed; /* Dış çerçeve */
}

.product-table tr {
  border-bottom: 1px solid #ededed;
}

.product-table tr:last-child {
  border-bottom: none;
}
.product-table th,
.product-table td {
  padding: 20px 24px;
  text-align: left;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

/* Tablo Başlıkları (Sol Sütun) */
.product-table th {
  font-weight: 600;
  color: #121212;
  width: 40%;
  border-right: 1px solid #ededed;
}

/* Tablo Değerleri (Sağ Sütun) */
.product-table td {
  font-weight: 500;
  color: rgba(18, 18, 18, 0.6);
  width: 60%;
}

/* Bize Ulaşın Butonu */
.btn-whatsapp {
  align-self: flex-start; /* Sola yaslı kalsın */
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366; /* WhatsApp yeşili */
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 18px;
  padding: 16px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-whatsapp:hover {
  background: #1eb956;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .product-detail-inner {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }
  .product-detail__image {
    flex: none;
    width: 100%;
    max-width: 550px;
  }
  .product-detail__info {
    width: 100%;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .product-detail-section {
    padding: 60px 0;
  }
  .product-detail-inner {
    padding: 0 20px;
    flex-direction: column;
    gap: 40px;
  }
  .product-detail__image {
    flex: none;
    width: 100%;
    height: auto; /* Sabit height kaldırıldı, orantılı küçülür */
    aspect-ratio: 1;
  }
  .product-detail__info {
    width: 100%;
  }
  .product-table th,
  .product-table td {
    padding: 14px 12px;
    font-size: 13px;
  }
  .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }
}
