/* ============================================================
   PRODUCT PREMIUM — sadece ürün sayfasında yüklenir
   (master.njk: templateName == 'product')
   ============================================================ */

.pd, .pd-sticky {
  --pd-accent: #00d4ff;
  --pd-accent-2: #8b9dff;
  --pd-text: #f4f7fb;
  --pd-muted: rgba(200, 212, 232, 0.68);
  --pd-faint: rgba(200, 212, 232, 0.42);
  --pd-line: rgba(255, 255, 255, 0.08);
  --pd-line-strong: rgba(255, 255, 255, 0.16);
  --pd-surface: rgba(255, 255, 255, 0.035);
  --pd-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[x-cloak] { display: none !important; }

.pd { position: relative; min-height: auto !important; }
.pd-wrap { position: relative; padding: clamp(1.25rem, 3vw, 2.25rem) 0.75rem 4rem; }

/* Oyun renginde hafif arka ışık */
.pd-ambient {
  position: absolute;
  top: -120px;
  left: 50%;
  z-index: 0;
  width: min(1100px, 100%);
  height: 620px;
  transform: translateX(-50%);
  background:
    radial-gradient(40% 50% at 30% 40%, rgba(var(--g), 0.16), transparent 70%),
    radial-gradient(35% 45% at 75% 35%, rgba(0, 212, 255, 0.1), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  animation: pd-breathe 10s ease-in-out infinite;
}
@keyframes pd-breathe { 50% { opacity: 0.7; transform: translateX(-50%) scale(1.05); } }

.pd-in { animation: pd-rise 0.8s var(--pd-ease) backwards; animation-delay: var(--d, 0s); }
@keyframes pd-rise {
  from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* Breadcrumb */
.pd-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  color: var(--pd-faint);
  font-size: 0.78rem;
}
.pd-crumbs a { color: var(--pd-faint); text-decoration: none; transition: color 0.2s ease; }
.pd-crumbs a:hover { color: #fff; }
.pd-crumbs .is-current { color: var(--pd-text); font-weight: 500; }

/* ============================================================
   Üst yerleşim
   ============================================================ */
.pd-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
}

.pd-media-col {
  position: sticky;
  top: calc(var(--hp-header-h, 76px) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* Görsel */
.pd-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--pd-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 60px -20px rgba(var(--g), 0.35);
}
.pd-media .carousel,
.pd-media .carousel-inner { border-radius: inherit; }
.pd-img {
  border-radius: 0 !important;
  border: 0 !important;
  transition: transform 1.2s var(--pd-ease);
}
.pd-media:hover .pd-img { transform: scale(1.035); }
.pd-img-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  color: rgba(var(--g), 0.8);
  font-size: 3rem;
}

.pd-media-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(6, 11, 25, 0.65);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
}
.pd-media-badge i { color: var(--pd-accent); }
.pd-media-badge--out { color: #fca5a5; border-color: rgba(248, 113, 113, 0.35); }

/* Küçük resimler */
.pd-thumbs {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 !important;
}
.pd-thumbs button {
  flex: 0 0 92px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--pd-line) !important;
  border-radius: 12px !important;
  background: none;
  opacity: 0.55;
  transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.3s var(--pd-ease) !important;
}
.pd-thumbs button img { width: 100%; display: block; }
.pd-thumbs button:hover { opacity: 0.9; transform: translateY(-2px); }
.pd-thumbs button.active {
  opacity: 1;
  border-color: rgba(var(--g), 0.7) !important;
  box-shadow: 0 0 0 1px rgba(var(--g), 0.4) !important;
}

/* Nasıl çalışır */
.pd-steps {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--pd-line);
  border-radius: 18px;
  background: var(--pd-surface);
}
.pd-step { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.pd-step-ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(var(--g), 0.14);
  color: rgb(var(--g));
  font-size: 0.8rem;
}
.pd-step-text { display: flex; flex-direction: column; min-width: 0; }
.pd-step-text strong { color: var(--pd-text); font-size: 0.78rem; font-weight: 600; white-space: nowrap; }
.pd-step-text small { color: var(--pd-faint); font-size: 0.68rem; white-space: nowrap; }
.pd-step-line {
  flex: 1;
  min-width: 12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--g), 0.5), var(--pd-line-strong));
  position: relative;
  overflow: hidden;
}
.pd-step-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: pd-flow 2.8s ease-in-out infinite;
}
.pd-step-line:last-of-type::after { animation-delay: 1.4s; }
@keyframes pd-flow { 0% { left: -40%; } 70%, 100% { left: 100%; } }

