/* Ürün detay — admin ürün sayfası ile ortak yapı */
.page-urun-detay {
  scroll-behavior: smooth;
}

.pd-page {
  background: #fff;
  padding: 28px 0 56px;
  font-family: "Poppins", system-ui, sans-serif;
  color: #1a1a1a;
}

.pd-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Breadcrumb */
.pd-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
}

.pd-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}

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

.pd-breadcrumb-sep {
  color: #d1d5db;
}

.pd-breadcrumb-current {
  color: #111827;
  font-weight: 600;
}

/* Hero */
.pd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: flex-start;
}

.pd-gallery {
  position: sticky;
  top: 100px;
}

.pd-main-image-wrap {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 4px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.pd-main-image {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
}

.pd-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.pd-thumb {
  padding: 0;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  transition: border-color 0.15s ease;
}

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

.pd-thumb:hover,
.pd-thumb.is-active {
  border-color: #111;
}

/* Sağ kolon */
.pd-info {
  padding-top: 4px;
}

/* header.css içindeki global h2/h3 mor + !important burada geçersiz kılınır */
.pd-title {
  margin: 0 0 20px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--lr-neon-magenta, #eb47ff) !important;
  -webkit-text-fill-color: currentColor !important;
  font-family: "Poppins", system-ui, sans-serif;
}

.pd-price-stock-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}

.pd-price {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #111;
}

.pd-stock-block {
  text-align: right;
  font-size: 14px;
  line-height: 1.6;
}

.pd-stock-line {
  margin: 0 0 6px;
  color: #333;
}

.pd-stock-line.is-in .pd-stock-check {
  color: #16a34a;
  margin-right: 4px;
}

.pd-stock-line.is-out .pd-stock-check {
  color: #dc2626;
  margin-right: 4px;
}

.pd-brand-line {
  margin: 0;
  color: #555;
}

.pd-brand-name {
  color: #e8a598;
  font-weight: 600;
}

/* Satın alma */
.pd-buy-row {
  margin-bottom: 28px;
}

.pd-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 14px;
}

.pd-qty-btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: #f5f5f5;
  font-size: 18px;
  cursor: pointer;
  color: #333;
  line-height: 1;
}

.pd-qty-btn:hover {
  background: #eaeaea;
}

.pd-qty-input {
  width: 48px;
  height: 40px;
  border: 0;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
}

.pd-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 4px;
  min-width: 160px;
  flex: 1 1 200px;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

button.pd-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: inherit;
}

.pd-btn:hover {
  opacity: 0.92;
}

.pd-btn--cart {
  background: #111;
  color: #fff;
}

.pd-btn--buy {
  background: #16a34a;
  color: #fff;
}

.pd-btn-ico {
  font-size: 16px;
}

/* Sepete eklendi — sağ üst kart */
.pd-cart-toast-host {
  position: fixed;
  z-index: 10050;
  top: max(16px, env(safe-area-inset-top, 0px));
  right: max(16px, env(safe-area-inset-right, 0px));
  left: auto;
  bottom: auto;
  width: min(420px, calc(100vw - 24px));
  max-width: min(420px, calc(100vw - 24px));
  pointer-events: none;
}

.pd-cart-toast-host.is-visible .pd-cart-toast {
  transform: translateX(0) translateY(0);
  opacity: 1;
}

.pd-cart-toast {
  position: relative;
  pointer-events: auto;
  padding: 16px 16px 14px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #d1d5db;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.12),
    0 2px 10px rgba(0, 0, 0, 0.06);
  transform: translateX(12px);
  opacity: 0;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}

.pd-cart-toast__close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
}

.pd-cart-toast__close:hover {
  color: #111827;
  background: #f3f4f6;
}

.pd-cart-toast__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-right: 36px;
  margin-bottom: 10px;
}

.pd-cart-toast__info-ico {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #9ca3af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  color: #374151;
  line-height: 1;
}

.pd-cart-toast__title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pd-cart-toast__body {
  margin: 0;
}

.pd-cart-toast__lead {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #374151;
}

.pd-cart-toast__lead strong {
  color: #111827;
  font-weight: 700;
}

.pd-cart-toast__plink {
  color: #c2410c;
  font-weight: 600;
  text-decoration: none;
}

.pd-cart-toast__plink:hover {
  text-decoration: underline;
}

.pd-cart-toast__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pd-cart-toast__btn {
  flex: 1 1 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  text-align: center;
}

.pd-cart-toast__btn--cart {
  background: #111827;
  color: #fff;
}

