/* TGD - açık, sıcak, özgün palet: krem zemin, mercan & adaçayı, Fraunces başlıklar */
:root {
  --cream: #faf7f2;
  --cream-deep: #f0ebe3;
  --mint: #e8f4f1;
  --blossom: #fdeee8;
  --surface: #ffffff;
  --surface-2: #fbfaf8;
  --ink: #1c1917;
  --ink-soft: #44403c;
  --muted: #78716c;
  --stroke: rgba(28, 25, 23, 0.09);
  --stroke-strong: rgba(28, 25, 23, 0.14);
  --text: #1c1917;
  --coral: #e07a5f;
  --coral-hover: #c96a52;
  --coral-soft: rgba(224, 122, 95, 0.12);
  --sage: #3d8b7a;
  --sage-soft: rgba(61, 139, 122, 0.14);
  --sky: #6b9ac4;
  --sky-soft: rgba(107, 154, 196, 0.18);
  --honey: #e8b84a;
  --honey-soft: rgba(232, 184, 74, 0.2);
  --lilac: #9b8bc9;
  --lilac-soft: rgba(155, 139, 201, 0.16);
  /* Ana sayfa — teslimat türü kartları (pastel arka planlar) */
  --home-cat-digital-bg: var(--mint);
  --home-cat-services-bg: #f0e8f6;
  --home-cat-physical-bg: #fdf3e8;
  --danger: #dc2626;
  --danger-bg: rgba(254, 226, 226, 0.85);
  --ok: #15803d;
  --ok-bg: rgba(220, 252, 231, 0.9);
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.06);
  --shadow: 0 12px 40px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 24px 60px rgba(28, 25, 23, 0.1);
  --max: 1120px;
  /* Kitap / dergi kapağı - genişlik:yükseklik 5:7 (tüm vitrin, detay, admin önizleme) */
  --tgd-product-cover-ar: 5 / 7;
  /* Ürün detay: kapak çerçevesi; piksel ölçü değil, ekranda okunaklı üst sınır */
  --tgd-detail-cover-max: 18.25rem;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  /* Vitrin ürün kartları: dar puntolu, satıra daha çok metin */
  --font-catalog-tight: "Barlow Semi Condensed", var(--font-body);
  --input-bg: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* html[data-viewport]: head-viewport.php + tgd-viewport.js; asıl düzen @media ile */

body.tgd-site {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  background: var(--cream);
}

/* Yumuşak “organik” ışık lekeleri - sabit, performans dostu */
body.tgd-site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1000px 520px at 8% -5%, var(--sky-soft), transparent 58%),
    radial-gradient(780px 420px at 96% 8%, var(--coral-soft), transparent 55%),
    radial-gradient(640px 380px at 50% 105%, var(--sage-soft), transparent 50%),
    radial-gradient(500px 300px at 72% 42%, var(--honey-soft), transparent 45%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}

.tgd-site a {
  color: var(--sage);
  text-decoration: none;
  font-weight: 500;
}

.tgd-site a:hover {
  color: var(--coral);
  text-decoration: underline;
}

/* Buton görünümlü <a>: genel .tgd-site a rengi kontrastı bozmasın */
.tgd-site a.tgd-btn-teal,
.tgd-site a.tgd-btn-teal:hover {
  color: #fff;
  text-decoration: none;
}

.tgd-site a.tgd-btn-primary,
.tgd-site a.tgd-btn-primary:hover {
  color: var(--ink);
  text-decoration: none;
}

.tgd-site a.tgd-btn-ghost {
  color: var(--ink-soft);
  text-decoration: none;
}

.tgd-site a.tgd-btn-ghost:hover {
  color: var(--coral);
  text-decoration: none;
}

.tgd-site a.tgd-btn-outline {
  color: var(--ink-soft);
  text-decoration: none;
}

.tgd-site a.tgd-btn-outline:hover {
  color: var(--sage);
  text-decoration: none;
}

.tgd-site a.tgd-btn-cart {
  color: var(--ink-soft);
  text-decoration: none;
}

.tgd-site a.tgd-btn-cart:hover {
  color: var(--ink);
  text-decoration: none;
}

.tgd-site a.tgd-btn-admin,
.tgd-site a.tgd-btn-admin:hover {
  color: #5b4d8a;
  text-decoration: none;
}

.tgd-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Topbar */
.tgd-topbar {
  font-size: calc(0.8125rem - 2px);
  color: var(--muted);
  border-bottom: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
}

.tgd-topbar-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.35rem 0.85rem;
  padding: 0.28rem 0;
}

/* Hoş geldin satırı yoksa iki çocuk 3 sütunlu gridde orta hücreye kayar; sol/sağ için flex */
.tgd-topbar-inner:not(:has(.tgd-topbar-center)) {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tgd-topbar-left {
  justify-self: start;
  min-width: 0;
}

.tgd-topbar-center {
  justify-self: center;
  text-align: center;
  min-width: 0;
  max-width: 100%;
}

.tgd-topbar-welcome {
  display: inline-block;
  max-width: min(52vw, 16rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: var(--ink-soft);
  vertical-align: bottom;
}

.tgd-topbar-welcome-name {
  color: var(--sage);
}

.tgd-topbar-right {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

@media (max-width: 767px) {
  .tgd-topbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 0.45rem;
  }

  .tgd-topbar-left {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 0.5rem;
  }

  .tgd-topbar-right {
    order: 2;
    flex: 0 0 auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.35rem 0.5rem;
    padding-right: 0.5rem;
  }

  .tgd-topbar-right .tgd-topbar-link {
    white-space: nowrap;
    font-size: calc(0.75rem - 2px);
  }

  .tgd-topbar-center {
    order: 3;
    flex-basis: 100%;
    text-align: center;
  }

  .tgd-topbar-welcome {
    max-width: 100%;
  }

  /* E-posta dar ekranda taşmasın; tam adres title ile (.tgd-topbar-link display sonradan ezilmesin) */
  .tgd-topbar-link.tgd-topbar-link--email {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: calc(0.75rem - 2px);
    line-height: 1.25;
  }
}

@media (max-width: 479px) {
  .tgd-topbar-link.tgd-topbar-link--email {
    font-size: calc(0.7rem - 2px);
  }

  .tgd-topbar-pill {
    padding: 0.15rem 0.45rem;
    font-size: calc(0.68rem - 2px);
  }
}

.tgd-topbar-link {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tgd-topbar-link:hover {
  color: var(--sage);
}

.tgd-topbar-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--coral-soft), var(--sage-soft));
  border: 1px solid var(--stroke-strong);
  color: var(--ink-soft);
  font-weight: 700;
  font-size: calc(0.75rem - 2px);
}

.tgd-topbar-pill:hover {
  text-decoration: none;
  border-color: var(--coral);
  color: var(--coral-hover);
}

.tgd-topbar-panel-link {
  padding: 0.2rem 0.65rem;
  font-size: calc(0.75rem - 2px);
}

.tgd-topbar-panel-link.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #f59b7a);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(224, 122, 95, 0.3);
}

.tgd-topbar-panel-link.is-active:hover {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.03);
}

/* Header */
.tgd-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.tgd-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.45rem 0;
  min-width: 0;
}

.tgd-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}

.tgd-logo:hover {
  text-decoration: none;
  opacity: 0.92;
}

.tgd-logo img {
  display: block;
  /* Sayfa tepesinde %20 büyük; kaydırınca .is-scrolled ile önceki boyut */
  height: clamp(2.45rem, 5.6vw, 3.05rem);
  width: auto;
  max-width: min(320px, 54vw);
  object-fit: contain;
  transition: height 0.28s ease, max-width 0.28s ease;
}

.tgd-header.is-scrolled .tgd-logo img {
  height: clamp(2.05rem, 4.6vw, 2.65rem);
  max-width: min(280px, 54vw);
}

.tgd-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--stroke-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.tgd-burger span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
}

/* Logo - Sepet aralığında menü: ortada nav, iki yanda eşit flex boşluk; Sepet ayrı sütunda */
.tgd-header-center {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
}

.tgd-header-spacer {
  flex: 1 1 0;
  min-width: 0;
}

/* Mobil hamburger paneli (masaüstünde kapalı ve yer kaplamaz) */
.tgd-drawer {
  display: none;
}

.tgd-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.15rem;
  flex: 0 0 auto;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.tgd-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.78rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: calc(1rem - 2px);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Anasayfa / İletişim: geniş ekranda yalnızca ikon */