/* ============================================================
   Satın alma paneli
   ============================================================ */
.pd-buy-col { position: relative; }

.pd-buy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.15rem, 2.4vw, 1.6rem);
  border: 1px solid var(--pd-line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(14, 22, 44, 0.85), rgba(8, 14, 30, 0.85));
  backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pd-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pd-tag {
  --bc: rgb(var(--g));
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid color-mix(in srgb, var(--bc) 45%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bc) 12%, transparent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
}
.pd-tag i { color: var(--bc); }
.pd-tag--cat:hover { color: #fff; filter: brightness(1.15); }

.pd-title {
  margin: 0;
  color: var(--pd-text);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.pd-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: -0.35rem;
  color: var(--pd-faint);
  font-size: 0.8rem;
}
.pd-proof-item { display: inline-flex; align-items: center; gap: 0.35rem; }
.pd-proof-item strong { color: #fff; font-weight: 600; }
.pd-proof-item + .pd-proof-item::before {
  content: '';
  width: 3px;
  height: 3px;
  margin-right: 0.65rem;
  border-radius: 50%;
  background: var(--pd-faint);
}
.pd-proof-stars { color: #f5c451; letter-spacing: 0.05em; }

.pd-status { margin: 0 !important; }

/* Fiyat */
.pd-price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--pd-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}
.pd-price-main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.55rem; }
.pd-price-now {
  background: linear-gradient(180deg, #fff 35%, rgba(200, 225, 255, 0.85));
  -webkit-background-clip: text !important;
          background-clip: text !important;
  -webkit-text-fill-color: transparent;
  font-size: clamp(2rem, 3.6vw, 2.6rem) !important;
  font-weight: 800 !important;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  text-shadow: none !important;
}
.pd-price-old { color: var(--pd-faint); font-size: 1rem; text-decoration: line-through; }
.pd-save {
  align-self: center;
  padding: 0.22rem 0.55rem;
  border-radius: 7px;
  background: rgba(52, 211, 153, 0.15);
  color: #6ee7b7;
  font-size: 0.72rem;
  font-weight: 700;
  animation: pd-pop 0.5s var(--pd-ease);
}
@keyframes pd-pop { from { transform: scale(0.6); opacity: 0; } }

.pd-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}
.pd-stock--in { background: rgba(52, 211, 153, 0.1); color: #6ee7b7; border: 1px solid rgba(52, 211, 153, 0.25); }
.pd-stock--out { background: rgba(248, 113, 113, 0.1); color: #fca5a5; border: 1px solid rgba(248, 113, 113, 0.25); }
.pd-stock--hold { background: rgba(250, 204, 21, 0.1); color: #fde68a; border: 1px solid rgba(250, 204, 21, 0.25); }
.pd-stock-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
}
.pd-stock-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #34d399;
  animation: pd-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes pd-ping { 70%, 100% { transform: scale(2.6); opacity: 0; } }

/* Az stok */
.pd-low {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(251, 146, 60, 0.3);
  border-radius: 14px;
  background: rgba(251, 146, 60, 0.07);
}
.pd-low-text { color: #fed7aa; font-size: 0.82rem; }
.pd-low-text i { margin-right: 0.3rem; color: #fb923c; animation: pd-flicker 1.6s ease-in-out infinite; }
.pd-low-text strong { color: #fff; }
@keyframes pd-flicker { 50% { opacity: 0.55; transform: scale(0.92); } }
.pd-low-bar { height: 5px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.08); }
.pd-low-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f97316, #facc15);
  transition: width 0.6s var(--pd-ease);
}

/* Canlı istatistik */
.pd-live {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  color: var(--pd-muted);
  font-size: 0.8rem;
}
.pd-live > span { display: inline-flex; align-items: center; gap: 0.4rem; }
.pd-live strong { color: #fff; }
.pd-live i { color: var(--pd-accent); }
.pd-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #f87171; box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.6); animation: pd-live 1.8s ease-in-out infinite; }
@keyframes pd-live { 50% { box-shadow: 0 0 0 5px rgba(248, 113, 113, 0); } }

/* ============================================================
   Sipariş formu (product-form.njk) — sadece görünüm
   ============================================================ */
.pd-form .row { margin: 0 !important; --bs-gutter-x: 0; }
.pd-form .row > * { padding: 0 !important; }
.pd-form .mb-3 { margin-bottom: 1rem !important; }

.pd-form .form-label {
  margin-bottom: 0.5rem;
  color: var(--pd-faint) !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

/* Varyantlar */
.pd-form .variants { display: grid !important; grid-template-columns: 1fr; gap: 0.5rem !important; }
.pd-form .variants .variant {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin: 0 !important;
  padding: 0.8rem 0.95rem !important;
  border: 1px solid var(--pd-line-strong) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.025) !important;
  color: var(--pd-text) !important;
  text-align: left;
  box-shadow: none !important;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.25s var(--pd-ease) !important;
}
.pd-form .variants .variant:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  transform: translateY(-1px);
}
.pd-form .variants .variant.active {
  border-color: rgba(var(--g), 0.8) !important;
  background: linear-gradient(135deg, rgba(var(--g), 0.16), rgba(var(--g), 0.04)) !important;
  box-shadow: 0 0 0 1px rgba(var(--g), 0.35), 0 12px 30px -14px rgba(var(--g), 0.6) !important;
}
.pd-form .variants .variant:disabled { opacity: 0.4; cursor: not-allowed; }
.pd-form .variants .variant .name { margin: 0; color: #fff; font-size: 0.9rem; font-weight: 600; }
.pd-form .variants .variant .description,
.pd-form .variants .variant .stock { margin: 0.1rem 0 0; color: var(--pd-faint) !important; font-size: 0.74rem; }
.pd-form .variants .variant .price {
  flex-shrink: 0;
  padding: 0 !important;
  background: none !important;
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pd-form .variants .variant .price s { display: block; font-size: 0.72rem; font-weight: 500; text-align: right; }
.pd-form .variants .active-indicator {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #05101f;
  animation: pd-pop 0.35s var(--pd-ease);
}
.pd-form .variants .active-indicator svg { width: 20px; height: 20px; color: rgb(var(--g)) !important; }

/* Adet */
.pd-form .input-group {
  width: 100% !important;
  max-width: 220px;
  height: 46px;
  overflow: hidden;
  border: 1px solid var(--pd-line-strong);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}
.pd-form .input-group .input-group-btn {
  width: 46px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
  transition: background 0.2s ease !important;
}
.pd-form .input-group .input-group-btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.07) !important; }
.pd-form .input-group .input-group-btn:disabled { opacity: 0.3; }
.pd-form .input-group .input-group-btn svg { width: 16px; height: 16px; }
.pd-form .input-group .form-control {
  height: 100%;
  border: 0 !important;
  border-left: 1px solid var(--pd-line) !important;
  border-right: 1px solid var(--pd-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  box-shadow: none !important;
  -moz-appearance: textfield;
}
.pd-form .input-group .form-control::-webkit-inner-spin-button,
.pd-form .input-group .form-control::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* Diğer form alanları (özel alanlar, kupon vb.) */
.pd-form .form-control:not(.input-group .form-control),
.pd-form select.form-select {
  min-height: 44px;
  border: 1px solid var(--pd-line-strong) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: #fff !important;
}
.pd-form .form-control:focus { border-color: var(--pd-accent) !important; box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12) !important; }
.pd-form .border,
.pd-form .addon-item { border-color: var(--pd-line) !important; border-radius: 14px !important; background: rgba(255, 255, 255, 0.02); }

/* Satın alma butonları: Buy Now ana, Add to Cart ikincil */
.pd-form .buy-buttons {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 0.6rem !important;
  margin-top: 0.5rem !important;
}
.pd-form .buy-buttons > .col { width: 100%; }
.pd-form .pf-col-buy { order: -1; }

.pd-form .pf-buy {
  position: relative;
  overflow: hidden;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 56px;
  border: 0 !important;
  border-radius: 15px !important;
  background: linear-gradient(135deg, #ffffff, #dff7ff) !important;
  color: #05101f !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.005em !important;
  text-transform: none !important;
  box-shadow: 0 14px 40px -10px rgba(0, 212, 255, 0.55), inset 0 -2px 0 rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.25s var(--pd-ease), box-shadow 0.25s ease !important;
}
.pd-form .pf-buy .size-5 { width: 18px; height: 18px; }
.pd-form .pf-buy::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: pd-sweep 4s ease-in-out 1.2s infinite;
}
@keyframes pd-sweep { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.pd-form .pf-buy:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px -10px rgba(0, 212, 255, 0.7) !important;
}
.pd-form .pf-buy:active:not(:disabled) { transform: translateY(0) scale(0.99); }

.pd-form .pf-cart {
  height: 48px;
  border: 1px solid var(--pd-line-strong) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: #fff !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
  transition: background 0.2s ease, border-color 0.2s ease !important;
}
.pd-form .pf-cart:hover:not(:disabled) { background: rgba(255, 255, 255, 0.07) !important; border-color: rgba(255, 255, 255, 0.3) !important; }
.pd-form .pf-cart .size-5 { width: 17px; height: 17px; }
.pd-form .buy-buttons .btn:disabled { opacity: 0.45; box-shadow: none !important; }
.pd-form .buy-buttons .btn:disabled::after { display: none; }

/* Güvenceler */
.pd-assure {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0.25rem 0 0;
  list-style: none;
  color: var(--pd-muted);
  font-size: 0.82rem;
}
.pd-assure i { width: 1.1rem; margin-right: 0.4rem; color: #34d399; text-align: center; }

/* Destek */
.pd-help {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(88, 101, 242, 0.28);
  border-radius: 15px;
  background: rgba(88, 101, 242, 0.08);
  color: #fff;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.3s var(--pd-ease);
}
.pd-help:hover { color: #fff; background: rgba(88, 101, 242, 0.15); border-color: rgba(88, 101, 242, 0.55); transform: translateY(-1px); }
.pd-help-ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #5865f2;
}
.pd-help-ico svg { width: 19px; height: 19px; }
.pd-help-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pd-help-text strong { font-size: 0.86rem; font-weight: 600; }
.pd-help-text small { color: var(--pd-muted); font-size: 0.74rem; }
.pd-help-arrow { width: 17px; height: 17px; color: var(--pd-muted); transition: transform 0.3s var(--pd-ease); }
.pd-help:hover .pd-help-arrow { transform: translateX(3px); color: #fff; }

/* ============================================================
   Açıklama + neden biz
   ============================================================ */
.pd-details {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.pd-desc {
  overflow: hidden;
  border: 1px solid var(--pd-line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}
.pd-tabs {
  display: flex;
  gap: 0.3rem;
  padding: 0.5rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--pd-line);
  scrollbar-width: none;
}
.pd-tabs button {
  flex-shrink: 0;
  height: 36px;
  padding: 0 0.95rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--pd-muted);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.pd-tabs button:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.pd-tabs button.is-on { color: #05101f; background: #fff; font-weight: 600; }

.pd-desc-body { padding: clamp(1.1rem, 2.5vw, 1.6rem); }
.pd-editor {
  color: rgba(225, 232, 245, 0.85);
  font-size: 0.93rem;
  line-height: 1.75;
  animation: pd-rise 0.4s var(--pd-ease);
}
.pd-editor p { margin: 0 0 0.85rem; }
.pd-editor p:empty,
.pd-editor p:has(> br:only-child) { display: none; }
.pd-editor strong, .pd-editor b { color: #fff; }
.pd-editor h1, .pd-editor h2, .pd-editor h3, .pd-editor h4 {
  margin: 1.4rem 0 0.6rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.pd-editor ul, .pd-editor ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.pd-editor li { margin-bottom: 0.35rem; }
.pd-editor li::marker { color: rgb(var(--g)); }
.pd-editor a { color: var(--pd-accent); }
.pd-editor img { max-width: 100%; border-radius: 14px; }
.pd-editor hr { border-color: var(--pd-line); opacity: 1; }
.pd-editor blockquote {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid rgb(var(--g));
  border-radius: 0 12px 12px 0;
  background: rgba(var(--g), 0.07);
}

.pd-why {
  position: sticky;
  top: calc(var(--hp-header-h, 76px) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.2rem;
  border: 1px solid var(--pd-line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}
.pd-why-title {
  margin-bottom: 0.4rem;
  color: var(--pd-faint);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pd-why-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem;
  border-radius: 12px;
  transition: background 0.2s ease;
}
.pd-why-item:hover { background: rgba(255, 255, 255, 0.035); }
.pd-why-ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--pd-accent);
  font-size: 0.8rem;
  transition: transform 0.4s var(--pd-ease);
}
.pd-why-item:hover .pd-why-ico { transform: rotate(-8deg) scale(1.08); }
.pd-why-item > span:last-child { display: flex; flex-direction: column; }
.pd-why-item strong { color: var(--pd-text); font-size: 0.88rem; font-weight: 600; }
.pd-why-item small { color: var(--pd-faint); font-size: 0.78rem; line-height: 1.5; }

/* ============================================================
   Birlikte alınanlar
   ============================================================ */
.pd-upsells { position: relative; z-index: 1; margin-top: clamp(2rem, 5vw, 3.5rem); }
.pd-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.pd-section-head h2 { margin: 0; color: #fff; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.025em; }
.pd-section-head h2::before { display: none !important; }
.pd-section-head a { color: var(--pd-muted); font-size: 0.85rem; text-decoration: none; }
.pd-section-head a:hover { color: #fff; }

.pd-upsell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.pd-upsell .card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--pd-line) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)) !important;
  transition: transform 0.4s var(--pd-ease), border-color 0.3s ease, box-shadow 0.4s ease !important;
}
.pd-upsell .card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(0, 212, 255, 0.35) !important;
  box-shadow: 0 24px 50px -14px rgba(0, 0, 0, 0.6) !important;
}
.pd-upsell .card .card-img-top { margin: 0.5rem 0.5rem 0; overflow: hidden; border-radius: 12px !important; }
.pd-upsell .card .card-title { color: #fff !important; font-size: 0.9rem !important; font-weight: 600 !important; }

/* ============================================================
   Sabit satın alma çubuğu
   ============================================================ */
.pd-sticky.ng-sticky-bar {
  left: 50% !important;
  right: auto !important;
  bottom: 14px !important;
  width: min(760px, calc(100% - 20px));
  padding: 0 !important;
  border: 1px solid var(--pd-line-strong) !important;
  border-radius: 18px !important;
  background: rgba(8, 13, 28, 0.88) !important;
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55) !important;
  transform: translate(-50%, 140%) !important;
  transition: transform 0.5s var(--pd-ease) !important;
}
.pd-sticky.ng-sticky-bar--visible { transform: translate(-50%, 0) !important; }
.pd-sticky .container { max-width: none; padding: 0.55rem 0.55rem 0.55rem 0.7rem; }
.pd-sticky .ng-sticky-bar-inner { gap: 0.75rem; }
.pd-sticky .ng-sticky-bar-img { width: 48px; height: 34px; border-radius: 9px; object-fit: cover; }
.pd-sticky .ng-sticky-bar-name { color: #fff; font-size: 0.84rem; font-weight: 600; }
.pd-sticky .ng-sticky-bar-price { color: var(--pd-accent) !important; font-size: 0.85rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.pd-sticky .ng-sticky-bar-btn {
  flex-shrink: 0;
  height: 44px;
  padding: 0 1.3rem !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #05101f !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: 0 10px 30px -8px rgba(0, 212, 255, 0.55) !important;
}
.pd-sticky .ng-sticky-bar-btn:disabled { opacity: 0.5; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991.98px) {
  .pd-grid { grid-template-columns: 1fr; }
  .pd-media-col, .pd-why { position: static; }
  .pd-details { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
  .pd-steps { flex-direction: column; align-items: stretch; }
  .pd-step-line { display: none; }
  .pd-buy { border-radius: 20px; }
  .pd-form .input-group { max-width: none; }
  .pd-sticky .ng-sticky-bar-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pd-in, .pd-ambient, .pd-step-line::after, .pd-form .pf-buy::after,
  .pd-stock-dot::after, .pd-low-text i, .pd-live-dot { animation: none !important; }
}