/* ===================================================================
   Website Detay & Satın Alma Sayfası — sayfa-özel stiller
   =================================================================== */

.detail-page {
  padding: 40px 0 80px;
  /* Zemin sade beyaz/taban — renk .wsell-swirl-bg deseninden (dinamik primary) gelir */
  background: var(--c-bg);
  position: relative;
  /* Dalga normal koyulukta; sadece SOL ÜST köşe beyaza açılır (primary'ye çok yakındı) */
  --swirl: .14;
  --swirl-topfade: 1;
}

/* Üst bölüm dekoratif şekil katmanı — sağlı/sollu, merkezî fx-shape ile hareketli (css/js shapes-motion).
   overflow:hidden SADECE bu katmanda → sürüklenme yatay scrollbar açmaz; .detail-page'e overflow VERME
   (sağ sütun position:sticky; overflow'lu ata sticky'yi bozar). */
.detail-shapes {
  position: absolute; left: 0; right: 0; top: 0;
  height: 520px; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.detail-page > .container { position: relative; z-index: 1; }

/* breadcrumb */
.crumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--c-muted);
  margin-bottom: 24px;
}
.crumb a { color: var(--c-ink-soft); }
.crumb a:hover { color: var(--c-ink); }
.crumb .sep { opacity: .5; }
.crumb .current { color: var(--c-ink); font-weight: 600; }

/* grid */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

/* ===================================================================
   LEFT COLUMN
   =================================================================== */

/* ---- main image with scroll preview ---- */
.detail-image {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: var(--radius-lg);
  background: var(--c-bg-2);
  overflow: hidden;
  border: 1px solid transparent;
  /* Merkezî V5 gölge (style.css --ws-shadow) */
  box-shadow: var(--ws-shadow);
  transition: box-shadow .2s ease, transform .2s ease;
}
.detail-image:hover {
  transform: translateY(var(--ws-lift));
  box-shadow: var(--ws-shadow-hover);
}
/* Ana görsel: kaymaz, çerçeveye object-fit:cover ile oturur (üstten hizalı). */
.detail-image .img-wrap { position: absolute; inset: 0; z-index: 0; }
.detail-image .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.detail-image .img-wrap svg { width: 100%; height: auto; display: block; }  /* fallback SVG (çok uzun) → üstten kırpılır */

/* Parlama efekti — çapraz ışık bandı periyodik süzülür (hover'da daha sık). */
.detail-image::after {
  content: '';
  position: absolute; top: 0; left: -60%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg,
    rgba(255,255,255,0) 0%, rgba(255,255,255,.08) 38%,
    rgba(255,255,255,.55) 50%, rgba(255,255,255,.08) 62%, rgba(255,255,255,0) 100%);
  transform: skewX(-18deg);
  pointer-events: none;
  z-index: 1;
  animation: detailShine 6s ease-in-out infinite;
}
@keyframes detailShine {
  0%   { left: -60%; opacity: 0; }
  6%   { opacity: 1; }
  16%  { left: 130%; opacity: 0; }
  100% { left: 130%; opacity: 0; }
}
.detail-image:hover::after { animation-duration: 2.4s; }

