.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #202124;
  font-size: 0.98rem;
  /* Google logo agirligi gibi daha nötr bir kalinlik */
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #43a6ff, #0057d8);
  /* Cok genis mavi halo kaldirildi; sade bir yuvarlak nokta yeterli. */
  box-shadow: none;
}

.brand-logo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 1023px) {
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 18;
    background: rgba(13, 24, 38, 0.24);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  /* SCROLLED STATE FIX (critical.css ile senkron): body overflow:hidden ile
     topbar'ın position:sticky'si çakışıyor → menü backdrop altında kalıyor.
     Çözüm: Nav açıkken topbar fixed position — sticky bağımlılığını bypass. */
  body.nav-open .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    isolation: isolate;
  }
  body.nav-open .site-nav {
    z-index: 1001;
  }
  body.nav-open::before {
    z-index: 999;
  }
}

body {
  font-size: 15px;
  line-height: 1.55;
}

.topbar {
  /* 26 = backdrop (25) üzerinde. Mobil menüde (.site-nav topbar içinde, z-index:30
     kendi stacking context'inde) backdrop'i ezmek için topbar > backdrop olmalı. */
  z-index: 26;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.65rem;
  position: relative;
  z-index: 2;
}

.nav-toggle {
  display: inline-grid;
  gap: 4px;
  border: 1px solid #d3dfec;
  border-radius: 10px;
  background: var(--surface);
  padding: 0.5rem 0.55rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: #214261;
  transition: transform 0.24s ease, opacity 0.2s ease, background 0.2s ease;
  transform-origin: center;
}

/*
  Mobil .site-nav stillerinin TEK sahibi critical.css (header'a yapışık dropdown).
  Burada (deferred site.css) çakışan position/background tanımlamıyoruz —
  aksi takdirde critical.css inline yüklenip uygulanıyor, sonra site.css
  async yüklenince tasarım anlık değişiyor (FOUC / "şablon çakışması").
  Bu dosya yalnızca critical'de OLMAYAN, çakışmayan eklemeleri yapar.
*/

/* Backdrop — menü dışındaki alan koyu (sadece site.css'te tanımlı) */
.nav-backdrop {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(16, 35, 58, 0.35);
  z-index: 25;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mobil menü içindeki link aralıkları — critical.css'te padding tanımlı,
   burada sadece ek gap (display:grid critical'de yok, eklemiyoruz) */

.nav-toggle.is-open {
  background: #f1f6fc;
  border-color: #b9cde3;
}

.nav-toggle.is-open .nav-toggle-line:nth-of-type(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-line:nth-of-type(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-line:nth-of-type(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.menu-item {
  position: relative;
}

.menu-link,
.mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  justify-content: space-between;
  padding: 14px 16px; /* mobile touch target ≥44px */
  border-radius: 10px;
  font-weight: 500;
  color: #3c4043;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 1rem; /* mobilde daha okunaklı */
  cursor: pointer;
  text-align: left;
  min-height: 48px;
}

@media (min-width: 1024px) {
  .menu-link,
  .mega-trigger {
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
    min-height: 0;
  }
}

.menu-link:hover,
.mega-trigger:hover {
  /* Renkli mavi kutu yerine nötr açik gri hover (Google header gibi) */
  background: #f2f4f7;
  color: #202124;
}

.menu-link.is-active {
  color: #1a73e8;
  background: transparent;
}

/* Mega menü açıkken trigger butonu aktif görünsün (hover ile aynı) */
.has-mega.is-open > .mega-trigger,
.has-mega.is-open > .mega-trigger:hover {
  background: #e8eaed;
  color: #202124;
}

.mega-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 0.4rem;
  border-right: 2px solid #5f7389;
  border-bottom: 2px solid #5f7389;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.has-mega.is-open > .mega-trigger::after {
  transform: rotate(-135deg) translateY(1px);
}

.mega-panel {
  display: none;
}

.has-mega.is-open > .mega-panel {
  display: block;
}

.mega-panel-inner {
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  box-shadow: none;
  padding: 8px 12px 12px;
}

@media (min-width: 1024px) {
  .mega-panel-inner {
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: 0.85rem;
  }
}

.mega-title {
  margin: 0 0 0.6rem;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary-text-color);
  font-weight: 700;
}

.mega-grid {
  display: grid;
  gap: 0.2rem 0.8rem;
}

.mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
  Tek <ul> içinde sütunlu görünüm — semantik olarak tek liste,
  görsel olarak grid. --mega-cols custom property ile sütun sayısı yönetilir.
*/
.mega-list-carriers,
.mega-list-flat {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1rem;
}
@media (min-width: 1024px) {
  .mega-list-carriers,
  .mega-list-flat {
    /* min 150px → "Trendyol Express" gibi uzun isimler tek satırda kalır.
       1fr boş alanı eşit dağıtır. minmax(0,...) yerine 150px olunca
       sütun içeriğin altına düşmez (text wrap olmaz). */
    grid-template-columns: repeat(var(--mega-cols, 3), minmax(150px, 1fr));
    gap: 0.6rem 1.4rem;
  }
}

/* Firma ismi tek satırda — sütun çok dar olsa bile ellipsis ile kes,
   2 satıra kırılarak satır yüksekliklerini eşitsizleştirme. */
.mega-list-carriers a > span:not(.carrier-mark),
.mega-list-flat a > span:not(.carrier-mark) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.mega-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  color: var(--primary-text-color);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.carrier-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(15, 39, 67, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Üstte hafif "parlama" — colored SVG mark'ın üst kenarında glossy highlight */
.carrier-mark::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 3px;
  height: 8px;
  pointer-events: none;
  border-radius: 99px;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  z-index: 1;
}

.carrier-mark-icon {
  width: 100%;
  height: 100%;
  display: block;
}

.mega-list a:hover,
.mega-list a.is-active {
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  color: var(--link-color);
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 35%, transparent);
}

.mega-list a:hover .carrier-mark,
.mega-list a.is-active .carrier-mark {
  transform: translateY(-1px);
}

/* ========== GELİŞMİŞ MENÜ ÖZELLİKLERİ ========== */
/* Badge (YENİ, Promo vs.) — tüm link/button'larda inline */
.menu-item-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.4rem;
  padding: 0.08rem 0.45rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  border-radius: 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
}

/* Menü ikonu (SVG veya sprite) */
.menu-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: currentColor;
}
.menu-item-icon svg {
  width: 100%;
  height: 100%;
}
.menu-link .menu-item-icon,
.mega-trigger .menu-item-icon {
  margin-right: 0.35rem;
}

/* Divider — üst menü + submenu + mega içinde ayraç */
.menu-divider {
  list-style: none;
  height: 1px;
  margin: 0.5rem 0;
  background: var(--line, #e5e9f0);
  padding: 0;
}
.submenu-divider,
.mega-divider {
  list-style: none;
  height: 1px;
  margin: 0.4rem 0;
  background: var(--line, #e5e9f0);
}

/* Mobil/desktop görünürlük kontrolü */
.menu-item.visible-desktop { display: none; }
.menu-item.visible-mobile { display: block; }
@media (min-width: 1024px) {
  .menu-item.visible-desktop { display: inline-flex; }
  .menu-item.visible-mobile { display: none; }
}

/* Normal submenu (dropdown) */
.menu-item.has-dropdown { position: relative; }
.submenu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0.3rem;
  min-width: 220px;
}
.menu-item.has-dropdown.is-open > .submenu { display: block; }
.submenu > li > a {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  color: var(--primary-text-color, #1d2327);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease;
}
.submenu > li > a:hover,
.submenu > li > a.is-active {
  background: color-mix(in srgb, var(--primary, #2271b1) 12%, transparent);
  color: var(--link-color, #2271b1);
}
.submenu-label {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}
.submenu-desc {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--secondary-text-color, #64748b);
  line-height: 1.35;
}
@media (min-width: 1024px) {
  .submenu {
    position: absolute;
    top: calc(100% + 0.3rem);
    left: 0;
    background: var(--surface, #fff);
    border: 1px solid var(--line, #e5e9f0);
    border-radius: 12px;
    box-shadow: var(--shadow, 0 8px 24px rgba(12,30,53,.12));
    z-index: 35;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }
  .menu-item.has-dropdown.is-open > .submenu,
  .menu-item.has-dropdown:hover > .submenu,
  .menu-item.has-dropdown:focus-within > .submenu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Mega menu — MANUEL (admin-managed children) */
.has-mega-manual > .mega-panel-manual { /* mega panel ile aynı davranış */ }
.mega-grid-manual {
  gap: 1rem 1.4rem;
}
.mega-col {
  min-width: 0;
}
.mega-col-heading {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.4rem;
  padding-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary-text-color, #64748b);
  border-bottom: 1px solid var(--line, #e5e9f0);
}
.mega-col-heading .menu-item-icon {
  width: 14px;
  height: 14px;
}
.mega-col-desc {
  margin: -0.2rem 0 0.5rem;
  font-size: 0.74rem;
  color: var(--secondary-text-color, #94a3b8);
  line-height: 1.4;
}
.mega-list-manual {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.mega-sub-link {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  color: var(--primary-text-color, #1d2327);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 1.3;
}
.mega-sub-link:hover,
.mega-sub-link.is-active {
  background: color-mix(in srgb, var(--primary, #2271b1) 10%, transparent);
  color: var(--link-color, #2271b1);
}
.mega-sub-link .menu-item-icon {
  margin-top: 1px;
  width: 16px;
  height: 16px;
  color: var(--secondary-text-color, #64748b);
}
.mega-sub-link:hover .menu-item-icon,
.mega-sub-link.is-active .menu-item-icon {
  color: var(--link-color, #2271b1);
}
.mega-sub-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.mega-sub-label {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: inherit;
}
.mega-sub-desc {
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--secondary-text-color, #64748b);
  line-height: 1.35;
}

@media (min-width: 1024px) {
  .topbar-inner {
    flex-wrap: nowrap;
    gap: 1.2rem;
    min-height: 70px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    width: auto;
    order: 0;
    max-height: none;
    overflow: visible;
  }

  .menu-root {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0;
  }

  .menu-link,
  .mega-trigger {
    width: auto;
    justify-content: flex-start;
    padding: 0.48rem 0.72rem;
  }

  .has-mega {
    position: static;
  }

  /* Google-style mega menü:
     - Panel viewport'un FULL genişliğinde (header'ın container'ından çıkar)
     - position: fixed → topbar (70px) altına yapışır, scroll'la birlikte hareket etmez
     - İçerik (.mega-panel-inner) max 1200px ile ortalanır */
  .has-mega > .mega-panel {
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100vw;
    z-index: 35;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px) scale(0.985);
    transform-origin: top center;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    /* Görsel kart stili: panel'in kendisi (full width) */
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(16, 35, 58, 0.10);
  }

  .has-mega.is-open > .mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .mega-panel-inner {
    /* İçerik wrapper: max 1200px ortalı (header .container ile aynı) */
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.4rem 0;
    /* Kart stili dış panele taşındı — burada border/shadow yok */
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .mega-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem 1.1rem;
  }

  .mega-list a {
    min-height: 42px;
    border-radius: 10px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem 0.4rem 0.65rem;
  border-radius: 999px;
  /* Mavimsi pill kaldırıldı → saf beyaz, sadece nötr border. */
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: var(--link-color);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Sol başta yanıp sönen "canlı" yeşil nokta — "Teslim Edildi" pulse stiliyle aynı. */
.hero-eyebrow-dot {
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: #0f8d4e;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 0 0 rgba(15, 141, 78, 0.55);
  animation: hero-eyebrow-pulse 1.8s ease-out infinite;
}

@keyframes hero-eyebrow-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(15, 141, 78, 0.55); }
  70%  { box-shadow: 0 0 0 0.5em rgba(15, 141, 78, 0); }
  100% { box-shadow: 0 0 0 0 rgba(15, 141, 78, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow-dot { animation: none; }
}

.site-breadcrumb-wrap {
  /* Sade breadcrumb bandi: kutu/cerceve yok, duz metin. */
  padding: 0.85rem 0 0.35rem;
  position: relative;
}

.site-breadcrumb {
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.site-breadcrumb.is-at-start { mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent 100%); -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent 100%); }
.site-breadcrumb.is-at-end   { mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 100%); -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 100%); }
.site-breadcrumb.is-no-scroll { mask-image: none; -webkit-mask-image: none; }

.site-breadcrumb-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  padding: 2px 0;
}
.site-breadcrumb.has-prev { margin-left: 48px; }
.site-breadcrumb.has-next { margin-right: 48px; }
.site-breadcrumb.has-prev .site-breadcrumb-scroller { padding-left: 8px; }
.site-breadcrumb.has-next .site-breadcrumb-scroller { padding-right: 8px; }
.site-breadcrumb-scroller::-webkit-scrollbar { display: none; }

.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.28rem 0.45rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  white-space: nowrap;
}

.breadcrumb-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--primary-text-color);
  cursor: pointer;
  z-index: 3;
  padding: 0;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, color .15s ease;
}
.breadcrumb-nav-btn.is-visible { opacity: 1; pointer-events: auto; }
.breadcrumb-nav-btn:active,
.breadcrumb-nav-btn:focus,
.breadcrumb-nav-btn:hover { background: transparent; color: var(--link-color); outline: none; }
.breadcrumb-nav-prev { left: 1rem; }
.breadcrumb-nav-next { right: 1rem; }
.breadcrumb-nav-btn svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--secondary-text-color);
  font-size: 0.82rem;
  line-height: 1.25;
  font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.4px solid var(--secondary-text-color);
  border-right: 1.4px solid var(--secondary-text-color);
  transform: rotate(45deg);
  flex: 0 0 6px;
}

.breadcrumb-item a {
  color: var(--secondary-text-color);
  font-weight: 500;
}

.breadcrumb-item a:hover {
  color: var(--link-color);
  text-decoration: underline;
}

.breadcrumb-item span[aria-current="page"] {
  color: var(--primary-text-color);
  font-weight: 700;
}

@media (max-width: 700px) {
  .site-breadcrumb-wrap {
    padding-top: 0.5rem;
  }

  .breadcrumb-list {
    padding: 0.44rem 0.6rem;
    border-radius: 10px;
  }

  .breadcrumb-item {
    font-size: 0.74rem;
  }
}

.hero-copy h1 {
  margin: 0.9rem 0 0.8rem;
  line-height: 1.15;
  font-size: clamp(1.75rem, 5vw, 3rem);
  letter-spacing: -0.025em;
}

.hero-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 65ch;
}

.hero-home {
  position: relative;
  overflow: hidden;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: -80px auto auto -120px;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0) 72%);
  pointer-events: none;
}

.hero-home::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -40px;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(246, 124, 27, 0.16) 0%, rgba(246, 124, 27, 0) 72%);
  pointer-events: none;
}

.hero-grid.hero-grid-home {
  position: relative;
  z-index: 1;
  align-items: start;
}

.hero-copy-home {
  position: relative;
  z-index: 1;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.82rem;
  border-radius: 999px;
  border: 1px solid #d9e5f2;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 24px rgba(15, 39, 67, 0.06);
  color: #35567a;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.home-kpi-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0 0 1rem;
  max-width: 760px;
}

.home-kpi {
  display: grid;
  gap: 0.18rem;
  padding: 0.9rem 1rem;
  border: 1px solid #d8e5f2;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.home-kpi strong {
  font-size: 1.16rem;
  line-height: 1.1;
  color: #0f2743;
}

.home-kpi span {
  font-size: 0.88rem;
  color: var(--secondary-text-color);
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.trust-list li {
  position: relative;
  padding-left: 1.25rem;
  color: #2f4e71;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2196f3;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.hero-card-home {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  border-color: #d5e2ef;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 255, 0.96) 100%);
  box-shadow: 0 26px 60px rgba(15, 39, 67, 0.14);
}

.hero-card-home::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(255, 255, 255, 0) 68%);
  pointer-events: none;
}

.hero-card-window {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.92rem 1rem;
  border-bottom: 1px solid #e2eaf4;
  background: rgba(13, 53, 95, 0.03);
}

.hero-card-window-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.hero-card-window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #c7d6e8;
}

.hero-card-window-dots span:nth-child(1) {
  background: #ffb47b;
}

.hero-card-window-dots span:nth-child(2) {
  background: #7ac0ff;
}

.hero-card-window-dots span:nth-child(3) {
  background: #7ad4a0;
}

.hero-card-window strong {
  font-size: 0.82rem;
  color: #2b4665;
  font-weight: 700;
}

.hero-card-window-state {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #e9f8ef;
  border: 1px solid #cbe9d6;
  color: #1c7a49;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-card-surface {
  position: relative;
  z-index: 1;
  padding: 1.12rem;
}

.hero-card-surface-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}

.hero-card-kicker {
  margin: 0 0 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 800;
  color: #7c91ab;
}

.hero-card-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  border: 1px solid #d8e5f2;
  background: var(--surface-soft);
  color: #2a5d96;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero-card h2 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

.hero-card-intro {
  margin: 0 0 0.95rem;
  color: var(--muted);
}

.hero-card-note {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  color: var(--secondary-text-color);
}

.home-preview-panel {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid #dbe7f3;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.home-preview-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.home-preview-head strong {
  display: block;
  font-size: 0.95rem;
  color: #14304d;
}

.home-preview-head p {
  margin: 0.14rem 0 0;
  font-size: 0.8rem;
  color: #6b819a;
}

.home-preview-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #edf4fb;
  color: #486887;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.home-preview-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid #e3ebf4;
}

.home-preview-stop {
  min-width: 0;
}

.home-preview-stop small {
  display: block;
  margin-bottom: 0.28rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7a8ea6;
}

.home-preview-stop strong {
  display: block;
  color: #16314d;
  font-size: 1rem;
  line-height: 1.15;
}

.home-preview-stop.is-destination {
  text-align: right;
}

.home-preview-stop.is-destination small {
  color: #f67c1b;
}

.home-preview-arrow {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid #d8e5f2;
  background: var(--surface);
  color: #8ba0b7;
  display: inline-grid;
  place-items: center;
}

.home-preview-progress {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}

.home-preview-step {
  display: grid;
  gap: 0.4rem;
  justify-items: center;
  text-align: center;
}

.home-preview-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid #d8e5f2;
  background: var(--surface);
  color: #8ba0b7;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(15, 39, 67, 0.05);
}

.home-preview-step span:last-child {
  font-size: 0.71rem;
  line-height: 1.35;
  color: #7287a0;
}

.home-preview-step.is-active .home-preview-step-icon {
  background: #eaf8ef;
  border-color: #bde0c8;
  color: #1f8a53;
}

.home-preview-step.is-active span:last-child {
  color: #21754b;
  font-weight: 700;
}

.home-preview-step.is-current .home-preview-step-icon {
  background: #fff4ea;
  border-color: #ffd4b0;
  color: #ef7b1a;
}

.home-preview-step.is-current span:last-child {
  color: #c96514;
  font-weight: 700;
}

.home-preview-mini-grid {
  margin-top: 0.82rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.home-preview-mini-card {
  display: grid;
  gap: 0.38rem;
  padding: 0.82rem;
  border-radius: 16px;
  border: 1px solid #dbe7f3;
  background: rgba(255, 255, 255, 0.92);
}

.home-preview-mini-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  border: 1px solid #d8e4f1;
  background: #f7fbff;
  color: #3c6ca3;
  display: inline-grid;
  place-items: center;
}

.home-preview-mini-card strong {
  font-size: 0.82rem;
  color: #18324d;
}

.home-preview-mini-card span:last-child {
  font-size: 0.74rem;
  line-height: 1.35;
  color: #6c819a;
}

.carrier-query-card {
  padding: 1.1rem;
  border-radius: 18px;
}

.carrier-query-head {
  margin-bottom: 0.85rem;
}

.carrier-query-head h2 {
  margin: 0;
  font-size: clamp(1.14rem, 1.7vw, 1.46rem);
  line-height: 1.22;
  color: var(--heading-color);
}

.hero-grid.hero-grid-carrier {
  align-items: start;
}

.hero-grid.hero-grid-carrier .hero-copy {
  display: grid;
  align-content: start;
}

.carrier-brand-card {
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0.95rem;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.carrier-brand-card::before {
  content: "";
  position: absolute;
  left: -62px;
  top: -72px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 145, 240, 0.2) 0%, rgba(79, 145, 240, 0) 72%);
  pointer-events: none;
}

.carrier-brand-head {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 0.78rem;
  align-items: center;
  padding: 0.08rem 0.1rem 0.72rem;
  margin-bottom: 0.68rem;
  border-bottom: 1px solid var(--line);
}

.carrier-brand-logo-wrap {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.carrier-brand-logo-icon {
  width: 56px;
  height: 40px;
}

.carrier-brand-head-meta {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}

.carrier-brand-kicker {
  margin: 0;
  color: var(--secondary-text-color);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.carrier-brand-title {
  margin: 0;
  text-align: left;
  font-size: clamp(1.14rem, 1.9vw, 1.4rem);
  line-height: 1.15;
  color: var(--heading-color);
}

.carrier-brand-head-link {
  color: var(--link-color);
  font-size: 0.85rem;
  font-weight: 700;
  word-break: break-word;
}

.carrier-brand-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.58rem;
}

.carrier-brand-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  padding: 0.62rem 0.66rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.carrier-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--secondary-text-color);
  display: inline-grid;
  place-items: center;
}

.carrier-brand-meta {
  min-width: 0;
  display: grid;
  gap: 0.08rem;
}

.carrier-brand-meta span {
  color: var(--secondary-text-color);
  font-size: 0.75rem;
  line-height: 1.2;
}

.carrier-brand-meta strong,
.carrier-brand-meta a {
  color: var(--primary-text-color);
  font-size: 0.98rem;
  line-height: 1.22;
  font-weight: 700;
  word-break: break-word;
}

.carrier-brand-meta a:hover {
  color: var(--link-color);
  text-decoration: underline;
}

.carrier-query-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.78rem;
  align-items: center;
}

.carrier-query-label {
  display: block;
  position: relative;
}

.carrier-query-input-icon {
  position: absolute;
  left: 0.82rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary-text-color);
  pointer-events: none;
}