.tgd-nav a.tgd-nav-icon-link {
  padding: 0.42rem 0.55rem;
  min-width: 2.35rem;
}

.tgd-nav a.tgd-nav-icon-link .mdi {
  font-size: calc(1.38rem - 2px);
  line-height: 1;
}

.tgd-nav a:hover {
  color: var(--ink);
  background: var(--mint);
  text-decoration: none;
}

.tgd-nav a.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #f59b7a);
  box-shadow: 0 6px 20px rgba(224, 122, 95, 0.35);
}

.tgd-header-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Ana header: yönetim (yalnızca ikon), Sepet'in solunda */
.tgd-btn-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.tgd-btn-header-icon .mdi {
  font-size: calc(1.38rem - 2px);
  line-height: 1;
}

.tgd-btn-header-icon--admin {
  border-color: rgba(155, 139, 201, 0.35);
  background: var(--lilac-soft);
  color: #5b4d8a;
}

.tgd-btn-header-icon--admin:hover {
  text-decoration: none;
  border-color: var(--lilac);
  color: #4a3d72;
  box-shadow: var(--shadow-sm);
}

.tgd-btn-header-icon--admin.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #f59b7a);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(224, 122, 95, 0.3);
}

.tgd-btn-header-icon--admin.is-active:hover {
  color: #fff;
  filter: brightness(1.03);
}

.tgd-btn-outline,
.tgd-btn-primary,
.tgd-btn-cart,
.tgd-btn-admin {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.52rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: calc(0.9rem - 2px);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tgd-btn-outline {
  border-color: var(--stroke-strong);
  color: var(--ink-soft);
  background: var(--surface);
}

.tgd-btn-outline:hover {
  border-color: var(--sage);
  color: var(--sage);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.tgd-btn-primary {
  background: linear-gradient(135deg, var(--honey), #f5cb5c);
  color: var(--ink);
  border: none;
  box-shadow: 0 4px 16px rgba(232, 184, 74, 0.35);
}

.tgd-btn-primary:hover {
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.tgd-btn-cart {
  position: relative;
  border-color: var(--stroke-strong);
  color: var(--ink-soft);
  background: linear-gradient(135deg, var(--lilac-soft), var(--sky-soft));
}

.tgd-btn-cart:hover {
  border-color: var(--lilac);
  color: var(--ink);
  text-decoration: none;
}

.tgd-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tgd-btn-admin {
  background: var(--lilac-soft);
  border-color: rgba(155, 139, 201, 0.35);
  color: #5b4d8a;
}

.tgd-btn-admin:hover {
  text-decoration: none;
  border-color: var(--lilac);
}

@media (min-width: 1024px) {
  .tgd-header-inner {
    justify-content: flex-start;
  }

  .tgd-burger {
    display: none;
  }

  .tgd-drawer {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .tgd-header-inner {
    flex-wrap: wrap;
  }

  .tgd-header-center {
    display: none;
  }

  .tgd-burger {
    display: flex;
    flex-shrink: 0;
    order: 2;
    margin-left: auto;
  }

  .tgd-logo {
    order: 1;
  }

  .tgd-header-actions--bar {
    display: none !important;
  }

  .tgd-drawer {
    display: none;
    order: 3;
    flex: none;
    flex-basis: 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--stroke);
    box-shadow: var(--shadow-lg);
  }

  .tgd-drawer.is-open {
    display: flex;
    flex-basis: 100%;
  }

  .tgd-nav {
    flex-direction: column;
    align-items: stretch;
    overflow-x: visible;
    overflow-y: visible;
    max-width: none;
  }

  .tgd-nav a {
    width: 100%;
  }

  .tgd-nav a.tgd-nav-icon-link {
    justify-content: center;
    min-width: unset;
    padding: 0.5rem 0.65rem;
  }

  .tgd-header-actions {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
  }

  .tgd-header-actions a {
    justify-content: center;
  }
}

/* Main */
.tgd-main {
  min-height: 42vh;
}

/* Hero */
.tgd-hero {
  padding: 3.25rem 0 3.5rem;
}

.tgd-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
  align-items: center;
}

@media (max-width: 1023px) {
  .tgd-hero-grid {
    grid-template-columns: 1fr;
  }
}

.tgd-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--sage-soft);
  border: 1px solid rgba(61, 139, 122, 0.22);
  margin-bottom: 1rem;
}

.tgd-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.tgd-hero-lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.tgd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tgd-btn-lg {
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
}

.tgd-btn-teal {
  background: linear-gradient(135deg, var(--sage), #2f7a6a);
  color: #fff;
  border: none;
  box-shadow: 0 8px 28px rgba(61, 139, 122, 0.32);
}

.tgd-btn-teal:hover {
  text-decoration: none;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.tgd-btn-ghost {
  border: 2px solid var(--stroke-strong);
  color: var(--ink-soft);
  background: var(--surface);
}

.tgd-btn-ghost:hover {
  text-decoration: none;
  border-color: var(--coral);
  color: var(--coral);
}

.tgd-hero-card {
  border-radius: 24px;
  padding: 1.65rem;
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.tgd-hero-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 80%;
  background: radial-gradient(circle, var(--coral-soft), transparent 65%);
  pointer-events: none;
}

.tgd-hero-card h2 {
  margin: 0 0 0.85rem;
  font-size: 1.08rem;
  font-family: var(--font-display);
  position: relative;
  color: var(--ink);
}

.tgd-stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  position: relative;
}

.tgd-stat {
  padding: 0.95rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--stroke);
}

.tgd-stat strong {
  display: block;
  font-size: 1.4rem;
  font-family: var(--font-display);
  color: var(--coral);
}

.tgd-stat span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Hero carousel (admin-managed slides) */
.tgd-hero--carousel {
  position: relative;
  isolation: isolate;
  /* Alt padding: nokta göstergeleri + taşmayı önlemek için */
  padding: 3.25rem 0 4.75rem;
  overflow: visible;
}

.tgd-hero__bg-stack {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tgd-hero__bg-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.35s ease-in-out;
  background-size: cover;
  background-position: center;
  background-color: #1c1917;
  background-image: linear-gradient(135deg, #1c1917 0%, #292524 50%, #1c1917 100%);
}

.tgd-hero__bg-item.is-active {
  opacity: 1;
}

.tgd-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(28, 25, 23, 0.82) 0%,
    rgba(28, 25, 23, 0.55) 42%,
    rgba(28, 25, 23, 0.35) 100%
  );
  pointer-events: none;
}

.tgd-hero__foreground {
  position: relative;
  z-index: 2;
}

.tgd-hero--carousel .tgd-hero-grid {
  align-items: start;
}

/* Aynı grid hücresinde üst üste: satır yüksekliği en uzun slayta göre büyür (absolute ile kesilme olmaz) */
.tgd-hero__copy-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  min-width: 0;
}

.tgd-hero__copy-slide {
  grid-area: 1 / 1;
  width: 100%;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.35s ease-in-out, visibility 0s linear 1.35s;
  pointer-events: none;
  z-index: 0;
}

.tgd-hero__copy-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  transition: opacity 1.35s ease-in-out, visibility 0s linear 0s;
}

.tgd-hero--carousel .tgd-hero-kicker {
  color: #ecfdf5;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(167, 243, 208, 0.35);
}

.tgd-hero--carousel .tgd-hero-kicker .mdi {
  color: #a7f3d0;
}

.tgd-hero--carousel h1 {
  color: #fafaf9;
}

.tgd-hero--carousel .tgd-hero-lead {
  color: rgba(250, 250, 249, 0.88);
}

.tgd-hero__btn-on-dark {
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #fafaf9 !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.tgd-hero__btn-on-dark:hover {
  border-color: rgba(251, 191, 36, 0.65) !important;
  color: #fef3c7 !important;
}

