/* =========================================================
   DEBİTEKNİK — Ürün ekosistemi (liste + detay + karşılaştırma)
   Design tokens'a bağlı, mobile-first, CLS-safe.
   ========================================================= */

/* ---------------------------------------------------------
   Global — sayfa temeli
   --------------------------------------------------------- */

.dbt-page {
  background: var(--paper);
  padding-block: clamp(1.25rem, 3vw, 2rem) clamp(3rem, 8vw, 6rem);
  min-height: 60vh;
}

/* .dbt-crumbs stili sections.css'e taşındı (her sayfada yüklenir) */

.dbt-heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.dbt-heading__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--ash-500);
}
.dbt-heading__title {
  font-family: var(--font-display);
  font-size: clamp(var(--fs-30), 5vw, var(--fs-48));
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  line-height: 1.05;
  color: var(--text);
  margin: 0;
}
.dbt-heading__lead {
  font-size: var(--fs-16);
  color: var(--text-soft);
  max-width: 60ch;
}
@media (min-width: 768px) {
  .dbt-heading__lead { font-size: var(--fs-18); }
}

/* ---------------------------------------------------------
   Button system
   --------------------------------------------------------- */

.dbt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0 var(--space-5);
  height: 44px;
  min-width: fit-content;
  font-family: var(--font-body);
  font-size: var(--fs-14);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast),
              border-color var(--dur-fast),
              box-shadow var(--dur-fast);
  white-space: nowrap;
  text-decoration: none;
  user-select: none;
}
.dbt-btn:hover { border-color: var(--ink-700); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.dbt-btn:active { transform: translateY(0); }
.dbt-btn svg { width: 16px; height: 16px; }
.dbt-btn--sm { height: 36px; padding: 0 var(--space-4); font-size: var(--fs-13); }
.dbt-btn--lg { height: 52px; padding: 0 var(--space-6); font-size: var(--fs-16); }
.dbt-btn--block { width: 100%; }
.dbt-btn--primary { background: var(--ink-900); color: var(--paper); border-color: var(--ink-900); }
.dbt-btn--primary:hover { background: var(--ink-800); border-color: var(--ink-800); }
.dbt-btn--accent { background: var(--ice-600); color: #fff; border-color: var(--ice-600); }
.dbt-btn--accent:hover { background: var(--ice-700); border-color: var(--ice-700); box-shadow: var(--shadow-ice); }
.dbt-btn--wa { background: #25d366; color: #fff; border-color: #25d366; }
.dbt-btn--wa:hover { background: #1ea952; border-color: #1ea952; }
.dbt-btn--ghost { background: transparent; border-color: transparent; color: var(--text-soft); }
.dbt-btn--ghost:hover { color: var(--text); background: var(--paper-soft); border-color: var(--paper-soft); }

/* ---------------------------------------------------------
   Product list — shell (mobile-first)
   --------------------------------------------------------- */

.dbt-shop {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

@media (min-width: 960px) {
  .dbt-shop {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-10);
    align-items: start;
  }
}

/* Aktif filtre chip'leri */
.dbt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.dbt-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 10px 6px 12px;
  background: var(--ink-900);
  color: var(--paper);
  border-radius: var(--radius-pill);
  font-size: var(--fs-13);
  font-weight: 500;
  border: 0;
  cursor: pointer;
  transition: background-color var(--dur-fast);
}
.dbt-chip:hover { background: var(--ink-800); }
.dbt-chip__x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  font-size: 12px;
  line-height: 1;
}
.dbt-chip__clear-all {
  padding: 6px 12px;
  font-size: var(--fs-12);
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dbt-chip__clear-all:hover { color: var(--text); }

/* ---------------------------------------------------------
   Filter panel
   --------------------------------------------------------- */

.dbt-filter {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
@media (min-width: 960px) {
  .dbt-filter {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
  }
}
.dbt-filter__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5);
  border-bottom: 1px solid var(--surface-line);
}
.dbt-filter__title {
  font-family: var(--font-display);
  font-size: var(--fs-18);
  font-weight: 500;
  margin: 0;
}
.dbt-filter__reset {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dbt-filter__reset:hover { color: var(--ink-800); }

.dbt-filter__group {
  border-bottom: 1px solid var(--surface-line);
}
.dbt-filter__group:last-of-type { border-bottom: 0; }
.dbt-filter__group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ash-600);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.dbt-filter__group summary::-webkit-details-marker { display: none; }
.dbt-filter__group summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--ash-500);
  border-bottom: 1.5px solid var(--ash-500);
  transform: rotate(-45deg);
  transition: transform var(--dur-base) var(--ease-out);
}
.dbt-filter__group[open] summary::after { transform: rotate(45deg); }
.dbt-filter__body {
  padding: 0 var(--space-5) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dbt-check {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 8px 6px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-size: var(--fs-14);
  color: var(--text);
  transition: background-color var(--dur-fast);
}
.dbt-check:hover { background: var(--paper-cool); }
.dbt-check input[type="checkbox"],
.dbt-check input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--paper-line-strong);
  border-radius: 4px;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