.carrier-query-label input {
  width: 100%;
  min-height: 56px;
  padding: 0.75rem 0.86rem 0.75rem 2.72rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--primary-text-color);
  font-size: 1rem;
  line-height: 1.35;
}

.carrier-query-label input::placeholder {
  color: var(--secondary-text-color);
}

.carrier-query-label input:focus {
  outline: none;
  border-color: #5a9fe0;
  box-shadow: 0 0 0 4px rgba(90, 159, 224, 0.16);
}

.carrier-query-submit {
  min-height: 56px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #f57c00;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carrier-query-submit:hover {
  background: #e66f00;
  transform: translateY(-1px);
}

.carrier-query-helper {
  margin: 0.62rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--secondary-text-color);
  font-size: 0.9rem;
}

.carrier-query-helper strong {
  color: var(--primary-text-color);
  font-weight: 700;
}

.carrier-track-section {
  padding-top: 1.15rem;
}

.carrier-track-grid {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.carrier-main-card,
.carrier-company-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(16, 35, 58, 0.06);
}

.carrier-main-card {
  padding: 1.15rem;
}

.carrier-main-head {
  margin-bottom: 0.92rem;
  padding-bottom: 0.88rem;
  border-bottom: 1px solid #dfe9f4;
}

.carrier-main-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7088a3;
  font-size: 0.73rem;
  font-weight: 700;
}

.carrier-main-head h1 {
  margin: 0.32rem 0 0.46rem;
  font-size: clamp(1.52rem, 2.6vw, 2.05rem);
  line-height: 1.12;
  color: #102742;
}

.carrier-main-head p {
  margin: 0;
  color: var(--secondary-text-color);
  font-size: 1rem;
  line-height: 1.55;
}

.carrier-form-area h2 {
  margin: 0 0 0.72rem;
  font-size: 1.55rem;
  line-height: 1.2;
  color: #102742;
}

.carrier-query-form--stack {
  gap: 0.7rem;
}

.carrier-query-form--stack .carrier-query-label input {
  background: var(--surface-soft);
}

.carrier-query-form--stack .carrier-query-submit {
  min-height: 54px;
  border-radius: 12px;
  background: #f57c00;
}

.carrier-query-form--stack .carrier-query-submit:hover {
  background: #e86f00;
}

.carrier-query-helper-box {
  width: 100%;
  margin-top: 0.68rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid #dbe7f3;
  border-radius: 10px;
  background: #f7fbff;
}

.carrier-inline-faq {
  margin-top: 0.96rem;
  padding-top: 0.9rem;
  border-top: 1px solid #dfe9f4;
}

.carrier-inline-faq h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  color: #153455;
}

.carrier-inline-faq-list {
  display: grid;
  gap: 0.45rem;
}

.carrier-inline-faq-list details {
  border: 1px solid #dbe7f3;
  border-radius: 10px;
  background: #f9fcff;
  padding: 0.62rem 0.7rem;
}

.carrier-inline-faq-list summary {
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  color: #163658;
}

.carrier-inline-faq-list p {
  margin: 0.45rem 0 0;
  color: var(--secondary-text-color);
  font-size: 0.86rem;
}

.carrier-sidebar {
  display: grid;
  gap: 0.9rem;
}

.carrier-company-card {
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.carrier-company-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--carrier-color) 66%, #2f7de1), #5eb4ff);
}

.carrier-company-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #dfe9f4;
}

.carrier-company-logo-wrap {
  width: 66px;
  height: 66px;
  border-radius: 14px;
  border: 1px solid #d6e2ef;
  background: var(--surface);
  display: inline-grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(16, 35, 58, 0.08);
  flex: 0 0 66px;
}

.carrier-company-logo-icon {
  width: 50px;
  height: 36px;
}

.carrier-company-head h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.1;
  color: #0f2b4a;
}

.carrier-company-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.carrier-company-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.58rem;
  align-items: center;
  background: var(--surface-soft);
  border: 1px solid #dbe8f5;
  border-radius: 12px;
  padding: 0.56rem 0.62rem;
}

.carrier-company-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #d2e0ef;
  background: var(--surface);
  color: #3c5f84;
  display: inline-grid;
  place-items: center;
}

.carrier-company-meta {
  min-width: 0;
  display: grid;
  gap: 0.05rem;
}

.carrier-company-meta span {
  color: #6a829e;
  font-size: 0.76rem;
  line-height: 1.2;
}

.carrier-company-meta strong,
.carrier-company-meta a {
  color: #17395f;
  font-size: 0.98rem;
  line-height: 1.2;
  font-weight: 700;
  word-break: break-word;
}

.carrier-company-meta a:hover {
  color: #10355a;
  text-decoration: underline;
}

.carrier-sidebar-ad {
  border-radius: 14px;
  border: 2px dashed #c8d8ea;
  background: #edf3fb;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
}

.carrier-adsense-skyscraper {
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  height: 600px;
}

.carrier-sidebar-ad-placeholder {
  width: 100%;
  max-width: 300px;
  height: 600px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.3rem;
  color: #617b98;
  text-align: center;
  font-size: 0.88rem;
}

.carrier-sidebar-ad-placeholder strong {
  color: #1a3b62;
  font-size: 1.12rem;
}

.carrier-sidebar-ad-placeholder em {
  font-style: normal;
  font-weight: 700;
  color: #365b82;
}

.carrier-bottom-columns {
  padding-top: 0.15rem;
}

.carrier-bottom-columns p {
  margin: 0.36rem 0;
}

@media (min-width: 1020px) {
  .carrier-track-grid {
    grid-template-columns: minmax(0, 1fr) 332px;
    gap: 1.08rem;
  }
}

@media (max-width: 1019px) {
  .carrier-sidebar-ad {
    min-height: 260px;
  }

  .carrier-adsense-skyscraper {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 250px;
  }

  .carrier-sidebar-ad-placeholder {
    height: 250px;
  }
}

@media (max-width: 620px) {
  .carrier-main-card,
  .carrier-company-card {
    border-radius: 15px;
  }

  .carrier-main-card {
    padding: 0.95rem;
  }

  .carrier-main-head h1 {
    font-size: 1.46rem;
  }

  .carrier-form-area h2 {
    font-size: 1.3rem;
  }

  .carrier-company-head {
    align-items: center;
  }

  .carrier-company-logo-wrap {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .carrier-company-logo-icon {
    width: 42px;
    height: 30px;
  }

  .carrier-company-head h2 {
    font-size: 1.25rem;
  }
}

@media (max-width: 560px) {
  .carrier-brand-card {
    padding: 0.8rem;
  }

  .carrier-brand-head {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 0.62rem;
    padding-bottom: 0.62rem;
    margin-bottom: 0.58rem;
  }

  .carrier-brand-logo-wrap {
    width: 62px;
    height: 62px;
  }

  .carrier-brand-logo-icon {
    width: 48px;
    height: 32px;
  }

  .carrier-brand-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0.5rem;
  }

  .carrier-brand-icon {
    width: 32px;
    height: 32px;
  }

  .carrier-brand-meta strong,
  .carrier-brand-meta a {
    font-size: 0.9rem;
  }
}

@media (min-width: 960px) {
  .hero-grid.hero-grid-carrier {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 500px);
    gap: 1.5rem;
  }
}

.track-form {
  display: grid;
  gap: 0.85rem;
}

.track-form.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.track-form label {
  display: grid;
  gap: 0.4rem;
}

.track-form label > span {
  font-size: 0.82rem;
  font-weight: 700;
  color: #335170;
}

.track-form input:not([type="hidden"]),
.track-form select {
  appearance: none;
  width: 100%;
  background: var(--surface-soft);
  border: 1px solid #d7e3ef;
  border-radius: 12px;
  min-height: 46px;
  padding: 0.65rem 0.8rem;
  font: inherit;
  color: var(--text);
}

.track-form input:not([type="hidden"]):focus,
.track-form select:focus {
  outline: none;
  border-color: #4d95df;
  box-shadow: 0 0 0 4px rgba(77, 149, 223, 0.14);
}

.track-form button[type="submit"] {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.track-form button[type="submit"]:hover {
  transform: translateY(-1px);
}

.track-form button[type="submit"]:active {
  transform: translateY(0);
}

.section {
  padding: 1.9rem 0;
}

.section.section-tight {
  padding-top: 0.4rem;
}

.section.section-soft {
  /* Mavimsi gradient kaldırıldı — saf beyaz arka plan, çerçeve de yok.
     Section'lar arası ayrım için sadece padding farkı yeterli. */
  background: #ffffff;
  border-top: 0;
  border-bottom: 0;
}

.section-head h2,
.section-head h1 {
  margin: 0 0 0.5rem;
}

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

.carrier-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .carrier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1050px) {
  .carrier-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.carrier-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.carrier-card:hover {
  border-color: #a9c7e7;
  transform: translateY(-3px);
}

.carrier-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.06rem;
}

.carrier-card p {
  margin: 0.35rem 0;
  color: var(--muted);
}

.home-value-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.95rem;
}

@media (min-width: 860px) {
  .home-value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.home-value-card,
.home-panel-card,
.home-carrier-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.home-value-card {
  padding: 1.15rem;
}

.home-value-card-head {
  display: flex;
  align-items: center;
  gap: 0.78rem;
  margin-bottom: 0.8rem;
}

.home-value-icon,
.home-panel-icon,
.home-carrier-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid #d9e5f2;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8fe 100%);
  color: #2f6ec9;
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  box-shadow: 0 10px 24px rgba(15, 39, 67, 0.06);
}

.home-value-card h3,
.home-panel-card h2 {
  margin: 0;
}

.home-value-card p,
.home-panel-card p {
  margin: 0;
  color: var(--muted);
}

.home-panel-card {
  padding: 1.2rem;
}

.home-panel-head {
  display: flex;
  align-items: center;
  gap: 0.82rem;
  margin-bottom: 0.9rem;
}

.home-panel-kicker {
  margin: 0 0 0.18rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #7c91ab;
}

.home-check-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.home-check-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--primary-text-color);
}

.home-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #3fb878;
}

.home-panel-note {
  margin-top: 0.9rem !important;
  font-size: 0.95rem;
}

.home-carrier-grid {
  margin-top: 1rem;
}

.home-carrier-card {
  padding: 1rem;
}

.home-carrier-card-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.home-carrier-card h3 {
  margin: 0 0 0.24rem;
}

.home-carrier-card p {
  margin: 0;
  min-height: 2.8em;
}

.home-logo-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.home-logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #274768;
  font-size: 0.82rem;
  font-weight: 700;
}

.home-carrier-picker {
  position: relative;
}

.home-carrier-picker-trigger {
  width: 100%;
  min-height: 56px;
  padding: 0.6rem 0.78rem;
  border: 1px solid #d7e3ef;
  border-radius: 14px;
  background: var(--surface-soft);
  color: #13314f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.home-carrier-picker-trigger:focus-visible,
.home-carrier-picker.is-open .home-carrier-picker-trigger {
  outline: none;
  border-color: #4d95df;
  box-shadow: 0 0 0 4px rgba(77, 149, 223, 0.14);
  background: var(--surface);
}

.home-carrier-picker-current {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.68rem;
}

.home-carrier-picker-mark {
  flex: 0 0 32px;
}

.home-carrier-picker-copy,
.home-carrier-option-copy {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}

.home-carrier-picker-copy strong,
.home-carrier-option-copy strong {
  display: block;
  color: #13314f;
  font-size: 0.95rem;
  line-height: 1.2;
  font-weight: 700;
}

.home-carrier-picker-copy small,
.home-carrier-option-copy small {
  display: block;
  color: #6d85a0;
  font-size: 0.75rem;
  line-height: 1.3;
}

.home-carrier-picker-chevron {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-right: 2px solid #67819c;
  border-bottom: 2px solid #67819c;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.home-carrier-picker.is-open .home-carrier-picker-chevron {
  transform: rotate(-135deg) translateY(-1px);
  border-color: #2f6ec9;
}

.home-carrier-picker-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.55rem);
  z-index: 18;
  display: grid;
  gap: 0.3rem;
  padding: 0.5rem;
  border: 1px solid #d7e3ef;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 38px rgba(15, 39, 67, 0.14);
  backdrop-filter: blur(12px);
  max-height: 310px;
  overflow-y: auto;
}

.home-carrier-picker-menu[hidden] {
  display: none !important;
}

.home-carrier-picker-search {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.05rem 0.1rem 0.55rem;
  background: rgba(255, 255, 255, 0.98);
  color: #6d85a0;
}

.home-carrier-picker-search-input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d7e3ef;
  border-radius: 12px;
  background: var(--surface-soft);
  color: #13314f;
  padding: 0.58rem 0.72rem;
  font: inherit;
}

.home-carrier-picker-search-input:focus {
  outline: none;
  border-color: #4d95df;
  box-shadow: 0 0 0 4px rgba(77, 149, 223, 0.14);
  background: var(--surface);
}

.home-carrier-picker-options {
  display: grid;
  gap: 0.3rem;
}

.home-carrier-picker-empty {
  padding: 0.75rem 0.4rem 0.2rem;
  color: #6d85a0;
  font-size: 0.84rem;
  text-align: center;
}

.home-carrier-picker-empty[hidden] {
  display: none !important;
}

.home-carrier-option {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 0.5rem 0.52rem;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 0.68rem;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.home-carrier-option:hover,
.home-carrier-option:focus-visible,
.home-carrier-option.is-selected {
  outline: none;
  background: #eef5ff;
}

.home-carrier-option[hidden],
.home-carrier-option.is-filter-hidden {
  display: none !important;
}

.home-carrier-option:hover .carrier-mark,
.home-carrier-option:focus-visible .carrier-mark,
.home-carrier-option.is-selected .carrier-mark {
  border-color: #c4d4e9;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 5px 12px rgba(21, 43, 68, 0.15);
  transform: translateY(-1px);
}

.card-cta {
  display: inline-block;
  margin-top: 0.55rem;
  font-weight: 700;
}

.tiny {
  font-size: 0.82rem;
  color: #5f748d;
}

.columns-2 {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 900px) {
  .columns-2 {
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
  }
}

@media (max-width: 720px) {
  .home-kpi-list {
    grid-template-columns: 1fr;
  }

  .hero-chip-row,
  .home-logo-cloud {
    gap: 0.5rem;
  }

  .home-preview-mini-grid {
    grid-template-columns: 1fr;
  }

  .home-preview-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-preview-route {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .home-preview-stop.is-destination {
    text-align: left;
  }

  .home-preview-arrow {
    transform: rotate(90deg);
  }
}

@media (min-width: 1100px) {
  .hero-grid.hero-grid-home {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 500px);
    gap: 1.8rem;
  }
}

.step-list {
  margin: 0;
  padding-left: 1.2rem;
}

.step-list li {
  margin-bottom: 0.5rem;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.badge-list li {
  background: #e8f2ff;
  border: 1px solid #cfe3f8;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #234d79;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.55rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.hero-carrier {
  background:
    radial-gradient(circle at 100% -20%, color-mix(in srgb, var(--carrier-color) 20%, transparent), transparent 45%);
}

.query-retry-card {
  background: #edf4fb;
  border: 1px solid #d8e5f1;
  border-radius: 14px;
  padding: 0.8rem;
}

.result-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.9rem;
}

@media (min-width: 1000px) {
  .result-grid {
    grid-template-columns: 360px 1fr;
    gap: 1rem;
  }
}

.result-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  margin-top: 0.9rem;
}

.result-card.center {
  text-align: center;
}

.summary-list {
  margin: 0;
}

.summary-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.8rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--line-soft);
}

.summary-list dt {
  font-weight: 700;
  color: #2e4f72;
}

.summary-list dd {
  margin: 0;
}

.timeline-list {
  margin: 0;
  padding-left: 1.1rem;
}

.timeline-list li {
  margin-bottom: 0.8rem;
}

.timeline-title {
  margin: 0;
  font-weight: 700;
}

.attributes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.45rem 0.8rem;
}

.attributes-grid p {
  margin: 0;
  font-size: 0.92rem;
  color: #2d4f73;
}

.alert {
  margin-top: 0.9rem;
  background: #eef4fb;
  border: 1px solid #d6e4f0;
  border-radius: 12px;
  padding: 0.8rem;
}

.alert-error {
  background: #fff2f2;
  border-color: #f5cbcb;
  color: #8f2a2a;
}

.notice {
  margin-top: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid #e8eaed;
  border-left: 3px solid #d13232;
  border-radius: 10px;
}

.notice-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #fdecec;
  color: #d13232;
  border-radius: 50%;
}

.notice-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  line-height: 1.45;
}

.notice-body strong {
  font-size: 0.78rem;
  font-weight: 700;
  color: #d13232;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.notice-body span {
  font-size: 0.92rem;
  color: #0c1e35;
}

.notice-error { border-left-color: #d13232; }

.warning-list {
  margin: 0;
  padding-left: 1rem;
}

.warning-list li {
  margin-bottom: 0.35rem;
}

.center-card {
  display: grid;
  place-items: center;
}

.prose h1 {
  margin-top: 0;
}

/* Carrier page long-form content (SEO + ad relevancy için) */
.carrier-ktio-article {
  margin-top: 2rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.carrier-ktio-article h3 {
  margin: 1.8rem 0 .6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.3;
  letter-spacing: -.01em;
}
.carrier-ktio-article h3:first-child { margin-top: 0; }
.carrier-ktio-article p,
.carrier-ktio-article li {
  color: var(--secondary-text-color);
  font-size: .95rem;
  line-height: 1.7;
  margin: 0 0 .7rem;
}
.carrier-ktio-article ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}
.carrier-ktio-article li { margin-bottom: .4rem; }
.carrier-ktio-article strong,
.carrier-ktio-article em { color: var(--primary-text-color); font-style: normal; font-weight: 600; }

.section-policy {
  padding-top: 0.5rem;
}

.policy-card {
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.policy-header {
  margin-bottom: 1.3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2ebf4;
}

.policy-title {
  margin: 0;
  font-size: clamp(1.7rem, 2.9vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--heading-color);
}

.policy-meta {
  margin: 0.5rem 0 0;
  color: var(--secondary-text-color);
  font-size: 0.9rem;
}

.policy-content {
  color: var(--secondary-text-color);
}

.policy-content p {
  margin: 0 0 1rem;
  font-size: 0.97rem;
  line-height: 1.75;
}

.policy-content h2 {
  margin: 1.65rem 0 0.65rem;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--heading-color);
}

.policy-content ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.policy-content li {
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.policy-content li::marker {
  color: #2f7de1;
}

.policy-contact {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid #e2ebf4;
}

.policy-contact-head h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--primary-text-color);
}

.policy-contact-head p {
  margin: 0.38rem 0 0;
  color: #5f7894;
  font-size: 0.93rem;
}

.policy-contact-alert {
  margin-top: 0.9rem;
  border-radius: 12px;
  padding: 0.72rem 0.86rem;
  border: 1px solid #cfe0f4;
  background: #eef5ff;
  color: #214261;
  font-size: 0.9rem;
  font-weight: 600;
}

.policy-contact-alert.is-success {
  border-color: #b9e3c8;
  background: #edf9f1;
  color: #19613a;
}

.policy-contact-alert.is-error {
  border-color: #efced2;
  background: #fff3f5;
  color: #8a2d39;
}

.policy-contact-form {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.75rem;
}

.policy-contact-form label {
  display: grid;
  gap: 0.35rem;
}

.policy-contact-form label > span {
  font-size: 0.85rem;
  font-weight: 700;
  color: #2a4a69;
}

.policy-contact-form input,
.policy-contact-form textarea {
  appearance: none;
  width: 100%;
  border: 1px solid #d4e1ef;
  border-radius: 12px;
  background: var(--surface-soft);
  color: #1a3352;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.policy-contact-form input:focus,
.policy-contact-form textarea:focus {
  outline: none;
  border-color: #4d95df;
  box-shadow: 0 0 0 4px rgba(77, 149, 223, 0.14);
}

.policy-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.policy-contact-grid .policy-contact-full {
  grid-column: 1 / -1;
}
.policy-contact-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.policy-contact-submit {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  padding: 0.55rem 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #f28719, #ea6d00);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.policy-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 780px) {
  .policy-card {
    padding: 0;
  }

  .policy-header {
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
  }

  .policy-meta {
    font-size: 0.86rem;
  }

  .policy-contact-grid {
    grid-template-columns: 1fr;
  }
}

.admin-shell {
  max-width: 1100px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.admin-toolbar h1 {
  margin: 0;
}

.admin-subnav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin: 0 0 0.9rem;
}

.admin-subnav a {
  display: inline-block;
  padding: 0.46rem 0.76rem;
  border-radius: 10px;
  font-weight: 700;
  color: #2b4a68;
  background: #f1f6fc;
  border: 1px solid #d5e2f1;
}

.admin-subnav a:hover,
.admin-subnav a.is-active {
  background: #e5f0ff;
  color: var(--primary-text-color);
}

.admin-grid {
  display: grid;
  gap: 0.95rem;
}

.admin-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(16, 35, 58, 0.06);
}

.admin-login-card {
  max-width: 520px;
}

.admin-form {
  display: grid;
  gap: 0.75rem;
}

.admin-form label {
  display: grid;
  gap: 0.34rem;
}

.admin-fieldset {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem;
  background: var(--surface-soft);
  display: grid;
  gap: 0.7rem;
}

.admin-fieldset legend {
  padding: 0 0.35rem;
  font-weight: 700;
  color: #17375b;
}

.admin-checkbox {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  color: #214261;
}

.admin-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

.admin-form input,
.admin-form textarea {
  appearance: none;
  width: 100%;
  border: 1px solid #d6e2ef;
  border-radius: 12px;
  padding: 0.62rem 0.72rem;
  background: #f9fcff;
  color: #1b314f;
  font: inherit;
}

.admin-form input:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: #4d95df;
  box-shadow: 0 0 0 4px rgba(77, 149, 223, 0.14);
}