.pd-cart-toast__btn--cart:hover {
  background: #000;
}

.pd-cart-toast__btn--buy {
  background: #16a34a;
  color: #fff;
}

.pd-cart-toast__btn--buy:hover {
  background: #15803d;
}

.pd-cart-toast__btn-ico {
  font-size: 14px;
}

@media (max-width: 480px) {
  .pd-cart-toast-host {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
  }

  .pd-cart-toast {
    padding: 14px 12px 12px;
  }
}

/* Ürün bilgisi accordion (sadece kısa açıklama) */
.pd-product-info-acc {
  border-top: 1px solid #eee;
  padding-top: 8px;
}

.pd-acc {
  border: 0;
}

.pd-acc-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 700;
  color: #e8a598;
}

.pd-acc-summary::-webkit-details-marker {
  display: none;
}

.pd-acc-icon {
  font-size: 20px;
  color: #333;
  width: 22px;
  text-align: center;
}

.pd-acc .pd-acc-icon::before {
  content: "+";
}

.pd-acc[open] .pd-acc-icon::before {
  content: "−";
}

.pd-acc-body {
  padding-bottom: 16px;
  color: #555;
  line-height: 1.75;
  font-size: 15px;
}

/* Tab bar (görsel 2) */
.pd-tabs-wrap {
  margin-top: 48px;
  padding-top: 8px;
}

.pd-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 28px;
  padding-bottom: 0;
  border-bottom: 1px solid #e0e0e0;
}

.pd-tab {
  display: inline-block;
  padding: 12px 4px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #555;
  text-decoration: none;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}

.pd-tab--content.is-active {
  color: #111;
  font-weight: 700;
}

.pd-tab--content.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: #111;
}

.pd-tab--link {
  color: #555;
}

.pd-tab--link:hover:not(.is-disabled) {
  color: #111;
}

.pd-tab--link.is-disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

.pd-tab-underline {
  display: none;
}

.pd-tab-panel {
  padding: 36px 0 20px;
  max-width: none;
  width: 100%;
  margin: 0;
  text-align: left;
}

.pd-rich-empty {
  color: #888;
  text-align: center;
  padding: 32px;
}

/* Uzun açıklama tipografi (görsel 2) */
.pd-rich {
  color: #828282;
  line-height: 1.8;
  font-size: 12px;
  text-align: left;
}

.pd-rich p {
  margin: 0 0 1.1em;
}

.pd-rich h2 {
  margin: 1.5em 0 0.75em;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fea400 !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
  line-height: 1.3;
}

.pd-rich h3 {
  margin: 1.25em 0 0.65em;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  background: linear-gradient(to top right, #014b64, #01124d) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

@supports not (background-clip: text) {
  .pd-rich h3 {
    color: #014b64 !important;
    -webkit-text-fill-color: currentColor !important;
    background: none !important;
  }
}

.pd-rich ul,
.pd-rich ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

.pd-rich img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1em 0;
}

.pd-rich a {
  color: #014b64;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Admin içeriğindeki site içi linkler */
.pd-rich a[href^="#"],
.pd-rich a[href^="/"],
.pd-rich a[href^="./"],
.pd-rich a[href^="../"],
.pd-rich a[href^="https://lionerotik.com"],
.pd-rich a[href^="http://lionerotik.com"],
.pd-rich a[href^="https://www.lionerotik.com"],
.pd-rich a[href^="http://www.lionerotik.com"],
.pd-rich a:not([href*="://"]):not([href^="//"]):not([href^="mailto:"]):not([href^="tel:"]):not([href^="javascript:"]) {
  color: #dc2626 !important;
}

.pd-rich a[href^="#"]:hover,
.pd-rich a[href^="/"]:hover,
.pd-rich a[href^="./"]:hover,
.pd-rich a[href^="../"]:hover,
.pd-rich a[href^="https://lionerotik.com"]:hover,
.pd-rich a[href^="http://lionerotik.com"]:hover,
.pd-rich a[href^="https://www.lionerotik.com"]:hover,
.pd-rich a[href^="http://www.lionerotik.com"]:hover,
.pd-rich a:not([href*="://"]):not([href^="//"]):not([href^="mailto:"]):not([href^="tel:"]):not([href^="javascript:"]):hover {
  color: #b91c1c !important;
}

/* Yorumlar bölümü (görsel 3) */
.pd-reviews-section {
  margin-top: 64px;
  padding: 48px 0;
  text-align: center;
}

.pd-section-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #cc5500;
}

.pd-reviews-title {
  margin: 0 auto 20px;
  max-width: 920px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.35;
  color: #012b55 !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
  font-family: "Poppins", system-ui, sans-serif;
}

.pd-reviews-rating-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.pd-reviews-label {
  font-weight: 700;
  font-size: 15px;
  color: #111;
}

.pd-reviews-stars {
  letter-spacing: 2px;
}

.pd-star {
  color: #e5e5e5;
  font-size: 20px;
}

.pd-star.is-full {
  color: #f5b800;
}

.pd-reviews-meta {
  margin: 0 0 16px;
  font-size: 14px;
  color: #666;
}

.pd-google-badge {
  margin: 0 auto 28px;
}

.pd-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 1100px;
  margin: 0 auto;
}

