/* Ürün detay sayfası premium tasarımı. Detail.cshtml içindeki temel stillerin üzerine, .pd-detail-wrap ile kapsüllü uygulanır. */
.pd-detail-wrap {
  --pd-gold: #b98a52;
  --pd-gold-dark: #94693a;
  --pd-ink: #1c1712;
  --pd-muted: #7b7369;
  --pd-line: #ece6de;
  --pd-cream: #faf7f2;
  background: var(--pd-cream);
  padding-bottom: 20px;
}
.pd-detail-wrap h1.pd-title,
.pd-detail-wrap .pd-current-price,
.pd-detail-wrap .p_section1 .section_title h2 {
  font-family: 'Playfair Display', Georgia, serif !important;
}

/* ---------- Breadcrumb ---------- */
.pd-detail-wrap .pd-breadcrumb-area {
  background: transparent;
  border-bottom: 0;
  padding: 18px 0 6px;
  margin-bottom: 8px;
}

/* ---------- Galeri: dikey küçük görseller solda ---------- */
.pd-detail-wrap .pd-gallery-sticky {
  display: flex;
  flex-direction: row-reverse;
  gap: 16px;
  align-items: flex-start;
  top: 100px;
}
.pd-detail-wrap .pd-main-image-card {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--pd-line);
  border-radius: 28px;
  background: radial-gradient(circle at 50% 35%, #ffffff 0%, #f6f1ea 100%);
  box-shadow: 0 24px 60px -24px rgba(70, 45, 15, .25);
}
.pd-detail-wrap .pd-main-img { padding: 28px; }
.pd-detail-wrap .pd-thumbs-wrap {
  flex: 0 0 84px;
  flex-direction: column;
  margin: 0;
  padding: 0;
  gap: 12px;
  max-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}