.admin-form button,
.admin-ghost-btn {
  border: 0;
  border-radius: 12px;
  min-height: 42px;
  padding: 0.5rem 0.9rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.admin-form button {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
}

.admin-ghost-btn {
  background: var(--surface-soft);
  color: #17355a;
  border: 1px solid #cfdced;
}

.admin-menu h2 {
  margin: 0 0 0.6rem;
}

.admin-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.admin-menu a {
  display: block;
  padding: 0.52rem 0.64rem;
  border-radius: 10px;
  color: #2c4a68;
  font-weight: 600;
}

.admin-menu a:hover,
.admin-menu a.is-active {
  background: #eaf3fe;
  color: var(--primary-text-color);
}

@media (min-width: 980px) {
  .admin-grid {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
}

/* =========================================================================
   Google Material tarzı footer — üç kolon + alt disclaimer kartı
   ========================================================================= */

/* Ana Kapsayıcı: Google'ın standart #f8f9fa arka planı.
   Dikey padding burada; sol-sağ hizalamayı .footer-container devralıyor
   (header'ın .container değerleriyle birebir aynı). */
.google-advanced-footer {
  background-color: #f8f9fa;
  color: #5f6368;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  border-top: 1px solid #dadce0;
  padding: 64px 0 24px;
  margin-top: 3rem;
  flex-shrink: 0;
}

/* Header .container ile aynı genişlik — hizalama tam eşit */
.footer-container {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Üst Grid Düzeni */
.footer-top-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand-col {
  flex: 1;
  min-width: 200px;
}

/* --- LOGOTAYP OPTİMİZASYONU --- */
.footer-logo {
  font-size: 24px;
  letter-spacing: -0.5px;
  line-height: 1.2;
  display: inline-block;
}
.footer-logo .logo-text {
  font-weight: 700;
  color: #202124;
}
.footer-logo .logo-ext {
  font-weight: 400;
  color: #5f6368;
  opacity: 0.8;
}

/* Menü Kolonları */
.footer-links-col {
  flex: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 80px;
}

.footer-nav-group {
  min-width: 160px;
}

/* --- BAŞLIK OPTİMİZASYONU --- */
.footer-heading {
  font-size: 13px;       /* 14→13, daha keskin */
  font-weight: 600;      /* 500→600, kurumsal duruş */
  color: #202124;
  margin: 0 0 16px 0;    /* 20→16, liste daha kompakt */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- LİNK BOŞLUKLARI OPTİMİZASYONU --- */
.footer-nav-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;             /* 16→12, liste bütünlüğü arttı */
}

.footer-nav-group a {
  color: #5f6368;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-nav-group a:hover {
  color: #1a73e8;
}
.footer-nav-group a:focus-visible {
  outline: 2px solid #1a73e8;
  outline-offset: 3px;
  border-radius: 2px;
}

/* Alt Kısım: Çizgi ile ayırma */
.footer-bottom {
  border-top: 1px solid #dadce0;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: #ffffff;
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid #f1f3f4;
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.1);
}

.info-icon {
  width: 20px;
  height: 20px;
  color: #5f6368;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-disclaimer p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #5f6368;
}

/*
  Footer disclaimer links — metin bloğu içinde olduğu için underline ile
  ayırt edilmeli (Lighthouse "link-in-text-block" + WCAG 1.4.1 Color).
*/
.footer-disclaimer a {
  color: #1a73e8;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.footer-disclaimer a:hover {
  text-decoration-thickness: 2px;
}

.footer-meta {
  display: flex;
  justify-content: flex-end;
  font-size: 13px;
  /* WCAG AA: #70757a on #f8f9fa = 4.41:1 (eşik altı) -> #5f6368 = 6.69:1 */
  color: #5f6368;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
  .google-advanced-footer {
    padding: 48px 0 20px;
  }
  .footer-top-grid {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 48px;
  }
  .footer-links-col {
    flex-direction: column;
    gap: 32px;
  }
  .footer-meta {
    justify-content: flex-start;
  }
  .footer-disclaimer {
    padding: 14px 16px;
  }
}

/* Dark mode — Google'ın yakaladığı ton yerine token'lardan türet */
html[data-theme="dark"] .google-advanced-footer {
  background-color: var(--surface-soft, #131a24);
  color: var(--secondary-text-color);
  border-top-color: var(--line);
}
html[data-theme="dark"] .footer-logo .logo-text,
html[data-theme="dark"] .footer-heading {
  color: var(--primary-text-color);
}
html[data-theme="dark"] .footer-logo .logo-ext {
  color: var(--secondary-text-color);
}
html[data-theme="dark"] .footer-nav-group a,
html[data-theme="dark"] .footer-disclaimer p,
html[data-theme="dark"] .info-icon,
html[data-theme="dark"] .footer-meta {
  color: var(--secondary-text-color);
}
html[data-theme="dark"] .footer-nav-group a:hover {
  color: var(--link-color);
}
html[data-theme="dark"] .footer-bottom {
  border-top-color: var(--line);
}
html[data-theme="dark"] .footer-disclaimer {
  background-color: var(--surface);
  border-color: var(--line-soft);
  box-shadow: none;
}
html[data-theme="dark"] .footer-disclaimer a {
  color: var(--link-color);
}
html[data-theme="dark"] .footer-nav-group a:focus-visible {
  outline-color: var(--link-color);
}

/* Ana footer stil bloğunun geri kalanı (eski selector'lar, backward-compat) kaldırıldı;
   alttaki .footer-disclaimer p/a kuralları artık yukarıdaki bloğun parçası. */

/* 404 not-found */
.not-found-shell { max-width: 820px; margin: 0 auto; padding: 2rem 1rem; }
.not-found-header { text-align: center; margin-bottom: 2rem; }
.not-found-badge {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--link-color);
  font-weight: 700;
  letter-spacing: .08em;
  font-size: 13px;
  margin-bottom: 16px;
}
.not-found-title {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--primary-text-color);
}
.not-found-lead {
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--secondary-text-color);
  font-size: 1rem;
  line-height: 1.6;
}
.not-found-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 760px) {
  .not-found-grid { grid-template-columns: repeat(3, 1fr); }
}
.not-found-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem;
}
.not-found-card h2 { margin: 0 0 .5rem; font-size: 1rem; color: var(--primary-text-color); }
.not-found-card p { margin: 0 0 .8rem; color: var(--secondary-text-color); font-size: .9rem; }
.not-found-form { display: grid; gap: .5rem; }
.not-found-form input {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--primary-text-color);
  font: inherit;
  font-size: .9rem;
}
.not-found-form button {
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.not-found-carriers, .not-found-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.not-found-carriers li a, .not-found-links li a {
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--primary-text-color);
  font-size: .88rem;
  text-decoration: none;
  background: var(--surface-soft);
}
.not-found-carriers li a:hover, .not-found-links li a:hover {
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--link-color);
}
.not-found-footer { text-align: center; margin-top: 1.5rem; }
.not-found-home {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--link-color);
  font-weight: 600;
  text-decoration: none;
}
.not-found-home:hover { background: var(--primary); color: #fff; }

.no-pad {
  width: 100%;
}

@media (max-width: 820px) {
  .track-form.compact {
    grid-template-columns: 1fr;
  }

  .carrier-query-form {
    grid-template-columns: 1fr;
  }

  .carrier-query-submit {
    width: 100%;
  }
}

.is-hidden {
  display: none !important;
}

.global-ad-wrap {
  padding: 0.8rem 0 0.2rem;
  position: relative;
  z-index: 1;
  transition: margin-top 0.22s ease;
  /* CLS guard — critical.css ile senkron */
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  contain: layout;
}
@media (min-width: 768px) {
  .global-ad-wrap { min-height: 100px; }
}
.global-ad-wrap .adsbygoogle {
  display: block;
  width: 100%;
  min-height: 90px;
}

@media (min-width: 1024px) {
  body.mega-open .global-ad-wrap {
    margin-top: var(--mega-safe-offset, 0px);
  }
}

.global-ad-placeholder {
  display: grid;
  place-items: center;
  color: #5d7590;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.6rem;
}

.result-page {
  padding-top: 0.65rem;
  background: var(--surface);
}

.result-page-shell {
  max-width: 1120px;
}

.result-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
  flex: 0 0 auto;
}

/* Keep carrier logos fixed size in mega menu; do not inherit 1em icon sizing */
.carrier-mark-icon.icon {
  width: 24px;
  height: 24px;
}

.icon-16 {
  width: 16px;
  height: 16px;
}

.icon-20 {
  width: 20px;
  height: 20px;
}

.icon-18 {
  width: 18px;
  height: 18px;
}

.icon-32 {
  width: 32px;
  height: 32px;
}

.result-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid #ced9e7;
  background: var(--surface);
  color: var(--primary-text-color);
  padding: 0 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 2px 0 rgba(17, 38, 63, 0.03);
}

.result-back:hover {
  background: #f7faff;
}

.result-toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--secondary-text-color);
  font-size: 0.88rem;
}

.refresh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid #ced9e7;
  background: var(--surface);
  color: var(--primary-text-color);
  padding: 0 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(17, 38, 63, 0.03);
}

/* =========================================================================
   Modern Loading — Uydu takip temalı kurumsal animasyon
   ========================================================================= */
.result-loader {
  position: relative;
  padding: 2.4rem 0 1rem;
}
.kt-loader-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 2rem 2rem;
  border-radius: 24px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 55%);
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 18px 60px -20px rgba(37, 99, 235, 0.22),
    0 28px 80px -24px rgba(37, 99, 235, 0.14);
  overflow: hidden;
  text-align: center;
}
.kt-loader-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 50% 35%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 0%, transparent 75%);
  pointer-events: none;
}
.kt-loader-sky {
  position: relative;
  height: 150px;
  margin-bottom: .4rem;
}
.kt-loader-star {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 6px #60a5fa;
  animation: kt-loader-twinkle 2.4s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  opacity: 0;
}
@keyframes kt-loader-twinkle {
  0%,100% { opacity: .25; transform: scale(.7); }
  50%     { opacity: 1; transform: scale(1.2); }
}
.kt-loader-satellite {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: kt-loader-sat-float 4s ease-in-out infinite;
  z-index: 3;
}
@keyframes kt-loader-sat-float {
  0%,100% { transform: translate(-50%, 0) rotate(-3deg); }
  50%     { transform: translate(-50%, -6px) rotate(3deg); }
}
.kt-loader-sat-body {
  position: relative;
  filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.25));
}
.kt-loader-sat-body svg { display: block; }
.kt-loader-sat-beacon {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444, 0 0 14px #f87171;
  animation: kt-loader-sat-blink 1.2s ease-in-out infinite;
}
@keyframes kt-loader-sat-blink {
  0%, 40%, 100% { opacity: .35; }
  50%, 80%      { opacity: 1; }
}
.kt-loader-sat-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  margin: -40px 0 0 -40px;
  border: 2px solid rgba(59, 130, 246, 0.4);
  border-radius: 50%;
  animation: kt-loader-sat-ripple 2.2s ease-out infinite;
  pointer-events: none;
}
.kt-loader-sat-wave-2 { animation-delay: .7s; }
.kt-loader-sat-wave-3 { animation-delay: 1.4s; }
@keyframes kt-loader-sat-ripple {
  0%   { transform: scale(.5); opacity: 0; }
  20%  { opacity: .9; }
  100% { transform: scale(2.4); opacity: 0; }
}
.kt-loader-beam {
  position: absolute;
  top: 42px;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
  z-index: 2;
}
.kt-loader-beam-cone {
  transform-origin: 200px 8px;
  animation: kt-loader-beam-sweep 3.2s ease-in-out infinite;
  opacity: .85;
}
@keyframes kt-loader-beam-sweep {
  0%, 100% { transform: rotate(-6deg); opacity: .35; }
  50%      { transform: rotate(6deg); opacity: .9; }
}
.kt-loader-beam-packet {
  display: none;     /* drondan düşen mavi paket nokta — kapalı */
}
@keyframes kt-loader-packet-drop {
  0%   { offset-distance: 0%; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.kt-loader-ground {
  position: relative;
  height: 56px;
  margin: -18px auto 1.4rem;
  max-width: 480px;
}
.kt-loader-ground .kt-loader-path-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.kt-loader-path-dots { animation: kt-loader-dash 1.4s linear infinite; }
@keyframes kt-loader-dash { to { stroke-dashoffset: -28; } }
.kt-loader-path-glow {
  stroke-dasharray: 120 800;
  stroke-dashoffset: 120;
  animation: kt-loader-glow-move 2.4s cubic-bezier(.4,0,.2,1) infinite;
  filter: blur(.4px);
}
@keyframes kt-loader-glow-move {
  0%   { stroke-dashoffset: 120; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { stroke-dashoffset: -680; opacity: 0; }
}
.kt-loader-pin {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
}
.kt-loader-pin-start { left: 2px; }
.kt-loader-pin-end   { right: 2px; }
.kt-loader-pin-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.kt-loader-pin-start .kt-loader-pin-dot { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,0.14); }
.kt-loader-pin-ring {
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(37, 99, 235, 0.55);
  border-radius: 50%;
  animation: kt-loader-ring 1.8s ease-out infinite;
}
@keyframes kt-loader-ring {
  0%   { transform: scale(.85); opacity: .9; }
  100% { transform: scale(2.2); opacity: 0; }
}
.kt-loader-vehicle {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-30px, -65%);
  animation: kt-loader-drive 3.2s cubic-bezier(.55,.05,.35,.95) infinite;
  filter: drop-shadow(0 6px 10px rgba(37, 99, 235, 0.22));
}
@keyframes kt-loader-drive {
  0%   { left: 6%;  opacity: 0; transform: translate(-30px, -65%) scale(.92); }
  10%  { opacity: 1; }
  50%  { left: 50%; transform: translate(-30px, -68%) scale(1); }
  90%  { opacity: 1; }
  100% { left: 94%; opacity: 0; transform: translate(-30px, -65%) scale(.92); }
}
.kt-loader-vehicle-signal {
  /* Aracın sağ üstünde yanıp sönen yeşil canlılık göstergesi */
  position: absolute;
  top: -10px;
  left: 46px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e, 0 0 14px #4ade80;
  animation: kt-loader-vehicle-blink 1.4s ease-in-out infinite;
}

/* Arka stop lambası — kasanın sol alt köşesinde küçük dikdörtgen */
.kt-loader-vehicle::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 19px;
  width: 3px;
  height: 6px;
  border-radius: 1px;
  background: #ef4444;
  box-shadow: 0 0 4px #ef4444, 0 0 9px #f87171, 0 0 14px rgba(239, 68, 68, 0.55);
  animation: kt-loader-brake-glow 1.4s ease-in-out infinite;
}
@keyframes kt-loader-brake-glow {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}
@keyframes kt-loader-vehicle-blink {
  0%,100% { opacity: .4; transform: scale(.85); }
  50%     { opacity: 1; transform: scale(1.1); }
}

/* Aracın üstünden yayılan sinyal dalgaları (3 katman, faz farkıyla) */
.kt-loader-vehicle-wave {
  position: absolute;
  top: 6px;
  left: 14px;
  width: 8px;
  height: 8px;
  border: 1.5px solid #3b82f6;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: kt-loader-vehicle-wave 2s ease-out infinite;
}
.kt-loader-vehicle-wave-2 { animation-delay: 0.65s; }
.kt-loader-vehicle-wave-3 { animation-delay: 1.3s; }
@keyframes kt-loader-vehicle-wave {
  0%   { transform: scale(0.4); opacity: 0; }
  20%  { opacity: 0.7; }
  100% { transform: scale(3); opacity: 0; }
}
.kt-loader-glow {
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 320px;
  background: radial-gradient(ellipse at 50% 0%, rgba(37,99,235,0.18) 0%, rgba(37,99,235,0.08) 30%, rgba(37,99,235,0) 65%);
  pointer-events: none;
  animation: kt-loader-glow-pulse 3.2s ease-in-out infinite;
}
@keyframes kt-loader-glow-pulse {
  0%,100% { opacity: .75; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(6px); }
}
.kt-loader-stage {
  position: relative;
  height: 80px;
  margin: 0 auto 1.6rem;
  max-width: 420px;
}
.kt-loader-path {
  position: absolute;
  inset: 0;
}
.kt-loader-path-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.kt-loader-path-dots {
  stroke-dashoffset: 0;
  animation: kt-loader-dash 1.4s linear infinite;
}
@keyframes kt-loader-dash {
  to { stroke-dashoffset: -28; }
}
.kt-loader-path-glow {
  stroke-dasharray: 120 800;
  stroke-dashoffset: 120;
  animation: kt-loader-glow-move 2.4s cubic-bezier(.4,0,.2,1) infinite;
  filter: blur(.4px);
}
@keyframes kt-loader-glow-move {
  0% { stroke-dashoffset: 120; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { stroke-dashoffset: -680; opacity: 0; }
}
.kt-loader-pin {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
}
.kt-loader-pin-start { left: 2px; }
.kt-loader-pin-end   { right: 2px; }
.kt-loader-pin-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.kt-loader-pin-start .kt-loader-pin-dot { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,0.14); }
.kt-loader-pin-ring {
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(37, 99, 235, 0.55);
  border-radius: 50%;
  animation: kt-loader-ring 1.8s ease-out infinite;
}
@keyframes kt-loader-ring {
  0% { transform: scale(.85); opacity: .9; }
  100% { transform: scale(2.2); opacity: 0; }
}
.kt-loader-vehicle {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-28px, -70%);
  animation: kt-loader-drive 3.2s cubic-bezier(.55,.05,.35,.95) infinite;
  filter: drop-shadow(0 6px 10px rgba(37, 99, 235, 0.18));
}
@keyframes kt-loader-drive {
  0%   { left: 8%;  opacity: 0; transform: translate(-28px, -70%) scale(.92); }
  10%  { opacity: 1; }
  50%  { left: 50%; transform: translate(-28px, -74%) scale(1); }
  90%  { opacity: 1; }
  100% { left: 92%; opacity: 0; transform: translate(-28px, -70%) scale(.92); }
}
.kt-loader-brand {
  position: relative;
  margin-bottom: 0;
}
.kt-loader-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--primary-text-color);
  letter-spacing: -0.01em;
  margin: 0 0 .35rem;
}
.kt-loader-subtitle {
  font-size: .92rem;
  color: var(--secondary-text-color);
  margin: 0 0 .9rem;
}
.kt-loader-hud {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.22);
  color: #15803d;
  font-size: .78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.kt-loader-hud-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: kt-loader-hud-pulse 1.1s ease-in-out infinite;
}
@keyframes kt-loader-hud-pulse {
  0%, 100% { opacity: .4; }
  50%      { opacity: 1; }
}
html[data-theme="dark"] .kt-loader-hud {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(52, 211, 153, 0.3);
  color: #6ee7b7;
}
.kt-loader-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.4rem;
  max-width: 360px;
  display: grid;
  gap: .52rem;
  text-align: left;
}
.kt-loader-step {
  display: flex;
  align-items: center;
  gap: .72rem;
  padding: .56rem .8rem;
  border-radius: 12px;
  background: var(--surface-soft);
  color: #475569;
  font-size: .88rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  animation: kt-loader-step-in .55s ease forwards;
  animation-delay: calc(var(--d, 0) * 1s);
}
.kt-loader-step[data-step="1"] { --d: 0; }
.kt-loader-step[data-step="2"] { --d: .6; }
.kt-loader-step[data-step="3"] { --d: 1.2; }
@keyframes kt-loader-step-in {
  to { opacity: 1; transform: translateY(0); }
}
.kt-loader-step-dot {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e2e8f0;
  display: inline-grid;
  place-items: center;
  flex: 0 0 18px;
}
.kt-loader-step-spinner {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #2563eb;
  border-right-color: #2563eb;
  animation: kt-loader-spin .9s linear infinite;
  animation-delay: calc(var(--d, 0) * 1s);
}
@keyframes kt-loader-spin {
  to { transform: rotate(360deg); }
}
.kt-loader-progress {
  position: relative;
  height: 4px;
  max-width: 360px;
  margin: 0 auto;
  background: #eef2f7;
  border-radius: 99px;
  overflow: hidden;
}
.kt-loader-progress-bar {
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, rgba(37,99,235,0) 0%, #2563eb 50%, rgba(37,99,235,0) 100%);
  border-radius: 99px;
  animation: kt-loader-progress 1.6s ease-in-out infinite;
}
@keyframes kt-loader-progress {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}
html[data-theme="dark"] .kt-loader-card {
  background: var(--surface, #0f172a);
  border-color: rgba(96, 165, 250, 0.18);
}
html[data-theme="dark"] .kt-loader-title { color: #e2e8f0; }
html[data-theme="dark"] .kt-loader-subtitle { color: #94a3b8; }
html[data-theme="dark"] .kt-loader-step { background: rgba(148, 163, 184, 0.08); color: #cbd5e1; }
html[data-theme="dark"] .kt-loader-step-dot { background: rgba(148, 163, 184, 0.18); }
html[data-theme="dark"] .kt-loader-progress { background: rgba(148, 163, 184, 0.14); }
html[data-theme="dark"] .kt-loader-brand-logo { background: rgba(96, 165, 250, 0.12); }

@media (max-width: 640px) {
  .kt-loader-card { padding: 1.4rem 1rem 1.4rem; border-radius: 20px; }
  .kt-loader-sky { height: 130px; }
  .kt-loader-satellite { transform: translateX(-50%) scale(.85); }
  .kt-loader-ground { height: 48px; max-width: 320px; margin-top: -14px; }
  .kt-loader-title { font-size: 1.04rem; }
  .kt-loader-subtitle { font-size: .82rem; }
}

.notify-btn[hidden] { display: none !important; }
.notify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid #ced9e7;
  background: var(--surface);
  color: var(--primary-text-color);
  padding: 0 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(17, 38, 63, 0.03);
  transition: background .15s ease, border-color .15s ease;
}
.notify-btn:hover {
  background: #f0f6ff;
  border-color: #b7cbec;
}
.notify-btn .notify-btn-icon-bell {
  transform-origin: 50% 10%;
  animation: notify-bell-idle 5s ease-in-out infinite;
}
.notify-btn .notify-btn-icon-check { display: none; }
.notify-btn[data-state="subscribed"] {
  color: #047857;
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.notify-btn[data-state="subscribed"]:hover {
  background: #dcfce7;
  border-color: #86efac;
}
.notify-btn[data-state="subscribed"] .notify-btn-icon-bell { display: none; animation: none; }
.notify-btn[data-state="subscribed"] .notify-btn-icon-check { display: inline-block; }
.notify-btn[data-state="loading"] { opacity: .7; cursor: wait; }
.notify-btn[data-state="loading"] .notify-btn-icon-bell { animation: none; }
@keyframes notify-bell-idle {
  0%, 84%, 100% { transform: rotate(0); }
  86% { transform: rotate(-14deg); }
  88% { transform: rotate(12deg); }
  90% { transform: rotate(-10deg); }
  92% { transform: rotate(8deg); }
  94% { transform: rotate(-4deg); }
  96% { transform: rotate(2deg); }
}
html[data-theme="dark"] .notify-btn {
  background: var(--surface, #1a2233);
  border-color: rgba(148,163,184,.22);
  color: #93c5fd;
}
html[data-theme="dark"] .notify-btn:hover {
  background: rgba(59,130,246,.12);
  border-color: rgba(96,165,250,.35);
}
html[data-theme="dark"] .notify-btn[data-state="subscribed"] {
  background: rgba(16,185,129,.12);
  border-color: rgba(52,211,153,.3);
  color: #6ee7b7;
}
@media (max-width: 640px) {
  .notify-btn { padding: 0 .7rem; font-size: .82rem; min-height: 36px; }
  .notify-btn .notify-btn-label { display: none; }
  .notify-btn::after { content: 'Bildir'; font-weight: 600; }
  .notify-btn[data-state="subscribed"]::after { content: 'Açık'; }
}

.refresh-btn:hover {
  background: #f7faff;
}

.refresh-btn.is-loading .icon {
  animation: spin 0.9s linear infinite;
}

.refresh-btn.is-cooldown {
  background: #f1f3f4;
  color: #94a3b8;
  border-color: #e3e6ea;
  cursor: not-allowed;
  box-shadow: none;
}
.refresh-btn.is-cooldown:hover {
  background: #f1f3f4;
}
.refresh-btn.is-cooldown .icon {
  color: #b8c2cc;
  opacity: 0.7;
}

html[data-theme="dark"] .refresh-btn.is-cooldown {
  background: var(--surface-soft);
  color: var(--muted);
  border-color: var(--line);
}
html[data-theme="dark"] .refresh-btn.is-cooldown:hover {
  background: var(--surface-soft);
}

.result-skeleton {
  margin-top: 0.5rem;
}

.skeleton-pill,
.skeleton-card {
  background: linear-gradient(90deg, #e9edf3 0%, #dfe5ee 50%, #e9edf3 100%);
  background-size: 220% 100%;
  animation: shimmer 1.25s ease-in-out infinite;
  border-radius: 18px;
}

.skeleton-pill {
  width: 130px;
  height: 36px;
  margin-bottom: 0.95rem;
}

.skeleton-hero-loading {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--surface-soft);
  animation: none;
}

.skeleton-truck-stage {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 90px;
  overflow: hidden;
}

.skeleton-truck-road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 2px;
  background-image: linear-gradient(90deg, #cbd5e1 50%, transparent 50%);
  background-size: 14px 2px;
  animation: skeleton-road-move 0.6s linear infinite;
}

.skeleton-truck {
  position: absolute;
  left: 0;
  bottom: 14px;
  animation: skeleton-truck-drive 3.2s ease-in-out infinite;
}

.skeleton-truck svg {
  display: block;
  animation: skeleton-truck-bounce 0.35s ease-in-out infinite alternate;
}

.skeleton-truck-puff {
  position: absolute;
  left: -14px;
  bottom: 18px;
  display: flex;
  gap: 3px;
}

.skeleton-truck-puff span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e2e8f0;
  opacity: 0;
  animation: skeleton-puff 1.2s ease-out infinite;
}

.skeleton-truck-puff span:nth-child(2) { animation-delay: 0.3s; }
.skeleton-truck-puff span:nth-child(3) { animation-delay: 0.6s; }

@keyframes skeleton-road-move {
  0% { background-position: 0 0; }
  100% { background-position: -14px 0; }
}

@keyframes skeleton-truck-drive {
  0% { left: -20%; }
  50% { left: 55%; }
  100% { left: 110%; }
}

@keyframes skeleton-truck-bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-1.5px); }
}

@keyframes skeleton-puff {
  0% { opacity: 0; transform: translate(0, 0) scale(0.6); }
  40% { opacity: 0.8; }
  100% { opacity: 0; transform: translate(-14px, -8px) scale(1.2); }
}

.skeleton-loading-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  max-width: 480px;
  text-align: center;
}

