/* ==========================================================================
   KargoKıyasla — Modern Kargo Fiyat Karşılaştırma Platformu Tasarım Sistemi
   Mimari: Token tabanlı, mobil öncelikli, yerel WOFF2 fontlu, CLS=0 CSS
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  /* Yüzey ve Arka Plan Sistemi */
  --bg: #f5f8fc;
  --bg-accent: #eef3fb;
  --surface: #ffffff;
  --surface-subtle: #f8fafc;
  --surface-muted: #f1f5f9;
  --surface-elevated: #ffffff;

  /* Marka ve Vurgu Renkleri (Modern SaaS Mavi + Koyu Lacivert) */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-active: #1e40af;
  --primary-soft: #eff6ff;
  --primary-soft-hover: #dbeafe;
  --primary-border: #bfdbfe;

  --navy: #0f172a;
  --navy-mid: #1e293b;
  --navy-soft: #334155;

  /* Geriye Dönük Değişken Uyumluluğu (Kampanya / Yurt Dışı Alt Modüller) */
  --cta: #2563eb;
  --cta-hover: #1d4ed8;
  --cta-soft: #eff6ff;
  --cta-border: #bfdbfe;

  /* Başarı / En Uygun Fiyat (Kontrollü Zümrüt Yeşili) */
  --emerald: #047857;
  --emerald-vivid: #059669;
  --emerald-soft: #ecfdf5;
  --emerald-tint: #f2fdf8;
  --emerald-border: #6ee7b7;

  /* Kampanya / Fırsat Mikro Vurgusu (Yalnızca Küçük Rozetler İçin) */
  --campaign: #ea580c;
  --campaign-soft: #fff7ed;
  --campaign-border: #fed7aa;

  /* Uyarı ve Hata Durumları */
  --amber-text: #92400e;
  --amber-bg: #fffbeb;
  --amber-border: #fde68a;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;

  /* Metin ve Kenarlık Hiyerarşisi */
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  /* Köşe Yuvarlaklıkları ve Gölgeler */
  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 26px -6px rgba(15, 23, 42, 0.07), 0 3px 8px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 18px 40px -10px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-primary: 0 8px 20px -4px rgba(37, 99, 235, 0.34);
  --shadow-emerald: 0 10px 26px -8px rgba(5, 150, 105, 0.16);

  /* Tipografi */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ==========================================================================
   1. Temel Sıfırlama ve Erişilebilirlik
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 80% 420px at 50% 0%, rgba(37, 99, 235, 0.065), transparent 72%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-top: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.16s ease;
}

a:hover {
  color: var(--primary-hover);
}

img,
svg {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.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;
}

.ui-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: middle;
}

.ui-icon-xs {
  width: 14px;
  height: 14px;
}

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

.ui-icon-lg {
  width: 22px;
  height: 22px;
}

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

.ui-icon-spin {
  animation: kd-spin 0.85s linear infinite;
}

/* ==========================================================================
   2. Sticky Header & Mobil Navigasyon
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.92);
}

/* Eski topbar yapısı hala bir sayfada kalırsa sadeleştirilir */
.header-topbar {
  display: none;
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.brand-home {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}

.brand-logo-box {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.brand-home:hover .brand-logo-box {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.18);
}

.brand-emblem-svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.brand-title span {
  color: var(--primary);
}

.brand-tagline {
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin-top: 2px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.nav-tab .ui-icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  transition: color 0.16s ease;
}

.nav-tab:hover {
  background: var(--surface-muted);
  color: var(--navy);
}

.nav-tab:hover .ui-icon {
  color: var(--primary);
}

.nav-tab.active {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.18);
}

.nav-tab.active .ui-icon {
  color: var(--primary);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  margin-left: 6px;
  padding: 8px 15px;
  border-radius: 10px;
  background: var(--navy);
  color: #ffffff !important;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: var(--shadow-xs);
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.nav-cta-btn:hover {
  background: var(--primary);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 13px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.mobile-menu-toggle:hover {
  background: var(--surface-subtle);
  border-color: var(--border-strong);
}

.mobile-menu-toggle .menu-icon-close {
  display: none;
}

.mobile-menu-toggle.is-open {
  background: var(--primary-soft);
  border-color: var(--primary-border);
  color: var(--primary);
}

.mobile-menu-toggle.is-open .menu-icon-bars {
  display: none;
}

.mobile-menu-toggle.is-open .menu-icon-close {
  display: block;
}

/* ==========================================================================
   3. Ana Konteyner ve Hero Alanı
   ========================================================================== */
.page-shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 24px 56px;
  flex: 1;
}

.hero {
  margin-bottom: 22px;
}

.hero:not(.hero-platform) {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(191, 219, 254, 0.72);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 20px;
}

.hero-main {
  max-width: 840px;
}

.hero.hero-platform {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 60%, #eef5ff 100%);
  border: 1px solid rgba(191, 219, 254, 0.72);
  border-radius: var(--radius-xl);
  padding: 20px 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.hero.hero-platform::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.09) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.88fr);
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-vivid);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.hero h1 {
  font-size: clamp(1.65rem, 2.9vw, 2.35rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 10px;
}

.hero h1 .hero-highlight {
  color: var(--primary);
}

.hero-subtitle {
  margin: 0;
  font-size: clamp(0.94rem, 1.25vw, 1.04rem);
  line-height: 1.58;
  color: var(--text-secondary);
  max-width: 64ch;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 16px;
}

.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-mid);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 11px;
}

.hero-trust-pill svg {
  width: 14px;
  height: 14px;
  color: var(--emerald-vivid);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: var(--shadow-primary);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.hero-cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -5px rgba(37, 99, 235, 0.42);
  color: #ffffff !important;
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--navy-mid);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.hero-cta-secondary:hover {
  background: var(--surface-subtle);
  border-color: var(--primary-border);
  color: var(--primary);
}

/* Sağ Taraf İllüstratif Karşılaştırma Önizleme Kartı */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-preview-card {
  width: 100%;
  max-width: 370px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow-md);
}

.hero-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--surface-muted);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-preview-route {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--navy);
  font-weight: 700;
}

.hero-preview-save {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-preview-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface-subtle);
}

.hero-preview-row.is-best {
  background: var(--emerald-tint);
  border-color: var(--emerald-border);
}

.hero-preview-carrier {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.hero-preview-dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

.hero-preview-dot.is-emerald {
  background: #d1fae5;
  color: #065f46;
}

.hero-preview-dot.is-blue {
  background: #dbeafe;
  color: #1e40af;
}

.hero-preview-dot.is-slate {
  background: #e2e8f0;
  color: #334155;
}

.hero-preview-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.hero-preview-name {
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--navy);
}

.hero-preview-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-preview-row.is-best .hero-preview-tag {
  color: var(--emerald);
}

.hero-preview-price {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}

.hero-preview-row.is-best .hero-preview-price {
  color: var(--emerald);
  font-size: 0.98rem;
}

/* Alt Sayfa Breadcrumb & Resmi Not */
.seo-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 10px;
}

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

.seo-breadcrumb a:hover {
  color: var(--primary);
}

.seo-official-note {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ==========================================================================
   4. Ana Hesaplama ve Karşılaştırma Çalışma Alanı (.main-grid — Odaklı Tek Sütun)
   ========================================================================== */
.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.form-card {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px 26px;
  position: static;
  scroll-margin-top: 82px;
}

/* Modül Üst Başlığı + Kapsam Sekmeleri (Masaüstünde Yatay Hiza) */
.form-module-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.form-module-head .card-header-row {
  width: 100%;
  margin-bottom: 0;
  justify-content: flex-start;
  gap: 10px;
}

.form-module-head .calc-scope-tabs {
  margin-bottom: 0;
  min-width: 390px;
}

@media (max-width: 900px) {
  .form-module-head {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 14px;
  }

  .form-module-head .card-header-row {
    justify-content: space-between;
  }

  .form-module-head .calc-scope-tabs {
    min-width: 0;
    width: 100%;
  }
}

/* Yurt İçi / Yurt Dışı Kapsam Sekmeleri */
.calc-scope-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  border-radius: 13px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.calc-scope-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.calc-scope-tab:hover {
  color: var(--navy);
}

.calc-scope-tab.is-active {
  background: var(--surface);
  color: var(--primary);
  font-weight: 700;
  box-shadow: var(--shadow-xs);
}

.calc-scope-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary);
}

.calc-scope-tab:not(.is-active) .calc-scope-badge {
  background: rgba(148, 163, 184, 0.18);
  color: var(--text-muted);
}

.card-header,
.card-header-row {
  margin-bottom: 14px;
}

.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-header-row h2 {
  font-size: 1.06rem;
  font-weight: 800;
  margin: 0;
  color: var(--navy);
}

.form-header-pill {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: 0.73rem;
  font-weight: 700;
  white-space: nowrap;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-title-row h2 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0;
  color: var(--navy);
}

.card-title-row h2 .ui-icon {
  color: var(--primary);
}

.card-subtitle-note {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* 3 Adımlı Modern Form Akışı */
.form-stepper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-step {
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface-subtle);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.form-step.is-open {
  background: var(--surface);
  border-color: var(--primary-border);
  box-shadow: 0 6px 18px -6px rgba(37, 99, 235, 0.12);
}

.form-step.is-done:not(.is-open) {
  background: var(--surface);
  border-color: var(--border);
}

.step-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  border-radius: 15px;
  min-height: 54px;
}

.step-header:hover {
  background: rgba(37, 99, 235, 0.025);
}

.step-badge {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  background: var(--surface-muted);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  flex-shrink: 0;
  transition: all 0.16s ease;
}

.form-step.is-open .step-badge {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.28);
}

.form-step.is-done:not(.is-open) .step-badge {
  background: var(--emerald-soft);
  border-color: var(--emerald-border);
  color: var(--emerald);
}

.step-title-group,
.step-header-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 0.91rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.step-summary {
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.form-step.is-done:not(.is-open) .step-summary {
  color: var(--text-secondary);
  font-weight: 600;
}

.step-action,
.step-action-label {
  flex-shrink: 0;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-muted);
  color: var(--text-secondary);
  transition: background-color 0.16s ease, color 0.16s ease;
}

.form-step.is-open .step-action,
.form-step.is-open .step-action-label,
.form-step.is-done:not(.is-open) .step-action,
.form-step.is-done:not(.is-open) .step-action-label {
  background: var(--primary-soft);
  color: var(--primary);
}

.step-body {
  padding: 2px 14px 15px;
}

/* Rota Kutuları (Adım 1) */
.route-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.route-box,
.location-box {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.route-box-head,
.location-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.location-box > .section-label,
.location-box-head .section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--navy-mid);
}

.location-box-head .section-label .ui-icon,
.location-box > .section-label .ui-icon {
  color: var(--primary);
}

.route-box-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy-mid);
}

.route-box-title::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.route-stack .route-box:last-child .route-box-title::before {
  background: var(--emerald-vivid);
}

.locate-origin-btn,
.locate-clean-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--primary-border);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.locate-origin-btn:hover,
.locate-clean-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.locate-origin-btn.is-active,
.locate-clean-btn.is-active {
  background: var(--emerald-soft);
  border-color: var(--emerald-border);
  color: var(--emerald);
}

.locate-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.85;
}

.swap-divider {
  display: flex;
  justify-content: center;
  margin: -10px 0;
  position: relative;
  z-index: 2;
}

.swap-route-btn,
.swap-pill-btn {
  min-height: 32px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--navy-mid);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.swap-route-btn:hover,