.dbt-check input[type="radio"] { border-radius: 50%; }
.dbt-check input:checked {
  background: var(--ink-900);
  border-color: var(--ink-900);
}
.dbt-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 2px; left: 5px;
  width: 5px; height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.dbt-check input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
}
.dbt-check__label { flex: 1; }
.dbt-check__count {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-muted);
}

.dbt-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}
.dbt-input {
  width: 100%;
  height: 40px;
  padding: 0 var(--space-3);
  font-family: var(--font-body);
  font-size: var(--fs-14);
  background: var(--paper-cool);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
.dbt-input:focus {
  outline: 0;
  border-color: var(--ice-500);
  background: var(--surface);
}

.dbt-filter__actions {
  padding: var(--space-5);
  display: flex;
  gap: var(--space-2);
  background: var(--paper-cool);
  border-top: 1px solid var(--surface-line);
}
@media (min-width: 960px) {
  .dbt-filter__actions { position: sticky; bottom: 0; }
}

/* Mobil filtre — bottom sheet */
.dbt-mob-filter-btn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  padding: 0 var(--space-6);
  height: 48px;
  background: var(--ink-900);
  color: var(--paper);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  border: 0;
  font-family: var(--font-body);
  font-size: var(--fs-14);
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
@media (min-width: 960px) { .dbt-mob-filter-btn { display: none; } }
.dbt-mob-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--ice-500);
  color: #fff;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
}

@media (max-width: 959px) {
  .dbt-filter[data-mobile="open"] {
    position: fixed;
    inset: 0;
    z-index: 80;
    border-radius: 0;
    max-height: 100vh;
    overflow-y: auto;
    animation: dbtSlideUp 0.28s var(--ease-out);
  }
  .dbt-filter:not([data-mobile="open"]) { display: none; }
}
@keyframes dbtSlideUp {
  from { transform: translateY(20%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ---------------------------------------------------------
   Product content — toolbar + grid
   --------------------------------------------------------- */

.dbt-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}
.dbt-toolbar__count {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  color: var(--text-soft);
}
.dbt-toolbar__count b { color: var(--text); font-weight: 600; }
.dbt-toolbar__sort {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.dbt-toolbar__sort label {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dbt-select {
  padding: 8px 32px 8px 12px;
  font-family: var(--font-body);
  font-size: var(--fs-14);
  color: var(--text);
  background: var(--paper-cool);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath fill='none' stroke='%236c7a8d' stroke-width='1.6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* ---------------------------------------------------------
   Product grid & card
   --------------------------------------------------------- */

.dbt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
}
@media (min-width: 768px) { .dbt-grid { gap: var(--space-5); } }

.dbt-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur-base), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
  position: relative;
  will-change: transform;
}
.dbt-card:hover {
  border-color: var(--ink-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.dbt-card__badges {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  right: var(--space-3);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-2);
  pointer-events: none;
}
.dbt-card__flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--paper);
  color: var(--ink-800);
  border: 1px solid var(--surface-line);
  pointer-events: auto;
}
.dbt-card__flag--featured { background: var(--ember-500); color: #fff; border-color: var(--ember-500); }
.dbt-card__flag--energy { background: #059669; color: #fff; border-color: #059669; }

.dbt-card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--paper-cool) 0%, var(--paper-soft) 100%);
  overflow: hidden;
  display: block;
}
.dbt-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.dbt-card:hover .dbt-card__img img { transform: scale(1.03); }
.dbt-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--paper-line-strong);
}
.dbt-card__placeholder svg { width: 44px; height: 44px; }

