/* ─── RESET & VARS ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #FFFFFF;
  --black: #1D1D1F;
  --gray-1: #F5F5F7;
  --gray-2: #86868B;
  --gray-3: #D2D2D7;
  --gray-4: #6E6E73;
  --green: #1a6b3a;
  --wp: #25D366;
  --sari: #EFAB00;
  --sari-koyu: #C88E00;
  --font: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  --max: 1200px;
  --r-card: 18px;
  --r-btn: 980px;
  --nav-h: 52px;
}
@media (min-width:1024px) { :root { --nav-h: 56px; } }

html { scroll-behavior: smooth; overflow-x: hidden; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { font-family: var(--font); background: var(--white); color: var(--black); -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* ─── BREADCRUMB ─── */
.d-breadcrumb {
  padding-top: calc(var(--nav-h) + 20px);
  padding-left: 24px; padding-right: 24px; padding-bottom: 24px;
  background: var(--black);
}
@media (min-width:768px) { .d-breadcrumb { padding-left: 40px; padding-right: 40px; padding-bottom: 20px; } }
.d-bc-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,0.4); flex-wrap: wrap;
}
.d-bc-inner a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color .15s; }
.d-bc-inner a:hover { color: rgba(255,255,255,.75); }
.d-bc-inner span:not(:last-child) { font-size: 10px; }

/* ─── HERO ─── */
.d-hero { background: var(--black); padding: 0 24px 56px; }
@media (min-width:768px) { .d-hero { padding: 0 40px 64px; } }

.d-hero-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr;
  gap: 32px; align-items: start;
}
@media (min-width:960px) {
  .d-hero-inner { grid-template-columns: 1fr 380px; gap: 40px; }
}
@media (min-width:1100px) {
  .d-hero-inner { grid-template-columns: 1fr 420px; }
}

/* ─── SLİDER ─── */
.d-foto-kol { overflow: hidden; min-width: 0; max-width: 100%; width: 100%; }
.d-slider-wrap { display: flex; flex-direction: column; gap: 10px; max-width: 100%; overflow: hidden; }

.d-slider-vp {
  position: relative; width: 100%; max-width: 100%; aspect-ratio: 16/10;
  overflow: hidden; background: #111; border: 1px solid rgba(255,255,255,.32); border-radius: var(--r-card);
  max-height: 480px;
}
@media (max-width:480px) { .d-slider-vp { aspect-ratio: 4/3; max-height: 280px; } }
@media (min-width:481px) and (max-width:959px) { .d-slider-vp { max-height: 380px; } }

/* ─── LIGHTBOX ─── */
.d-lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.95); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; flex-direction: column;
}
.d-lightbox.open { display: flex; }
.d-lightbox-img {
  max-width: 95vw; max-height: 85vh; object-fit: contain;
  border-radius: 8px; user-select: none;
}
.d-lightbox-close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: none; cursor: pointer;
  color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center;
  z-index: 10;
}
.d-lightbox-close:hover { background: rgba(255,255,255,.3); }
.d-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: none; cursor: pointer;
  color: #fff; font-size: 24px; display: flex; align-items: center; justify-content: center;
}
.d-lightbox-nav:hover { background: rgba(255,255,255,.3); }
.d-lightbox-prev { left: 16px; }
.d-lightbox-next { right: 16px; }
.d-lightbox-counter {
  position: absolute; bottom: 20px;
  color: rgba(255,255,255,.6); font-size: 13px; font-weight: 500;
}
@media (max-width:480px) { .d-slider-vp { border-radius: 12px; } }

.d-slide {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important; max-width: 100% !important;
  object-fit: contain;
  opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.d-slide.active { opacity: 1; pointer-events: auto; }

.d-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 44px; height: 44px; border-radius: 50%;
  background-color: rgba(0,0,0,.62); border: 1px solid rgba(255,255,255,.28);
  color: #fff; cursor: pointer; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  transition: none;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
}
.d-arrow:hover,
.d-arrow:focus,
.d-arrow:active {
  background-color: rgba(0,0,0,.62);
}
.d-arrow-l { left: 14px; }
.d-arrow-r { right: 14px; }

.d-counter {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px;
  pointer-events: none; backdrop-filter: blur(6px); z-index: 20;
}