.tgd-hero-card--on-carousel {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.tgd-hero__dots {
  position: absolute;
  z-index: 4;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
}

.tgd-hero__dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.tgd-hero__dots button.is-active {
  background: linear-gradient(135deg, var(--sage), #2f7a6a);
  transform: scale(1.15);
}

@media (max-width: 1023px) {
  .tgd-hero__dots {
    bottom: 0.5rem;
  }
}

/* Sections */
.tgd-section {
  padding: 3rem 0;
}

.tgd-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.tgd-section-head h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.tgd-section-head p {
  margin: 0;
  color: var(--muted);
}

.tgd-pill-title {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sky);
  margin-bottom: 0.5rem;
}

/* Ana sayfa dijital ürünler: başlık dar sütunda, açıklama tgd-wrap genişliğinde */
.tgd-section--digital-home .tgd-section-head {
  margin-bottom: 0.75rem;
}

.tgd-section-lede-wide {
  width: 100%;
  max-width: none;
  margin: 0 0 2rem;
  padding: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: left;
}

.tgd-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

@media (max-width: 1023px) {
  .tgd-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* İletişim: sol sütunda kartlar alt alta, sağda form */
.tgd-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1.35rem 2rem;
  align-items: stretch;
}

.tgd-contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.tgd-contact-info-col .tgd-card-pro {
  height: auto;
}

.tgd-contact-form-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.tgd-contact-form-col .tgd-card-pro {
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
  height: auto;
  text-align: left;
}

.tgd-contact-form-col .tgd-form {
  max-width: none;
}

@media (max-width: 1023px) {
  .tgd-contact-layout {
    grid-template-columns: 1fr;
  }

  .tgd-contact-form-col .tgd-card-pro {
    min-height: 0;
  }
}

.tgd-card-pro {
  padding: 1.45rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--stroke);
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tgd-card-pro:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.tgd-card-pro .mdi {
  font-size: 1.85rem;
  color: var(--sage);
  margin-bottom: 0.5rem;
}

.tgd-card-pro h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-family: var(--font-display);
  color: var(--ink);
}