.pd-detail-wrap .pd-thumbs-wrap::-webkit-scrollbar { display: none; }
.pd-detail-wrap .pd-thumb-item {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  border-radius: 16px;
  border: 2px solid transparent;
  background: #fff;
  box-shadow: 0 4px 14px rgba(70, 45, 15, .08);
}
.pd-detail-wrap .pd-thumb-item.active {
  border-color: var(--pd-gold);
  box-shadow: 0 8px 22px rgba(185, 138, 82, .3);
}
.pd-detail-wrap .pd-badge-discount { background: linear-gradient(135deg, #d94b3d, #b5301f); }
.pd-detail-wrap .pd-badge-cargo { background: rgba(28, 23, 18, .9); backdrop-filter: blur(6px); }

/* ---------- Bilgi paneli ---------- */
.pd-detail-wrap .pd-info-card {
  background: #fff;
  border: 1px solid var(--pd-line);
  border-radius: 28px;
  padding: 34px 34px 30px;
  box-shadow: 0 24px 60px -30px rgba(70, 45, 15, .22);
}
.pd-detail-wrap .pd-meta-top { margin-bottom: 16px; }
.pd-detail-wrap .pd-brand-pill {
  color: var(--pd-gold-dark);
  background: rgba(185, 138, 82, .12);
}
.pd-detail-wrap h1.pd-title {
  font-size: 34px;
  line-height: 1.22;
  font-weight: 700;
  color: var(--pd-ink);
  letter-spacing: -.4px;
  margin-bottom: 14px;
}
.pd-detail-wrap .pd-short-desc {
  color: var(--pd-muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pd-detail-wrap .pd-rating-bar {
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--pd-line);
}

/* Fiyat */
.pd-detail-wrap .pd-price-card {
  background: linear-gradient(135deg, #fbf6ee, #f5ece0);
  border: 1px solid #eadfce;
  border-radius: 22px;
  padding: 22px 26px;
}
.pd-detail-wrap .pd-current-price {
  font-size: 42px;
  font-weight: 700;
  color: var(--pd-ink);
  letter-spacing: -1px;
}
.pd-detail-wrap .pd-old-price { font-size: 20px; color: #a89d8f; }
.pd-detail-wrap .pd-save-badge {
  background: #d94b3d;
  color: #fff;
  border: 0;
  padding: 5px 12px;
  border-radius: 999px;
}
.pd-detail-wrap .pd-price-subnotes { border-top-color: #e3d6c3; }
.pd-detail-wrap .pd-subnote-item { color: #6b6257; font-weight: 500; }

/* Satın alma */
.pd-detail-wrap .pd-qty-stepper {
  height: 56px;
  border: 1px solid var(--pd-line);
  border-radius: 16px;
  background: #fff;
}
.pd-detail-wrap .pd-qty-btn { background: var(--pd-cream); border-radius: 12px; }
.pd-detail-wrap .pd-qty-btn:hover { background: var(--pd-gold); }
.pd-detail-wrap .pd-cart-btn {
  height: 56px;
  border-radius: 16px;
  font-size: 15.5px;
  letter-spacing: .3px;
  background: linear-gradient(135deg, #1c1712 0%, #3a2f24 100%);
  box-shadow: 0 14px 30px -10px rgba(28, 23, 18, .55);
}
.pd-detail-wrap .pd-cart-btn:hover {
  background: linear-gradient(135deg, var(--pd-gold) 0%, var(--pd-gold-dark) 100%);
  box-shadow: 0 16px 34px -10px rgba(185, 138, 82, .6);
}
.pd-detail-wrap .pd-whatsapp-btn {
  height: 50px;
  border-radius: 16px;
  background: #fff;
  color: #178a45;
  border: 1.5px solid #bfe5cc;
  box-shadow: none;
}
.pd-detail-wrap .pd-whatsapp-btn:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}
.pd-detail-wrap .pd-aux-actions {
  gap: 8px;
  border-top: 0;
  padding-top: 6px;
}
.pd-detail-wrap .pd-aux-btn {
  border: 1px solid var(--pd-line);
  border-radius: 999px;
  padding: 8px 16px;
  background: #fff;
}
.pd-detail-wrap .pd-aux-btn:hover { border-color: var(--pd-gold); color: var(--pd-gold-dark); }

/* Güven kutuları */
.pd-detail-wrap .pd-trust-grid {
  background: transparent;
  border: 0;
  padding: 0;
  gap: 12px;
  margin-top: 26px;
}
.pd-detail-wrap .pd-trust-card {
  background: var(--pd-cream);
  border: 1px solid var(--pd-line);
  border-radius: 16px;
  padding: 14px;
}
.pd-detail-wrap .pd-trust-icon {
  border: 0;
  background: linear-gradient(135deg, var(--pd-gold), var(--pd-gold-dark));
  color: #fff;
  border-radius: 12px;
}

/* ---------- Sekmeler ---------- */
.pd-detail-wrap .pd-tabs-wrapper { margin-top: 60px; }
.pd-detail-wrap .pd-nav-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--pd-line);
  border-radius: 999px;
  margin-bottom: 26px;
  max-width: 100%;
}
.pd-detail-wrap .pd-nav-link {
  border-radius: 999px;
  border-bottom: 0 !important;
  margin: 0;
  padding: 11px 22px;
  font-size: 14px;
  color: var(--pd-muted);
}
.pd-detail-wrap .pd-nav-link.active {
  background: var(--pd-ink);
  color: #fff;
}
.pd-detail-wrap .pd-nav-link.active .pd-tab-badge { background: rgba(255,255,255,.2); color: #fff; }
.pd-detail-wrap .pd-tab-content-box {
  border-radius: 28px;
  border: 1px solid var(--pd-line);
  padding: 40px 44px;
  font-size: 15px;
  line-height: 1.85;
  box-shadow: 0 24px 60px -34px rgba(70, 45, 15, .2);
}

/* ---------- Benzer ürünler ---------- */
.pd-detail-wrap .p_section1 { background: transparent; padding-top: 70px !important; }
.pd-detail-wrap .p_section1 .section_title { text-align: center; }
.pd-detail-wrap .p_section1 .section_title h2 { font-size: 32px; font-weight: 700; }
.pd-detail-wrap .p_section1 .single_product {
  border: 1px solid var(--pd-line) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px -18px rgba(70, 45, 15, .2);
}
.pd-detail-wrap .p_section1 .single_product .product_thumb { background: #f6f1ea !important; }
.pd-detail-wrap .p_section1 .current_price { color: var(--pd-ink) !important; }

/* ---------- Mobil ---------- */
@media (max-width: 991px) {
  .pd-detail-wrap .pd-gallery-sticky { flex-direction: column; position: static; }
  .pd-detail-wrap .pd-thumbs-wrap {
    flex: none;
    flex-direction: row;
    max-height: none;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
  }
  .pd-detail-wrap .pd-thumb-item { flex: 0 0 72px; width: 72px; height: 72px; }
  .pd-detail-wrap .pd-info-card { padding: 24px 20px; border-radius: 22px; margin-top: 4px; }
  .pd-detail-wrap h1.pd-title { font-size: 26px; }
  .pd-detail-wrap .pd-current-price { font-size: 34px; }
  .pd-detail-wrap .pd-tab-content-box { padding: 26px 20px; border-radius: 20px; }
  .pd-detail-wrap .pd-nav-tabs { border-radius: 18px; overflow-x: auto; }
}