.skeleton-loading-spinner {
  width: 56px;
  height: 56px;
  position: relative;
}

.skeleton-loading-spinner span {
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-top-color: #2f7de1;
  border-radius: 50%;
  animation: skeleton-spinner-rotate 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.skeleton-loading-spinner span:nth-child(2) {
  border-top-color: #5aa0ff;
  animation-delay: 0.15s;
  inset: 6px;
}

.skeleton-loading-spinner span:nth-child(3) {
  border-top-color: #93c0ff;
  animation-delay: 0.3s;
  inset: 12px;
}

@keyframes skeleton-spinner-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.skeleton-loading-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-text-color);
  letter-spacing: 0.01em;
}

.skeleton-loading-steps {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  max-width: 320px;
}

.skeleton-loading-steps li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--secondary-text-color);
  opacity: 0.35;
  animation: sl-step-fade 3s ease-in-out infinite;
}

.skeleton-loading-steps li[data-step="1"] { animation-delay: 0s; }
.skeleton-loading-steps li[data-step="2"] { animation-delay: 1s; }
.skeleton-loading-steps li[data-step="3"] { animation-delay: 2s; }

.sl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f7de1;
  flex: 0 0 auto;
  box-shadow: 0 0 0 0 rgba(47, 125, 225, 0.5);
  animation: sl-dot-pulse 1.4s ease-out infinite;
}

@keyframes sl-step-fade {
  0%, 100% { opacity: 0.35; }
  20%, 50% { opacity: 1; color: #1e293b; }
}

@keyframes sl-dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 125, 225, 0.5); }
  100% { box-shadow: 0 0 0 8px rgba(47, 125, 225, 0); }
}

.skeleton-loading-hint {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: #94a3b8;
}


.skeleton-hero {
  min-height: 308px;
  margin-bottom: 0.95rem;
  border-radius: 24px;
}

.skeleton-grid {
  display: grid;
  gap: 0.9rem;
}

.skeleton-col {
  display: grid;
  gap: 0.9rem;
}

.skeleton-main {
  min-height: 500px;
}

.skeleton-side-top {
  min-height: 360px;
}

.skeleton-side-bottom {
  min-height: 130px;
}

@media (min-width: 1080px) {
  .skeleton-grid {
    grid-template-columns: 2fr 1fr;
  }
}

@media (max-width: 1079px) {
  .skeleton-hero {
    min-height: 340px;
  }

  .skeleton-main {
    min-height: 420px;
  }

  .skeleton-side-top {
    min-height: 240px;
  }
}

@media (max-width: 780px) {
  .skeleton-pill {
    width: 110px;
    height: 34px;
  }

  .skeleton-hero {
    min-height: 300px;
    border-radius: 20px;
  }

  .skeleton-main {
    min-height: 360px;
  }

  .skeleton-side-top,
  .skeleton-side-bottom {
    min-height: 130px;
  }
}

.result-empty {
  margin-top: 0.6rem;
  border: 1px dashed #c9d8ea;
  border-radius: 16px;
  background: #f7faff;
  padding: 1.15rem;
  color: #59708c;
}

.result-empty p {
  margin: 0 0 0.65rem;
}

.result-empty-form {
  margin-top: 0.4rem;
}

.result-error-state {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.9rem;
}

.result-error-card {
  background: var(--surface);
  border: 1px solid #d9e4f0;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(16, 35, 58, 0.07);
}

.result-error-top {
  padding: 1.05rem 1.15rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.result-error-left {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  flex: 1 1 520px;
  min-width: 0;
}

.result-error-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff2f2;
  border: 1px solid #f5cbcb;
  color: #cd4040;
  display: inline-grid;
  place-items: center;
  flex: 0 0 58px;
}

.result-error-copy {
  min-width: 0;
}

.result-error-copy h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

#result-error-number {
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--heading-color);
}

.result-error-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 0.7rem;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #cc3838;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.result-error-title {
  margin: 0.52rem 0 0.15rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: #13263f;
}

.result-error-message {
  margin: 0;
  color: #5f7894;
  font-size: 0.92rem;
  line-height: 1.55;
}

.result-error-right {
  flex: 1 1 340px;
  max-width: 430px;
  width: 100%;
}

.result-error-label {
  margin: 0 0 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #3c5d80;
  font-size: 0.85rem;
  font-weight: 600;
}

.result-error-form {
  display: flex;
  width: 100%;
}

.result-error-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid #d3dfec;
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: #f9fcff;
  color: #1a3150;
  min-height: 44px;
  padding: 0 0.8rem;
  font: inherit;
}

.result-error-form input:focus {
  outline: none;
  border-color: #4d95df;
  box-shadow: 0 0 0 4px rgba(77, 149, 223, 0.14);
}

.result-error-form button {
  border: 0;
  border-radius: 0 12px 12px 0;
  margin-left: -1px;
  min-height: 44px;
  padding: 0 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #2f7de1, #1f62be);
  cursor: pointer;
}

.result-error-form button:hover {
  filter: brightness(1.02);
}

.result-error-ad {
  padding: 1rem 1.15rem;
}

.result-error-ad-placeholder {
  border: 2px dashed #c6d7ea;
  border-radius: 14px;
  background: #eef4fb;
  color: #5d7692;
  min-height: 120px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.85rem;
}

.result-error-help {
  padding: 1rem 1.15rem;
}

.result-error-help-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 0.82rem;
  padding-bottom: 0.82rem;
  border-bottom: 1px solid #e4ecf5;
}

.result-error-help-head h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--heading-color);
}

.result-error-help-head a {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1f67ca;
}

.result-error-help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.result-error-help-item {
  background: var(--surface-soft);
  border: 1px solid #dce7f3;
  border-radius: 14px;
  padding: 0.78rem;
  display: flex;
  align-items: flex-start;
  gap: 0.62rem;
}

.result-error-help-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid #d8e4f1;
  color: #3d6e9f;
  display: inline-grid;
  place-items: center;
  flex: 0 0 36px;
}

.result-error-help-item h4 {
  margin: 0 0 0.24rem;
  font-size: 0.9rem;
  line-height: 1.35;
  color: #11243d;
}

.result-error-help-item p {
  margin: 0;
  color: #5f7894;
  font-size: 0.86rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .result-error-top {
    padding: 0.95rem 0.95rem;
  }

  .result-error-left,
  .result-error-right {
    flex-basis: 100%;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .result-error-form {
    flex-direction: column;
    gap: 0.55rem;
  }

  .result-error-form input {
    border-right: 1px solid #d3dfec;
    border-radius: 12px;
  }

  .result-error-form button {
    margin-left: 0;
    border-radius: 12px;
    width: 100%;
  }

  .result-error-help-grid {
    grid-template-columns: 1fr;
  }

  .result-error-icon-wrap {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }
}

.result-modern {
  margin-top: 0.55rem;
}

.shipment-overview {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid #d7dde8;
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(16, 35, 58, 0.08);
  padding: 0;
}

.hero-status-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: #9ca8ba;
}

.hero-pending {
  background: #9ca8ba;
}

.hero-intransit {
  background: #2f7de1;
}

.hero-outfordelivery {
  /* Amber — "teslim edilmek üzere", pozitif ama henüz teslim değil.
     Amazon/FedEx'in "Out for Delivery" renk standardı. */
  background: #f59e0b;
}

.hero-delivered {
  background: #2c9a58;
}

.hero-exception {
  background: #ce5353;
}

.shipment-overview.status-pending {
  background: var(--surface-soft);
}

.shipment-overview.status-intransit {
  background: var(--surface-soft);
}

.shipment-overview.status-outfordelivery {
  background: #fffbf2;
}

.shipment-overview.status-delivered {
  background: #f7fcf8;
}

.shipment-overview.status-exception {
  background: #fff8f8;
}

.hero-frame {
  padding: 1.2rem 1.35rem 1rem;
}

.shipment-overview-top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 0.9rem 1rem;
}

.hero-status-block {
  min-width: 0;
}

.hero-meta-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.74rem;
  font-weight: 700;
  color: #8a9ab1;
}

.hero-status-main {
  margin: 0.35rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.66rem;
}

.hero-status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f67c1b;
  flex: 0 0 11px;
}

.hero-status-value {
  font-size: clamp(1.05rem, 1.8vw, 1.72rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--primary-text-color);
  letter-spacing: -0.01em;
}

.hero-status-value.is-onroute {
  color: #1459aa;
}

.hero-status-value.is-outfordelivery {
  color: #b45309; /* Amber-700, teslim edilmek üzere */
}

.hero-status-value.is-delivered {
  color: #0f8d4e;
}

.hero-status-value.is-exception {
  color: #ba2f2f;
}

.shipment-overview.status-pending .hero-status-dot {
  background: #f67c1b;
}

.shipment-overview.status-intransit .hero-status-dot {
  background: #289f6e;
}

.shipment-overview.status-outfordelivery .hero-status-dot {
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

.shipment-overview.status-delivered .hero-status-dot {
  background: #1faa6b;
}

.shipment-overview.status-exception .hero-status-dot {
  background: #ce5353;
}

.hero-tracking-row {
  margin: 0.5rem 0 0;
  color: #75869c;
  font-size: 0.84rem;
}

.hero-tracking-row strong {
  color: var(--primary-text-color);
  font-weight: 700;
  margin-left: 0.22rem;
  letter-spacing: 0.03em;
}

.eta-box {
  min-width: 170px;
  text-align: right;
  background: transparent;
  border: 0;
  padding: 0;
}

.eta-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.74rem;
  font-weight: 700;
  color: #8a9ab1;
}

.eta-box strong {
  display: block;
  font-size: clamp(1.4rem, 2.7vw, 1.95rem);
  letter-spacing: -0.02em;
  color: var(--primary-text-color);
  line-height: 1.05;
  margin: 0.22rem 0 0.08rem;
}

.eta-box span {
  color: #7b8da4;
  font-size: 0.94rem;
}

.hero-middle-grid {
  margin-top: 1rem;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(420px, 1.6fr);
}

.route-panel {
  padding: 1rem 1.1rem 0.7rem 0;
  border-right: 1px solid var(--line-soft);
}

.route-grid {
  margin-top: 0.82rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(48px, auto) minmax(0, 1fr);
  column-gap: 1rem;
  row-gap: 0.5rem;
  align-items: center;
  position: relative;
}

.route-stop {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.route-stop-destination {
  text-align: right;
}

.route-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--secondary-text-color);
}

.route-stop-destination .route-kicker {
  color: #f67c1b;
}

.route-stop strong {
  font-size: clamp(0.88rem, 1.1vw, 1.15rem);
  line-height: 1.25;
  color: var(--primary-text-color);
  letter-spacing: -0.01em;
  word-break: normal;
  overflow-wrap: anywhere;
  font-weight: 700;
  display: block;
}

/* Hero güzergâh label'ının yanına animasyonlu ok — eski merkez ok buraya taşındı */
.hero-route-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
/* Hero route ok+yol — overflow:hidden viewport içinde transform translateX
   ile kayan dash pattern (GPU accelerated, smooth, no jitter). */
.hero-route-arrow {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 18px;
  color: #94a3b8;
  overflow: hidden;
}
.hero-route-arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -16px;          /* sol kenardan taşır (animasyon seamless için) */
  right: 22px;          /* svg için 18 + 4 boşluk */
  height: 2px;
  margin-top: -1px;
  background: repeating-linear-gradient(
    to right,
    #94a3b8 0 4px,
    transparent 4px 8px
  );
  animation: hero-route-flow 0.8s linear infinite;
  will-change: transform;
}
.hero-route-arrow svg {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  z-index: 2;
}
@keyframes hero-route-flow {
  from { transform: translateX(0); }
  to   { transform: translateX(8px); }     /* pattern unit (8px) → seamless loop */
}

/* Route arrow yerine artık mesafe rozeti — pill şekli */
.route-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: stretch;
  width: 100%;
  height: 32px;
}
.route-distance-badge {
  padding: 4px 12px;
  background: var(--surface);
  border: 1.5px solid #10b981;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #047857;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.route-distance-badge:empty::before { content: '—'; opacity: 0.3; }

@keyframes route-road-flow {
  0% { background-position: 0 0; }
  100% { background-position: -6px 0; }
}

.progress-panel {
  padding: 1rem 0 0.3rem 1.1rem;
}

.progress-wrap {
  --progress-complete-width: 0px;
  --progress-active-width: 0px;
  margin-top: 0.82rem;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.25rem;
}

.progress-line {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 11px;
  height: 2px;
  background: #dbe3ef;
}

.progress-line::before,
.progress-line::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
}

.progress-line::before {
  left: 0;
  width: var(--progress-complete-width);
  background: #22ae79;
  transition: width 0.2s ease;
}

.progress-line::after {
  left: var(--progress-complete-width);
  width: var(--progress-active-width);
  background: #22ae79;
  transition: left 0.2s ease, width 0.2s ease;
}

.progress-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  z-index: 1;
}

.progress-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 2px solid #cfd7e5;
  color: transparent;
  font-weight: 700;
  position: relative;
}

.progress-step small {
  color: #c1ccd9;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
}

.progress-step.is-complete .progress-circle {
  border-color: #22ae79;
  background: #22ae79;
}

.progress-step.is-complete .progress-circle::after {
  content: "âœ“";
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

.progress-step.is-complete small {
  color: var(--success, #1fb876);
}

.progress-step.is-active .progress-circle {
  border-color: #22ae79;
  box-shadow: inset 0 0 0 3px #fff;
  animation: progress-active-pulse 1.8s ease-in-out infinite;
}

.progress-step.is-active .progress-circle::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22ae79;
}

.progress-step.is-active small {
  color: var(--success, #1fb876);
}

/* is-failed kuralları DOSYANIN EN SONUNA taşındı — daha aşağıda
   `is-complete::after` ve `is-active::after` yeniden tanımlanıyordu ve
   specificity eşit olduğu için sıra önemli. Kuralları sona koymak garanti. */

@keyframes progress-active-pulse {
  0%,
  100% {
    background: var(--surface);
    box-shadow:
      inset 0 0 0 3px #fff,
      0 0 0 0 rgba(34, 174, 121, 0.25);
  }
  50% {
    background: #ecfbf3;
    box-shadow:
      inset 0 0 0 3px #fff,
      0 0 0 9px rgba(34, 174, 121, 0.16);
  }
}

.hero-updated-row {
  margin: 1rem 0 0;
  padding-top: 0.95rem;
  border-top: 1px solid #e2e7f0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #8a9ab1;
  font-size: 0.92rem;
}

.hero-updated-row time {
  color: #243752;
  font-weight: 700;
}

.updated-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: #b0bccc;
}

/* Eski lower-grid (geriye uyumluluk — başka sayfalarda hâlâ kullanılıyor olabilir) */
.result-lower-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.95rem;
}
@media (min-width: 1080px) {
  .result-lower-grid {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

/* ── Yeni optimize layout: Movement (sol) + Harita (sağ) yan yana ──
   Dikey alan minimize, AdSense ve info kartları daha yukarıda kalır. */
.result-map-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
}
@media (min-width: 960px) {
  .result-map-grid {
    /* Timeline daha dar (okuma kolonu), harita daha geniş (rota görselleştirmesi) */
    grid-template-columns: minmax(300px, 1fr) minmax(420px, 1.4fr);
    align-items: stretch;
  }
  .result-map-grid .movements-card {
    max-height: 480px;
    display: flex;
    flex-direction: column;
  }
  .result-map-grid .movements-card .movement-list {
    overflow-y: auto;
    flex: 1;
  }
}

/* Info kartları alt satırda horizontal grid */
.result-info-grid {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
}
@media (min-width: 720px) {
  .result-info-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .result-info-grid .info-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.82rem;
  }
}
@media (min-width: 1080px) {
  .result-info-grid {
    /* Gönderi bilgileri + Son aradıklarınız 2 kolon yan yana — tek info-column aside içinde */
    grid-template-columns: 1fr;
  }
  .result-info-grid .info-column {
    grid-template-columns: 1fr 1fr;
    gap: 0.95rem;
  }
}

.movements-card,
.shipment-info-card,
.shipment-note-card {
  background: var(--surface);
  border: 1px solid #d8e3f0;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(16, 35, 58, 0.05);
}

.movements-card {
  overflow: hidden;
}

.card-head {
  padding: 1rem 1.1rem 0.82rem;
  border-bottom: 1px solid var(--line);
}

.card-head h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.card-head p {
  margin: 0.34rem 0 0;
  color: var(--secondary-text-color);
  font-size: 0.9rem;
}

.movement-list {
  --movement-line-x: 24px;
  list-style: none;
  margin: 0;
  padding: 1rem 1.1rem;
}

.movement-item {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.72rem;
  align-items: start;
  padding: 0.62rem 0 0.78rem;
}

.movement-item.is-latest {
  border-radius: 12px;
}

.movement-item::before {
  content: "";
  position: absolute;
  left: var(--movement-line-x);
  top: 42px;
  bottom: -12px;
  width: 2px;
  background: #dce5f1;
}

.movement-item.is-last::before,
.movement-item.is-empty::before {
  display: none;
}

.move-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid #d3deec;
  display: grid;
  place-items: center;
  color: #6a849f;
  background: #f5f9ff;
  margin-left: 4px;
  position: relative;
  z-index: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.move-icon-svg {
  width: 18px;
  height: 18px;
}

.move-icon--neutral {
  border-color: #d3deec;
  background: #f5f9ff;
  color: #6a849f;
}

.move-icon--accepted {
  border-color: #b6d7ef;
  background: #edf7ff;
  color: #2f7de1;
}

.move-icon--transfer {
  border-color: #b8d6ea;
  background: #eef7ff;
  color: #2c7ab7;
}

.move-icon--branch {
  border-color: #bfd2e8;
  background: #f0f6fd;
  color: #46698f;
}

.move-icon--delivery {
  border-color: #ffd4b3;
  background: #fff3e9;
  color: #f47d1f;
}

.move-icon--delivered {
  border-color: #bde8d1;
  background: #ecfbf3;
  color: #1fa667;
}

.move-icon--exception {
  border-color: #f2c2c2;
  background: #fff1f1;
  color: #c53b3b;
}

