/* ===== Urun Detay Sayfasi ===== */
.product-detail-page {
  padding: 28px 0 48px;
  background: #f8fafc;
}

.pd-container {
  max-width: 1260px;
  width: 100%;
  margin: 0 auto;
}

.pd-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.8125rem;
  color: #718096;
}

.pd-breadcrumb a {
  color: #64748b;
  transition: color 0.2s;
}

.pd-breadcrumb a:hover {
  color: #FF6600;
}

.pd-breadcrumb-sep { color: #cbd5e1; }
.pd-breadcrumb-current { color: #2d3748; font-weight: 600; }

.pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin-bottom: 40px;
}

.pd-gallery {
  background: #ffffff;
  border: 1px solid #e8edf3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.pd-gallery-main {
  aspect-ratio: 1 / 1;
  background: #f8fafc;
}

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

.pd-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pd-category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FF6600;
}

.pd-category a {
  color: inherit;
}

.pd-title {
  font-size: 1.625rem;
  font-weight: 700;
  color: #1a202c;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.pd-short-desc {
  font-size: 0.9375rem;
  color: #718096;
  line-height: 1.6;
}

.pd-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pd-stars {
  display: inline-flex;
  gap: 2px;
  color: #f59e0b;
}

.pd-rating-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: #2d3748;
}

.pd-rating-count {
  font-size: 0.8125rem;
  color: #94a3b8;
}

.pd-pricing {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.pd-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a202c;
  letter-spacing: -0.02em;
}

.pd-price-old {
  font-size: 1rem;
  font-weight: 500;
  color: #a0aec0;
  text-decoration: line-through;
}

.pd-discount-badge {
  padding: 4px 10px;
  background: #fff4ed;
  color: #FF6600;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
}

.pd-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pd-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #64748b;
}

.pd-meta-row strong {
  color: #475569;
  font-weight: 600;
  min-width: 72px;
}

.pd-stock--in { color: #5a9e32; font-weight: 600; }
.pd-stock--out { color: #e53e3e; font-weight: 600; }

.pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.pd-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dde4ec;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.pd-qty button {
  width: 38px;
  height: 44px;
  font-size: 1.125rem;
  color: #64748b;
  transition: background 0.2s, color 0.2s;
}

.pd-qty button:hover {
  background: #f8fafc;
  color: #2d3748;
}

.pd-qty input {
  width: 44px;
  height: 44px;
  border: none;
  border-left: 1px solid #dde4ec;
  border-right: 1px solid #dde4ec;
  text-align: center;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2d3748;
}

.pd-add-form {
  flex: 1;
  min-width: 180px;
}

.pd-add-btn {
  flex: 1;
  min-width: 180px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  background: #FF6600;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.pd-add-btn:hover { background: #E55A00; }
.pd-add-btn:active { transform: scale(0.98); }

.pd-fav-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #dde4ec;
  border-radius: 8px;
  color: #64748b;
  transition: border-color 0.2s, color 0.2s;
}

.pd-fav-btn:hover {
  border-color: #FF6600;
  color: #FF6600;
}

.pd-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.pd-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #e8edf3;
  border-radius: 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748b;
}

.pd-trust-item svg {
  flex-shrink: 0;
  color: #92C866;
}

.pd-tabs-section {
  background: #ffffff;
  border: 1px solid #e8edf3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  margin-bottom: 40px;
}

.pd-tabs-nav {
  display: flex;
  border-bottom: 1px solid #f1f5f9;
}

.pd-tab-btn {
  padding: 14px 22px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #718096;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}

.pd-tab-btn.is-active {
  color: #FF6600;
  border-bottom-color: #FF6600;
}

.pd-tab-panel {
  display: none;
  padding: 24px 28px;
}

.pd-tab-panel.is-active {
  display: block;
}

.pd-tab-panel p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.75;
}

.content-prose {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #64748b;
}

.content-prose p + p,
.content-prose h1 + *,
.content-prose h2 + *,
.content-prose h3 + * {
  margin-top: 12px;
}

.content-prose h1,
.content-prose h2,
.content-prose h3,
.content-prose h4 {
  color: #1e293b;
  font-weight: 700;
  line-height: 1.35;
}

.content-prose h1 { font-size: 1.35rem; }
.content-prose h2 { font-size: 1.15rem; }
.content-prose h3 { font-size: 1rem; }
 
.content-prose ul,
.content-prose ol {
  padding-left: 1.25rem;
  margin: 12px 0;
}

.content-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.content-prose a {
  color: #FF6600;
  text-decoration: underline;
}

.pd-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.pd-spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 0.8125rem;
}

.pd-spec-row span:first-child {
  color: #718096;
}

.pd-spec-row span:last-child {
  color: #2d3748;
  font-weight: 600;
  text-align: right;
}

.pd-related-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 18px;
}

.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1292px) {
  .pd-container { padding: 0 16px; }
}

@media (max-width: 900px) {
  .pd-layout { grid-template-columns: 1fr; gap: 24px; }
  .pd-trust { grid-template-columns: 1fr; }
  .pd-related-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-specs { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pd-title { font-size: 1.375rem; }
  .pd-actions { flex-direction: column; }
  .pd-add-btn { width: 100%; }
  .pd-related-grid { grid-template-columns: 1fr; }
  .pd-tabs-nav { overflow-x: auto; }
}