.swap-pill-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.field label,
.section-label {
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.field label .muted,
.muted {
  font-weight: 400;
  color: var(--text-muted);
}

.field select,
.field input[type="number"],
.field input[type="text"],
.field input[type="search"],
.text-input {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background-color: var(--surface);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 500;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field select {
  appearance: none;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.field select:hover,
.field input:hover,
.text-input:hover {
  border-color: #94a3b8;
}

.field select:focus,
.field input:focus,
.text-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.island-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  color: var(--amber-text);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
}

.geo-status-note {
  margin-top: 8px;
  padding: 8px 11px;
  border-radius: 9px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary-active);
  font-size: 0.8rem;
  font-weight: 500;
}

.geo-status-note.is-error {
  background: var(--danger-bg);
  border-color: var(--danger-border);
  color: var(--danger);
}

/* Adım Geçiş Butonu */
.step-next-btn {
  width: 100%;
  margin-top: 12px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 11px;
  border: 1px solid var(--primary-border);
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.14s ease;
}

.step-next-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.step-next-btn.is-secondary-mode {
  background: var(--surface-muted);
  border-color: var(--border);
  color: var(--text-secondary);
}

/* Gönderi Türü ve Teslimat Şekli (Adım 2) */
.toggles-row,
.toggles-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.toggle-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

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

.segmented input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 11px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.segmented label:hover {
  border-color: var(--border-strong);
  color: var(--navy);
}

.segmented input[type="radio"]:checked + label {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.segmented input[type="radio"]:focus-visible + label {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.mode-hint-note {
  margin: 2px 0 0;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Paket Ölçüleri ve Görsel Hazır Boyut Kartları (Adım 3) */
.dimensions-panel,
.package-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.box-size-presets {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.box-size-presets-label {
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.preset-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.box-size-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.box-size-grid .box-preset-btn:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.box-preset-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  min-height: 58px;
  border-radius: 11px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease, transform 0.14s ease;
}

.box-preset-btn:hover {
  border-color: var(--primary-border);
  background: var(--surface-subtle);
}

.box-preset-btn.is-active {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.12);
}

.preset-box-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--surface-muted);
  color: var(--navy-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.box-preset-btn.is-active .preset-box-icon {
  background: #dbeafe;
  color: var(--primary);
}

.preset-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.preset-name,
.box-preset-name {
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  display: block;
}

.preset-dims,
.box-preset-meta {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  display: block;
}

.preset-desi {
  display: inline-block;
  margin-top: 1px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.dim-inputs,
.dims-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.dim-inputs .field input,
.dims-grid .field input {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.live-desi-bar,
.desi-live-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 10px 13px;
  border-radius: 11px;
  background: linear-gradient(90deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px solid var(--primary-border);
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.live-desi-bar strong,
.desi-live-bar strong {
  color: var(--primary-active);
  font-weight: 700;
}

.chargeable-pill {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--primary-border);
  font-size: 0.77rem;
}

.doc-banner,
.doc-info-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 13px;
  border-radius: 11px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--navy-mid);
  font-size: 0.83rem;
  line-height: 1.5;
}

.doc-banner .ui-icon,
.doc-info-box .ui-icon {
  color: var(--primary);
  margin-top: 2px;
}

.error-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 11px;
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger);
  font-size: 0.84rem;
  font-weight: 600;
}

.step-body[hidden],
.submit-wrap[hidden] {
  display: none !important;
}

.submit-wrap {
  margin-top: 14px;
}

.primary-btn {
  width: 100%;
  min-height: 52px;
  padding: 13px 20px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.primary-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -5px rgba(37, 99, 235, 0.44);
  filter: brightness(1.03);
}

.primary-btn:active:not(:disabled) {
  transform: translateY(0);
}

.primary-btn:disabled {
  opacity: 0.72;
  cursor: wait;
  box-shadow: none;
}

/* Masaüstü Yatay Karşılaştırma Modülü Düzeni (Enuygun / Obilet Hissi) */
@media (min-width: 901px) {
  .step-body:not([hidden]) {
    display: flex;
    flex-direction: column;
    padding: 4px 16px 16px;
  }

  .location-box-head {
    min-height: 30px;
  }

  .route-stack:not(.route-intl-stack) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
  }

  .route-stack:not(.route-intl-stack) .swap-divider {
    margin: 0;
    align-items: center;
  }

  .route-stack:not(.route-intl-stack) .swap-pill-btn {
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 50%;
  }

  .route-stack:not(.route-intl-stack) .swap-pill-btn span {
    display: none;
  }

  .route-stack.route-intl-stack {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 16px;
  }

  .toggles-stack {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }

  .box-size-grid {
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    gap: 10px;
  }

  .box-size-grid .box-preset-btn:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .step-next-btn {
    width: auto;
    min-width: 260px;
    padding: 10px 22px;
    align-self: flex-end;
  }

  .submit-wrap:not([hidden]) {
    display: flex;
    justify-content: flex-end;
  }

  .submit-wrap .primary-btn {
    width: auto;
    min-width: 310px;
    padding: 13px 30px;
  }
}

/* Form Altı Karşılaştırılan Firma Logoları Güven Şeridi */
.form-carrier-footer {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
}

.form-carrier-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.form-carrier-title {
  font-family: var(--font-display);
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--navy);
}

.form-carrier-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.form-carrier-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

@media (max-width: 640px) {
  .form-carrier-footer {
    margin-top: 14px;
    padding-top: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .form-carrier-logos .carrier-logo-tile.logo-sm {
    width: 50px;
    height: 32px;
    padding: 3px 5px;
  }
}

/* ==========================================================================
   4B. Tek Ekran Akıllı Gönderi Modülü & Yazarak Hızlı İl/İlçe/Ülke Arama
   ========================================================================== */
.sr-step-summaries[hidden],
.custom-dims-drawer[hidden],
.dest-zip-drawer[hidden],
.smart-combo-dropdown[hidden],
.doc-info-box[hidden],
.island-hint[hidden],
.error-banner[hidden] {
  display: none !important;
}

.sr-shipment-radios,
.sr-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#hesaplama-alani,
.form-card,
#results-section {
  scroll-margin-top: 84px;
}

.smart-form-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.smart-route-section {
  position: relative;
  z-index: 25;
}

/* Tek Birleşik Rota Kapsülü (Nereden ⇄ Nereye · Enuygun / Obilet Stili) */
.unified-route-capsule {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  border-radius: 16px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  box-shadow: 0 4px 14px -6px rgba(15, 23, 42, 0.06);
}

.route-capsule-side {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 16px 14px;
  transition: background-color 0.16s ease;
}

.route-capsule-side.is-origin {
  padding-right: 26px;
  border-radius: 15px 0 0 15px;
}

.route-capsule-side.is-dest {
  padding-left: 26px;
  border-radius: 0 15px 15px 0;
}

.route-capsule-side:hover,
.route-capsule-side.has-open-combo {
  background: #fbfdff;
}

.route-capsule-side.has-open-combo {
  z-index: 40;
}

.route-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 30px;
}

.route-side-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy-mid);
  cursor: pointer;
}

.route-capsule-side.is-origin .route-side-label .ui-icon {
  color: var(--primary);
}

.route-capsule-side.is-dest .route-side-label .ui-icon {
  color: var(--emerald);
}

.route-side-hint {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.route-aux-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface-subtle);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.route-aux-pill-btn:hover,
.route-aux-pill-btn.is-active {
  border-color: var(--primary-border);
  background: var(--primary-soft);
  color: var(--primary);
}

.dest-zip-drawer:not([hidden]) {
  margin-top: 2px;
}

.route-capsule-swap {
  position: relative;
  width: 1px;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 32;
}

.capsule-swap-btn,
.capsule-arrow-badge {
  position: relative;
  width: 38px;
  height: 38px;
  min-height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--navy-mid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}

.capsule-swap-btn {
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.22s ease;
}

.capsule-swap-btn:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
  transform: rotate(180deg);
}

.capsule-swap-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.capsule-arrow-badge {
  border-color: var(--primary-border);
  background: var(--surface-subtle);
  color: var(--primary);
}

.smart-route-section .location-box {
  padding: 13px 15px;
  border-radius: 14px;
}

.location-box.has-open-combo {
  position: relative;
  z-index: 35;
  border-color: var(--primary-border);
}

.field.has-open-combo {
  position: relative;
  z-index: 45;
}

/* Yazarak Hızlı Arama Combobox (Birleşik İl·İlçe & 200+ Ülke) */
.smart-combo,
.unified-loc-combo {
  position: relative;
  width: 100%;
}

.smart-combo.is-open,
.unified-loc-combo.is-open {
  z-index: 55;
}

.unified-route-capsule .field .smart-combo-input {
  min-height: 46px;
  padding: 10px 38px 10px 13px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background-color: var(--surface-subtle);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.unified-route-capsule .field .smart-combo-input:hover {
  background-color: var(--surface);
  border-color: var(--border-strong);
}

.unified-route-capsule .smart-combo.is-open .smart-combo-input,
.unified-route-capsule .unified-loc-combo.is-open .smart-combo-input,
.unified-route-capsule .field .smart-combo-input:focus {
  background-color: var(--surface);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.unified-loc-combo.is-open .smart-combo-toggle {
  color: var(--primary);
}

.unified-loc-combo.is-open .smart-combo-toggle svg {
  transform: rotate(180deg);
}

.unified-loc-dropdown:not([hidden]) {
  max-height: 306px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.unified-options-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  max-height: 246px;
}

.unified-dropdown-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 4px 7px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.unified-CurrentDist-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid var(--primary-border);
  background: var(--primary-soft);
  color: var(--navy);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.unified-CurrentDist-btn:hover {
  background: #dbeafe;
}

.unified-bar-action {
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  font-size: 0.77rem;
}

.unified-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  color: var(--primary);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.unified-back-btn:hover {
  background: var(--primary-soft);
  border-color: var(--primary-border);
}

.unified-bar-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--navy-mid);
  padding-right: 4px;
}

.smart-combo-opt-group.is-city {
  background: var(--primary-soft);
  color: var(--primary);
}

.smart-combo-opt-group.is-island {
  background: var(--amber-bg);
  color: var(--amber-text);
  border: 1px solid var(--amber-border);
}

.smart-combo-control {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.field .smart-combo-input {
  width: 100%;
  min-height: 44px;
  padding: 9px 36px 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background-color: var(--surface);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field .smart-combo-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.field .smart-combo-input:hover {
  border-color: #94a3b8;
}

.smart-combo.is-open .smart-combo-input,
.field .smart-combo-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.smart-combo-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.smart-combo-toggle:hover {
  color: var(--primary);
  background: var(--surface-subtle);
}

.smart-combo-toggle svg {
  transition: transform 0.16s ease;
}

.smart-combo.is-open .smart-combo-toggle {
  color: var(--primary);
}

.smart-combo.is-open .smart-combo-toggle svg {
  transform: rotate(180deg);
}

.smart-combo-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  max-height: 252px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 5px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--primary-border);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.18), 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  z-index: 70;
}

.smart-combo-group {
  padding: 7px 10px 4px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  user-select: none;
}

.smart-combo-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.1s ease, color 0.1s ease;
}

.smart-combo-option.is-highlighted {
  background: var(--primary-soft);
  color: var(--primary);
}

.smart-combo-option.is-selected {
  font-weight: 700;
  color: var(--primary);
}

.smart-combo-opt-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.smart-combo-opt-group {
  flex-shrink: 0;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--surface-muted);
  color: var(--text-muted);
  font-size: 0.69rem;
  font-weight: 600;
}

.smart-combo-empty {
  padding: 12px 10px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Tek Tık Görsel Paket & Dosya Seçim Bölümü */
.smart-pkg-section {
  position: relative;
  z-index: 10;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.smart-pkg-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.smart-pkg-title-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.smart-pkg-title-group .section-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-mid);
}

.smart-selected-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.custom-dims-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--navy-mid);
  font-family: inherit;
  font-size: 0.77rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.custom-dims-toggle-btn:hover,
.custom-dims-toggle-btn.is-active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
}

.custom-dims-toggle-btn:focus-visible,
.doc-preset-btn:focus-visible,
.box-preset-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.doc-preset-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  min-height: 58px;
  border-radius: 11px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease, transform 0.14s ease;
}

.doc-preset-btn:hover {
  border-color: var(--primary-border);
  background: var(--surface-subtle);
}

.doc-preset-btn.is-active {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.12);
}

.doc-preset-btn.is-active .preset-box-icon {
  background: #dbeafe;
  color: var(--primary);
}

.smart-form-stack .smart-preset-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
}

.smart-form-stack .smart-preset-grid.is-intl-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.smart-form-stack .smart-preset-grid .box-preset-btn,
.smart-form-stack .smart-preset-grid .doc-preset-btn {
  padding: 9px 10px;
  gap: 9px;
}

.smart-form-stack .smart-preset-grid .box-preset-btn:last-child:nth-child(odd) {
  grid-column: auto;
}

/* Özel Ölçü / Kg Çekmecesi */
.custom-dims-drawer:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px dashed var(--primary-border);
}

/* Kompakt Teslimat Seçici + Her Zaman Görünür CTA Alt Çubuğu */
.smart-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 14px;
  border-radius: 14px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
}

.smart-delivery-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.smart-delivery-label {
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--navy-mid);
  white-space: nowrap;
}