.d-thumbs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.d-thumbs::-webkit-scrollbar { display: none; }
.d-thumb {
  flex-shrink: 0; width: 72px; height: 54px;
  border-radius: 8px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; transition: border-color .15s, opacity .15s;
  opacity: .6; background: none; padding: 0;
}
.d-thumb img { width: 100%; height: 100%; object-fit: cover; }
.d-thumb:hover { opacity: .85; }
.d-thumb.active { border-color: rgba(255,255,255,.7); opacity: 1; }

/* ─── BİLGİ PANELİ ─── */
.d-bilgi-kol { display: flex; flex-direction: column; }

.d-bilgi-panel {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-card); padding: 0;
  display: flex; flex-direction: column; overflow: hidden;
}
@media (min-width:960px) {
  .d-bilgi-panel { position: sticky; top: calc(var(--nav-h) + 16px); }
}

/* TSE Ekspertiz Bandı */
.d-tse-bant {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 20px;
  background: rgba(26,107,58,.2); border-bottom: 1px solid rgba(26,107,58,.35);
  text-decoration: none; transition: background .15s;
}
.d-tse-bant:hover { background: rgba(26,107,58,.3); }
.d-tse-bant-sol {
  display: flex; align-items: center; gap: 10px;
}
.d-tse-bant-sol .material-symbols-outlined {
  font-size: 22px; color: #4ade80; flex-shrink: 0;
  font-variation-settings: 'FILL' 1,'wght' 500,'GRAD' 0,'opsz' 24;
}
.d-tse-bant-baslik { font-size: 13px; font-weight: 600; color: #fff; line-height: 1.3; }
.d-tse-bant-alt { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 1px; }
.d-tse-bant-indir {
  display: flex; align-items: center; gap: 5px; flex-shrink: 0;
  font-size: 11px; font-weight: 600; color: #4ade80; white-space: nowrap;
}
.d-tse-bant-indir .material-symbols-outlined { font-size: 15px; }

/* İçerik alanı padding */
.d-bilgi-panel > h1,
.d-bilgi-panel > .d-panel-etiketler,
.d-bilgi-panel > .d-panel-ayrac,
.d-bilgi-panel > .d-fiyat-blok,
.d-bilgi-panel > .d-ctalar {
  padding-left: 20px; padding-right: 20px;
}
.d-bilgi-panel > h1 { padding-top: 20px; }
@media (min-width:960px) {
  .d-bilgi-panel > h1,
  .d-bilgi-panel > .d-panel-etiketler,
  .d-bilgi-panel > .d-panel-ayrac,
  .d-bilgi-panel > .d-fiyat-blok,
  .d-bilgi-panel > .d-ctalar { padding-left: 24px; padding-right: 24px; }
  .d-bilgi-panel > h1 { padding-top: 24px; }
}

.d-panel-baslik {
  font-size: clamp(18px, 2.2vw, 24px); font-weight: 600;
  letter-spacing: -.02em; line-height: 1.25; color: #fff;
  margin-bottom: 12px;
}

.d-panel-etiketler { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.d-etiket {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 11px; border-radius: 6px; font-size: 11px; font-weight: 500;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
}
.d-etiket .material-symbols-outlined { font-size: 13px; font-variation-settings: 'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 20; }

.d-panel-ayrac { height: 1px; background: rgba(255,255,255,.12); margin-bottom: 18px; }

.d-fiyat-blok { margin-bottom: 18px; }
.d-fiyat-label { font-size: 11px; color: rgba(255,255,255,.45); margin-bottom: 3px; }
.d-fiyat { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -.03em; color: #fff; }
.d-fiyat.satildi { font-size: 18px; color: rgba(255,255,255,.4); font-weight: 500; }

/* CTAlar */
.d-ctalar { display: flex; flex-direction: column; gap: 9px; margin-bottom: 0; padding-bottom: 18px; }

.d-btn-iletisim {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 20px; border-radius: 14px;
  background: #fff; color: var(--black);
  font-size: 15px; font-weight: 600; border: none; cursor: pointer;
  font-family: var(--font); transition: opacity .2s, transform .15s;
}
.d-btn-iletisim:hover { opacity: .9; transform: scale(1.01); }
.d-btn-iletisim .material-symbols-outlined { font-size: 19px; font-variation-settings: 'FILL' 1,'wght' 500,'GRAD' 0,'opsz' 20; }

.d-btn-ikincil-sira { display: flex; gap: 8px; }

.d-btn-ikincil {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 14px; border-radius: 12px;
  background: transparent; color: rgba(255,255,255,.8);
  font-size: 13px; font-weight: 500; border: 1px solid rgba(255,255,255,.22);
  cursor: pointer; font-family: var(--font); transition: border-color .15s;
}
.d-btn-ikincil:hover { border-color: rgba(255,255,255,.5); }
.d-btn-ikincil .material-symbols-outlined { font-size: 16px; }

.d-btn-paylasim {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.7);
  cursor: pointer; transition: background .15s;
}
.d-btn-paylasim:hover { background: rgba(255,255,255,.2); }
.d-btn-paylasim .material-symbols-outlined { font-size: 18px; }

/* ─── DANIŞMAN KARTI ─── */
.d-danismanlar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 20px;
}
@media (min-width:960px) { .d-danismanlar { padding: 16px 24px; } }

.d-danisan {
  display: flex; align-items: center; gap: 12px;
}
.d-danisan-foto, .d-danisan-avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.2);
}
.d-danisan-avatar {
  background: rgba(255,255,255,.1); display: flex;
  align-items: center; justify-content: center;
}
.d-danisan-avatar .material-symbols-outlined { font-size: 22px; color: rgba(255,255,255,.4); }
.d-danisan-bilgi { flex: 1; min-width: 0; }
.d-danisan-ad { font-size: 13px; font-weight: 600; color: #fff; }
.d-danisan-unvan { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 1px; }
.d-danisan-ara {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: background .15s, width .15s;
}
@media (min-width: 768px) {
  .d-danisan-ara {
    width: auto;
    height: 38px;
    padding: 0 14px;
    border-radius: 20px;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
  }
}
.d-danisan-ara:hover { background: rgba(255,255,255,.2); }
.d-danisan-ara .material-symbols-outlined {
  font-size: 18px; color: rgba(255,255,255,.75);
  font-variation-settings: 'FILL' 1,'wght' 400,'GRAD' 0,'opsz' 20;
}

/* ─── HIZLI ÖZELLİKLER ─── */
.d-hizli {
  background: var(--gray-1);
  border-bottom: 1px solid var(--gray-3);
  padding: 24px 24px;
  content-visibility: visible;
  contain-intrinsic-size: auto none;
}
@media (min-width:768px) { .d-hizli { padding: 32px 40px; } }

.d-hizli-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--gray-3);
  border: 1px solid var(--gray-3); border-radius: 14px; overflow: hidden;
}
@media (min-width:600px) { .d-hizli-inner { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }

.d-hizli-kart {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; padding: 18px 12px; background: var(--white); text-align: center;
}
.d-hizli-kart .material-symbols-outlined {
  font-size: 22px; color: var(--gray-2); margin-bottom: 2px;
  font-variation-settings: 'FILL' 0,'wght' 300,'GRAD' 0,'opsz' 24;
}
.d-hizli-deger { font-size: 14px; font-weight: 600; color: var(--black); }
.d-hizli-adi { font-size: 11px; color: var(--gray-2); }

/* ─── TABS ─── */
#ozellikler {
  content-visibility: visible !important;
  contain: none !important;
  contain-intrinsic-size: 0 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

.d-tab-bar {
  border-bottom: 1px solid var(--gray-3); padding: 0 24px;
  position: static; top: auto; z-index: 40;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  overflow-x: auto; scrollbar-width: none;
  content-visibility: visible !important;
  contain: none !important;
  contain-intrinsic-size: 0 0 !important;
}
.d-tab-bar::-webkit-scrollbar { display: none; }
@media (min-width:768px) { .d-tab-bar { padding: 0 40px; } }

.d-tab-list { display: flex; max-width: var(--max); margin: 0 auto; }
.d-tab-btn {
  padding: 16px 20px; font-size: 15px; font-weight: 500;
  color: var(--gray-2); background: none; border: none;
  border-bottom: 2px solid transparent; cursor: pointer;
  font-family: var(--font); white-space: nowrap; transition: color .15s, border-color .15s;
}
.d-tab-btn.active { color: var(--black); border-bottom-color: var(--black); }
.d-tab-btn:hover:not(.active) { color: var(--black); }

.d-tab-panel { display: none; padding: 28px 24px 80px; }
@media (min-width:768px) { .d-tab-panel { padding: 32px 40px 96px; } }
.d-tab-panel.active { display: block; }
.d-tab-inner { max-width: var(--max); margin: 0 auto; }

.d-donanim-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: -4px 0 22px auto;
  font-size: 12px;
  color: var(--gray-2);
}
.d-donanim-legend strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 14px;
  color: var(--black);
  font-size: 12px;
  font-weight: 600;
}