/* Hover kontrolleri — YALNIZCA çoklu görselde (.has-multi): sağ/sol ok + sağ-alt "Diğer Görseller" */
.detail-image.has-multi { cursor: pointer; }
.detail-image .img-nav,
.detail-image .img-more {
  position: absolute; z-index: 3;
  opacity: 0; pointer-events: none;
  transition: opacity .2s, background .2s;
}
.detail-image.has-multi:hover .img-nav,
.detail-image.has-multi:hover .img-more { opacity: 1; pointer-events: auto; }
.detail-image .img-nav {
  top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: rgba(15, 19, 28, .55); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.detail-image .img-nav:hover { background: rgba(15, 19, 28, .82); }
.detail-image .img-nav.prev { left: 12px; }
.detail-image .img-nav.next { right: 12px; }
.detail-image .img-nav svg { width: 20px; height: 20px; }
.detail-image .img-more {
  right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 13px;
  background: rgba(15, 19, 28, .62); color: #fff;
  font-size: 12.5px; font-weight: 700;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.detail-image .img-more:hover { background: var(--c-mint-deep); }
.detail-image .img-more svg { width: 15px; height: 15px; }

.detail-image .badge-stack {
  position: absolute; top: 14px; right: 14px;
  z-index: 2;
  display: flex; flex-direction: column; gap: 6px;
  align-items: flex-end;
}
.detail-image .badge {
  background: var(--c-amber);
  color: #fff;
  font-size: 11px; font-weight: 800;
  padding: 7px 14px;
  border-radius: 6px;
  letter-spacing: .06em;
  box-shadow: 0 4px 10px rgba(255, 184, 69, .35);
}
.detail-image .badge.mint {
  background: var(--c-mint);
  box-shadow: 0 4px 10px rgba(var(--c-accent-rgb), .18);
}

/* ---- action buttons row ---- */
.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* iki buton tek satır, eşit genişlik */
  gap: 10px;
  margin-top: 20px;
}
.detail-action {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 16px;
  border: 1.5px solid transparent;
  font-size: 14px; font-weight: 700;
  letter-spacing: -.005em;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s;
}
.detail-action svg { width: 17px; height: 17px; flex-shrink: 0; }
/* Canlı Görünüm — birincil aksiyon (mint dolgu, marka gradyanı) */
.detail-action.live {
  background: linear-gradient(135deg, var(--c-mint) 0%, var(--c-mint-deep) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(var(--c-accent-rgb), .22);
}
.detail-action.live:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(var(--c-accent-rgb), .32);
}
/* Yönetim Paneli — ikincil aksiyon (indigo çerçeve → hover'da dolu) */
.detail-action.admin {
  background: var(--c-surface);
  border-color: var(--c-indigo);
  color: var(--c-indigo);
}
.detail-action.admin:hover {
  background: var(--c-indigo);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(110, 124, 242, .28);
}

/* ---- title + tabs card ---- */
.detail-card {
  background: var(--c-surface);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  margin-top: 22px;
  overflow: hidden;
  /* Merkezî V5 gölge (style.css --ws-shadow) */
  box-shadow: var(--ws-shadow);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.detail-card:hover {
  transform: translateY(var(--ws-lift));
  box-shadow: var(--ws-shadow-hover);
}

.detail-card .head {
  padding: 26px 28px 0;
}
.detail-card .head .super {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  color: var(--c-mint-deep);
  text-transform: uppercase;
  background: var(--c-mint-soft);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.detail-card h1 {
  /* tipografi (boyut/renk/font-weight/altı-çizili vurgu) merkezi .sec-title'dan gelir
     (masaüstü 40px / ≤640px 29px); burada yalnızca karta özgü dış boşluk + satır kırılımı.
     NOT: buraya font-size EKLEME — .detail-card h1 (0,1,1) .sec-title'ı (0,1,0) ezer. */
  margin: 0 0 20px;
  text-wrap: balance;
}
.detail-card .sub {
  font-size: 14px; color: var(--c-ink-soft); margin: 0 0 22px;
}

.tabs {
  display: flex; gap: 4px;
  border-bottom: 1px solid var(--c-line);
  padding: 0 28px;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  flex: 1;                         /* 3 tab tek satırda eşit genişlik */
  justify-content: center;
  padding: 16px 12px;
  font-size: 16px; font-weight: 700;
  color: var(--c-muted);
  position: relative;
  transition: color .15s;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
}
.tab-btn:hover { color: var(--c-ink); }
.tab-btn.is-active { color: var(--c-ink); }
.tab-btn.is-active::after {
  content: '';
  position: absolute; bottom: -1px; left: 12px; right: 12px;
  height: 3px;
  background: var(--c-mint);
  border-radius: 2px 2px 0 0;
}
.tab-btn .count {
  background: var(--c-bg-2);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--c-ink-soft);
}
.tab-btn.is-active .count { background: var(--c-mint-soft); color: var(--c-mint-deep); }

.tab-body { padding: 24px 28px 28px; }
.tab-panel { display: none; animation: fadeUp .3s ease; }
.tab-panel.is-active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-panel p {
  font-size: 14.5px; line-height: 1.75;
  color: var(--c-ink-soft);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.tab-panel p:last-child { margin-bottom: 0; }
.tab-panel h4 {
  font-size: 16px; letter-spacing: -.005em;
  margin: 22px 0 10px; font-weight: 700;
}
.tab-panel ul.bullets {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 8px 18px;
}
.tab-panel ul.bullets li {
  font-size: 13.5px; color: var(--c-ink-soft);
  padding-left: 24px;
  position: relative;
}
.tab-panel ul.bullets li::before {
  content: '';
  position: absolute; top: 4px; left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--c-mint-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%232FB58D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* feature accordion (within Özellikler tab) */
.acc-list { display: flex; flex-direction: column; gap: 8px; }
.acc-item {
  border: 1px solid var(--c-line);
  border-radius: 12px;
  overflow: hidden;
  background: #FBFBFA;
  transition: border-color .2s, background .2s;
}
.acc-item.is-open { border-color: var(--c-mint); background: var(--c-surface); }
.acc-q {
  width: 100%;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  text-align: left;
  font-size: 14px; font-weight: 600;
  color: var(--c-ink);
}
.acc-q .ic {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--c-mint-soft);
  color: var(--c-mint-deep);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.acc-q .ic svg { width: 18px; height: 18px; }
.acc-q .title { flex: 1; }
.acc-q .chev {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--c-bg-2);
  color: var(--c-ink-soft);
  display: grid; place-items: center;
  transition: transform .25s, background .25s;
  flex-shrink: 0;
}
.acc-q .chev svg { width: 14px; height: 14px; }
.acc-item.is-open .acc-q .chev { background: var(--c-mint); color: #fff; transform: rotate(180deg); }
.acc-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.acc-a-inner {
  padding: 0 16px 16px 64px;
  font-size: 13.5px; line-height: 1.7;
  color: var(--c-ink-soft);
}

/* "Tümünü Gör" toggle */
.show-more-row {
  text-align: center;
  margin-top: 18px;
}
.show-more-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--c-bg-2);
  border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
  color: var(--c-ink);
  transition: background .15s;
}
.show-more-btn:hover { background: var(--c-line); }
.show-more-btn svg { width: 14px; height: 14px; transition: transform .25s; }
.show-more-btn.is-expanded svg { transform: rotate(180deg); }

/* ===================================================================
   RIGHT COLUMN (sticky)
   =================================================================== */
.detail-side {
  position: sticky;
  top: 164px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* shared box */
.side-box {
  background: var(--c-surface);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 20px;
  /* Merkezî V5 gölge (style.css --ws-shadow) */
  box-shadow: var(--ws-shadow);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.side-box:hover {
  transform: translateY(var(--ws-lift));
  box-shadow: var(--ws-shadow-hover);
}
.side-box .l-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  color: var(--c-ink);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.side-box .l-label::after {
  content: ''; flex: 1; height: 1px; background: var(--c-line);
}

/* ---- fiyat kutusu — birebir referans (lacivert çerçeve, ortalanmış büyük fiyat) ---- */
.price-box {
  border: 2px solid #0f2d66;
  background: var(--c-surface);
  /* border-radius: merkezi --radius-lg (=0) → .side-box'tan gelir, hardcode yok */
  text-align: center;
  padding: 22px 20px;
}
.price-box .l-label { justify-content: center; color: #0f2d66; font-size: 13px; }
.price-box .l-label::after { display: none; }   /* ortalanmış etiket → çizgi yok */
/* bayi grubu aktifken çerçeve grubun renk_kodu'yla (JS: --pb-accent) yavaşça parlar — minimum, loading tarzı nabız */
.price-box.pb-glow {
  border-color: var(--pb-accent, #0f2d66);
  animation: priceBoxGlow 2.4s ease-in-out infinite;
}
@keyframes priceBoxGlow {
  0%, 100% { box-shadow: 0 0 0 0 var(--pb-accent, #0f2d66); }
  50%      { box-shadow: 0 0 3px 0 var(--pb-accent, #0f2d66); }
}
@media (prefers-reduced-motion: reduce) {
  .price-box.pb-glow { animation: none; box-shadow: 0 0 0 1px var(--pb-accent, #0f2d66); }
}
.price-row {
  display: flex; align-items: baseline; justify-content: center; gap: 10px;
  flex-wrap: wrap;
}
.price-now {
  font-size: 40px; line-height: 1; letter-spacing: -.02em;
  font-weight: 800;
  color: #14213d;
}
.price-now .kdv {
  font-size: 14px; font-weight: 700;
  color: #0f2d66;
  letter-spacing: 0;
  margin-left: 4px;
}
.price-old {
  font-size: 16px; color: var(--c-muted);
  text-decoration: line-through;
}
.price-discount {
  display: inline-flex; align-items: center; gap: 4px;
  background: #D6294A;
  color: #fff;
  font-size: 11px; font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: .06em;
}

/* ---- bayilik (dealer) grid ---- */
.dealer-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
/* iri bilgi kartları — arka plan düz (tint yok); border grubun renk_kodu'ndan JS ile inline gelir */
.dealer-card {
  background: var(--c-surface);
  border: 1.5px solid var(--c-line);   /* JS: her grup kendi renk_kodu'yla ezer (farklı border) */
  border-radius: var(--radius-lg);     /* merkezi (=0) */
  padding: 18px;
  display: flex; flex-direction: column; gap: 3px;
  cursor: default;
  text-align: left;
}
.dealer-card .name { font-size: 20px; font-weight: 800; color: #14213d; line-height: 1.15; }
.dealer-card .sub  { font-size: 13px; color: var(--c-muted); margin-bottom: 4px; }
.dealer-card .price { font-size: 26px; font-weight: 800; color: #14213d; }
/* paket karşılığı olan grup kartı → bayilik wizard'ını o paket seçili açar (data-open-bayi) */
.dealer-card.is-clickable {
  cursor: pointer;
  transition: transform .15s cubic-bezier(.2,.8,.2,1), box-shadow .15s;
}
.dealer-card.is-clickable:hover { transform: translateY(-2px); box-shadow: var(--shadow-md, 0 10px 26px rgba(20,33,61,.12)); }
.dealer-card.is-clickable:focus-visible { outline: 2px solid var(--c-amber); outline-offset: 2px; }

/* bayi değilse tıklanınca bayilik modalı açılır (data-open-bayi) → tüm kutu tıklanabilir */
.dealer-cta {
  background: linear-gradient(135deg, #FFF1D8 0%, #FFE5C2 100%);
  border-radius: var(--radius-md);       /* merkezi (=0) */
  padding: 16px;
  margin-top: 10px;
  display: flex; align-items: center; gap: 14px;
  font-size: 14px;
  cursor: pointer;
  transition: box-shadow .18s, transform .18s;
}
.dealer-cta:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.dealer-cta .ic {
  width: 42px; height: 42px; border-radius: 0;
  background: var(--c-amber); color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.dealer-cta .ic svg { width: 21px; height: 21px; }
.dealer-cta a {
  color: var(--c-ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--c-amber);
}

.dealer-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .04em;
}
/* bayi (kazanç) rozeti — zarif şampanya-altını: yumuşak zemin + ince kayan parıltı, kart ile uyumlu */
.dealer-badge.on {
  position: relative;
  overflow: hidden;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  letter-spacing: .01em;
  color: #8A6A22;
  background: linear-gradient(180deg, #FBF5DF 0%, #F4E7BE 100%);
  border: 1px solid #ECE0B4;
  box-shadow: 0 1px 3px rgba(180,140,40,.10);
}
.dealer-badge.on::after {
  content: "";
  position: absolute; top: 0; left: -50%;
  width: 36%; height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.6) 50%, transparent 100%);
  transform: skewX(-18deg);
  animation: dealerGoldShine 4.6s ease-in-out infinite;
  pointer-events: none;
}
.dealer-badge.on .dot { background: #C79A2E; }
.dealer-badge.on .earn { font-weight: 800; color: #6F5416; }
.dealer-badge.off { background: var(--c-amber-soft); color: #B47F25; }
.dealer-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
@keyframes dealerGoldShine {
  0% { left: -50%; }
  40% { left: 120%; }
  100% { left: 120%; }
}
@media (prefers-reduced-motion: reduce) {
  .dealer-badge.on::after { display: none; }
}

/* ---- form fields (selects, etc) ---- */
.field {
  display: flex; flex-direction: column; gap: 6px;
}
.field label {
  font-size: 13.5px; font-weight: 700;
  color: var(--c-ink);
  letter-spacing: .02em;
}
/* diğer .side-box .l-label kutu başlıklarıyla (ör. "Bayilik Grubunda Sepette") aynı çizgili
   başlık deseni — sadece bu class eklenen alan etiketlerinde (özelliğe göre sırayla eklenecek) */
/* .side-box .l-label merkezi stili aynen geçerli — .field zaten flex gap ile ayırdığı için
   yalnız fazladan alt boşluğu (margin-bottom) burada iptal ediyoruz. */
.field .l-label { margin-bottom: 0; }
.field .hint {
  font-size: 12.5px; color: var(--c-muted);
  margin-top: 2px;
  line-height: 1.5;
}
.field select,
.field input[type="text"] {
  font-family: inherit;
  width: 100%;
  font-size: 13.5px;
  padding: 12px 14px;
  border: 1.5px solid var(--c-line);
  border-radius: 10px;
  background: var(--c-surface);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238A93A3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 38px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  color: var(--c-ink);
}
.field input[type="text"] {
  background-image: none;
  padding-right: 14px;
}
.field select:focus,
.field input[type="text"]:focus {
  outline: none;
  border-color: var(--c-mint);
  box-shadow: 0 0 0 4px rgba(var(--c-accent-rgb), .12);
}

/* gift info banner */
.gift-banner {
  background: linear-gradient(135deg, var(--c-mint-soft) 0%, #D7F5E9 100%);
  border: 1px solid #B8E6D4;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
  margin-top: 10px;
}
.gift-banner .ic {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--c-mint);
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.gift-banner .ic svg { width: 16px; height: 16px; }
.gift-banner b { display: block; font-size: 12px; font-weight: 800; color: var(--c-mint-deep); letter-spacing: .04em; }
.gift-banner span { font-size: 11.5px; color: var(--c-ink-soft); }
/* 🪤 Hediye kaleminin dropdown etiketindeki fiyatı U+0336 (combining long stroke) ile üzeri
   çizili basılır (js/detail.js strikeText). Sayfanın webfont'unda bu glif YOK → tarayıcı mark'ı
   rastgele bir fallback font'tan alıyor ve çizgi rakamların ALTINDA kalıyordu. Bu iki select'i
   U+0336'yı rakamlarla aynı fontta ve TAM ORTADAN veren sistem yığınına sabitliyoruz.
   ⚠️ font-family'yi buradan kaldırma — çizgi tekrar aşağı kayar. */
#sel-domain, #sel-hosting,
#sel-domain option, #sel-hosting option {
  font-family: "Segoe UI", Tahoma, Arial, Helvetica, sans-serif;
}

/* (Kaldırıldı) .gift-price-note şeridi — üzeri çizili hediye fiyatı yalnız dropdown option
   etiketinde gösteriliyor (js/detail.js strikeText, U+0336). */

/* gift banner — domain uzantı kartı (çok satır + chip'ler): ikon üste hizalı, dikey gövde */
.gift-banner.gift-ext { align-items: flex-start; padding: 13px 14px; }
.gift-banner.gift-ext .ic { width: 32px; height: 32px; margin-top: 1px; }
.gift-banner.gift-ext .ic svg { width: 17px; height: 17px; }
.gift-ext-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.gift-ext-body b { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.gift-ext-sub { font-size: 12.5px; line-height: 1.45; color: var(--c-ink-soft); }
.gift-ext .exts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.gift-ext .ext-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 700; line-height: 1.5;
  color: var(--c-mint-deep);
  background: rgba(255, 255, 255, .78);
  border: 1px solid #B8E6D4;
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
}

/* snapshot preview */
.snapshot {
  margin-top: 10px;
  padding: 14px;
  background: var(--c-bg-2);
  border-radius: 12px;
  font-size: 12px;
}
.snapshot > b {
  display: block;
  font-size: 11px; font-weight: 800;
  color: var(--c-muted); letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
/* paket başlığı satırı: sunucu ikonu + ad + meta (açıklama · süre · faturalama) */
.snap-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.snap-ic {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 9px;
  background: var(--c-mint-soft);
  color: var(--c-mint-deep);
  display: grid; place-items: center;
}
.snap-ic svg { width: 18px; height: 18px; }
.snap-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.snap-name { font-size: 13.5px; font-weight: 800; color: var(--c-ink); line-height: 1.3; }
.snap-meta { font-size: 11.5px; color: var(--c-ink-soft); line-height: 1.45; }
.snapshot ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.snapshot ul li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 12.5px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--c-line-2);
}
.snapshot ul li:last-child { border-bottom: none; }
.snap-fic {
  flex-shrink: 0; margin-top: 1px;
  color: var(--c-mint-deep);
  display: inline-grid; place-items: center;
}
.snap-ft { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.snap-ftt { font-weight: 700; color: var(--c-ink); }
.snap-fd { font-size: 11px; color: var(--c-ink-soft); line-height: 1.4; font-weight: 400; }

/* extras checkbox list */
.extras { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.extra-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--c-line);
  border-radius: 12px;
  cursor: pointer;
  transition: all .15s;
  background: var(--c-surface);
}
.extra-item:hover { border-color: var(--c-line-2); background: #FAFAF8; }
.extra-item.is-checked {
  border-color: var(--c-mint);
  background: var(--c-mint-soft);
}
.extra-item .box {
  width: 22px; height: 22px;
  border-radius: 7px;
  border: 1.5px solid var(--c-line-2);
  background: var(--c-surface);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all .15s;
}
.extra-item.is-checked .box {
  background: var(--c-mint);
  border-color: var(--c-mint);
}
.extra-item .box svg {
  width: 12px; height: 12px; color: #fff;
  opacity: 0; transition: opacity .15s;
}
.extra-item.is-checked .box svg { opacity: 1; }
.extra-item .name { flex: 1; font-size: 13px; font-weight: 600; color: var(--c-ink); }
.extra-item .price-col {
  display: flex; flex-direction: column; align-items: flex-end;
  font-size: 13px; font-weight: 800; color: var(--c-ink);
}
/* üzeri çizili fiyat — çizgi fontun strikeout metriğine değil, kutunun TAM ortasına oturur
   (line-through bu webfont'ta rakamların altına kayıyordu). */
.extra-item .price-col .old {
  font-size: 11px; color: var(--c-muted);
  font-weight: 600;
  position: relative; display: inline-block;
  text-decoration: none;
}
.extra-item .price-col .old::after {
  content: ""; position: absolute; left: -1px; right: -1px; top: 50%;
  height: 1.5px; transform: translateY(-50%);
  background: var(--c-coral, #E2725B);
  border-radius: 2px; pointer-events: none;
}

/* order summary */
.summary {
  font-size: 14px;
}
.summary .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  color: var(--c-ink-soft);
}
.summary .row b { color: var(--c-ink); font-weight: 600; }
.summary .row.hidden { display: none; }
.summary .row.kdv {
  border-top: 1px dashed var(--c-line);
  margin-top: 4px; padding-top: 12px;
}
.summary .row.total {
  border-top: 2px solid var(--c-ink);
  margin-top: 8px; padding-top: 14px;
  font-size: 15px;
  color: var(--c-ink);
}
.summary .row.total b {
  font-size: 22px; font-weight: 800; letter-spacing: -.01em;
}
.summary .row.discount b { color: var(--c-mint-deep); }

/* sticky purchase buttons */
.buy-actions {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 16px;
}
.btn-buy {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 22px;
  background: var(--c-ink);
  color: #fff;
  border-radius: 12px;
  font-weight: 800; font-size: 14.5px;
  transition: all .18s;
  width: 100%;
}
.btn-buy:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(26, 31, 46, .25);
}
.btn-buy.fav {
  background: var(--c-surface); color: var(--c-ink);
  border: 1.5px solid var(--c-line);
}
.btn-buy.fav:hover {
  border-color: var(--c-coral);
  color: var(--c-coral);
}
.btn-buy.fav.is-faved {
  background: var(--c-coral-soft); color: var(--c-coral); border-color: var(--c-coral);
}
.btn-buy.fav.is-faved svg { fill: currentColor; }
.btn-buy.wp {
  background: #25D366; color: #fff;
}
.btn-buy.wp:hover { background: #1FB855; }

/* secure note */
.secure-note {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px;
  padding: 12px;
  background: var(--c-bg-2);
  border-radius: 10px;
  font-size: 11.5px; color: var(--c-ink-soft);
  text-wrap: pretty;
}
.secure-note svg { width: 14px; height: 14px; color: var(--c-mint-deep); flex-shrink: 0; }
.credit-note {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 13.5px; line-height: 1.55;
  background: var(--c-amber-soft); color: #92600e;
  border: 1px solid rgba(0,0,0,.05);
  text-wrap: pretty;
}
.credit-note.ok { background: var(--c-mint-soft); color: var(--c-mint-deep); }
.credit-note b { font-weight: 800; font-size: 14.5px; }

/* ===================================================================
   GALLERY LIGHTBOX
   =================================================================== */
.lightbox-backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 19, 28, .92);
  z-index: 240;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox-backdrop.is-open { display: flex; animation: wzFade .25s ease; }
.lightbox-frame {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: calc(100vh - 80px);
  border-radius: 16px;
  overflow: hidden;
  background: var(--c-surface);
  box-shadow: 0 50px 120px rgba(0,0,0,.5);
}
.lightbox-frame .pane {
  width: 100%;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}
.lightbox-frame .pane svg,
.lightbox-frame .pane img { width: 100%; display: block; }

.lightbox-nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.3);
  z-index: 5;
  transition: transform .15s;
}
.lightbox-nav:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-nav.prev { left: 14px; }
.lightbox-nav.next { right: 14px; }
.lightbox-nav svg { width: 18px; height: 18px; }
.lightbox-close {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  display: grid; place-items: center;
  z-index: 5;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.lightbox-close svg { width: 16px; height: 16px; }
.lightbox-counter {
  position: absolute; bottom: 14px; left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 5;
}

/* ===================================================================
   MOBILE STICKY CHECKOUT BAR
   =================================================================== */
.mobile-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--c-surface);
  border-top: 1px solid var(--c-line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: none;
  align-items: center; gap: 12px;
  z-index: 60;
  box-shadow: 0 -8px 22px rgba(0,0,0,.06);
}
.mobile-cta-bar .price-mini { display: flex; flex-direction: column; }
.mobile-cta-bar .price-mini b { font-size: 18px; font-weight: 800; line-height: 1; }
.mobile-cta-bar .price-mini span { font-size: 10.5px; color: var(--c-muted); margin-top: 2px; }
.mobile-cta-bar .btn-buy { flex: 1; padding: 14px 18px; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 980px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .detail-side {
    position: static;
  }
  .detail-image { height: 380px; }
  /* .detail-card h1 boyutu artık merkezi .sec-title'dan (masaüstü 40px / ≤640px 29px) */
  .tab-btn { font-size: 14px; padding: 14px 8px; gap: 5px; }
}

@media (max-width: 640px) {
  .detail-page { padding: 24px 0 100px; }
  .detail-image { height: 360px; }
  /* dokunmatik: hover yok → çoklu görselde ok'lar + "Diğer Görseller" hep görünür */
  .detail-image.has-multi .img-nav,
  .detail-image.has-multi .img-more { opacity: 1; pointer-events: auto; }
  .detail-actions { gap: 8px; }                         /* mobilde de 2'li satır kalsın */
  .detail-action { font-size: 13px; padding: 13px 10px; gap: 7px; }
  .detail-card .head { padding: 22px 20px 0; }
  .tabs { padding: 0 20px; }
  .tab-body { padding: 22px 20px 24px; }
  .tab-panel ul.bullets { grid-template-columns: 1fr; }
  /* Breadcrumb: mobilde tek satır kalsın, taşarsa sağa doğru kaydırılsın (alt alta sarmasın) */
  .crumb {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 18px;
  }
  .crumb::-webkit-scrollbar { display: none; }
  .crumb > * { flex: 0 0 auto; white-space: nowrap; }
  /* Bayilik grubu kartları: mobilde de bir sırada 2 kart (kompakt) */
  .dealer-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .dealer-card { padding: 12px; }
  .dealer-card .name { font-size: 15px; }
  .dealer-card .sub { font-size: 11px; margin-bottom: 2px; }
  .dealer-card .price { font-size: 18px; }
  .acc-a-inner { padding-left: 16px; }
  .price-now { font-size: 34px; }
  .mobile-cta-bar { display: flex; }
  /* lightbox (ekran görüntüsü) mobilde: ok'lar kenara, padding kompakt */
  .lightbox-backdrop { padding: 12px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
  .lightbox-close { top: 10px; right: 10px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BAYİLİK HEDİYE DAVETİ (§20.25)
   Kullanıcının bayilik hediye hakkı varsa ve baktığı website hediye kapsamındaysa
   (kategori bazlı VEYA tekil seçilmiş) fiyat kutusunun yanında çıkar.
   Kapsam kontrolü SUNUCUDA yapılır — bu kutu yalnız gerçekten hakkı olana render edilir.
   ═══════════════════════════════════════════════════════════════════════════ */
.bayi-hediye-teklif {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit;
  border: 1.5px solid var(--c-mint); background: var(--c-mint-soft);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  position: relative; overflow: hidden;
}
.bayi-hediye-teklif::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, .45) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}
.bayi-hediye-teklif:hover { transform: translateY(-2px); border-color: var(--c-mint-deep); box-shadow: 0 10px 24px rgba(var(--c-accent-rgb), .22); }
.bayi-hediye-teklif:hover::before { transform: translateX(120%); }
.bayi-hediye-teklif:focus-visible { outline: 3px solid var(--c-mint-deep); outline-offset: 2px; }

.bayi-hediye-teklif .bht-ic {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--c-mint); color: #fff;
}
.bayi-hediye-teklif .bht-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bayi-hediye-teklif .bht-tx b { font-size: 15px; font-weight: 800; color: var(--c-mint-deep); line-height: 1.25; }
.bayi-hediye-teklif .bht-tx span { font-size: 13px; line-height: 1.45; color: var(--c-ink, #12664e); opacity: .85; }
.bayi-hediye-teklif .bht-ok { margin-left: auto; flex-shrink: 0; color: var(--c-mint-deep); display: grid; place-items: center; }

@media (max-width: 480px) {
  .bayi-hediye-teklif { gap: 10px; padding: 14px; }
  .bayi-hediye-teklif .bht-ic { width: 36px; height: 36px; border-radius: 10px; }
  .bayi-hediye-teklif .bht-tx b { font-size: 14px; }
}