.smart-action-bar .segmented.is-compact {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 5px;
  padding: 4px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.smart-action-bar .segmented.is-compact label {
  min-height: 38px;
  padding: 6px 13px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 0.82rem;
  white-space: nowrap;
}

.smart-action-bar .segmented.is-compact input[type="radio"]:checked + label {
  background: var(--primary-soft);
  border-color: var(--primary-border);
  color: var(--primary);
  box-shadow: none;
}

.mode-eco-tag {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
  font-size: 0.66rem;
  font-weight: 700;
}

.smart-action-bar .submit-wrap {
  margin-top: 0;
  flex-shrink: 0;
}

.smart-action-bar .submit-wrap .primary-btn {
  min-height: 48px;
  min-width: 280px;
  padding: 12px 28px;
}

@media (max-width: 1120px) {
  .smart-form-stack .smart-preset-grid,
  .smart-form-stack .smart-preset-grid.is-intl-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .unified-route-capsule {
    grid-template-columns: minmax(0, 1fr);
  }

  .route-capsule-side.is-origin {
    padding: 12px 14px 16px;
    border-radius: 15px 15px 0 0;
  }

  .route-capsule-side.is-dest {
    padding: 15px 14px 13px;
    border-radius: 0 0 15px 15px;
  }

  .route-capsule-swap {
    width: 100%;
    height: 1px;
    justify-content: center;
    padding-right: 0;
  }

  .capsule-swap-btn,
  .capsule-arrow-badge {
    width: 34px;
    height: 34px;
    min-height: 34px;
  }

  .capsule-swap-btn svg,
  .capsule-arrow-badge svg {
    transform: rotate(90deg);
  }

  .capsule-swap-btn:hover {
    transform: none;
  }

  .smart-action-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px;
  }

  .smart-delivery-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .smart-action-bar .segmented.is-compact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: 100%;
  }

  .smart-action-bar .segmented.is-compact label {
    justify-content: center;
    padding: 6px 8px;
    font-size: 0.79rem;
  }

  .smart-action-bar .submit-wrap {
    width: 100%;
  }

  .smart-action-bar .submit-wrap .primary-btn {
    width: 100%;
    min-width: 0;
    min-height: 52px;
  }
}

@media (max-width: 640px) {
  #hesaplama-alani,
.form-card,
#results-section {
  scroll-margin-top: 84px;
}

.smart-form-stack {
    gap: 12px;
  }

  .smart-route-section .location-box,
  .smart-pkg-section {
    padding: 12px;
    border-radius: 13px;
  }

  .field .smart-combo-input {
    min-height: 48px;
    font-size: 1rem;
  }

  .smart-form-stack .smart-preset-grid,
  .smart-form-stack .smart-preset-grid.is-intl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .smart-form-stack .smart-preset-grid.is-intl-grid .box-preset-btn:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .smart-action-bar .segmented.is-compact label {
    min-height: 44px;
    padding: 7px 8px;
    font-size: 0.8rem;
  }

  .mode-eco-tag {
    display: none;
  }
}

@media (max-width: 350px) {
  .smart-form-stack .smart-preset-grid,
  .smart-form-stack .smart-preset-grid.is-intl-grid {
    grid-template-columns: 1fr;
  }

  .smart-action-bar .segmented.is-compact {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   5. Sonuç ve Modern Karşılaştırma Kartları (#results-section)
   ========================================================================== */
.results-section {
  min-width: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-margin-top: 82px;
}

.card.comparison-panel,
.comparison-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.campaigns-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Özet Çubuğu */
.summary-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.summary-bar.just-updated {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.summary-route {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.96rem;
  color: var(--navy);
}

.route-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
}

.summary-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.summary-tags .tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.77rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Canlı Tarife Tarama / Yükleme Durumu */
.calc-progress-panel,
.calc-progress {
  background: var(--surface);
  border: 1px solid var(--primary-border);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.calc-progress-panel.is-complete,
.calc-progress.is-complete {
  border-color: var(--emerald-border);
  background: var(--emerald-tint);
}

.calc-progress-panel.is-collapsing,
.calc-progress.is-collapsing {
  opacity: 0;
  transform: translateY(-4px);
}

.progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.progress-status-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.progress-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.progress-platform-spinner,
.progress-platform-done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.progress-platform-done {
  display: none;
}

.progress-icon-wrap.is-done {
  background: var(--emerald-soft);
  border-color: var(--emerald-border);
  color: var(--emerald);
}

.progress-icon-wrap.is-done .progress-platform-spinner {
  display: none;
}

.progress-icon-wrap.is-done .progress-platform-done {
  display: inline-flex;
}

.progress-text-group {
  min-width: 0;
}

.progress-main-text {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}

.progress-sub-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.progress-counter-pill {
  flex-shrink: 0;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.calc-progress-panel.is-complete .progress-counter-pill {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.progress-track {
  width: 100%;
  height: 7px;
  border-radius: var(--radius-pill);
  background: var(--surface-muted);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--primary) 0%, #3b82f6 100%);
  transition: width 0.28s ease;
}

.calc-progress-panel.is-complete .progress-fill {
  background: linear-gradient(90deg, var(--emerald-vivid) 0%, #34d399 100%);
}

/* Sonuç Sıralama ve Filtre Araç Çubuğu */
.results-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 15px;
  box-shadow: var(--shadow-xs);
}

.results-toolbar-main {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
}

.results-count,
.results-count-note {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.results-sort-row,
.results-sort-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.sort-buttons,
.sort-group {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 10px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  gap: 2px;
}

.sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.81rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.sort-btn:hover {
  color: var(--navy);
}

.sort-btn.active {
  background: var(--surface);
  color: var(--primary);
  font-weight: 700;
  box-shadow: var(--shadow-xs);
}

/* Online Fiyat Anahtarı */
.online-toggle-pill,
.online-price-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  color: var(--navy-mid);
  font-size: 0.81rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.online-toggle-pill:hover,
.online-price-toggle:hover {
  border-color: var(--primary-border);
  background: var(--primary-soft);
}

.online-toggle-pill input[type="checkbox"],
.online-price-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-switch-ui,
.online-price-toggle-track {
  width: 34px;
  height: 20px;
  border-radius: var(--radius-pill);
  background: #cbd5e1;
  position: relative;
  flex-shrink: 0;
  transition: background-color 0.18s ease;
}

.toggle-switch-ui::after,
.online-price-toggle-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.22);
  transition: transform 0.18s ease;
}

.online-toggle-pill input[type="checkbox"]:checked + .toggle-switch-ui,
.online-price-toggle input[type="checkbox"]:checked + .online-price-toggle-track {
  background: var(--primary);
}

.online-toggle-pill input[type="checkbox"]:checked + .toggle-switch-ui::after,
.online-price-toggle input[type="checkbox"]:checked + .online-price-toggle-track::after {
  transform: translateX(14px);
}

.online-toggle-pill input[type="checkbox"]:focus-visible + .toggle-switch-ui,
.online-price-toggle input[type="checkbox"]:focus-visible + .online-price-toggle-track {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.toggle-pill-label {
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--navy-mid);
}

.sort-geo-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary-active);
  font-size: 0.8rem;
}

.inline-geo-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 5px 11px;
  border-radius: 8px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

/* Karşılaştırma Üst Akıllı Paketleme İpucu Bandı */
.box-tip-banner[hidden] {
  display: none !important;
}

.box-tip-banner.is-suggestion {
  background: #fffbeb;
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: 12px;
  padding: 8px 13px;
}

.box-tip-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
}

.box-tip-strip-copy {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.81rem;
  color: #92400e;
  line-height: 1.38;
  min-width: 0;
  flex: 1 1 230px;
}

.box-tip-strip-copy strong {
  color: #78350f;
  font-weight: 700;
  white-space: nowrap;
}

.box-tip-strip-icon {
  color: #d97706;
  display: inline-flex;
  flex-shrink: 0;
  margin-top: 2px;
}

.box-tip-strip-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.box-tip-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(180, 83, 9, 0.28);
  background: rgba(245, 158, 11, 0.18);
  color: #78350f;
  font-size: 0.77rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.box-tip-apply-btn:hover {
  background: #b45309;
  border-color: #b45309;
  color: #ffffff;
}

.box-tip-apply-btn.is-loading {
  background: rgba(245, 158, 11, 0.24);
  border-color: rgba(180, 83, 9, 0.3);
  color: #78350f;
  opacity: 0.9;
  cursor: wait;
}

.box-tip-close-btn {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 0;
  background: transparent;
  color: #92400e;
  opacity: 0.72;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}

.box-tip-close-btn:hover {
  background: rgba(180, 83, 9, 0.12);
  opacity: 1;
}

.box-tip-close-btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}

@keyframes kd-tip-applied-in {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.box-tip-banner.is-applied {
  background: #f0fdf4;
  border: 1px solid rgba(22, 163, 74, 0.24);
  border-radius: 12px;
  padding: 8px 13px;
  animation: kd-tip-applied-in 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.box-tip-applied-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
}

.box-tip-applied-copy {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.81rem;
  color: #166534;
  line-height: 1.38;
  min-width: 0;
  flex: 1 1 240px;
}

.box-tip-applied-copy strong {
  font-weight: 700;
  color: #14532d;
}

.box-tip-applied-icon {
  color: #16a34a;
  display: inline-flex;
  flex-shrink: 0;
  margin-top: 2px;
}

.box-tip-applied-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.box-tip-undo-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
  font-size: 0.77rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}

.box-tip-undo-btn:hover {
  background: rgba(22, 163, 74, 0.2);
}

.box-tip-undo-btn.is-loading {
  opacity: 0.85;
  cursor: wait;
}

.box-tip-close-btn.is-subtle {
  width: 26px;
  height: 26px;
  color: #15803d;
}

.box-tip-close-btn.is-subtle:hover {
  background: rgba(22, 163, 74, 0.12);
  opacity: 1;
}

/* Klasik Tablo Başlığını Gizleyip Kart Tabanlı Görünüme Geçiş */
.comparison-table-head {
  display: none !important;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: opacity 0.22s ease, filter 0.22s ease;
}

.results-list.is-recalculating {
  opacity: 0.44;
  filter: grayscale(0.12);
  pointer-events: none;
}

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

.skeleton-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.skeleton-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.skeleton-box,
.skeleton-line,
.skeleton-price {
  border-radius: 8px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: kd-shimmer 1.4s ease-in-out infinite;
}

.skeleton-box {
  width: 60px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}

.skeleton-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  max-width: 280px;
}

.skeleton-line {
  height: 13px;
  width: 100%;
}

.skeleton-line.short {
  width: 62%;
  height: 11px;
}

.skeleton-price {
  width: 96px;
  height: 32px;
  flex-shrink: 0;
}

@keyframes kd-card-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carrier-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.carrier-card.card-enter {
  animation: kd-card-enter 0.24s ease-out both;
}

.carrier-card.expandable-row:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

/* En Uygun Fiyat Kartı Vurgusu (Kontrollü Zümrüt Yeşili) */
.carrier-card.cheapest {
  border: 1.5px solid var(--emerald-border);
  background: linear-gradient(180deg, #f2fdf8 0%, #ffffff 68%);
  box-shadow: var(--shadow-emerald);
  position: relative;
}

.carrier-card.cheapest::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--emerald-vivid);
}

.carrier-card.campaign-winner {
  border: 1.5px solid var(--emerald-border);
  background: linear-gradient(180deg, #f2fdf8 0%, #ffffff 70%);
}

.carrier-card.unavailable {
  background: var(--surface-subtle);
  border-style: dashed;
  box-shadow: none;
  opacity: 0.82;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.carrier-row-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
}

.carrier-left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

/* Kargo Firma Logo Kutusu */
.carrier-logo-tile {
  width: 64px;
  height: 44px;
  border-radius: 11px;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 5px 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.carrier-logo-tile svg,
.carrier-logo-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.carrier-logo-tile.logo-sm {
  width: 56px;
  height: 36px;
  border-radius: 9px;
  padding: 4px 6px;
}

.carrier-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.carrier-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 8px;
}

.carrier-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.winner-badges-slot {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.winner-badges-slot:empty {
  display: none;
}

/* Rozet Sistemi */
.cheapest-badge,
.fastest-badge,
.nearest-winner-badge,
.island-fee-badge,
.service-tier-pill,
.partial-price-badge,
.transit-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.cheapest-badge {
  background: var(--emerald-vivid);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
}

.fastest-badge {
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary);
}

.nearest-winner-badge {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #4338ca;
}

.service-tier-pill {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 600;
}

.island-fee-badge,
.partial-price-badge {
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  color: var(--amber-text);
  font-weight: 600;
}

.transit-pill {
  background: var(--surface-muted);
  color: var(--text-secondary);
  font-weight: 600;
}

/* Şube Uyarıları, En Yakın Nokta ve Notlar */
.branch-warning-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.branch-warning-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 8px;
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  color: var(--amber-text);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.4;
}