.tgd-card-pro p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* Ana sayfa — teslimat kısayol kartları (grid, accordion yok) */
a.tgd-card-pro.tgd-home-cat-jump {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

a.tgd-card-pro.tgd-home-cat-jump:focus-visible {
  outline: 2px solid var(--teal, #0d9488);
  outline-offset: 3px;
}

a.tgd-card-pro.tgd-home-cat-jump.tgd-home-cat-jump--digital {
  background: var(--home-cat-digital-bg);
}

a.tgd-card-pro.tgd-home-cat-jump.tgd-home-cat-jump--generic {
  background: var(--home-cat-services-bg);
}

a.tgd-card-pro.tgd-home-cat-jump.tgd-home-cat-jump--physical {
  background: var(--home-cat-physical-bg);
}

.tgd-card-pro.tgd-home-cat-jump .tgd-home-cat-jump__ico.mdi {
  font-size: 1.85rem;
  color: var(--sage);
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

.tgd-card-pro.tgd-home-cat-jump h3.tgd-home-cat-jump__title {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.25;
  text-align: center;
  width: 100%;
}

.tgd-card-pro.tgd-home-cat-jump .tgd-home-cat-jump__desc {
  margin: 0;
  text-align: center;
}

/* Neden TGD? — yatay hover accordion + foto arka plan */
.tgd-why-tgd-accordion {
  display: flex;
  gap: 0.65rem;
  align-items: stretch;
  min-height: 240px;
}

article.tgd-card-pro.tgd-why-tgd-accordion__item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  height: 100%;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  transition:
    flex 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    min-width 0.35s ease,
    box-shadow 0.25s ease;
  background-color: #2a2520;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-color: rgba(255, 255, 255, 0.22);
}

article.tgd-card-pro.tgd-why-tgd-accordion__item--analiz {
  background-image:
    linear-gradient(to top, rgba(12, 18, 28, 0.93) 0%, rgba(12, 18, 28, 0.52) 48%, rgba(20, 24, 32, 0.42) 100%),
    url("/assets/images/analiz-ve-y%C3%B6nlendirme.jpg");
}

article.tgd-card-pro.tgd-why-tgd-accordion__item--kisisel {
  background-image:
    linear-gradient(to top, rgba(12, 18, 28, 0.93) 0%, rgba(12, 18, 28, 0.52) 48%, rgba(20, 24, 32, 0.42) 100%),
    url("/assets/images/kisisellestirilmis-icerik.jpg");
}

article.tgd-card-pro.tgd-why-tgd-accordion__item--kurumsal {
  background-image:
    linear-gradient(to top, rgba(12, 18, 28, 0.93) 0%, rgba(12, 18, 28, 0.52) 48%, rgba(20, 24, 32, 0.42) 100%),
    url("/assets/images/kurumsal-esneklik.jpg");
}

.tgd-why-tgd-accordion__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  flex: 1 1 auto;
  width: 100%;
  min-height: 11rem;
  padding: 1.45rem;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

article.tgd-card-pro.tgd-why-tgd-accordion__item .tgd-why-tgd-accordion__ico.mdi {
  font-size: 1.85rem;
  color: #f0fdf9;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
  transition: font-size 0.35s ease, margin 0.35s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

article.tgd-card-pro.tgd-why-tgd-accordion__item h3.tgd-why-tgd-accordion__title {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-family: var(--font-display);
  color: #fff;
  line-height: 1.25;
  transition: font-size 0.35s ease, margin 0.35s ease;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

article.tgd-card-pro.tgd-why-tgd-accordion__item p.tgd-why-tgd-accordion__desc {
  margin: 0;
  color: #fff;
  font-size: 0.93rem;
  line-height: 1.45;
  max-height: 6rem;
  transition: opacity 0.35s ease, max-height 0.45s ease, margin 0.35s ease;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 0 20px rgba(0, 0, 0, 0.45);
}

article.tgd-why-tgd-accordion__item:focus {
  outline: none;
}

article.tgd-why-tgd-accordion__item:focus-visible {
  outline: 2px solid var(--teal, #0d9488);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .tgd-why-tgd-accordion:hover .tgd-why-tgd-accordion__item:hover {
    flex: 3.6 1 0;
    min-width: 12rem;
    z-index: 1;
    box-shadow: var(--shadow);
  }

  .tgd-why-tgd-accordion:hover .tgd-why-tgd-accordion__item:not(:hover) {
    flex: 0.52 1 0;
    min-width: 3.25rem;
  }

  .tgd-why-tgd-accordion:hover .tgd-why-tgd-accordion__item:not(:hover) .tgd-why-tgd-accordion__inner {
    padding: 1rem 0.65rem;
    align-items: center;
    text-align: center;
  }

  .tgd-why-tgd-accordion:hover .tgd-why-tgd-accordion__item:not(:hover) .tgd-why-tgd-accordion__desc {
    opacity: 0;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .tgd-why-tgd-accordion:hover .tgd-why-tgd-accordion__item:not(:hover) .tgd-why-tgd-accordion__ico {
    font-size: 1.35rem;
    margin-bottom: 0.45rem;
    align-self: center;
  }

  .tgd-why-tgd-accordion:hover .tgd-why-tgd-accordion__item:not(:hover) h3.tgd-why-tgd-accordion__title {
    font-size: 0.66rem;
    margin: 0;
    width: 100%;
  }

  .tgd-why-tgd-accordion:focus-within .tgd-why-tgd-accordion__item:focus-visible {
    flex: 3.6 1 0;
    min-width: 12rem;
    z-index: 2;
    box-shadow: var(--shadow);
  }

  .tgd-why-tgd-accordion:focus-within .tgd-why-tgd-accordion__item:not(:focus-visible) {
    flex: 0.52 1 0;
    min-width: 3.25rem;
  }

  .tgd-why-tgd-accordion:focus-within .tgd-why-tgd-accordion__item:not(:focus-visible) .tgd-why-tgd-accordion__inner {
    padding: 1rem 0.65rem;
    align-items: center;
    text-align: center;
  }

  .tgd-why-tgd-accordion:focus-within .tgd-why-tgd-accordion__item:not(:focus-visible) .tgd-why-tgd-accordion__desc {
    opacity: 0;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .tgd-why-tgd-accordion:focus-within .tgd-why-tgd-accordion__item:not(:focus-visible) .tgd-why-tgd-accordion__ico {
    font-size: 1.35rem;
    margin-bottom: 0.45rem;
    align-self: center;
  }

  .tgd-why-tgd-accordion:focus-within .tgd-why-tgd-accordion__item:not(:focus-visible) h3.tgd-why-tgd-accordion__title {
    font-size: 0.66rem;
    margin: 0;
    width: 100%;
  }
}

@media (max-width: 1023px) {
  .tgd-why-tgd-accordion {
    flex-direction: column;
    min-height: 0;
    gap: 1rem;
  }

  .tgd-why-tgd-accordion__item {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    box-shadow: var(--shadow-sm) !important;
  }

  .tgd-why-tgd-accordion__inner {
    align-items: flex-start !important;
    text-align: left !important;
    padding: 1.45rem !important;
    min-height: 0 !important;
  }

  article.tgd-card-pro.tgd-why-tgd-accordion__item p.tgd-why-tgd-accordion__desc {
    opacity: 1 !important;
    max-height: none !important;
    margin: 0 !important;
    pointer-events: auto !important;
  }

  .tgd-why-tgd-accordion__ico {
    font-size: 1.85rem !important;
    align-self: flex-start !important;
    margin-bottom: 0.5rem !important;
  }

  article.tgd-card-pro.tgd-why-tgd-accordion__item h3.tgd-why-tgd-accordion__title {
    font-size: 1.08rem !important;
    margin: 0 0 0.5rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tgd-why-tgd-accordion__item,
  .tgd-why-tgd-accordion__inner,
  article.tgd-card-pro.tgd-why-tgd-accordion__item .tgd-why-tgd-accordion__ico.mdi,
  article.tgd-card-pro.tgd-why-tgd-accordion__item h3.tgd-why-tgd-accordion__title,
  article.tgd-card-pro.tgd-why-tgd-accordion__item p.tgd-why-tgd-accordion__desc {
    transition: none !important;
  }
}

.tgd-section--home-categories {
  padding-top: 2rem;
}

.tgd-band {
  margin: 2rem 0;
  padding: 2.25rem 0;
  background: linear-gradient(105deg, var(--mint) 0%, var(--blossom) 50%, #fff5eb 100%);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.tgd-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tgd-band-inner h2 {
  font-family: var(--font-display);
}

.tgd-band-inner p {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
}

/* Page */
.tgd-page {
  padding: 2.5rem 0 3.5rem;
}

.tgd-page h1 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.tgd-page .lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 1.5rem;
}

.tgd-page .tgd-prose {
  max-width: 720px;
  color: var(--ink-soft);
}

/* İletişim: giriş paragrafları .tgd-wrap genişliğinde */
.tgd-page-contact .lead,
.tgd-page-contact .tgd-prose {
  max-width: none;
}

/* Sepet: üst bilgi metni .tgd-wrap (site) genişliğinde */
.tgd-page-sepet .lead {
  max-width: none;
}

.tgd-page .tgd-prose ul {
  padding-left: 1.25rem;
}

.tgd-page .tgd-prose li {
  margin-bottom: 0.35rem;
}

.tgd-page .tgd-legal-prose {
  max-width: 52rem;
  line-height: 1.65;
}

.tgd-page .tgd-legal-prose p {
  margin-bottom: 1rem;
}

.tgd-page .tgd-page-actions {
  margin-top: 1.5rem;
}

/* Müşteri paneli */
.tgd-customer-panel .tgd-panel-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
}

.tgd-panel-block {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.tgd-panel-block h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
}

.tgd-profile-dl {
  margin: 0;
  display: grid;
  gap: 0.85rem 1.25rem;
}

@media (min-width: 480px) {
  .tgd-profile-dl {
    grid-template-columns: 140px 1fr;
  }

  .tgd-profile-dl > div {
    display: contents;
  }
}

.tgd-profile-dl dt {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.tgd-profile-dl dd {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
  font-weight: 500;
}

@media (max-width: 479px) {
  .tgd-profile-dl > div {
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--stroke);
  }

  .tgd-profile-dl > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

.tgd-panel-block__admin {
  margin: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tgd-panel-block__empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.tgd-order-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tgd-order-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke-strong);
  background: var(--surface-2);
}

.tgd-order-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.tgd-order-card__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}

.tgd-order-card__date {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.tgd-order-status {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.tgd-order-status--ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.tgd-order-status--wait {
  background: var(--honey-soft);
  color: #92400e;
}

.tgd-order-status--other {
  background: var(--sky-soft);
  color: var(--ink-soft);
}

.tgd-order-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  border-top: 1px solid var(--stroke);
  padding-top: 0.65rem;
}

.tgd-order-lines li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.5rem 0.75rem;
  align-items: baseline;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--stroke);
  color: var(--ink-soft);
}

.tgd-order-lines li:last-child {
  border-bottom: none;
}

.tgd-order-lines__name {
  min-width: 0;
  word-break: break-word;
}

.tgd-order-lines__meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.tgd-order-lines__price {
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.tgd-order-card__total {
  margin: 0.75rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid var(--stroke-strong);
  font-size: 0.95rem;
  color: var(--muted);
}

.tgd-ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.tgd-ref-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--surface);
  text-align: center;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
}

.tgd-ref-card .tgd-ref-logo {
  max-width: 100%;
  max-height: 76px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Pricing */
.tgd-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.35rem;
}

/* Vitrin: tablet üstü — teslimat türüne göre dört sütun (hizmet / dijital / fiziksel) */
@media (min-width: 768px) {
  .tgd-price-grid--digital,
  .tgd-price-grid--physical,
  .tgd-price-grid--hizmet {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

/* Hizmet vitrin: satırdaki kartlar aynı yükseklikte (grid stretch); .tgd-price-card sütun flex + formda margin-top:auto */
.tgd-price-grid--hizmet > .tgd-price-card--catalog {
  height: 100%;
  min-height: 0;
}

/* Kitap / dergi kapağı - tüm vitrin ve detay görselleri (5:7) */
.tgd-product-cover-frame {
  aspect-ratio: var(--tgd-product-cover-ar);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.tgd-price-card-img.tgd-product-cover-frame {
  margin: 0.75rem 0 1rem;
  border-radius: 10px;
}

.tgd-price-card-img.tgd-product-cover-frame > a {
  display: block;
  height: 100%;
  color: inherit;
}

.tgd-price-card-img.tgd-product-cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ürün detay: ızgarada kapak + yanında özet kartı (açıklama kart içinde); küçük görseller tam genişlik */
.tgd-product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, min(var(--tgd-detail-cover-max), 100%)) minmax(0, 1fr);
  gap: 1.1rem 1.25rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.tgd-product-detail-grid > .tgd-pd-thumbs--strip {
  grid-column: 1 / -1;
}

/* Hizmet ürünü: kapak yoksa sol sütunu kaldır (Görsel yok kutusu gösterme) */
.tgd-product-detail-grid.tgd-product-detail-grid--no-visual {
  grid-template-columns: minmax(0, 1fr);
}

.tgd-product-detail-maincol {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
}

.tgd-product-detail-buy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

/* Ürün detay - kapak alanı: hafif ışık lekesi */
.tgd-pd-visual {
  position: relative;
  z-index: 0;
}

.tgd-pd-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -6% -10% 18% -6%;
  background:
    radial-gradient(ellipse 72% 65% at 45% 28%, var(--honey-soft), transparent 62%),
    radial-gradient(ellipse 55% 50% at 80% 75%, var(--sage-soft), transparent 58%);
  pointer-events: none;
  opacity: 0.95;
}

/* Ürün detay - sağ özet kartı */
.tgd-pd-buy-card {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--stroke-strong);
  background: linear-gradient(165deg, var(--surface) 0%, var(--surface-2) 42%, rgba(255, 255, 255, 0.97) 100%);
  box-shadow: var(--shadow);
  padding: 1.45rem 1.5rem 1.55rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}

.tgd-pd-buy-card::after {
  content: "";
  position: absolute;
  top: -35%;
  right: -28%;
  width: 58%;
  height: 62%;
  background: radial-gradient(circle, var(--lilac-soft) 0%, transparent 68%);
  pointer-events: none;
  opacity: 0.85;
}

.tgd-pd-buy-card > *:not(.tgd-pd-delivery-ribbon) {
  position: relative;
  z-index: 1;
}

/* Dijital teslim - sağ üst çapraz şerit (ürün detay kartı) */
.tgd-pd-delivery-ribbon {
  position: absolute;
  top: 1.35rem;
  right: -3.25rem;
  z-index: 4;
  width: 11.5rem;
  padding: 0.48rem 0;
  margin: 0;
  text-align: center;
  background: linear-gradient(120deg, var(--sage) 0%, #2f7568 100%);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1.2;
  transform: rotate(45deg);
  transform-origin: center;
  box-shadow: 0 3px 12px rgba(61, 139, 122, 0.35);
  pointer-events: none;
}

.tgd-pd-delivery-ribbon__text {
  display: block;
}

.tgd-pd-buy-card--digital-ribbon .tgd-pd-title {
  padding-right: clamp(2rem, 12vw, 4.75rem);
}

@media (max-width: 767px) {
  .tgd-pd-delivery-ribbon {
    top: 1.1rem;
    right: -3rem;
    width: 10.25rem;
    font-size: 0.54rem;
    padding: 0.42rem 0;
  }
}

.tgd-pd-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--sage);
  background: rgba(61, 139, 122, 0.11);
  border: 1px solid rgba(61, 139, 122, 0.22);
}

.tgd-pd-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.38rem, 2.8vw, 1.92rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.tgd-pd-lead {
  margin: 0;
  margin-top: -0.15rem;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink-soft);
}

.tgd-pd-buy-card__commerce {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tgd-pd-delivery {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.tgd-pd-delivery .mdi {
  flex-shrink: 0;
  margin-top: 0.08rem;
  font-size: 1.28rem;
  line-height: 1;
  color: var(--sage);
}

.tgd-pd-delivery--physical .mdi {
  color: var(--coral);
}

.tgd-pd-wa-wrap {
  margin: 0;
}

.tgd-pd-wa-btn {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 0.38rem;
  box-sizing: border-box;
}

.tgd-price-card--catalog .tgd-price-card-wa-btn .tgd-wa-ico,
.tgd-pd-wa-btn .tgd-wa-ico {
  font-size: 1.15rem;
  color: #25d366;
  line-height: 1;
}

.tgd-pd-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0;
}

.tgd-pd-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(61, 139, 122, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tgd-pd-submit--priced {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  padding: 0.85rem 1.15rem;
  line-height: 1.3;
}

.tgd-pd-submit__label,
.tgd-pd-submit__price {
  font-size: 1.22rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.01em;
}

.tgd-pd-submit__price {
  font-variant-numeric: tabular-nums;
}

/* Fiyat: beyaz değil; sage düğmede kontrastlı sıcak altın */
.tgd-pd-submit.tgd-btn-teal .tgd-pd-submit__price,
.tgd-pd-submit.tgd-btn-teal .tgd-pd-submit__price .tgd-hizmet-total-val {
  color: #f4e4a6;
  text-shadow: 0 1px 0 rgba(28, 25, 23, 0.12);
}

.tgd-pd-submit:hover {
  box-shadow: 0 8px 26px rgba(61, 139, 122, 0.34);
  transform: translateY(-1px);
}

.tgd-pd-buy-card__longdesc {
  margin: 0;
  padding-top: 1rem;
  margin-top: 0.15rem;
  border-top: 1px solid var(--stroke);
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--ink-soft);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.tgd-pd-main .tgd-lightbox-trigger {
  cursor: zoom-in;
}

.tgd-pd-thumbs--strip {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.7rem 0.75rem;
  margin-top: 0.15rem;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-sm);
}

.tgd-pd-thumbs--strip .tgd-pd-thumb.tgd-product-cover-thumb {
  display: block;
  width: 100%;
  max-width: none;
}

/*12 sütunda dolmayan hücreler - boş kapak çerçevesi */
.tgd-pd-thumb-empty {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: var(--tgd-product-cover-ar);
  border-radius: 8px;
  border: 1px dashed var(--stroke-strong);
  background: linear-gradient(145deg, var(--cream-deep) 0%, var(--surface) 100%);
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .tgd-pd-thumbs--strip {
    gap: 0.35rem;
    padding: 0.5rem 0.45rem 0.6rem;
  }

  .tgd-product-detail-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tgd-product-detail-maincol {
    align-items: center;
    width: 100%;
    justify-self: center;
  }

  .tgd-product-detail-buy {
    width: 100%;
  }

  .tgd-pd-buy-card {
    padding: 1.2rem 1.2rem 1.35rem;
  }

  .tgd-pd-buy-card__longdesc {
    padding-top: 0.85rem;
  }
}

.tgd-pd-main.tgd-product-cover-frame {
  width: 100%;
  max-width: min(var(--tgd-detail-cover-max), 100%);
  border-radius: 14px;
  border: 1px solid var(--stroke-strong);
  background: var(--surface);
  box-shadow:
    0 24px 56px rgba(28, 25, 23, 0.12),
    0 8px 20px rgba(28, 25, 23, 0.06);
}

.tgd-pd-main.tgd-product-cover-frame #tgd-pd-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.tgd-pd-placeholder.tgd-product-cover-frame {
  width: 100%;
  max-width: min(var(--tgd-detail-cover-max), 100%);
  border-radius: 12px;
  border: 1px dashed var(--stroke-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 0.75rem;
}

.tgd-pd-thumb.tgd-product-cover-thumb {
  position: relative;
  display: inline-block;
  width: 72px;
  max-width: 72px;
  flex: 0 0 auto;
  aspect-ratio: var(--tgd-product-cover-ar);
  height: auto;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  vertical-align: top;
}

.tgd-pd-thumb.tgd-product-cover-thumb img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tgd-admin-product-thumb {
  width: 48px;
  aspect-ratio: var(--tgd-product-cover-ar);
  height: auto;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid var(--stroke-strong);
  vertical-align: middle;
}

.tgd-price-card {
  padding: 1.65rem;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.tgd-price-card.featured {
  border-color: rgba(224, 122, 95, 0.45);
  box-shadow: 0 0 0 2px rgba(224, 122, 95, 0.12), var(--shadow);
  background: linear-gradient(180deg, #fff 0%, #fffaf8 100%);
}

/* Ana sayfa / Ürünler vitrin kartları — görsel altı kompakt */
.tgd-price-card--catalog {
  position: relative;
  overflow: hidden;
  padding: 0.9rem 1rem 1rem;
  gap: 0.28rem;
  border-radius: clamp(14px, 2vw, 18px);
}

/* Sağ üst çapraz şerit (teslimat türü) */
.tgd-price-card-ribbon {
  position: absolute;
  z-index: 3;
  top: 1.35rem;
  right: -3.1rem;
  width: 11.5rem;
  padding: 0.42rem 0 0.4rem;
  margin: 0;
  box-sizing: border-box;
  text-align: center;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #2d6b5c 0%, #164038 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transform: rotate(45deg);
  transform-origin: center;
  pointer-events: none;
}

.tgd-price-card-ribbon--physical {
  background: linear-gradient(135deg, #6b5344 0%, #3d2f26 100%);
}

.tgd-price-card--catalog .tgd-price-card-img.tgd-product-cover-frame {
  margin: 0.15rem 0 0.4rem;
}

/* Kapak görseli yok: üstte kapak için ayrılmış boşluğu sıkılaştır */
.tgd-price-card--catalog.tgd-price-card--catalog-no-cover {
  padding-top: 0.55rem;
}

.tgd-price-card--catalog.tgd-price-card--catalog-no-cover .tgd-price-card-ribbon {
  top: 0.75rem;
}

.tgd-price-card--catalog .tgd-price-card-admin-note {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #b45309;
}

.tgd-price-card--catalog .tgd-price-card-desc {
  margin: 0;
  font-family: var(--font-catalog-tight);
  font-weight: 600;
  font-size: 0.78rem;
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.tgd-price-card--catalog > p:not(.tgd-card-line-total) {
  flex: 0 0 auto;
}

.tgd-price-card--catalog .tgd-price-card-cart-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin-top: auto;
  box-sizing: border-box;
}

.tgd-price-card--catalog .tgd-price-card-hizmet-form {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  margin-top: auto;
  width: 100%;
  box-sizing: border-box;
}

.tgd-price-card--catalog .tgd-price-card-wa {
  margin: 0;
}

.tgd-price-card--catalog .tgd-price-card-wa-btn {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 0.38rem;
  box-sizing: border-box;
  padding: 0.42rem 0.75rem;
  font-size: 0.8rem;
}

/* Hizmet kartı: 1. sütun Sınıf, 2. sütun WhatsApp */
.tgd-price-card--catalog .tgd-hizmet-wa-seviye-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.45rem 0.75rem;
  align-items: end;
  width: 100%;
}

.tgd-price-card--catalog .tgd-hizmet-wa-seviye-row .tgd-hizmet-seviye-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tgd-price-card--catalog .tgd-hizmet-wa-seviye-row .tgd-field-label {
  margin-bottom: 0;
}

@media (max-width: 479px) {
  .tgd-price-card--catalog .tgd-hizmet-wa-seviye-row {
    grid-template-columns: 1fr;
  }
}

.tgd-price-card--catalog .tgd-price-card-submit {
  width: 100%;
  border: none;
  cursor: pointer;
}

.tgd-price-card--catalog .tgd-price-card-submit.tgd-btn-lg {
  padding: 0.5rem 0.85rem;
  font-size: 0.86rem;
  box-shadow: 0 5px 18px rgba(61, 139, 122, 0.26);
}

.tgd-price-card--catalog .tgd-price-card-submit.tgd-price-card-submit--with-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  padding: 0.52rem 0.75rem 0.58rem;
}

.tgd-price-card--catalog .tgd-price-card-hizmet-form .tgd-price-card-submit--with-price {
  margin-top: auto;
}

.tgd-price-card--catalog .tgd-price-card-submit--with-price .tgd-price-card-submit-text {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
}

.tgd-price-card--catalog .tgd-price-card-submit--with-price .tgd-price-card-submit-price {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.tgd-price-card--catalog .tgd-price-card-submit--with-price .tgd-card-total-fig {
  color: #fef08a;
  font-weight: 800;
}

.tgd-price-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sage);
}

.tgd-price-card--catalog > .tgd-price-badge {
  font-size: 0.62rem;
  letter-spacing: 0.05em;
}

.tgd-price-card h2 {
  margin: 0;
  font-size: 1.15rem;
  font-family: var(--font-display);
  color: var(--ink);
}

.tgd-price-card--catalog h2.tgd-price-card-title {
  font-family: var(--font-catalog-tight);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.015em;
}

.tgd-price-card p {
  margin: 0;
  flex: 1;
  color: var(--muted);
  font-size: 0.93rem;
}

/* Fiyatlandırma kartları - select / radio / checkbox (public yalnızca site.css) */
.tgd-price-card-form .tgd-field-label,
.tgd-price-card .tgd-field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.tgd-price-card-form fieldset .tgd-field-label {
  margin-bottom: 0.5rem;
}

.tgd-price-select {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.55rem 2.35rem 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke-strong);
  background-color: var(--input-bg);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.35;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2378716c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 1.1rem;
}

.tgd-price-select:hover {
  border-color: rgba(61, 139, 122, 0.35);
}

.tgd-price-select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px var(--sage-soft);
}