.d-ozellik-grid { display: grid; grid-template-columns: 1fr; }
.d-ozellik-grid-4 { gap: 32px; }
@media (min-width:600px) { .d-ozellik-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:900px) { .d-ozellik-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.d-ozellik-grup { display: flex; flex-direction: column; }
.d-grup-baslik {
  font-size: 11px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gray-2);
  padding-bottom: 10px; border-bottom: 1px solid var(--gray-3); margin-bottom: 4px;
}
.d-ozellik-satir {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--gray-1);
}
.d-ozellik-satir:last-child { border-bottom: none; }
.d-ozellik-satir .adi { font-size: 13px; color: var(--gray-4); }
.d-ozellik-satir .deger { font-size: 13px; font-weight: 500; color: var(--black); text-align: right; }
.d-dipnot { font-size: 11px; color: var(--gray-2); margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--gray-3); }

/* Ekspertiz */
.d-ekspertiz-banner {
  background: var(--gray-1); border: 1px solid var(--gray-3);
  border-radius: var(--r-card); padding: 32px;
  display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px;
}
@media (min-width:768px) {
  .d-ekspertiz-banner { flex-direction: row; align-items: center; justify-content: space-between; padding: 40px 48px; }
}
.d-eks-sol { display: flex; flex-direction: column; gap: 10px; }
.d-eks-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--gray-3);
  padding: 8px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 600; color: var(--black);
  text-decoration: none; align-self: flex-start;
}
.d-eks-badge .material-symbols-outlined {
  font-size: 16px; color: var(--green);
  font-variation-settings: 'FILL' 1,'wght' 500,'GRAD' 0,'opsz' 20;
}
.d-eks-sol p { font-size: 14px; color: var(--gray-2); max-width: 380px; }
.d-eks-rapor-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--r-btn);
  background: var(--black); color: var(--white);
  font-size: 14px; font-weight: 500; text-decoration: none;
  white-space: nowrap; flex-shrink: 0; transition: opacity .2s;
}
.d-eks-rapor-btn:hover { opacity: .85; }
.d-eks-rapor-btn .material-symbols-outlined { font-size: 17px; }