.carrier-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.nearest-point-chip,
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 8px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 500;
}

.carrier-notes {
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.carrier-notes li {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  position: relative;
  padding-left: 11px;
}

.carrier-notes li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.unavailable-reason {
  font-size: 0.81rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.unavailable-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--surface-muted);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Sağ Grup: Fiyat ve Şubeler Aksiyonu */
.carrier-right-group,
.carrier-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.carrier-price-col {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.price-strike-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.box-tip-price-delta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1px;
}

.box-tip-delta-pill {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 999px;
  background: #dcfce7;
  border: 1px solid rgba(22, 163, 74, 0.28);
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  line-height: 1.35;
}

@keyframes kd-card-price-flash {
  0% {
    background-color: #ecfdf5;
    border-color: rgba(22, 163, 74, 0.52);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
  }
  100% {
    background-color: var(--surface);
    border-color: var(--border);
    box-shadow: var(--shadow-xs);
  }
}

@keyframes kd-price-pop {
  0% {
    opacity: 0.35;
    transform: translateY(-3px) scale(0.97);
  }
  55% {
    opacity: 1;
    transform: translateY(0) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.carrier-card.is-box-tip-updated:not(.cheapest) {
  animation: kd-card-price-flash 1.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.carrier-card.is-box-tip-updated .price-main,
.carrier-card.is-box-tip-updated .box-tip-price-delta {
  animation: kd-price-pop 0.44s cubic-bezier(0.2, 0.85, 0.25, 1);
}

.price-original-del,
.old-price-strike {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.price-main {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  color: var(--navy);
  line-height: 1.1;
  white-space: nowrap;
}

.price-main .price-int {
  font-size: 1.52rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-main .price-dec {
  font-size: 0.98rem;
  font-weight: 700;
  opacity: 0.88;
}

.price-main .price-cur {
  font-size: 1.02rem;
  font-weight: 700;
  margin-left: 3px;
}

.carrier-card.cheapest .price-main {
  color: var(--emerald);
}

.price-main.is-discounted {
  color: var(--primary);
}

.carrier-card.cheapest .price-main.is-discounted {
  color: var(--emerald);
}

.price-caption,
.price-intl-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.row-expand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 88px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 11px;
  border: 1.5px solid var(--primary-border);
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.14s ease, box-shadow 0.16s ease;
}

.row-expand-btn .expand-label-open {
  display: none;
}

.row-expand-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
}

.carrier-card.cheapest:not(.is-expanded) .row-expand-btn,
.carrier-card.campaign-winner:not(.is-expanded) .row-expand-btn {
  background: var(--emerald-vivid);
  border-color: var(--emerald-vivid);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.24);
}

.carrier-card.cheapest:not(.is-expanded) .row-expand-btn:hover,
.carrier-card.campaign-winner:not(.is-expanded) .row-expand-btn:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #ffffff;
  box-shadow: 0 5px 14px rgba(5, 150, 105, 0.32);
}

.row-chevron,
.row-select-arrow {
  transition: transform 0.2s ease;
}

.row-expand-btn:hover .row-select-arrow {
  transform: translateX(2px);
}

.carrier-card.is-expanded {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.carrier-card.cheapest.is-expanded,
.carrier-card.campaign-winner.is-expanded {
  border-color: var(--emerald-vivid);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.14);
}

.carrier-card.is-expanded .row-expand-btn,
.row-expand-btn[aria-expanded="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: none;
  transform: none;
}

.carrier-card.cheapest.is-expanded .row-expand-btn,
.carrier-card.campaign-winner.is-expanded .row-expand-btn {
  background: var(--emerald-vivid);
  border-color: var(--emerald-vivid);
  color: #ffffff;
}

.carrier-card.is-expanded .row-expand-btn .expand-label-closed,
.row-expand-btn[aria-expanded="true"] .expand-label-closed {
  display: none;
}

.carrier-card.is-expanded .row-expand-btn .expand-label-open,
.row-expand-btn[aria-expanded="true"] .expand-label-open {
  display: inline;
}

.carrier-card.is-expanded .row-chevron,
.row-expand-btn[aria-expanded="true"] .row-chevron {
  transform: rotate(180deg);
}

/* ==========================================================================
   6. Alttan Açılan (Enuygun / Uygulama Stili) Kargo Seçim Pop-up Sheet
   ========================================================================== */
html.kd-sheet-open,
html.kd-sheet-open body {
  overflow: hidden;
}

html.kd-sheet-open body {
  padding-right: var(--kd-scrollbar-comp, 0px);
}

.kd-sheet-root {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.kd-sheet-root[hidden] {
  display: none !important;
}

.kd-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.kd-sheet-root.is-open .kd-sheet-backdrop {
  opacity: 1;
}

.kd-sheet-panel {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  max-height: min(86vh, 740px);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.24), 0 4px 16px rgba(15, 23, 42, 0.08);
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.18s ease;
  overflow: hidden;
}

.kd-sheet-panel.is-winner-sheet {
  border-top: 3px solid var(--emerald-vivid);
}

.kd-sheet-root.is-open .kd-sheet-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.kd-sheet-header {
  flex-shrink: 0;
  background: var(--surface);
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kd-sheet-grabber-wrap {
  display: none;
  justify-content: center;
  padding: 2px 0 0;
}

.kd-sheet-grabber {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: #cbd5e1;
}

.kd-sheet-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.kd-sheet-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.kd-sheet-logo.carrier-logo-tile {
  width: 58px;
  height: 40px;
  flex-shrink: 0;
}

.kd-sheet-title-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.kd-sheet-title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.kd-sheet-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.kd-sheet-winner-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--emerald-vivid);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.kd-sheet-subtitle {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kd-sheet-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.kd-sheet-price-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  font-variant-numeric: tabular-nums;
}

.kd-sheet-price {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  white-space: nowrap;
}

.kd-sheet-panel.is-winner-sheet .kd-sheet-price {
  color: var(--emerald);
}

.kd-sheet-vat {
  font-size: 0.69rem;
  font-weight: 600;
  color: var(--text-muted);
}

.kd-sheet-close {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.kd-sheet-close:hover {
  background: var(--surface-muted);
  border-color: var(--border-strong);
  color: var(--navy);
}

.kd-sheet-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface-subtle);
  padding: 16px 20px 20px;
}

.carrier-detail-drawer {
  border-top: 1px solid var(--border);
  background: var(--surface-subtle);
  padding: 16px 20px 20px;
}

.drawer-tab-panel[hidden],
.drawer-tab-count[hidden],
.drawer-quick-count[hidden] {
  display: none !important;
}

.drawer-tabbed-shell,
.drawer-branches-only {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kd-sheet-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.kd-sheet-footer-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  color: var(--navy-mid);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.kd-sheet-footer-call:hover {
  background: var(--surface-muted);
  border-color: var(--border-strong);
  color: var(--navy);
}

.kd-sheet-footer-call .ui-icon {
  color: var(--primary);
}

.kd-sheet-footer-call strong {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.kd-sheet-footer-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 10px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #ffffff;
  font-size: 0.83rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.kd-sheet-footer-cta:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff;
}

.drawer-tabs-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 4px;
  border-radius: 12px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
}

.drawer-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 7px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.drawer-tab-btn:hover {
  color: var(--navy);
}

.drawer-tab-btn.is-active {
  background: var(--surface);
  color: var(--primary);
  font-weight: 700;
  box-shadow: var(--shadow-xs);
}

.drawer-tab-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.tab-lbl-short {
  display: none;
}

.drawer-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 19px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.22);
  color: var(--navy-mid);
  font-size: 0.69rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.drawer-tab-btn.is-active .drawer-tab-count:not(.is-deal) {
  background: var(--primary-soft);
  color: var(--primary);
}

.drawer-tab-count.is-deal {
  background: var(--emerald-vivid);
  color: #ffffff;
}

/* Sekme 3: Nasıl Gönderilir? Gönderim Rehberi */
.drawer-subcard {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-subcard .drawer-box-head {
  margin-bottom: 0;
}

.drawer-hours-summary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.drawer-spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.drawer-spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 500;
}

.drawer-spec-chip .ui-icon {
  color: var(--primary);
}

.drawer-spec-chip strong {
  color: var(--navy);
  font-weight: 700;
}

.drawer-notes-callout {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-howto-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-howto-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
}

.drawer-howto-num {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.drawer-howto-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.drawer-howto-copy strong {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--navy);
}

.drawer-howto-copy span {
  font-size: 0.79rem;
  color: var(--text-secondary);
  line-height: 1.44;
}

.drawer-deal-teaser {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--emerald-border);
  background: var(--emerald-tint);
  color: var(--emerald);
  font-family: inherit;
  font-size: 0.79rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.drawer-deal-teaser:hover {
  background: var(--emerald-soft);
}

.drawer-deal-teaser-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.drawer-deal-teaser-cta {
  font-weight: 800;
  white-space: nowrap;
}

.drawer-quick-actions {
  margin-top: 2px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.drawer-quick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: var(--surface-subtle);
  color: var(--navy-mid);
  font-family: inherit;
  font-size: 0.79rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.drawer-quick-btn:hover {
  background: var(--surface-muted);
  border-color: var(--navy-soft);
  color: var(--navy);
}

.drawer-quick-btn.is-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.drawer-quick-btn.is-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff;
}

.drawer-quick-btn.is-accent {
  background: var(--primary-soft);
  border-color: var(--primary-border);
  color: var(--primary);
}

.drawer-quick-btn.is-accent:hover {
  background: #dbeafe;
}

.drawer-quick-btn.is-copied {
  background: var(--emerald-soft);
  border-color: var(--emerald-border);
  color: var(--emerald);
}

.drawer-quick-count {
  font-size: 0.73rem;
  opacity: 0.85;
  font-variant-numeric: tabular-nums;
}

/* Sekme 3: Kampanya & Tasarruf Kartları */
.drawer-savings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.drawer-saving-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.drawer-saving-card.is-campaign {
  border-color: var(--emerald-border);
  background: linear-gradient(180deg, #f5fef9 0%, #ffffff 65%);
}

.saving-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.saving-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
}

.saving-type-pill.is-promo,
.saving-type-pill.is-emerald {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.saving-type-pill.is-blue {
  background: var(--primary-soft);
  color: var(--primary);
}

.saving-type-pill.is-amber {
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  color: var(--amber-text);
}

.saving-card-price-box {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-variant-numeric: tabular-nums;
}

.saving-new-price {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy);
}

.saving-diff-pill {
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--emerald-vivid);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
}

.saving-card-title {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

.saving-card-desc {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.48;
}

.saving-card-note {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.saving-card-actions {
  margin-top: auto;
  padding-top: 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.saving-card-link,
.saving-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 9px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  background: var(--primary-soft);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.14s ease;
}

.saving-card-link.is-primary,
.saving-card-btn {
  color: var(--primary);
}

.saving-card-link:hover,
.saving-card-btn:hover {
  background: rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.34);
  text-decoration: none;
}

.saving-card-link:active,
.saving-card-btn:active {
  transform: translateY(1px);
}

.saving-card-btn.is-recalc-btn {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.18);
}

.saving-card-btn.is-recalc-btn:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff;
}

.savings-empty-copy .saving-card-link {
  margin-top: 8px;
}

.drawer-savings-empty {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.savings-empty-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--emerald-soft);
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.savings-empty-copy h4 {
  margin: 0 0 4px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}