.tgd-price-select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background-color: var(--surface-2);
}

.tgd-price-card.tgd-price-card--catalog .tgd-field-label {
  margin: 0 0 0.18rem;
  font-size: 0.76rem;
}

.tgd-price-card.tgd-price-card--catalog .tgd-price-select {
  padding: 0.38rem 2rem 0.38rem 0.6rem;
  font-size: 0.84rem;
}

/* Hizmet kartı: Sınıf select ≡ WhatsApp satırı yüksekliği (genel catalog select padding’ini ezer) */
.tgd-price-card--catalog .tgd-hizmet-wa-seviye-row .tgd-price-card-wa {
  display: flex;
  align-items: stretch;
}

.tgd-price-card--catalog .tgd-hizmet-wa-seviye-row .tgd-price-select,
.tgd-price-card--catalog .tgd-hizmet-wa-seviye-row .tgd-price-card-wa-btn {
  min-height: 2.1rem;
  box-sizing: border-box;
  border-radius: var(--radius-sm);
}

.tgd-price-card--catalog .tgd-hizmet-wa-seviye-row .tgd-price-select {
  padding: 0.22rem 1.85rem 0.22rem 0.55rem;
  line-height: 1.2;
  font-size: 0.82rem;
}

.tgd-price-card--catalog .tgd-hizmet-wa-seviye-row .tgd-price-card-wa-btn {
  flex: 1 1 auto;
  justify-content: center;
  padding: 0.22rem 0.55rem;
  line-height: 1.2;
  font-size: 0.82rem;
}