.dbt-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  flex: 1;
}
.dbt-card__brand {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash-600);
}
.dbt-card__title {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dbt-card__title a { color: inherit; text-decoration: none; }
.dbt-card__title a:hover { color: var(--ink-700); }
.dbt-card__model {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-muted);
}

.dbt-card__specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: var(--space-3);
  background: var(--paper-cool);
  border-radius: var(--radius-sm);
}
.dbt-spec { text-align: center; padding: 2px 0; }
.dbt-spec__val {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--ink-800);
  letter-spacing: -0.01em;
  font-feature-settings: "tnum";
}
.dbt-spec__lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 1px;
}

.dbt-card__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-2);
  margin-top: auto;
}
.dbt-card__compare {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dbt-card__compare:hover { color: var(--ink-800); }
.dbt-card__compare input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--paper-line-strong);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}
.dbt-card__compare input:checked {
  background: var(--ink-900);
  border-color: var(--ink-900);
}
.dbt-card__compare input:checked::after {
  content: "";
  position: absolute;
  top: 1px; left: 4px;
  width: 4px; height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.dbt-empty {
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) var(--space-5);
  background: var(--surface);
  border: 1px dashed var(--paper-line-strong);
  border-radius: var(--radius-md);
}
.dbt-empty svg { width: 56px; height: 56px; color: var(--paper-line-strong); margin: 0 auto var(--space-4); }
.dbt-empty h3 { font-family: var(--font-display); font-size: var(--fs-24); margin-bottom: var(--space-2); }
.dbt-empty p { color: var(--text-muted); margin-bottom: var(--space-5); }

.dbt-pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: var(--space-8);
  flex-wrap: wrap;
}
.dbt-pagination a,
.dbt-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-3);
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  color: var(--text-soft);
  text-decoration: none;
  transition: all var(--dur-fast);
}
.dbt-pagination a:hover { border-color: var(--ink-700); color: var(--text); }
.dbt-pagination .current {
  background: var(--ink-900);
  color: var(--paper);
  border-color: var(--ink-900);
  font-weight: 600;
}

/* ---------------------------------------------------------
   Product detail
   --------------------------------------------------------- */

.dbt-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 900px) {
  .dbt-detail {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
  }
}

.dbt-gallery { position: relative; }
.dbt-gallery__main {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--paper-cool) 0%, var(--paper-soft) 100%);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-3);
}
.dbt-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.dbt-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: var(--space-2);
}
.dbt-gallery__thumbs button {
  aspect-ratio: 1;
  padding: 0;
  border: 1.5px solid var(--surface-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: none;
  cursor: pointer;
  transition: border-color var(--dur-fast);
}
.dbt-gallery__thumbs button.is-active { border-color: var(--ink-900); }
.dbt-gallery__thumbs button:hover { border-color: var(--ink-700); }
.dbt-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.dbt-info { position: relative; }
@media (min-width: 900px) {
  .dbt-info { position: sticky; top: 100px; }
}
.dbt-info__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 4px 12px;
  background: var(--paper-cool);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-700);
  font-weight: 500;
  margin-bottom: var(--space-4);
}
.dbt-info__title {
  font-family: var(--font-display);
  font-size: clamp(var(--fs-24), 4vw, var(--fs-36));
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: var(--space-3);
}
.dbt-info__model {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}
.dbt-info__lead {
  font-size: var(--fs-16);
  line-height: 1.65;
  color: var(--text-soft);
  margin-bottom: var(--space-6);
}