.savings-empty-copy p {
  margin: 0 0 8px;
  font-size: 0.81rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .kd-sheet-root {
    align-items: flex-end;
    padding: 0;
  }

  .kd-sheet-panel {
    width: 100%;
    max-height: 88vh;
    max-height: 88dvh;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -18px 50px rgba(15, 23, 42, 0.24);
    opacity: 1;
    transform: translateY(100%);
    transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .kd-sheet-root.is-open .kd-sheet-panel {
    transform: translateY(0);
  }

  .kd-sheet-grabber-wrap {
    display: flex;
  }

  .kd-sheet-header {
    padding: 6px 14px 11px;
    gap: 10px;
  }

  .kd-sheet-footer {
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
  }

  .footer-call-label {
    display: none;
  }

  .kd-sheet-footer-cta {
    flex: 1 1 auto;
  }

  .kd-sheet-logo.carrier-logo-tile {
    width: 48px;
    height: 34px;
  }

  .kd-sheet-title {
    font-size: 0.96rem;
  }

  .kd-sheet-subtitle {
    font-size: 0.73rem;
  }

  .kd-sheet-price {
    font-size: 1.08rem;
  }

  .kd-sheet-close {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .kd-sheet-body {
    padding: 12px 14px calc(18px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 680px) {
  .drawer-tabs-nav {
    display: flex;
    gap: 4px;
  }

  .tab-lbl-full {
    display: none;
  }

  .tab-lbl-short {
    display: inline;
  }

  .drawer-tab-btn {
    flex: 1 1 auto;
    padding: 7px 7px;
    font-size: 0.76rem;
    gap: 4px;
  }

  .drawer-tab-btn > .ui-icon {
    display: none;
  }

  .drawer-savings-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 400px) {
  .drawer-quick-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

.drawer-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}

.drawer-box-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.branches-panel-title-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.drawer-box-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

.drawer-box-title .ui-icon {
  color: var(--primary);
}

.drawer-head-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.drawer-origin-pill,
.branches-count-pill,
.branches-sorted-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 600;
}

.drawer-origin-pill {
  background: var(--surface-muted);
  color: var(--navy-mid);
}

.branches-count-pill {
  background: var(--primary-soft);
  color: var(--primary);
}

.branches-sorted-tag {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.drawer-intl-details-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-intl-alt-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--primary-active);
  font-size: 0.8rem;
  font-weight: 600;
}

.drawer-intl-notes {
  margin: 0;
  padding-left: 18px;
  font-size: 0.81rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.branches-loading-row,
.branches-empty-state,
.branches-fallback-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.branches-fallback-banner:not(.is-muted) {
  background: var(--amber-bg);
  border-color: var(--amber-border);
  color: var(--amber-text);
  margin-bottom: 12px;
}

.drawer-subtle-info {
  margin: 0 0 10px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.branches-context-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.branches-context-left,
.branches-context-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.drawer-branches-box.is-sheet-branches {
  padding: 2px 0 0;
}

.camp-inline-branches-card {
  padding: 18px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-xs);
}

.branch-locate-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--primary-border);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.branch-locate-btn:hover:not(:disabled) {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.branch-locate-btn.is-loading {
  opacity: 0.85;
  cursor: wait;
}

.branch-locate-hint {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.branches-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.branch-filter-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 3px;
  border-radius: 11px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
}

.branch-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 4px 11px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.branch-filter-pill:hover:not(.active) {
  color: var(--navy);
}

.branch-filter-pill.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.branch-filter-num {
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.06);
  font-size: 0.7rem;
  font-weight: 700;
}

.branch-filter-pill.active .branch-filter-num {
  background: var(--primary-soft);
  color: var(--primary);
}

.branch-search-wrap {
  position: relative;
  flex: 1 1 240px;
  max-width: 360px;
  display: flex;
  align-items: center;
}

.branch-search-wrap.is-solo {
  max-width: 100%;
}

.branch-search-wrap .ui-icon {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  pointer-events: none;
}

.branch-search-input {
  width: 100%;
  min-height: 38px;
  padding: 7px 12px 7px 35px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  font-size: 0.82rem;
  color: var(--navy);
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.branch-search-input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.branch-cards-scroll.is-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(305px, 1fr));
  gap: 12px;
  max-height: none;
  overflow: visible;
}

.official-branch-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #ffffff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.official-branch-card:hover {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.official-branch-card.is-closest-card {
  border-color: var(--emerald-border);
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.55) 0%, #ffffff 56%);
}

.branch-card-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.branch-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.branch-card-title-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.branch-card-title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.branch-card-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.branch-card-submeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.branch-closest-tag {
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--emerald-vivid);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
}

.branch-dist-tag {
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--text-muted);
}

.branch-card-badges {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  flex-shrink: 0;
}

.branch-distance-pill,
.branch-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
}

.branch-distance-pill {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
}

.branch-type-badge {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.branch-type-badge.is-esnaf {
  background: #fffbeb;
  border-color: rgba(217, 119, 6, 0.22);
  color: #92400e;
}

.branch-info-row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.42;
}

.branch-info-row .ui-icon {
  margin-top: 2px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.branch-card-address {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--navy-mid);
}

.branch-info-row.is-hours-row {
  align-items: flex-start;
  flex-wrap: nowrap;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.branch-info-row.is-hours-row .ui-icon {
  margin-top: 2px;
}

.branch-hours-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
  flex: 1;
}

.branch-open-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
}

.branch-open-pill.is-open {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.branch-open-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-vivid);
}

.branch-open-pill.is-closed {
  background: var(--surface-muted);
  color: var(--text-muted);
  font-weight: 600;
}

.branch-evening-pill {
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.69rem;
  font-weight: 600;
}

.branch-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--surface-muted);
}

.branch-action-btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  color: var(--navy-mid);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.branch-action-btn.is-directions {
  flex: 1.15 1 0;
  background: var(--primary-soft);
  border-color: var(--primary-border);
  color: var(--primary);
  font-weight: 700;
}

.branch-action-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.branches-more-wrap {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.branches-expand-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  color: var(--navy-mid);
  font-size: 0.81rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.branches-expand-btn:hover {
  background: #ffffff;
  border-color: var(--primary-border);
  color: var(--primary);
}

.branches-expand-btn.is-expanded .ui-icon {
  transform: rotate(180deg);
}

@media (max-width: 640px) {
  .camp-inline-branches-card {
    padding: 14px;
  }

  .branch-search-wrap {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .branch-cards-scroll.is-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}

/* ==========================================================================
   7. Boş Durum (Empty State) & KoliBey Karşılaştırma Sahnesi
   ========================================================================== */
.empty-prompt-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.empty-mascot-slot {
  width: 100%;
  max-width: 500px;
}

.mascot-unified-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mascot-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: 0.77rem;
  font-weight: 700;
}

.mascot-character-center {
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.mascot-character-center:hover {
  transform: scale(1.03);
}

@keyframes kd-mascot-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-7px);
  }
}

.mascot-character-center.is-bouncing {
  animation: kd-mascot-bounce 0.42s ease;
}

.mascot-3d-img {
  width: 128px;
  height: 128px;
  object-fit: contain;
  display: block;
  border-radius: 20px;
  mix-blend-mode: multiply;
}

.mascot-3d-img.is-progress {
  width: 38px;
  height: 38px;
  filter: none;
}

.mascot-unified-speech {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 15px 18px;
  box-shadow: var(--shadow-xs);
  max-width: 460px;
}

.mascot-speech-title {
  margin: 0 0 5px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.mascot-speech-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.empty-steps-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 560px;
}

.empty-step-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.empty-step-chip strong {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--navy);
}

.empty-brand-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 4px;
}

.empty-prompt-note {
  margin: 0;
  font-size: 0.79rem;
  color: var(--text-muted);
  max-width: 48ch;
}

.disclaimer {
  margin: 2px 0 0;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(241, 245, 249, 0.75);
  border: 1px solid var(--border);
  font-size: 0.77rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ==========================================================================
   8. Güven ve Değer Alanı ("Neden KargoKıyasla?")
   ========================================================================== */
.value-props-section {
  margin-top: 48px;
}

.section-heading-block {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.section-heading-block h2 {
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  font-weight: 800;
  margin: 0;
  color: var(--navy);
}

.section-heading-block p {
  margin: 2px 0 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.value-props-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.value-prop-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.value-prop-card:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.vp-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vp-icon.is-emerald {
  background: var(--emerald-soft);
  color: var(--emerald-vivid);
}

.value-prop-card h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
}

.value-prop-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.58;
  color: var(--text-secondary);
}

/* ==========================================================================
   9. İlgili Araçlar ve Yönlendirme Kartları (.related-tools-section)
   ========================================================================== */
.related-tools-section {
  margin-top: 32px;
}

.related-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-tool-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  color: var(--navy);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.related-tool-left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.related-tool-card:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--navy);
}

.rt-icon,
.related-tool-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rt-icon.is-campaign,
.related-tool-icon.is-campaign {
  background: var(--campaign-soft);
  color: var(--campaign);
}

.rt-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rt-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.rt-title,
.related-tool-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy);
}

.rt-badge {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.69rem;
  font-weight: 700;
  background: var(--primary-soft);
  color: var(--primary);
}

.rt-badge.is-campaign {
  background: var(--campaign-soft);
  border: 1px solid var(--campaign-border);
  color: var(--campaign);
}

.rt-desc,
.related-tool-desc {
  margin: 4px 0 0;
  font-size: 0.82rem;
  line-height: 1.52;
  color: var(--text-secondary);
}

.rt-arrow,
.related-tool-arrow {
  color: var(--text-muted);
  margin-top: 2px;
  flex-shrink: 0;
  transition: transform 0.16s ease, color 0.16s ease;
}

.related-tool-card:hover .rt-arrow,
.related-tool-card:hover .related-tool-arrow {
  color: var(--primary);
  transform: translateX(3px);
}

/* ==========================================================================
   10. SEO, Rehber İçerikleri, Desi Hesaplayıcı ve Kurumsal Sayfalar
   ========================================================================== */
.seo-content {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.seo-guide-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 2px;
}

.seo-main-title {
  font-size: clamp(1.3rem, 2.1vw, 1.58rem);
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.seo-subtitle {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.seo-collapsible {
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-subtle);
  overflow: hidden;
}

.seo-collapsible > summary {
  list-style: none;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.seo-collapsible > summary::-webkit-details-marker {
  display: none;
}

.seo-collapsible > summary::after {
  content: "+";
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.seo-collapsible[open] > summary::after {
  content: "−";
}

.seo-collapsible .seo-table-wrap {
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
}

.seo-content.trust-page {
  margin-top: 8px;
}

.seo-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-xs);
}

.seo-section h2,
.seo-section h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.38rem);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 12px;
  line-height: 1.3;
}

.seo-lead {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 78ch;
}

.seo-lead:last-child {
  margin-bottom: 0;
}

.seo-lead strong {
  color: var(--navy);
  font-weight: 600;
}

.seo-note {
  margin: 12px 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.trust-updated {
  text-align: right;
  margin-top: 4px;
}

.trust-list {
  margin: 0 0 14px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.65;
}

.trust-list:last-child {
  margin-bottom: 0;
}

.trust-list strong {
  color: var(--navy);
}

/* Modern Veri Tabloları */
.seo-table-wrap {
  width: 100%;
  container-type: inline-size;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

.seo-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.seo-table caption {
  caption-side: top;
  position: sticky;
  left: 0;
  width: 100cqi;
  max-width: 100cqi;
  box-sizing: border-box;
  text-align: left;
  padding: 10px 16px;
  font-size: 0.77rem;
  line-height: 1.45;
  white-space: normal;
  color: var(--text-muted);
  background: var(--surface-subtle);
  border-top: 0;
  border-bottom: 1px solid var(--border);
}

.seo-table thead th {
  padding: 12px 16px;
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.seo-table:has(tbody th) thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--surface-subtle);
  border-right: 1px solid var(--border);
  box-shadow: 3px 0 8px -4px rgba(15, 23, 42, 0.08);
}

.seo-th-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.71rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
}

.seo-table tbody th,
.seo-table tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--surface-muted);
  color: var(--text-secondary);
  white-space: nowrap;
}

.seo-table tbody tr:last-child th,
.seo-table tbody tr:last-child td {
  border-bottom: 0;
}

.seo-table tbody tr:hover th,
.seo-table tbody tr:hover td {
  background: #f8fbff;
}

.seo-table tbody th {
  font-weight: 600;
  color: var(--navy);
  background: var(--surface);
  position: sticky;
  left: 0;
  z-index: 1;
  border-right: 1px solid var(--surface-muted);
  box-shadow: 3px 0 8px -4px rgba(15, 23, 42, 0.08);
}

.seo-table tbody td.is-cheapest {
  color: var(--emerald);
  font-weight: 700;
  background: var(--emerald-tint);
}