.tgd-price-card--catalog .tgd-hizmet-wa-seviye-row .tgd-wa-ico {
  font-size: 1.02rem;
}

.tgd-price-details summary {
  list-style: none;
}

.tgd-price-details summary::-webkit-details-marker {
  display: none;
}

/* Sepet özeti satırı - ortalanmış, belirgin tutar */
.tgd-price-card p.tgd-card-line-total {
  flex: 0 0 auto;
  align-self: stretch;
  margin: 0;
  padding-top: 0.7rem;
  border-top: 1px solid var(--stroke-strong);
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.68rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.tgd-price-card p.tgd-card-line-total .tgd-card-total-fig {
  color: var(--coral);
  font-weight: 800;
}

.tgd-price-card-form fieldset .tgd-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.tgd-price-card-form .tgd-ode-branches {
  display: none;
  margin-top: 0.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0.75rem;
  row-gap: 0.35rem;
  align-items: start;
}

.tgd-price-card-form .tgd-ode-branches .tgd-check {
  align-items: flex-start;
  margin: 0;
  padding: 0.2rem 0;
}

.tgd-price-card-form .tgd-check input[type="radio"],
.tgd-price-card-form .tgd-check input[type="checkbox"] {
  width: 1.12rem;
  height: 1.12rem;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--sage);
  cursor: pointer;
}

.tgd-price-card-form .tgd-ode-branches .tgd-check input[type="checkbox"] {
  margin-top: 0.12rem;
}

/* Hizmet ürünleri – ders listesi: iki sütun (grid .tgd-hizmet-branches üzerinde; sub-group tek çocuklu sarmalayıcıdır) */
.tgd-hizmet-form .tgd-hizmet-branches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.18rem 0.5rem;
  align-items: start;
}

.tgd-hizmet-form .tgd-hizmet-branches .tgd-check {
  display: flex;
  align-items: flex-start;
  gap: 0.32rem;
  margin: 0;
  padding: 0;
  font-size: 0.72rem;
  line-height: 1.22;
  color: var(--ink-soft);
  cursor: pointer;
}

.tgd-hizmet-form .tgd-hizmet-branches .tgd-check input[type="checkbox"] {
  width: 0.92rem;
  height: 0.92rem;
  margin: 0;
  margin-top: 0.06rem;
  flex-shrink: 0;
  accent-color: var(--sage);
  cursor: pointer;
}

.tgd-price-card--catalog .tgd-hizmet-form .tgd-hizmet-branches .tgd-check {
  font-size: 0.7rem;
  line-height: 1.2;
}

.tgd-hizmet-form .tgd-field-label--dersler {
  font-size: 0.68rem;
  margin-bottom: 0.12rem;
}

/* Dijital ürün – Deneme No: hizmet ders listesi ile aynı iki sütun grid (form tgd-hizmet-form değil) */
.tgd-digital-deneme-form .tgd-digital-deneme-branches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.18rem 0.5rem;
  align-items: start;
}

.tgd-digital-deneme-form .tgd-digital-deneme-branches .tgd-check {
  display: flex;
  align-items: flex-start;
  gap: 0.32rem;
  margin: 0;
  padding: 0;
  font-size: 0.72rem;
  line-height: 1.22;
  color: var(--ink-soft);
  cursor: pointer;
  min-width: 0;
}

.tgd-digital-deneme-form .tgd-digital-deneme-branches .tgd-check span {
  min-width: 0;
  word-break: break-word;
}

.tgd-digital-deneme-form .tgd-digital-deneme-branches .tgd-check input[type="checkbox"] {
  width: 0.92rem;
  height: 0.92rem;
  margin: 0;
  margin-top: 0.06rem;
  flex-shrink: 0;
  accent-color: var(--sage);
  cursor: pointer;
}

.tgd-price-card--catalog .tgd-digital-deneme-form .tgd-digital-deneme-branches .tgd-check {
  font-size: 0.7rem;
  line-height: 1.2;
}

.tgd-digital-deneme-form .tgd-field-label--dersler {
  font-size: 0.68rem;
  margin-bottom: 0.12rem;
}

/* Forms */
.tgd-form {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* İki alan yan yana (ör. iletişim: ad + e-posta) */
.tgd-form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: start;
}

@media (max-width: 767px) {
  .tgd-form-row-2 {
    grid-template-columns: 1fr;
  }
}

.tgd-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.tgd-field input,
.tgd-field textarea,
.tgd-field select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke-strong);
  background: var(--input-bg);
  color: var(--text);
  font: inherit;
  box-shadow: var(--shadow-sm);
  appearance: auto;
}

/* Checkbox / radio: geniş metin alanı kurallarını kullanma (width:100% çubuğu oluşturur) */
.tgd-field input[type="checkbox"],
.tgd-field input[type="radio"] {
  width: auto;
  min-width: 1rem;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  flex-shrink: 0;
  accent-color: var(--sage, #3d8b7a);
}

.tgd-field input:focus,
.tgd-field textarea:focus,
.tgd-field select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px var(--sage-soft);
}

.tgd-field input[type="checkbox"]:focus,
.tgd-field input[type="radio"]:focus {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
  box-shadow: none;
}

