/* ============================================================
   Tahmaz Dil — Ana stil dosyası
   (Statik .dc.html tasarımından çıkarılmış, dinamik sürüm)
   ============================================================ */

* { box-sizing: border-box; }
body { margin: 0; background:#fff; font-family:'Plus Jakarta Sans',sans-serif; color:#181a34; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
.th-page { background:#fff; }
.th-container { max-width:1280px; margin:0 auto; padding:0 6vw; }

/* ---------- Keyframes ---------- */
@keyframes th-rise { 0% { opacity:0; transform: translateY(28px); } 100% { opacity:1; transform: translateY(0); } }
@keyframes th-cardin { 0% { opacity:0; transform: translateY(40px) scale(.96); } 100% { opacity:1; transform: translateY(0) scale(1); } }
@keyframes th-ring { 0% { transform: scale(.4); opacity:.9; } 100% { transform: scale(1.6); opacity:0; } }
@keyframes th-drift { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-9px) rotate(3deg); } }
@keyframes th-pageflip { 0%,100% { transform: rotateY(0deg); } 50% { transform: rotateY(-32deg); } }
@keyframes th-dash { to { stroke-dashoffset: -28; } }
@keyframes th-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes th-testi { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes th-aurora { 0% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.15); } 66% { transform: translate(-30px,20px) scale(.9); } 100% { transform: translate(0,0) scale(1); } }
@keyframes th-shine { 0% { left:-60%; } 60%,100% { left:130%; } }
@keyframes th-floaty { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(6deg); } }
@keyframes th-btnpulse { 0%,100% { box-shadow:0 14px 30px rgba(229,52,42,.4), 0 0 0 0 rgba(229,52,42,.5); } 50% { box-shadow:0 14px 30px rgba(229,52,42,.5), 0 0 0 12px rgba(229,52,42,0); } }

/* ============================================================
   HEADER
   ============================================================ */