.movement-item.is-latest .move-icon {
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(47, 125, 225, 0.12);
  animation: latest-move-icon-pulse 1.85s ease-in-out infinite;
}

@keyframes latest-move-icon-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 3px rgba(47, 125, 225, 0.14),
      0 0 0 0 rgba(47, 125, 225, 0.2);
  }
  50% {
    box-shadow:
      0 0 0 3px rgba(47, 125, 225, 0.2),
      0 0 0 8px rgba(47, 125, 225, 0.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .movement-item.is-latest .move-icon,
  .progress-step.is-active .progress-circle {
    animation: none;
  }
}

.move-main {
  min-width: 0;
}

.move-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary-text-color);
}

.move-loc,
.move-desc {
  margin: 0.1rem 0 0;
  color: var(--secondary-text-color);
  font-size: 0.86rem;
}

.move-time {
  color: var(--secondary-text-color);
  font-size: 0.82rem;
  white-space: nowrap;
}

.info-column {
  display: grid;
  gap: 0.82rem;
}

.shipment-info-card {
  padding: 1rem;
}

.shipment-recent-card {
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.shipment-recent-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.72rem;
}
.shipment-recent-card-head h2 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.2;
}
.shipment-recent-clear {
  background: transparent;
  border: 0;
  font: inherit;
  color: var(--secondary-text-color);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}
.shipment-recent-clear:hover,
.shipment-recent-clear:focus-visible {
  color: var(--primary);
  background: var(--surface-soft);
}
.shipment-recent-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}
.shipment-recent-item { margin: 0; }
.shipment-recent-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.1rem 0.6rem;
  padding: 0.6rem 0.72rem;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  text-decoration: none;
  color: var(--primary-text-color);
  background: var(--surface-soft);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.shipment-recent-link:hover,
.shipment-recent-link:focus-visible {
  background: var(--surface);
  border-color: var(--primary);
}
.shipment-recent-carrier {
  grid-column: 1;
  grid-row: 1;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: capitalize;
  color: var(--secondary-text-color);
}
.shipment-recent-no {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary-text-color);
  letter-spacing: 0.04em;
}
.shipment-recent-stage {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--line-soft);
  color: var(--secondary-text-color);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}
.shipment-recent-stage-5 { background: rgba(22, 163, 74, 0.14); color: #16a34a; }
.shipment-recent-stage-4 { background: rgba(37, 99, 235, 0.14); color: #2563eb; }
.shipment-recent-stage-3 { background: rgba(234, 179, 8, 0.16); color: #b45309; }
.shipment-recent-stage-2 { background: rgba(99, 102, 241, 0.14); color: #6366f1; }
.shipment-recent-stage-1 { background: rgba(100, 116, 139, 0.14); color: #475569; }
.shipment-recent-note {
  margin: 0.8rem 0 0;
  font-size: 0.72rem;
  color: var(--muted-text-color, #6b7280);
}

/* =========================================================================
   Harita kartı (result page) — Leaflet canvas + overlay status card
   ========================================================================= */
.result-map-card {
  position: relative;
  margin: 0;           /* grid içinde yan yana; dıştaki grid gap hallediyor */
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  display: flex;        /* canvas flex ile full-height */
  flex-direction: column;
}
.result-map-canvas {
  width: 100%;
  height: 380px;        /* fallback standalone mode */
  flex: 1;              /* grid içinde movements-card yüksekliğine göre esne */
  min-height: 280px;
  background: var(--surface-soft);
}
.result-map-card[hidden] { display: none; }

/* Desktop grid içindeyken harita, movement-card ile eşitlensin */
@media (min-width: 960px) {
  .result-map-grid .result-map-card {
    height: 480px;
  }
  .result-map-grid .result-map-canvas {
    height: auto;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Full-width Map Hero Card — detaylı modern glassmorphism
   3 bölüm: brand + status (üst), route (orta), stages (alt)
   ═══════════════════════════════════════════════════════════════ */
.result-map-hero {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 401;
  padding: 12px 16px 13px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.06),
    0 12px 40px -8px rgba(15, 23, 42, 0.18);
  display: grid;
  gap: 10px;
  pointer-events: auto;
  color: var(--primary-text-color, #0f172a);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.result-map-hero[hidden] { display: none; }

/* ── Head row: carrier brand (left) + status (right) ──────────── */
.result-map-hero-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.result-map-hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.result-map-hero-brand-logo {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
  place-items: center;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.result-map-hero-brand-logo svg { width: 22px; height: 22px; }
.result-map-hero-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.result-map-hero-brand-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary-text-color);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.result-map-hero-brand-tracking {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.7rem;
  color: var(--secondary-text-color);
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.result-map-hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 5px 11px;
  background: var(--status-bg, rgba(37, 99, 235, 0.1));
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
}
.result-map-hero-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-color, #2563eb);
  box-shadow: 0 0 0 3px var(--status-bg, rgba(37, 99, 235, 0.15));
  flex-shrink: 0;
}
.result-map-hero-status-label {
  color: var(--status-color, #2563eb);
  white-space: nowrap;
  font-weight: 700;
}
.result-map-hero-time {
  color: var(--secondary-text-color);
  font-size: 0.7rem;
  font-weight: 500;
  padding-left: 8px;
  border-left: 1px solid var(--line-soft);
  white-space: nowrap;
}
.result-map-hero-time:empty { display: none; }
.result-map-hero-time:empty + * { display: none; }

/* ── Route row: Origin → distance → Destination ───────────────── */
.result-map-hero-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.result-map-hero-stop {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.result-map-hero-stop.is-destination {
  text-align: right;
  align-items: flex-end;
}
.result-map-hero-stop-label {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--secondary-text-color);
}
.result-map-hero-stop-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-text-color);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.result-map-hero-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 100px;
}
.result-map-hero-line-dash {
  flex: 1;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--status-color, #2563eb) 20%,
    var(--status-color, #2563eb) 80%,
    transparent 100%
  );
  opacity: 0.4;
  border-radius: 2px;
  background-size: 8px 2px;
  background-image: repeating-linear-gradient(
    to right,
    var(--status-color, #2563eb) 0 4px,
    transparent 4px 8px
  );
  background-repeat: repeat-x;
  background-size: 8px 2px;
  background-position: center;
}
.result-map-hero-line-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  background: #ffffff;
  border: 1px solid var(--status-color, #2563eb);
  border-radius: 99px;
  color: var(--status-color, #2563eb);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.result-map-hero-line-badge:empty { display: none; }

/* ── Stages row: 5 dot progress ───────────────────────────────── */
.result-map-hero-stages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  align-items: start;
}
.result-map-hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}
.result-map-hero-stage i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line, #e2e8f0);
  display: block;
  position: relative;
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease;
}
.result-map-hero-stage em {
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--secondary-text-color);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
/* Stage ayırıcı çizgisi (dot'ların arkasından geçer) */
.result-map-hero-stage:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--line, #e2e8f0);
  z-index: 1;
}
/* Tamamlanan aşamalar */
.result-map-hero-stages[data-step="1"] .result-map-hero-stage[data-step="1"] i,
.result-map-hero-stages[data-step="2"] .result-map-hero-stage[data-step="1"] i,
.result-map-hero-stages[data-step="2"] .result-map-hero-stage[data-step="2"] i,
.result-map-hero-stages[data-step="3"] .result-map-hero-stage[data-step="1"] i,
.result-map-hero-stages[data-step="3"] .result-map-hero-stage[data-step="2"] i,
.result-map-hero-stages[data-step="3"] .result-map-hero-stage[data-step="3"] i,
.result-map-hero-stages[data-step="4"] .result-map-hero-stage[data-step="1"] i,
.result-map-hero-stages[data-step="4"] .result-map-hero-stage[data-step="2"] i,
.result-map-hero-stages[data-step="4"] .result-map-hero-stage[data-step="3"] i,
.result-map-hero-stages[data-step="4"] .result-map-hero-stage[data-step="4"] i,
.result-map-hero-stages[data-step="5"] .result-map-hero-stage i {
  background: var(--status-color, #2563eb);
  transform: scale(1.2);
}
.result-map-hero-stages[data-step="1"] .result-map-hero-stage[data-step="1"] em,
.result-map-hero-stages[data-step="2"] .result-map-hero-stage[data-step="1"] em,
.result-map-hero-stages[data-step="2"] .result-map-hero-stage[data-step="2"] em,
.result-map-hero-stages[data-step="3"] .result-map-hero-stage[data-step="1"] em,
.result-map-hero-stages[data-step="3"] .result-map-hero-stage[data-step="2"] em,
.result-map-hero-stages[data-step="3"] .result-map-hero-stage[data-step="3"] em,
.result-map-hero-stages[data-step="4"] .result-map-hero-stage[data-step="1"] em,
.result-map-hero-stages[data-step="4"] .result-map-hero-stage[data-step="2"] em,
.result-map-hero-stages[data-step="4"] .result-map-hero-stage[data-step="3"] em,
.result-map-hero-stages[data-step="4"] .result-map-hero-stage[data-step="4"] em,
.result-map-hero-stages[data-step="5"] .result-map-hero-stage em {
  color: var(--primary-text-color);
  font-weight: 700;
}
/* Aktif aşamada pulse */
.result-map-hero-stages[data-step="1"] .result-map-hero-stage[data-step="1"] i,
.result-map-hero-stages[data-step="2"] .result-map-hero-stage[data-step="2"] i,
.result-map-hero-stages[data-step="3"] .result-map-hero-stage[data-step="3"] i,
.result-map-hero-stages[data-step="4"] .result-map-hero-stage[data-step="4"] i {
  box-shadow: 0 0 0 4px var(--status-bg, rgba(37, 99, 235, 0.2));
}

/* Theme variants (via JS → data-theme on .result-map-hero) */
.result-map-hero[data-theme="delivered"] {
  --status-color: #10b981;
  --status-bg: rgba(16, 185, 129, 0.15);
}
.result-map-hero[data-theme="outfordelivery"] {
  --status-color: #f59e0b;
  --status-bg: rgba(245, 158, 11, 0.15);
}
.result-map-hero[data-theme="intransit"],
.result-map-hero[data-theme="pending"] {
  --status-color: #2563eb;
  --status-bg: rgba(37, 99, 235, 0.12);
}
.result-map-hero[data-theme="exception"] {
  --status-color: #dc2626;
  --status-bg: rgba(220, 38, 38, 0.15);
}

/* Dark mode */
html[data-theme="dark"] .result-map-hero {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(148, 163, 184, 0.18);
  color: var(--primary-text-color);
}
html[data-theme="dark"] .result-map-hero-brand-logo {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(148, 163, 184, 0.2);
}
html[data-theme="dark"] .result-map-hero-route {
  border-top-color: rgba(148, 163, 184, 0.15);
  border-bottom-color: rgba(148, 163, 184, 0.15);
}
html[data-theme="dark"] .result-map-hero-line-badge {
  background: var(--surface);
}
html[data-theme="dark"] .result-map-hero-stage i {
  background: rgba(148, 163, 184, 0.3);
}
html[data-theme="dark"] .result-map-hero-stage:not(:last-child)::after {
  background: rgba(148, 163, 184, 0.2);
}

/* Mobile — stages küçülür, stop name daha da kırpılır */
@media (max-width: 720px) {
  .result-map-hero {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 10px 12px;
    gap: 8px;
  }
  .result-map-hero-head { gap: 8px; }
  .result-map-hero-brand-logo { width: 32px; height: 32px; }
  .result-map-hero-brand-name { font-size: 0.8rem; }
  .result-map-hero-brand-tracking { font-size: 0.66rem; }
  .result-map-hero-status { padding: 4px 9px; font-size: 0.72rem; }
  .result-map-hero-time { display: none; }
  .result-map-hero-stop-name { font-size: 0.78rem; }
  .result-map-hero-stage em { font-size: 0.58rem; }
  .result-map-hero-line { min-width: 60px; }
  .result-map-hero-line-badge { font-size: 0.64rem; padding: 2px 6px; }
}
@media (max-width: 480px) {
  .result-map-hero-stage em { display: none; }
  .result-map-hero-stages { gap: 2px; }
}

/* ──── Profesyonel rota pin'leri (Leaflet DivIcon içine) ──────── */
.kt-marker {
  background: transparent !important;
  border: 0 !important;
}
.kt-pin {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  opacity: 1;
  transform: scale(1);
  transform-origin: center;
}
/* Animasyon pre-state — JS tetikleyene kadar görünmez bekle */
.kt-pin-prelaunch {
  opacity: 0;
  transform: scale(0.3);
  transition: none;
}
/* Animasyon tetik — Leaflet wrapper transform'u etkilenmez, sadece iç pin */
.kt-pin-enter {
  animation: ktPinEnter 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes ktPinEnter {
  0%   { opacity: 0; transform: scale(0.3); }
  60%  { opacity: 1; transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1); }
}

/* Çıkış pin — koyu dolgu daire + yumuşak dış halka + beyaz kontur */
.kt-pin-origin {
  width: 28px;
  height: 28px;
}
.kt-pin-origin .kt-pin-dot {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0f172a;
  box-shadow:
    0 0 0 3px #ffffff,
    0 2px 6px rgba(15, 23, 42, 0.35);
  z-index: 2;
}
.kt-pin-origin .kt-pin-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.12);
  z-index: 1;
}

/* Hub / aktarma merkezi pin — çizgi üzerinde beyaz iç + renkli halka */
.kt-pin-hub {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.kt-pin-hub .kt-pin-hub-core {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--route-color, #2563eb);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25);
}
.kt-pin-hub.is-transfer .kt-pin-hub-core {
  border-width: 3px;
  background: var(--route-color, #2563eb);
  box-shadow:
    0 0 0 3px #ffffff,
    0 2px 6px rgba(15, 23, 42, 0.2);
}
.kt-pin-hub.is-transfer .kt-pin-hub-core::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
}

/* Varış pin — renkli daire içinde ikon */
.kt-pin-dest {
  width: 36px;
  height: 36px;
}
.kt-pin-dest .kt-pin-dest-inner {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.25), 0 0 0 3px #ffffff;
}
.kt-pin-dest.is-transit .kt-pin-dest-inner {
  background: #2563eb;
}
.kt-pin-dest.is-outfordelivery .kt-pin-dest-inner {
  background: #f59e0b;
}
.kt-pin-dest.is-delivered .kt-pin-dest-inner {
  background: #10b981;
}
.kt-pin-dest .kt-pin-dest-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: currentColor;
  color: #2563eb;
  opacity: 0.35;
  animation: ktPinPulse 1.8s ease-out infinite;
  z-index: 1;
}
.kt-pin-dest.is-outfordelivery .kt-pin-dest-pulse { color: #f59e0b; }
@keyframes ktPinPulse {
  0%   { transform: scale(0.8); opacity: 0.45; }
  75%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ──── Mesafe rozeti (çizginin ortasında) ──────────────────────── */
.kt-distance-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  background: #ffffff;
  color: var(--primary-text-color, #0f172a);
  border: 1px solid var(--route-color, #2563eb);
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: -0.01em;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
  white-space: nowrap;
  line-height: 1;
}

/* ──── Dark mode override'ları ─────────────────────────────────── */
html[data-theme="dark"] .kt-pin-origin .kt-pin-dot {
  background: #e2e8f0;
  box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.95), 0 1px 3px rgba(0, 0, 0, 0.5);
}
html[data-theme="dark"] .kt-pin-origin .kt-pin-ring {
  background: rgba(226, 232, 240, 0.14);
}
html[data-theme="dark"] .kt-pin-dest .kt-pin-dest-inner {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6), 0 0 0 3px rgba(30, 41, 59, 0.9);
}
html[data-theme="dark"] .kt-distance-badge {
  background: var(--surface);
  color: var(--primary-text-color);
  border-color: var(--route-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .kt-pin-dest .kt-pin-dest-pulse { animation: none !important; display: none !important; }
}

/* Attribution — minimal ⓘ buton, sadece haritanın olduğu sayfada.
   Apple/Airbnb/Mapbox standardı. Global footer'ı kirletmez, ToS uyumlu. */
.result-map-attribution-compact {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 402;
}
.result-map-attribution-toggle {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--secondary-text-color, #64748b);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.result-map-attribution-toggle:hover,
.result-map-attribution-toggle:focus-visible {
  color: var(--primary-text-color, #0f172a);
  background: #ffffff;
  transform: scale(1.08);
}
.result-map-attribution-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  white-space: nowrap;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  color: var(--secondary-text-color, #64748b);
  font-size: 10.5px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.result-map-attribution-compact:hover .result-map-attribution-panel,
.result-map-attribution-compact:focus-within .result-map-attribution-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.result-map-attribution-panel a {
  color: var(--link-color, #2563eb);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
html[data-theme="dark"] .result-map-attribution-toggle {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--secondary-text-color);
}
html[data-theme="dark"] .result-map-attribution-toggle:hover {
  background: var(--surface);
  color: var(--primary-text-color);
}
html[data-theme="dark"] .result-map-attribution-panel {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--secondary-text-color);
}
@media (max-width: 480px) {
  .result-map-attribution-panel {
    white-space: normal;
    max-width: 220px;
    font-size: 10px;
  }
}

/* Leaflet tooltip — temamızla uyumlu */
.leaflet-tooltip.kt-map-tooltip {
  background: var(--surface);
  color: var(--primary-text-color);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  font-size: 12px;
  font-weight: 500;
}
.leaflet-tooltip.kt-map-tooltip::before { display: none; }

/* Dark mode — Leaflet kontrolleri için küçük ince ayar */
html[data-theme="dark"] .leaflet-control-zoom a {
  background: var(--surface);
  color: var(--primary-text-color);
  border-color: var(--line);
}
html[data-theme="dark"] .leaflet-control-zoom a:hover {
  background: var(--surface-soft);
}

@media (max-width: 720px) {
  .result-map-canvas { height: 280px; }
  .result-map-overlay {
    left: 10px;
    right: 10px;
    bottom: 28px;
    max-width: calc(100% - 20px);
    padding: 8px 12px;
    gap: 10px;
  }
  .result-map-overlay-icon { width: 32px; height: 32px; }
  .result-map-overlay-status { font-size: 0.84rem; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .leaflet-fade-anim .leaflet-tile,
  .leaflet-fade-anim .leaflet-popup { transition: none !important; }
}

/* Barcode Scanner Overlay */
.kt-scan-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.kt-scan-panel {
  position: relative;
  width: min(420px, 100%);
  max-height: 100%;
  background: var(--surface, #0f172a);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-bottom: 0.9rem;
}
.kt-scan-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 0;
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
  z-index: 2;
}
.kt-scan-viewport {
  position: relative;
  background: #000;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.kt-scan-viewport video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kt-scan-mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
}
.kt-scan-target {
  width: 78%;
  aspect-ratio: 16 / 7;
  border: 2px solid #10b981;
  border-radius: 8px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.38);
  animation: ktScanPulse 1.4s ease-in-out infinite;
}
@keyframes ktScanPulse {
  0%, 100% { box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.38), 0 0 0 0 rgba(16, 185, 129, 0.5); }
  50% { box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.38), 0 0 0 8px rgba(16, 185, 129, 0); }
}
.kt-scan-hint {
  margin: 0;
  padding: 0 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--secondary-text-color, #94a3b8);
}
@media (prefers-reduced-motion: reduce) {
  .kt-scan-target { animation: none; }
}

.shipment-info-card h2 {
  margin: 0 0 0.82rem;
  font-size: 1.05rem;
  line-height: 1.25;
}

.info-grid {
  display: grid;
  gap: 0.48rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--line-soft);
}

.info-row span {
  color: var(--secondary-text-color);
  font-size: 0.9rem;
}

.info-row strong {
  color: var(--primary-text-color);
  text-align: right;
  font-size: 0.96rem;
}

.shipment-note-card {
  padding: 0.95rem 1rem;
}

.shipment-note-card p {
  margin: 0;
  color: var(--secondary-text-color);
}

.shipment-note-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
  font-weight: 700;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 860px) {
  .result-toolbar {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
  }

  .result-toolbar-right {
    margin-left: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }

  .hero-frame {
    padding: 1rem 1.02rem 0.92rem;
  }

  .shipment-overview-top {
    grid-template-columns: minmax(0, 1fr) 130px;
    gap: 0.65rem;
  }

  .hero-status-value {
    font-size: 1.5rem;
  }

  .hero-tracking-row {
    display: block;
    margin-top: .35rem;
    font-size: .82rem;
    color: var(--secondary-text-color);
  }

  .eta-box {
    min-width: 0;
  }

  .eta-box strong {
    font-size: 1.68rem;
  }

  .hero-middle-grid {
    grid-template-columns: 1fr;
    margin-top: 0.88rem;
  }

  .route-panel {
    border-right: 0;
    border-bottom: 1px solid #e2e7f0;
    padding: 0.95rem 0 0.75rem;
  }

  .route-grid {
    grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
    column-gap: 0.55rem;
    row-gap: 0.4rem;
    margin-top: 0.68rem;
  }

  .route-stop strong {
    font-size: 1rem;
    line-height: 1.25;
  }

  .route-stop-destination {
    text-align: right;
  }

  .route-arrow {
    font-size: 1.1rem;
    height: 26px;
  }

  .route-arrow::before {
    width: 22px;
    transform: translate(calc(-50% - 8px), -50%);
  }

  .progress-panel {
    padding: 0.85rem 0 0.2rem;
  }

  .progress-wrap {
    margin-top: 0.7rem;
    gap: 0.2rem;
  }

  .progress-step small {
    font-size: 0.66rem;
    line-height: 1.25;
  }

  .hero-updated-row {
    margin-top: 0.84rem;
    padding-top: 0.78rem;
    font-size: 0.97rem;
  }

  .movement-item {
    grid-template-columns: 40px 1fr;
  }

  .movement-list {
    --movement-line-x: 20px;
  }

  .movement-item::before {
    left: var(--movement-line-x);
    top: 38px;
  }

  .move-icon {
    width: 34px;
    height: 34px;
    margin-left: 3px;
  }

  .move-icon-svg {
    width: 16px;
    height: 16px;
  }

  .move-time {
    grid-column: 2 / 3;
    font-size: 0.84rem;
  }
}

/* Progress circle pseudo-element centering fix */
.progress-circle {
  overflow: hidden;
}

.progress-step.is-complete .progress-circle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  box-sizing: border-box;
  transform: translate(-50%, -58%) rotate(45deg);
}

.progress-step.is-active .progress-circle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22ae79;
  transform: translate(-50%, -50%);
}

/* Carrier page design (ktio.html) */
.carrier-ktio-page {
  padding: 0.55rem 0 1.7rem;
  /* Taşıyıcı rengi CSS variable'lari: submit butonu + mushteri hizmetleri
     ikonlari burdan besleniyor. PHP tarafi carrier.php'de style="..." ile
     bu degerleri ezip dinamik taşıyıcı rengini enjekte ediyor. */
  --carrier-accent: #f97316;
  --carrier-accent-strong: #ea580c;
  --carrier-accent-soft: rgba(249, 115, 22, 0.10);
  --carrier-accent-soft-strong: rgba(249, 115, 22, 0.18);
  --carrier-accent-contrast: #ffffff;
  /* Eski renkli radial-gradient kaldirildi (header ile butunlesik,
     sade bir sayfa arkaplani). Buton ve ikonlar hala taşıyıcı rengini aliyor. */
  background: transparent;
}

.carrier-ktio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 40px;
  align-items: start;
}

.carrier-ktio-main {
  min-width: 0;
}

.carrier-ktio-card {
  background: var(--surface);
  border: 1px solid var(--line);
  /* Üst kenarda 4px carrier marka rengi şeridi — kullanıcıya hangi firmada
     olduğunu görsel olarak ipucu verir, ama UI primary mavi tutarlı kalır. */
  border-top: 4px solid var(--carrier-accent, var(--primary));
  border-radius: 16px;
  padding: 35px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.carrier-ktio-header {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.carrier-ktio-subtitle {
  display: block;
  margin: 0;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  /* Standart KargoTakip mavi — carrier-accent yerine. Brand consistency
     ve WCAG AA garantisi için (UPS #5f3c21, MNG #e30613 vs. her marka için
     beyaz üzerinde 4.5:1 sağlanmıyordu). */
  color: var(--primary);
  font-weight: 600;
}

.carrier-ktio-header h1 {
  margin: 10px 0 15px;
  font-size: 2.2rem;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--heading-color);
}

.carrier-ktio-description {
  margin: 0;
  color: var(--secondary-text-color);
  line-height: 1.6;
  font-size: 1.05rem;
}

.carrier-ktio-form-area h2 {
  margin: 0 0 25px;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--heading-color);
}

.carrier-ktio-form {
  display: block;
}

.carrier-ktio-input-group {
  position: relative;
  margin-bottom: 20px;
}

.carrier-ktio-input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary-text-color);
  pointer-events: none;
}