.seo-table tbody tr.is-self th,
.seo-table tbody tr.is-self td {
  background: var(--primary-soft);
  color: var(--navy);
  font-weight: 600;
}

.seo-cta-row {
  margin-top: 16px;
}

.seo-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 11px;
  background: var(--primary);
  color: #ffffff !important;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.seo-cta-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Bağlantı Çipleri */
.seo-link-chips {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-link-chips li a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--navy-mid);
  font-size: 0.84rem;
  font-weight: 600;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.seo-link-chips li a:hover {
  border-color: var(--primary-border);
  background: var(--primary-soft);
  color: var(--primary);
}

/* Modern SSS Akordiyon */
.seo-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.seo-faq details {
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-subtle);
  overflow: hidden;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.seo-faq details[open] {
  background: var(--surface);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-xs);
}

.seo-faq summary {
  list-style: none;
  padding: 15px 18px;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
}

.seo-faq summary::-webkit-details-marker {
  display: none;
}

.seo-faq summary::after {
  content: "+";
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.seo-faq details[open] summary::after {
  content: "−";
  background: var(--primary-soft);
  border-color: var(--primary-border);
}

.seo-faq-answer {
  padding: 0 18px 16px;
  font-size: 0.91rem;
  line-height: 1.68;
  color: var(--text-secondary);
}

.seo-faq-answer p {
  margin: 0;
}

/* Araç Sayfaları Alt Rehber Alanı (#rehber) — Kutusuz & Kompakt SaaS Düzeni */
#rehber.seo-content {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  gap: 0;
}

#rehber .seo-guide-header {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 0 0 14px;
}

#rehber .seo-main-title {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}

#rehber .seo-main-title::after {
  content: "·";
  margin-left: 10px;
  color: var(--border-strong);
  font-weight: 500;
}

#rehber .seo-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

#rehber .seo-section {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 0;
  box-shadow: none;
  padding: 22px 0;
}

#rehber > .seo-section:first-child {
  border-top: 0;
  padding-top: 0;
}

#rehber .seo-guide-header + .seo-section:not([hidden]):not(.is-hidden),
#rehber .seo-guide-header + .seo-section[hidden] + .seo-section:not([hidden]):not(.is-hidden),
#rehber .seo-guide-header + .seo-section.is-hidden + .seo-section:not([hidden]):not(.is-hidden),
#rehber .seo-guide-header + .seo-section[hidden] + .seo-section[hidden] + .seo-section:not([hidden]):not(.is-hidden),
#rehber .seo-guide-header + .seo-section.is-hidden + .seo-section.is-hidden + .seo-section:not([hidden]):not(.is-hidden) {
  border-top: 0;
  padding-top: 4px;
}

#rehber .seo-section:last-child {
  padding-bottom: 0;
}

#rehber .seo-section[hidden],
#rehber .seo-section.is-hidden {
  display: none !important;
}

#rehber .seo-section h2,
#rehber .seo-section h3 {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 7px;
}

#rehber .seo-lead {
  font-size: 0.86rem;
  line-height: 1.58;
  margin: 0 0 12px;
  max-width: 82ch;
}

#rehber .seo-lead:last-child {
  margin-bottom: 0;
}

#rehber .seo-note {
  margin: 8px 0 0;
  font-size: 0.775rem;
  line-height: 1.5;
}

#rehber .seo-table-wrap {
  border-radius: 12px;
  border-color: rgba(203, 213, 225, 0.85);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.025);
}

#rehber .seo-table {
  font-size: 0.825rem;
}

#rehber .seo-table thead th {
  padding: 9px 13px;
  font-size: 0.755rem;
}

#rehber .seo-table tbody th,
#rehber .seo-table tbody td {
  padding: 8px 13px;
}

#rehber .seo-table caption {
  padding: 7px 13px;
  font-size: 0.735rem;
}

#rehber .seo-collapsible {
  background: var(--surface);
  border-color: rgba(203, 213, 225, 0.85);
  border-radius: 12px;
}

#rehber .seo-collapsible > summary {
  padding: 12px 15px;
  font-size: 0.88rem;
}

#rehber .seo-link-chips {
  margin-top: 10px;
  gap: 7px;
}

#rehber .seo-link-chips li a {
  min-height: 35px;
  padding: 6px 13px;
  background: var(--surface);
  border-color: rgba(203, 213, 225, 0.85);
  font-size: 0.815rem;
}

#rehber .seo-link-chips li a:hover {
  border-color: var(--primary-border);
  background: var(--primary-soft);
}

#rehber .seo-faq {
  gap: 0;
}

#rehber .seo-faq details {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 0;
  box-shadow: none;
}

#rehber .seo-faq details[open] {
  background: transparent;
  border-color: rgba(203, 213, 225, 0.72);
  box-shadow: none;
}

#rehber .seo-faq summary {
  padding: 11px 2px;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-mid);
  gap: 12px;
  transition: color 0.15s ease;
}

#rehber .seo-faq summary:hover {
  color: var(--primary);
}

#rehber .seo-faq details[open] summary {
  color: var(--navy);
}

#rehber .seo-faq summary::after {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.06rem;
  font-weight: 500;
}

#rehber .seo-faq summary:hover::after,
#rehber .seo-faq details[open] summary::after {
  background: transparent;
  border: 0;
  color: var(--primary);
}

#rehber .seo-faq-answer {
  padding: 0 22px 12px 2px;
  font-size: 0.835rem;
  line-height: 1.6;
}

@media (min-width: 820px) {
  #rehber #seo-sss-bolumu h3 {
    margin-bottom: 4px;
  }

  #rehber .seo-faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 36px;
    align-items: start;
  }
}

/* Ana Sayfa Firma Fiyat Listeleri 4x2 Kart Izgarası (#seo-firma-bolumu) ve Alt Rehber Başlıkları */
#rehber #seo-firma-bolumu .seo-link-chips.carrier-hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-top: 12px;
}

@media (min-width: 560px) {
  #rehber #seo-firma-bolumu .seo-link-chips.carrier-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (min-width: 1024px) {
  #rehber #seo-firma-bolumu .seo-link-chips.carrier-hub-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
}

#rehber #seo-firma-bolumu .seo-link-chips.carrier-hub-grid li {
  display: flex;
  min-width: 0;
}

#rehber #seo-firma-bolumu .seo-link-chips li a.carrier-hub-chip {
  width: 100%;
  min-height: 50px;
  padding: 9px 13px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.025);
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease, transform 0.14s ease;
}

#rehber #seo-firma-bolumu .seo-link-chips li a.carrier-hub-chip:hover {
  border-color: var(--primary-border);
  background: var(--primary-soft);
  color: var(--primary);
  box-shadow: var(--shadow-xs);
  transform: translateY(-1px);
}

#rehber #seo-firma-bolumu .carrier-hub-chip-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

#rehber #seo-firma-bolumu .carrier-hub-chip-name {
  line-height: 1.3;
  min-width: 0;
}

#rehber #seo-firma-bolumu .carrier-hub-all-icon {
  width: 38px;
  height: 24px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid var(--primary-border);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#rehber #seo-firma-bolumu .seo-link-chips li a.carrier-hub-chip.is-all-carriers {
  background: var(--primary-soft);
  border-color: var(--primary-border);
  color: var(--primary);
  font-weight: 700;
}

#rehber #seo-firma-bolumu .seo-link-chips li a.carrier-hub-chip.is-all-carriers:hover {
  background: #dbeafe;
  border-color: var(--primary);
}

#rehber #seo-firma-bolumu .seo-link-chips li a.carrier-hub-chip::after {
  content: "→";
  color: var(--text-muted);
  font-weight: 600;
  flex-shrink: 0;
  transition: transform 0.15s ease, color 0.15s ease;
}

#rehber #seo-firma-bolumu .seo-link-chips li a.carrier-hub-chip.is-all-carriers::after,
#rehber #seo-firma-bolumu .seo-link-chips li a.carrier-hub-chip:hover::after {
  color: var(--primary);
}

#rehber #seo-firma-bolumu .seo-link-chips li a.carrier-hub-chip:hover::after {
  transform: translateX(2px);
}

#rehber #seo-esya-desi-bolumu h3 {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--navy-mid);
  margin: 14px 0 8px;
}

#rehber #seo-esya-desi-bolumu .seo-link-chips + h3 {
  margin-top: 22px;
}

/* ==========================================================================
   Desi Hesaplama Sayfası — Etkileşimli Çalışma Alanı & Kutusuz 2 Sütun Rehber
   ========================================================================== */
.hero.hero-desi {
  padding: 18px 24px;
  margin-bottom: 18px;
}

.hero-desi-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero.hero-desi h1 {
  font-size: clamp(1.48rem, 2.35vw, 1.95rem);
  margin-bottom: 8px;
}

.hero.hero-desi .hero-subtitle {
  font-size: 0.92rem;
  margin-bottom: 0;
  max-width: 62ch;
}

.hero-desi-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-desi-highlights .hero-camp-stat {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(191, 219, 254, 0.82);
  border-radius: 13px;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.04);
}

.hero-desi-highlights .hero-camp-stat strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.hero-desi-highlights .hero-camp-stat span {
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--text-secondary);
}

body:has(#desi-calc) main.seo-content {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body:has(#desi-calc) main.seo-content > .seo-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: var(--shadow-xs);
}

body:has(#desi-calc) main.seo-content > section[aria-labelledby="d-hesapla"] {
  box-shadow: var(--shadow-sm);
}

body:has(#desi-calc) #d-hesapla {
  font-size: 1.06rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

body:has(#desi-calc) main.seo-content > .seo-section:not([aria-labelledby="d-hesapla"]) h2 {
  font-size: 1.14rem;
  margin-bottom: 10px;
}

body:has(#desi-calc) main.seo-content > .seo-section:not([aria-labelledby="d-hesapla"]) h3 {
  font-size: 0.96rem;
  font-weight: 700;
  margin: 0 0 10px;
}

body:has(#desi-calc) .seo-table-wrap + h3,
body:has(#desi-calc) .seo-link-chips + h3 {
  margin-top: 20px !important;
  padding-top: 16px;
  border-top: 1px solid var(--surface-muted);
}

body:has(#desi-calc) main.seo-content > .seo-section:not([aria-labelledby="d-hesapla"]) .seo-lead {
  font-size: 0.9rem;
  line-height: 1.62;
  margin-bottom: 12px;
}

body:has(#desi-calc) main.seo-content > .seo-section:not([aria-labelledby="d-hesapla"]) .trust-list {
  gap: 8px;
  font-size: 0.88rem;
  line-height: 1.58;
  margin-bottom: 0;
}

body:has(#desi-calc) .seo-table-wrap {
  background: var(--surface);
  border-radius: 13px;
}

body:has(#desi-calc) .seo-table caption {
  padding: 8px 12px;
  font-size: 0.74rem;
}

body:has(#desi-calc) .seo-table thead th,
body:has(#desi-calc) .seo-table tbody th,
body:has(#desi-calc) .seo-table tbody td {
  padding: 10px 14px;
  font-size: 0.84rem;
}

.desi-neighbor-nav {
  padding-top: 14px;
  border-top: 1px solid var(--surface-muted);
  align-items: center;
}

.desi-neighbor-nav > span:empty {
  display: none;
}

.desi-neighbor-nav .seo-cta-btn:not([href*="#hesaplama-alani"]) {
  background: var(--surface-subtle);
  border: 1px solid var(--border-strong);
  color: var(--navy-mid) !important;
  box-shadow: none;
  font-weight: 600;
}

.desi-neighbor-nav .seo-cta-btn:not([href*="#hesaplama-alani"]):hover {
  background: var(--primary-soft);
  border-color: var(--primary-border);
  color: var(--primary) !important;
}

.desi-clickable-row {
  cursor: pointer;
  transition: background-color 0.14s ease;
}

.desi-clickable-row:hover td,
.desi-clickable-row:hover th {
  background: var(--primary-soft) !important;
}

.desi-clickable-row:hover th {
  color: var(--primary);
}

/* Desi Hesaplayıcı İç Mimarisi (.desi-calc) */
.desi-calc {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.desi-presets-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--surface-muted);
}

.desi-presets-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}

.desi-presets-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  flex: 1;
}

.desi-preset-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 35px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  color: var(--navy-mid);
  font-family: var(--font-sans);
  font-size: 0.79rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.desi-preset-chip:hover {
  border-color: var(--primary-border);
  background: var(--surface);
  color: var(--primary);
}

.desi-preset-chip.is-active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.desi-preset-chip .dp-dim {
  font-size: 0.71rem;
  font-weight: 500;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.desi-preset-chip.is-active .dp-dim {
  color: var(--primary);
  opacity: 0.85;
}

.desi-workbench-row {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 18px;
  align-items: stretch;
}

.desi-wb-left,
.desi-wb-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.desi-calc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.desi-calc-grid label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.desi-calc-grid input {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface-subtle);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.desi-calc-grid input:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.13);
}

