/* ════════════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE — Clean responsive stylesheet
   Source: urundetay.html (Figma 1920px design)
   Convention: body has zoom:0.8 globally (homepage pattern)
   - vw  = Figma_raw / 15.36 (because 1vw at 1920px = 19.2px CSS,
                              with zoom:0.8 rendered = 15.36px)
   - max = Figma_raw × 1.25 (renders at Figma_raw)
   - min = ~70% of Figma_raw × 1.25 for tablet/small desktop
   Mobile-first, no Bootstrap columns, no absolute positioning for layout
   ════════════════════════════════════════════════════════════════════ */

/* ── Container — same width pattern as homepage ──────────────── */
.pd-page {
  width: 84.375%;
  margin: 0 7.8125%;
  padding: 0;
  box-sizing: border-box;
}

/* ── 1. Breadcrumb (Figma 16px) — all teal, > separator ────────── */
.pd-breadcrumb {
  font-family: 'Lato', sans-serif;
  font-size: clamp(12px, 1.042vw, 20px);
  font-weight: 400;
  color: #0B6776;
  padding: clamp(4px, 0.313vw, 6px) 0 clamp(25px, 1.979vw, 38px);
}
.pd-breadcrumb a,
.pd-breadcrumb__current { color: #0B6776; }
.pd-breadcrumb a:hover { text-decoration: underline; }
.pd-breadcrumb__sep {
  margin: 0 clamp(6px, 0.521vw, 10px);
  color: #0B6776;
}

/* ── 2. Hero Layout — flex row, image left, info right ──────────── */
/* Figma: content margin=150, image left=350 (offset 200), info left=910
   We push content right with padding to match this layout                */
.pd-hero {
  display: flex;
  align-items: flex-start;
  gap: clamp(15px, 10.417vw, 200px);  /* Figma 160px rendered → CSS 200 (with zoom 0.8) */
  padding-left: clamp(20px, 13.02vw, 250px);    /* Figma 200px rendered → CSS 250 */
  padding-right: clamp(0px, 8.138vw, 156.25px); /* Figma 125px rendered → CSS 156.25 */
}

.pd-hero-left {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: clamp(220px, 26.04vw, 500px);  /* Figma 400px rendered → CSS 500 */
}

.pd-hero-right {
  flex: 1 1 auto;
  min-width: 0;
  max-width: clamp(420px, 47.86vw, 919px);  /* Figma 735px rendered → CSS ~919 */
}

/* Mobile/Tablet: remove forced offsets */
@media (max-width: 991px) {
  .pd-hero {
    flex-direction: column;
    gap: 20px;
    padding-left: 0;
    padding-right: 0;
  }
  .pd-hero-left { width: 100%; max-width: 400px; margin: 0 auto; }
  .pd-hero-right { max-width: 100%; }
}

/* mobile media query consolidated above (under .pd-hero block) */

/* ── 3. Book Image (Figma raw 400×600) ──────────────────────────── */
.pd-image-wrap {
  display: flex;
  gap: clamp(8px, 0.781vw, 15px);
  align-items: flex-start;
  width: 100%;
}
.pd-thumbs {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.521vw, 10px);
  flex: 0 0 auto;
  width: clamp(54px, 4.167vw, 80px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.pd-thumbs li {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid #CCCCCC;
  cursor: pointer;
  overflow: hidden;
  background: #fff;
}
.pd-thumbs li img,
.pd-thumbs li a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pd-thumbs li.active,
.pd-thumbs li:hover {
  border-color: #0B6776;
}
.pd-image-main {
  flex: 1 1 auto;
  position: relative;
  background: #F0EDE8;
}
.pd-image-main img {
  width: 100%;
  height: auto;
  aspect-ratio: 400/600;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Listeme Ekle row — Figma: 2 circles (34×34) with 22×22 icons + label (18px teal)
   Heart circle at left=441, bookmark at left=515, label at left=559         */
.pd-list-actions {
  display: inline-flex;
  align-items: center;
  gap: clamp(15px, 1.563vw, 30px);                             /* Figma 30px between groups */
  margin: clamp(18px, 1.563vw, 30px) clamp(40px, 5.729vw, 110px);
  width: auto;
  white-space: nowrap;
}
.pd-list-label {
  white-space: nowrap;
}
/* Vertical divider between heart and bookmark groups */
.pd-list-actions .pd-list-icon + .pd-list-icon {
  position: relative;
}
.pd-list-actions .pd-list-icon + .pd-list-icon::before {
  content: '';
  position: absolute;
  left: clamp(-32px, -1.406vw, -27px);                         /* @1920 = -27px (5px sağa) */
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: clamp(22px, 1.823vw, 35px);
  background: #0B6776;
}
.pd-list-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(28px, 2.213vw, 42.5px);
  height: clamp(28px, 2.213vw, 42.5px);
  border: 1px solid #0B6776;
  border-radius: 50%;
  background: #fff;
  color: #0B6776;
  cursor: pointer;
  transition: color .2s, background .2s;
  margin: clamp(3px, 0.313vw, 6px) 0 0 clamp(9px, 0.938vw, 18px);
}
.pd-list-icon i {
  font-size: clamp(13px, 1.432vw, 27.5px);                     /* Figma 22×22 rendered → CSS 27.5 */
}
.pd-list-actions .pd-list-icon.add-to-wishlist {
  margin-left: clamp(-8px, -0.365vw, -7px);                      /* heart 5px daha sola */
}
.pd-list-icon:hover { background: #0B6776; color: #fff; }
.pd-list-icon.add-to-wishlist.is-active { color: #e02828; border-color: #e02828; }
.pd-list-label {
  font-family: 'Lato', sans-serif;
  font-size: clamp(13px, 1.172vw, 22.5px);
  font-weight: 400;
  color: #0B6776;
  margin-left: clamp(-22px, -0.938vw, -18px);
  cursor: pointer;
}

/* ── 4. Title (Figma 34px Georgia 400 #21282D) — override legacy ─── */
.pd-page .pd-title,
.pd-page h1.pd-title {
  font-family: 'Georgia', 'Times New Roman', serif !important;
  font-size: clamp(22px, 2.213vw, 42.5px) !important;
  font-weight: 400 !important;
  color: #21282D !important;
  line-height: 1.2 !important;
  margin: 0 0 clamp(15px, 1.302vw, 25px) !important;
}

/* ── 5. Meta (Yazar/Çevirmen/Yayınevi — Figma 22/25px) ─────────── */
.pd-page .pd-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: clamp(4px, 0.391vw, 8px) clamp(8px, 0.911vw, 18px) !important;
  margin: 0 0 clamp(15px, 1.302vw, 25px) !important;
  line-height: 1.3 !important;
}
.pd-page .pd-meta__row {
  display: inline-flex;
  align-items: baseline;
  gap: clamp(6px, 0.521vw, 10px);
  margin-right: clamp(15px, 1.302vw, 25px);
}
.pd-page .pd-meta__label {
  font-family: 'Lato', sans-serif !important;
  font-size: clamp(14px, 1.432vw, 27.5px) !important;
  font-weight: 400 !important;
  color: #5A5A5A !important;
}
.pd-page .pd-meta__value,
.pd-page a.pd-meta__value {
  font-family: 'Georgia', 'Times New Roman', serif !important;
  font-size: clamp(15px, 1.628vw, 31.25px) !important;
  font-weight: 400 !important;
  color: #0B6776 !important;
  text-decoration: none !important;
}
.pd-page .pd-meta__value:hover { text-decoration: underline !important; }

/* ── 6. Rating row (★★★★★ + score + link, Figma 18px fw=600) ── */
.pd-rating {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.781vw, 15px);
  margin: 0 0 clamp(20px, 1.563vw, 30px);
}
.pd-stars {
  display: inline-flex;
  gap: clamp(2px, 0.156vw, 3px);
}
.pd-stars img {
  width: clamp(14px, 1.302vw, 25px);
  height: clamp(14px, 1.302vw, 25px);
}
.pd-score,
.pd-review-link {
  font-family: 'Lato', sans-serif;
  font-size: clamp(14px, 1.172vw, 22.5px);
  font-weight: 600;
  color: #0B6776;
  text-decoration: none;
}
.pd-review-link:hover { text-decoration: underline; }

/* ── 7. Divider line ───────────────────────────────────────────── */
.pd-divider {
  border-top: 1px solid #CCCCCC;
  margin: clamp(15px, 1.563vw, 30px) 0;
}
.pd-divider--tight {
  margin: clamp(10px, 0.781vw, 15px) 0;
}

/* ── 8. Subtitle + Price + Price-comparison cards row (Figma) ─── */
.pd-price-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(15px, 1.302vw, 25px);
  margin-bottom: clamp(20px, 1.953vw, 37.5px);
  flex-wrap: wrap;
}
.pd-price-block {
  flex: 1 1 auto;
  min-width: 0;
}
.pd-price-compare {
  display: flex;
  gap: clamp(8px, 0.781vw, 15px);
  flex: 0 0 auto;
}
.pd-price-compare__card {
  min-width: clamp(110px, 8.789vw, 168.75px);
  height: clamp(50px, 3.385vw, 65px);
  border: 1px solid #CCCCCC;
  background: transparent;
  padding: clamp(6px, 0.521vw, 10px) clamp(10px, 0.781vw, 15px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2px, 0.156vw, 3px);
}
.pd-price-compare__card.is-active {
  background: #F2F2F1;
}
.pd-price-compare__name {
  font-family: 'Lato', sans-serif;
  font-size: clamp(11px, 0.833vw, 16px);
  font-weight: 400;
  color: #21282D;
  line-height: 1.2;
}
.pd-price-compare__range {
  font-family: 'Lato', sans-serif;
  font-size: clamp(11px, 0.833vw, 16px);
  font-weight: 600;
  color: #21282D;
  line-height: 1.2;
}
@media (max-width: 991px) {
  .pd-price-row { flex-direction: column; }
  .pd-price-compare { flex-wrap: wrap; }
}
.pd-subtitle {
  font-family: 'Lato', sans-serif !important;
  font-size: clamp(15px, 1.172vw, 22.5px) !important;
  font-weight: 400 !important;
  color: #000000 !important;
  margin: clamp(5px, 0.365vw, 7px) !important;             /* 7px @1920 → vw scaled */
}
.pd-price {
  display: flex;
  align-items: baseline;
  gap: clamp(2px, 0.26vw, 5px);
}
.pd-price__amount {
  font-family: 'Lato', sans-serif;
  font-size: clamp(24px, 2.344vw, 45px);
  font-weight: 600;
  color: #21282D;
  line-height: 1.1;
}
.pd-price__currency {
  font-family: 'Lato', sans-serif;
  font-size: clamp(14px, 1.758vw, 33.75px);
  font-weight: 600;
  color: #21282D;
}
.pd-price__old {
  font-size: clamp(13px, 1.172vw, 22.5px);
  font-weight: 400;
  color: #9A9A9A;
  text-decoration: line-through;
  margin-left: clamp(8px, 0.781vw, 15px);
}

/* ── 9. Section (Cilt Tipi / Kondisyon labels + chips) ─────────── */
.pd-page .pd-section {
  margin-bottom: clamp(18px, 1.563vw, 30px) !important;
}
.pd-page .pd-section__label {
  display: flex !important;
  align-items: center !important;
  gap: clamp(6px, 0.521vw, 10px) !important;
  font-family: 'Lato', sans-serif !important;
  font-size: clamp(16px, 1.432vw, 27.5px) !important;
  font-weight: 600 !important;
  color: #000000 !important;
  margin: clamp(12px, 1.042vw, 20px) 0 !important;
}
.pd-help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(18px, 1.432vw, 27.5px);
  height: clamp(18px, 1.432vw, 27.5px);
  border-radius: 50%;
  background: #0B6776;
  color: white;
  border: 0;
  font-size: clamp(12px, 1.042vw, 20px);
  font-weight: 700;
  cursor: pointer;
}

