/* ===== Doku Tasarım Mağaza Sayfası ===== */

.dt-page { padding-bottom: 0 }

/* KAPAK + PROFİL BLOĞU */
.dt-hero-block { margin-bottom: 36px }

.dt-cover {
  height: 200px; overflow: hidden; position: relative;
}
.dt-cover-img { width: 100%; height: 100%; object-fit: cover }
.dt-cover-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(120deg, #0B1729 0%, #0e3460 45%, #1a1040 100%);
}

/* PROFİL BAR */
.dt-profile-bar {
  background: #fff;
  border-bottom: 1.5px solid var(--line-2);
}
.dt-profile-row {
  display: flex; align-items: flex-start; gap: 24px;
  padding: 0 0 24px;
}

/* Kare avatar — kapağa taşıyor */
.dt-avatar {
  width: 100px; height: 100px;
  border-radius: 16px;
  border: 4px solid #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
  background: linear-gradient(135deg, var(--blue) 0%, #7C3AED 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
  margin-top: -40px; /* kapağa taşıyor */
  position: relative; z-index: 2;
}
.dt-avatar img  { width: 100%; height: 100%; object-fit: cover }
.dt-avatar span { font-size: 36px; font-weight: 900; color: #fff; line-height: 1 }

/* Sağ taraf bilgiler */
.dt-profile-info {
  flex: 1; padding-top: 14px;
}
.dt-profile-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 24px;
  margin-bottom: 10px;
}
.dt-profile-top h1 {
  font-size: 22px; font-weight: 900;
  color: var(--ink); margin: 0 0 3px; letter-spacing: -.03em;
}
.dt-handle {
  font-size: 12.5px; font-weight: 600; color: var(--muted-2);
}
.dt-bio {
  font-size: 13.5px; color: var(--muted);
  line-height: 1.6; margin: 0; max-width: 560px;
}

/* İstatistikler */
.dt-profile-stats {
  display: flex; gap: 0; flex-shrink: 0;
  border: 1.5px solid var(--line-2); border-radius: 12px; overflow: hidden;
}
.dt-pstat {
  padding: 10px 20px; text-align: center;
  border-right: 1px solid var(--line-2);
}
.dt-pstat:last-child { border-right: none }
.dt-pstat strong {
  display: block; font-size: 15px; font-weight: 900;
  color: var(--ink); letter-spacing: -.02em; margin-bottom: 1px;
}
.dt-pstat span {
  font-size: 10.5px; font-weight: 600;
  color: var(--muted-2); letter-spacing: .04em; white-space: nowrap;
}

/* BODY */
.dt-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  padding-top: 36px;
  padding-bottom: 64px;
  align-items: start;
}