.desi-box-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--border);
}

.desi-box-svg-wrap {
  width: 150px;
  height: 94px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.desi-iso-svg {
  width: 100%;
  height: 100%;
}

.desi-box-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 5px;
  min-width: 0;
}

.desi-box-dims-pill {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--primary-border);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.desi-box-vol-text {
  font-size: 0.76rem;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.desi-calc-out {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  flex: 1;
}

.desi-res-card {
  padding: 15px 16px;
  border-radius: 15px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.desi-res-card.is-domestic {
  background: linear-gradient(145deg, #eff6ff 0%, #f8fafc 100%);
  border-color: var(--primary-border);
}

.desi-res-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.desi-res-scope {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--navy);
}

.desi-res-rule-pill {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--primary-soft);
  color: var(--primary);
}

.desi-res-rule-pill.is-kg {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.desi-res-rule-pill.is-neutral {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.desi-res-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.desi-res-caption {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.desi-res-hero-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.desi-res-hero-line strong {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--primary);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}

.desi-res-card.is-intl .desi-res-hero-line strong {
  color: var(--navy);
}

.desi-bracket-pill {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.desi-res-sub {
  padding-top: 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.desi-res-sub strong {
  color: var(--navy);
  font-weight: 700;
}

.desi-smart-tip {
  padding: 10px 13px;
  border-radius: 12px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.desi-smart-tip.is-actionable {
  background: var(--emerald-tint);
  border-color: var(--emerald-border);
  color: var(--navy);
}

.desi-tip-apply-btn {
  padding: 5px 11px;
  border-radius: 8px;
  border: 1px solid var(--emerald-vivid);
  background: var(--emerald-vivid);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.15s ease;
}

.desi-tip-apply-btn:hover {
  opacity: 0.92;
}

.desi-cta-bar {
  margin-top: 14px !important;
  padding-top: 14px;
  border-top: 1px solid var(--surface-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.desi-secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 16px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: var(--surface-subtle);
  color: var(--navy-mid);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.desi-secondary-cta:hover {
  border-color: var(--primary-border);
  background: var(--primary-soft);
  color: var(--primary);
}

/* ==========================================================================
   11. Modern Footer (.site-footer)
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: #0b1426;
  color: #cbd5e1;
  border-top: 1px solid #1e293b;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 24px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 28px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-brand-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.footer-brand-title,
.footer-brand .brand-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.footer-brand-title span,
.footer-brand .brand-title span {
  color: #60a5fa;
}

.footer-brand-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
  margin-top: 2px;
}

.footer-brand-desc {
  margin: 0;
  max-width: 320px;
  font-size: 0.84rem;
  line-height: 1.62;
  color: #94a3b8;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 13px;
  letter-spacing: -0.01em;
}

.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-list a {
  color: #94a3b8;
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav-list a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  font-size: 0.8rem;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-disclaimer {
  margin: 10px 0 0;
  font-size: 0.74rem;
  line-height: 1.55;
  color: #64748b;
}

/* ==========================================================================
   12. Responsive & Mobil Öncelikli Kırılımlar
   ========================================================================== */
@media (max-width: 1080px) {
  .value-props-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .hero-visual {
    display: none;
  }

  .main-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .form-card {
    position: static;
  }

  .related-tools-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .hero-desi-grid,
  .desi-workbench-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    height: 60px;
    padding: 0 16px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .top-nav {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 120;
  }

  .top-nav.is-open {
    display: flex;
  }

  .nav-tab {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    font-size: 0.92rem;
  }

  .nav-cta-btn {
    margin: 4px 0 0;
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .hero.page-hero.hero-camp-calc h1 {
    line-height: 1.32 !important;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 14px 14px 42px;
  }

  .brand-tagline {
    display: none;
  }

  .hero:not(.hero-platform),
  .hero.hero-platform {
    padding: 18px 16px;
    border-radius: 18px;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: 1.52rem;
    line-height: 1.32;
  }

  .hero-subtitle {
    font-size: 0.89rem;
    line-height: 1.55;
  }

  .hero-trust-row {
    gap: 6px;
    margin-top: 12px;
  }

  .hero-trust-pill {
    font-size: 0.76rem;
    padding: 4px 9px;
  }

  .hero-actions {
    margin-top: 14px;
    gap: 8px;
  }

  .hero-cta-primary,
  .hero-cta-secondary {
    width: 100%;
    min-height: 46px;
  }

  .form-card {
    padding: 14px;
    border-radius: 18px;
  }

  .calc-scope-tab {
    font-size: 0.82rem;
    padding: 8px 10px;
    min-height: 42px;
    white-space: nowrap;
  }

  .scope-tab-badge,
  .calc-scope-badge {
    display: none;
  }

  .step-header {
    padding: 12px;
  }

  .step-body {
    padding: 2px 12px 14px;
  }

  /* Mobilde iOS otomatik yakınlaştırmayı önlemek için 16px font boyutu ve 48px dokunma yüksekliği */
  .field select,
  .field input[type="number"],
  .field input[type="text"],
  .field input[type="search"],
  .text-input {
    min-height: 48px;
    font-size: 1rem;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .segmented {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .segmented label {
    min-height: 48px;
    padding: 9px 8px;
    font-size: 0.82rem;
  }

  .box-size-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .box-preset-btn {
    padding: 9px 10px;
    gap: 8px;
  }

  .preset-box-icon {
    width: 30px;
    height: 30px;
  }

  .dim-inputs,
  .dims-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .primary-btn {
    min-height: 52px;
    font-size: 0.96rem;
  }

  /* Mobil Sonuç ve Karşılaştırma Kartları — Sıfır Yatay Taşma */
  .results-toolbar {
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .results-toolbar-main {
    flex-direction: column;
    align-items: stretch;
  }

  .results-sort-row,
  .results-sort-controls {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .sort-buttons,
  .sort-group {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  }

  .sort-btn {
    justify-content: center;
    min-height: 40px;
    padding: 6px 8px;
  }

  .online-toggle-pill,
  .online-price-toggle {
    width: 100%;
    justify-content: space-between;
    min-height: 44px;
  }

  .box-tip-banner.is-suggestion,
  .box-tip-banner.is-applied {
    padding: 8px 11px;
  }

  .box-tip-strip-inner,
  .box-tip-applied-inner {
    gap: 6px 8px;
  }

  .carrier-row-summary {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 15px 14px;
  }

  .carrier-card.unavailable {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
    gap: 10px;
  }

  .carrier-logo-tile {
    width: 56px;
    height: 38px;
  }

  .carrier-right-group {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid var(--surface-muted);
    gap: 10px;
  }

  .carrier-price-col {
    text-align: left;
    align-items: flex-start;
  }

  .price-main .price-int {
    font-size: 1.42rem;
  }

  .row-expand-btn {
    min-height: 42px;
    padding: 8px 14px;
  }

  .carrier-detail-drawer {
    padding: 12px;
  }

  .drawer-box {
    padding: 12px;
  }

  .branch-cards-scroll.is-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .empty-prompt-card {
    padding: 20px 16px;
  }

  .empty-steps-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .value-props-section {
    margin-top: 34px;
  }

  .value-props-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .value-prop-card {
    padding: 16px;
  }

  .seo-content {
    margin-top: 34px;
    gap: 14px;
  }

  .seo-section {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .seo-faq summary {
    padding: 13px 14px;
    font-size: 0.9rem;
  }

  .seo-faq-answer {
    padding: 0 14px 14px;
  }

  .seo-table thead th,
  .seo-table tbody th,
  .seo-table tbody td,
  #rehber .seo-table thead th,
  #rehber .seo-table tbody th,
  #rehber .seo-table tbody td,
  body:has(#desi-calc) .seo-table thead th,
  body:has(#desi-calc) .seo-table tbody th,
  body:has(#desi-calc) .seo-table tbody td {
    padding: 9px 10px;
    font-size: 0.79rem;
  }

  .seo-table:has(tbody th) thead th:first-child,
  .seo-table tbody th {
    max-width: 142px;
    white-space: normal;
    line-height: 1.28;
  }

  /* B-07: Eşya tablolarında sabit firma sütunu daraltılır, kampanya hücresi iki satıra sarılır. */
  .seo-table--items:has(tbody th) thead th:first-child,
  .seo-table--items tbody th {
    max-width: 108px;
  }

  .seo-table--items tbody th .table-carrier-logo {
    display: none;
  }

  .seo-table--items .table-deal-cell {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    white-space: nowrap;
  }

  .seo-table--items .table-deal-note {
    font-size: 0.7rem;
    font-weight: 500;
    white-space: normal;
    min-width: 96px;
  }

  .seo-table caption,
  #rehber .seo-table caption,
  body:has(#desi-calc) .seo-table caption {
    padding: 8px 11px;
    font-size: 0.72rem;
  }

  #rehber.seo-content {
    margin-top: 30px;
    padding-top: 20px;
    gap: 0;
  }

  #rehber .seo-guide-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding-bottom: 12px;
  }

  #rehber .seo-main-title::after {
    content: none;
  }

  #rehber .seo-section {
    padding: 18px 0;
    border-radius: 0;
  }

  #rehber > .seo-section:first-child {
    padding-top: 0;
  }

  #rehber .seo-section:last-child {
    padding-bottom: 0;
  }

  #rehber .seo-faq summary {
    padding: 11px 0;
    font-size: 0.86rem;
  }

  #rehber .seo-faq-answer {
    padding: 0 10px 12px 0;
    font-size: 0.825rem;
  }

  .hero.hero-desi {
    padding: 16px;
  }

  .hero-desi-highlights {
    gap: 6px;
  }

  .hero-desi-highlights .hero-camp-stat {
    padding: 8px 9px;
  }

  .hero-desi-highlights .hero-camp-stat strong {
    font-size: 0.8rem;
  }

  .hero-desi-highlights .hero-camp-stat span {
    font-size: 0.66rem;
  }

  body:has(#desi-calc) main.seo-content > .seo-section {
    padding: 16px;
    border-radius: 16px;
  }

  .desi-presets-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .desi-presets-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .desi-presets-pills::-webkit-scrollbar {
    display: none;
  }

  .desi-preset-chip {
    flex-shrink: 0;
  }

  .desi-calc-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .desi-calc-out {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .desi-box-stage {
    padding: 10px 12px;
  }

  .desi-box-svg-wrap {
    width: 120px;
    height: 80px;
  }

  .desi-smart-tip {
    flex-direction: column;
    align-items: flex-start;
  }

  .desi-cta-bar .seo-cta-btn,
  .desi-cta-bar .desi-secondary-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .footer-inner {
    padding: 30px 16px 22px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
    margin-bottom: 20px;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
  }

  .footer-col-prices {
    grid-column: 2;
    grid-row: 2 / span 2;
  }

  .footer-col-campaigns {
    grid-column: 1;
    grid-row: 3;
  }

  .footer-brand-desc {
    max-width: none;
    font-size: 0.81rem;
  }

  .footer-nav-list {
    gap: 7px;
  }

  .footer-nav-list a {
    font-size: 0.81rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .box-size-grid {
    grid-template-columns: 1fr;
  }

  .segmented {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   KargoKıyasla CLS=0 Rezerve Yuvalar, İndirim Çipleri, Geçmiş & SEO Katmanları
   ========================================================================== */
.ad-slot-reserved {
  width: 100%;
  min-height: 100px;
  margin: 20px 0;
  border-radius: 14px;
  border: 1px dashed var(--border);
  background: var(--surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  contain: layout style;
}

.ad-slot-reserved.is-incontent {
  min-height: 250px;
}

.lead-cta-card {
  min-height: 112px;
  margin: 20px 0;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--primary-border);
  background: linear-gradient(135deg, var(--primary-soft) 0%, #ffffff 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.lead-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
}

/* Tek Tıkla İndirimim Var Profil Çipleri */
.discount-profile-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.discount-profile-bar[hidden] {
  display: none !important;
}

.discount-profile-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.discount-profile-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
}

.discount-profile-hint {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.discount-profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.discount-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  color: var(--text-secondary);
  font-size: 0.77rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.discount-chip:hover {
  border-color: var(--primary-border);
  color: var(--primary);
}

.discount-chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.discount-applied-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
  font-size: 0.72rem;
  font-weight: 700;
}

.price-list-strike {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 6px;
}

/* Silindir / Rulo Desi Sekmeleri & Bölücü Kıyaslama */
.desi-shape-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
}

.desi-shape-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.desi-shape-tab.is-active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.desi-divisor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.desi-divisor-card {
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-subtle);
}

.desi-divisor-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  margin-top: 4px;
}

/* 5 Katmanlı SEO Featured Snippet & Küme Bileşenleri */
.seo-snippet-box {
  padding: 16px 20px;
  margin: 0 0 22px;
  border-radius: 14px;
  border-left: 4px solid var(--primary);
  background: var(--primary-soft);
  color: var(--navy-mid);
  font-size: 0.94rem;
  line-height: 1.65;
}

.seo-snippet-box p {
  margin: 0;
}

.seo-changelog-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  margin: 16px 0;
  border-radius: 12px;
  background: var(--emerald-tint);
  border: 1px solid var(--emerald-border);
  font-size: 0.83rem;
  color: var(--navy-mid);
}

.seo-stat-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.seo-kpi-card {
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.seo-kpi-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.seo-kpi-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--navy);
}

.seo-kpi-sub {
  display: block;
  font-size: 0.74rem;
  color: var(--text-secondary);
  margin-top: 3px;
}

.seo-cluster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 12px;
  margin: 16px 0 24px;
}

.seo-cluster-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: var(--navy);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.seo-cluster-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.seo-cluster-card-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}

.seo-cluster-card-meta {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.seo-cluster-card-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald);
}

.seo-neighbor-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  margin: 20px 0;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: var(--surface-subtle);
}

.seo-neighbor-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.seo-neighbor-link:hover {
  text-decoration: underline;
}

/* SDR Tazminat & Enflasyon Endeksi Yardımcıları */
.sdr-calc-box {
  padding: 18px 20px;
  margin: 18px 0;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.inflation-bar-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: var(--surface-muted);
  overflow: hidden;
  margin-top: 6px;
}

.inflation-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--emerald-vivid) 100%);
}