/* Etiket = .tgd-field olan tek satır onay kutuları (yönetim formları) */
label.tgd-field.tgd-field--row-check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.tgd-alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.tgd-alert-err {
  background: var(--danger-bg);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: var(--danger);
}

.tgd-alert-ok {
  background: var(--ok-bg);
  border: 1px solid rgba(21, 128, 61, 0.25);
  color: var(--ok);
}

/* Sabit “sepete eklendi” toast - .tgd-alert-ok ile aynı renkler */
.tgd-toast {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  z-index: 10000;
  max-width: min(36rem, calc(100vw - 2rem));
  margin: 0;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  transform: translateX(-50%) translateY(-14px);
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: auto;
}

.tgd-toast.tgd-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.tgd-toast.tgd-toast--hide {
  opacity: 0;
  transform: translateX(-50%) translateY(-10px);
}

.tgd-toast a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Tables */
.tgd-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.tgd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.tgd-table th,
.tgd-table td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--stroke);
}

.tgd-table th {
  color: var(--muted);
  font-weight: 600;
  background: var(--surface-2);
}

/* Admin - Dersler kataloğu: tablo satırı düzenleme formları */
.tgd-table .tgd-catalog-inline-form {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  width: 100%;
  max-width: 100%;
}
.tgd-table .tgd-catalog-inline-form input[type='text'] {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke-strong);
  background: var(--input-bg);
  color: var(--text);
  font: inherit;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}
.tgd-table .tgd-catalog-inline-form input[type='text']:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px var(--sage-soft);
}
.tgd-table .tgd-catalog-save-btn-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--stroke-strong);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  color: var(--teal, #0d9488);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.tgd-table .tgd-catalog-save-btn-icon:hover {
  border-color: var(--sage);
  background: var(--sage-soft);
}
.tgd-table .tgd-catalog-save-btn-icon:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--sage-soft);
  border-color: var(--sage);
}
.tgd-table .tgd-catalog-save-btn-icon:active {
  transform: scale(0.96);
}
.tgd-table .tgd-catalog-save-btn-icon .mdi {
  font-size: 1.2rem;
  line-height: 1;
}
.tgd-table th.tgd-catalog-col-status {
  width: 4.5rem;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  font-size: 0.8rem;
}
.tgd-table td.tgd-catalog-status-cell {
  width: 3.25rem;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}
.tgd-table .tgd-catalog-icon-form {
  display: inline-flex;
  margin: 0;
  vertical-align: middle;
}
.tgd-table .tgd-catalog-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  color: var(--teal, #0d9488);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.tgd-table .tgd-catalog-icon-btn:hover {
  background: var(--sage-soft);
}
.tgd-table .tgd-catalog-icon-btn:active {
  transform: scale(0.96);
}
.tgd-table .tgd-catalog-icon-btn .mdi {
  font-size: 1.7rem;
  line-height: 1;
}
.tgd-table .tgd-catalog-icon-btn--off {
  color: var(--muted);
}
.tgd-table .tgd-catalog-icon-btn--off:hover {
  color: var(--teal, #0d9488);
  background: rgba(13, 148, 136, 0.08);
}

/* Admin - ürün listesi sil */
.tgd-urun-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
  vertical-align: middle;
}

.tgd-urun-clone-btn,
.tgd-urun-edit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border-radius: 8px;
  border: 1px solid rgba(13, 148, 136, 0.55);
  background: var(--surface);
  color: #0f766e;
  cursor: pointer;
  box-sizing: border-box;
  line-height: 1;
}

.tgd-urun-edit-link {
  text-decoration: none;
  vertical-align: middle;
}

.tgd-urun-clone-btn:hover,
.tgd-urun-edit-link:hover {
  background: rgba(13, 148, 136, 0.08);
  border-color: #0d9488;
}

.tgd-urun-clone-btn .mdi,
.tgd-urun-edit-link .mdi {
  font-size: 1.15rem;
}

.tgd-urun-clone-btn:focus-visible,
.tgd-urun-edit-link:focus-visible {
  outline: 2px solid var(--teal, #0d9488);
  outline-offset: 2px;
}

.tgd-urun-sil-form {
  display: inline-flex;
  vertical-align: middle;
  margin: 0;
}
.tgd-urun-sil-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 8px;
  background: var(--surface);
  color: #dc2626;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.tgd-urun-sil-btn:hover {
  background: #fef2f2;
  border-color: #dc2626;
}
.tgd-urun-sil-btn .mdi {
  font-size: 1.15rem;
  line-height: 1;
}
.tgd-urun-sil-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.22);
}

/* Footer */
.tgd-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--stroke);
  background: linear-gradient(180deg, #f4f1eb 0%, #ebe6dd 100%);
}

.tgd-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding: 2.75rem 0;
}

.tgd-footer-col {
  min-width: 0;
}

/* Sistem: sola dayalı */
.tgd-footer-col--system {
  justify-self: start;
  text-align: left;
}

/* Logo + metin + iyzico: orta sütunda ortalanmış */
.tgd-footer-col--brand {
  justify-self: center;
  text-align: center;
}

.tgd-footer-col--brand .tgd-footer-text {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.35rem;
  max-width: 22rem;
}

/* Yasal: sağa dayalı */
.tgd-footer-col--legal {
  justify-self: end;
  text-align: right;
}

@media (max-width: 767px) {
  .tgd-footer-grid {
    grid-template-columns: 1fr;
  }

  .tgd-footer-col--system {
    justify-self: stretch;
  }

  .tgd-footer-col--brand {
    justify-self: stretch;
    text-align: center;
  }

  .tgd-footer-col--legal {
    justify-self: stretch;
    text-align: left;
  }
}

.tgd-footer-brand {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}

.tgd-footer-brand:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 2px;
}

.tgd-footer-logo {
  display: block;
  height: auto;
  max-height: 3rem;
  width: auto;
  max-width: min(260px, 100%);
}

.tgd-footer-text {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
}

.tgd-footer-h {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--coral);
  font-weight: 800;
}

.tgd-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tgd-footer-links li {
  margin-bottom: 0.35rem;
}

.tgd-footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
}

.tgd-footer-links a:hover {
  color: var(--sage);
}

.tgd-footer-bar {
  border-top: 1px solid var(--stroke-strong);
  padding: 1.1rem 0;
  font-size: 0.9rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.45);
}

.tgd-footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.tgd-footer-bar p {
  margin: 0;
}

.tgd-social {
  display: flex;
  gap: 0.75rem;
}

.tgd-social a {
  color: var(--muted);
  font-size: 1.25rem;
}

.tgd-social a:hover {
  color: var(--coral);
}

/* iyzico (resmi logo paketi — assets/images/iyzico-logo-pack) */
.tgd-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tgd-iyzico-footer-link {
  display: inline-block;
  margin-top: 2.25rem;
  line-height: 0;
}

.tgd-iyzico-footer-link:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}

.tgd-iyzico-footer-link img {
  display: block;
  width: auto;
  max-width: min(340px, 100%);
  height: auto;
  max-height: 4.25rem;
}

.tgd-odeme-submit-iyzico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  padding: 0.65rem 1.1rem;
  min-height: 3rem;
}

.tgd-odeme-submit-iyzico:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.tgd-odeme-submit-iyzico__logo {
  display: block;
  width: auto;
  height: 2.15rem;
  max-width: min(12rem, 88vw);
  object-fit: contain;
  flex-shrink: 0;
}

.tgd-odeme-actions__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.tgd-sepet-cta {
  margin-top: 1rem;
}

/* Checkout */
.tgd-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 1023px) {
  .tgd-checkout-grid {
    grid-template-columns: 1fr;
  }
}