/* Chips row */
.pd-chip-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: clamp(8px, 0.977vw, 18.75px) !important;
  margin: -10px 0;
}

/* Cover chip — Figma 135×55 single line — high specificity overrides legacy */
.pd-page .pd-chip,
.pd-page .pd-chip.pd-chip--condition {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(2px, 0.156vw, 3px) !important;
  min-width: clamp(95px, 8.789vw, 168.75px) !important;
  border: 1px solid #CCCCCC !important;
  background: transparent !important;
  font-family: 'Lato', sans-serif !important;
  font-size: clamp(12px, 1.042vw, 20px) !important;
  font-weight: 400 !important;
  color: #21282D !important;
  padding: 0 clamp(8px, 0.781vw, 15px) !important;
  cursor: pointer !important;
  border-radius: 0 !important;
  line-height: 1.2 !important;
  transition: border-color .2s, background .2s !important;
}
/* Cover chip = single line, Figma 135×55 → CSS 168.75×68.75 → rendered 135×55 */
.pd-page .pd-chip {
  height: clamp(45px, 3.581vw, 68.75px) !important;
  min-height: clamp(45px, 3.581vw, 68.75px) !important;
}
/* Condition chip = two lines, Figma 135×65 → CSS 168.75×81.25 → rendered 135×65 */
.pd-page .pd-chip.pd-chip--condition {
  height: clamp(52px, 4.232vw, 81.25px) !important;
  min-height: clamp(52px, 4.232vw, 81.25px) !important;
}
.pd-page .pd-chip__price {
  font-size: clamp(11px, 0.781vw, 15px) !important;
  font-weight: 600 !important;
  color: #21282D !important;
}
.pd-page .pd-chip:hover:not(.is-active):not(.is-disabled) {
  border-color: #0B6776 !important;
}
.pd-page .pd-chip.is-active {
  background: #F2F2F1 !important;
  border: 3px solid #0B6776 !important;
}
.pd-page .pd-chip.is-disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* ── 10. Order Card (Ürünü Sipariş Verin) ─────────────────────── */
.pd-order-card {
  border: 1px solid #CCCCCC !important;
  border-radius: 0 !important;
  padding: clamp(14px, 1.302vw, 25px) !important;
  background: #FFFFFF !important;
  margin-top: clamp(25px, 2.604vw, 50px) !important;
  box-shadow: none !important;
}
.pd-page .pd-order-card__heading {
  font-family: 'Lato', sans-serif !important;
  font-size: clamp(17px, 1.563vw, 27px) !important;
  font-weight: 600 !important;
  color: #000000 !important;
  /* margin: 0 0 clamp(8px, 0.625vw, 12px) !important; */
  line-height: .8 !important;
}
.pd-page .pd-order-card__top-row {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: clamp(10px, 1.042vw, 20px) !important;
  flex-wrap: wrap !important;
}
.pd-page .pd-order-card__row {
  display: flex !important;
  align-items: center !important;
  gap: clamp(10px, 1.042vw, 20px) !important;
  flex-wrap: wrap !important;
  margin: clamp(-10px, -0.521vw, -5px) clamp(4px, 0.417vw, 8px);
}
.pd-page .pd-order-card__seller {
  display: flex !important;
  align-items: center !important;
  gap: clamp(5px, 0.313vw, 6px) !important;             /* Figma 5px between Satıcı: and name */
  flex: 1 1 auto !important;
  min-width: 0 !important;
  flex-wrap: wrap !important;
  /* Linear scale: -44px @1920, -22px @1280, -16px floor — never overlaps heading */
  margin-top: clamp(-44px, calc(-3.4375vw + 22px), -16px) !important;
}
.pd-page .pd-seller-label {
  font-family: 'Lato', sans-serif !important;
  font-size: clamp(13px, 1.042vw, 20px) !important;    /* Figma 16 → CSS 20 */
  font-weight: 400 !important;
  color: #5A5A5A !important;
  margin: 0 !important;
}
.pd-page .pd-seller-select {
  font-family: 'Lato', sans-serif !important;
  font-size: clamp(15px, 1.302vw, 25px) !important;    /* Figma 20 → CSS 25 */
  font-weight: 400 !important;
  color: #0B6776 !important;
  background: transparent !important;
  border: 0 !important;
  cursor: pointer !important;
  padding: 0 !important;
}
.pd-page .pd-seller-info {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: clamp(13px, 0.911vw, 17.5px) !important;
  height: clamp(13px, 0.911vw, 17.5px) !important;
  background: transparent !important;
  border: 0 !important;
  color: #0B6776 !important;
  font-size: clamp(10px, 0.651vw, 12.5px) !important;
  cursor: pointer !important;
}