.d-kaporta-baslik {
  font-size: 11px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gray-2); margin-bottom: 12px;
}
.d-hasar-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; background: var(--gray-3);
  border: 1px solid var(--gray-3); border-radius: 12px; overflow: hidden;
}
@media (min-width:600px) { .d-hasar-grid { grid-template-columns: repeat(2, 1fr); } }
.d-hasar-satir {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; background: var(--white); font-size: 13px;
}
.d-hasar-bolge { color: var(--gray-4); }
.d-hasar-durum { font-weight: 500; color: var(--black); }

/* ─── MOBİL STICKY CTA ─── */
.d-mobil-cta {
  display: flex; align-items: center; gap: 10px;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(255,255,255,.97); backdrop-filter: blur(20px);
  border-top: 1px solid var(--gray-3); padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px));
}
@media (min-width:960px) { .d-mobil-cta { display: none; } }

.d-mobil-fiyat {
  flex: 1; font-size: 16px; font-weight: 700;
  letter-spacing: -.02em; color: var(--black); white-space: nowrap;
}
.d-mobil-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 20px; border-radius: 10px;
  font-size: 14px; font-weight: 600; border: none; cursor: pointer;
  font-family: var(--font);
}
.d-mobil-iletisim { background: var(--black); color: var(--white); }

/* ─── FADE-UP ─── */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .4s ease-out, transform .4s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── MOBİL ─── */
@media (max-width:480px) {
  .d-hero { padding: 0 16px 48px; }
  .d-breadcrumb { padding-left: 16px; padding-right: 16px; padding-bottom: 20px; }
  .d-hizli { padding: 24px 16px; }
  .d-tab-bar { padding: 0 16px; }
  .d-tab-panel { padding: 24px 16px 80px; }
  .d-ekspertiz-banner { padding: 24px 20px; }
  .d-thumb { width: 60px; height: 45px; }
  .d-bilgi-panel > h1,
  .d-bilgi-panel > .d-panel-etiketler,
  .d-bilgi-panel > .d-panel-ayrac,
  .d-bilgi-panel > .d-fiyat-blok,
  .d-bilgi-panel > .d-ctalar { padding-left: 16px; padding-right: 16px; }
  .d-danismanlar { padding: 14px 16px; }
}