.tgd-summary {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.tgd-summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tgd-summary li {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--stroke);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.tgd-admin-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.tgd-admin-wrap h1 {
  font-family: var(--font-display);
  margin-top: 0;
  color: var(--ink);
}

/* Admin body: hafif nane tonu */
body.tgd-site.tgd-admin-body::before {
  background:
    radial-gradient(900px 480px at 10% 0%, var(--sage-soft), transparent 55%),
    radial-gradient(700px 400px at 100% 20%, var(--lilac-soft), transparent 50%),
    linear-gradient(180deg, #f5faf8 0%, var(--cream) 100%);
}

/* Sabit WhatsApp iletişim - sağ alt */
.tgd-wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem 0.65rem 0.75rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(28, 25, 23, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: calc(100vw - 2rem);
}

.tgd-wa-float:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(28, 25, 23, 0.14);
}

.tgd-wa-float .mdi-whatsapp {
  font-size: 1.65rem;
  line-height: 1;
  flex-shrink: 0;
}

.tgd-wa-float__label {
  white-space: nowrap;
}

@media (max-width: 479px) {
  .tgd-wa-float__label {
    white-space: normal;
    max-width: 11rem;
  }
}

/* Hizmetlerimiz - kart ızgarası (site renk paleti :root) */
.tgd-hizmetler-kartlar {
  --tgd-hizmet-gradient: linear-gradient(
    120deg,
    var(--sage) 0%,
    var(--lilac) 48%,
    var(--coral) 100%
  );
  --tgd-hizmet-radius: 20px;
  --tgd-hizmet-shadow-card: 0 8px 28px rgba(61, 139, 122, 0.1);
  --tgd-hizmet-shadow-soft: var(--shadow);
}

.tgd-hizmetler-kartlar .tgd-hizmet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.35rem;
  margin-top: 2rem;
}

.tgd-hizmetler-kartlar .tgd-hizmet-card {
  background: var(--surface);
  border-radius: var(--tgd-hizmet-radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--tgd-hizmet-shadow-card);
  border: 2px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  min-height: 100%;
}

.tgd-hizmetler-kartlar .tgd-hizmet-card:nth-child(6n + 1) {
  border-color: color-mix(in srgb, var(--sage) 38%, transparent);
}
.tgd-hizmetler-kartlar .tgd-hizmet-card:nth-child(6n + 2) {
  border-color: color-mix(in srgb, var(--lilac) 38%, transparent);
}
.tgd-hizmetler-kartlar .tgd-hizmet-card:nth-child(6n + 3) {
  border-color: color-mix(in srgb, var(--coral) 40%, transparent);
}
.tgd-hizmetler-kartlar .tgd-hizmet-card:nth-child(6n + 4) {
  border-color: color-mix(in srgb, var(--sky) 40%, transparent);
}
.tgd-hizmetler-kartlar .tgd-hizmet-card:nth-child(6n + 5) {
  border-color: color-mix(in srgb, var(--honey) 45%, transparent);
}
.tgd-hizmetler-kartlar .tgd-hizmet-card:nth-child(6n + 6) {
  border-color: color-mix(in srgb, var(--coral-hover) 38%, transparent);
}

.tgd-hizmetler-kartlar .tgd-hizmet-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: var(--tgd-hizmet-shadow-soft);
}

.tgd-hizmetler-kartlar .tgd-hizmet-card:nth-child(6n + 1) h3 {
  color: var(--sage);
}
.tgd-hizmetler-kartlar .tgd-hizmet-card:nth-child(6n + 2) h3 {
  color: var(--lilac);
}
.tgd-hizmetler-kartlar .tgd-hizmet-card:nth-child(6n + 3) h3 {
  color: var(--coral);
}
.tgd-hizmetler-kartlar .tgd-hizmet-card:nth-child(6n + 4) h3 {
  color: var(--sky);
}
.tgd-hizmetler-kartlar .tgd-hizmet-card:nth-child(6n + 5) h3 {
  color: color-mix(in srgb, var(--honey) 82%, var(--ink) 18%);
}
.tgd-hizmetler-kartlar .tgd-hizmet-card:nth-child(6n + 6) h3 {
  color: var(--coral-hover);
}

.tgd-hizmetler-kartlar .tgd-hizmet-card h3 {
  font-size: 1.08rem;
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.tgd-hizmetler-kartlar .tgd-hizmet-card p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  font-family: var(--font-body);
  line-height: 1.55;
}

.tgd-hizmetler-kartlar__cta {
  text-align: center;
  margin: 2rem 0 0;
}

.tgd-hizmetler-kartlar a.tgd-hizmet-cta-btn,
.tgd-hizmetler-kartlar a.tgd-hizmet-cta-btn:hover {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
  background: var(--tgd-hizmet-gradient);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--sage) 35%, transparent);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 1rem;
}

.tgd-hizmetler-kartlar a.tgd-hizmet-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--coral) 32%, transparent);
  color: #fff;
}

/* Admin: CSV import dialog */
.tgd-admin-dialog {
  border: none;
  border-radius: 18px;
  padding: 0;
  max-width: 36rem;
  width: calc(100vw - 2rem);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  background: var(--surface);
  color: var(--ink);
}

.tgd-admin-dialog::backdrop {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
}

.tgd-admin-dialog__inner {
  padding: 1.35rem 1.5rem 1.25rem;
}

.tgd-admin-dialog__title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.tgd-admin-csv-ico-btn .tgd-admin-csv-ico {
  font-size: 1.15rem;
  vertical-align: -0.12em;
  margin-right: 0.25rem;
}

.tgd-site a.tgd-admin-csv-ico-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* Admin: CSV modal — özelleştirilmiş dosya seçici (Türkçe, tarayıcı İngilizce metni yok) */
.tgd-admin-file-pick {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tgd-admin-file-pick__label {
  display: block;
  margin-bottom: 0;
}

.tgd-admin-file-pick__row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.tgd-admin-file-pick__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.52rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--stroke-strong);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: var(--font-body);
  line-height: 1.2;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.tgd-admin-file-pick__btn .mdi {
  font-size: 1.1rem;
  opacity: 0.9;
}

.tgd-admin-file-pick__btn:hover {
  border-color: color-mix(in srgb, var(--teal, #0d9488) 55%, var(--stroke-strong));
  background: color-mix(in srgb, var(--surface) 92%, var(--teal, #0d9488) 8%);
}

.tgd-admin-file-pick__btn:focus-visible {
  outline: 2px solid var(--teal, #0d9488);
  outline-offset: 2px;
}

.tgd-admin-file-pick__native:focus-visible + .tgd-admin-file-pick__btn {
  outline: 2px solid var(--teal, #0d9488);
  outline-offset: 2px;
}

.tgd-admin-file-pick__name {
  font-size: 0.88rem;
  color: var(--muted);
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tgd-admin-file-pick__name.is-chosen {
  color: var(--ink);
  font-weight: 600;
}

/* Ana sayfa — örnek test PDF kartları (kapaksız; satırda eşit yükseklik) */
.tgd-sample-tests-section {
  padding-top: 3.25rem;
  padding-bottom: 3.5rem;
}

.tgd-sample-tests-grid {
  gap: 1.85rem 2rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .tgd-grid-3.tgd-sample-tests-grid {
    gap: 2rem 2.25rem;
  }
}

.tgd-sample-tests-section .tgd-sample-tests-grid .tgd-sample-test-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  min-height: 0;
  padding: 1.65rem 1.75rem 1.55rem;
  border-radius: calc(var(--radius, 14px) + 4px);
  box-shadow:
    var(--shadow-sm),
    0 0 0 1px color-mix(in srgb, var(--teal, #0d9488) 6%, transparent);
}

.tgd-sample-test-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 0;
  padding-bottom: 1.35rem;
}

/* Açıklaması kısa kartlarda da butonlar alta hizalansın */
.tgd-sample-test-card__body::after {
  content: '';
  flex: 1 1 0;
  min-height: 0;
}

.tgd-sample-test-card__chip {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.22rem 0.65rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--teal, #0d9488);
  line-height: 1.2;
  box-shadow: 0 1px 2px color-mix(in srgb, var(--teal, #0d9488) 35%, transparent);
}

.tgd-sample-test-card h3 {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.42;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.tgd-sample-test-card .tgd-sample-test-card__desc {
  margin: 0;
  flex: 0 0 auto;
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--muted);
}

.tgd-sample-test-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--stroke-strong) 65%, transparent);
}

.tgd-sample-test-card__btn,
.tgd-sample-test-card__btn-secondary {
  font-size: 0.9rem !important;
  padding: 0.68rem 1.1rem !important;
  border-radius: 999px !important;
}

/* Admin — örnek test PDF yükleme ilerlemesi */
.tgd-pdf-upload-progress {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--stroke-strong);
  background: color-mix(in srgb, var(--surface) 94%, var(--teal, #0d9488) 6%);
}

.tgd-pdf-upload-progress__track {
  height: 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, var(--stroke-strong));
  overflow: hidden;
}

.tgd-pdf-upload-progress__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--teal, #0d9488) 88%, #fff),
    var(--teal, #0d9488)
  );
  transition: width 0.12s ease-out;
}

.tgd-pdf-upload-progress__text {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