.carrier-ktio-input-group input {
  width: 100%;
  min-height: 62px;
  padding: 18px 18px 18px 50px;
  border: 2px solid var(--line);
  border-radius: 12px;
  font-size: 1.1rem;
  outline: none;
  transition: all 0.3s;
  color: var(--primary-text-color);
  background-color: var(--surface-soft);
}

.carrier-ktio-input-group input:focus {
  border-color: var(--primary);
  background-color: var(--surface);
  box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.18);
}

.carrier-ktio-submit {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 12px;
  /* Standart KargoTakip mavi — her carrier sayfasında tutarlı UI primary.
     Önceki carrier-accent gradient (UPS kahverengi, Aramex kırmızı vs.)
     marka kafa karışıklığı + WCAG kontrast riski yaratıyordu. */
  background: var(--primary);
  color: #ffffff;
  padding: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(21, 101, 192, 0.18);
  transition: filter 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.carrier-ktio-submit:hover {
  background: var(--primary-strong);
  box-shadow: 0 18px 36px rgba(21, 101, 192, 0.24);
  transform: translateY(-1px);
}

.carrier-ktio-submit:active {
  transform: translateY(0) scale(0.985);
}

.carrier-ktio-form-footer {
  margin: 20px 0 0;
  font-size: 0.9rem;
  color: var(--secondary-text-color);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: 10px;
}

.carrier-ktio-form-footer .icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.carrier-ktio-format-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.carrier-ktio-format-info > span:first-child strong {
  color: var(--primary-text-color);
  font-weight: 600;
}

.carrier-ktio-format-example {
  font-size: 0.82rem;
  color: var(--secondary-text-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.carrier-ktio-format-example code {
  font-family: "SF Mono", Consolas, Menlo, monospace;
  font-size: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--primary-text-color);
  user-select: all;
  letter-spacing: 0.02em;
}

.carrier-ktio-extra {
  display: flex;
  flex-direction: column;
  gap: 45px;
  margin-top: 40px;
}

.carrier-ktio-services-wrap h3,
.carrier-ktio-faq-wrap h3 {
  margin: 0 0 20px;
  font-size: 1.3rem;
  color: var(--heading-color);
}

.carrier-ktio-services {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.carrier-ktio-service-tag {
  background-color: var(--surface);
  color: var(--primary-text-color);
  border: 1px solid var(--line);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.carrier-ktio-service-tag .icon {
  color: var(--carrier-accent);
}

.carrier-ktio-service-tag:hover {
  border-color: var(--carrier-accent);
  background: var(--carrier-accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--carrier-accent-soft);
}

.carrier-ktio-faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.carrier-ktio-faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.carrier-ktio-faq-item:hover {
  border-color: var(--line);
}

.carrier-ktio-faq-item[open] {
  border-color: var(--carrier-accent);
  box-shadow: 0 6px 18px var(--carrier-accent-soft);
}

.carrier-ktio-faq-item summary {
  position: relative;
  list-style: none;
  padding: 20px 48px 20px 20px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-text-color);
  cursor: pointer;
  user-select: none;
}

.carrier-ktio-faq-item summary::-webkit-details-marker {
  display: none;
}

.carrier-ktio-faq-item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--secondary-text-color);
  border-bottom: 2px solid var(--secondary-text-color);
  transform: translateY(-62%) rotate(45deg);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.carrier-ktio-faq-item[open] summary::after {
  border-color: var(--carrier-accent);
  transform: translateY(-38%) rotate(-135deg);
}

.carrier-ktio-faq-content {
  padding: 15px 20px 20px;
  margin-top: -5px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--secondary-text-color);
  line-height: 1.6;
}

.carrier-ktio-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.carrier-ktio-company-card {
  position: relative;
  overflow: hidden;
}

/* Ust turuncu/renkli serit kaldirildi; kart nötr beyaz zeminde kaliyor.
   Vurgu rengi sadece Musteri Hizmetleri ikon kutusunda (.carrier-ktio-info-icon)
   kullaniliyor. */

.carrier-ktio-company-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.carrier-ktio-company-logo-wrap {
  max-width: 180px;
  width: 100%;
  height: auto;
  max-height: 50px;
  margin: 0 auto;
  display: inline-grid;
  place-items: center;
}

.carrier-ktio-company-logo {
  width: 180px;
  height: 50px;
}

.carrier-ktio-info-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.carrier-ktio-info-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.carrier-ktio-info-icon {
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  background: var(--carrier-accent-soft);
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  color: var(--carrier-accent);
}

.carrier-ktio-info-text div:first-child {
  font-size: 0.8rem;
  color: var(--secondary-text-color);
  margin-bottom: 4px;
}

.carrier-ktio-info-main-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-text-color);
  text-decoration: none;
}

.carrier-ktio-info-link {
  color: var(--carrier-accent);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.carrier-ktio-info-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.carrier-ktio-ad-sidebar {
  width: 100%;
  max-width: 300px;
  height: 600px;
  margin: 0 auto;
  background-color: #e2e8f0;
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.carrier-ktio-adsense-skyscraper {
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  height: 600px;
}

.carrier-ktio-ad-sidebar-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--secondary-text-color);
  font-size: 0.85rem;
}

.carrier-ktio-ad-sidebar-placeholder .icon {
  color: #94a3b8;
  margin-bottom: 2px;
}

.carrier-ktio-ad-sidebar-placeholder strong {
  color: #475569;
  font-size: 1rem;
}

.carrier-ktio-ad-sidebar-placeholder em {
  font-style: normal;
  color: var(--secondary-text-color);
}

@media (max-width: 992px) {
  .carrier-ktio-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .carrier-ktio-card {
    padding: 24px;
  }

  .carrier-ktio-header {
    margin-bottom: 22px;
    padding-bottom: 22px;
  }

  .carrier-ktio-header h1 {
    font-size: 1.8rem;
  }

  .carrier-ktio-extra {
    gap: 28px;
    margin-top: 28px;
  }

  .carrier-ktio-ad-sidebar {
    max-width: none;
    height: 250px;
  }

  .carrier-ktio-adsense-skyscraper {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 250px;
  }
}

/* Blog — modern yatay kart listesi (Google-tarzi) */
.blog-list-grid,
.blog-post-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-card,
.blog-post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .25s ease, border-color .25s ease;
}

.blog-post-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  border-color: transparent;
}

.blog-post-card {
  display: flex;
  flex-direction: row;
  gap: 24px;
  padding: 20px;
  align-items: stretch;
  min-height: auto;
  transition: all .3s cubic-bezier(.2,0,0,1);
}
.blog-post-card:hover {
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
html[data-theme="dark"] .blog-post-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.blog-post-card .blog-post-cover-media {
  width: 260px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
  position: relative;
}
.blog-post-card .blog-post-cover-media::before {
  content: "";
  display: block;
  padding-bottom: 65%;
}
.blog-post-cover-visual {
  position: absolute !important;
  inset: 0;
  /* Fallback ikon parent içinde tam ortada — yoksa sol-üst köşede 0,0'da kalıyor */
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-post-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding-top: 4px;
  gap: 0;
}

.blog-post-card-title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 12px;
  color: var(--primary-text-color);
}
.blog-post-card-title a { color: var(--heading-color); }
.blog-post-card-title a:hover { color: var(--link-color); }

.blog-post-excerpt {
  font-size: 15px;
  color: var(--secondary-text-color);
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.blog-post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 0;
  border-top: 0;
}

.blog-post-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--link-color);
  transition: color .3s cubic-bezier(.2,0,0,1);
}
.blog-post-link svg {
  width: 18px;
  height: 18px;
  transition: transform .2s ease;
}
.blog-post-card:hover .blog-post-link { color: var(--primary-strong, var(--primary)); }
.blog-post-card:hover .blog-post-link svg { transform: translateX(4px); }

.blog-post-reading {
  font-size: 12px;
  font-weight: 500;
  color: var(--secondary-text-color);
  background: var(--surface-soft);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--line);
}

.blog-post-reading {
  font-size: 0.82rem;
  color: var(--secondary-text-color);
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  margin-bottom: 8px;
}
.blog-post-meta a {
  color: var(--link-color);
  background: transparent;
  padding: 0;
  font-weight: 600;
}
.blog-post-meta > span {
  color: var(--secondary-text-color);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.blog-post-meta > span::before {
  content: "•";
  color: var(--line);
  font-size: 16px;
}

.blog-post-meta-category {
  display: inline-block;
  background: var(--surface-soft);
  color: var(--link-color);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: .78rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .blog-hero-title { font-size: 32px; }
  .blog-post-card {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }
  .blog-post-card .blog-post-cover-media {
    width: 100%;
  }
  .blog-post-card .blog-post-cover-media::before { padding-bottom: 56.25%; }
  .blog-post-card-title { font-size: 18px; margin-bottom: 8px; }
  .blog-post-card-footer {
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
  }
}

.blog-card-meta,
.blog-post-meta {
  margin: 0;
  color: var(--secondary-text-color);
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.blog-card-meta span + span::before,
.blog-post-meta span + span::before {
  content: "•";
  margin-right: 0.46rem;
  color: var(--secondary-text-color);
}

.blog-card h3,
.blog-post-card h2,
.blog-post-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.22;
  color: var(--heading-color);
}

.blog-card p,
.blog-post-card p {
  color: var(--secondary-text-color);
}

.blog-post-cover-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid #e2ebf5;
  overflow: hidden;
}

.blog-post-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.blog-post-cover-media:hover .blog-post-cover-image {
  transform: scale(1.04);
}

.blog-post-cover-visual,
.blog-post-detail-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  background: var(--surface-soft);
  overflow: hidden;
  isolation: isolate;
}

.blog-post-detail-visual {
  margin: 0 0 1.5rem;
  min-height: 320px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.blog-post-cover-visual.is-tracking,
.blog-post-cover-visual.is-carrier,
.blog-post-cover-visual.is-commerce,
.blog-post-detail-visual.is-tracking,
.blog-post-detail-visual.is-carrier,
.blog-post-detail-visual.is-commerce {
  background: var(--surface-soft);
}

.blog-post-cover-brand,
.blog-post-cover-chip,
.blog-post-cover-icon,
.blog-post-cover-kicker,
.blog-post-cover-title {
  position: relative;
  z-index: 2;
}

.blog-post-cover-brand {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.blog-post-cover-chip {
  position: absolute;
  top: 0.95rem;
  left: 0.95rem;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.blog-post-cover-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: transparent;
  border: 0;
  color: var(--secondary-text-color);
  opacity: 0.55;
  transition: transform .25s ease;
}
.blog-post-cover-icon svg { width: 64px; height: 64px; fill: currentColor; }
.blog-post-card:hover .blog-post-cover-icon { transform: scale(1.08); opacity: .75; }

.blog-post-cover-orb { display: none; }

.blog-post-cover-kicker {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.blog-post-cover-title {
  margin-top: 0.38rem;
  max-width: 18ch;
  font-size: 1.18rem;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.blog-post-cover-orb {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(2px);
  z-index: -1;
}

.blog-post-cover-orb-one {
  width: 130px;
  height: 130px;
  top: -32px;
  right: -20px;
}

.blog-post-cover-orb-two {
  width: 88px;
  height: 88px;
  bottom: -18px;
  right: 84px;
}

.blog-post-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.66rem;
  padding: 1rem;
  flex: 1;
}

.blog-post-card-title a {
  color: var(--heading-color);
}

.blog-post-card-title a:hover {
  color: var(--link-color);
}

.blog-post-meta {
  align-items: center;
}

.blog-post-meta a {
  color: var(--link-color);
  font-weight: 700;
}

.blog-post-excerpt {
  margin: 0;
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-post-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding-top: 0.2rem;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--link-color);
  font-weight: 600;
  font-size: 14px;
}
.blog-card-link:hover { color: var(--primary-strong, var(--primary)); }

.blog-post-reading {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.78rem;
  border-radius: 999px;
  background: #f3f8fd;
  border: 1px solid #d8e4f0;
  color: #436482;
  font-size: 0.76rem;
  font-weight: 700;
}

.section-center-link {
  margin: 0.85rem 0 0;
  text-align: center;
}

.btn-soft-link { /* eski alias — artık .btn .btn-ghost kullanılıyor */ }

.blog-page {
  padding-top: 0.35rem;
}

.blog-grid {
  display: grid;
  gap: 1.5rem;
}
.blog-main { min-width: 0; }
@media (min-width: 992px) {
  .blog-grid {
    /* Sidebar net iç alan: 300px. Tüm kartlar padding 20×2 = 40 + border 1×2 = 2,
       outer column = 342px → her kartın içi tam 300px. */
    grid-template-columns: minmax(0, 1fr) 342px;
    column-gap: 30px;
    align-items: start;
  }
  .blog-sidebar { position: sticky; top: 90px; display: grid; gap: 1.5rem; }
}

.blog-sidebar-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.blog-sidebar-search { padding: 8px; }
.blog-search-form {
  position: relative;
  display: flex;
  align-items: center;
}
.blog-search-icon {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 20px;
  color: var(--secondary-text-color);
  pointer-events: none;
}
.blog-search-form input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--surface-soft);
  color: var(--primary-text-color);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all .2s;
}
.blog-search-form input:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 12%, transparent);
}
.blog-sidebar-ad {
  position: relative;
  /* padding kaldırıldı — .blog-sidebar-card'ın 20px padding'ini kullanır
     → tüm sidebar kartlarında iç alan tutarlı 300px. */
  /* CLS guard — sidebar reklam yer rezerve (typical 300x250 medium rect) */
  min-height: 250px;
  display: flex;
  flex-direction: column;
  contain: layout;
}
.blog-sidebar-ad .adsbygoogle {
  display: block;
  min-height: 250px;
}
.blog-sidebar-ad-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary-text-color);
  margin-bottom: 8px;
  font-weight: 600;
}
.blog-sidebar-ad-placeholder { padding: 18px; }
.blog-ad-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 280px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--secondary-text-color);
  text-align: center;
  padding: 20px;
  background: var(--surface-soft);
}
.blog-ad-placeholder svg { opacity: .6; }
.blog-ad-placeholder p { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: var(--primary-text-color); }
.blog-ad-placeholder small { font-size: 12px; color: var(--secondary-text-color); }
.blog-sidebar-card h2 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-text-color);
}
.blog-sidebar-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.blog-sidebar-card li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--primary-text-color);
  font-size: 14px;
  font-weight: 500;
  background: color-mix(in srgb, var(--primary) 5%, transparent);
  transition: background .2s, color .2s;
}
.blog-sidebar-card li a:hover {
  background: color-mix(in srgb, var(--primary) 10%, transparent);
}
.blog-sidebar-card li a.is-active {
  background: #d3e3fd;
  color: #041e49;
}
html[data-theme="dark"] .blog-sidebar-card li a.is-active {
  background: rgba(66, 133, 244, 0.22);
  color: #bfd7ff;
}
.blog-sidebar-card li a > span:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--secondary-text-color);
  font-size: 12px;
  font-weight: 600;
}
html[data-theme="dark"] .blog-sidebar-card li a > span:last-child {
  background: var(--surface);
  color: var(--secondary-text-color);
}
.blog-sidebar-card li a.is-active > span:last-child {
  background: #ffffff;
  color: #041e49;
}
html[data-theme="dark"] .blog-sidebar-card li a.is-active > span:last-child {
  background: rgba(255, 255, 255, 0.9);
  color: #041e49;
}

/* Blog Gezinme card (açıklama + tam genişlik pill CTA) */
.blog-sidebar-nav-card p {
  font-size: 14px;
  color: var(--secondary-text-color);
  margin: 0 0 14px;
  line-height: 1.55;
}
.blog-sidebar-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 100px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--link-color);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.blog-sidebar-nav-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* Modern kategori pill filtreleri (Google Material tarzı) */
.blog-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.blog-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--secondary-text-color);
  font-size: .86rem;
  font-weight: 500;
  transition: all .18s ease;
}
.blog-pill:hover {
  background: var(--surface-soft);
  border-color: var(--primary);
  color: var(--link-color);
}
.blog-pill.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.blog-pill.is-active:hover { color: #fff; }
.blog-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-text-color);
  font-size: .72rem;
  font-weight: 600;
}
.blog-pill.is-active .blog-pill-count {
  background: rgba(255,255,255,0.22);
  color: #fff;
}

.blog-main {
  min-width: 0;
  display: grid;
  gap: 0.95rem;
}

.blog-hero-card,
.blog-empty-card,
.blog-sidebar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(16, 35, 58, 0.05);
}

/* Gemini-style Blog Hero */
.blog-hero-card {
  padding: 1rem 0 2rem;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.blog-gemini-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--link-color);
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.08), rgba(155, 114, 203, 0.08));
  border: 1px solid rgba(66, 133, 244, 0.14);
}
.blog-gemini-badge svg { width: 14px; height: 14px; fill: currentColor; }
html[data-theme="dark"] .blog-gemini-badge {
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.14), rgba(155, 114, 203, 0.14));
  border-color: rgba(66, 133, 244, 0.22);
  color: #93c5fd;
}

.blog-hero-title {
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 500;
  letter-spacing: -1px;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--primary-text-color);
  line-height: 1.25;
  padding: 0.12em 0;
}
.blog-hero-gradient { padding: 0.1em 0; line-height: 1.25; }
.blog-hero-sparkle { width: 36px; height: 36px; }
.blog-hero-gradient {
  background: linear-gradient(74deg, #4285f4 0%, #9b72cb 46%, #d96570 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}
.blog-hero-sub {
  font-size: 18px;
  color: var(--secondary-text-color);
  max-width: 620px;
  margin: 0;
  line-height: 1.5;
}

/* M3 Chip filter nav */
.blog-filter-nav {
  display: flex;
  gap: 10px;
  margin: 32px 0 40px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.blog-filter-nav::-webkit-scrollbar { display: none; }
.blog-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--secondary-text-color);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  user-select: none;
  transition: all .3s cubic-bezier(.2,0,0,1);
}
.blog-chip:hover {
  background: var(--surface-soft);
  color: var(--primary-text-color);
}
.blog-chip.is-active {
  background: #d3e3fd;
  border-color: #d3e3fd;
  color: #041e49;
}
html[data-theme="dark"] .blog-chip.is-active {
  background: rgba(66, 133, 244, 0.22);
  border-color: rgba(66, 133, 244, 0.3);
  color: #bfd7ff;
}
.blog-chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 7px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(0,0,0,0.06);
  color: inherit;
}
html[data-theme="dark"] .blog-chip-count { background: rgba(255,255,255,0.1); }
.blog-chip.is-active .blog-chip-count { background: rgba(4, 30, 73, 0.15); }
html[data-theme="dark"] .blog-chip.is-active .blog-chip-count { background: rgba(191, 215, 255, 0.18); }

.blog-eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--link-color);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0 0.68rem;
}