.pd-carousel-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.pd-carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s ease;
}

.pd-rev-card {
  flex: 0 0 calc(25% - 12px);
  min-width: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 18px 16px;
  text-align: left;
  box-sizing: border-box;
}

.pd-rev-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.pd-rev-name {
  font-size: 15px;
  color: #012b55;
}

.pd-rev-date {
  font-size: 12px;
  color: #9ca3af;
  flex-shrink: 0;
}

.pd-rev-company {
  margin: 0 0 8px;
  font-size: 13px;
  color: #888;
}

.pd-rev-stars {
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.pd-rev-stars .pd-star {
  font-size: 16px;
}

.pd-rev-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #4b5563;
}

.pd-carousel-nav {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 22px;
  line-height: 1;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pd-carousel-nav:hover {
  background: #f9f9f9;
  border-color: #bbb;
}

/* SSS */
.pd-faq-section {
  background: #fff;
  margin: 48px 0 0;
  padding: 56px 0 64px;
  text-align: center;
}

.pd-faq-pill {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: #e3f0ff;
  color: #1a6fb8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.pd-faq-title {
  margin: 0 auto 16px;
  max-width: 800px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #012b55 !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
  line-height: 1.35;
}

.pd-faq-lead {
  margin: 0 auto 32px;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.7;
  color: #6b7a8c;
}

.pd-faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.pd-faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}

.pd-faq-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 15px;
  color: #012b55;
}

.pd-faq-summary::-webkit-details-marker {
  display: none;
}

.pd-faq-plus {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #64748b;
  line-height: 1;
}

.pd-faq-item[open] .pd-faq-plus {
  border-color: #012b55;
  color: #012b55;
  font-size: 0;
  line-height: 0;
}

.pd-faq-item[open] .pd-faq-plus::after {
  content: "−";
  font-size: 20px;
  line-height: 1;
  display: block;
}

.pd-faq-answer {
  padding: 0 20px 20px;
  font-size: 14px;
  line-height: 1.75;
  color: #525c6b;
}

/* İlginizi çekebilir */
.pd-related-section {
  margin-top: 40px;
  background: #fff;
  padding: 28px 0 36px;
}

.pd-related-title {
  margin: 0 0 22px;
  font-size: 20px;
  font-weight: 700;
  color: #111 !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
}

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

.pd-related-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
}

.pd-related-img-link {
  display: block;
  aspect-ratio: 1;
  background: #fff;
}

.pd-related-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-related-name {
  margin: 14px 14px 6px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
  line-height: 1.35;
}

.pd-related-price {
  margin: 0 14px 14px;
  font-size: 14px;
  color: #555;
}

.pd-related-btn {
  display: block;
  margin: auto 14px 14px;
  padding: 12px 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(to bottom, #014b64, #013a4e);
  border-radius: 8px;
  text-decoration: none;
}

.pd-related-btn:hover {
  opacity: 0.93;
}

@media (max-width: 992px) {
  .pd-hero {
    grid-template-columns: 1fr;
  }

  .pd-gallery {
    position: static;
  }

  .pd-stock-block {
    text-align: left;
  }

  .pd-rev-card {
    flex: 0 0 calc(50% - 8px);
  }
}

@media (max-width: 768px) {
  .pd-tabs-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    justify-content: stretch;
    align-items: stretch;
    overflow-x: visible;
    padding-bottom: 12px;
  }

  .pd-tab {
    white-space: normal;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.03em;
    padding: 12px 8px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    box-sizing: border-box;
    width: 100%;
  }

  .pd-rev-card {
    flex: 0 0 calc(100% - 0px);
  }

  .pd-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .pd-related-grid {
    grid-template-columns: 1fr;
  }
}