/* "Sepete Ekle" button — Figma 278×50 #0B6776 white 16px bold */
.pd-page .pd-cart-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: clamp(190px, 18.499vw, 380px) !important;
  height: clamp(38px, 3.255vw, 62.5px) !important;       /* Figma 50 → CSS 62.5 */
  background: #0B6776 !important;
  color: #fff !important;
  font-family: 'Lato', sans-serif !important;
  font-size: clamp(15px, 1.25vw, 24px) !important;       /* @1920 = 24px */
  font-weight: 700 !important;
  border: 0 !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background .2s !important;
  margin-top: clamp(8px, 0.781vw, 15px) !important;      /* @1920 = 15px alt offset */
}
.pd-cart-btn:hover { background: #095a67; color: #fff; }
.pd-cart-btn:disabled { background: #9ca3af; cursor: not-allowed; }

/* Seller badges (Hızlı Satıcı / Başarılı Satıcı — composite SVG, Figma 26px tall) */
.pd-page .pd-seller-badges {
  display: flex !important;
  gap: clamp(6px, 0.521vw, 10px) !important;
  margin: clamp(7px, 0.625vw, 12px) 0;
  flex-wrap: wrap !important;
}
.pd-page .pd-seller-badge {
  display: inline-block !important;
  height: clamp(20px, 1.693vw, 32.5px) !important;    /* Figma 26 → CSS 32.5 */
  width: auto !important;
  max-height: none !important;
}

/* ── 11. Other sellers row (Diğer Satıcıları + Tümünü Gör) ──── */
.pd-other-sellers {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(10px, 0.781vw, 15px);
  /* Negative side margins + matching padding so border-top bleeds edge-to-edge of card */
  margin: 0 calc(-1 * clamp(14px, 1.302vw, 25px));
  padding: clamp(15px, 1.563vw, 30px) clamp(14px, 1.302vw, 25px) 0;
  border-top: 1px solid #CCCCCC;
}
.pd-page .pd-other-sellers__label {
  font-family: 'Lato', sans-serif !important;
  font-size: clamp(16px, 1.458vw, 28px) !important;  /* @1920 = 28px */
  font-weight: 400 !important;
  color: #000000 !important;
}
.pd-page .pd-other-sellers__link {
  font-family: 'Lato', sans-serif !important;
  font-size: clamp(16px, 1.458vw, 28px) !important;  /* @1920 = 28px */
  font-weight: 400 !important;
  color: #0B6776 !important;
  text-decoration: none !important;
}
.pd-other-sellers__link:hover { text-decoration: underline; }

/* ── İstek Listesine Ekle link (above description, centered) ── */
.pd-wishlist-link {
  display: block;
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-size: clamp(13px, 1.172vw, 22.5px);
  font-weight: 400;
  color: #0B6776;
  text-decoration: none;
  cursor: pointer;
  margin: clamp(20px, 1.823vw, 35px) 0 0 0;
  padding-right: clamp(165px, 17.188vw, 330px);
}
.pd-wishlist-link:hover { text-decoration: underline; color: #0B6776; }
.pd-wishlist-link.is-active { color: #e02828; }

/* ── 12. Description (Ürün Açıklaması — Figma 30px italic Georgia) ── */
.pd-description {
  margin: clamp(6px, 0.521vw, 10px) 0;
}
.pd-description__title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(20px, 1.953vw, 37.5px);
  font-style: italic;
  font-weight: 400;
  color: #21282D;
  margin-bottom: clamp(15px, 1.302vw, 25px);
}
.pd-description__box {
  border: 1px solid #CCCCCC;
  background: #fff;
  padding: clamp(20px, 1.953vw, 37.5px);
  font-family: 'Lato', sans-serif;
  font-size: clamp(13px, 1.172vw, 22.5px);
  font-weight: 400;
  line-height: 1.6;
  color: #21282D;
  min-height: clamp(120px, 12vw, 230px);
}

/* ── 13. Recommendations slider (Bunları da Beğenebilirsiniz) ── */
.pd-recommendations {
  margin: clamp(40px, 3.255vw, 62.5px) 0;
}
.pd-section-title {
  text-align: center;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(20px, 1.953vw, 37.5px);
  font-weight: 400;
  color: #21282D;
  position: relative;
  margin-bottom: clamp(20px, 1.953vw, 37.5px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 1.302vw, 25px);
}
.pd-section-title::before,
.pd-section-title::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  background: #CCCCCC;
  max-width: clamp(80px, 12vw, 250px);
}

/* ── 14. Tabs — Ürün Ayrıntıları | Yazar Hakkında ──────────────── */
.pd-page .pd-details-tabs {
  margin: clamp(45px, 4.896vw, 94px) 0 !important;        /* @1920 = 94px */
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.pd-page .pd-tabs__nav {
  display: flex !important;
  justify-content: center !important;
  gap: clamp(8px, 0.521vw, 10px) !important;
  border-bottom: 1px solid #CCCCCC !important;
  list-style: none !important;
  margin: 0 clamp(100px, 35.417vw, 680px) !important;   /* @1920 = 680px */
  padding: 0 !important;
  background: transparent !important;
}
.pd-page .pd-tabs__nav > li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
.pd-page .pd-tabs__nav > li::before { display: none !important; }
.pd-page .pd-tabs__link {
  display: inline-block !important;
  padding: clamp(7px, 0.625vw, 12px) clamp(22px, 2.344vw, 45px) !important;  /* @1920 = 12px 45px */
  background: transparent !important;
  border: 1px solid transparent !important;
  border-bottom: none !important;
  border-radius: 0 !important;
  font-family: 'Lato', sans-serif !important;
  font-size: clamp(13px, 1.172vw, 22.5px) !important;
  font-weight: 550 !important;
  color: #0B6776 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  position: relative !important;
  bottom: -1px !important;
  top: auto !important;
  white-space: nowrap !important;
}
.pd-page .pd-tabs__link:hover { color: #0B6776 !important; }
.pd-page .pd-tabs__link.is-active {
  border: 1px solid #CCCCCC !important;
  border-bottom: 1px solid #fff !important;
  background: #fff !important;
  color: #0B6776 !important;
  font-weight: 700 !important;
}
/* Outer details container — no card, plain white background */
.pd-page .pd-tab-content,
.pd-page .pd-details-tabs .tab-content {
  padding: clamp(25px, 2.083vw, 40px) 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  line-height: normal !important;
}
.pd-page .pd-details-tabs .tab-pane {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

/* ── 15. Details table (Kitap İsmi, Yazar, vb.) — Figma centered ────
   Title 'Ürün Ayrıntıları' 30px Georgia centered
   Rows: label fw=600, value fw=400, both 18px black, ~38px row spacing */
.pd-details-title {
  text-align: center;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(20px, 1.953vw, 37.5px);                  /* Figma 30px rendered → CSS 37.5 */
  font-weight: 400;
  color: #21282D;
  margin-bottom: clamp(20px, 1.953vw, 37.5px);
}
.pd-details-list {
  max-width: clamp(320px, 27.604vw, 530px);                 /* @1920 = 530px */
  margin: 0 auto;
  display: grid;
  row-gap: clamp(11px, 1.042vw, 20px);    /* @1920 = 20px */
}
.pd-details-row {
  display: grid;
  grid-template-columns: clamp(90px, 7.292vw, 140px) 1fr;   /* @1920 = 140px label column */
  column-gap: clamp(10px, 0.781vw, 15px);
  align-items: baseline;
  padding: 0;
  border: 0;
}
.pd-details-row__label {
  font-family: 'Lato', sans-serif;
  font-size: clamp(13px, 1.172vw, 22.5px);                  /* Figma 18px rendered → CSS 22.5 */
  font-weight: 600;
  color: #000;
}
.pd-details-row__value {
  font-family: 'Lato', sans-serif;
  font-size: clamp(13px, 1.172vw, 22.5px);
  font-weight: 400;
  color: #000;
}

/* ── 16. Reviews (Değerlendirmeler) — Figma layout ────────────────
   Title (italic Georgia 35) + ★★★★★ + 4,8 + • + 367 Değerlendirme + Tümünü Gör (right)
   Below: "Değerlendirme Yap" link
   Cards 398×243 horizontal slider — 4 visible, scroll for more         */
.pd-reviews {
  margin: clamp(-30px, -1.563vw, -15px) clamp(-13px, -0.677vw, -7px);   /* @1920 = -30px -13px */
}
.pd-reviews__header {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.042vw, 20px);
  flex-wrap: wrap;
  margin-bottom: clamp(8px, 0.521vw, 10px);
}
.pd-reviews__title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(22px, 2.279vw, 43.75px);            /* Figma 35px rendered → CSS 43.75 */
  font-style: italic;
  font-weight: 400;
  color: #21282D;
  margin: 0;
}
.pd-reviews__rating-inline {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 0.391vw, 7.5px);
  font-family: 'Lato', sans-serif;
  font-size: clamp(15px, 1.563vw, 30px);                /* Figma 24px rendered → CSS 30 */
  color: #21282D;
}
.pd-reviews__rating-inline .pd-stars {
  display: inline-flex;
  gap: 2px;
  margin: clamp(0px, 0.052vw, 1px) clamp(18px, 1.979vw, 38px);   /* @1920 = 1px 38px */
}
.pd-page .pd-reviews__rating-inline .pd-stars img,
.pd-page .pd-reviews__rating-inline .pd-stars img.rating-star {
  width: clamp(22px, 2.083vw, 40px) !important;     /* @1920 = 40px */
  height: clamp(22px, 2.083vw, 40px) !important;
  margin-bottom: clamp(7px, 0.729vw, 14px) !important;
}
.pd-reviews__rating-value { font-weight: 400; color: #000; }
.pd-reviews__rating-dot {
  display: inline-block;
  width: clamp(4px, 0.326vw, 6.25px);
  height: clamp(4px, 0.326vw, 6.25px);
  border-radius: 50%;
  background: #5A5A5A;
}
.pd-reviews__rating-count { font-weight: 400; color: #000; }
.pd-reviews__see-all {
  margin-left: auto;
  font-family: 'Lato', sans-serif;
  font-size: clamp(13px, 1.302vw, 25px);                /* Figma 20px rendered → CSS 25 */
  font-weight: 400;
  color: #0B6776;
  text-decoration: none;
  cursor: pointer;
}
.pd-reviews__see-all:hover { text-decoration: underline; }
.pd-reviews__add-link {
  display: inline-block;
  margin: 0;
  font-family: 'Lato', sans-serif;
  font-size: clamp(15px, 1.628vw, 31.25px);             /* Figma 25px rendered → CSS 31.25 */
  font-weight: 600;
  color: #0B6776;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
}
.pd-reviews__add-link:hover { text-decoration: underline; }

/* Slider rail with right-edge gradient peek */
.pd-reviews__rail {
  position: relative;
  overflow: hidden;
}
.pd-reviews__cards {
  display: flex;
  gap: clamp(18px, 1.771vw, 34px);                      /* @1920 = 34px */
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-right: clamp(40px, 3.646vw, 70px);            /* room for arrow */
}
.pd-reviews__cards::-webkit-scrollbar { display: none; }

/* Each card 398×243 (Figma) */
.pd-review-card {
  flex: 0 0 auto;
  width: clamp(280px, 25.94vw, 497.5px);                /* Figma 398px rendered → CSS 497.5 */
  height: clamp(180px, 15.83vw, 303.75px);              /* Figma 243px rendered → CSS 303.75 */
  border: 1px solid #CCCCCC;
  background: #fff;
  padding: clamp(12px, 1.302vw, 25px);
  display: flex;
  flex-direction: column;
  margin: clamp(7px, 0.625vw, 12px) clamp(1px, 0.104vw, 2px);  /* @1920 = 12px 2px */
}
.pd-review-card .pd-stars {
  display: inline-flex;
  gap: clamp(2px, 0.156vw, 3px);
}
.pd-review-card .pd-stars img {
  width: clamp(14px, 1.302vw, 25px);
  height: clamp(14px, 1.302vw, 25px);
}
.pd-review-card__top {
  display: grid !important;
  grid-template-columns: 1fr auto 1.2fr !important;
  align-items: center !important;
  width: 100% !important;
  gap: clamp(8px, 0.781vw, 15px) !important;
  margin-bottom: clamp(8px, 0.781vw, 15px) !important;
}
.pd-review-card__top .pd-stars {
  justify-self: start !important;
  margin: 0 !important;
}
.pd-review-card__top .pd-review-card__author { justify-self: center !important; }
.pd-review-card__top .pd-review-card__date { justify-self: end !important; }
/* legacy structure (still in some places) */
.pd-review-card__head {
  display: flex;
  align-items: baseline;
  gap: clamp(8px, 0.781vw, 15px);
  margin-bottom: clamp(4px, 0.391vw, 7.5px);
}
.pd-review-card__author {
  font-family: 'Lato', sans-serif;
  font-size: clamp(12px, 1.042vw, 20px);
  font-weight: 400;
  color: #000;
}
.pd-review-card__date {
  font-family: 'Lato', sans-serif;
  font-size: clamp(12px, 1.042vw, 20px);
  color: #5A5A5A;
}
.pd-review-card__meta {
  font-family: 'Lato', sans-serif;
  font-size: clamp(11px, 1.042vw, 20px);                /* Figma 16px rendered → CSS 20 */
  margin-bottom: clamp(8px, 0.781vw, 15px);
  line-height: 1.4;
}
.pd-review-card__meta .meta-label { color: #5A5A5A; }
.pd-review-card__meta .meta-value { color: #000; }
.pd-review-card__body {
  font-family: 'Lato', sans-serif;
  font-size: clamp(11px, 1.042vw, 20px);                /* Figma 16px rendered → CSS 20 */
  font-weight: 400;
  color: #000;
  line-height: 1.45;
  flex: 1 1 auto;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  margin-bottom: clamp(8px, 0.521vw, 10px);
}
.pd-review-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.pd-review-card__shop {
  font-family: 'Lato', sans-serif;
  font-size: clamp(11px, 1.042vw, 20px);                /* Figma 16px rendered → CSS 20 */
  font-weight: 400;
}
.pd-review-card__actions {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 0.781vw, 15px);
}
.pd-review-card__like,
.pd-review-card__report {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #5A5A5A;
  display: inline-flex;
}
.pd-review-card__like svg,
.pd-review-card__report svg {
  width: clamp(18px, 1.498vw, 28.75px);                 /* Figma ~23px rendered → CSS ~28.75 */
  height: clamp(18px, 1.498vw, 28.75px);
}
.pd-review-card__like:hover { color: #0B6776; }
.pd-review-card__report:hover { color: #94271A; }

/* Slider arrow on right */
.pd-reviews__arrow {
  position: absolute;
  top: 50%;
  right: clamp(0px, 0.521vw, 10px);
  transform: translateY(-50%);
  width: clamp(24px, 1.979vw, 38px);
  height: clamp(36px, 3.125vw, 60px);
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #024E58;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: opacity .2s;
}
.pd-reviews__arrow svg {
  width: clamp(14px, 1.146vw, 22px);
  height: clamp(22px, 1.823vw, 35px);
}
.pd-reviews__arrow:hover { color: #00414B; }

/* ── 17. Daha Önce Gezdikleriniz (centered title + side lines) ────── */
.pd-recent {
  margin: clamp(50px, 5.729vw, 110px) 0 clamp(40px, 3.255vw, 62.5px);
}
.pd-recent__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 1.823vw, 35px);
  margin-bottom: clamp(8px, 0.521vw, 10px);
}
.pd-recent__line {
  flex: 1 1 auto;
  height: 1px;
  background: #CCCCCC;
  max-width: clamp(200px, 32.34vw, 621px);              /* Figma 621px rendered → CSS 776 */
}
.pd-recent__title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(20px, 1.953vw, 37.5px);              /* Figma 30px rendered → CSS 37.5 */
  font-style: normal;
  font-weight: 400;
  color: #21282D;
  margin: 0;
  text-align: center;
  white-space: nowrap;
}
.pd-recent__clear {
  display: block;
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-size: clamp(13px, 1.172vw, 22.5px);              /* Figma 18px rendered → CSS 22.5 */
  font-weight: 400;
  color: #0B6776;
  text-decoration: none;
  margin-bottom: clamp(20px, 1.823vw, 35px);
  cursor: pointer;
}
.pd-recent__clear:hover { text-decoration: underline; }

/* Recent rail uses .book-row (homepage style) — already styled in home_figma_theme.css */
.pd-recent__rail {
  /* inherits .book-row horizontal scroll */
}

/* ── Responsive — Mobile/Tablet adjustments ───────────────────── */
@media (max-width: 991px) {
  .pd-hero-right { max-width: 100%; }
  .pd-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .pd-other-sellers { flex-direction: column; align-items: flex-start; }
  .pd-order-card__row { flex-direction: column; align-items: stretch; }
  .pd-cart-btn { width: 100%; }
  .pd-tabs__link { padding: 8px 14px; font-size: 14px; }
  .pd-details-row { grid-template-columns: 100px 1fr; }
}

@media (max-width: 576px) {
  .pd-page { width: 92%; margin: 0 4%; }
  .pd-chip-row { gap: 8px; }
  .pd-chip { min-width: 88px; height: 42px; font-size: 12px; }
  .pd-chip--condition { height: 50px; }
  .pd-section-title::before,
  .pd-section-title::after { display: none; }
}

/* ════════════════════════════════════════════════════════════════════
   SELLERS DRAWER — slides in from right when "Tümünü Gör" clicked
   Source: urundetay3.html — drawer design (full viewport height)
   ════════════════════════════════════════════════════════════════════ */
.pd-sellers-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.32);
  z-index: 1040;
  opacity: 0;
  transition: opacity .24s ease;
  pointer-events: none;
}
.pd-sellers-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.pd-sellers-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: clamp(280px, 28.45vw, 546px);  /* Figma 437px → CSS 546 */
  height: 125vh;                          /* compensate body zoom 0.8 → renders ~100vh */
  max-height: 125vh;
  background: #fff;
  border-left: 1px solid #CCCCCC;
  z-index: 1050;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 24px rgba(15, 23, 42, 0.18);
  transform: translateX(100%);
  transition: transform .26s ease;
}
.pd-sellers-panel.is-open {
  transform: translateX(0);
}
body.pd-sellers-open { overflow: hidden; }

/* Hide scrollbar appearance (still scrollable) */
.pd-sellers-panel::-webkit-scrollbar { width: 6px; }
.pd-sellers-panel::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

/* Title row with close button */
.pd-sellers-panel__head {
  padding: clamp(20px, 2.083vw, 40px) clamp(15px, 1.823vw, 35px) clamp(15px, 1.302vw, 25px);
  border-bottom: 1px solid #CCCCCC;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 0.781vw, 15px);
}
.pd-sellers-panel__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(28px, 2.083vw, 40px);
  height: clamp(28px, 2.083vw, 40px);
  background: transparent;
  border: 0;
  font-size: clamp(20px, 1.823vw, 35px);
  line-height: 1;
  color: #21282D;
  cursor: pointer;
  flex-shrink: 0;
}
.pd-sellers-panel__close:hover { color: #0B6776; }
.pd-sellers-panel__title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(20px, 1.823vw, 35px);  /* Figma 28px → CSS 35 */
  font-weight: 400;
  color: #21282D;
  margin: 0;
}

/* Controls row (Sırala + Filtrele) */
.pd-sellers-panel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(12px, 1.302vw, 25px) clamp(15px, 1.823vw, 35px);
  border-bottom: 1px solid #CCCCCC;
  flex-shrink: 0;
}
.pd-sellers-panel__sort { position: relative; }
.pd-sellers-panel__sort-btn {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 0.521vw, 10px);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-size: clamp(13px, 1.302vw, 25px);   /* Figma 20px → CSS 25 */
  color: #21282D;
}
.pd-sellers-panel__sort-prefix { color: #5A5A5A; }
.pd-sellers-panel__sort-current { font-weight: 600; }
.pd-sellers-panel__sort-btn i {
  font-size: clamp(11px, 1.042vw, 20px);
}
.pd-sellers-panel__sort-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  min-width: clamp(140px, 10.42vw, 200px);
  background: #fff;
  border: 1px solid #CCCCCC;
  list-style: none;
  padding: 0;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.pd-sellers-panel__sort-menu li button {
  display: block;
  width: 100%;
  text-align: left;
  padding: clamp(10px, 0.911vw, 17.5px) clamp(15px, 1.042vw, 20px);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-size: clamp(12px, 1.042vw, 20px);
  color: #21282D;
}
.pd-sellers-panel__sort-menu li button.is-active { background: #F2F2F2; }
.pd-sellers-panel__sort-menu li button:hover { background: #F2F2F2; }
.pd-sellers-panel__filter-btn {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 0.521vw, 10px);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-size: clamp(13px, 1.302vw, 25px);
  color: #21282D;
}
.pd-sellers-panel__filter-btn i {
  font-size: clamp(13px, 1.042vw, 20px);
}

/* Seller list */
.pd-sellers-panel__list {
  padding: 0 clamp(15px, 1.823vw, 35px);
  flex: 1 1 auto;
  overflow-y: auto;
}

/* Each seller item — Figma 225px tall */
.pd-seller-item {
  padding: clamp(15px, 1.302vw, 25px) 0;
  border-bottom: 1px solid #CCCCCC;
}
.pd-seller-item:last-child { border-bottom: 0; }

.pd-seller-item__price {
  font-family: 'Lato', sans-serif;
  font-size: clamp(18px, 1.953vw, 37.5px);  /* large price */
  font-weight: 700;
  color: #21282D;
  line-height: 1;
  margin-bottom: clamp(8px, 0.781vw, 15px);
}
.pd-seller-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 0.911vw, 17.5px);
  font-family: 'Lato', sans-serif;
  font-size: clamp(11px, 1.042vw, 20px);   /* Figma 16px → CSS 20 */
  color: #5A5A5A;
  margin-bottom: clamp(8px, 0.781vw, 15px);
}
.pd-seller-item__seller {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.521vw, 10px);
  margin-bottom: clamp(8px, 0.781vw, 15px);
  flex-wrap: wrap;
}
.pd-seller-item__seller-label {
  font-family: 'Lato', sans-serif;
  font-size: clamp(12px, 1.172vw, 22.5px);   /* Figma 18px → CSS 22.5 */
  color: #5A5A5A;
}
.pd-seller-item__seller-name {
  font-family: 'Lato', sans-serif;
  font-size: clamp(13px, 1.302vw, 25px);     /* Figma 20px → CSS 25 */
  color: #0B6776;
  font-weight: 600;
  text-decoration: none;
}
.pd-seller-item__seller-name:hover { text-decoration: underline; }
.pd-seller-item__rating {
  font-family: 'Lato', sans-serif;
  font-size: clamp(11px, 0.977vw, 18.75px);  /* Figma 15px → CSS 18.75 */
  color: #0B6776;
}
.pd-seller-item__info {
  width: clamp(14px, 0.977vw, 18.75px);
  height: clamp(14px, 0.977vw, 18.75px);
  border-radius: 50%;
  border: 1px solid #5A5A5A;
  background: transparent;
  font-size: clamp(9px, 0.651vw, 12.5px);
  color: #5A5A5A;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pd-seller-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 0.781vw, 15px);
  flex-wrap: wrap;
  margin-top: clamp(10px, 0.911vw, 17.5px);
}
.pd-seller-item__badges {
  display: flex;
  gap: clamp(6px, 0.521vw, 10px);
  flex-wrap: wrap;
}
.pd-seller-item .pd-seller-badge {
  height: clamp(18px, 1.432vw, 27.5px);  /* slightly smaller in seller drawer */
}
.pd-seller-item__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(100px, 8.724vw, 167.5px);   /* Figma 134px → CSS 167.5 */
  height: clamp(36px, 3.255vw, 62.5px);          /* Figma 50px → CSS 62.5 */
  background: #0B6776;
  color: #fff;
  border: 0;
  font-family: 'Lato', sans-serif;
  font-size: clamp(13px, 1.172vw, 22.5px);       /* Figma 18px → CSS 22.5 */
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s;
}
.pd-seller-item__cart:hover { background: #095a67; color: #fff; }
.pd-seller-item__cart:disabled { background: #9ca3af; cursor: not-allowed; }

/* Drawer overlays content — no body padding adjustment needed */

/* Mobile: full-width drawer when open */
@media (max-width: 576px) {
  .pd-sellers-panel { width: 100vw; }
}