/* Header ölçüleri orijinal .dc.html'den alınmıştır; dikey padding kullanıcı isteğiyle 5px. */
.th-header { position:sticky; top:0; z-index:100; padding:5px 6vw; border-bottom:1px solid #eef0f6; background:rgba(255,255,255,.92); backdrop-filter:blur(8px); }
.th-header-inner { max-width:1280px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.th-header-left { display:flex; align-items:center; gap:36px; min-width:0; }
.th-logo { height:48px; width:auto; display:block; }
.th-nav { display:flex; align-items:center; gap:30px; font-size:15px; font-weight:600; color:#3a3d52; white-space:nowrap; }
.th-nav-link { padding:14px 0; color:#3a3d52; display:inline-flex; align-items:center; gap:6px; }
.th-nav-dd { position:relative; padding:14px 0; }
.th-caret { transition:transform .2s ease; }
.th-nav-dd:hover .th-caret { transform:rotate(180deg); }
.th-dd-menu { position:absolute; top:calc(100% + 14px); left:-18px; min-width:234px; background:#fff; border-radius:14px; padding:10px; border:1px solid #eef0f6; box-shadow:0 22px 50px rgba(20,22,60,.16); display:flex; flex-direction:column; gap:2px; z-index:200; opacity:0; visibility:hidden; transform:translateY(-6px); transition:opacity .18s ease, transform .18s ease, visibility .18s; }
.th-nav-dd:hover .th-dd-menu { opacity:1; visibility:visible; transform:translateY(0); }
.th-dd-item { padding:11px 14px; border-radius:9px; font-size:14.5px; font-weight:600; color:#3a3d52; transition:background .15s,color .15s; }
.th-dd-item:hover { background:#f5f6fb; color:#23276b; }
.th-header-right { display:flex; align-items:center; gap:16px; flex-shrink:0; }
.th-login-btn { background:#e5342a; color:#fff; font-weight:700; font-size:15px; padding:11px 22px; border-radius:10px; box-shadow:0 8px 20px rgba(229,52,42,.28); }
.th-cart-btn { position:relative; width:44px; height:44px; border:1px solid #e6e9f2; background:#fff; border-radius:10px; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; color:#23276b; }
.th-cart-count { position:absolute; top:-7px; right:-7px; min-width:20px; height:20px; padding:0 5px; border-radius:999px; background:#e5342a; color:#fff; font-size:11px; font-weight:800; display:inline-flex; align-items:center; justify-content:center; }
.th-menu-btn { display:none; align-items:center; justify-content:center; width:44px; height:44px; border:1px solid #e6e9f2; background:#fff; border-radius:10px; cursor:pointer; flex-direction:column; gap:5px; }
.th-menu-btn span { display:block; width:20px; height:2px; background:#23276b; border-radius:2px; transition:transform .25s ease, opacity .2s ease; }
/* Hamburger -> X animasyonu */
.th-menu-btn.is-active span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.th-menu-btn.is-active span:nth-child(2) { opacity:0; }
.th-menu-btn.is-active span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* ---- Mobil menü (sağdan kayan çekmece) ---- */
.th-mobile-backdrop { position:fixed; inset:0; z-index:300; background:rgba(20,22,60,.42); backdrop-filter:blur(2px); opacity:0; visibility:hidden; transition:opacity .28s ease, visibility .28s; }
.th-mobile-backdrop.is-open { opacity:1; visibility:visible; }

.th-mobile-nav {
  position:fixed; top:0; right:0; z-index:310;
  display:flex; flex-direction:column;
  width:min(86vw, 360px); height:100%;
  background:#fff; box-shadow:-24px 0 60px rgba(20,22,60,.22);
  transform:translateX(100%); transition:transform .3s cubic-bezier(.4,0,.2,1);
  overscroll-behavior:contain;
}
.th-mobile-nav.is-open { transform:translateX(0); }

.th-mobile-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 20px; border-bottom:1px solid #eef0f6; }
.th-mobile-brand img { height:40px; width:auto; display:block; }
.th-mobile-close { width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center; border:1px solid #e6e9f2; background:#fff; border-radius:10px; color:#23276b; cursor:pointer; }
.th-mobile-close:hover { background:#f5f6fb; }

.th-mobile-links { flex:1; overflow-y:auto; padding:12px 14px 20px; -webkit-overflow-scrolling:touch; }
.th-mobile-item { display:block; padding:13px 12px; font-size:15.5px; font-weight:700; color:#23276b; border-radius:11px; }
.th-mobile-item:hover { background:#f5f6fb; }

.th-mobile-group { padding:8px 0 4px; }
.th-mobile-group + .th-mobile-group,
.th-mobile-item + .th-mobile-group,
.th-mobile-group + .th-mobile-item { border-top:1px solid #f3f4fa; margin-top:4px; }
.th-mobile-group-title { display:block; padding:12px 12px 6px; font-family:'Sora',sans-serif; font-size:12.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#9296b0; }
.th-mobile-sublist { display:flex; flex-direction:column; }
.th-mobile-sub { display:block; padding:11px 12px 11px 18px; font-size:15px; font-weight:600; color:#3a3d52; border-radius:11px; }
.th-mobile-sub:hover { background:#f5f6fb; color:#23276b; }

.th-mobile-foot { padding:16px 20px calc(16px + env(safe-area-inset-bottom)); border-top:1px solid #eef0f6; }
.th-mobile-login, .th-mobile-account { display:flex; align-items:center; justify-content:center; gap:9px; width:100%; padding:14px; border-radius:12px; font-weight:700; font-size:15.5px; }
.th-mobile-login { background:#e5342a; color:#fff; box-shadow:0 8px 20px rgba(229,52,42,.28); }
.th-mobile-account { background:#f0f2fa; color:#23276b; }
.th-mobile-account:hover { background:#e6e9f6; }

@media (max-width:1040px) {
  .th-nav, .th-login-btn { display:none !important; }
  .th-menu-btn { display:inline-flex !important; }
}

/* ============================================================
   ALT SAYFA HERO'SU — .th-phero
   Açık & ferah "aurora" bandı: açık mavi ağırlıklı pastel gradyan zemin
   aşağı doğru sayfanın kendi arka plan rengine erir; beyaz etiket hapı +
   zarif serif başlık. includes/page_hero.php ile basılır.
   ============================================================ */
:root {
  --phero-pt: 46px;      /* hero üst boşluğu                          */
  --phero-fade: 58px;    /* pastel zeminin alta doğru eridiği bant    */
  --phero-pb: 58px;      /* içerik ile bandın alt ucu arası boşluk    */
  --phero-gap: 12px;     /* hero'dan sonraki ilk içeriğin üst boşluğu */
}

.th-phero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #181a34;
  background: transparent;   /* alt uçta sayfanın kendi zemini görünür */
}

/* — Pastel gradyan zemin + dekoratif katmanlar —
   Tüm zemin bu kutuda; aşağı doğru saydamlaşarak sayfa rengine erir. */
.th-phero-bg {
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
  background:
    radial-gradient(115% 90% at 10% 0%,   rgba(190,220,252,.85) 0%, transparent 56%),  /* açık mavi, sol üst */
    radial-gradient(120% 95% at 90% 6%,   rgba(206,224,251,.70) 0%, transparent 60%),  /* buz mavisi, sağ */
    radial-gradient(95% 120% at 92% 100%, rgba(214,214,248,.42) 0%, transparent 55%),  /* hafif lavanta, sağ alt */
    linear-gradient(180deg, #e7f0fc 0%, #ebf1fc 44%, #f1f5fd 74%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg,
      #000 0%, #000 calc(100% - var(--phero-fade)),
      rgba(0,0,0,.55) calc(100% - var(--phero-fade) * .45),
      transparent 100%);
          mask-image: linear-gradient(180deg,
      #000 0%, #000 calc(100% - var(--phero-fade)),
      rgba(0,0,0,.55) calc(100% - var(--phero-fade) * .45),
      transparent 100%);
}

/* İnce ızgara dokusu — sol üstten silinir (çok hafif) */
.th-phero-grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(rgba(58,92,240,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58,92,240,.055) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: radial-gradient(115% 100% at 8% -8%, #000 0%, transparent 66%);
          mask-image: radial-gradient(115% 100% at 8% -8%, #000 0%, transparent 66%);
}

/* Yumuşak renk küreleri (blur) — pastel tonlarını canlandırır */
.th-phero-orb { position: absolute; border-radius: 50%; filter: blur(70px); }
.th-phero-orb--a { width: 460px; height: 460px; left: -150px; top: -230px; background: #8fc0f4; opacity: .5; }
.th-phero-orb--b { width: 400px; height: 400px; right: 4%;   top: -180px;  background: #aecbf6; opacity: .5; }

/* — İçerik —
   Yatay boşluk .th-container'dan (0 6vw) gelir; burada yalnızca dikey
   boşluklar tanımlanır (shorthand yatay boşluğu ezmesin diye longhand). */
.th-phero-inner {
  position: relative; z-index: 1;
  padding-top: var(--phero-pt);
  padding-bottom: var(--phero-pb);
}
.th-phero-inner > * { animation: th-rise .6s cubic-bezier(.2,.7,.3,1) both; }
.th-phero-inner > *:nth-child(1) { animation-delay: .02s; }
.th-phero-inner > *:nth-child(2) { animation-delay: .10s; }
.th-phero-inner > *:nth-child(3) { animation-delay: .18s; }
.th-phero-inner > *:nth-child(4) { animation-delay: .26s; }
.th-phero-inner > *:nth-child(5) { animation-delay: .34s; }
/* Gövdesi dar olan sayfalarda (ör. seviye testi) hero da hizalansın */
.th-phero--narrow .th-phero-inner { max-width: 760px; }

/* Hero'dan sonraki ilk içerik bloğunun üst boşluğu — tüm alt sayfalarda eşit */
.th-crs-body,
.th-static-body,
.th-ct-grid,
.th-test-wrap,
.th-pd > .th-container { padding-top: var(--phero-gap); }

/* — Breadcrumb izi (açık zemin) — */
.th-crumb-nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; color: #6f7590; letter-spacing: .1px;
  margin-bottom: 22px;
}
.th-crumb-nav a { color: #565c78; transition: color .15s ease; }
.th-crumb-nav a:hover { color: #e5342a; }
.th-crumb-nav .th-crumb-sep { color: #a9afc6; font-weight: 700; }
.th-crumb-nav strong { color: #23276b; font-weight: 800; }

/* — Eyebrow (Kindred beyaz hap) — */
.th-phero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(20,22,60,.07);
  box-shadow: 0 2px 8px rgba(20,22,60,.06);
  font-size: 12.5px; font-weight: 700; letter-spacing: .01em;
  color: #23276b;
}
.th-phero-eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #e5342a; flex: none;
}

/* — Başlık (Kindred zarif serif) — */
.th-phero-title {
  font-family: 'Sora', sans-serif;
  font-weight: 600; letter-spacing: -.015em;
  color: #171a34; line-height: 1.05;
  font-size: clamp(34px, 4.6vw, 60px);
  margin: 20px 0 0; max-width: 18ch;
  text-wrap: balance;
}
.th-phero-title span:not(.th-phero-ticon),
.th-phero-title .hl { color: #e5342a; }
.th-phero-eyebrow + .th-phero-title { margin-top: 18px; }
.th-phero-ticon {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .62em; margin-right: .34em;
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.5em; height: 1.5em; vertical-align: -.12em;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(20,22,60,.07);
  box-shadow: 0 3px 10px rgba(20,22,60,.07);
}

/* — Açıklama — */
.th-phero-lead {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(15px, 1.35vw, 17.5px); line-height: 1.7;
  color: #545975;
  margin: 18px 0 0; max-width: 58ch;
}
.th-phero-lead strong { color: #23276b; }

/* — Ekstra slot (çipler, CTA vb.) — açık zemine uygun (özgün stiller korunur) */
.th-phero-extra { margin-top: 28px; }

@media (max-width:1040px) {
  :root { --phero-pt: 38px; --phero-fade: 50px; --phero-pb: 50px; --phero-gap: 11px; }
}

@media (max-width:720px) {
  :root { --phero-pt: 28px; --phero-fade: 42px; --phero-pb: 42px; --phero-gap: 9px; }
  .th-phero-title { max-width: none; }
  .th-phero-lead { margin-top: 14px; }
  .th-phero-extra { margin-top: 24px; }
  .th-phero-orb--a { width: 300px; height: 300px; left: -130px; top: -150px; }
  .th-phero-orb--b { width: 260px; height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .th-phero-inner > * { animation: none !important; }
  /* Sonsuz döngüdeki dekoratif/otomatik hareketleri kapat: hareket duyarlılığı
     olan kullanıcılar için erişilebilirlik, ayrıca CPU/pil tasarrufu. */
  .th-rise, .th-panel,
  .th-track, .th-testi-track,
  .th-aurora-1, .th-aurora-2,
  .th-float-1, .th-float-2, .th-float-3,
  .th-cta-btn, .th-cta-btn::after, .th-cta-dot {
    animation: none !important;
  }
  .th-rise, .th-panel { opacity: 1 !important; }
  * { scroll-behavior: auto !important; }
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.th-hero { position:relative; background:linear-gradient(180deg,#eef4fb 0%,#e6eef9 55%,#eef2f8 100%); overflow:hidden; }
.th-slider { position:relative; width:100%; height:min(58vh,560px); min-height:340px; overflow:hidden; background:#23276b; }
.th-slide { position:absolute; inset:0; opacity:0; transition:opacity 1s ease, transform 6s linear; transform:scale(1.06); background-size:cover; background-position:center; }
.th-slide.is-on { opacity:1; transform:scale(1); }
.th-slider .th-arrow { position:absolute; top:50%; transform:translateY(-50%); width:48px; height:48px; border:none; border-radius:50%; background:rgba(255,255,255,.82); color:#23276b; font-size:22px; font-weight:800; cursor:pointer; z-index:4; display:flex; align-items:center; justify-content:center; box-shadow:0 8px 22px rgba(0,0,0,.18); transition:background .25s ease, transform .25s ease; }
.th-slider .th-arrow:hover { background:#fff; transform:translateY(-50%) scale(1.08); }
.th-prev { left:22px; } .th-next { right:22px; }
.th-dots { position:absolute; bottom:22px; left:0; right:0; display:flex; justify-content:center; gap:9px; z-index:4; }
.th-dot { width:10px; height:7px; border:none; border-radius:999px; background:rgba(255,255,255,.5); cursor:pointer; padding:0; transition:width .35s ease, background .35s ease; }
.th-dot.is-on { width:30px; background:#fff; }
/* Mobil/tablet: slider, aktif görselin gerçek oranını alır (--slide-ratio, app.js) — kırpma ve boşluk olmadan tam genişlik */
@media (max-width:920px) {
  .th-slider { height:auto; min-height:0; aspect-ratio:var(--slide-ratio, 1920 / 880); }
  .th-slide { background-size:cover; }
  .th-slider .th-arrow { width:34px; height:34px; font-size:18px; }
  .th-prev { left:10px; } .th-next { right:10px; }
  .th-dots { bottom:10px; gap:7px; }
  .th-dot { width:8px; height:6px; }
  .th-dot.is-on { width:22px; }
}

/* ============================================================
   ÜÇ ANA KONU (Panels)
   ============================================================ */
.th-topics { position:relative; background:linear-gradient(180deg,#eef4fb 0%,#e6eef9 55%,#eef2f8 100%); overflow:hidden; }
.th-topics-head { max-width:900px; margin:0 auto; padding:56px 6vw 0; text-align:center; position:relative; z-index:2; }
.th-topics-head h2 { font-family:'Sora',sans-serif; font-size:40px; line-height:1.1; font-weight:800; color:#23276b; margin:0; letter-spacing:-.025em; }
.th-rise { opacity:0; animation:th-rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.th-topics-wrap { max-width:1280px; margin:30px auto 0; padding:0 6vw 64px; position:relative; z-index:2; }
.th-panels { display:flex; gap:18px; height:min(38vh,340px); min-height:300px; }
/* contain: panelin iç içeriği (açıklama açılışı) tüm sayfayı değil yalnızca kendini
   yeniden yerleştirir; böylece flex-grow + max-height geçişleri belirgin akıcılaşır.
   will-change:flex-grow kaldırıldı: flex-grow compositor'a taşınamaz, faydasız katman
   oluşturup bellek harcıyordu. */
.th-panel { flex:1 1 0; position:relative; overflow:hidden; contain:layout paint; border-radius:28px; color:#fff; text-decoration:none; display:flex; flex-direction:column; justify-content:flex-end; padding:26px; opacity:0; animation:th-cardin .85s cubic-bezier(.2,.7,.2,1) forwards; transition:flex-grow .5s cubic-bezier(.22,.61,.36,1), box-shadow .45s ease; }
@media (hover:hover) {
  .th-panels:hover .th-panel { flex-grow:.72; }
  .th-panels .th-panel:hover { flex-grow:2.2; }
}
.th-panel-sheen { position:absolute; top:0; left:-45%; width:40%; height:100%; background:linear-gradient(105deg,transparent,rgba(255,255,255,.18),transparent); transform:skewX(-16deg); pointer-events:none; transition:transform .8s cubic-bezier(.2,.7,.2,1); }
.th-panel:hover .th-panel-sheen { transform:translateX(320%); }
.th-panel-glow { position:absolute; top:-60px; right:-60px; width:220px; height:220px; border-radius:50%; background:radial-gradient(circle,rgba(255,255,255,.28),transparent 70%); filter:blur(6px); }
.th-panel-photo { position:absolute; inset:0; z-index:1; mix-blend-mode:multiply; opacity:.3; }
.th-panel-photo img { width:100%; height:100%; object-fit:cover; }
.th-panel-illus { position:absolute; top:16px; right:14px; transition:transform .6s cubic-bezier(.2,.7,.2,1); }
.th-panel:hover .th-panel-illus { transform:scale(1.07) translateY(-6px); }
.th-panel-shade { position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.28) 100%); pointer-events:none; }
.th-panel-body { position:relative; z-index:3; }
.th-panel-badge { font-family:'Sora',sans-serif; font-weight:700; font-size:11px; letter-spacing:.16em; color:rgba(255,255,255,.65); margin-bottom:10px; }
.th-panel-body h3 { font-family:'Sora',sans-serif; font-weight:800; font-size:21px; line-height:1.18; margin:0; letter-spacing:-.01em; }
.th-panel-desc { max-height:0; opacity:0; overflow:hidden; transform:translateY(8px); transition:max-height .55s cubic-bezier(.2,.7,.2,1), opacity .45s ease, transform .45s ease, margin-top .45s ease; }
.th-panel:hover .th-panel-desc { max-height:160px; opacity:1; transform:translateY(0); margin-top:14px; }
.th-panel-desc p { font-size:13.5px; line-height:1.55; margin:0 0 12px; }
.th-panel-cta { display:inline-flex; align-items:center; gap:8px; background:#fff; font-weight:800; font-size:13px; padding:9px 16px; border-radius:10px; }
.th-panel-cta span { font-size:17px; }
@media (max-width:920px) {
  .th-panels { flex-direction:column; height:auto !important; }
  .th-panel { min-height:200px; }
  .th-panel-desc { max-height:200px; opacity:1; transform:none; margin-top:18px; }
}

/* ============================================================
   ORTAK BÖLÜM BAŞLIKLARI
   ============================================================ */
.th-section { padding:72px 6vw; }
.th-section.th-container { max-width:1280px; margin:0 auto; }
.th-section-head { margin-bottom:40px; display:flex; align-items:flex-end; justify-content:space-between; gap:20px; }
.th-eyebrow { font-weight:700; font-size:13px; color:#e5342a; letter-spacing:.08em; text-transform:uppercase; margin-bottom:12px; }
.th-h2 { font-family:'Sora',sans-serif; font-size:36px; font-weight:800; color:#181a34; margin:0; letter-spacing:-.02em; }
.th-h2-light { font-family:'Sora',sans-serif; font-size:40px; line-height:1.15; font-weight:800; color:#fff; margin:0; letter-spacing:-.02em; }
.th-nav-arrows { display:flex; gap:10px; flex-shrink:0; }
.th-nav-arrows .th-arrow, .th-arrow.th-scroll-btn { width:48px; height:48px; border-radius:50%; border:1px solid #dfe2ee; background:#fff; color:#23276b; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; box-shadow:0 6px 16px rgba(20,22,60,.06); transition:background .2s ease, transform .2s ease, color .2s ease; }
.th-nav-arrows .th-arrow:hover { background:#23276b; color:#fff; transform:scale(1.08); }
.th-scroll { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; -ms-overflow-style:none; scroll-behavior:smooth; }
.th-scroll::-webkit-scrollbar { display:none; width:0; height:0; }

.th-tags { display:flex; gap:8px; flex-wrap:wrap; }
.th-tag { font-size:12px; font-weight:700; color:#23276b; background:#f0f1fa; padding:5px 10px; border-radius:7px; }

/* ---------- Paketler ---------- */
.th-packages { background:linear-gradient(180deg,#f7f8fc 0%,#eef2fb 100%); padding:0; }
.th-packages .th-container { padding:72px 6vw; }
.th-pack-track { gap:22px; padding:14px 4px 44px; margin:0 -4px; }
.th-pack { flex:0 0 320px; scroll-snap-align:start; display:flex; flex-direction:column; border:1px solid #ecedf4; border-radius:18px; overflow:hidden; background:#fff; box-shadow:0 8px 26px rgba(20,22,60,.05); transition:transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.th-pack:hover { transform:translateY(-7px); }
.th-pack.is-featured { border-color:#23276b; background:#23276b; box-shadow:0 18px 40px rgba(35,39,107,.28); }
.th-pack-top { height:150px; position:relative; overflow:hidden; }
.th-pack-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.th-pack-badge { position:absolute; top:14px; right:14px; background:#e5342a; color:#fff; font-size:12px; font-weight:800; padding:5px 11px; border-radius:7px; }
.th-pack-body { padding:24px; display:flex; flex-direction:column; flex:1; }
.th-pack-name { font-weight:800; font-size:19px; color:#181a34; margin-bottom:8px; }
.th-pack-desc { font-size:13.5px; color:#6a6f88; line-height:1.55; margin:0 0 16px; }
.th-pack .th-tags { margin-bottom:20px; }
.th-pack-foot { margin-top:auto; display:flex; align-items:flex-end; justify-content:space-between; gap:12px; }
.th-old-price { font-size:12.5px; font-weight:600; color:#9aa0b8; text-decoration:line-through; }
.th-price { font-family:'Sora',sans-serif; font-weight:800; font-size:24px; color:#181a34; line-height:1.1; }
.th-buy { border:none; cursor:pointer; font-family:'Plus Jakarta Sans',sans-serif; font-weight:800; font-size:14px; padding:12px 18px; border-radius:11px; background:#23276b; color:#fff; display:inline-flex; align-items:center; gap:7px; transition:transform .25s ease, box-shadow .25s ease; }
.th-buy span { font-size:15px; }
.th-buy:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(20,22,60,.18); }
/* Öne çıkan paket: koyu zeminde açık renkler */
.th-pack.is-featured .th-pack-name, .th-pack.is-featured .th-price { color:#fff; }
.th-pack.is-featured .th-pack-desc { color:#b9bce0; }
.th-pack.is-featured .th-old-price { color:#9297c9; }
.th-pack.is-featured .th-tag { color:#fff; background:rgba(255,255,255,.14); }
.th-pack.is-featured .th-buy { background:#fff; color:#23276b; }

/* ---------- Kurslar ---------- */
.th-course-track { gap:24px; padding:16px 4px 48px; margin:0 -4px; }
.th-course { flex:0 0 340px; scroll-snap-align:start; border:1px solid #ecedf4; border-radius:18px; overflow:hidden; background:#fff; box-shadow:0 8px 26px rgba(20,22,60,.05); transition:transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease; }
.th-course:hover { transform:translateY(-6px) scale(1.03); }
.th-course.is-featured { border-color:#23276b; background:#23276b; box-shadow:0 18px 40px rgba(35,39,107,.28); }
.th-course-top { height:170px; position:relative; overflow:hidden; }
.th-course-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.th-course-badge { position:absolute; top:14px; right:14px; background:#e5342a; color:#fff; font-size:12px; font-weight:800; padding:5px 11px; border-radius:7px; }
.th-course-body { padding:26px; }
.th-course-name { font-weight:800; font-size:20px; color:#181a34; margin-bottom:8px; }
.th-course-desc { font-size:14px; color:#6a6f88; line-height:1.55; margin:0 0 18px; }
.th-course .th-tags { margin-bottom:18px; }
.th-course-link { font-weight:700; font-size:15px; color:#e5342a; }
.th-course.is-featured .th-course-name { color:#fff; }
.th-course.is-featured .th-course-desc { color:#b9bce0; }
.th-course.is-featured .th-tag { color:#fff; background:rgba(255,255,255,.14); }
.th-course-link.is-featured { color:#ff8a80; }

/* ============================================================
   BAŞARILARIMIZ
   ============================================================ */
.th-success { position:relative; overflow:hidden; background:linear-gradient(135deg,#1c2065 0%,#23276b 55%,#2c2a6e 100%); }
.th-success-blob { position:absolute; border-radius:50%; filter:blur(8px); }
.th-blob-1 { top:-100px; right:-60px; width:340px; height:340px; background:radial-gradient(circle,#e5342a,transparent 70%); opacity:.28; }
.th-blob-2 { bottom:-120px; left:8%; width:300px; height:300px; background:radial-gradient(circle,#3a5cf0,transparent 70%); opacity:.3; }
.th-success-inner { position:relative; z-index:2; padding:76px 6vw 84px; }
.th-success-head { text-align:center; margin-bottom:52px; }
.th-success-rule { width:64px; height:4px; border-radius:999px; background:linear-gradient(90deg,#3a5cf0,#e5342a); margin:18px auto 0; }
.th-succ-grid { display:grid; gap:48px; align-items:start; }
.th-succ-col { text-align:center; }
.th-succ-cat { display:inline-flex; align-items:center; justify-content:center; background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.16); padding:8px 26px; border-radius:999px; margin-bottom:30px; }
.th-succ-cat span { font-family:'Sora',sans-serif; font-weight:800; font-size:15px; letter-spacing:.1em; color:#fff; }
.th-succ { position:relative; height:290px; }
.th-succ-slide { position:absolute; inset:0; opacity:0; transform:translateY(14px) scale(.97); transition:opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); pointer-events:none; }
.th-succ-slide.is-on { opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }
.th-succ-photo { width:132px; height:132px; border-radius:50%; overflow:hidden; margin:0 auto 20px; border:3px solid rgba(255,255,255,.28); box-shadow:0 0 0 6px rgba(255,255,255,.14), 0 0 18px 6px rgba(255,255,255,.20), 0 0 40px 14px rgba(255,255,255,.13), 0 0 70px 26px rgba(255,255,255,.07); }
.th-succ-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.th-succ-name { font-family:'Sora',sans-serif; font-weight:800; font-size:21px; color:#fff; letter-spacing:-.01em; }
.th-succ-detail { font-size:14.5px; line-height:1.5; color:#a9aede; font-weight:600; margin-top:7px; }
.th-succ-dots { display:flex; justify-content:center; gap:8px; margin-top:6px; }
.th-succ-dot { height:8px; border:none; border-radius:999px; cursor:pointer; padding:0; transition:width .35s ease, background .35s ease; }
@media (max-width:920px) {
  .th-succ-grid { grid-template-columns:1fr !important; gap:40px !important; }
}

/* ============================================================
   SINAV ŞERİDİ
   ============================================================ */
.th-trust { position:relative; overflow:hidden; padding:30px 0; background:linear-gradient(110deg,#23276b 0%,#2e348c 45%,#e5342a 130%); }
.th-trust-inner { display:flex; align-items:center; gap:36px; }
.th-trust-label { font-size:13px; font-weight:800; color:rgba(255,255,255,.85); letter-spacing:.1em; text-transform:uppercase; white-space:nowrap; flex-shrink:0; }
.th-trust-marquee { position:relative; flex:1; overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent); mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent); }
.th-track { display:flex; gap:64px; width:max-content; font-family:'Sora',sans-serif; font-weight:800; font-size:24px; animation:th-marquee 18s linear infinite; }
.th-exam { transition:transform .35s ease, color .35s ease, opacity .35s ease; transform:scale(.82); color:rgba(255,255,255,.5); opacity:.7; }
.th-exam.th-center { transform:scale(1.35); color:#fff; opacity:1; text-shadow:0 6px 24px rgba(0,0,0,.25); }

/* ============================================================
   YORUMLAR
   ============================================================ */
.th-testi-section { background:linear-gradient(180deg,#f7f8fc 0%,#eef2fb 100%); }
.th-testi-container { padding:64px 6vw 178px; }
.th-testi-head { text-align:center; margin-bottom:40px; }
.th-testi-wrap { overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); }
.th-testi-track { display:flex; gap:24px; width:max-content; animation:th-testi 46s linear infinite; }
.th-testi-wrap:hover .th-testi-track { animation-play-state:paused; }
.th-testi-card { flex:0 0 440px; border:1px solid #ecedf4; border-radius:18px; padding:30px; background:#fbfbfe; }
.th-stars { color:#e5342a; font-size:18px; margin-bottom:14px; }
.th-testi-quote { font-size:17px; line-height:1.6; color:#2c2f47; margin:0 0 22px; font-weight:500; }
.th-testi-author { display:flex; align-items:center; gap:12px; }
.th-testi-name { font-weight:800; font-size:15px; color:#181a34; }
.th-testi-role { font-size:13px; color:#8388a0; font-weight:600; }
@media (max-width:520px) { .th-testi-card { flex-basis:88vw; } }

/* ============================================================
   CTA
   ============================================================ */
.th-cta { position:relative; z-index:3; max-width:1280px; margin:-130px auto 72px; padding:0 6vw; }
.th-cta-box { position:relative; overflow:hidden; border-radius:24px; padding:60px 56px; background:linear-gradient(120deg,#1c2065 0%,#23276b 42%,#3a2e7a 100%); }
.th-cta-aurora { position:absolute; border-radius:50%; }
.th-aurora-1 { top:-80px; left:-40px; width:320px; height:320px; background:radial-gradient(circle,#3a5cf0,transparent 70%); opacity:.55; filter:blur(6px); animation:th-aurora 14s ease-in-out infinite; }
.th-aurora-2 { bottom:-120px; right:60px; width:360px; height:360px; background:radial-gradient(circle,#e5342a,transparent 70%); opacity:.45; filter:blur(8px); animation:th-aurora 18s ease-in-out infinite reverse; }
.th-cta-float { position:absolute; }
.th-float-1 { top:38px; right:38%; font-size:26px; opacity:.5; animation:th-floaty 5s ease-in-out infinite; }
.th-float-2 { bottom:34px; left:44%; width:14px; height:14px; border-radius:4px; background:#7bd14a; opacity:.6; animation:th-floaty 6.5s ease-in-out infinite; }
.th-float-3 { top:60px; left:30%; width:10px; height:10px; border-radius:50%; background:#f0c020; opacity:.7; animation:th-floaty 4.2s ease-in-out infinite; }
.th-cta-content { position:relative; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:44px; flex-wrap:wrap; }
.th-cta-text { flex:1; min-width:300px; }
.th-cta-badge { display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.12); color:#fff; font-weight:700; font-size:13px; padding:7px 14px; border-radius:999px; margin-bottom:18px; }
.th-cta-dot { width:7px; height:7px; border-radius:50%; background:#7bd14a; animation:th-btnpulse 2s ease-in-out infinite; }
.th-cta-text h2 { font-family:'Sora',sans-serif; font-size:36px; font-weight:800; color:#fff; margin:0 0 12px; letter-spacing:-.02em; line-height:1.15; }
.th-cta-text p { font-size:17px; color:#c3c7e6; margin:0 0 24px; max-width:520px; line-height:1.55; }
.th-cta-stats { display:flex; gap:26px; flex-wrap:wrap; }
.th-cta-stat { display:flex; align-items:center; gap:10px; color:#fff; }
.th-cta-stat-icon { font-size:20px; }
.th-cta-stat-value { font-weight:800; font-size:16px; font-family:'Sora',sans-serif; }
.th-cta-stat-label { font-size:12px; color:#a7abd6; font-weight:600; }
.th-cta-btn { position:relative; overflow:hidden; white-space:nowrap; background:#e5342a; color:#fff; font-weight:800; font-size:18px; padding:19px 38px; border-radius:14px; display:inline-flex; align-items:center; gap:10px; animation:th-btnpulse 2.6s ease-in-out infinite; transition:transform .2s ease; }
.th-cta-btn span { font-size:20px; }
.th-cta-btn:hover { transform:translateY(-2px) scale(1.03); }
.th-cta-btn::after { content:""; position:absolute; top:0; left:-60%; width:45%; height:100%; background:linear-gradient(105deg,transparent,rgba(255,255,255,.5),transparent); transform:skewX(-18deg); animation:th-shine 3.4s ease-in-out infinite; }

/* ============================================================
   FOOTER
   ============================================================ */
.th-footer { border-top:1px solid #eef0f6; background:#f7f8fc; padding:52px 6vw 34px; }
.th-footer-inner { max-width:1280px; margin:0 auto; display:flex; flex-direction:column; align-items:center; gap:24px; }
.th-footer-logo { height:52px; }
.th-socials { display:flex; gap:14px; }
.th-soc { width:44px; height:44px; border-radius:50%; background:#fff; border:1px solid #e6e9f2; display:flex; align-items:center; justify-content:center; font-size:18px; box-shadow:0 4px 12px rgba(20,22,60,.05); transition:transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, border-color .25s ease; }
.th-soc:hover { transform:translateY(-3px); box-shadow:0 10px 22px rgba(20,22,60,.14); border-color:#d5daea; }
.th-footer-nav { display:flex; gap:32px; flex-wrap:wrap; justify-content:center; font-size:15px; font-weight:600; color:#3a3d52; }
.th-copyright { width:100%; max-width:1280px; border-top:1px solid #e6e9f2; padding-top:22px; text-align:center; color:#9298b4; font-size:13px; font-weight:600; }

/* ============================================================
   LOGIN MODAL
   ============================================================ */
.th-login-overlay { position:fixed; inset:0; background:rgba(20,22,60,.45); backdrop-filter:blur(2px); z-index:3000; opacity:0; pointer-events:none; transition:opacity .25s ease; }
.th-login-overlay.is-open { opacity:1; pointer-events:auto; }
.th-login-modal { position:fixed; top:50%; left:50%; z-index:3001; width:92vw; max-width:420px; background:#fff; border-radius:20px; padding:34px 32px; box-shadow:0 30px 80px rgba(20,22,60,.3); transform:translate(-50%,-46%) scale(.96); opacity:0; pointer-events:none; transition:opacity .25s ease, transform .25s cubic-bezier(.2,.7,.2,1); }
.th-login-modal.is-open { transform:translate(-50%,-50%) scale(1); opacity:1; pointer-events:auto; }
.th-modal-close { position:absolute; top:16px; right:16px; width:34px; height:34px; border:none; background:#f2f3f8; border-radius:9px; cursor:pointer; font-size:16px; color:#3a3d52; line-height:1; }
.th-login-head { display:flex; flex-direction:column; align-items:center; text-align:center; margin-bottom:24px; }
.th-login-logo { height:44px; width:auto; margin-bottom:16px; }
.th-login-title { font-family:'Sora',sans-serif; font-weight:800; font-size:22px; color:#23276b; }
.th-login-sub { font-size:14px; color:#8388a0; font-weight:600; margin-top:4px; }
.th-login-form { display:flex; flex-direction:column; gap:14px; }
.th-login-form label { display:flex; flex-direction:column; gap:6px; font-size:13px; font-weight:700; color:#3a3d52; }
.th-login-form input { border:1px solid #dfe2ee; border-radius:10px; padding:13px 14px; font-size:15px; color:#181a34; outline:none; font-family:inherit; }
.th-login-form input:focus { border-color:#23276b; }
.th-forgot { text-align:right; margin-top:-4px; }
.th-forgot a { font-size:13px; font-weight:700; color:#23276b; }
.th-login-submit { margin-top:6px; background:#e5342a; color:#fff; font-weight:800; font-size:15px; padding:15px; border:none; border-radius:11px; cursor:pointer; box-shadow:0 12px 26px rgba(229,52,42,.3); }
.th-or { display:flex; align-items:center; gap:12px; margin:20px 0; color:#a4a9be; font-size:13px; font-weight:600; }
.th-or span { flex:1; height:1px; background:#e6e9f2; }
.th-signup { display:flex; align-items:center; justify-content:center; gap:9px; background:#fff; border:1.5px solid #23276b; color:#23276b; font-weight:800; font-size:15px; padding:14px; border-radius:11px; transition:background .2s,color .2s; }
.th-signup:hover { background:#23276b; color:#fff; }
.th-signup-note { text-align:center; font-size:13px; color:#8388a0; font-weight:600; margin-top:10px; }

/* ============================================================
   SEPET (Cart drawer)
   ============================================================ */
.th-cart-overlay { position:fixed; inset:0; background:rgba(20,22,60,.45); z-index:2000; opacity:0; pointer-events:none; transition:opacity .3s ease; }
.th-cart-overlay.is-open { opacity:1; pointer-events:auto; }
.th-cart-panel { position:fixed; top:0; right:0; height:100%; width:34vw; min-width:360px; max-width:480px; background:#fff; z-index:2001; box-shadow:-20px 0 60px rgba(20,22,60,.2); transform:translateX(100%); transition:transform .35s cubic-bezier(.4,0,.2,1); display:flex; flex-direction:column; }
.th-cart-panel.is-open { transform:translateX(0); }
.th-cart-header { display:flex; align-items:center; justify-content:space-between; padding:22px 26px; border-bottom:1px solid #eef0f6; }
.th-cart-title { font-family:'Sora',sans-serif; font-weight:800; font-size:20px; color:#23276b; }
.th-cart-title-count { color:#8388a0; font-weight:600; font-size:15px; }
.th-cart-x { width:38px; height:38px; border:1px solid #e6e9f2; background:#fff; border-radius:10px; cursor:pointer; font-size:18px; color:#3a3d52; line-height:1; }
.th-cart-items { flex:1; overflow-y:auto; padding:18px 26px; display:flex; flex-direction:column; gap:14px; }
.th-cart-item { display:flex; gap:14px; align-items:center; border:1px solid #eef0f6; border-radius:14px; padding:14px; }
.th-cart-item-icon { width:56px; height:56px; border-radius:12px; background:#eaeefb; display:flex; align-items:center; justify-content:center; font-size:24px; flex-shrink:0; overflow:hidden; }
.th-cart-item-icon img { width:100%; height:100%; object-fit:cover; }
.th-thumb-ph { color:#9aa6d8; font-size:22px; }
.th-cart-item-info { flex:1; min-width:0; }
.th-cart-item-name { font-weight:700; font-size:15px; color:#181a34; }
.th-cart-item-tag { font-size:13px; color:#8388a0; font-weight:600; }
.th-cart-item-right { text-align:right; flex-shrink:0; }
.th-cart-item-price { font-family:'Sora',sans-serif; font-weight:800; font-size:15px; color:#23276b; }
.th-cart-item-remove { margin-top:4px; background:none; border:none; color:#e5342a; font-size:12px; font-weight:700; cursor:pointer; padding:0; }
.th-cart-empty { text-align:center; color:#8388a0; font-weight:600; padding:48px 0; display:none; }
.th-cart-empty.is-shown { display:block; }
.th-cart-footer { border-top:1px solid #eef0f6; padding:22px 26px; }
.th-cart-total-row { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:16px; }
.th-cart-total-row > span:first-child { font-size:15px; font-weight:600; color:#565a72; }
.th-cart-total { font-family:'Sora',sans-serif; font-weight:800; font-size:24px; color:#23276b; }
.th-checkout { display:block; text-align:center; background:#e5342a; color:#fff; font-weight:800; font-size:16px; padding:16px; border-radius:12px; box-shadow:0 12px 26px rgba(229,52,42,.3); }
.th-cart-continue { width:100%; margin-top:10px; background:none; border:none; color:#23276b; font-size:14px; font-weight:700; cursor:pointer; padding:8px; }
@media (max-width:520px) { .th-cart-panel { width:100vw; min-width:0; } }

/* ==========================================================
   Paket kartı — ürün tipi rozeti + link uyumları
   ========================================================== */
a.th-pack-name { display:block; text-decoration:none; }
a.th-pack-name:hover { color:#e5342a; }
.th-pack.is-featured a.th-pack-name:hover { color:#ffd7d3; }
a.th-buy { text-decoration:none; }
.th-pack-type { display:inline-flex; align-items:center; gap:5px; font-size:11.5px; font-weight:800; letter-spacing:.02em; color:var(--pt,#3a5cf0); background:color-mix(in srgb, var(--pt,#3a5cf0) 10%, #fff); border:1px solid color-mix(in srgb, var(--pt,#3a5cf0) 24%, #fff); padding:4px 9px; border-radius:999px; margin-bottom:12px; }
.th-pack.is-featured .th-pack-type { color:#fff; background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.24); }

/* ==========================================================
   Ürün / Eğitim detay sayfası (paket.php)
   ========================================================== */
.th-pd { padding:0 0 64px; background:linear-gradient(180deg,#f7f8fc 0%,#eef2fb 100%); min-height:60vh; }
.th-pd > .th-container { padding-top:var(--phero-gap); }
.th-pd-crumb { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:13px; font-weight:600; color:#8388a0; margin:8px 0 26px; }
.th-pd-crumb a { color:#565a72; text-decoration:none; }
.th-pd-crumb a:hover { color:#e5342a; }
.th-pd-crumb strong { color:#23276b; font-weight:800; }

/* Üst kısım */
.th-pd-hero { display:grid; grid-template-columns:1.05fr 1fr; gap:36px; align-items:start; }
.th-pd-media-inner { position:relative; border-radius:22px; aspect-ratio:4/3; display:flex; align-items:center; justify-content:center; overflow:hidden; box-shadow:0 18px 44px rgba(20,22,60,.10); border:1px solid #e7e9f4; }
.th-pd-media-inner img { width:100%; height:100%; object-fit:cover; }
.th-pd-media-icon { font-size:120px; filter:drop-shadow(0 10px 20px rgba(20,22,60,.18)); }
.th-pd-media-off { position:absolute; top:16px; left:16px; background:#e5342a; color:#fff; font-weight:800; font-size:13px; padding:7px 13px; border-radius:999px; box-shadow:0 8px 18px rgba(229,52,42,.32); }
.th-pd-type { display:inline-flex; align-items:baseline; flex-wrap:wrap; gap:8px; margin-top:16px; font-weight:800; font-size:14px; color:var(--pt,#3a5cf0); background:color-mix(in srgb, var(--pt,#3a5cf0) 8%, #fff); border:1px solid color-mix(in srgb, var(--pt,#3a5cf0) 22%, #fff); padding:9px 15px; border-radius:14px; }
.th-pd-type em { font-style:normal; font-weight:600; font-size:12.5px; color:#8388a0; }

/* Satın alma kutusu */
.th-pd-buybox { background:#fff; border:1px solid #ecedf4; border-radius:22px; padding:30px 30px 28px; box-shadow:0 12px 34px rgba(20,22,60,.06); }
.th-pd-badge { display:inline-block; background:#e5342a; color:#fff; font-size:12px; font-weight:800; letter-spacing:.03em; padding:6px 12px; border-radius:8px; margin-bottom:14px; }
.th-pd-title { font-family:'Sora',sans-serif; font-size:32px; line-height:1.15; font-weight:800; color:#181a34; margin:0 0 12px; letter-spacing:-.02em; }
.th-pd-lead { font-size:15px; line-height:1.6; color:#565a72; margin:0 0 18px; }
.th-pd-tags { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px; }
.th-pd-price-row { display:flex; align-items:baseline; flex-wrap:wrap; gap:12px; margin-bottom:14px; }
.th-pd-old { font-size:17px; font-weight:600; color:#9aa0b8; text-decoration:line-through; }
.th-pd-price { font-family:'Sora',sans-serif; font-weight:800; font-size:38px; color:#181a34; line-height:1; letter-spacing:-.02em; }
.th-pd-vat { font-size:12.5px; font-weight:700; color:#8388a0; }
.th-pd-inst-hint { display:flex; align-items:center; flex-wrap:wrap; gap:10px 12px; font-size:13.5px; font-weight:600; color:#0f6b63; background:#e6f6f2; border:1px solid #c6ece3; border-radius:12px; padding:12px 14px; margin-bottom:20px; }
.th-pd-inst-hint-text { flex:1; min-width:160px; line-height:1.45; }
.th-pd-inst-hint strong { font-weight:800; }
.th-pd-inst-btn { flex-shrink:0; display:inline-flex; align-items:center; gap:6px; cursor:pointer; font-family:'Plus Jakarta Sans',sans-serif; font-weight:800; font-size:13px; color:#0f6b63; background:#fff; border:1px solid #9fd9cd; border-radius:9px; padding:8px 13px; transition:background .2s ease, transform .2s ease, box-shadow .2s ease; }
.th-pd-inst-btn span { transition:transform .2s ease; }
.th-pd-inst-btn:hover { background:#0f6b63; color:#fff; border-color:#0f6b63; transform:translateY(-1px); box-shadow:0 8px 18px rgba(15,107,99,.22); }
.th-pd-inst-btn:hover span { transform:translateX(3px); }

/* Taksit modalı */
.th-inst-overlay { position:fixed; inset:0; background:rgba(20,22,60,.45); backdrop-filter:blur(2px); z-index:3000; opacity:0; pointer-events:none; transition:opacity .25s ease; }
.th-inst-overlay.is-open { opacity:1; pointer-events:auto; }
.th-inst-modal { position:fixed; top:50%; left:50%; z-index:3001; width:94vw; max-width:560px; max-height:88vh; display:flex; flex-direction:column; background:#fff; border-radius:20px; box-shadow:0 30px 80px rgba(20,22,60,.3); transform:translate(-50%,-46%) scale(.96); opacity:0; pointer-events:none; transition:opacity .25s ease, transform .25s cubic-bezier(.2,.7,.2,1); }
.th-inst-modal.is-open { transform:translate(-50%,-50%) scale(1); opacity:1; pointer-events:auto; }
.th-inst-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:24px 26px 18px; border-bottom:1px solid #eef0f6; }
.th-inst-title { font-family:'Sora',sans-serif; font-weight:800; font-size:19px; color:#181a34; letter-spacing:-.01em; }
.th-inst-sub { font-size:13px; color:#6a6f88; margin-top:4px; }
.th-inst-sub strong { color:#0f6b63; font-weight:800; }
.th-inst-x { flex-shrink:0; width:38px; height:38px; border:1px solid #e6e9f2; background:#fff; border-radius:10px; cursor:pointer; font-size:17px; color:#3a3d52; line-height:1; transition:background .2s ease; }
.th-inst-x:hover { background:#f3f4fa; }
.th-inst-body { padding:20px 26px 26px; overflow-y:auto; }
.th-pd-buy { border:none; cursor:pointer; font-family:'Plus Jakarta Sans',sans-serif; font-weight:800; font-size:16px; padding:16px 26px; border-radius:13px; background:#e5342a; color:#fff; display:inline-flex; align-items:center; justify-content:center; gap:9px; box-shadow:0 12px 28px rgba(229,52,42,.28); transition:transform .22s ease, box-shadow .22s ease; text-decoration:none; }
.th-pd-buy span { font-size:18px; }
.th-pd-buy:hover { transform:translateY(-2px); box-shadow:0 16px 34px rgba(229,52,42,.36); }
.th-pd-buy.is-added { background:#188a3f; box-shadow:0 12px 28px rgba(24,138,63,.28); }
.th-pd-buy-block { width:100%; }
.th-pd-meta { list-style:none; margin:22px 0 0; padding:20px 0 0; border-top:1px solid #eef0f6; display:flex; flex-direction:column; gap:11px; }
.th-pd-meta li { display:flex; align-items:center; gap:10px; font-size:13.5px; font-weight:600; color:#565a72; }
.th-pd-meta li span { font-size:16px; width:22px; text-align:center; }

/* Gövde: içerik + yapışkan yan sütun */
.th-pd-body { display:grid; grid-template-columns:1fr 336px; gap:34px; margin-top:46px; align-items:start; }
.th-pd-block { background:#fff; border:1px solid #ecedf4; border-radius:20px; padding:28px 30px; box-shadow:0 8px 24px rgba(20,22,60,.04); margin-bottom:22px; }
.th-pd-h2 { font-family:'Sora',sans-serif; font-size:23px; font-weight:800; color:#181a34; margin:0 0 20px; letter-spacing:-.01em; display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.th-pd-desc { font-size:15px; line-height:1.75; color:#4a4f6a; margin:0; }
.th-pd-note { font-size:14px; color:#565a72; margin:-8px 0 18px; line-height:1.6; }
.th-pd-fineprint { font-size:12px; color:#9096ae; margin:14px 0 0; line-height:1.6; }

/* Eğitim içeriği */
.th-pd-feats { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.th-pd-aside .th-pd-feats { grid-template-columns:1fr; gap:12px; }
.th-pd-feat { display:flex; gap:13px; align-items:flex-start; padding:15px; border:1px solid #eef0f6; border-radius:14px; background:#fbfcfe; }
.th-pd-feat-icon { font-size:22px; flex-shrink:0; line-height:1.2; }
.th-pd-feat-title { font-weight:800; font-size:14.5px; color:#23276b; margin-bottom:3px; }
.th-pd-feat-detail { font-size:13px; color:#6a6f88; line-height:1.5; }

/* Hediye kitaplar */
.th-pd-gift-worth { font-family:'Plus Jakarta Sans',sans-serif; font-size:12.5px; font-weight:800; color:#0f6b63; background:#e6f6f2; border:1px solid #c6ece3; padding:5px 11px; border-radius:999px; letter-spacing:0; }
.th-pd-gifts { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.th-pd-gift { display:flex; gap:15px; border:1px solid #eef0f6; border-radius:16px; padding:16px; background:#fbfcfe; text-decoration:none; color:inherit; transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.th-pd-gift:hover { border-color:#d7dcf3; box-shadow:0 10px 24px rgba(20,22,60,.08); transform:translateY(-2px); }
.th-pd-gift-cover { position:relative; width:78px; height:104px; border-radius:10px; background:linear-gradient(135deg,#eef1fb,#e2e6f6); display:flex; align-items:center; justify-content:center; font-size:34px; flex-shrink:0; overflow:hidden; box-shadow:0 6px 16px rgba(20,22,60,.12); }
.th-pd-gift-cover img { width:100%; height:100%; object-fit:cover; }
.th-pd-gift-fmt { position:absolute; bottom:0; left:0; right:0; text-align:center; font-size:10px; font-weight:800; letter-spacing:.03em; padding:3px; color:#fff; }
.th-pd-gift-fmt-b { background:rgba(35,39,107,.86); }
.th-pd-gift-fmt-d { background:rgba(58,92,240,.9); }
.th-pd-gift-info { flex:1; min-width:0; display:flex; flex-direction:column; }
.th-pd-gift-title { font-weight:800; font-size:14.5px; color:#181a34; line-height:1.3; }
.th-pd-gift-author { font-size:12px; font-weight:600; color:#8388a0; margin-top:2px; }
.th-pd-gift-desc { font-size:12.5px; color:#6a6f88; line-height:1.5; margin:7px 0 0; }
.th-pd-gift-foot { margin-top:auto; padding-top:10px; display:flex; align-items:center; gap:10px; }
.th-pd-gift-price { font-size:13px; font-weight:700; color:#9aa0b8; text-decoration:line-through; }
.th-pd-gift-free { font-size:11.5px; font-weight:800; color:#188a3f; background:#e5f5ea; padding:3px 9px; border-radius:999px; }

/* Taksit tablosu */
.th-pd-table-wrap { overflow-x:auto; border:1px solid #eef0f6; border-radius:14px; }
.th-pd-table { width:100%; border-collapse:collapse; font-size:14px; min-width:460px; }
.th-pd-table thead th { text-align:left; background:#f4f6fc; color:#565a72; font-weight:800; font-size:12.5px; letter-spacing:.03em; text-transform:uppercase; padding:13px 18px; border-bottom:1px solid #e7e9f4; }
.th-pd-table td { padding:13px 18px; border-bottom:1px solid #f0f2f8; color:#3a3d52; }
.th-pd-table tbody tr:last-child td { border-bottom:none; }
.th-pd-table td strong { color:#23276b; }
.th-pd-tr-free { background:#f4fbf7; }
.th-pd-pill { display:inline-block; font-size:12px; font-weight:700; color:#8388a0; }
.th-pd-pill-free { color:#188a3f; background:#e5f5ea; padding:4px 11px; border-radius:999px; font-weight:800; }

/* SSS akordiyon */
.th-pd-faq-item { border:1px solid #eef0f6; border-radius:13px; margin-bottom:11px; overflow:hidden; background:#fbfcfe; }
.th-pd-faq-item.is-open { border-color:#d7dcf3; box-shadow:0 8px 20px rgba(20,22,60,.05); }
.th-pd-faq-q { width:100%; display:flex; align-items:center; justify-content:space-between; gap:14px; text-align:left; background:none; border:none; cursor:pointer; font-family:'Plus Jakarta Sans',sans-serif; font-weight:800; font-size:15px; color:#23276b; padding:17px 20px; }
.th-pd-faq-q svg { flex-shrink:0; color:#8388a0; transition:transform .25s ease; }
.th-pd-faq-item.is-open .th-pd-faq-q svg { transform:rotate(180deg); color:#e5342a; }
.th-pd-faq-a { max-height:0; overflow:hidden; transition:max-height .3s ease; }
.th-pd-faq-a p { margin:0; padding:0 20px 18px; font-size:14px; line-height:1.7; color:#565a72; }

/* Yapışkan yan özet */
.th-pd-sticky { position:sticky; top:22px; background:#fff; border:1px solid #ecedf4; border-radius:20px; padding:24px; box-shadow:0 12px 30px rgba(20,22,60,.07); }
.th-pd-sticky-name { font-weight:800; font-size:16px; color:#181a34; line-height:1.35; margin-bottom:12px; }
.th-pd-sticky-price-row { display:flex; align-items:baseline; gap:10px; margin-bottom:8px; }
.th-pd-sticky-price-row .th-pd-price { font-size:30px; }
.th-pd-sticky-price-row .th-pd-old { font-size:15px; }
.th-pd-sticky-inst { font-size:12.5px; font-weight:700; color:#0f6b63; margin-bottom:16px; }
.th-pd-sticky-list { list-style:none; margin:18px 0 0; padding:16px 0 0; border-top:1px solid #eef0f6; display:flex; flex-direction:column; gap:9px; font-size:13px; font-weight:600; color:#4a4f6a; }
.th-pd-sticky-list li { color:#188a3f; }

/* Duyarlı */
@media (max-width:1040px) {
  .th-pd-hero { grid-template-columns:1fr; gap:24px; }
  .th-pd-body { grid-template-columns:1fr; }
  .th-pd-aside { order:-1; }
  .th-pd-sticky { position:static; }
}
@media (max-width:620px) {
  .th-pd-feats, .th-pd-gifts { grid-template-columns:1fr; }
  .th-pd-title { font-size:26px; }
  .th-pd-price { font-size:32px; }
  .th-pd-block { padding:22px 18px; }
  .th-pd-buybox { padding:24px 20px; }
}

/* ==========================================================
   Kurs kartı — başlık linki
   ========================================================== */
a.th-course-name { display:block; text-decoration:none; }
a.th-course-name:hover { color:#e5342a; }
.th-course.is-featured a.th-course-name:hover { color:#ff8a80; }

/* ==========================================================
   Kurs detay sayfası (kurs.php)
   ========================================================== */
.th-crs { background:linear-gradient(180deg,#f7f8fc 0%,#eef2fb 100%); }
.th-crs-hero { background:linear-gradient(160deg,#ffffff 0%,#f2f4fc 100%); border-bottom:1px solid #e8ebf5; padding:24px 0 44px; }
.th-crs-hero-inner { }
.th-crs-crumb { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:13px; font-weight:600; color:#8388a0; margin:8px 0 26px; }
.th-crs-crumb a { color:#565a72; text-decoration:none; }
.th-crs-crumb a:hover { color:#e5342a; }
.th-crs-crumb strong { color:#23276b; font-weight:800; }
.th-crs-hero-grid { display:grid; grid-template-columns:1fr auto; gap:36px; align-items:center; }
.th-crs-badge { display:inline-block; background:#e5342a; color:#fff; font-size:12px; font-weight:800; letter-spacing:.03em; padding:6px 12px; border-radius:8px; margin-bottom:14px; }
.th-crs-title { font-family:'Sora',sans-serif; font-size:38px; line-height:1.12; font-weight:800; color:#181a34; margin:0 0 14px; letter-spacing:-.02em; display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.th-crs-title-icon { font-size:34px; }
.th-crs-lead { font-size:16px; line-height:1.6; color:#565a72; margin:0 0 20px; max-width:56ch; }
.th-crs-chips { display:flex; flex-wrap:wrap; gap:9px; margin-bottom:26px; }
.th-crs-chip { font-size:12.5px; font-weight:700; color:#23276b; background:#fff; border:1px solid #e2e6f3; padding:7px 13px; border-radius:999px; box-shadow:0 4px 12px rgba(20,22,60,.04); }
.th-crs-cta { display:inline-flex; align-items:center; justify-content:center; gap:9px; border:none; cursor:pointer; font-family:'Plus Jakarta Sans',sans-serif; font-weight:800; font-size:16px; padding:15px 26px; border-radius:13px; background:#23276b; color:#fff; box-shadow:0 12px 28px rgba(35,39,107,.25); transition:transform .22s ease, box-shadow .22s ease; text-decoration:none; }
.th-crs-cta span { font-size:18px; }
.th-crs-cta:hover { transform:translateY(-2px); box-shadow:0 16px 34px rgba(35,39,107,.34); }
.th-crs-cta-block { width:100%; }
/* Hero'da iki CTA yan yana; dar ekranda alt alta */
.th-crs-cta-group { display:flex; flex-wrap:wrap; gap:12px; }
.th-crs-cta--buy { background:#e5342a; box-shadow:0 12px 28px rgba(229,52,42,.28); }
.th-crs-cta--buy:hover { box-shadow:0 16px 34px rgba(229,52,42,.36); }
@media (max-width:520px) { .th-crs-cta-group .th-crs-cta { width:100%; } }
.th-crs-hero-badge { width:160px; height:160px; border-radius:32px; display:flex; align-items:center; justify-content:center; font-size:74px; box-shadow:0 24px 50px rgba(20,22,60,.16); border:1px solid #e7e9f4; }

/* Gövde */
.th-crs-body { display:grid; grid-template-columns:1fr 320px; gap:34px; align-items:start; padding:var(--phero-gap) 6vw 64px; }
.th-crs-block { background:#fff; border:1px solid #ecedf4; border-radius:20px; padding:28px 30px; box-shadow:0 8px 24px rgba(20,22,60,.04); margin-bottom:22px; }
.th-crs-h2 { font-family:'Sora',sans-serif; font-size:23px; font-weight:800; color:#181a34; margin:0 0 20px; letter-spacing:-.01em; }
.th-crs-desc { font-size:15px; line-height:1.75; color:#4a4f6a; margin:0; }
.th-crs-note { font-size:14px; color:#565a72; margin:-8px 0 20px; line-height:1.6; }
.th-crs-note strong { color:#23276b; }

/* Kazanımlar */
.th-crs-outcomes { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.th-crs-outcome { display:flex; gap:13px; align-items:flex-start; padding:16px; border:1px solid #eef0f6; border-radius:14px; background:#fbfcfe; }
.th-crs-outcome-icon { font-size:24px; flex-shrink:0; line-height:1.1; }
.th-crs-outcome-title { font-weight:800; font-size:15px; color:#23276b; margin-bottom:3px; }
.th-crs-outcome-detail { font-size:13px; color:#6a6f88; line-height:1.5; }

/* Program timeline */
.th-crs-timeline { list-style:none; margin:0; padding:0; position:relative; }
.th-crs-timeline::before { content:''; position:absolute; left:7px; top:6px; bottom:6px; width:2px; background:linear-gradient(#d7dcf3,#eef0f6); }
.th-crs-tl-item { position:relative; padding:0 0 18px 34px; }
.th-crs-tl-item:last-child { padding-bottom:0; }
.th-crs-tl-dot { position:absolute; left:0; top:6px; width:16px; height:16px; border-radius:50%; background:#e5342a; border:3px solid #fff; box-shadow:0 0 0 2px #f3d3d0; }
.th-crs-tl-card { border:1px solid #eef0f6; border-radius:14px; padding:15px 18px; background:#fbfcfe; }
.th-crs-tl-label { display:inline-block; font-size:11.5px; font-weight:800; letter-spacing:.03em; text-transform:uppercase; color:#e5342a; background:#fdeae8; padding:3px 9px; border-radius:6px; margin-bottom:8px; }
.th-crs-tl-title { font-weight:800; font-size:16px; color:#181a34; margin-bottom:5px; }
.th-crs-tl-desc { font-size:13.5px; color:#6a6f88; line-height:1.55; margin:0; }

/* Eğitim bilgileri */
.th-crs-specs { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.th-crs-spec { display:flex; gap:13px; align-items:center; padding:15px 16px; border:1px solid #eef0f6; border-radius:14px; background:#fbfcfe; }
.th-crs-spec-icon { font-size:22px; flex-shrink:0; }
.th-crs-spec-label { font-size:12px; font-weight:700; color:#8388a0; text-transform:uppercase; letter-spacing:.03em; }
.th-crs-spec-val { font-weight:800; font-size:15px; color:#23276b; margin-top:2px; }

/* Bilgi talep formu */
.th-crs-lead { border:1px solid #d7dcf3; }
.th-crs-form { display:grid; grid-template-columns:1fr 1fr; gap:16px 18px; }
.th-crs-field { display:flex; flex-direction:column; }
.th-crs-field-wide { grid-column:1 / -1; }
.th-crs-field label { font-size:13.5px; font-weight:700; color:#3a3d52; margin-bottom:7px; }
.th-crs-field label em { color:#e5342a; font-style:normal; }
.th-crs-field input, .th-crs-field textarea { font-family:'Plus Jakarta Sans',sans-serif; font-size:14.5px; color:#181a34; padding:12px 14px; border:1px solid #dfe3ef; border-radius:11px; background:#fff; transition:border-color .2s ease, box-shadow .2s ease; resize:vertical; }
.th-crs-field input:focus, .th-crs-field textarea:focus { outline:none; border-color:#3a5cf0; box-shadow:0 0 0 3px rgba(58,92,240,.14); }
.th-crs-err { font-size:12.5px; font-weight:600; color:#e5342a; margin-top:6px; }
.th-crs-kvkk { font-size:12px; color:#9096ae; margin:12px 0 0; line-height:1.6; }
.th-hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.th-crs-success { display:flex; gap:16px; align-items:flex-start; background:#f4fbf7; border:1px solid #c9ecd7; border-radius:16px; padding:22px 24px; }
.th-crs-success-icon { flex-shrink:0; width:42px; height:42px; border-radius:50%; background:#188a3f; color:#fff; font-size:22px; font-weight:800; display:flex; align-items:center; justify-content:center; }
.th-crs-success strong { font-size:17px; color:#166b34; }
.th-crs-success p { margin:5px 0 0; font-size:14px; color:#3f6b4f; line-height:1.6; }

/* Yan sütun */
.th-crs-aside { }
.th-crs-sticky { position:sticky; top:22px; background:#fff; border:1px solid #ecedf4; border-radius:20px; padding:26px 24px; box-shadow:0 12px 30px rgba(20,22,60,.07); text-align:center; }
.th-crs-sticky-icon { font-size:46px; margin-bottom:10px; }
.th-crs-sticky-photo { margin:-6px -4px 14px; border-radius:14px; overflow:hidden; aspect-ratio:16/10; }
.th-crs-sticky-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.th-crs-photo { border-radius:20px; overflow:hidden; margin-bottom:26px; box-shadow:0 14px 34px rgba(20,22,60,.10); border:1px solid #ecedf4; }
.th-crs-photo img { width:100%; height:auto; max-height:420px; object-fit:cover; display:block; }
.th-crs-sticky-name { font-family:'Sora',sans-serif; font-weight:800; font-size:18px; color:#181a34; line-height:1.3; margin-bottom:16px; }
.th-crs-sticky-specs { list-style:none; margin:0 0 18px; padding:16px 0; border-top:1px solid #eef0f6; border-bottom:1px solid #eef0f6; display:flex; flex-direction:column; gap:10px; text-align:left; }
.th-crs-sticky-specs li { font-size:13px; color:#4a4f6a; font-weight:600; display:flex; gap:8px; align-items:baseline; }
.th-crs-sticky-specs li span { flex-shrink:0; }
.th-crs-sticky-specs strong { color:#23276b; font-weight:700; }
.th-crs-sticky-note { font-size:12px; color:#8388a0; font-weight:600; margin-top:12px; }

/* Duyarlı */
@media (max-width:1040px) {
  .th-crs-hero-grid { grid-template-columns:1fr; gap:24px; }
  .th-crs-hero-badge { display:none; }
  .th-crs-body { grid-template-columns:1fr; }
  .th-crs-aside { order:-1; }
  .th-crs-sticky { position:static; }
}
@media (max-width:620px) {
  .th-crs-title { font-size:29px; }
  .th-crs-outcomes, .th-crs-specs, .th-crs-form { grid-template-columns:1fr; }
  .th-crs-block { padding:22px 18px; }
}

/* ============================================================
   SEVİYE TESTİ  (seviye-testi.php)
   ============================================================ */
.th-test { background:linear-gradient(180deg,#f6f7fd 0%,#ffffff 46%); min-height:70vh; padding:0 0 70px; }
.th-test-wrap { max-width:760px; padding-top:var(--phero-gap); }
.th-test-crumb { display:flex; align-items:center; gap:8px; font-size:13px; color:#8388a0; font-weight:600; margin-bottom:24px; }
.th-test-crumb a { color:#3a5cf0; }
.th-test-crumb strong { color:#3a3d52; }

/* Ekranlar */
.th-test-screen { animation:th-rise .5s ease both; }

/* --- Giriş --- */
.th-test-intro { text-align:left; padding-top:4px; }
.th-test-eyebrow { display:inline-block; font-size:12.5px; font-weight:800; letter-spacing:.02em; color:#188a3f; background:#eafaf0; border:1px solid #cdeed9; padding:7px 15px; border-radius:999px; }
.th-test-title { font-family:'Sora',sans-serif; font-size:44px; font-weight:800; letter-spacing:-.02em; color:#181a34; margin:22px 0 14px; line-height:1.08; }
.th-test-title span { color:#e5342a; }
.th-test-lead { font-size:16.5px; line-height:1.65; color:#565a72; max-width:56ch; margin:0 auto 30px; }
.th-test-lead strong { color:#23276b; }
.th-test-facts { list-style:none; margin:2px 0 32px; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:14px; max-width:560px; }
.th-test-facts li { background:#fff; border:1px solid #ecedf4; border-radius:16px; padding:20px 12px; font-size:13px; color:#565a72; line-height:1.45; box-shadow:0 8px 24px rgba(20,22,60,.05); }
.th-test-facts li span { font-size:26px; display:block; margin-bottom:8px; }
.th-test-facts li strong { color:#181a34; font-size:15px; }
.th-test-empty { color:#8388a0; font-weight:600; }

/* Ortak buton */
.th-test-btn { display:inline-flex; align-items:center; justify-content:center; gap:9px; border:none; cursor:pointer; font-family:'Plus Jakarta Sans',sans-serif; font-weight:800; font-size:16.5px; padding:16px 34px; border-radius:14px; background:#e5342a; color:#fff; box-shadow:0 14px 30px rgba(229,52,42,.32); transition:transform .2s ease, box-shadow .2s ease; }
.th-test-btn span { font-size:19px; line-height:1; }
.th-test-btn:hover { transform:translateY(-2px); box-shadow:0 18px 38px rgba(229,52,42,.4); }
.th-test-btn:disabled { background:#c9ccdd; box-shadow:none; cursor:not-allowed; transform:none; }

/* --- Soru ekranı --- */
.th-test-quiz { background:#fff; border:1px solid #ecedf4; border-radius:24px; padding:32px 34px 30px; box-shadow:0 18px 50px rgba(20,22,60,.08); }
.th-test-progress { margin-bottom:26px; }
.th-test-progress-head { display:flex; justify-content:space-between; align-items:center; font-size:13px; font-weight:700; margin-bottom:10px; }
.th-test-progress-head span:first-child { color:#23276b; }
.th-test-progress-head span:last-child { color:#8388a0; font-weight:600; font-size:12.5px; }
.th-test-bar { height:8px; border-radius:999px; background:#eceefb; overflow:hidden; }
.th-test-bar-fill { height:100%; border-radius:999px; background:#3a5cf0; width:0; transition:width .35s cubic-bezier(.4,0,.2,1); }
.th-test-question { font-family:'Sora',sans-serif; font-size:24px; font-weight:700; color:#181a34; line-height:1.35; margin:0 0 22px; }
.th-test-options { display:flex; flex-direction:column; gap:12px; }
.th-test-opt { text-align:left; font-family:'Plus Jakarta Sans',sans-serif; font-size:16px; font-weight:600; color:#2c2f4a; background:#f7f8fc; border:2px solid #e9ebf4; border-radius:14px; padding:16px 18px; cursor:pointer; transition:border-color .15s ease, background .15s ease, transform .1s ease; }
.th-test-opt:hover { border-color:#c3ccf5; background:#f1f3fd; }
.th-test-opt.is-on { border-color:#3a5cf0; background:#eef2ff; color:#23276b; box-shadow:0 0 0 3px rgba(58,92,240,.12); }
.th-test-actions { display:flex; align-items:center; justify-content:space-between; margin-top:26px; }
.th-test-back { background:none; border:none; cursor:pointer; font-family:'Plus Jakarta Sans',sans-serif; font-size:15px; font-weight:700; color:#8388a0; padding:10px 6px; }
.th-test-back:hover { color:#23276b; }
.th-test-next { padding:14px 28px; font-size:15.5px; }

/* --- Sonuç ekranı --- */
.th-test-result-card { --accent:#3a5cf0; display:flex; align-items:center; gap:22px; background:#fff; border:1px solid #ecedf4; border-left:6px solid var(--accent); border-radius:20px; padding:26px 28px; box-shadow:0 16px 44px rgba(20,22,60,.09); }
.th-test-result-badge { flex-shrink:0; width:84px; height:84px; border-radius:20px; background:#3a5cf0; color:#fff; font-family:'Sora',sans-serif; font-weight:800; font-size:32px; display:flex; align-items:center; justify-content:center; box-shadow:0 12px 26px rgba(20,22,60,.18); }
.th-test-result-meta { flex:1; min-width:0; }
.th-test-result-eyebrow { font-size:12.5px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:#8388a0; }
.th-test-result-title { font-family:'Sora',sans-serif; font-size:26px; font-weight:800; color:#181a34; margin:4px 0 14px; line-height:1.2; }
.th-test-result-score { display:flex; align-items:center; gap:12px; }
.th-test-result-score .th-test-bar { flex:1; }
.th-test-result-score span { font-size:13px; font-weight:700; color:#565a72; white-space:nowrap; }
.th-test-result-desc { font-size:16px; line-height:1.65; color:#454963; margin:22px 2px; }
.th-test-result-rec { display:flex; gap:14px; align-items:flex-start; background:#f4f7ff; border:1px solid #d9e2fb; border-radius:16px; padding:18px 20px; }
.th-test-result-rec-icon { font-size:24px; flex-shrink:0; }
.th-test-result-rec p { margin:0; font-size:14.5px; line-height:1.6; color:#33406b; font-weight:600; }

/* Lead formu */
.th-test-lead { margin-top:26px; background:#fff; border:1px solid #d7dcf3; border-radius:22px; padding:30px 32px; box-shadow:0 12px 34px rgba(20,22,60,.06); }
.th-test-lead-head h3 { font-family:'Sora',sans-serif; font-size:22px; font-weight:800; color:#181a34; margin:0 0 8px; }
.th-test-lead-head p { font-size:14.5px; line-height:1.6; color:#565a72; margin:0 0 22px; }
.th-test-lead-head strong { color:#23276b; }
.th-test-form { display:grid; grid-template-columns:1fr 1fr; gap:16px 18px; }
.th-test-field { display:flex; flex-direction:column; }
.th-test-field-wide { grid-column:1 / -1; }
.th-test-field label { font-size:13.5px; font-weight:700; color:#3a3d52; margin-bottom:7px; }
.th-test-field label em { color:#e5342a; font-style:normal; }
.th-test-field input[type=text], .th-test-field input[type=tel], .th-test-field input[type=email] { font-family:'Plus Jakarta Sans',sans-serif; font-size:14.5px; color:#181a34; padding:12px 14px; border:1px solid #dfe3ef; border-radius:11px; background:#fff; transition:border-color .2s ease, box-shadow .2s ease; }
.th-test-field input:focus { outline:none; border-color:#3a5cf0; box-shadow:0 0 0 3px rgba(58,92,240,.14); }

/* KVKK onay kutusu */
.th-test-consent { margin-top:4px; }
.th-test-check { display:flex; gap:12px; align-items:flex-start; cursor:pointer; background:#f7f8fc; border:1px solid #e6e9f4; border-radius:13px; padding:15px 16px; }
.th-test-check input { position:absolute; opacity:0; width:0; height:0; }
.th-test-check-box { flex-shrink:0; width:22px; height:22px; border-radius:6px; border:2px solid #c2c8de; background:#fff; margin-top:1px; position:relative; transition:background .15s ease, border-color .15s ease; }
.th-test-check-box::after { content:''; position:absolute; left:6px; top:2px; width:6px; height:11px; border:solid #fff; border-width:0 2.5px 2.5px 0; transform:rotate(45deg) scale(0); transition:transform .15s ease; }
.th-test-check input:checked + .th-test-check-box { background:#188a3f; border-color:#188a3f; }
.th-test-check input:checked + .th-test-check-box::after { transform:rotate(45deg) scale(1); }
.th-test-check input:focus-visible + .th-test-check-box { box-shadow:0 0 0 3px rgba(24,138,63,.22); }
.th-test-check-text { font-size:13px; line-height:1.55; color:#565a72; }
.th-test-check-text a { color:#3a5cf0; font-weight:700; text-decoration:underline; }
.th-test-check-text strong { color:#23276b; }
.th-test-submit { width:100%; margin-top:4px; }

/* Tekrar / kurslar */
.th-test-again { display:flex; align-items:center; justify-content:center; gap:20px; flex-wrap:wrap; margin-top:26px; }
.th-test-restart { background:none; border:none; cursor:pointer; font-family:'Plus Jakarta Sans',sans-serif; font-size:14.5px; font-weight:700; color:#8388a0; padding:8px 4px; }
.th-test-restart:hover { color:#23276b; }
.th-test-restart-alt { color:#3a5cf0; }

@media (max-width:620px) {
  .th-test-title { font-size:33px; }
  .th-test-facts { grid-template-columns:1fr; max-width:340px; }
  .th-test-quiz { padding:24px 20px; }
  .th-test-question { font-size:20px; }
  .th-test-lead { padding:24px 20px; }
  .th-test-form { grid-template-columns:1fr; }
  .th-test-result-card { flex-direction:column; text-align:center; align-items:center; }
  .th-test-result-score { flex-direction:column; align-items:stretch; }
}

/* ============================================================
   İLETİŞİM  (iletisim.php)
   ============================================================ */
.th-ct { background:linear-gradient(180deg,#f6f7fd 0%,#ffffff 40%); }

/* Hero */
.th-ct-hero { padding:24px 0 34px; }
.th-ct-hero-inner { max-width:820px; }
.th-ct-eyebrow { display:inline-block; font-size:12.5px; font-weight:800; letter-spacing:.02em; color:#3a5cf0; background:#eef2ff; border:1px solid #d7dcf3; padding:7px 15px; border-radius:999px; margin-top:0; }
.th-ct-title { font-family:'Sora',sans-serif; font-size:44px; font-weight:800; letter-spacing:-.02em; color:#181a34; margin:18px 0 14px; line-height:1.08; }
.th-ct-title span { color:#e5342a; }
.th-ct-lead { font-size:16.5px; line-height:1.65; color:#565a72; max-width:64ch; margin:0; }

/* İki sütunlu düzen */
.th-ct-grid { display:grid; grid-template-columns:0.92fr 1.08fr; gap:34px; padding-top:var(--phero-gap); padding-bottom:56px; align-items:start; }

/* Bilgi kartları */
.th-ct-info { display:flex; flex-direction:column; gap:14px; }
.th-ct-card { display:flex; gap:16px; align-items:flex-start; background:#fff; border:1px solid #ecedf4; border-radius:16px; padding:18px 20px; box-shadow:0 8px 24px rgba(20,22,60,.05); transition:transform .2s ease, box-shadow .2s ease; }
.th-ct-card:hover { transform:translateY(-2px); box-shadow:0 14px 32px rgba(20,22,60,.09); }
.th-ct-card-icon { flex-shrink:0; width:46px; height:46px; border-radius:13px; display:inline-flex; align-items:center; justify-content:center; color:var(--c,#3a5cf0); background:color-mix(in srgb, var(--c,#3a5cf0) 12%, #fff); }
.th-ct-card-label { font-size:12.5px; font-weight:800; letter-spacing:.02em; text-transform:uppercase; color:#8388a0; margin-bottom:5px; }
.th-ct-card-val { margin:0; font-size:15.5px; line-height:1.55; color:#181a34; font-weight:600; }
.th-ct-card-val a { color:#23276b; }
.th-ct-card-val a:hover { color:#3a5cf0; text-decoration:underline; }
.th-ct-socials { display:flex; gap:10px; margin-top:6px; padding-left:2px; }
.th-ct-socials .th-soc { width:42px; height:42px; border-radius:12px; border:1px solid #ecedf4; background:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:17px; transition:transform .2s ease, box-shadow .2s ease; }
.th-ct-socials .th-soc:hover { transform:translateY(-2px); box-shadow:0 10px 22px rgba(20,22,60,.12); }

/* Form kutusu */
.th-ct-formwrap { background:#fff; border:1px solid #d7dcf3; border-radius:22px; padding:30px 30px 34px; box-shadow:0 18px 44px rgba(20,22,60,.07); }
.th-ct-form-title { font-family:'Sora',sans-serif; font-size:24px; font-weight:800; color:#181a34; margin:0 0 4px; letter-spacing:-.01em; }
.th-ct-formwrap .th-crs-note { margin:0 0 20px; }
.th-ct-formwrap .cf-turnstile { min-height:65px; }

/* Harita */
.th-ct-map { line-height:0; border-top:1px solid #ecedf4; }
.th-ct-map iframe { filter:saturate(1.05); }

/* Duyarlı */
@media (max-width:940px) {
  .th-ct-grid { grid-template-columns:1fr; gap:26px; }
  .th-ct-info { order:2; }
}
@media (max-width:620px) {
  .th-ct-title { font-size:32px; }
  .th-ct-formwrap { padding:24px 20px 26px; }
  .th-ct-map iframe { height:320px; }
}

/* ============================================================
   ÜYELİK — Giriş / Kayıt / Hesabım
   ============================================================ */
.th-account-btn { display:inline-flex; align-items:center; gap:8px; background:#23276b; box-shadow:0 8px 20px rgba(35,39,107,.28); }
.th-account-btn svg { flex-shrink:0; }

.th-auth { padding:56px 0 80px; background:linear-gradient(180deg,#f6f7fc 0%,#fff 60%); min-height:60vh; }
.th-auth-wrap { display:flex; justify-content:center; }
.th-auth-card { width:100%; max-width:440px; background:#fff; border:1px solid #eceef5; border-radius:20px; padding:34px 32px; box-shadow:0 24px 60px rgba(20,22,60,.08); }

.th-auth-head { display:flex; flex-direction:column; align-items:center; text-align:center; margin-bottom:22px; }
.th-auth-logo { height:44px; width:auto; margin-bottom:16px; }
.th-auth-title { font-family:'Sora',sans-serif; font-weight:800; font-size:24px; color:#23276b; margin:0; }
.th-auth-sub { font-size:14px; color:#8388a0; font-weight:600; margin-top:6px; }
.th-auth-icon { width:60px; height:60px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:30px; font-weight:800; margin-bottom:14px; }
.th-auth-icon--ok { background:#e7f7ee; color:#12a150; }

.th-auth-form { display:flex; flex-direction:column; gap:14px; }
.th-auth-form label { display:flex; flex-direction:column; gap:6px; font-size:13px; font-weight:700; color:#3a3d52; }
.th-auth-form input { border:1px solid #dfe2ee; border-radius:10px; padding:13px 14px; font-size:15px; color:#181a34; outline:none; font-family:inherit; }
.th-auth-form input:focus { border-color:#23276b; box-shadow:0 0 0 3px rgba(35,39,107,.08); }
.th-auth-submit { margin-top:6px; background:#e5342a; color:#fff; font-weight:800; font-size:15px; padding:15px; border:none; border-radius:11px; cursor:pointer; box-shadow:0 12px 26px rgba(229,52,42,.3); }
.th-auth-submit:hover { filter:brightness(1.03); }

.th-auth-foot { text-align:center; font-size:14px; color:#8388a0; font-weight:600; margin-top:20px; }
.th-auth-foot a { color:#23276b; font-weight:800; }

.th-auth-alert { border-radius:11px; padding:12px 14px; font-size:13.5px; font-weight:600; margin-bottom:18px; line-height:1.5; }
.th-auth-alert--err { background:#fdecea; color:#c22a20; border:1px solid #f6c9c4; }
.th-auth-alert--ok  { background:#e7f7ee; color:#12854a; border:1px solid #bfe6cf; }

/* Hesabım — dashboard düzeni (sol menü + ana içerik) */
.th-account-wrap { max-width:940px; }
.th-account-shell { max-width:1280px; display:grid; grid-template-columns:272px 1fr; gap:30px; align-items:start; }

/* Sol menü */
.th-account-side { position:sticky; top:96px; background:#fff; border:1px solid #eceef5; border-radius:20px; padding:22px 18px; box-shadow:0 24px 60px rgba(20,22,60,.07); }
.th-side-user { display:flex; align-items:center; gap:14px; padding:6px 6px 20px; border-bottom:1px solid #f0f1f7; margin-bottom:16px; }
.th-side-user-info { min-width:0; }
.th-side-hello { font-size:12.5px; font-weight:700; color:#9aa0b5; margin:0; }
.th-side-name { font-family:'Sora',sans-serif; font-weight:800; font-size:17px; color:#23276b; margin:2px 0 0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.th-side-nav { display:flex; flex-direction:column; gap:4px; }
.th-side-link { display:flex; align-items:center; gap:12px; padding:12px 14px; border-radius:12px; font-size:14.5px; font-weight:700; color:#3a3d52; transition:background .18s,color .18s; }
.th-side-link i { width:18px; text-align:center; font-size:15px; color:#8388a0; transition:color .18s; }
.th-side-link:hover { background:#f5f6fc; }
.th-side-link.is-active { background:#23276b; color:#fff; }
.th-side-link.is-active i { color:#fff; }
.th-side-count { margin-left:auto; background:#eef0f9; color:#23276b; font-size:12px; font-weight:800; min-width:22px; height:22px; padding:0 7px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; }
.th-side-link.is-active .th-side-count { background:rgba(255,255,255,.22); color:#fff; }
.th-side-link--out { color:#e5342a; margin-top:6px; border-top:1px solid #f0f1f7; border-radius:0 0 12px 12px; padding-top:16px; }
.th-side-link--out i { color:#e5342a; }
.th-side-link--out:hover { background:#fdeceb; }

.th-account-avatar { width:52px; height:52px; border-radius:15px; background:#23276b; color:#fff; font-family:'Sora',sans-serif; font-weight:800; font-size:23px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }

/* Ana içerik */
.th-account-main { min-width:0; display:flex; flex-direction:column; gap:22px; }
.th-account-head { margin-bottom:2px; }
.th-account-title { font-family:'Sora',sans-serif; font-weight:800; font-size:28px; color:#23276b; margin:0; }
.th-account-subtitle { font-size:14.5px; color:#8388a0; font-weight:600; margin:6px 0 0; }

/* İstatistik kartları */
.th-account-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.th-stat-card { display:flex; align-items:center; gap:14px; background:#fff; border:1px solid #eceef5; border-radius:16px; padding:18px 18px; box-shadow:0 14px 34px rgba(20,22,60,.05); }
.th-stat-ic { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }
.th-stat-ic--blue  { background:#eef0f9; color:#23276b; }
.th-stat-ic--green { background:#e7f7ee; color:#12a150; }
.th-stat-ic--amber { background:#fff3e0; color:#d08616; }
.th-stat-num { font-family:'Sora',sans-serif; font-weight:800; font-size:19px; color:#181a34; line-height:1.1; }
.th-stat-lbl { font-size:12.5px; font-weight:700; color:#9aa0b5; margin-top:3px; }

.th-account-card { max-width:none; }
.th-card-head { margin-bottom:18px; }
.th-account-h2 { font-family:'Sora',sans-serif; font-weight:800; font-size:18px; color:#23276b; margin:0; display:flex; align-items:center; gap:10px; }
.th-account-h2 i { color:#8388a0; font-size:16px; }

.th-account-info { display:flex; flex-direction:column; gap:0; margin:0; }
.th-account-info > div { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:13px 0; border-bottom:1px solid #f0f1f7; }
.th-account-info > div:last-child { border-bottom:none; }
.th-account-info dt { font-size:13px; font-weight:700; color:#8388a0; margin:0; }
.th-account-info dd { font-size:14.5px; font-weight:700; color:#181a34; margin:0; text-align:right; }

.th-badge { display:inline-block; font-size:12.5px; font-weight:800; padding:5px 12px; border-radius:999px; }
.th-badge--ok   { background:#e7f7ee; color:#12854a; }
.th-badge--wait { background:#fff3e0; color:#c47a12; }
.th-badge--info { background:#eaf0ff; color:#2f47b3; }

.th-account-hint { font-size:12.5px; color:#9aa0b5; font-weight:600; line-height:1.6; margin:18px 0 0; }

.th-form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }

@media (max-width:900px) {
  .th-account-shell { grid-template-columns:1fr; gap:22px; }
  .th-account-side { position:static; }
}
@media (max-width:640px) {
  .th-account-stats { grid-template-columns:1fr; }
  .th-form-row { grid-template-columns:1fr; }
}
@media (max-width:560px) {
  .th-auth-card { padding:28px 22px; }
  .th-account-title { font-size:24px; }
}

/* ============================================================
   ÜYELİK — Sipariş / Ödeme / Şifre sıfırlama ek stiller
   ============================================================ */
.th-auth-alert--dev { background:#eef3ff; color:#2a3a7a; border:1px solid #c9d6f5; }
.th-dev-link { display:block; margin-top:10px; word-break:break-all; font-weight:700; color:#23276b; font-size:13px; }

/* Hesap üst nav */
.th-account-nav { margin-left:auto; display:flex; align-items:center; gap:10px; }
.th-account-navlink { font-size:14px; font-weight:800; color:#23276b; border:1.5px solid #c9cde6; padding:10px 18px; border-radius:10px; transition:background .2s,color .2s; }
.th-account-navlink:hover { background:#23276b; color:#fff; border-color:#23276b; }

/* Sipariş satırları (özet / geçmiş) */
.th-order-lines { display:flex; flex-direction:column; margin:4px 0 8px; }
.th-order-line { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:12px 0; border-bottom:1px solid #f0f1f7; font-size:14.5px; color:#181a34; }
.th-order-line span { color:#3a3d52; font-weight:600; }
.th-order-line strong { font-weight:800; white-space:nowrap; }
.th-order-total { border-bottom:none; border-top:2px solid #edeff6; margin-top:4px; padding-top:14px; font-size:16px; }
.th-order-total span { color:#23276b; font-weight:800; }
.th-order-total strong { color:#e5342a; font-size:18px; }

/* Ödeme sayfası */
.th-checkout-page .th-checkout-wrap { max-width:560px; }
.th-checkout-page .th-checkout-wrap--wide { max-width:780px; }   /* sipariş onay ekranı daha geniş */
.th-checkout-wrap--wide .th-checkout-card { padding:40px 44px; }
@media (max-width:560px) { .th-checkout-wrap--wide .th-checkout-card { padding:28px 22px; } }
.th-checkout-card { max-width:none; }
.th-checkout-empty { text-align:center; color:#8388a0; font-weight:600; padding:14px 0; }
.th-checkout-empty a { color:#23276b; font-weight:800; }
.th-checkout-actions { display:flex; flex-direction:column; gap:10px; margin-top:6px; }
.th-checkout-secondary { text-align:center; font-weight:800; color:#23276b; padding:13px; border:1.5px solid #c9cde6; border-radius:11px; transition:background .2s,color .2s; }
.th-checkout-secondary:hover { background:#f4f6ff; }

/* Siparişlerim listesi */
.th-orders-list { display:flex; flex-direction:column; gap:12px; }
.th-order-card { max-width:none; }
.th-order-head { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; margin-bottom:6px; }
.th-order-no { font-family:'Sora',sans-serif; font-weight:800; font-size:16px; color:#23276b; }
.th-order-date { font-size:13px; color:#8388a0; font-weight:600; margin-top:4px; display:inline-flex; align-items:center; gap:6px; }
.th-order-date i { font-size:12px; }
.th-orders-empty { max-width:none; text-align:center; display:flex; flex-direction:column; align-items:center; padding-top:34px; padding-bottom:34px; }
.th-orders-empty .th-stat-ic { width:56px; height:56px; border-radius:16px; font-size:22px; }

/* Özet satır (tıklanabilir) */
.th-order-row { width:100%; display:flex; align-items:center; gap:16px; text-align:left; background:#fff; border:1px solid #eceef5; border-radius:16px; padding:16px 18px; cursor:pointer; font-family:inherit; box-shadow:0 10px 26px rgba(20,22,60,.05); transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.th-order-row:hover { transform:translateY(-2px); box-shadow:0 16px 36px rgba(20,22,60,.09); border-color:#d9def0; }
.th-order-row-ic { width:44px; height:44px; flex-shrink:0; border-radius:12px; background:#eef0f9; color:#23276b; display:flex; align-items:center; justify-content:center; font-size:17px; }
.th-order-row-main { display:flex; flex-direction:column; min-width:0; margin-right:auto; }
.th-order-row-total { font-family:'Sora',sans-serif; font-weight:800; font-size:16px; color:#181a34; white-space:nowrap; }
.th-order-row-caret { color:#b6bacb; font-size:14px; flex-shrink:0; }
.th-order-row:hover .th-order-row-caret { color:#23276b; }

/* Sipariş detay modalı */
.th-modal { position:fixed; inset:0; z-index:1000; display:flex; align-items:center; justify-content:center; padding:20px; }
.th-modal[hidden] { display:none; }
.th-modal-overlay { position:absolute; inset:0; background:rgba(18,20,45,.55); backdrop-filter:blur(3px); animation:th-modal-fade .2s ease; }
.th-modal-box { position:relative; z-index:1; width:100%; max-width:560px; max-height:88vh; overflow-y:auto; background:#fff; border-radius:22px; box-shadow:0 40px 90px rgba(10,12,40,.4); animation:th-modal-pop .22s cubic-bezier(.2,.9,.3,1.1); }
@keyframes th-modal-fade { from { opacity:0; } to { opacity:1; } }
@keyframes th-modal-pop { from { opacity:0; transform:translateY(18px) scale(.97); } to { opacity:1; transform:translateY(0) scale(1); } }
.th-modal-head { display:flex; align-items:flex-start; gap:12px; padding:22px 24px; border-bottom:1px solid #f0f1f7; position:sticky; top:0; background:#fff; border-radius:22px 22px 0 0; }
.th-modal-head .th-badge { margin-left:auto; }
.th-modal-x { flex-shrink:0; width:34px; height:34px; border:none; background:#f2f3f9; color:#3a3d52; border-radius:10px; cursor:pointer; font-size:15px; display:flex; align-items:center; justify-content:center; transition:background .16s,color .16s; }
.th-modal-x:hover { background:#e5342a; color:#fff; }
.th-modal-body { padding:8px 24px 24px; }
.th-modal-sec { padding:18px 0; border-bottom:1px solid #f4f5fa; }
.th-modal-sec:last-child { border-bottom:none; }
.th-modal-h3 { font-family:'Sora',sans-serif; font-weight:800; font-size:14px; color:#23276b; margin:0 0 10px; display:flex; align-items:center; gap:9px; }
.th-modal-h3 i { color:#8388a0; font-size:13px; }
.th-modal-cols { display:grid; grid-template-columns:1fr 1fr; gap:0 22px; }
.th-modal-cols .th-modal-sec { border-bottom:none; }
.th-modal-addr strong { display:block; font-size:14.5px; color:#181a34; font-weight:800; }
.th-modal-phone { font-size:13px; color:#8388a0; font-weight:600; }
.th-modal-addr p { margin:6px 0 0; font-size:13.5px; color:#3a3d52; font-weight:600; line-height:1.6; }
.th-modal-tax { color:#8388a0 !important; font-size:12.5px !important; }
.th-order-disc span, .th-order-disc strong { color:#12854a; }
.th-modal-ship { display:flex; align-items:center; gap:14px; flex-wrap:wrap; padding-top:18px; }
.th-track-btn { display:inline-flex; align-items:center; gap:9px; background:#23276b; color:#fff; font-family:inherit; font-weight:800; font-size:14px; padding:12px 20px; border:none; border-radius:11px; cursor:pointer; }
.th-track-btn:disabled { background:#eef0f6; color:#9aa0b5; cursor:not-allowed; }
.th-track-note { font-size:12.5px; color:#9aa0b5; font-weight:600; }

@media (max-width:560px) {
  .th-account-nav { margin-left:0; width:100%; }
  .th-account-navlink, .th-account-nav .th-account-logout { flex:1; text-align:center; }
  .th-order-row-total { display:none; }
  .th-modal-cols { grid-template-columns:1fr; }
  .th-modal-cols .th-modal-sec { border-bottom:1px solid #f4f5fa; }
}

/* ==========================================================================
   ONLINE EĞİTİM MODÜLÜ
   ========================================================================== */

/* --- Eğitimlerim (panel kart ızgarası) --- */
.th-tr-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:20px; }
.th-tr-card { display:flex; flex-direction:column; background:#fff; border:1px solid #eceef6; border-radius:18px; overflow:hidden; text-decoration:none; color:inherit; transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.th-tr-card:hover { transform:translateY(-3px); box-shadow:0 18px 40px -22px rgba(35,39,107,.35); border-color:#d9def0; }
.th-tr-cover { position:relative; height:132px; display:flex; align-items:center; justify-content:center; }
.th-tr-cover-ic { font-size:52px; filter:drop-shadow(0 6px 12px rgba(0,0,0,.18)); }
.th-tr-badge { position:absolute; top:12px; left:12px; font-size:11px; font-weight:800; padding:4px 10px; border-radius:999px; background:rgba(255,255,255,.92); color:#23276b; }
.th-tr-badge--manual { background:#efe9ff; color:#6a3fd0; }
.th-tr-badge--buy { background:#e7f7ee; color:#12854a; }
.th-tr-body { padding:16px 16px 18px; display:flex; flex-direction:column; gap:8px; flex:1; }
.th-tr-level { align-self:flex-start; font-size:11.5px; font-weight:800; color:#3a5cf0; background:#eef2ff; padding:3px 10px; border-radius:999px; }
.th-tr-title { font-family:Sora,sans-serif; font-size:16.5px; font-weight:800; color:#181a34; margin:0; line-height:1.3; }
.th-tr-desc { font-size:13px; color:#6b7090; line-height:1.6; margin:0; flex:1; }
.th-tr-foot { display:flex; justify-content:space-between; align-items:center; gap:8px; font-size:12px; font-weight:700; color:#8b90a8; margin-top:4px; padding-top:12px; border-top:1px solid #f0f1f7; }
.th-tr-foot i { color:#3a5cf0; }
.th-tr-exp.is-timed { color:#c47a12; }
.th-tr-exp.is-timed i { color:#c47a12; }

/* --- İzleme (player) sayfası --- */
.th-watch { padding:26px 0 70px; background:#f7f8fc; min-height:60vh; }
.th-watch-crumb { display:flex; align-items:center; gap:10px; font-size:13.5px; color:#8b90a8; margin-bottom:18px; }
.th-watch-crumb a { color:#3a5cf0; text-decoration:none; font-weight:700; }
.th-watch-crumb strong { color:#23276b; font-weight:800; }
.th-watch-lock { display:flex; align-items:center; gap:14px; background:#fff7ec; border:1px solid #ffe0b3; color:#8a5a12; border-radius:14px; padding:14px 18px; margin-bottom:18px; font-size:13.5px; line-height:1.5; }
.th-watch-lock > i { font-size:22px; color:#e0902a; }
.th-watch-lock strong { display:block; color:#7a4d0d; }
.th-watch-lock-btn { margin-left:auto; white-space:nowrap; background:#e5342a; color:#fff; text-decoration:none; font-weight:800; padding:9px 16px; border-radius:10px; font-size:13px; }
.th-watch-shell { display:grid; grid-template-columns:1fr 340px; gap:22px; align-items:start; }
.th-watch-main { background:#fff; border:1px solid #eceef6; border-radius:18px; padding:18px; }
.th-watch-player { position:relative; width:100%; aspect-ratio:16/9; background:#0d0f1c; border-radius:12px; overflow:hidden; }
.th-watch-player iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.th-watch-player--locked { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; color:#aab; font-size:14px; text-align:center; padding:20px; }
.th-watch-player--locked i { font-size:34px; opacity:.8; }
.th-watch-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:16px 2px 0; flex-wrap:wrap; }
.th-watch-title { font-family:Sora,sans-serif; font-size:20px; font-weight:800; color:#181a34; margin:0; }
.th-watch-exp { font-size:12.5px; font-weight:800; color:#c47a12; background:#fff3e0; padding:5px 11px; border-radius:999px; white-space:nowrap; }
.th-watch-desc { margin:16px 2px 0; }
.th-watch-desc h2, .th-watch-materials h2 { font-family:Sora,sans-serif; font-size:15px; font-weight:800; color:#23276b; margin:0 0 8px; }
.th-watch-desc p { font-size:14px; color:#4a4f6a; line-height:1.75; margin:0; }
.th-watch-materials { margin:22px 2px 0; padding-top:18px; border-top:1px solid #f0f1f7; }
.th-watch-materials ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.th-watch-materials a { display:flex; align-items:center; gap:12px; background:#f7f8fc; border:1px solid #eceef6; border-radius:12px; padding:12px 14px; text-decoration:none; color:#23276b; transition:border-color .15s, background .15s; }
.th-watch-materials a:hover { border-color:#c9d2f5; background:#eef2ff; }
.th-watch-materials a > i:first-child { font-size:22px; color:#e5342a; }
.th-mat-title { font-weight:700; font-size:14px; }
.th-mat-meta { font-size:11.5px; color:#9aa0b5; font-weight:700; }
.th-mat-dl { margin-left:auto; color:#3a5cf0; }
.th-watch-empty { text-align:center; color:#8b90a8; padding:60px 20px; font-size:14.5px; }

.th-watch-side { background:#fff; border:1px solid #eceef6; border-radius:18px; overflow:hidden; position:sticky; top:90px; }
.th-watch-side-head { padding:16px 18px; border-bottom:1px solid #f0f1f7; }
.th-watch-side-head h2 { font-family:Sora,sans-serif; font-size:15.5px; font-weight:800; color:#181a34; margin:0; }
.th-watch-side-head p { font-size:12.5px; color:#8b90a8; margin:4px 0 0; font-weight:700; }
.th-lesson-list { list-style:none; margin:0; padding:8px; max-height:64vh; overflow:auto; }
.th-lesson { display:flex; align-items:flex-start; gap:12px; padding:11px 12px; border-radius:12px; text-decoration:none; color:inherit; transition:background .14s; }
.th-lesson:hover { background:#f5f7fd; }
.th-lesson.is-active { background:#eef2ff; }
.th-lesson.is-locked { cursor:not-allowed; opacity:.72; }
.th-lesson-no { flex:none; width:26px; height:26px; border-radius:50%; background:#eef1f8; color:#5b6180; font-size:12.5px; font-weight:800; display:flex; align-items:center; justify-content:center; }
.th-lesson.is-active .th-lesson-no { background:#3a5cf0; color:#fff; }
.th-lesson-info { display:flex; flex-direction:column; gap:3px; min-width:0; }
.th-lesson-title { font-size:13.5px; font-weight:700; color:#23276b; line-height:1.35; }
.th-lesson-meta { font-size:11.5px; color:#9aa0b5; font-weight:700; display:flex; align-items:center; gap:8px; }
.th-lesson-free { color:#12854a; background:#e7f7ee; padding:1px 7px; border-radius:999px; font-style:normal; }

/* --- Ürün sayfası: dahil eğitimler --- */
.th-pd-trainings { display:flex; flex-direction:column; gap:14px; }
.th-pd-training { display:flex; gap:14px; align-items:center; background:#f7f8fc; border:1px solid #eceef6; border-radius:14px; padding:14px; }
.th-pd-training-ic { flex:none; width:56px; height:56px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:28px; color:#fff; }
.th-pd-training-title { font-family:Sora,sans-serif; font-size:15.5px; font-weight:800; color:#181a34; }
.th-pd-training-desc { font-size:13px; color:#6b7090; margin:3px 0 6px; line-height:1.55; }
.th-pd-training-meta { display:flex; gap:16px; font-size:12.5px; font-weight:700; color:#8b90a8; }
.th-pd-training-meta i { color:#3a5cf0; }
.th-pd-training-access { color:#12854a; }
.th-pd-training-access i { color:#12854a; }

/* --- Yönetim paneli --- */
.th-admin { padding:26px 0 70px; background:#f7f8fc; min-height:70vh; }
.th-admin-top { display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap; margin-bottom:20px; }
.th-admin-title { font-family:Sora,sans-serif; font-size:24px; font-weight:800; color:#181a34; margin:0; }
.th-admin-title i { color:#3a5cf0; }
.th-admin-sub { font-size:13.5px; color:#6b7090; margin:6px 0 0; }
.th-admin-actions { display:flex; gap:10px; }
.th-admin-flash { display:flex; align-items:center; gap:10px; background:#e7f7ee; border:1px solid #b6e6c9; color:#12854a; border-radius:12px; padding:12px 16px; font-weight:700; font-size:13.5px; margin-bottom:18px; }
.th-admin-crumb { margin-bottom:16px; }
.th-admin-crumb a { color:#3a5cf0; text-decoration:none; font-weight:700; font-size:13.5px; }
.th-admin-grid { display:grid; grid-template-columns:1.4fr 1fr; gap:20px; align-items:start; }
.th-admin-flow { display:grid; grid-template-columns:1fr; gap:20px; }
.th-admin-card { background:#fff; border:1px solid #eceef6; border-radius:18px; padding:20px 22px; }
.th-admin-h2 { font-family:Sora,sans-serif; font-size:16.5px; font-weight:800; color:#23276b; margin:0 0 14px; display:flex; align-items:center; gap:10px; }
.th-admin-count { font-size:12px; font-weight:800; color:#5b6180; background:#eef1f8; padding:2px 10px; border-radius:999px; }
.th-admin-hint { font-size:12.5px; color:#8b90a8; margin:-8px 0 14px; line-height:1.6; }
.th-admin-empty { font-size:13.5px; color:#9aa0b5; padding:14px 0; }
.th-admin-muted { color:#9aa0b5; }

.th-admin-table { width:100%; border-collapse:collapse; }
.th-admin-table th { text-align:left; font-size:11.5px; text-transform:uppercase; letter-spacing:.04em; color:#9aa0b5; font-weight:800; padding:0 10px 10px; border-bottom:1px solid #f0f1f7; }
.th-admin-table td { padding:12px 10px; border-bottom:1px solid #f4f5fa; font-size:13.5px; color:#3a3f5c; vertical-align:middle; }
.th-admin-table tr:last-child td { border-bottom:0; }
.th-admin-ic { font-size:18px; margin-right:6px; }
.th-admin-thumb { width:44px; height:44px; border-radius:8px; object-fit:cover; vertical-align:middle; margin-right:10px; border:1px solid #eceef6; background:#f4f5fa; }
.th-admin-thumb--empty { display:inline-flex; align-items:center; justify-content:center; color:#b3b8cc; font-size:16px; }
.th-admin-pill { display:inline-block; font-size:11px; font-weight:800; color:#5b6180; background:#eef1f8; padding:2px 9px; border-radius:999px; margin-left:6px; }
.th-admin-pill--free { color:#12854a; background:#e7f7ee; }

.th-admin-form { display:flex; flex-direction:column; gap:14px; }
.th-admin-form label { display:flex; flex-direction:column; gap:6px; font-size:12.5px; font-weight:700; color:#5b6180; }
.th-admin-form input[type=text], .th-admin-form input[type=email], .th-admin-form input[type=number], .th-admin-form input[type=file], .th-admin-form textarea, .th-admin-form select {
  font:inherit; font-size:14px; padding:10px 12px; border:1px solid #dfe3ef; border-radius:10px; background:#fbfcfe; color:#23276b; }
.th-admin-form textarea { resize:vertical; }
.th-admin-form input:focus, .th-admin-form textarea:focus, .th-admin-form select:focus { outline:none; border-color:#3a5cf0; box-shadow:0 0 0 3px rgba(58,92,240,.12); }
.th-admin-row { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:14px; }
.th-admin-check { flex-direction:row !important; align-items:center; gap:8px; }
.th-admin-check input { width:16px; height:16px; }
.th-admin-inline { border-top:1px solid #f0f1f7; margin-top:16px; padding-top:16px; }

/* Görsel yükleme alanı (ürün/kurs fotoğrafı) */
.th-admin-imgfield { display:flex; flex-direction:column; gap:8px; }
.th-admin-imglabel { font-size:12.5px; font-weight:700; color:#5b6180; }
.th-admin-imgrow { display:flex; gap:16px; align-items:flex-start; flex-wrap:wrap; }
.th-admin-imgprev { width:96px; height:96px; border-radius:12px; object-fit:cover; border:1px solid #e3e6f1; background:#f4f5fa; flex-shrink:0; }
.th-admin-imgprev--empty { display:inline-flex; align-items:center; justify-content:center; color:#b3b8cc; font-size:28px; }
.th-admin-imgctl { display:flex; flex-direction:column; gap:10px; min-width:200px; flex:1; }
.th-admin-formfoot { display:flex; gap:10px; align-items:center; }

.th-admin-btn { display:inline-flex; align-items:center; gap:7px; font:inherit; font-size:13.5px; font-weight:800; padding:10px 16px; border-radius:10px; border:1px solid transparent; cursor:pointer; text-decoration:none; background:#eef1f8; color:#3a3f5c; transition:filter .14s, background .14s; }
.th-admin-btn:hover { filter:brightness(.97); }
.th-admin-btn--primary { background:#3a5cf0; color:#fff; }
.th-admin-btn--ghost { background:#fff; border-color:#dfe3ef; color:#3a3f5c; }
.th-admin-btn--danger { background:#fdeceb; color:#d0271c; }
.th-admin-btn--sm { padding:6px 12px; font-size:12.5px; }
.th-admin-danger { margin-top:16px; padding-top:16px; border-top:1px dashed #f0d6d4; }
.th-admin-details { margin-top:16px; border-top:1px solid #f0f1f7; padding-top:12px; }
.th-admin-details summary { cursor:pointer; font-weight:800; font-size:13.5px; color:#3a5cf0; padding:6px 0; list-style:none; }
.th-admin-details summary::-webkit-details-marker { display:none; }
.th-admin-details[open] summary { margin-bottom:12px; }
.th-admin-preview { margin-top:16px; max-width:520px; }
.th-admin-mats { list-style:none; margin:0 0 4px; padding:0; display:flex; flex-direction:column; gap:10px; }
.th-admin-mats li { display:flex; align-items:center; gap:12px; background:#f7f8fc; border:1px solid #eceef6; border-radius:12px; padding:11px 14px; font-size:13.5px; }
.th-admin-mats li > i { font-size:20px; color:#e5342a; }
.th-admin-mats a { color:#23276b; text-decoration:none; font-weight:700; }

@media (max-width:900px) {
  .th-watch-shell { grid-template-columns:1fr; }
  .th-watch-side { position:static; order:-1; }
  .th-lesson-list { max-height:none; }
  .th-admin-grid { grid-template-columns:1fr; }
}

/* =========================================================================
   YÖNETİM PANELİ (thmiys/) — sol menü kabuğu + gösterge paneli
   ========================================================================= */
.th-adm-body { margin:0; background:#eef0f6; font-family:'Plus Jakarta Sans',sans-serif; color:#2b2f45; }
.th-badge--err { background:#fdeceb; color:#d0271c; }
.th-badge--muted { background:#eef1f8; color:#7b81a0; }

.th-adm { display:flex; min-height:100vh; }

/* --- Sol menü --- */
.th-adm-side {
  position:fixed; top:0; left:0; bottom:0; width:246px; z-index:40;
  background:linear-gradient(185deg,#20244f 0%,#181a34 100%); color:#c9cce6;
  display:flex; flex-direction:column; overflow-y:auto;
}
.th-adm-brand { display:flex; align-items:center; gap:10px; padding:20px 20px 16px; }
.th-adm-brand img { height:34px; width:auto; filter:brightness(0) invert(1); opacity:.95; }
.th-adm-brand-tag { font-family:Sora,sans-serif; font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:#7f84b8; background:rgba(255,255,255,.06); padding:3px 9px; border-radius:6px; }
.th-adm-nav { display:flex; flex-direction:column; padding:6px 12px; gap:2px; flex:1; }
.th-adm-nav-group { font-size:10.5px; font-weight:800; letter-spacing:.11em; text-transform:uppercase; color:#6367a0; margin:16px 10px 6px; }
.th-adm-nav-link {
  display:flex; align-items:center; gap:11px; padding:10px 12px; border-radius:10px;
  color:#c9cce6; text-decoration:none; font-size:14px; font-weight:600; transition:background .14s, color .14s;
}
.th-adm-nav-link i { width:18px; text-align:center; font-size:15px; color:#8b8fca; transition:color .14s; }
.th-adm-nav-link:hover { background:rgba(255,255,255,.06); color:#fff; }
.th-adm-nav-link.is-active { background:#3a5cf0; color:#fff; box-shadow:0 8px 20px rgba(58,92,240,.35); }
.th-adm-nav-link.is-active i { color:#fff; }
.th-adm-side-foot { display:flex; flex-direction:column; gap:2px; padding:12px; border-top:1px solid rgba(255,255,255,.08); }
.th-adm-side-foot a { display:flex; align-items:center; gap:10px; padding:9px 12px; border-radius:9px; color:#9ea2d0; text-decoration:none; font-size:13px; font-weight:600; }
.th-adm-side-foot a:hover { background:rgba(255,255,255,.06); color:#fff; }

/* --- Ana içerik --- */
.th-adm-main { flex:1; margin-left:246px; min-width:0; display:flex; flex-direction:column; }
.th-adm-bar {
  position:sticky; top:0; z-index:30; display:flex; align-items:center; gap:16px;
  background:rgba(255,255,255,.86); backdrop-filter:blur(8px); border-bottom:1px solid #e3e6f0;
  padding:14px 26px;
}
.th-adm-burger { display:none; width:40px; height:40px; border:1px solid #e0e3ef; background:#fff; border-radius:10px; cursor:pointer; color:#23276b; font-size:17px; }
.th-adm-bar-title { flex:1; min-width:0; }
.th-adm-bar-title h1 { font-family:Sora,sans-serif; font-size:19px; font-weight:800; color:#181a34; margin:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.th-adm-bar-title p { font-size:12.5px; color:#7b81a0; margin:2px 0 0; }
.th-adm-bar-right { display:flex; align-items:center; gap:12px; }
.th-adm-user { display:flex; align-items:center; gap:9px; }
.th-adm-avatar { width:34px; height:34px; border-radius:50%; background:#3a5cf0; color:#fff; font-weight:800; display:flex; align-items:center; justify-content:center; font-size:14px; }
.th-adm-user-name { font-size:13.5px; font-weight:700; color:#3a3f5c; }
.th-adm-content { padding:24px 26px 70px; max-width:1180px; width:100%; }

/* --- Flash --- */
.th-adm-flash { display:flex; align-items:center; gap:10px; background:#e7f7ee; border:1px solid #b6e6c9; color:#12854a; border-radius:12px; padding:12px 16px; font-weight:700; font-size:13.5px; margin-bottom:18px; }
.th-adm-flash.is-err { background:#fdeceb; border-color:#f4c9c5; color:#c0271c; }

/* --- İstatistik kartları --- */
.th-adm-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:16px; }
.th-adm-stat { position:relative; background:#fff; border:1px solid #e9ebf4; border-radius:16px; padding:18px 18px 16px; text-decoration:none; color:inherit; display:flex; flex-direction:column; gap:2px; transition:transform .15s, box-shadow .15s; }
a.th-adm-stat:hover { transform:translateY(-2px); box-shadow:0 12px 26px rgba(24,26,52,.09); }
.th-adm-stat-ic { position:absolute; top:16px; right:16px; width:38px; height:38px; border-radius:11px; display:flex; align-items:center; justify-content:center; font-size:17px; }
.th-adm-stat-n { font-family:Sora,sans-serif; font-size:26px; font-weight:800; color:#181a34; line-height:1.1; }
.th-adm-stat-l { font-size:13px; font-weight:600; color:#6b7090; }
.th-adm-stat-sub { font-size:11.5px; font-weight:700; color:#9aa0b5; margin-top:4px; }
.th-adm-stat-sub--alert { color:#c47a12; }
.th-adm-stats--mini { grid-template-columns:repeat(3,1fr); margin-bottom:22px; }
.th-adm-mini { background:#fff; border:1px solid #e9ebf4; border-radius:13px; padding:13px 16px; text-decoration:none; color:#3a3f5c; font-size:13.5px; font-weight:600; display:flex; align-items:center; gap:9px; }
.th-adm-mini i { color:#3a5cf0; }
.th-adm-mini strong { font-family:Sora,sans-serif; color:#181a34; font-size:16px; }
.th-adm-mini:hover { border-color:#c9d0ea; }

/* --- Ortak parçalar --- */
.th-admin-cardfoot { margin-top:12px; padding-top:12px; border-top:1px solid #f0f1f7; }
.th-admin-cardfoot a { color:#3a5cf0; text-decoration:none; font-weight:700; font-size:13px; }
.th-adm-deflist { display:grid; grid-template-columns:repeat(2,1fr); gap:12px 22px; }
.th-adm-deflist > div { display:flex; flex-direction:column; gap:3px; }
.th-adm-deflist span { font-size:11.5px; text-transform:uppercase; letter-spacing:.04em; color:#9aa0b5; font-weight:800; }
.th-adm-deflist strong { font-size:14px; font-weight:700; color:#2b2f45; }
.th-adm-deflist a { color:#3a5cf0; text-decoration:none; }

.th-adm-tabs { display:flex; gap:8px; margin-bottom:18px; flex-wrap:wrap; }
.th-adm-tab { padding:8px 15px; border-radius:999px; background:#fff; border:1px solid #e3e6f0; color:#5b6180; text-decoration:none; font-size:13px; font-weight:700; }
.th-adm-tab:hover { border-color:#c9d0ea; }
.th-adm-tab.is-active { background:#23276b; border-color:#23276b; color:#fff; }
.th-adm-tabs--sub { margin:-4px 0 14px; }
.th-admin-optmark { font-weight:600; font-size:11.5px; color:#9aa0b5; }

.th-admin-table tfoot td { padding:12px 10px; border-top:2px solid #eef0f6; font-size:13.5px; color:#2b2f45; }

/* satır içi düzenleme (details) */
.th-adm-rowedit > summary { list-style:none; display:inline-flex; }
.th-adm-rowedit > summary::-webkit-details-marker { display:none; }
.th-adm-editform { margin-top:12px; padding:14px; background:#f7f8fc; border:1px solid #eceef6; border-radius:12px; }
.th-adm-fieldset { border:1px solid #eceef6; border-radius:12px; padding:12px 14px 14px; margin:0 0 6px; }
.th-adm-fieldset legend { font-size:11.5px; font-weight:800; color:#7b81a0; padding:0 6px; text-transform:uppercase; letter-spacing:.04em; }
.th-adm-swatch { display:inline-block; width:18px; height:18px; border-radius:5px; border:1px solid rgba(0,0,0,.1); vertical-align:middle; }
.th-adm-thumb { width:74px; height:44px; object-fit:cover; border-radius:8px; border:1px solid #eceef6; }

/* hero düzenleyici */
.th-adm-hero { border:1px solid #eceef6; border-radius:14px; margin-bottom:12px; overflow:hidden; }
.th-adm-hero > summary { list-style:none; cursor:pointer; display:flex; align-items:center; gap:10px; padding:13px 16px; background:#f7f8fc; font-size:14px; }
.th-adm-hero > summary::-webkit-details-marker { display:none; }
.th-adm-hero[open] > summary { border-bottom:1px solid #eceef6; }
.th-adm-hero .th-admin-form, .th-adm-hero .th-admin-danger { padding:16px; }
.th-adm-hero-sw { width:26px; height:26px; border-radius:7px; flex:none; }

/* bilgi talepleri */
.th-adm-leads { display:flex; flex-direction:column; gap:12px; }
.th-adm-lead { border:1px solid #eceef6; border-radius:14px; padding:15px 17px; }
.th-adm-lead.is-done { opacity:.72; }
.th-adm-lead-head { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.th-adm-lead-head strong { font-size:15px; margin-right:8px; }
.th-adm-lead-meta { display:flex; flex-wrap:wrap; gap:16px; margin-top:8px; font-size:13px; color:#5b6180; }
.th-adm-lead-meta a { color:#3a5cf0; text-decoration:none; }
.th-adm-lead-meta i { color:#9aa0b5; margin-right:4px; }
.th-adm-lead-msg { margin:10px 0 0; padding:11px 13px; background:#f7f8fc; border-radius:10px; font-size:13.5px; color:#3a3f5c; line-height:1.6; }
.th-adm-lead-actions { display:flex; gap:8px; margin-top:12px; }

.th-side-link--admin { color:#3a5cf0 !important; font-weight:800; }

/* --- Duyarlı --- */
@media (max-width:960px) {
  .th-adm-side { transform:translateX(-100%); transition:transform .22s ease; box-shadow:0 0 40px rgba(0,0,0,.3); }
  .th-adm-side.is-open { transform:translateX(0); }
  .th-adm-main { margin-left:0; }
  .th-adm-burger { display:inline-flex; align-items:center; justify-content:center; }
  .th-adm-stats { grid-template-columns:repeat(2,1fr); }
  .th-adm-stats--mini { grid-template-columns:1fr; }
  .th-adm-user-name { display:none; }
}
@media (max-width:560px) {
  .th-adm-stats { grid-template-columns:1fr; }
  .th-adm-deflist { grid-template-columns:1fr; }
  .th-adm-content { padding:18px 16px 60px; }
  .th-adm-bar { padding:12px 16px; }
}

/* =========================================================================
   Sepet & Ödeme akışı (sepet.php / odeme.php / adreslerim.php)
   ========================================================================= */

/* Adım göstergesi */
.th-steps { display:flex; align-items:center; justify-content:center; gap:10px; list-style:none; padding:0; margin:0 0 26px; flex-wrap:wrap; }
.th-step { display:flex; align-items:center; gap:8px; font-size:13.5px; font-weight:800; color:#9aa0bd; }
.th-step span { width:26px; height:26px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:#eef0f6; color:#9aa0bd; font-size:13px; }
.th-step a { display:flex; align-items:center; gap:8px; color:inherit; }
.th-step.is-active { color:#23276b; }
.th-step.is-active span { background:#e5342a; color:#fff; }
.th-step.is-done { color:#12854a; }
.th-step.is-done span { background:#e7f7ee; color:#12854a; }
.th-step:not(:last-child)::after { content:""; width:26px; height:2px; background:#e6e8f1; border-radius:2px; }

/* Sepet / ödeme genel yerleşim */
.th-cart-page { max-width:1280px; }
.th-cart-grid { display:grid; grid-template-columns:1fr 360px; gap:22px; align-items:start; }
/* Sepet boşken sağ özet gizli → sol blok tam genişlik */
.th-cart-grid:has(.th-cart-aside[hidden]) { grid-template-columns:1fr; }
.th-cart-main { max-width:none; }
.th-cart-aside { max-width:none; position:sticky; top:96px; }
.th-cart-aside-title { font-family:'Sora',sans-serif; font-weight:800; font-size:18px; color:#23276b; margin:0 0 16px; }

/* Sepet satırları */
.th-cart-lines { display:flex; flex-direction:column; gap:12px; margin-top:16px; }
.th-cartline { display:grid; grid-template-columns:auto 1fr auto auto; gap:14px; align-items:center; border:1px solid #eef0f6; border-radius:14px; padding:14px; }
.th-cartline-icon { width:52px; height:52px; border-radius:12px; background:#eaeefb; display:flex; align-items:center; justify-content:center; font-size:24px; flex-shrink:0; overflow:hidden; }
.th-cartline-icon img { width:100%; height:100%; object-fit:cover; }
.th-order-item { display:inline-flex; align-items:center; gap:8px; min-width:0; }
.th-order-thumb { width:34px; height:34px; border-radius:7px; object-fit:cover; border:1px solid #e7e9f4; flex-shrink:0; background:#f4f5fa; }
.th-order-thumb--empty { display:inline-flex; align-items:center; justify-content:center; color:#9aa6d8; font-size:15px; }
.th-cartline-info { min-width:0; }
.th-cartline-name { font-weight:700; font-size:15px; color:#181a34; }
.th-cartline-tag { font-size:12.5px; color:#8388a0; font-weight:600; margin-top:2px; }
.th-cartline-qty { display:inline-flex; align-items:center; gap:8px; background:#f5f6fb; border:1px solid #e7e9f2; border-radius:10px; padding:4px 6px; }
.th-qbtn { width:26px; height:26px; border:none; background:#fff; border-radius:7px; font-size:16px; font-weight:800; color:#23276b; cursor:pointer; line-height:1; box-shadow:0 1px 2px rgba(20,22,60,.08); }
.th-qbtn:hover { background:#eef0f9; }
.th-qval { min-width:18px; text-align:center; font-weight:800; font-size:14px; color:#23276b; }
.th-cartline-right { text-align:right; }
.th-cartline-price { font-family:'Sora',sans-serif; font-weight:800; font-size:15px; color:#23276b; white-space:nowrap; }
.th-cartline-remove { margin-top:4px; background:none; border:none; color:#e5342a; font-size:12px; font-weight:700; cursor:pointer; padding:0; }

/* İndirim kodu */
.th-coupon { margin-bottom:18px; padding-bottom:18px; border-bottom:1px solid #f0f1f7; }
.th-coupon-label { display:block; font-size:12.5px; font-weight:800; color:#5b6180; margin-bottom:7px; }
.th-coupon-row { display:flex; gap:8px; }
.th-coupon-row input { flex:1; min-width:0; border:1px solid #dfe3ef; border-radius:10px; padding:11px 12px; font-size:14px; font-family:inherit; text-transform:uppercase; }
.th-coupon-row input:focus { outline:none; border-color:#3a5cf0; box-shadow:0 0 0 3px rgba(58,92,240,.12); }
.th-coupon-btn { background:#23276b; color:#fff; border:none; border-radius:10px; padding:0 16px; font-weight:800; font-size:13.5px; cursor:pointer; }
.th-coupon-btn:hover { background:#1a1d52; }
.th-coupon-btn:disabled { opacity:.6; cursor:default; }
.th-coupon-remove { background:#fff; color:#c22a20; border:1px solid #e0c4c1; }
.th-coupon-remove:hover { background:#fbeceb; }
.th-coupon-msg { margin:9px 0 0; font-size:12.5px; font-weight:700; }
.th-coupon-msg.is-ok  { color:#12854a; }
.th-coupon-msg.is-err { color:#c22a20; }
.th-order-discount span, .th-order-discount strong { color:#12854a !important; }

/* Ödeme ekranı yerleşimi */
.th-checkout-grid { display:grid; grid-template-columns:1fr 360px; gap:22px; align-items:start; }
.th-checkout-col { display:flex; flex-direction:column; gap:22px; min-width:0; }
.th-co-summary { position:sticky; top:96px; }
.th-co-card { max-width:none; }
.th-co-h2 { display:flex; align-items:center; gap:9px; font-family:'Sora',sans-serif; font-weight:800; font-size:17px; color:#23276b; margin:0 0 6px; }
.th-co-h2 i { color:#3a5cf0; }
.th-co-h3 { font-size:13px; font-weight:800; color:#5b6180; text-transform:uppercase; letter-spacing:.03em; margin:18px 0 10px; }
.th-co-note { font-size:13px; color:#6b7192; font-weight:600; margin:2px 0 12px; display:flex; align-items:center; gap:7px; }
.th-co-note i { color:#0f6b63; }
.th-co-empty { background:#f7f8fc; border:1px dashed #d7dbe9; border-radius:12px; padding:16px; text-align:center; color:#8388a0; font-weight:600; font-size:14px; }
.th-co-addbtn { margin-top:14px; width:100%; background:#f4f6ff; border:1.5px dashed #b9c2ea; color:#23276b; font-weight:800; font-size:14px; padding:12px; border-radius:12px; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; }
.th-co-addbtn:hover { background:#eaeefb; }
.th-co-secure { font-size:12px; color:#8388a0; font-weight:600; margin:12px 0 0; display:flex; align-items:center; gap:7px; }
.th-co-secure i { color:#0f6b63; }

/* Adres seçim kartları */
.th-addr-list { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.th-addr { display:block; cursor:pointer; }
.th-addr input { position:absolute; opacity:0; pointer-events:none; }
.th-addr-body { display:block; border:1.5px solid #e7e9f2; border-radius:14px; padding:14px 15px; transition:border-color .15s, box-shadow .15s, background .15s; height:100%; }
.th-addr input:checked + .th-addr-body { border-color:#e5342a; background:#fff7f6; box-shadow:0 0 0 3px rgba(229,52,42,.1); }
.th-addr-head { display:flex; align-items:center; gap:8px; margin-bottom:5px; }
.th-addr-head strong { font-size:14.5px; color:#181a34; }
.th-addr-badge { font-size:10.5px; font-weight:800; background:#eef0f9; color:#3a5cf0; padding:2px 7px; border-radius:999px; }
.th-addr-name { font-size:13px; font-weight:700; color:#5b6180; margin:0 0 4px; }
.th-addr-text { font-size:12.5px; color:#8388a0; font-weight:600; line-height:1.5; margin:0; }
.th-addr-tax { color:#7a4bd1; margin-top:4px; }
.th-addr-corp-toggle { display:flex; align-items:center; gap:9px; font-size:13.5px; font-weight:700; color:#5b6180; margin:14px 0; cursor:pointer; }

/* Ödeme yöntemi */
.th-pay-methods { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:6px 0 16px; }
.th-pay-opt { cursor:pointer; }
.th-pay-opt input { position:absolute; opacity:0; pointer-events:none; }
.th-pay-opt-body { display:flex; align-items:center; gap:12px; border:1.5px solid #e7e9f2; border-radius:14px; padding:15px; transition:border-color .15s, box-shadow .15s, background .15s; }
.th-pay-opt-body i { font-size:22px; color:#23276b; }
.th-pay-opt-body strong { display:block; font-size:14.5px; color:#181a34; }
.th-pay-opt-body small { display:block; font-size:12px; color:#8388a0; font-weight:600; margin-top:2px; }
.th-pay-opt input:checked + .th-pay-opt-body { border-color:#e5342a; background:#fff7f6; box-shadow:0 0 0 3px rgba(229,52,42,.1); }
.th-pay-panel { border-top:1px solid #f0f1f7; padding-top:16px; }

/* Kredi kartı — canlı önizleme */
.th-cc { width:100%; max-width:340px; margin:4px auto 22px; perspective:1000px; }
.th-cc-inner { position:relative; width:100%; aspect-ratio:1.586; transition:transform .55s cubic-bezier(.4,.2,.2,1); transform-style:preserve-3d; }
.th-cc.is-flipped .th-cc-inner { transform:rotateY(180deg); }
.th-cc-face { position:absolute; inset:0; border-radius:16px; backface-visibility:hidden; -webkit-backface-visibility:hidden; overflow:hidden; box-shadow:0 18px 40px rgba(20,22,60,.28); color:#fff; }
.th-cc-front { background:linear-gradient(135deg,#2b2f77 0%,#3a5cf0 55%,#5b7bf5 100%); padding:20px 22px; display:flex; flex-direction:column; }
.th-cc.has-brand .th-cc-front { background:linear-gradient(135deg,#141733 0%,#23276b 55%,#3a5cf0 100%); }
.th-cc-shine { position:absolute; top:-40%; left:-20%; width:70%; height:180%; background:linear-gradient(90deg,rgba(255,255,255,.16),rgba(255,255,255,0)); transform:rotate(20deg); pointer-events:none; }
.th-cc-row1 { display:flex; align-items:center; justify-content:space-between; }
.th-cc-chip { width:44px; height:33px; border-radius:7px; background:linear-gradient(135deg,#f5d67b,#d9a441); position:relative; box-shadow:inset 0 0 0 1px rgba(0,0,0,.08); }
.th-cc-chip::before { content:""; position:absolute; inset:6px 8px; border:1px solid rgba(120,80,0,.35); border-radius:3px; }
.th-cc-brand { font-family:'Sora',sans-serif; font-weight:800; font-size:16px; letter-spacing:.06em; font-style:italic; opacity:.95; }
.th-cc-number { font-family:'Sora',sans-serif; font-size:20px; letter-spacing:.08em; margin:auto 0 16px; text-shadow:0 1px 2px rgba(0,0,0,.25); white-space:nowrap; }
.th-cc-row2 { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; }
.th-cc-row2 small { display:block; font-size:8.5px; letter-spacing:.1em; opacity:.65; margin-bottom:3px; }
.th-cc-holder span, .th-cc-valid span { font-family:'Sora',sans-serif; font-size:13px; font-weight:600; letter-spacing:.03em; }
.th-cc-holder { min-width:0; overflow:hidden; }
.th-cc-holder span { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-transform:uppercase; }
.th-cc-valid { flex-shrink:0; text-align:right; }
/* Arka yüz */
.th-cc-back { background:linear-gradient(135deg,#23276b,#3a5cf0); transform:rotateY(180deg); display:flex; flex-direction:column; }
.th-cc.has-brand .th-cc-back { background:linear-gradient(135deg,#141733,#23276b); }
.th-cc-magstripe { height:40px; background:#111; margin:18px 0 14px; }
.th-cc-cvc-strip { display:flex; align-items:center; gap:10px; padding:0 20px; }
.th-cc-cvc-label { font-size:9px; letter-spacing:.12em; opacity:.7; }
.th-cc-cvc-box { flex:1; height:32px; background:#f4f5fb; border-radius:6px; display:flex; align-items:center; justify-content:flex-end; padding:0 12px; color:#23276b; font-family:'Sora',sans-serif; font-weight:700; letter-spacing:.2em; }
.th-cc-back-brand { margin:auto 20px 16px; text-align:right; font-family:'Sora',sans-serif; font-weight:800; font-style:italic; letter-spacing:.06em; opacity:.9; }

/* Kart numarası alanında marka ikonu */
.th-cc-input { position:relative; display:block; }
.th-cc-input input { padding-right:44px !important; }
.th-cc-input-ic { position:absolute; right:12px; top:50%; transform:translateY(-50%); font-size:22px; color:#8388a0; pointer-events:none; }
.th-cc-form { margin-top:4px; }

/* Banka kutusu */
.th-bank-box { background:#f7f8fc; border:1px solid #e7e9f2; border-radius:14px; padding:16px 18px; }
.th-bank-title { display:flex; align-items:center; gap:8px; font-weight:800; font-size:14.5px; color:#23276b; margin:0 0 12px; }
.th-bank-title i { color:#0f6b63; }
.th-bank-lines { display:flex; flex-direction:column; gap:9px; }
.th-bank-lines > div { display:flex; justify-content:space-between; gap:14px; font-size:13.5px; }
.th-bank-lines span { color:#8388a0; font-weight:600; }
.th-bank-lines strong { color:#181a34; font-weight:800; text-align:right; word-break:break-all; }
.th-bank-note { font-size:12.5px; color:#6b7192; font-weight:600; margin:12px 0 0; line-height:1.5; }

/* Onay ekranı özeti */
.th-pay-recap { display:flex; flex-direction:column; gap:12px; margin:14px 0; padding:16px 0; border-top:1px solid #f0f1f7; border-bottom:1px solid #f0f1f7; }
.th-pay-recap > div { display:flex; justify-content:space-between; gap:18px; font-size:13.5px; }
.th-pay-recap span { color:#8388a0; font-weight:600; flex-shrink:0; }
.th-pay-recap strong { color:#181a34; font-weight:700; text-align:right; }

/* Yeni adres modalı */
[hidden] { display:none !important; }   /* display:flex/grid kuralları hidden özniteliğini ezmesin */
.th-addr-modal { position:fixed; inset:0; z-index:1200; display:flex; align-items:center; justify-content:center; padding:20px; }
.th-addr-modal-backdrop { position:absolute; inset:0; background:rgba(20,22,50,.5); backdrop-filter:blur(2px); }
.th-addr-modal-card { position:relative; z-index:1; background:#fff; border-radius:20px; padding:26px 28px; width:100%; max-width:600px; max-height:90vh; overflow-y:auto; box-shadow:0 30px 70px rgba(20,22,60,.3); }
.th-addr-modal-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.th-addr-modal-head h3 { font-family:'Sora',sans-serif; font-weight:800; font-size:19px; color:#23276b; margin:0; }

/* Adres formu: satırda en fazla 2 alan */
.th-form2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.th-form2 > label { display:flex; flex-direction:column; gap:6px; font-size:12.5px; font-weight:700; color:#5b6180; }
.th-form2 > label.full { grid-column:1 / -1; }
.th-form2 input, .th-form2 select, .th-form2 textarea {
  border:1px solid #dfe3ef; border-radius:10px; padding:11px 12px; font-size:14px; font-family:inherit; color:#181a34; background:#fff; width:100%;
}
.th-form2 textarea { resize:vertical; }
.th-form2 select { appearance:none; -webkit-appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238388a0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 12px center; padding-right:34px; }
.th-form2 select:disabled { background-color:#f5f6fb; color:#9aa0bd; cursor:not-allowed; }
.th-form2 input:focus, .th-form2 select:focus, .th-form2 textarea:focus { outline:none; border-color:#3a5cf0; box-shadow:0 0 0 3px rgba(58,92,240,.12); }

/* Kurumsal fatura — yatay switch kutusu */
.th-corp-box { display:flex; align-items:center; gap:14px; border:1.5px solid #e7e9f2; border-radius:14px; padding:13px 16px; margin:16px 0; cursor:pointer; transition:border-color .15s, background .15s; }
.th-corp-box:hover { border-color:#d4c9ef; }
.th-corp-box:has(input:checked) { border-color:#7a4bd1; background:#f9f6ff; }
.th-corp-ic { width:42px; height:42px; border-radius:11px; background:#f0ecfb; color:#7a4bd1; display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }
.th-corp-txt { flex:1; min-width:0; font-size:14.5px; font-weight:700; color:#181a34; }
.th-switch { position:relative; width:46px; height:26px; flex-shrink:0; }
.th-switch input { position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; z-index:2; }
.th-switch-track { position:absolute; inset:0; background:#cfd4e6; border-radius:999px; transition:background .2s; }
.th-switch-track::before { content:""; position:absolute; top:3px; left:3px; width:20px; height:20px; background:#fff; border-radius:50%; box-shadow:0 1px 3px rgba(20,22,60,.25); transition:transform .2s; }
.th-switch input:checked ~ .th-switch-track { background:#7a4bd1; }
.th-switch input:checked ~ .th-switch-track::before { transform:translateX(20px); }

/* Adreslerim sayfası */
.th-addr-cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:16px; }
.th-addr-card { max-width:none; padding:20px 22px; display:flex; flex-direction:column; }
.th-addr-card .th-addr-head { margin-bottom:8px; }
.th-addr-card .th-addr-head strong { font-size:16px; }
.th-addr-actions { display:flex; align-items:center; gap:14px; margin-top:auto; padding-top:14px; }
.th-addr-actions form { margin:0; }
.th-addr-actions .th-cartline-remove { margin-top:0; }
.th-addr-edit { display:inline-flex; align-items:center; gap:7px; background:#eef0f9; color:#23276b; border:none; font-family:inherit; font-size:13px; font-weight:800; padding:9px 15px; border-radius:10px; cursor:pointer; transition:background .16s, color .16s; }
.th-addr-edit:hover { background:#23276b; color:#fff; }
.th-modal .th-admin-formfoot { display:flex; justify-content:flex-end; gap:10px; margin-top:6px; }

/* Duyarlı */
@media (max-width:900px) {
  .th-cart-grid, .th-checkout-grid { grid-template-columns:1fr; }
  .th-cart-aside, .th-co-summary { position:static; }
  .th-addr-list, .th-pay-methods { grid-template-columns:1fr; }
}
@media (max-width:560px) {
  .th-form2 { grid-template-columns:1fr; }
  .th-cartline { grid-template-columns:auto 1fr; }
  .th-cartline-qty { grid-column:1 / 2; }
  .th-cartline-right { grid-column:2 / 3; }
  .th-steps { gap:6px; }
  .th-step span { width:23px; height:23px; }
  .th-step:not(:last-child)::after { width:14px; }
}

/* ============================================================
   DİNAMİK İÇERİK SAYFALARI — sayfa.php  (.th-static + .th-prose)
   ============================================================ */
.th-static-body { padding: var(--phero-gap) 6vw 80px; }
.th-static-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: #e5342a;
}
.th-static-back:hover { text-decoration: underline; }

/* Panelden gelen serbest HTML içeriği için okunaklı tipografi */
.th-prose { max-width: 820px; color: #2b2e46; font-size: 17px; line-height: 1.75; }
.th-prose > *:first-child { margin-top: 0; }
.th-prose h2 { font-family: 'Sora', sans-serif; font-size: 26px; font-weight: 800; color: #181a34; margin: 40px 0 14px; letter-spacing: -.01em; }
.th-prose h3 { font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 700; color: #23276b; margin: 30px 0 10px; }
.th-prose h4 { font-size: 17px; font-weight: 800; color: #23276b; margin: 24px 0 8px; }
.th-prose p { margin: 0 0 16px; }
.th-prose a { color: #e5342a; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.th-prose a:hover { color: #c22b22; }
.th-prose strong { color: #181a34; }
.th-prose ul, .th-prose ol { margin: 0 0 18px; padding-left: 24px; }
.th-prose li { margin: 6px 0; }
.th-prose ul li::marker { color: #e5342a; }
.th-prose blockquote {
  margin: 20px 0; padding: 14px 20px; border-left: 4px solid #e5342a;
  background: #faf5f4; border-radius: 0 12px 12px 0; color: #3a3d52;
}
.th-prose img { border-radius: 14px; margin: 20px 0; }
.th-prose hr { border: none; border-top: 1px solid #eef0f6; margin: 32px 0; }
.th-prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15.5px; }
.th-prose th, .th-prose td { border: 1px solid #eef0f6; padding: 10px 14px; text-align: left; }
.th-prose th { background: #f7f8fc; font-weight: 700; color: #23276b; }
@media (max-width: 720px) {
  .th-static-body { padding: var(--phero-gap) 6vw 60px; }
  .th-prose { font-size: 16px; }
  .th-prose h2 { font-size: 22px; }
}

/* Panel: HTML içerik textarea'sı (monospace kod alanı) */
.th-adm-code {
  font-family: 'SFMono-Regular', ui-monospace, 'Cascadia Code', Consolas, monospace;
  font-size: 13px; line-height: 1.55; white-space: pre;
}

/* ============================================================
   Katalog listeleme sayfaları (egitim-katalog.php / yayinlar.php)
   ve kitap detay künyesi (kitap.php)
   ============================================================ */
.th-cat-intro {
  max-width: 820px; margin: 0 auto 40px; text-align: center;
  font-size: 17px; line-height: 1.7; color: #4a4f6b;
}
.th-cat-empty {
  text-align: center; padding: 60px 20px; color: #6b7090; font-size: 16px;
}

/* Kurs kartlarını yatay kaydırma yerine sarmalanan grid içinde göster */
.th-cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.th-cat-grid .th-course { flex: initial; width: auto; }

/* Kitap (yayın) kartları */
.th-book-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 26px;
}
.th-book {
  display: flex; flex-direction: column; border: 1px solid #ecedf4;
  border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 8px 26px rgba(20,22,60,.05);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
}
.th-book:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(35,39,107,.14); }
.th-book-cover {
  position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden;
}
.th-book-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.th-book-cover-ph {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; font-size: 54px; opacity: .5;
}
.th-book-badge {
  position: absolute; top: 12px; left: 12px; background: #23276b; color: #fff;
  font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 6px;
}
.th-book-off {
  position: absolute; top: 12px; right: 12px; background: #e5342a; color: #fff;
  font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 6px;
}
.th-book-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.th-book-title {
  font-weight: 800; font-size: 16px; color: #181a34; line-height: 1.35;
  text-decoration: none; margin-bottom: 4px;
}
.th-book-title:hover { color: #e5342a; }
.th-book-author { font-size: 13.5px; color: #55597a; font-weight: 600; }
.th-book-pub { font-size: 12.5px; color: #8a8fa8; margin-top: 2px; }
.th-book-foot {
  margin-top: auto; padding-top: 14px; display: flex; align-items: center;
  justify-content: space-between; gap: 10px;
}
.th-book-price-row { display: flex; flex-direction: column; line-height: 1.1; }
.th-book-old { font-size: 12px; color: #a0a3bb; text-decoration: line-through; }
.th-book-price { font-size: 19px; font-weight: 800; color: #23276b; }
.th-book-buy {
  flex: 0 0 auto; width: 42px; height: 42px; border: 0; border-radius: 11px;
  background: #e5342a; color: #fff; font-size: 16px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .18s ease, background .18s ease;
}
.th-book-buy:hover { background: #c92c22; transform: translateY(-2px); }

/* Kitap detay künye satırları (buybox içinde) */
.th-pd-kunye { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.th-pd-kunye li { font-size: 14.5px; color: #4a4f6b; }
.th-pd-kunye strong { color: #23276b; font-weight: 700; }
.th-pd-kunye-ic { margin-right: 4px; }

@media (max-width: 720px) {
  .th-book-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
  .th-cat-grid { grid-template-columns: 1fr; }
  .th-cat-intro { font-size: 15.5px; }
}

/* ============================================================
   Kurs detay — aynı kategorideki diğer eğitimler yan menüsü
   ============================================================ */
.th-crs-related {
  position: sticky; top: 22px; background: #fff; border: 1px solid #ecedf4;
  border-radius: 20px; padding: 20px 20px 16px; box-shadow: 0 12px 30px rgba(20,22,60,.07);
}
.th-crs-related-head { margin-bottom: 14px; }
.th-crs-related-eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: #e5342a; margin-bottom: 4px;
}
.th-crs-related-title { font-size: 16px; font-weight: 800; color: #181a34; margin: 0; line-height: 1.35; }
.th-crs-related-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.th-crs-related-list li + li { border-top: 1px solid #f0f1f7; }
.th-crs-related-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 4px;
  text-decoration: none; transition: background .18s ease; border-radius: 10px;
}
.th-crs-related-item:hover { background: #f7f8fc; }
.th-crs-related-thumb {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 11px; overflow: hidden;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.th-crs-related-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.th-crs-related-ic { font-size: 22px; }
.th-crs-related-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.th-crs-related-name {
  font-size: 14.5px; font-weight: 700; color: #23276b; line-height: 1.3;
}
.th-crs-related-item:hover .th-crs-related-name { color: #e5342a; }
.th-crs-related-meta { font-size: 12.5px; color: #8a8fa8; margin-top: 2px; }
.th-crs-related-arrow { flex: 0 0 auto; color: #c3c7dc; font-weight: 800; font-size: 15px; }
.th-crs-related-item:hover .th-crs-related-arrow { color: #e5342a; }
.th-crs-related-all {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-size: 14px; font-weight: 700; color: #23276b; text-decoration: none;
}
.th-crs-related-all:hover { color: #e5342a; }
.th-crs-related-all span { transition: transform .18s ease; }
.th-crs-related-all:hover span { transform: translateX(3px); }

/* --- Sürükle-bırak sıralama (menu.php) --- */
.th-drag-col { width:34px; }
.th-drag-handle { width:34px; text-align:center; color:#b7bcd2; cursor:grab; user-select:none; }
.th-drag-handle:active { cursor:grabbing; }
.th-drag-handle:hover { color:#3a5cf0; }
tbody.th-sortable tr { transition:background .12s; }
tbody.th-sortable tr.th-drag-ghost, tbody[data-sort-table] tr.th-drag-ghost { opacity:.45; background:#eef2ff; }
tbody.th-sortable tr:hover .th-drag-handle, tbody[data-sort-table] tr:hover .th-drag-handle { color:#3a5cf0; }

.th-adm-toast {
  position:fixed; right:22px; bottom:22px; z-index:80; opacity:0; transform:translateY(10px);
  background:#181a34; color:#fff; font-size:13.5px; font-weight:700; padding:12px 18px;
  border-radius:11px; box-shadow:0 14px 34px rgba(24,26,52,.28); pointer-events:none;
  transition:opacity .2s, transform .2s;
}
.th-adm-toast.is-show { opacity:1; transform:translateY(0); }
.th-adm-toast.is-err { background:#c0271c; }

/* --- Yönetim liste arama kutusu --- */
.th-adm-search { display:flex; align-items:center; gap:10px; margin-bottom:18px; max-width:560px; }
.th-adm-search-field { position:relative; flex:1; display:block; }
.th-adm-search-field input[type=search] {
  width:100%; box-sizing:border-box; padding:10px 34px 10px 38px;
  border:1px solid #e0e3ef; border-radius:10px; font:inherit; font-size:14px; background:#fff;
  -webkit-appearance:none; appearance:none;
}
.th-adm-search-field input[type=search]:focus { outline:none; border-color:#3a5cf0; box-shadow:0 0 0 3px rgba(58,92,240,.12); }
.th-adm-search-field input[type=search]::-webkit-search-cancel-button { display:none; }
.th-adm-search-ic { position:absolute; left:13px; top:50%; transform:translateY(-50%); color:#9aa0b5; font-size:14px; pointer-events:none; }
.th-adm-search-clear { position:absolute; right:9px; top:50%; transform:translateY(-50%); color:#9aa0b5; text-decoration:none; width:22px; height:22px; display:flex; align-items:center; justify-content:center; border-radius:6px; }
.th-adm-search-clear:hover { background:#f0f1f7; color:#e5342a; }
@media (max-width:560px) { .th-adm-search { max-width:none; } }

/* =========================================================================
   Yönetim paneli — mobil uyumluluk iyileştirmeleri (2026-08-24)
   ========================================================================= */
/* Geniş tablolar kart içinde yatay kaydırılır; sayfa geneli taşmaz. */
.th-adm-tablewrap { overflow-x:auto; -webkit-overflow-scrolling:touch; max-width:100%; }

/* Kenar çubuğu (off-canvas) arka planı — mobilde açıkken. */
.th-adm-backdrop { position:fixed; inset:0; background:rgba(15,17,40,.45); z-index:35; border:0; cursor:pointer; }
@media (min-width:961px) { .th-adm-backdrop { display:none !important; } }

/* Uzun e-posta/URL değerleri satır taşırmasın. */
.th-adm-deflist strong { overflow-wrap:anywhere; }
.th-admin-formfoot { flex-wrap:wrap; }
.th-adm-main { min-width:0; }

@media (max-width:960px) {
  /* Üst çubuk: yer kalmazsa aksiyonlar alt satıra sarsın. */
  .th-adm-bar { flex-wrap:wrap; row-gap:8px; }
  .th-adm-bar-title h1 { font-size:17px; }
}

@media (max-width:640px) {
  .th-adm-content { padding:16px 13px 56px; }
  .th-admin-card { padding:16px 15px; }
  .th-admin-table th, .th-admin-table td { padding-left:8px; padding-right:8px; }
  /* Arama kutusu: alan üstte tam genişlik, "Ara" butonu altında tam genişlik. */
  .th-adm-search { flex-wrap:wrap; }
  .th-adm-search .th-admin-btn { width:100%; justify-content:center; }
  /* Form iki-üç sütunlu satırlar tek sütuna insin. */
  .th-admin-row { grid-template-columns:1fr; }
  /* Kart başlıkları biraz küçülsün. */
  .th-admin-h2 { font-size:15.5px; }
}

@media (max-width:400px) {
  /* Çok dar ekranda üst çubuk aksiyonları tam satır. */
  .th-adm-bar-right { margin-left:auto; }
  .th-admin-btn { padding:9px 13px; }
}