.dbt-kpi {
  display: flex;
  flex-wrap: nowrap;
  gap: 1px;
  background: var(--surface-line);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-6);
}
.dbt-kpi__cell {
  flex: 1 1 0;
  min-width: 0;
  padding: var(--space-4);
  background: var(--surface);
  text-align: center;
}
/* Mobilde en fazla 4 parametre yan yana */
.dbt-kpi__cell:nth-child(n+5) { display: none; }
/* Masaüstünde en fazla 5 parametre yan yana */
@media (min-width: 720px) {
  .dbt-kpi__cell:nth-child(5) { display: block; }
  .dbt-kpi__cell:nth-child(n+6) { display: none; }
}
/* Mobilde 4 hücre sığsın diye sıkılaştır */
@media (max-width: 719.98px) {
  .dbt-kpi__cell { padding: var(--space-3) 4px; }
}
.dbt-kpi__val {
  font-family: var(--font-mono);
  font-size: clamp(var(--fs-18), 2.5vw, var(--fs-24));
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  font-feature-settings: "tnum";
  line-height: 1.1;
}
.dbt-kpi__lbl {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 4px;
}

.dbt-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
@media (min-width: 480px) { .dbt-cta { grid-template-columns: 1fr 1fr; } }

.dbt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.dbt-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--paper-cool);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-pill);
  font-size: var(--fs-13);
  color: var(--text-soft);
}
.dbt-tag--inverter { background: var(--ice-100); border-color: var(--ice-200); color: var(--ink-700); }
.dbt-tag--warranty { background: var(--paper-warm); border-color: var(--ember-300); color: var(--ember-600); }

/* Tabs */
.dbt-tabs { margin-top: clamp(3rem, 6vw, 4.5rem); }
.dbt-tabs__nav {
  display: flex;
  gap: var(--space-1);
  border-bottom: 1px solid var(--surface-line);
  margin-bottom: var(--space-6);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.dbt-tabs__nav::-webkit-scrollbar { display: none; }
.dbt-tabs__nav button {
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.dbt-tabs__nav button:hover { color: var(--text); }
.dbt-tabs__nav button.is-active {
  color: var(--ink-900);
  border-bottom-color: var(--ink-900);
  font-weight: 600;
}
.dbt-tabs__panel { display: none; }
.dbt-tabs__panel.is-active { display: block; animation: dbtFade .28s var(--ease-out); }
@keyframes dbtFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.dbt-prose {
  max-width: 68ch;
  font-size: var(--fs-16);
  line-height: 1.72;
  color: var(--text-soft);
}
.dbt-prose h2, .dbt-prose h3 { color: var(--text); margin-top: var(--space-6); margin-bottom: var(--space-2); }
.dbt-prose p { margin-bottom: var(--space-4); }
.dbt-prose ul { padding-left: var(--space-5); margin-bottom: var(--space-4); list-style: disc; }
.dbt-prose ul li { margin-bottom: var(--space-2); }

.dbt-specs {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.dbt-specs__group {
  padding: var(--space-3) var(--space-4);
  background: var(--paper-cool);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ash-600);
  border-top: 1px solid var(--surface-line);
}
.dbt-specs__group:first-child { border-top: 0; }
.dbt-specs tr { border-top: 1px solid var(--surface-line); }
.dbt-specs th, .dbt-specs td { padding: var(--space-3) var(--space-4); text-align: left; }
.dbt-specs th { font-weight: 500; color: var(--text-soft); width: 45%; font-size: var(--fs-14); }
.dbt-specs td { font-family: var(--font-mono); font-size: var(--fs-14); color: var(--ink-900); font-feature-settings: "tnum"; }

.dbt-pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-3);
}
.dbt-pdf {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text);
  transition: border-color var(--dur-fast);
}
.dbt-pdf:hover { border-color: var(--ink-700); }
.dbt-pdf__icon { color: var(--ember-500); flex-shrink: 0; }
.dbt-pdf__icon svg { width: 36px; height: 36px; }
.dbt-pdf__body { min-width: 0; }
.dbt-pdf__title { font-weight: 500; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dbt-pdf__meta { font-family: var(--font-mono); font-size: var(--fs-12); color: var(--text-muted); }

.dbt-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
}
.dbt-video {
  display: block;
  text-decoration: none;
  color: var(--text);
}
.dbt-video__thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--ink-900);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-2);
}
.dbt-video__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: opacity var(--dur-base); }
.dbt-video:hover .dbt-video__thumb img { opacity: 1; }
.dbt-video__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.94);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dbt-video__play svg { width: 20px; height: 20px; color: var(--ink-900); margin-left: 3px; }
.dbt-video__title { font-weight: 500; }