/* ==========================================================================
   Ortak Küme Hero Rozetleri, Hızlı Paket Butonları, Tablo Hücreleri & SSS
   (/ulke/*, /esya/*, /rehber/*, /desi/*, /widget, /kargo-firmalari vb.)
   ========================================================================== */
.camp-calc-hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.camp-hero-carrier-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow-xs);
}

.camp-hero-carrier-chip:has(.carrier-logo-tile) {
  padding-left: 6px;
}

.camp-hero-carrier-chip .ui-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.camp-hero-carrier-chip .carrier-logo-tile {
  width: 34px;
  height: 20px;
  padding: 2px 4px;
  border-radius: 5px;
}

.camp-hero-validity-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.77rem;
  font-weight: 600;
}

.campaign-rate-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--emerald-soft, #ecfdf5);
  border: 1px solid var(--emerald-border, #a7f3d0);
  color: var(--emerald, #047857);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.campaign-rate-badge.is-info {
  background: var(--primary-soft);
  border-color: var(--primary-border);
  color: var(--primary);
  font-weight: 700;
}

/* Kart içi satır başlığı sağındaki CTA butonlarının tam genişliğe yayılmasını ve alt satıra düşmesini engeller */
.form-card > div:has(> a.primary-btn) > div:first-child {
  flex: 1 1 320px;
  min-width: 0;
}

a.primary-btn,
#copy-widget-btn.primary-btn {
  width: auto;
  min-height: 42px;
  padding: 10px 20px;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid var(--primary-border);
  background: #ffffff;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.14s ease;
}

.btn-secondary:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* Ülke / Paket Hızlı Seçici Sekme Çipleri (.discount-profile-chip) */
.discount-profile-chips:has(.discount-profile-chip) {
  gap: 8px;
}

.discount-profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface-subtle);
  color: var(--navy-mid);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.discount-profile-chip strong {
  color: var(--navy);
  font-weight: 800;
}

.discount-profile-chip:hover {
  border-color: var(--primary-border);
  background: #ffffff;
  color: var(--primary);
}

.discount-profile-chip:hover strong {
  color: var(--primary);
}

.discount-profile-chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.24);
}

.discount-profile-chip.is-active strong {
  color: #ffffff;
}

/* SEO Tabloları Firma Hücresi, Logo & Etiketler */
.table-carrier-cell {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.table-carrier-logo.carrier-logo-tile {
  width: 38px;
  height: 24px;
  padding: 2px 4px;
  border-radius: 6px;
  flex-shrink: 0;
}

.table-cheapest-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  margin-left: 6px;
  border-radius: 999px;
  background: #d1fae5;
  color: #065f46;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.table-rate-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--amber-bg, #fef3c7);
  border: 1px solid var(--amber-border, #fde68a);
  color: var(--amber-text, #92400e);
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.table-base-sub,
.seo-th-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 1px;
}

/* Ortak SSS (Sık Sorulan Sorular) Akordiyon Tasarımı */
.seo-faq-section .section-heading-block {
  margin-bottom: 12px;
}

.seo-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.seo-faq-item {
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.seo-faq-item:hover {
  border-color: var(--primary-border);
}

.seo-faq-item[open] {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-xs);
}

.seo-faq-item > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--navy);
  user-select: none;
}

.seo-faq-item > summary::-webkit-details-marker {
  display: none;
}

.seo-faq-chevron {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.18s ease, color 0.15s ease;
}

.seo-faq-item[open] .seo-faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.seo-faq-answer {
  padding: 0 16px 15px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.seo-faq-answer p {
  margin: 0;
}

.camp-empty {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px dashed var(--border-strong);
  background: var(--surface-subtle);
}

@media (max-width: 640px) {
  a.primary-btn,
  #copy-widget-btn.primary-btn {
    width: 100%;
    white-space: normal;
  }

  .discount-profile-chip {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
    text-align: center;
    padding: 7px 10px;
    font-size: 0.78rem;
  }
}

/* Faz 2 Ajan A — Eşya Kabul Kısıtı Bağlam Bandı & Ağır Yük Sınır Rehberi (B-05 / B-15) */
#hesaplama-alani {
  scroll-margin-top: 84px;
}

.esya-context-banner {
  grid-column: 1 / -1;
  width: 100%;
  box-sizing: border-box;
  scroll-margin-top: 84px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--primary-border);
  background: linear-gradient(135deg, #f8fbff 0%, #eff6ff 100%);
  box-shadow: var(--shadow-xs);
}

.esya-context-banner.is-warning {
  border-color: #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.esya-context-banner-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.esya-context-banner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex-shrink: 0;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary);
  margin-top: 1px;
}

.esya-context-banner.is-warning .esya-context-banner-icon {
  background: rgba(217, 119, 6, 0.16);
  color: #b45309;
}

.esya-context-banner-copy {
  min-width: 0;
  flex: 1;
}

.esya-context-banner-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.esya-context-banner.is-warning .esya-context-banner-copy strong {
  color: #78350f;
}

.esya-context-banner-copy p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.52;
  color: var(--text-secondary);
}

.esya-context-banner.is-warning .esya-context-banner-copy p {
  color: #92400e;
}

.esya-context-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.esya-context-banner-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: var(--navy);
}

.esya-context-banner-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.esya-context-banner-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
}

.esya-context-banner-close:hover {
  background: rgba(15, 23, 42, 0.06);
  color: var(--navy);
}

.heavy-empty-guidance {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1px solid #f59e0b;
  background: #fffbeb;
}

.heavy-empty-guidance-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(217, 119, 6, 0.16);
  color: #b45309;
  flex-shrink: 0;
}

.heavy-empty-guidance-copy strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #78350f;
  margin-bottom: 3px;
}

.heavy-empty-guidance-copy p {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.5;
  color: #92400e;
}

@media (max-width: 640px) {
  .esya-context-banner {
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
  }

  .esya-context-banner-actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================================
   Faz 3 Ajan 3A — Çapa Hizalama (B-09 / B-18), Doğrudan Desi Modu (B-16),
   Tablo Yatay Kaydırma İpucu (B-10) ve >=44px Mobil Dokunma Hedefleri (B-18)
   ========================================================================== */

html {
  scroll-padding-top: 80px;
}

main [id],
section[id],
article [id],
h1[id],
h2[id],
h3[id],
.seo-section[id],
#hesaplama-alani,
#results-section,
.shipment-compact-bar {
  scroll-margin-top: 80px;
}

/* Doğrudan Desi Girişi (B-16) */
.smart-pkg-head-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}

.dims-mode-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 4px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  max-width: 100%;
  box-sizing: border-box;
}

.dims-mode-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.dims-mode-btn:hover {
  color: var(--primary);
}

.dims-mode-btn.is-active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-xs);
}

.dims-grid.is-direct-desi {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.branch-dm-note {
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.45;
}

/* Mobil Yatay Tablo Kaydırma İpucu & Koli Çip Şeridi Solma İpucu (B-10) */
@media (max-width: 768px) {
  .seo-table-wrap {
    position: relative;
    background-image:
      linear-gradient(to right, var(--surface) 18px, rgba(255, 255, 255, 0)),
      linear-gradient(to left, var(--surface) 18px, rgba(255, 255, 255, 0)),
      radial-gradient(farthest-side at 0 50%, rgba(15, 23, 42, 0.14), rgba(15, 23, 42, 0)),
      radial-gradient(farthest-side at 100% 50%, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0));
    background-position: left center, right center, left center, right center;
    background-repeat: no-repeat;
    background-size: 28px 100%, 28px 100%, 10px 100%, 12px 100%;
    background-attachment: local, local, scroll, scroll;
  }

  .seo-table-wrap::before {
    content: "← Diğer sütunlar için yana kaydırın →";
    display: block;
    position: sticky;
    left: 0;
    width: 100cqi;
    max-width: 100cqi;
    box-sizing: border-box;
    padding: 6px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-align: center;
    color: var(--primary);
    background: linear-gradient(90deg, #eff6ff 0%, #f8fbff 50%, #eff6ff 100%);
    border-bottom: 1px solid var(--border);
  }

  .desi-presets-pills,
  .desi-preset-strip {
    padding-right: 20px;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 22px), rgba(0, 0, 0, 0.22) 100%);
    mask-image: linear-gradient(to right, #000 calc(100% - 22px), rgba(0, 0, 0, 0.22) 100%);
  }
}

/* >= 44 px Mobil Dokunma Alanları — Sıfır Yatay Taşma (B-18) */
@media (max-width: 640px) {
  #locate-origin-btn,
  .locate-origin-btn,
  .locate-clean-btn,
  #toggle-dest-zip-btn,
  .zip-toggle-btn,
  #toggle-custom-dims-btn,
  #quick-direct-desi-btn,
  .custom-dims-toggle-btn,
  .dims-mode-btn,
  #swap-route-btn,
  .swap-route-btn,
  .swap-pill-btn,
  .discount-profile-pill,
  .discount-profile-chip,
  .discount-chip,
  .box-tip-apply-btn,
  .desi-tip-apply-btn,
  .desi-preset-chip,
  .desi-shape-tab,
  .branch-filter-pill,
  .branch-locate-btn,
  .esya-context-banner-link,
  .calc-scope-tab,
  .sort-btn,
  .row-expand-btn,
  .seo-link-chips li a,
  #rehber .seo-link-chips li a {
    min-height: 44px;
    box-sizing: border-box;
  }

  .box-tip-close-btn,
  .esya-context-banner-close,
  .kd-sheet-close,
  .smart-combo-toggle {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    box-sizing: border-box;
  }

  #swap-route-btn,
  .swap-route-btn,
  .swap-pill-btn {
    min-width: 44px;
  }

  .smart-combo-toggle {
    right: 1px;
  }

  .field .smart-combo-input {
    padding-right: 44px;
  }

  .swap-divider {
    margin: -4px 0;
  }

  .smart-pkg-head {
    gap: 8px;
  }

  .smart-pkg-head-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
    gap: 6px;
  }

  .dims-mode-bar {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-table--items .table-deal-cell {
    min-height: 44px;
    justify-content: center;
    box-sizing: border-box;
  }
}