/* SIDEBAR */
.dt-sidebar-inner {
  position: sticky; top: 80px;
  background: #fff;
  border: 1.5px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
}
.dt-sidebar-title {
  font-size: 11px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-2);
  padding: 16px 18px 10px;
  border-bottom: 1px solid var(--line-2);
  margin: 0;
}
.dt-cat-list {
  list-style: none; margin: 0; padding: 8px 0;
}
.dt-cat-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 18px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  transition: background .12s, color .12s;
  gap: 8px;
}
.dt-cat-link:hover { background: var(--surface); color: var(--ink) }
.dt-cat-link.active {
  background: var(--blue-50, #EFF6FF);
  color: var(--blue);
  font-weight: 800;
}
.dt-cat-link.active .dt-cat-count {
  background: var(--blue);
  color: #fff;
}
.dt-cat-name { flex: 1 }
.dt-cat-count {
  font-size: 11px; font-weight: 700;
  background: var(--surface);
  color: var(--muted-2);
  padding: 2px 8px; border-radius: 99px;
  min-width: 28px; text-align: center;
}

/* MAIN */
.dt-main-top {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dt-main-heading {
  display: flex; align-items: baseline; gap: 10px;
}
.dt-main-heading h2 {
  font-size: 20px; font-weight: 900;
  color: var(--ink); margin: 0; letter-spacing: -.03em;
}
.dt-result-count {
  font-size: 13px; font-weight: 600; color: var(--muted-2);
}

/* GRID */
.dt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.dt-card {
  background: #fff;
  border: 1.5px solid var(--line-2);
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .15s, border-color .15s, transform .15s;
}
.dt-card:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.dt-card-img {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; background: var(--surface);
}
.dt-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.dt-card:hover .dt-card-img img { transform: scale(1.05) }
.dt-card-overlay {
  position: absolute; inset: 0;
  background: rgba(10,20,40,.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .16s;
}
.dt-card:hover .dt-card-overlay { opacity: 1 }
.dt-card-btn {
  padding: 9px 18px;
  background: var(--yellow); color: var(--ink);
  font-size: 12.5px; font-weight: 800; border-radius: 8px;
}
.dt-card-info { padding: 12px 14px }
.dt-card-name {
  font-size: 13.5px; font-weight: 700; color: var(--ink);
  margin-bottom: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dt-card-bottom {
  display: flex; align-items: center; justify-content: space-between;
}
.dt-card-qty  { font-size: 11.5px; font-weight: 600; color: var(--muted-2) }
.dt-card-price { font-size: 14px; font-weight: 900; color: var(--ink); letter-spacing: -.02em }

/* PAGINATION */
.dt-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; padding-top: 8px;
}
.dt-page-btn {
  min-width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  font-size: 13.5px; font-weight: 700; color: var(--ink-2);
  background: #fff;
  transition: all .13s;
  padding: 0 6px;
}
.dt-page-btn:hover { border-color: var(--blue); color: var(--blue) }
.dt-page-active {
  background: var(--ink); border-color: var(--ink);
  color: #fff; cursor: default;
}
.dt-page-active:hover { border-color: var(--ink); color: #fff }
.dt-page-prev,
.dt-page-next { color: var(--ink) }
.dt-page-ellipsis {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--muted-2); font-weight: 700;
}

.dt-empty {
  padding: 64px 0; text-align: center;
  font-size: 15px; color: var(--muted);
}

/* RESPONSIVE */
@media(max-width:1024px) {
  .dt-body { grid-template-columns: 180px 1fr; gap: 24px }
  .dt-grid  { grid-template-columns: repeat(2, 1fr) }
}

@media(max-width:720px) {
  /* Grid + sidebar */
  .dt-body  { grid-template-columns: 1fr; padding-top: 24px }
  .dt-sidebar-inner { position: static }
  .dt-cat-list { display: flex; flex-wrap: wrap; padding: 8px; gap: 6px }
  .dt-cat-link {
    padding: 6px 12px; border-radius: 99px;
    border: 1.5px solid var(--line-2);
  }
  .dt-cat-link.active { border-color: var(--blue) }
  .dt-sidebar-title { display: none }
  .dt-grid { grid-template-columns: repeat(2, 1fr) }

  /* Profil */
  .dt-cover { height: 140px }
  .dt-avatar {
    width: 72px; height: 72px;
    border-radius: 12px;
    margin-top: -28px;
    flex-shrink: 0;
  }
  .dt-avatar span { font-size: 26px }
  .dt-profile-row {
    gap: 14px;
    padding-bottom: 20px;
  }
  .dt-profile-info { padding-top: 4px }
  .dt-profile-top {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 10px;
  }
  .dt-profile-top h1 { font-size: 18px }
  .dt-profile-stats {
    width: 100%; border-radius: 10px;
  }
  .dt-pstat { flex: 1; padding: 9px 10px }
  .dt-pstat strong { font-size: 14px }
  .dt-bio { font-size: 13px }
}

@media(max-width:480px) {
  .dt-grid { grid-template-columns: repeat(2, 1fr) }
  .dt-pstat span { display: none }
  .dt-pstat strong { font-size: 13px }
}