.blog-hero-card h1 {
  margin: 0.7rem 0 0.5rem;
  font-size: clamp(1.4rem, 2.7vw, 2rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.blog-hero-card p {
  margin: 0;
  color: var(--secondary-text-color);
}

.blog-empty-card {
  padding: 1rem;
}

.blog-empty-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.blog-sidebar {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.blog-sidebar-card {
  padding: 0.95rem;
}

.blog-sidebar-card h2 {
  margin: 0 0 0.6rem;
  font-size: 1.02rem;
}

.blog-sidebar-card p {
  margin: 0.4rem 0;
  color: var(--secondary-text-color);
}

.blog-sidebar-note {
  margin-top: 0.6rem;
}

.blog-sidebar-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.blog-sidebar-card li a {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: center;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--primary-text-color);
  padding: 0 0.7rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.blog-sidebar-card li a.is-active {
  border-color: var(--link-color);
  background: var(--surface-soft);
  color: var(--heading-color);
}

.blog-pagination {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.blog-pagination a {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--secondary-text-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  transition: all .3s cubic-bezier(.2,0,0,1);
}
.blog-pagination a:hover {
  background: var(--surface-soft);
  color: var(--primary-text-color);
}
.blog-pagination a.is-active {
  background: #d3e3fd;
  color: #041e49;
  font-weight: 600;
}
html[data-theme="dark"] .blog-pagination a.is-active {
  background: rgba(66, 133, 244, 0.22);
  color: #bfd7ff;
}

.blog-post-detail {
  padding: 0;
}

/* Post detail — full-width head */
.blog-post-head-full {
  padding: 0.5rem 0 1.5rem;
  margin: 0 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
html[data-theme="dark"] .blog-post-head-full {
  border-bottom-color: rgba(148, 163, 184, 0.18);
}
.blog-post-meta-top { margin: 0 0 14px; }
.blog-post-head-cat {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--link-color);
  font-size: 13px;
  font-weight: 600;
}
.blog-post-head-cat:hover {
  background: color-mix(in srgb, var(--primary) 20%, transparent);
}
.blog-post-head-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--primary-text-color);
}
.blog-post-head-lead {
  margin: 0 0 24px;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--secondary-text-color);
}
.blog-post-head-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.blog-post-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--link-color);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.blog-post-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
}
.blog-post-author-info strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-text-color);
}
.blog-post-author-info span {
  font-size: 12.5px;
  color: var(--secondary-text-color);
}
.blog-post-author-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.blog-post-author-meta .meta-sep {
  color: var(--line);
  font-size: 14px;
  line-height: 1;
}

.blog-post-detail-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
}

.blog-post-detail h1 {
  margin: 0.58rem 0 0.48rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.15;
}

.blog-post-lead {
  margin: 0;
  color: var(--secondary-text-color);
  font-size: 1.02rem;
  line-height: 1.58;
}

.blog-post-cover {
  margin-top: 0.86rem;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.blog-post-content {
  color: var(--primary-text-color);
  line-height: 1.75;
  font-size: 0.97rem;
}

.blog-post-content table {
  display: block;
  width: 100%;
  margin: 1rem 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  overflow-x: auto;
}

.blog-post-content thead th {
  background: var(--surface-soft);
  color: var(--primary-text-color);
  font-weight: 700;
}

.blog-post-content th,
.blog-post-content td {
  padding: 0.86rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.blog-post-content tbody tr:nth-child(even) {
  background: #fbfdff;
}

.blog-post-content tbody tr:last-child td {
  border-bottom: 0;
}

.blog-post-content > *:first-child {
  margin-top: 0;
}

.blog-post-content > *:last-child {
  margin-bottom: 0;
}

.blog-post-share {
  margin-top: 1.1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}
.blog-post-share-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary-text-color);
}
.blog-post-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.44rem;
}
.blog-post-share-btn {
  min-height: 34px;
  padding: 0 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--primary-text-color);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.blog-post-share-btn:hover,
.blog-post-share-btn:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--surface-soft);
}
.blog-post-share-btn.is-twitter:hover { color: #0f1419; border-color: #0f1419; }
.blog-post-share-btn.is-facebook:hover { color: #1877f2; border-color: #1877f2; }
.blog-post-share-btn.is-linkedin:hover { color: #0a66c2; border-color: #0a66c2; }
.blog-post-share-btn.is-whatsapp:hover { color: #25d366; border-color: #25d366; }
.blog-post-share-btn svg { flex-shrink: 0; }
@media (max-width: 480px) {
  .blog-post-share-btn span { display: none; }
  .blog-post-share-btn { padding: 0 0.58rem; min-width: 36px; justify-content: center; }
}

.blog-post-tags {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.blog-post-tags span {
  min-height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--secondary-text-color);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  padding: 0 0.68rem;
}

.blog-main { min-width: 0; }
.blog-related {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: 2rem;
  overflow: hidden;
}
.blog-related h2 {
  margin: 0 0 1rem;
  font-size: 1.12rem;
  color: var(--heading-color);
}
.blog-related .blog-post-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 2px 14px;
  margin: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.blog-related .blog-post-grid::-webkit-scrollbar { display: none; }
.blog-related .blog-post-card {
  flex: 0 0 280px;
  min-width: 0;
  scroll-snap-align: start;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 0 !important;
  align-items: stretch !important;
}

/* Header with nav buttons */
.blog-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.blog-related-head h2 { margin: 0; }
.blog-related-nav { display: inline-flex; gap: 8px; }
.blog-related-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--primary-text-color);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: all .2s ease;
  padding: 0;
}
.blog-related-btn:hover:not(:disabled) {
  background: var(--surface-soft);
  border-color: var(--primary);
  color: var(--link-color);
}
.blog-related-btn:disabled {
  opacity: .38;
  cursor: not-allowed;
}
.blog-related .blog-post-card .blog-post-cover-media {
  width: 100%;
  border-radius: 12px 12px 0 0;
  border: 0;
}
.blog-related .blog-post-card .blog-post-cover-media::before { padding-bottom: 58%; }
.blog-related .blog-post-card-body {
  padding: 14px 16px 16px !important;
  justify-content: space-between !important;
  min-height: 160px;
}
.blog-related .blog-post-card-title {
  font-size: 16px !important;
  margin: 0 0 8px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-related .blog-post-excerpt {
  font-size: 13px !important;
  margin: 0 0 12px !important;
}
.blog-related .blog-post-meta { font-size: 11.5px; margin-bottom: 6px; }
@media (max-width: 767px) {
  .blog-related .blog-post-card { flex: 0 0 78%; }
}

@media (min-width: 1020px) {
  .blog-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.05rem;
  }
}

@media (max-width: 767px) {
  .blog-post-card-footer {
    align-items: stretch;
  }

  .blog-post-link {
    width: 100%;
  }

  .blog-post-detail-visual {
    min-height: 260px;
  }
}

/* =========================================================================
   HOME — Modern Layout — Trust Band, 3-Step, FAQ, Final CTA
   ========================================================================= */

/* Section kicker (üst eyebrow text) */
.section-kicker {
  display: inline-block;
  margin: 0 0 0.6rem;
  padding: 0.28rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(21, 101, 192, 0.08);
  border-radius: 999px;
}
html[data-theme="dark"] .section-kicker {
  color: var(--link-color);
  background: rgba(122, 184, 255, 0.12);
}

/* ─────────────────────────────────────────────────────────────────
   TRUST BAND
   ───────────────────────────────────────────────────────────────── */
.home-trust {
  padding: 3rem 0 2.5rem;
}
.home-trust-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 720px;
  margin: 1.6rem auto 2.4rem;
}
@media (min-width: 720px) {
  .home-trust-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
  }
}
.home-trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.2rem 0.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.home-trust-stat-value {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading-color);
  line-height: 1.1;
}
.home-trust-stat-label {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}
.home-trust-carriers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.home-trust-carrier {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.15s ease, background 0.15s ease;
  min-height: 56px;
}
.home-trust-carrier:hover {
  border-color: var(--primary);
  background: var(--surface-soft);
}
.home-trust-carrier svg {
  flex-shrink: 0;
  color: var(--primary);
}
html[data-theme="dark"] .home-trust-carrier svg {
  color: var(--link-color);
}
.home-trust-carrier span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─────────────────────────────────────────────────────────────────
   3-STEP — Nasıl Çalışır
   ───────────────────────────────────────────────────────────────── */
.home-steps-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 880px) {
  .home-steps-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
/* Legacy .home-step kuralları silindi (artık HTML'de kullanılmıyor; yerini
   yeni step-card tasarımı aldı). Orphan kural temizliği. */

/* ─────────────────────────────────────────────────────────────────
   FAQ
   ───────────────────────────────────────────────────────────────── */
/* Section header'ları için merkezi blok yukarıda (.home-section-head ailesi). */

.home-faq-list {
  max-width: 1040px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  /* SSS item'ı açıldığında diğer kolondaki item'a hizalanmasın diye
     align-items: start — her hücre kendi yüksekliğini alır. */
  align-items: start;
}

@media (min-width: 760px) {
  .home-faq-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem 1rem;
  }
}
.home-faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
/* Hover: SADECE border rengi mavi olur, bg değişmez */
.home-faq-item:hover {
  border-color: var(--primary);
}
/* Açık (open): border mavi, hover ile aynı — sabit kalır */
.home-faq-item[open] {
  border-color: var(--primary);
}
.home-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading-color);
  list-style: none;
  user-select: none;
}
.home-faq-q::-webkit-details-marker { display: none; }
.home-faq-chevron {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.2s ease;
}
.home-faq-item[open] .home-faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}
.home-faq-a {
  padding: 0 1.3rem 1.2rem;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────────────────────────
   FINAL CTA BANNER
   ───────────────────────────────────────────────────────────────── */
.home-final-cta {
  padding: 3rem 0 4rem;
}
.home-final-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
  padding: 2.4rem 1.6rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  border-radius: 22px;
}
@media (min-width: 720px) {
  .home-final-cta-card {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding: 2.6rem 2.4rem;
  }
}
.home-final-cta-copy h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
}
.home-final-cta-copy p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
  color: #fff;
}
.home-final-cta-button {
  flex-shrink: 0;
  background: #fff;
  color: var(--primary-strong);
  border: 0;
  padding: 0.9rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.home-final-cta-button:hover {
  transform: translateY(-1px);
  background: #fff;
  color: var(--primary-strong);
}
.home-final-cta-button svg { color: var(--primary-strong); }

/* Mobil-first dokunuş: küçük ekranlarda padding optimize */
@media (max-width: 720px) {
  .home-trust { padding: 2rem 0 1.5rem; }
  .home-steps-list { margin-top: 1.5rem; }
  .home-faq-q { padding: 0.95rem 1.1rem; font-size: 0.95rem; }
  .home-faq-a { padding: 0 1.1rem 1.1rem; font-size: 0.9rem; }
  .home-final-cta { padding: 2rem 0 3rem; }
}

/* =========================================================================
   MEGA MENU — Modern — Modern, EEAT, Semantic
   ========================================================================= */

@media (min-width: 1024px) {
  .has-mega-modern > .mega-panel-modern {
    /* Default mega-panel davranışı korunuyor — bu sadece content styling */
  }
  .mega-panel-modern .mega-panel-inner {
    /* Panel daha geniş — featured 2 sütun + 3 kategori yan yana sığsın */
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.8rem 2rem 1.6rem;
  }
}

/* ─────────────────────────────────────────────────────────────────
   HEADER — Title + trust badges
   ───────────────────────────────────────────────────────────────── */
.mega-modern-header {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--line-soft);
}
@media (min-width: 768px) {
  .mega-modern-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem;
  }
}
.mega-modern-header-copy {
  flex: 1;
  min-width: 0;
}
.mega-modern-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--heading-color);
  line-height: 1.2;
}
.mega-modern-subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Trust badges */
.mega-modern-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex-shrink: 0;
}
.mega-modern-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  padding: 0.32rem 0.7rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.mega-modern-badge strong {
  font-weight: 800;
  color: var(--primary);
}
html[data-theme="dark"] .mega-modern-badge strong {
  color: var(--link-color);
}
.mega-modern-badge svg {
  flex-shrink: 0;
  color: var(--primary);
}
html[data-theme="dark"] .mega-modern-badge svg {
  color: var(--link-color);
}

/* Pulse dot — "Anlık veri" canlı sinyali */
.mega-modern-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success, #0f8d4e);
  flex-shrink: 0;
}
.mega-modern-pulse::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--success, #0f8d4e);
  opacity: 0.65;
  animation: mega-modern-pulse 1.8s ease-out infinite;
}
@keyframes mega-modern-pulse {
  0% { transform: scale(1); opacity: 0.65; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ─────────────────────────────────────────────────────────────────
   BODY — Featured grid + Categories (sol-sağ split)
   ───────────────────────────────────────────────────────────────── */
.mega-modern-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
@media (min-width: 1024px) {
  .mega-modern-body {
    /* Sol: Featured 2 sütun (5 carrier 3 satır). Sağ: 3 kategori yan yana */
    grid-template-columns: minmax(420px, 1.2fr) 1.5fr;
    gap: 2.4rem;
  }
}

/* Section title — küçük başlıklar */
.mega-modern-section-title {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin: 0 0 0.7rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.mega-modern-section-title svg {
  color: var(--primary);
}
html[data-theme="dark"] .mega-modern-section-title svg {
  color: var(--link-color);
}

/* ─────────────────────────────────────────────────────────────────
   FEATURED — Öne çıkan 4 carrier büyük kart
   ───────────────────────────────────────────────────────────────── */
.mega-modern-featured-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
}
@media (min-width: 720px) {
  .mega-modern-featured-grid {
    /* 2 sütun — 5 carrier 3 satır (3+2): Aras|Yurtiçi, MNG|PTT, Sürat */
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}
.mega-modern-featured-grid > li {
  list-style: none;
  margin: 0;
  display: block;
}
.mega-modern-featured-card {
  position: relative;
  /* Yatay layout: icon + isim yan yana — wrap kesin yok */
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0.7rem;
  padding: 0.6rem 0.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
  overflow: hidden;
  min-height: 52px;
  width: 100%;
  box-sizing: border-box;
}
/* Hover/active border + slide — site primary mavi (sabit) */
.mega-modern-featured-card:hover,
.mega-modern-featured-card:focus-visible,
.mega-modern-featured-card.is-active {
  border-color: var(--primary);
  transform: translateX(2px);
  background: var(--surface-soft);
}
html[data-theme="dark"] .mega-modern-featured-card:hover,
html[data-theme="dark"] .mega-modern-featured-card:focus-visible,
html[data-theme="dark"] .mega-modern-featured-card.is-active {
  border-color: var(--link-color);
}
.mega-modern-featured-icon {
  flex: 0 0 32px !important;
  width: 32px !important;
  height: 32px !important;
  display: grid;
  place-items: center;
  background: var(--surface-soft);
  border-radius: 8px;
  color: var(--primary);
  /* Hover'da arka plan değişmiyor — logo'yu bozmasın diye sadece subtle scale */
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-modern-featured-card:hover .mega-modern-featured-icon,
.mega-modern-featured-card:focus-visible .mega-modern-featured-icon {
  /* Sadece minik scale, background ve rotate yok — logo görünümü korunur */
  transform: scale(1.04);
}
.mega-modern-featured-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
html[data-theme="dark"] .mega-modern-featured-icon {
  color: var(--link-color);
}
.mega-modern-featured-name {
  flex: 1 1 auto !important;
  min-width: 0;
  display: block !important;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
}
/* Featured arrow kaldırıldı — sade tasarım */

/* ─────────────────────────────────────────────────────────────────
   CATEGORIES — 4 kategori, dikey listeler
   ───────────────────────────────────────────────────────────────── */
.mega-modern-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem 1.6rem;
}
@media (min-width: 640px) {
  .mega-modern-categories {
    /* 3 kategori (Hızlı, Uluslararası, Özel) yan yana — yurt içi kaldırıldı */
    grid-template-columns: repeat(3, 1fr);
  }
}

.mega-modern-cat-count {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  margin-left: 0.15rem;
}

.mega-modern-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.mega-modern-cat-list > li { list-style: none; margin: 0; }

.mega-modern-cat-item {
  /* Tam genişlik flex — Hepsijet/Trendyol Express tıklanabilir alan EŞIT */
  display: flex !important;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 9px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
/* Cat item içindeki isim — flex item, ellipsis */
.mega-modern-cat-item > span:not(.mega-modern-cat-icon):not(.mega-modern-cat-arrow) {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mega-modern-cat-item:hover,
.mega-modern-cat-item:focus-visible,
.mega-modern-cat-item.is-active {
  background: #ffffff;
  color: var(--primary);
  border-color: var(--line);
}
html[data-theme="dark"] .mega-modern-cat-item:hover,
html[data-theme="dark"] .mega-modern-cat-item:focus-visible,
html[data-theme="dark"] .mega-modern-cat-item.is-active {
  background: var(--surface);
  color: var(--link-color);
  border-color: var(--line);
}
.mega-modern-cat-item.is-active {
  font-weight: 700;
}

/* ──────────────────────────────────────────────────────────────────
   MOBILE OVERRIDE — cat-item'ları featured-card stiline yükselt
   Mobilde sade küçük liste yetersizdi; cat-item border'lı, daha büyük
   font ve padding ile featured ile görsel olarak EŞ duruma getirildi.
   ────────────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .mega-modern-cat-list {
    gap: 0.4rem;
  }
  .mega-modern-cat-item {
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 11px;
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--heading-color);
    min-height: 52px;
    background: var(--surface);
  }
  .mega-modern-cat-item:hover,
  .mega-modern-cat-item:focus-visible,
  .mega-modern-cat-item.is-active {
    background: var(--surface-soft);
    border-color: var(--primary);
    transform: translateX(2px);
  }
  /* Mobilde icon biraz daha büyük (featured ile aynı) */
  .mega-modern-cat-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
  }
  .mega-modern-cat-icon svg {
    width: 22px;
    height: 22px;
  }
}

/* Cat item arrow — hover'da görünür (cat ve featured ortak) */
.mega-modern-cat-arrow,
.mega-modern-featured-arrow {
  flex-shrink: 0;
  margin-left: auto;
  width: 16px;
  height: 16px;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
html[data-theme="dark"] .mega-modern-cat-arrow,
html[data-theme="dark"] .mega-modern-featured-arrow {
  color: var(--link-color);
}
.mega-modern-cat-item:hover .mega-modern-cat-arrow,
.mega-modern-cat-item:focus-visible .mega-modern-cat-arrow,
.mega-modern-cat-item.is-active .mega-modern-cat-arrow,
.mega-modern-featured-card:hover .mega-modern-featured-arrow,
.mega-modern-featured-card:focus-visible .mega-modern-featured-arrow,
.mega-modern-featured-card.is-active .mega-modern-featured-arrow {
  opacity: 1;
  transform: translateX(0);
}
.mega-modern-cat-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text);
  transition: background 0.15s ease, color 0.15s ease;
}
/* Cat icon hover — arka plan rengi değişmiyor (logoyu bozmasın).
   Sadece active state'te (mevcut sayfa) subtle border accent veriyoruz. */
.mega-modern-cat-item.is-active .mega-modern-cat-icon {
  background: var(--surface);
  box-shadow: 0 0 0 2px var(--primary);
}
html[data-theme="dark"] .mega-modern-cat-item.is-active .mega-modern-cat-icon {
  box-shadow: 0 0 0 2px var(--link-color);
}
.mega-modern-cat-icon svg {
  width: 20px;
  height: 20px;
}

/* ─────────────────────────────────────────────────────────────────
   FOOTER CTA — Yardımcı linkler
   ───────────────────────────────────────────────────────────────── */
.mega-modern-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}
@media (min-width: 720px) {
  .mega-modern-footer {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
  }
}
.mega-modern-cta {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.75rem 0.9rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 11px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}
.mega-modern-cta:hover,
.mega-modern-cta:focus-visible {
  border-color: var(--primary);
  background: var(--surface);
  transform: translateY(-1px);
}
html[data-theme="dark"] .mega-modern-cta:hover,
html[data-theme="dark"] .mega-modern-cta:focus-visible {
  border-color: var(--link-color);
}
.mega-modern-cta svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--primary);
}
html[data-theme="dark"] .mega-modern-cta svg {
  color: var(--link-color);
}
.mega-modern-cta span {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.mega-modern-cta strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--heading-color);
}
.mega-modern-cta small {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ─────────────────────────────────────────────────────────────────
   MOBILE — < 1024px
   ───────────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .mega-panel-modern .mega-panel-inner {
    padding: 1rem 1.1rem;
  }
  .mega-modern-header {
    margin-bottom: 0.8rem;
    padding-bottom: 0.6rem;
  }
  .mega-modern-title { font-size: 0.95rem; }
  .mega-modern-subtitle { font-size: 0.78rem; }
  .mega-modern-badges {
    margin-top: 0.3rem;
  }
  .mega-modern-badge {
    font-size: 0.7rem;
    padding: 0.26rem 0.56rem;
  }
  .mega-modern-categories {
    gap: 0.9rem 1rem;
  }
  .mega-modern-cat-item { padding: 0.5rem 0.55rem; }
  .mega-modern-footer {
    margin-top: 1rem;
    padding-top: 0.8rem;
  }
}

/* ─────────────────────────────────────────────────────────────────
   TOOLTIP — Hover'da carrier format bilgisi (CSS-only, data-tip)
   "Aras Kargo • 12 hane rakam" gibi ek detayı şık popup ile göster
   ───────────────────────────────────────────────────────────────── */
.mega-modern-featured-card[data-tip]:not([data-tip=""]),
.mega-modern-cat-item[data-tip]:not([data-tip=""]) {
  position: relative;
}
.mega-modern-featured-card[data-tip]:not([data-tip=""])::after,
.mega-modern-cat-item[data-tip]:not([data-tip=""])::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  z-index: 50;
  padding: 0.42rem 0.7rem;
  background: #0c1e35;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 18px rgba(12, 30, 53, 0.22);
  transition: opacity 0.18s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s ease;
}
.mega-modern-featured-card[data-tip]:not([data-tip=""])::before,
.mega-modern-cat-item[data-tip]:not([data-tip=""])::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%) translateY(2px);
  z-index: 50;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #0c1e35;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-modern-featured-card[data-tip]:not([data-tip=""]):hover::after,
.mega-modern-featured-card[data-tip]:not([data-tip=""]):focus-visible::after,
.mega-modern-cat-item[data-tip]:not([data-tip=""]):hover::after,
.mega-modern-cat-item[data-tip]:not([data-tip=""]):focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-modern-featured-card[data-tip]:not([data-tip=""]):hover::before,
.mega-modern-featured-card[data-tip]:not([data-tip=""]):focus-visible::before,
.mega-modern-cat-item[data-tip]:not([data-tip=""]):hover::before,
.mega-modern-cat-item[data-tip]:not([data-tip=""]):focus-visible::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/* Dark mode tooltip — body bg'ye göre ters renk */
html[data-theme="dark"] .mega-modern-featured-card[data-tip]:not([data-tip=""])::after,
html[data-theme="dark"] .mega-modern-cat-item[data-tip]:not([data-tip=""])::after {
  background: #f8f9fa;
  color: #0c1e35;
}
html[data-theme="dark"] .mega-modern-featured-card[data-tip]:not([data-tip=""])::before,
html[data-theme="dark"] .mega-modern-cat-item[data-tip]:not([data-tip=""])::before {
  border-top-color: #f8f9fa;
}

