/* ============================================
   SELIFOV COFFEE — ÜRÜN DETAY SAYFASI
   Temiz, ferah, e-ticaret tarzı
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: #0e0b09;
  color: #e0d5cc;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }

/* ---- HEADER ---- */
.pd-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(14,11,9,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  height: 64px;
}
.pd-header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.pd-logo {
  display: flex; align-items: center; gap: 10px;
}
.pd-logo span { font-size: 26px; }
.pd-logo strong {
  display: block; font-size: 18px; font-weight: 700;
  color: #fff; line-height: 1.1;
}
.pd-logo small {
  display: block; font-size: 10px; color: #c9a84c;
  letter-spacing: 2px; text-transform: uppercase;
}
.pd-nav { display: flex; gap: 24px; }
.pd-nav a {
  font-size: 14px; color: #9a8f86; font-weight: 500;
  transition: color .2s;
}
.pd-nav a:hover { color: #c9a84c; }

/* ---- BREADCRUMB ---- */
.pd-breadcrumb {
  margin-top: 64px;
  background: #151008;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 14px 0;
}
.pd-breadcrumb-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #6e6560;
}
.pd-breadcrumb-inner a { color: #6e6560; transition: color .2s; }
.pd-breadcrumb-inner a:hover { color: #c9a84c; }
.pd-breadcrumb-inner span:last-child { color: #c9a84c; font-weight: 500; }

/* ---- ANA LAYOUT ---- */
.pd-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

/* ---- GÖRSEL ALANI ---- */
.pd-image-section {
  position: sticky;
  top: 88px;
}
.pd-image-box {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #1c3d2a 0%, #0e2118 100%);
  aspect-ratio: 1 / 1;
  box-shadow: 0 32px 64px rgba(0,0,0,0.6);
}
.pd-image-box img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.pd-image-empty {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 100px; opacity: 0.25;
}
.pd-badge {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  background: #c9a84c; color: #1a1410;
  font-size: 11px; font-weight: 700;
  padding: 5px 14px; border-radius: 50px;
  letter-spacing: 1px; text-transform: uppercase;
}

/* ---- BİLGİ ALANI ---- */
.pd-info-section {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 8px;
}

/* Etiket */
.pd-label {
  font-size: 11px; font-weight: 600;
  color: #c9a84c; letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Başlık */
.pd-title {
  font-family: 'Playfair Display', serif;
  font-size: 38px; font-weight: 700;
  color: #ffffff; line-height: 1.15;
  margin-bottom: 24px;
}

/* Fiyat satırı */
.pd-price-row {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 14px;
  margin-bottom: 28px;
}
.pd-price {
  font-size: 40px; font-weight: 700;
  color: #c9a84c; line-height: 1;
  font-family: 'Poppins', sans-serif;
}
.pd-stock {
  font-size: 13px; color: #4caf50; font-weight: 600;
  background: rgba(76,175,80,0.12);
  border: 1px solid rgba(76,175,80,0.25);
  padding: 5px 14px; border-radius: 50px;
}

/* Açıklama */
.pd-desc {
  font-size: 15px; color: #b0a49b;
  line-height: 1.9;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Etiket kutular */
.pd-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 32px;
}
.pd-tags span {
  background: rgba(26,61,46,0.35);
  border: 1px solid rgba(201,168,76,0.15);
  color: #d4c8bc;
  font-size: 13px; font-weight: 500;
  padding: 8px 16px; border-radius: 50px;
}

/* Butonlar */
.pd-buttons {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 32px;
}
.pd-btn-buy {
  display: block; text-align: center;
  background: linear-gradient(135deg, #c9a84c, #e8c876);
  color: #1a1410; font-weight: 700; font-size: 17px;
  padding: 17px; border-radius: 14px;
  letter-spacing: 0.3px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(201,168,76,0.25);
}
.pd-btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.4);
}
.pd-btn-cart {
  display: block; text-align: center;
  border: 1.5px solid rgba(201,168,76,0.4);
  color: #c9a84c; font-weight: 600; font-size: 15px;
  padding: 15px; border-radius: 14px;
  background: transparent;
  transition: all .2s;
}
.pd-btn-cart:hover {
  background: rgba(201,168,76,0.08);
  border-color: #c9a84c;
}

/* Güvence */
.pd-trust {
  display: flex; justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.pd-trust-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px; text-align: center;
}
.pd-trust-icon { font-size: 24px; }
.pd-trust-item span:last-child {
  font-size: 11px; color: #7a7068; font-weight: 500;
}

/* ---- WHATSAPP FLOAT ---- */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}
.wa-float svg { width: 30px; height: 30px; }

/* ============================================
   MOBİL RESPONSIVE
   ============================================ */
@media (max-width: 860px) {

  .pd-main {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 32px 16px 80px;
  }

  /* Mobilde görsel yapışkan değil, normal akışta */
  .pd-image-section {
    position: static;
    margin-bottom: 36px;
  }

  /* Görsel biraz daha kare-ish */
  .pd-image-box { border-radius: 18px; }

  /* Başlık mobilde daha küçük */
  .pd-title { font-size: 26px; margin-bottom: 18px; }

  /* Fiyat satırı */
  .pd-price-row { padding: 16px 18px; margin-bottom: 22px; }
  .pd-price { font-size: 32px; }

  /* Açıklama */
  .pd-desc { font-size: 14px; margin-bottom: 22px; padding-bottom: 22px; }

  /* Etiketler */
  .pd-tags { gap: 8px; margin-bottom: 24px; }
  .pd-tags span { font-size: 12px; padding: 7px 13px; }

  /* Butonlar */
  .pd-btn-buy { font-size: 16px; padding: 15px; }
  .pd-btn-cart { font-size: 14px; padding: 13px; }

  /* Güvence yazıları küçülsün */
  .pd-trust-item span:last-child { font-size: 10px; }
  .pd-trust-icon { font-size: 20px; }
}