/* ---------------------------------------------------------
   Karşılaştırma
   --------------------------------------------------------- */

.dbt-compare {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.dbt-compare__inner {
  display: grid;
  min-width: max-content;
}

.dbt-compare__row {
  display: contents;
}
.dbt-compare__cell,
.dbt-compare__label {
  padding: var(--space-4);
  border-bottom: 1px solid var(--surface-line);
  border-right: 1px solid var(--surface-line);
  min-width: 0;
}
.dbt-compare__cell:last-child,
.dbt-compare__label:last-child { border-right: 0; }
.dbt-compare__label {
  position: sticky;
  left: 0;
  background: var(--paper-cool);
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  color: var(--text-soft);
  z-index: 2;
  border-right: 1px solid var(--surface-line-strong);
  scroll-snap-align: start;
}
.dbt-compare__cell {
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  color: var(--ink-900);
  text-align: center;
  font-feature-settings: "tnum";
  scroll-snap-align: start;
}
.dbt-compare__cell.is-best {
  background: rgba(5, 150, 105, 0.08);
  color: #047857;
  font-weight: 700;
}
.dbt-compare__cell.is-best::before {
  content: "★";
  color: #059669;
  margin-right: 6px;
}
.dbt-compare__cell.is-diff { background: var(--paper-warm); }

.dbt-compare__head {
  padding: var(--space-4);
  border-bottom: 1px solid var(--surface-line);
  border-right: 1px solid var(--surface-line);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 3;
  scroll-snap-align: start;
}
.dbt-compare__head:last-child { border-right: 0; }
.dbt-compare__head-blank {
  position: sticky;
  left: 0;
  z-index: 4;
  background: var(--paper-cool);
  border-right: 1px solid var(--surface-line-strong);
  border-bottom: 1px solid var(--surface-line);
}
.dbt-compare__thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--paper-cool) 0%, var(--paper-soft) 100%);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: var(--space-3);
}
.dbt-compare__thumb img { width: 100%; height: 100%; object-fit: cover; }
.dbt-compare__title {
  font-family: var(--font-body);
  font-size: var(--fs-15);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}
.dbt-compare__brand {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dbt-compare__remove {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-2);
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: #dc2626;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dbt-compare__remove:hover { text-decoration: underline; }

.dbt-compare-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.dbt-compare-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--fs-14);
  color: var(--text-soft);
  transition: all var(--dur-fast);
}
.dbt-compare-toggle:hover { border-color: var(--ink-700); color: var(--text); }
.dbt-compare-toggle.is-on {
  background: var(--ink-900);
  color: var(--paper);
  border-color: var(--ink-900);
}
.dbt-compare-toggle input { display: none; }

@media print {
  .dbt-btn, .dbt-compare__remove, .dbt-compare-controls, .dbt-crumbs, .topbar, .header, .footer, .sticky-actions, .compare-bar, .dbt-mob-filter-btn { display: none !important; }
  .dbt-compare { border: 1px solid #000; overflow: visible; }
}

/* KPI değerini tek satırda tut + mobilde 4 hücreye sığacak font */
.dbt-kpi__val { white-space: nowrap; }
@media (max-width: 719.98px) {
  .dbt-kpi__val { font-size: 0.86rem; }
  .dbt-kpi__lbl { font-size: 9px; letter-spacing: 0.03em; margin-top: 2px; }
}