/* ─────────────────────────────────────────────────────────────────
   ACCESSIBILITY — Keyboard focus, reduced motion
   ───────────────────────────────────────────────────────────────── */
.mega-modern-featured-card:focus-visible,
.mega-modern-cat-item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 12px;
}
@media (prefers-reduced-motion: reduce) {
  .mega-modern-pulse::before { animation: none; }
  .mega-modern-featured-card,
  .mega-modern-featured-icon,
  .mega-modern-cat-item {
    transition: none;
  }
  .mega-modern-featured-card[data-tip]::after,
  .mega-modern-featured-card[data-tip]::before,
  .mega-modern-cat-item[data-tip]::after,
  .mega-modern-cat-item[data-tip]::before {
    transition: opacity 0.1s ease;
    transform: translateX(-50%);
  }
}

/* =========================================================================
   RESULT PAGE — Status meaning (bağlamsal açıklama)
   Gemini UX önerisi: kullanıcı kargo statüsünü gördüğünde, hemen altında
   "bu ne demek + sizin adınıza" insan-dilinde açıklama gösterilir.
   carrier statusTerms (DB) → JS ile match → meaning + userAction.
   ========================================================================= */
.result-status-meaning {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0.7rem 0 0.9rem;
  padding: 14px 18px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--carrier-accent, var(--primary)) 8%, var(--surface)),
    var(--surface) 70%);
  border: 1px solid color-mix(in srgb, var(--carrier-accent, var(--primary)) 18%, var(--line));
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  max-width: 720px;
  animation: result-status-meaning-in .4s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 1px 0 rgba(16, 35, 58, 0.02), 0 4px 14px rgba(16, 35, 58, 0.04);
}
.result-status-meaning::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--carrier-accent, var(--primary));
  opacity: 0.85;
}
.result-status-meaning[hidden] {
  display: none;
}
.result-status-meaning-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface);
  display: inline-grid;
  place-items: center;
  color: var(--carrier-accent, var(--primary));
  border: 1px solid color-mix(in srgb, var(--carrier-accent, var(--primary)) 22%, var(--line));
  flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}
.result-status-meaning-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.result-status-meaning-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.result-status-meaning-text {
  display: block;
  color: var(--heading-color);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.4;
  letter-spacing: -0.005em;
}
.result-status-meaning-action {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}
.result-status-meaning-action:empty { display: none; }

/* Card carrier'ın kendi rengini kullanır (üstteki gradient şeritle senkron).
   Stage farkı görsel olarak SADECE ikon ile yansıtılır — renk değişmez ki
   sayfanın brand kimliği bütün kalsın.
   Sadece "delivered" (step=5) yumuşak yeşil tonuna geçer çünkü teslim edildi
   sinyali brand renginden bağımsız evrensel "tamamlandı" anlamı taşır. */
.result-status-meaning[data-stage="5"] { --carrier-accent: #10b981; }

html[data-theme="dark"] .result-status-meaning {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--carrier-accent, var(--link-color)) 14%, var(--surface)),
    var(--surface) 70%);
  border-color: color-mix(in srgb, var(--carrier-accent, var(--link-color)) 30%, var(--line));
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}
html[data-theme="dark"] .result-status-meaning-icon {
  background: var(--surface-soft);
  border-color: color-mix(in srgb, var(--carrier-accent, var(--link-color)) 35%, var(--line));
}

@keyframes result-status-meaning-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .result-status-meaning { animation: none; }
}

@media (max-width: 480px) {
  .result-status-meaning { gap: 10px; padding: 12px 14px; }
  .result-status-meaning-icon { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; }
  .result-status-meaning-icon svg { width: 20px; height: 20px; }
  .result-status-meaning-text { font-size: 0.94rem; }
  .result-status-meaning-action { font-size: 0.82rem; }
}

/* =========================================================================
   PWA INSTALL BANNER (kt-pwa-banner) — modern notification card
   Üst gradient border + ikon + "+" rozeti + title (YENİ badge ile) + desc + ×
   Tüm kart tıklanabilir → install prompt; × ayrı dismiss.
   ========================================================================= */
.kt-pwa-banner {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom, 16px));
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: calc(100% - 24px);
  max-width: 460px;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(16, 35, 58, 0.04),
    0 12px 28px rgba(16, 35, 58, 0.10),
    0 24px 48px rgba(16, 35, 58, 0.06);
  display: flex;
  align-items: stretch;
  z-index: 9999;
  font-family: inherit;
  color: var(--primary-text-color, #1f2937);
  opacity: 0;
  transition: transform .32s cubic-bezier(.16, 1, .3, 1), opacity .24s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Üst gradient şerit — modern notification feel */
.kt-pwa-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--primary, #1565c0),
    color-mix(in srgb, var(--primary, #1565c0) 60%, #22d3ee 40%),
    var(--primary, #1565c0));
  z-index: 1;
}

.kt-pwa-banner.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.kt-pwa-banner.is-leaving {
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
}

/* Action — kartın ana tıklanabilir alanı (ikon + içerik) */
.kt-pwa-banner-action {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 8px 14px 14px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background .15s ease;
}
.kt-pwa-banner-action:hover {
  background: var(--surface-soft, #f8fafc);
}

/* Brand icon kutusu */
.kt-pwa-banner-icon {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary, #1565c0), var(--primary-strong, #0d4f98));
  color: #fff;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.28);
}
.kt-pwa-banner-icon > svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* "+" rozeti — sağ üst köşede yeşil bildirim noktası */
.kt-pwa-banner-icon-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--surface, #fff);
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}
.kt-pwa-banner-icon-badge svg {
  width: 9px;
  height: 9px;
}

/* Body — title + desc dikey */
.kt-pwa-banner-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.kt-pwa-banner-title-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.kt-pwa-banner-title {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--heading-color, #0f172a);
  letter-spacing: -0.005em;
  line-height: 1.3;
}
/* "YENİ" badge — küçük pill rozet */
.kt-pwa-banner-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--primary, #1565c0);
  background: color-mix(in srgb, var(--primary, #1565c0) 12%, transparent);
  border-radius: 4px;
  text-transform: uppercase;
  line-height: 1.4;
}
.kt-pwa-banner-desc {
  font-size: 0.84rem;
  color: var(--secondary-text-color, #64748b);
  line-height: 1.45;
}

/* Close butonu — × subtle */
.kt-pwa-banner-close {
  flex: 0 0 36px;
  width: 36px;
  height: 32px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--muted, #94a3b8);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background .12s ease, color .12s ease;
  align-self: flex-start;
  margin: 8px 8px 0 0;
  padding: 0;
}
.kt-pwa-banner-close:hover {
  background: var(--surface-soft, #f1f5f9);
  color: var(--primary-text-color, #1f2937);
}
.kt-pwa-banner-close svg {
  width: 14px;
  height: 14px;
}

/* Mobil — daha kompakt */
@media (max-width: 480px) {
  .kt-pwa-banner-action { padding: 12px 6px 12px 12px; gap: 10px; }
  .kt-pwa-banner-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }
  .kt-pwa-banner-icon > svg { width: 22px; height: 22px; }
  .kt-pwa-banner-title { font-size: 0.9rem; }
  .kt-pwa-banner-desc { font-size: 0.8rem; }
  .kt-pwa-banner-badge { font-size: 0.6rem; padding: 2px 6px; }
  .kt-pwa-banner-close { flex: 0 0 32px; width: 32px; margin-right: 6px; }
}

/* Dark mode */
html[data-theme="dark"] .kt-pwa-banner {
  background: var(--surface, #1e293b);
  border-color: var(--line, #334155);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.2),
    0 12px 28px rgba(0, 0, 0, 0.4),
    0 24px 48px rgba(0, 0, 0, 0.2);
}
html[data-theme="dark"] .kt-pwa-banner-action:hover { background: rgba(255, 255, 255, 0.04); }
html[data-theme="dark"] .kt-pwa-banner-close:hover { background: rgba(255, 255, 255, 0.06); }
html[data-theme="dark"] .kt-pwa-banner-icon-badge { border-color: var(--surface, #1e293b); }

/* Reduced motion — animasyonlar pasif */
@media (prefers-reduced-motion: reduce) {
  .kt-pwa-banner { transition: opacity .15s ease; transform: translateX(-50%) translateY(0); }
}

/* ════════════════════════════════════════════════════════════════
   3-STEP "Nasıl Çalışır?" — kart başına UI mockup'lı tasarım
   ════════════════════════════════════════════════════════════════ */
.home-steps {
  background: #ffffff;
  padding: 3rem 0 3.2rem;
}

/* ── HEADER — merkezli, ferah, tipografik hiyerarşili (Stripe/Linear stili) ── */
/* Section header'ları için merkezi blok yukarıda (.home-section-head ailesi).
   Sadece bu section'a özel "title-accent highlight" altta. */
.home-steps-title-accent {
  color: var(--primary);
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.home-steps-title-accent::after {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  bottom: 0.05em;
  height: 0.32em;
  background: color-mix(in srgb, var(--primary) 18%, transparent);
  border-radius: 6px;
  z-index: -1;
}

.home-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  position: relative;
}

@media (min-width: 900px) {
  .home-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* ── KART ── */
.home-step {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem 1.25rem 1.1rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Desktop'ta kartlar arası noktalı dikey çizgi */
@media (min-width: 900px) {
  .home-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 28%;
    bottom: 28%;
    right: -1.05rem;
    width: 1px;
    background-image: linear-gradient(to bottom, #cbd5e1 50%, transparent 50%);
    background-size: 1px 8px;
    background-repeat: repeat-y;
    pointer-events: none;
  }
}

/* ── NUMARA — büyük, kalın, gri-beyaz arası faded watermark stil ── */
.home-step-head {
  margin-bottom: 0.4rem;
  line-height: 1;
}

.home-step-number {
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 900;
  color: #e2e8f0;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
  user-select: none;
}

.home-step-title {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  line-height: 1.35;
  color: #0f172a;
  letter-spacing: -0.005em;
}

.home-step-desc {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 1rem;
  flex-grow: 1;
}

/* ── MOCKUP ALANI (her kartın altındaki ufak UI önizlemesi) ── */
.home-step-mockup {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
}

.home-step-mockup-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0 0 0.6rem;
}

.home-step-mockup-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.home-step-mockup-head .home-step-mockup-label {
  margin: 0;
}

/* ── MOCKUP 1: Gerçek firma logoları (icons.svg sprite) + +N ── */
.home-step-mockup-logos {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: center;
}

.step-logo {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  flex-shrink: 0;
}

.step-logo svg { display: block; }

.step-logo-more {
  background: transparent;
  color: #94a3b8;
  border: 1px dashed #cbd5e1;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* ── MOCKUP 2: Search input + carrier badge ── */
.home-step-mockup-input {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid #b7cbe5;
  background: #ffffff;
  border-radius: 9px;
}

.home-step-mockup-input svg {
  width: 14px;
  height: 14px;
  color: #94a3b8;
  flex-shrink: 0;
}

.home-step-mockup-input-text {
  font-family: "SF Mono", Consolas, Menlo, monospace;
  font-size: 0.82rem;
  color: #0f172a;
  letter-spacing: 0.02em;
  flex: 1;
}

.step-cursor {
  display: inline-block;
  width: 1.5px;
  height: 0.95em;
  background: var(--primary);
  animation: step-cursor-blink 1s steps(1) infinite;
}

@keyframes step-cursor-blink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.step-badge {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 22px;
  padding: 0 0.5rem;
  border-radius: 6px;
  background: #e7f0fb;
  color: var(--primary-strong);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* ── MOCKUP 3: Hareket geçmişi listesi + CANLI rozeti ── */
.step-live {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-transform: uppercase;
}

.step-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
  /* Yanıp sönen halo efekti — yeşil daire sabit, çevresinde genişleyip
     kaybolan yeşil ring (sonar pulse). Box-shadow spread anime edilir. */
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55);
  animation: step-live-pulse 1.6s ease-out infinite;
}

@keyframes step-live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.home-step-mockup-events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.home-step-mockup-events li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: #475569;
}

.home-step-mockup-events li > span:nth-of-type(2) {
  flex: 1;
}

.home-step-mockup-events li.is-active {
  color: var(--primary-strong);
  font-weight: 600;
}

.home-step-mockup-events li.is-active > span:nth-of-type(2) {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.step-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-dot-done   { background: #16a34a; }
.step-dot-active {
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.2);
}

.home-step-mockup-events time {
  font-size: 0.7rem;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .step-cursor,
  .step-live::before {
    animation: none;
  }
}

/* ════════════════════════════════════════════════════════════════════════
   ANASAYFA — Modern Layout — Hero altı bölümler
   Sections (top → bottom):
     1. .home-steps-section      → 3 adımlı "Nasıl Çalışır?"
     2. .home-features-section   → 6'lı özellik kartı grid
     3. .home-carriers-section   → desteklenen taşıyıcı showcase
     4. .home-faq                → SSS 2 sütunlu grid
     5. .home-blog-section       → kapak görselli blog kartları

   ────────────────────────────────────────────────────────────────────────
   ORTAK SECTION HEADER PATTERN (DRY)
   Tüm 5 section header'ı aynı tasarım kullanır:
     - Kicker: sade uppercase 0.9rem mavi text (pill yok, çizgi yok)
     - Title:  clamp font, 800 weight, koyu metin, rahat letter-spacing
     - Subtitle: 0.98rem gri, max-width centered
     - Head wrapper: text-align center, alt margin
   Önceden 5x ayrı tanımlıydı — burada tek yerde grouped selector ile.
   ════════════════════════════════════════════════════════════════════════ */
.home-faq-head,
.home-steps-head,
.home-features-head,
.home-carriers-head,
.home-blog-head {
  text-align: center;
  margin-bottom: 2.4rem;
}

.home-faq-kicker,
.home-steps-kicker,
.home-features-kicker,
.home-carriers-kicker,
.home-blog-kicker {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 0.85rem;
}

/* Steps & Features kicker dot'ları gizli (sade text yeterli) */
.home-steps-kicker-dot,
.home-features-kicker-dot { display: none; }

.home-faq-title,
.home-steps-title,
.home-features-title,
.home-carriers-title,
.home-blog-title {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 800;
  margin: 0 0 0.7rem;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

/* Title içindeki primary-renk vurgusu (örn. "Kargonuzu Bulun") */
.home-features-title-accent,
.home-carriers-title-accent {
  color: var(--primary);
}

.home-faq-subtitle,
.home-steps-subtitle,
.home-features-subtitle,
.home-carriers-subtitle,
.home-blog-subtitle {
  font-size: 0.98rem;
  color: #475569;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Subtitle'da bold vurgu (steps section'da "saniyeler içinde" gibi) */
.home-steps-subtitle strong {
  color: #0f172a;
  font-weight: 700;
}

/* ──────────────────────────────────────────────────────────────────────
   Section padding ve arka plan farkları
   ────────────────────────────────────────────────────────────────────── */
/* Tüm anasayfa section'ları aynı padding ve aynı beyaz arka plan — uniform akış */
.home-features-section,
.home-carriers-section,
.home-blog-section {
  padding: 4rem 0;
  background: #ffffff;
}

/* ════════ FEATURES GRID ════════ */
/* Section header'ları için merkezi blok yukarıda (.home-section-head ailesi). */
.home-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 720px) { .home-features-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; } }
@media (min-width: 1024px) { .home-features-grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }
.home-feature-card {
  position: relative;
  padding: 1.5rem 1.4rem 1.3rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.home-feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -12px rgba(21, 101, 192, 0.18);
}
.home-feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: #e7f0fb;
  color: var(--primary);
  margin-bottom: 0.85rem;
}
.home-feature-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: #0f172a;
  letter-spacing: -0.005em;
}
.home-feature-card-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* ════════ CARRIERS SHOWCASE ════════ */
/* Background özellikle TANIMLANMIYOR — anasayfa geneli beyaz kalır
   (#f8fafc gri tonu kullanıcı isteğiyle kaldırıldı; uniform beyaz). */
/* Section header'ları için merkezi blok aşağıda (.home-section-head ailesi). */
.home-carriers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin-top: 2rem;
}
@media (min-width: 640px) { .home-carriers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .home-carriers-grid { grid-template-columns: repeat(3, 1fr); gap: 0.85rem; } }
.home-carrier-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.home-carrier-card:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -8px rgba(21, 101, 192, 0.18);
}
.home-carrier-card-logo {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}
.home-carrier-card-logo svg { display: block; }
.home-carrier-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.home-carrier-card-name {
  font-size: 0.93rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.005em;
}
.home-carrier-card-meta {
  font-size: 0.74rem;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-carrier-card-arrow {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #94a3b8;
  transition: color 0.15s ease, transform 0.15s ease;
}
.home-carrier-card:hover .home-carrier-card-arrow {
  color: var(--primary);
  transform: translateX(3px);
}

/* ════════ BLOG MODERN CARDS ════════ */
.home-blog-section { background: #ffffff; }
/* Section header'ları için merkezi blok aşağıda (.home-section-head ailesi). */
.home-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
@media (min-width: 720px) { .home-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .home-blog-grid { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; } }
.home-blog-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.home-blog-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -16px rgba(15, 23, 42, 0.18);
}
.home-blog-card-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
  overflow: hidden;
}
.home-blog-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.home-blog-card:hover .home-blog-card-cover img { transform: scale(1.04); }
.home-blog-card-cover-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #cbd5e1;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}
.home-blog-card-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.32rem 0.7rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.home-blog-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.25rem 1.3rem 1.4rem;
}
.home-blog-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.home-blog-card-title a { color: #0f172a; text-decoration: none; transition: color 0.15s ease; }
.home-blog-card-title a:hover { color: var(--primary); }
.home-blog-card-excerpt {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.7rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.78rem;
  color: #94a3b8;
}
.home-blog-card-meta-item { display: inline-flex; align-items: center; gap: 0.32rem; }
.home-blog-card-meta-item svg { flex-shrink: 0; }

/* ════════ FINAL CTA MODERN ════════ */
.home-final-cta-modern { padding: 4rem 0; background: #ffffff; }
.home-final-cta-modern-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
}
.home-final-cta-modern-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.18) 0, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.12) 0, transparent 50%);
}
.home-final-cta-modern-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.home-final-cta-modern-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.3rem;
}
.home-final-cta-modern-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
  flex-shrink: 0;
}
.home-final-cta-modern-title {
  font-size: clamp(1.85rem, 3.8vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 0.85rem;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.home-final-cta-modern-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 2rem;
  line-height: 1.55;
}
.home-final-cta-modern-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.home-final-cta-modern-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: all 0.15s ease;
  border: 1.5px solid transparent;
}
.home-final-cta-modern-btn-primary {
  background: #ffffff;
  color: var(--primary);
}
.home-final-cta-modern-btn-primary:hover {
  background: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.2);
}
.home-final-cta-modern-btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}
.home-final-cta-modern-btn-ghost:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}
@media (max-width: 640px) {
  .home-final-cta-modern-card { padding: 2.4rem 1.4rem; border-radius: 18px; }
  .home-final-cta-modern-actions { flex-direction: column; align-items: stretch; }
  .home-final-cta-modern-btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .home-feature-card,
  .home-carrier-card,
  .home-blog-card,
  .home-blog-card-cover img,
  .home-final-cta-modern-btn { transition: none; transform: none !important; }
}

/* =====================================================================
   is-failed — "Teslim Edilemedi" stage state.
   Bu kurallar dosyanın EN SONUNDA bulunmalı çünkü daha yukarıda
   `.progress-step.is-complete .progress-circle::after` (tik shape) ve
   `.progress-step.is-active .progress-circle::after` (yeşil nokta) override
   olarak yeniden tanımlanıyor. Aynı specificity'de daha sonra gelen kazanır,
   o yüzden burada toplandı. Plus `!important` ile takviye — başka inline
   stilin veya specific selector'ın altında ezilmesini önler.
   ===================================================================== */
.progress-step.is-failed .progress-circle {
  border-color: #dc2626 !important;
  background: #dc2626 !important;
  /* HTML'de step numarası ("5") span içinde — gizli kalmalı, X yerine
     üst üste binmemeli. */
  color: transparent !important;
  animation: progress-failed-pulse 1.8s ease-in-out infinite !important;
  /* progress-circle yukarıda overflow:hidden ile clip ediyor; X glyph'in
     daire dışına taşmadığından emin ol. */
  overflow: hidden;
}

.progress-step.is-failed .progress-circle::after {
  /* Yukarıdaki is-complete (rotate-45 L) ve is-active (nokta) tanımlarını
     komple ezmek için tüm geometriyi sıfırla. */
  content: "\00d7" !important;            /* U+00D7 MULTIPLICATION SIGN — × */
  color: #fff !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  background: transparent !important;
  border: 0 !important;                   /* is-complete'in border-right/bottom L'ini sil */
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -65%) !important;  /* glyph optik ortalama */
  box-sizing: border-box !important;
}

.progress-step.is-failed small {
  color: #dc2626 !important;
  font-weight: 700 !important;
}

/* Pulse animasyonu — sadece dış halo (box-shadow). Daire dolgusunu
   animate etmiyor ki X glyph net okunsun. */
@keyframes progress-failed-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
  }
}

/* 4 → 5 arası bağlantı bandını kırmızıya çek. Default `.progress-line::after`
   #22ae79 (yeşil) — has-failed-tail wrapper class'ı ile override. */
.progress-wrap.has-failed-tail .progress-line::after {
  background: #dc2626 !important;
}
/* Tail aktif iken 4→5 dışındaki yeşil bandın (::before) da 4. step'te
   bitmesi gerekiyor — site.js --progress-complete-width'i 4. step pozisyonuna
   set ediyor, CSS otomatik orantılar. Yeşil ::before kaynak olduğu için
   ekstra renk override gerekmez. */
