:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-subtle: #f9fafb;
  --surface-muted: #f2f4f7;
  --border: #e4e7ec;
  --border-strong: #d0d5dd;
  --text: #101828;
  --text-secondary: #344054;
  --text-muted: #667085;
  --navy: #0f2942;
  --navy-hover: #163a5c;
  --navy-soft: #f0f4f8;
  --primary: #0f2942;
  --primary-hover: #163a5c;
  --primary-dark: #0a1d30;
  --primary-soft: #f0f4f8;
  --primary-border: #cbd5e1;
  --cta: #ea580c;
  --cta-hover: #c2410c;
  --emerald: #047857;
  --emerald-badge: #059669;
  --emerald-soft: #ecfdf3;
  --emerald-border: #a6f4c5;
  --amber: #b54708;
  --amber-soft: #fffaeb;
  --amber-border: #fedf89;
  --danger: #b42318;
  --danger-soft: #fef3f2;
  --danger-border: #fecdca;
  --radius-lg: 12px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.06), 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-md: 0 2px 6px rgba(16, 24, 40, 0.05), 0 1px 2px rgba(16, 24, 40, 0.03);
}

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

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
.brand-title,
.primary-btn {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==========================================================================
   SVG İkon Sistemi & Vektörel Kargo Marka Logoları
   ========================================================================== */
.ui-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  vertical-align: -0.18em;
}

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

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

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

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

.ui-icon-spin {
  animation: spinIcon 0.8s linear infinite;
}

.carrier-logo-tile {
  width: 78px;
  height: 36px;
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 5px 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 36, 57, 0.03);
}

.carrier-logo-tile svg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 22px;
  display: block;
}

/* Her logonun en-boy oranına özel optik dengeleme (kaba/taşkın görünümü önler) */
.carrier-logo-tile[data-carrier-logo="dhl"] {
  background: #fecc00;
  border-color: rgba(213, 0, 41, 0.16);
  padding: 5px 7px;
}
.carrier-logo-tile[data-carrier-logo="dhl"] svg {
  max-height: 18px;
}

.carrier-logo-tile[data-carrier-logo="ups"] svg {
  max-height: 23px;
  max-width: 24px;
}

.carrier-logo-tile[data-carrier-logo="kolaygelsin"] svg {
  max-height: 21px;
  max-width: 54px;
}

.carrier-logo-tile[data-carrier-logo="ptt"] svg {
  max-height: 20px;
  max-width: 60px;
}

.carrier-logo-tile[data-carrier-logo="aras"] svg {
  max-height: 18px;
  max-width: 58px;
}

.carrier-logo-tile[data-carrier-logo="yurtici"] svg {
  max-height: 18px;
  max-width: 62px;
}

.carrier-logo-tile[data-carrier-logo="surat"] svg {
  max-height: 15px;
  max-width: 64px;
}

.carrier-logo-tile[data-carrier-logo="ase"] svg {
  max-height: 20px;
  max-width: 52px;
}

.carrier-logo-tile[data-carrier-logo="aramex"] svg {
  max-height: 13px;
  max-width: 62px;
}

.carrier-logo-tile.logo-sm {
  width: 64px;
  height: 28px;
  padding: 4px 7px;
  border-radius: 6px;
}

.carrier-logo-tile.logo-sm svg {
  max-height: 17px;
}
.carrier-logo-tile.logo-sm[data-carrier-logo="ups"] svg {
  max-height: 18px;
}
.carrier-logo-tile.logo-sm[data-carrier-logo="surat"] svg,
.carrier-logo-tile.logo-sm[data-carrier-logo="aramex"] svg {
  max-height: 12px;
}

/* ==========================================================================
   Klavye Erişilebilirliği
   ========================================================================== */
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

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

/* ==========================================================================
   Üst Kurumsal Başlık (Çift Katmanlı Kurumsal Lojistik Üst Barı)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(15, 41, 66, 0.04);
}

.header-topbar {
  background: #0f2439;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.73rem;
  border-bottom: 3px solid var(--cta);
}

.header-topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.topbar-left,
.topbar-right {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.84);
}

.topbar-item .ui-icon {
  color: #fb923c;
}

.topbar-item strong {
  color: #ffffff;
  font-weight: 700;
}

.topbar-sep {
  color: rgba(255, 255, 255, 0.25);
}

.topbar-subtle-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 500;
}

.topbar-subtle-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fb923c;
  flex-shrink: 0;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 62px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-logo-box {
  width: 46px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

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

.brand-title {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0f2439;
}

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

.brand-tagline {
  margin-top: 3px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.top-nav {
  display: inline-flex;
  align-items: stretch;
  gap: 4px;
}

.nav-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--text-secondary);
  background: transparent;
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.nav-tab .ui-icon {
  color: var(--text-muted);
  transition: color 0.16s ease, transform 0.16s ease;
}

.nav-tab::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.nav-tab:hover {
  color: var(--navy);
  background: rgba(15, 41, 66, 0.025);
}

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

.nav-tab:hover::after {
  background: rgba(15, 41, 66, 0.22);
}

.nav-tab.active {
  color: var(--navy);
  font-weight: 700;
  background: transparent;
}

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

.nav-tab.active::after {
  background: var(--cta);
}

/* ==========================================================================
   Ana Sayfa Kabuğu ve Sade Sayfa Başlığı
   ========================================================================== */
.page-shell {
  width: 100%;
  max-width: 1280px;
  min-width: 0;
  margin: 0 auto;
  padding: 20px 24px 44px;
  flex: 1;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.hero-main {
  max-width: 1080px;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-badge);
  display: inline-block;
  flex-shrink: 0;
}

.hero h1 {
  margin: 0 0 4px;
  font-size: clamp(1.35rem, 2.1vw, 1.68rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.22;
  color: var(--text);
  overflow-wrap: break-word;
}

.hero-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.main-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  min-width: 0;
}

.main-grid > * {
  min-width: 0;
  max-width: 100%;
}

/* Masaüstü 2 Sütunlu Yerleşim: Solda Gönderi Formu, Sağda Karşılaştırma Tablosu */
@media (min-width: 981px) {
  .main-grid.split-desktop-grid {
    display: grid;
    grid-template-columns: 410px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }

  .split-desktop-grid > .form-card {
    position: sticky;
    top: 108px;
    align-self: start;
  }

  .split-desktop-grid > .form-card .card-header-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .split-desktop-grid > .form-card .dims-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .split-desktop-grid > .results-section {
    min-width: 0;
  }
}

/* ==========================================================================
   Form Kartı ve Temiz Kontroller (Kutu İçinde Kutu Olmadan)
   ========================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.card-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.card-header-row h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}

.form-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--navy-soft);
  border: 1px solid #dbe4ee;
  padding: 2px 8px;
  border-radius: 999px;
}

.quick-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.presets-label {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-right: 2px;
}

.chip-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.14s ease, color 0.14s ease, background-color 0.14s ease;
}

.chip-btn:hover {
  border-color: var(--border-strong);
  color: var(--navy);
  background: var(--surface-muted);
}

.chip-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

/* ==========================================================================
   Akıllı 3 Adımlı Açılır Gönderi Formu (1 → 2 → 3 Akordiyon)
   ========================================================================== */
.form-stepper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

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

.form-step:not(.is-open):hover {
  border-color: var(--border-strong);
  background: #ffffff;
}

.form-step.is-open {
  border-color: #b8c4d4;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(15, 41, 66, 0.05);
}

.step-header {
  appearance: none;
  width: 100%;
  border: none;
  background: transparent;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  border-radius: var(--radius-md);
}

.form-step.is-open .step-header {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.step-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.form-step.is-open .step-badge {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

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

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

.step-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.3;
}

.form-step.is-open .step-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.form-step.is-done:not(.is-open) .step-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.step-summary {
  display: none;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-step.is-done:not(.is-open) .step-summary {
  display: block;
}

.step-action-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--surface-muted);
  flex-shrink: 0;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.form-step.is-open .step-action-label {
  color: var(--navy);
  background: var(--navy-soft);
}

.form-step.is-done:not(.is-open) .step-action-label {
  color: var(--navy);
  background: #ffffff;
  border: 1px solid var(--border);
}

.form-step.is-done:not(.is-open):hover .step-action-label {
  border-color: var(--navy);
}

.step-body {
  padding: 13px 13px 14px;
}

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

.route-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.route-stack.route-intl-stack {
  gap: 14px;
}

.swap-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1px 0;
}

.swap-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--border);
}

.swap-pill-btn {
  position: relative;
  z-index: 1;
  appearance: none;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.73rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.swap-pill-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--surface-subtle);
}

.swap-pill-btn .ui-icon {
  transform: rotate(90deg);
}

.toggles-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-next-btn {
  margin-top: 13px;
  width: 100%;
  height: 40px;
  border: 1px solid var(--navy);
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.step-next-btn:hover {
  background: var(--navy-hover, #163a5c);
  border-color: var(--navy-hover, #163a5c);
  color: #ffffff;
}

.step-next-btn[hidden] {
  display: none !important;
}

.step-next-btn.is-secondary-mode {
  height: 34px;
  margin-top: 11px;
  background: var(--surface-muted);
  border-color: var(--border);
  color: var(--text-secondary);
  font-size: 0.79rem;
}

.step-next-btn.is-secondary-mode:hover {
  background: #e9ecf1;
  color: var(--navy);
  border-color: var(--border-strong);
}

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

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.section-label .ui-icon {
  color: var(--text-muted);
}

.location-box {
  background: transparent;
  padding: 0;
  min-width: 0;
}

.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  align-items: end;
}

.field {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
}

.field label {
  display: block;
  font-size: 0.77rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text-muted);
  line-height: 1.3;
}

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

select,
input[type="number"],
input[type="text"],
.text-input {
  width: 100%;
  height: 40px;
  padding: 0 11px;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--text);
  background-color: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

select {
  appearance: none;
  padding-right: 30px;
  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='%23667085' 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 9px center;
  background-size: 15px 15px;
  cursor: pointer;
}

select:hover,
input[type="number"]:hover,
input[type="text"]:hover,
.text-input:hover {
  border-color: #98a2b3;
}

select:focus,
input[type="number"]:focus,
input[type="text"]:focus,
.text-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15, 41, 66, 0.1);
}

.island-hint {
  margin-top: 8px;
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--amber);
  background: var(--amber-soft);
  border: 1px solid var(--amber-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.island-hint[hidden] {
  display: none !important;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
}

.segmented input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.segmented label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: 6px;
  text-align: center;
  padding: 7px 10px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
}

.segmented label:hover {
  color: var(--text);
}

.segmented input[type="radio"]:checked + label {
  background: var(--surface);
  color: var(--navy);
  font-weight: 700;
  box-shadow: var(--shadow-xs);
}

.package-box {
  margin: 0;
}

.package-box[hidden] {
  display: none !important;
}

.box-size-presets {
  margin-bottom: 10px;
}

.box-size-presets-label {
  display: block;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

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

.box-preset-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  color: var(--text);
  border-radius: 7px;
  min-height: 44px;
  padding: 6px 10px;
  text-align: left;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  cursor: pointer;
  transition: border-color 0.14s ease, background-color 0.14s ease, box-shadow 0.14s ease;
}

.box-preset-btn:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 8px 12px;
}

.box-preset-btn:hover {
  border-color: var(--border-strong);
  background: #ffffff;
}

.box-preset-btn.is-active {
  border-color: var(--navy);
  background: var(--navy-soft);
  box-shadow: 0 0 0 1px var(--navy);
}

.box-preset-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.box-preset-btn.is-active .box-preset-name {
  color: var(--navy);
}

.box-preset-meta {
  font-size: 0.69rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.2;
}

.box-preset-btn.is-active .box-preset-meta {
  color: var(--text-secondary);
}

.dims-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.desi-live-bar {
  margin-top: 10px;
  padding: 8px 11px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 7px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.79rem;
  color: var(--text-secondary);
}

.desi-formula {
  color: var(--text-muted);
}

.chargeable-pill {
  color: var(--text);
  font-size: 0.79rem;
  font-weight: 600;
}

.chargeable-pill strong {
  color: var(--navy);
}

.doc-info-box {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.doc-info-box[hidden] {
  display: none !important;
}

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

.error-banner[hidden] {
  display: none !important;
}

.primary-btn {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--cta);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.primary-btn:hover {
  background: var(--cta-hover);
}

.primary-btn:disabled {
  opacity: 0.78;
  cursor: wait;
}

/* ==========================================================================
   Sağ Sütun: Karşılaştırma Tablosu Paneli ve Sonuç Satırları
   ========================================================================== */
.results-section {
  scroll-margin-top: 112px;
}

.comparison-panel {
  padding: 18px 20px;
}

.summary-bar {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 11px 15px;
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.84rem;
  transition: border-color 0.25s ease;
}

.summary-bar[hidden] {
  display: none !important;
}

.summary-bar.just-updated {
  border-color: var(--emerald-badge);
}

.summary-route {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text);
}

.summary-route .route-arrow {
  color: var(--text-muted);
}

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

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.77rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.tag + .tag::before {
  content: "·";
  margin-right: 6px;
  color: var(--border-strong);
  font-weight: 700;
}

.tag-island {
  color: var(--amber);
  font-weight: 600;
}

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

.results-toolbar[hidden] {
  display: none !important;
}

.results-count-note {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

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

.online-price-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 4px 8px 4px 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.online-price-toggle input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}

.online-price-toggle-track {
  position: relative;
  inline-size: 28px;
  block-size: 16px;
  border-radius: 999px;
  background: var(--border-strong);
  transition: background-color 0.14s ease;
}

.online-price-toggle-track::after {
  content: "";
  position: absolute;
  inset: 2px auto 2px 2px;
  inline-size: 12px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.2);
  transition: transform 0.14s ease;
}

.online-price-toggle input:checked + .online-price-toggle-track {
  background: #2563eb;
}

.online-price-toggle input:checked + .online-price-toggle-track::after {
  transform: translateX(12px);
}

.online-price-toggle:has(input:focus-visible) {
  outline: 2px solid #84adff;
  outline-offset: 2px;
}

.sort-label {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0 7px;
}

.sort-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease;
}

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

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

.share-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: #0f2439;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(15, 36, 57, 0.28);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Adım Adım İlerleme Paneli (1/7 ... 7/7) */
.calc-progress {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 12px;
  max-height: 180px;
  opacity: 1;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    max-height 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease,
    margin-bottom 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    padding-top 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    padding-bottom 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-width 0.28s ease;
}

.calc-progress[hidden] {
  display: none !important;
}

.calc-progress.is-complete {
  border-color: var(--emerald-border);
  background: #f6fef9;
}

.calc-progress.is-collapsing {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-top-width: 0;
  border-bottom-width: 0;
  pointer-events: none;
}

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

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

.progress-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.calc-progress.is-complete .progress-icon-wrap {
  border-color: var(--emerald-border);
  color: var(--emerald);
}

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

.progress-main-text {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.progress-sub-text {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 1px;
  line-height: 1.3;
}

.progress-counter-pill {
  font-size: 0.79rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 3px 10px;
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
}

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

.progress-track {
  height: 6px;
  border-radius: 999px;
  background: #e4e7ec;
  overflow: hidden;
  margin-top: 10px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--navy);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease;
}

.calc-progress.is-complete .progress-fill {
  background: var(--emerald-badge);
}

/* Tablo Sütun Başlığı & Sonuç Listesi */
.comparison-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 18px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 9px 9px 0 0;
  font-size: 0.71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  color: var(--text-muted);
}

.comparison-table-head .table-head-price {
  padding-right: 120px;
  text-align: right;
}

.comparison-table-head[hidden] {
  display: none !important;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comparison-panel .results-list.has-rows {
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 0 0 9px 9px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-xs);
}

/* Başlangıç Boş Tablo Durumu & Tek Bütünleşik KoliBey Maskot Sahnesi */
.empty-prompt-card {
  position: relative;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

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

.mascot-unified-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.mascot-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 700;
}

.mascot-character-center {
  position: relative;
  width: 168px;
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  margin: 2px 0;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.mascot-layer-svg,
.mascot-layer-3d {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mascot-layer-svg[hidden],
.mascot-layer-3d[hidden] {
  display: none !important;
}

.mascot-svg.is-idle {
  width: 156px;
  height: 146px;
  overflow: visible;
}

.mascot-3d-img {
  width: 164px;
  height: 164px;
  object-fit: contain;
  animation: mascotFloat 3.4s ease-in-out infinite;
}

.mascot-unified-speech {
  position: relative;
  max-width: 470px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 13px 18px;
  margin-top: 2px;
}

.mascot-unified-speech::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 11px;
  height: 11px;
  background: #f8fafc;
  border-left: 1px solid #e2e8f0;
  border-top: 1px solid #e2e8f0;
  transform: translateX(-50%) rotate(45deg);
}

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

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

/* Canlı SVG & 3D Maskot Animasyonları */
@keyframes mascotFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

@keyframes mascotShadowPulse {
  0%, 100% { transform: scaleX(1); opacity: 0.13; }
  50% { transform: scaleX(0.88); opacity: 0.08; }
}

@keyframes mascotBlink {
  0%, 44%, 48%, 94%, 98%, 100% { transform: scaleY(1); }
  46%, 96% { transform: scaleY(0.1); }
}

@keyframes mascotMagnifierIdle {
  0%, 100% { transform: rotate(0deg) translate(0, 0); }
  50% { transform: rotate(-6deg) translate(-2px, -3px); }
}

@keyframes mascotMagnifierScan {
  0%, 100% { transform: rotate(-10deg) translate(-4px, -4px) scale(1.06); }
  50% { transform: rotate(12deg) translate(3px, 2px) scale(1.12); }
}

@keyframes mascotBounceClick {
  0% { transform: scale(1); }
  35% { transform: translateY(-7px) scale(1.05); }
  70% { transform: translateY(2px) scale(0.98); }
  100% { transform: scale(1); }
}

.mascot-float-group {
  animation: mascotFloat 3.4s ease-in-out infinite;
  transform-origin: center;
}

.mascot-ground-shadow {
  animation: mascotShadowPulse 3.4s ease-in-out infinite;
  transform-origin: 90px 154px;
}

.mascot-eyes {
  animation: mascotBlink 5.2s ease-in-out infinite;
  transform-origin: 86px 84px;
}

.mascot-magnifier-arm {
  animation: mascotMagnifierIdle 2.8s ease-in-out infinite;
  transform-origin: 132px 96px;
}

.mascot-character-center.is-bouncing {
  animation: mascotBounceClick 0.48s ease;
}

/* 1/7 ... 7/7 Tarama İlerleme Çubuğundaki Mini KoliBey Avatarı */
.progress-icon-wrap.is-mascot-wrap {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--border);
  overflow: hidden;
  padding: 2px;
}

.mascot-progress-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mascot-svg.is-progress {
  width: 46px;
  height: 46px;
}

.mascot-svg.is-progress .mascot-magnifier-arm {
  animation: mascotMagnifierScan 0.9s ease-in-out infinite;
}

.mascot-3d-img.is-progress {
  width: 44px;
  height: 44px;
  object-fit: contain;
  animation: mascotMagnifierScan 1.1s ease-in-out infinite;
}

.calc-progress.is-complete .mascot-svg.is-progress .mascot-magnifier-arm,
.calc-progress.is-complete .mascot-3d-img.is-progress {
  animation: mascotBounceClick 0.55s ease;
}

.empty-prompt-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.empty-prompt-body {
  max-width: 500px;
}

.empty-prompt-title {
  margin: 0 0 5px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.empty-prompt-desc {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

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

/* Skeleton Yükleme Kartları */
@keyframes pulseSkeleton {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.skeleton-card {
  height: 80px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: pulseSkeleton 1.2s ease-in-out infinite;
}

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

.skeleton-box {
  width: 84px;
  height: 40px;
  border-radius: 7px;
  background: var(--border);
}

.skeleton-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.skeleton-line {
  height: 12px;
  width: 170px;
  border-radius: 5px;
  background: var(--border);
}

.skeleton-line.short {
  width: 115px;
  height: 10px;
}

.skeleton-price {
  width: 96px;
  height: 24px;
  border-radius: 5px;
  background: var(--border);
}

@keyframes cardRevealIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Taşıyıcı Satırları (Tablo Satırı & Kart Uyumlu) */
.carrier-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background-color 0.15s ease;
}

.comparison-panel .results-list.has-rows .carrier-card {
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}

.comparison-panel .results-list.has-rows .carrier-card:last-child {
  border-bottom: none;
}

.carrier-card:hover {
  background: #fcfcfd;
}

.carrier-card.cheapest {
  background: linear-gradient(90deg, #f3fcf7 0%, #ffffff 58%);
  box-shadow: inset 4px 0 0 var(--emerald-badge);
}

.carrier-card.unavailable {
  opacity: 0.72;
  background: var(--surface-subtle);
}

.carrier-card.card-enter {
  animation: cardRevealIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

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

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

/* Yedek Kısaltma Rozetleri */
.brand-mark {
  min-width: 52px;
  height: 40px;
  padding: 0 6px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.74rem;
  flex-shrink: 0;
  background: var(--surface-subtle);
  color: var(--text);
  border: 1px solid var(--border);
}

.carrier-meta {
  min-width: 0;
  min-height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

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

.carrier-name {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text);
}

.cheapest-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
  font-size: 0.71rem;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 5px;
}

.fastest-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
  font-size: 0.71rem;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 5px;
}

.island-fee-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--amber-soft);
  border: 1px solid var(--amber-border);
  color: var(--amber);
  font-size: 0.71rem;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 5px;
}

.branch-warning-row {
  margin-top: 5px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.branch-warning-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--amber-soft);
  border: 1px solid var(--amber-border);
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 2px 8px;
  border-radius: 5px;
}

.branch-warning-pill strong {
  font-weight: 700;
}

.carrier-sub {
  margin-top: 3px;
  font-size: 0.79rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.meta-chip + .meta-chip::before {
  content: "·";
  margin-right: 4px;
  color: var(--border-strong);
}

.official-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 500;
}

.official-link-pill::before {
  content: "·";
  margin-right: 4px;
  color: var(--border-strong);
}

.official-link-pill:hover {
  color: var(--navy);
  text-decoration: underline;
}

.carrier-notes {
  margin: 5px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.77rem;
  color: var(--text-muted);
}

.carrier-notes li {
  position: relative;
  padding-left: 10px;
}

.carrier-notes li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.58em;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: #98a2b3;
}

.carrier-notes li + li {
  margin-top: 2px;
}

.carrier-right {
  text-align: right;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 155px;
}

.carrier-right-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-shrink: 0;
}

.carrier-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  min-width: 118px;
}

.carrier-action-col {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.price-main {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: inline-flex;
  align-items: baseline;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  line-height: 1.18;
}

.price-main .price-int {
  font-size: 1.08rem;
  font-weight: inherit;
  letter-spacing: inherit;
}

.price-main .price-dec {
  font-size: 0.96rem;
  font-weight: inherit;
  opacity: 0.92;
}

.price-main .price-cur {
  font-size: 0.96rem;
  font-weight: inherit;
  margin-left: 3px;
  opacity: 0.92;
}

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

.price-caption {
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.online-note-pill {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 500;
}

.online-note-pill strong {
  color: var(--navy);
  font-weight: 700;
}

.price-strike-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin-bottom: 2px;
}

.price-original-del {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.85;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.price-main.is-discounted {
  color: #047857;
  font-weight: 700;
}

.online-price-tag {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  font-size: 0.71rem;
  line-height: 1.25;
  white-space: nowrap;
}

.online-price-tag .online-tag-label {
  color: #15803d;
  font-weight: 600;
}

.online-price-tag strong {
  color: #047857;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.unavailable-reason {
  margin-top: 3px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.unavailable-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 5px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.73rem;
  font-weight: 600;
}

.disclaimer {
  margin: 12px 0 0;
  font-size: 0.77rem;
  color: var(--text-muted);
}

.disclaimer[hidden] {
  display: none !important;
}

/* ==========================================================================
   Satır İçi Açılır Detay & Çıkış İlçesi Şube Haritası Çekmecesi
   ========================================================================== */
.carrier-card.expandable-row {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
}

.carrier-row-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  min-height: 74px;
  width: 100%;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease;
}

.carrier-card.expandable-row:hover {
  background: var(--surface);
}

.carrier-card.expandable-row.cheapest:hover {
  background: linear-gradient(90deg, #effaf4 0%, #fcfdfd 62%);
}

.carrier-card.expandable-row .carrier-row-summary:hover {
  background: rgba(15, 23, 42, 0.018);
}

.carrier-card.expandable-row.is-expanded .carrier-row-summary {
  background: rgba(30, 58, 138, 0.03);
}

.deal-inline-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 5px;
}

.deal-inline-chip strong {
  font-weight: 800;
}

.tip-inline-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 5px;
}

.row-expand-btn {
  margin-top: 0;
  min-width: 104px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--navy);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.row-expand-btn:hover {
  background: var(--navy-soft);
  border-color: var(--navy);
}

.carrier-card.is-expanded .row-expand-btn {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

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

.carrier-card.is-expanded .row-chevron {
  transform: rotate(180deg);
}

.carrier-detail-drawer {
  border-top: 1px solid var(--border);
  background: #f8fafc;
  padding: 16px 18px;
  animation: drawerFadeIn 0.2s ease-out both;
}

.carrier-detail-drawer[hidden] {
  display: none !important;
}

@keyframes drawerFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.drawer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 14px;
  align-items: start;
}

.drawer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.drawer-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
}

.drawer-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--border);
}

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

.drawer-vat-tag {
  font-size: 0.69rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface-muted);
  padding: 2px 7px;
  border-radius: 4px;
}

.drawer-origin-pill {
  font-size: 0.71rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--navy-soft);
  border: 1px solid #cbd5e1;
  padding: 2px 8px;
  border-radius: 5px;
  max-width: 190px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.breakdown-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.79rem;
  color: var(--text-secondary);
}

.breakdown-val {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--text);
}

.breakdown-total {
  margin-top: 4px;
  padding-top: 7px;
  border-top: 1px dashed var(--border-strong);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
}

.breakdown-total strong {
  font-size: 0.92rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
}

.breakdown-online-row {
  margin-top: 4px;
  padding: 6px 8px;
  border-radius: 6px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.77rem;
  color: #1e40af;
}

.breakdown-online-row span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.breakdown-online-row strong {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.drawer-hint-note {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.76rem;
  line-height: 1.42;
  color: var(--text-secondary);
}

.drawer-hint-note .ui-icon {
  color: var(--navy);
  margin-top: 2px;
}

.savings-tip-box {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-left: 3px solid #2563eb;
  border-radius: 8px;
  padding: 10px 12px;
}

.savings-tip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.savings-tip-title {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e40af;
}

.savings-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 4px;
  background: #dbeafe;
  color: #1d4ed8;
  font-variant-numeric: tabular-nums;
}

.savings-tip-desc {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.drawer-subtle-info {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 11px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.drawer-subtle-info .ui-icon {
  color: var(--emerald);
  margin-top: 1px;
}

.matched-deal-box {
  background: #f6fef9;
  border: 1px solid var(--emerald-border);
  border-left: 3px solid var(--emerald-badge);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.matched-deal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.matched-deal-name-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
}

.deal-badge-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--emerald-badge);
  color: #ffffff;
}

.matched-deal-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.matched-deal-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.matched-deal-price {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--emerald);
  font-variant-numeric: tabular-nums;
}

.matched-deal-save {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--emerald);
  font-variant-numeric: tabular-nums;
}

.deal-switch-note {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--amber);
}

.deal-req-text {
  font-size: 0.73rem;
  color: var(--text-secondary);
  line-height: 1.38;
}

.matched-deal-foot {
  padding-top: 4px;
  border-top: 1px solid rgba(16, 185, 129, 0.2);
}

.deal-page-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--emerald);
  text-decoration: none;
}

.deal-page-link:hover {
  text-decoration: underline;
}

/* Canlı Mesai Saatleri, Çağrı Merkezi ve Gömülü Google Haritalar Kutusu */
.carrier-schedule-bar {
  margin-bottom: 9px;
  padding: 8px 10px;
  border-radius: 7px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.schedule-bar-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.hours-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.hours-status-pill.is-open {
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
}

.hours-status-pill.is-closed {
  background: var(--surface-muted);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
}

.hours-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  flex-shrink: 0;
}

.carrier-phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 5px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--navy);
  font-size: 0.73rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}

.carrier-phone-chip:hover {
  border-color: var(--navy);
  background: var(--navy-soft);
}

.schedule-bar-sub {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.71rem;
  color: var(--text-secondary);
}

.schedule-holiday-note {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  padding-top: 4px;
  border-top: 1px dashed var(--border);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--amber);
}

.branch-map-stage.is-google-frame {
  position: relative;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-muted);
}

.google-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.branch-map-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(248, 250, 252, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  pointer-events: none;
}

.branch-map-loading[hidden] {
  display: none !important;
}

.google-frame-hint {
  margin-top: 8px;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.drawer-map-actions {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.drawer-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.drawer-action-btn.is-secondary {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.drawer-action-btn.is-secondary:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.drawer-action-btn.is-primary {
  background: var(--navy);
  border: 1px solid var(--navy);
  color: #ffffff;
}

.drawer-action-btn.is-primary:hover {
  background: var(--navy-hover);
}

/* Resmi Şube, Esnaf Noktası ve Kargo Dolabı İnteraktif Kart Listesi */
.active-branch-focus-bar {
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 7px;
  background: var(--navy-soft);
  border: 1px solid rgba(15, 76, 129, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.active-branch-focus-bar[hidden] {
  display: none !important;
}

.active-branch-focus-info {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--navy);
  min-width: 0;
}

.active-branch-focus-info span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.active-branch-reset-btn {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.active-branch-reset-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.official-branches-panel {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.branches-loading-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 7px;
  background: var(--surface-subtle);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.branches-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.branches-panel-title {
  font-size: 0.77rem;
  font-weight: 800;
  color: var(--text);
}

.branches-count-pill {
  font-size: 0.69rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.branches-fallback-banner {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 7px 9px;
  border-radius: 7px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.38;
}

.branches-fallback-banner.is-muted {
  background: var(--surface-subtle);
  border-color: var(--border);
  color: var(--text-secondary);
}

.branch-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.branch-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  color: var(--text-secondary);
  font-size: 0.71rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.14s ease;
}

.branch-filter-pill:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.branch-filter-pill.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.branch-filter-num {
  font-size: 0.66rem;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  font-variant-numeric: tabular-nums;
}

.branch-filter-pill.active .branch-filter-num {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.branch-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

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

.branch-search-input {
  width: 100%;
  padding: 6px 10px 6px 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font-family: inherit;
  font-size: 0.74rem;
}

.branch-search-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(15, 76, 129, 0.12);
}

.branch-cards-scroll {
  max-height: 295px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-right: 3px;
}

.branches-empty-state {
  padding: 14px 10px;
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-muted);
  background: var(--surface-subtle);
  border-radius: 7px;
}

.official-branch-card {
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: border-color 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease;
}

.official-branch-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.official-branch-card.is-selected {
  border-color: var(--navy);
  background: #f8fbff;
  box-shadow: 0 0 0 1px var(--navy);
}

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

.branch-card-title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.branch-card-name {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.28;
}

.branch-dist-tag {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--surface-muted);
  color: var(--text-secondary);
}

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

.branch-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.66rem;
  font-weight: 700;
  white-space: nowrap;
}

.branch-type-badge.is-sube {
  background: var(--navy-soft);
  color: var(--navy);
}

.branch-type-badge.is-esnaf {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.branch-type-badge.is-sp {
  background: #fefce8;
  color: #a16207;
  border: 1px solid #fde047;
}

.branch-type-badge.is-dolap {
  background: #f3e8ff;
  color: #6b21a8;
  border: 1px solid #e9d5ff;
}

.branch-scope-tag {
  font-size: 0.63rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  white-space: nowrap;
}

.branch-scope-tag.is-intl {
  background: #ecfeff;
  color: #0e7490;
  border: 1px solid #a5f3fc;
}

.branch-scope-tag.is-both {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.branch-card-address {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.38;
}

.branch-card-hours {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.branch-evening-pill {
  font-size: 0.64rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: var(--emerald);
  border: 1px solid var(--emerald-border);
}

.branch-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding-top: 3px;
}

.branch-mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.69rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.13s ease;
}

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

.branch-mini-btn.is-focus {
  background: var(--navy-soft);
  border-color: rgba(15, 76, 129, 0.24);
  color: var(--navy);
}

.official-branch-card.is-selected .branch-mini-btn.is-focus {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.branch-mini-btn.is-phone {
  color: var(--emerald);
  border-color: var(--emerald-border);
  background: var(--emerald-soft);
  font-variant-numeric: tabular-nums;
}

.branches-panel-hint {
  font-size: 0.69rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   Konum Tespiti, Yakından Uzağa Mesafe Rozetleri ve Canlı "Şu An Açık" Filtresi
   ========================================================================== */
.location-box-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.location-box-head .section-label {
  margin-bottom: 0;
}

.locate-clean-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 9px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.locate-clean-btn:hover:not(:disabled) {
  background: var(--surface-subtle);
  border-color: var(--navy);
  color: var(--navy);
}

.locate-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-strong);
  flex-shrink: 0;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.locate-clean-btn.is-active {
  background: #f8fafc;
  border-color: var(--emerald-border);
  color: var(--emerald);
}

.locate-clean-btn.is-active .locate-status-dot {
  background: var(--emerald-badge);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.locate-clean-btn:disabled {
  opacity: 0.68;
  cursor: wait;
}

.geo-status-note {
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.38;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.geo-status-note[hidden] {
  display: none !important;
}

.geo-status-note.is-success {
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
}

.geo-status-note.is-warning {
  background: var(--amber-soft);
  border: 1px solid var(--amber-border);
  color: var(--amber);
}

.geo-status-note.is-toolbar-note {
  margin-top: 0;
  margin-bottom: 10px;
}

.geo-reset-link {
  margin-left: auto;
  appearance: none;
  border: none;
  background: rgba(4, 120, 87, 0.12);
  color: var(--emerald);
  font-family: inherit;
  font-size: 0.69rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.14s ease;
}

.geo-reset-link:hover {
  background: rgba(4, 120, 87, 0.22);
}

.nearest-winner-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  color: #0e7490;
  font-size: 0.71rem;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 5px;
}

.nearest-point-line {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text-secondary);
  max-width: 100%;
  min-width: 0;
}

.nearest-point-line .nearest-pin-icon {
  color: #0e7490;
  flex-shrink: 0;
}

.nearest-point-line .nearest-dist-val {
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.nearest-point-line .nearest-sep {
  color: var(--border-strong);
  font-weight: 700;
}

.nearest-point-line .nearest-branch-name {
  color: var(--text-muted);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nearest-point-line.is-muted {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.nearest-point-line.is-muted .nearest-pin-icon {
  color: var(--text-muted);
}

.branches-panel-title-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.branches-sorted-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  color: #0e7490;
  font-size: 0.66rem;
  font-weight: 700;
  white-space: nowrap;
}

.branch-distance-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 5px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
  font-size: 0.66rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.branch-open-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

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

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

.branch-open-pill.is-closed {
  background: var(--surface-muted);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.drawer-branches-only {
  width: 100%;
}

.drawer-branches-box {
  padding: 14px 15px;
}

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

.branches-count-pill[hidden] {
  display: none !important;
}

.official-branches-panel.is-standalone {
  margin-top: 10px;
  padding-top: 0;
  border-top: none;
  gap: 10px;
}

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

.branches-toolbar .branch-search-wrap {
  flex: 1 1 230px;
  max-width: 360px;
}

.branches-toolbar:has(.branch-search-wrap:only-child) .branch-search-wrap {
  max-width: 100%;
}

.branch-cards-scroll.is-grid {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-height: 410px;
  overflow-y: auto;
  padding-right: 4px;
}

.official-branch-card.is-static-card {
  cursor: default;
  justify-content: space-between;
  padding: 12px 13px;
  gap: 9px;
  border-radius: 9px;
}

.official-branch-card.is-closest-card {
  border-color: #7dd3fc;
  background: linear-gradient(180deg, #f8fdff 0%, #ffffff 65%);
  box-shadow: 0 1px 3px rgba(14, 116, 144, 0.08);
}

.branch-closest-tag {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  color: #0e7490;
  white-space: nowrap;
}

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

.official-branch-card.is-static-card .branch-card-name {
  font-size: 0.83rem;
  line-height: 1.3;
}

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

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

.branch-info-row.is-hours-row {
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 600;
}

.branch-info-row.is-hours-row > .ui-icon {
  margin-top: 0;
}

.branch-hours-text {
  color: var(--text-secondary);
}

.branch-hours-pills {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.branch-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

.branch-action-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.73rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

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

.branch-action-btn.is-directions {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

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

.branch-action-btn.is-phone {
  color: var(--emerald);
  border-color: var(--emerald-border);
  background: var(--emerald-soft);
  font-variant-numeric: tabular-nums;
}

.branch-action-btn.is-phone:hover {
  background: #d1fae5;
  border-color: var(--emerald-badge);
  color: var(--emerald);
}

.branch-action-btn.is-general-phone {
  color: var(--navy);
  border-color: var(--primary-border);
  background: var(--primary-soft);
  font-variant-numeric: tabular-nums;
}

.branch-action-btn.is-general-phone:hover {
  border-color: var(--navy);
  background: #e2eaf2;
  color: var(--navy);
}

.branch-action-btn.is-copy {
  margin-left: auto;
  color: var(--text-secondary);
  background: #ffffff;
}

.branch-action-btn.is-copy.is-copied {
  color: var(--emerald);
  border-color: var(--emerald-border);
  background: var(--emerald-soft);
}

/* ==========================================================================
   İlgili Araçlara Geçiş Kartları
   ========================================================================== */
.related-tools-section {
  margin-top: 16px;
}

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

.related-tool-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

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

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

.related-tool-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #f0f4f8;
  border: 1px solid #dbe4ee;
  color: var(--cta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.related-tool-card:hover .related-tool-icon {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.related-tool-title {
  margin: 0 0 2px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

.related-tool-desc {
  margin: 0;
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.38;
}

.related-tool-arrow {
  color: var(--navy);
  flex-shrink: 0;
  transition: transform 0.15s ease, color 0.15s ease;
}

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

/* ==========================================================================
   Kurumsal Çok Sütunlu Alt Bilgi (Aras Kargo Tarzı Zengin Kurumsal Footer)
   ========================================================================== */
.site-footer {
  background: #0f2439;
  color: rgba(255, 255, 255, 0.82);
  border-top: 3px solid var(--cta);
  margin-top: auto;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.25fr;
  gap: 28px;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #ffffff;
}

.footer-brand-box {
  width: 44px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.footer-brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.footer-brand-title span {
  color: #ea580c;
}

.footer-brand-sub {
  margin-top: 3px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.footer-brand-desc {
  margin: 0;
  font-size: 0.79rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

.footer-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.footer-trust-pill {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  white-space: nowrap;
}

.footer-formula-note {
  font-size: 0.72rem !important;
  color: rgba(255, 255, 255, 0.62) !important;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: 5px;
  white-space: normal;
}

.footer-col-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-nav-list li {
  font-size: 0.79rem;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.38;
}

.footer-nav-list a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.14s ease, transform 0.14s ease;
}

.footer-nav-list a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-hotline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.footer-hotline-card {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: background-color 0.14s ease, border-color 0.14s ease;
}

.footer-hotline-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.footer-hotline-name {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.68);
}

.footer-hotline-num {
  font-size: 0.76rem;
  font-weight: 800;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.footer-about {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about strong {
  color: rgba(255, 255, 255, 0.88);
}

.footer-bottom {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .header-topbar {
    display: none;
  }
  .footer-inner {
    padding: 26px 14px 20px;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

/* ==========================================================================
   Tablet Uyumluluğu (<= 860px)
   ========================================================================== */
@media (max-width: 860px) {
  .header-topbar {
    display: none;
  }

  .header-inner {
    min-height: 56px;
    padding: 0 16px;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
  }

  .brand-home {
    padding: 6px 0;
  }

  .top-nav {
    display: inline-flex;
    align-items: stretch;
    gap: 2px;
  }

  .nav-tab {
    padding: 0 10px;
    font-size: 0.82rem;
    gap: 6px;
  }

  .nav-tab::after {
    left: 8px;
    right: 8px;
  }

  .results-section {
    scroll-margin-top: 76px;
  }

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

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

  select,
  input[type="number"],
  input[type="text"],
  .text-input,
  .branch-search-input {
    height: 44px;
    min-height: 44px;
    font-size: 1rem;
  }
}

/* ==========================================================================
   Mobil Uyumluluk (<= 640px)
   ========================================================================== */
@media (max-width: 640px) {
  .header-inner {
    min-height: auto;
    padding: 6px 12px 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
  }

  .brand-home {
    justify-content: center;
    padding: 2px 0 4px;
    gap: 8px;
  }

  .brand-logo-box {
    width: 38px;
    height: 31px;
  }

  .brand-title {
    font-size: 1.15rem;
  }

  .brand-tagline {
    display: none;
  }

  .top-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 2px;
    border-top: 1px solid var(--border);
  }

  .nav-tab {
    min-height: 44px;
    padding: 8px 4px;
    font-size: 0.78rem;
    gap: 5px;
    justify-content: center;
  }

  .nav-tab .ui-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
  }

  .nav-tab::after {
    left: 6px;
    right: 6px;
  }

  .results-section {
    scroll-margin-top: 96px;
  }
}

@media (max-width: 360px) {
  .header-inner {
    padding: 6px 8px 0;
  }

  .nav-tab {
    padding: 8px 2px;
    font-size: 0.72rem;
    gap: 3px;
  }

  .nav-tab .ui-icon {
    width: 13px;
    height: 13px;
  }
}

/* ==========================================================================
   Mobil Uyumluluk (<= 580px)
   ========================================================================== */
@media (max-width: 580px) {
  .page-shell {
    padding: 14px 12px 32px;
  }

  .card {
    padding: 14px;
  }

  .comparison-panel {
    padding: 14px 12px;
  }

  .carrier-logo-tile {
    width: 68px;
    height: 32px;
    padding: 4px 6px;
    border-radius: 7px;
  }

  .carrier-logo-tile.logo-sm {
    width: 58px;
    height: 26px;
    padding: 3px 6px;
    border-radius: 6px;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }

  select,
  input[type="number"],
  input[type="text"],
  .text-input,
  .branch-search-input {
    height: 44px;
    min-height: 44px;
    font-size: 1rem;
    min-width: 0;
    max-width: 100%;
  }

  .toggles-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

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

  .comparison-table-head {
    display: none !important;
  }

  .comparison-panel .results-list.has-rows {
    border-radius: var(--radius-sm);
  }

  .carrier-card:not(.expandable-row),
  .carrier-row-summary {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
  }

  .carrier-detail-drawer {
    padding: 12px 14px;
  }

  .drawer-map-actions {
    grid-template-columns: 1fr;
  }

  .carrier-right {
    text-align: left;
    align-items: flex-start;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
  }

  .carrier-right-group {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
  }

  .carrier-price-col {
    align-items: flex-start;
    text-align: left;
    min-width: 0;
  }

  .price-strike-wrap {
    justify-content: flex-start;
  }

  .results-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .sort-group {
    justify-content: stretch;
  }

  .results-sort-controls {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }

  .sort-label {
    display: none;
  }

  .sort-btn {
    flex: 1 1 auto;
    text-align: center;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .online-price-toggle {
    justify-content: space-between;
    min-height: 42px;
    padding: 6px 10px 6px 12px;
    font-size: 0.8rem;
  }

  .swap-pill-btn {
    min-height: 36px;
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  .locate-clean-btn {
    min-height: 36px;
    height: 36px;
    padding: 0 12px;
    font-size: 0.76rem;
  }

  .step-next-btn {
    min-height: 44px;
    height: 44px;
  }

  .segmented:not(.segmented-3) label {
    min-height: 40px;
    padding: 8px 10px;
  }

  .row-expand-btn {
    min-height: 40px;
    height: 40px;
    padding: 0 13px;
    font-size: 0.8rem;
  }

  .branch-filter-pill {
    min-height: 36px;
    padding: 6px 11px;
    font-size: 0.75rem;
  }

  .empty-prompt-card {
    padding: 22px 14px;
    gap: 10px;
  }

  .progress-top {
    align-items: flex-start;
  }

  .branch-action-btn {
    flex: 1 1 auto;
    min-height: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .branch-action-btn.is-copy {
    margin-left: 0;
  }

  .seo-link-chips a {
    min-height: 42px;
    padding: 8px 14px;
  }

  .footer-nav-list a,
  .footer-links a {
    padding: 5px 0;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 440px) {
  .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}


/* ==========================================================================
   SEO Rehber İçerik Katmanı (scripts/build-seo-content.mjs tarafından üretilen bölümler)
   ========================================================================== */
.seo-content {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.seo-guide-header {
  margin: 14px 0 2px;
  padding: 0 4px;
}

.seo-main-title {
  margin: 0 0 4px;
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.seo-subtitle {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.seo-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  min-width: 0;
}

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

.seo-section h2,
.seo-section h3 {
  margin: 0 0 10px;
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--navy);
}

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

.seo-lead strong,
.seo-faq-answer strong {
  color: var(--navy);
}

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

.seo-note a,
.seo-faq-answer a,
.seo-sources a,
.seo-table a {
  color: var(--cta-hover);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seo-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.seo-table-wrap:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}

.seo-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

.seo-table-compact {
  min-width: 420px;
}

.seo-table caption {
  caption-side: bottom;
  padding: 10px 12px;
  text-align: left;
  color: var(--text-muted);
  font-size: 0.8rem;
  background: var(--surface-subtle);
  border-top: 1px solid var(--border);
}

.seo-table th,
.seo-table td {
  padding: 10px 12px;
  text-align: right;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.seo-table thead th {
  background: var(--surface-muted);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.8rem;
}

.seo-table th[scope="row"],
.seo-table thead th:first-child {
  text-align: left;
  color: var(--text);
  font-weight: 600;
}

.seo-table:not(.seo-table-campaigns) th[scope="row"],
.seo-table:not(.seo-table-campaigns) thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--surface);
  box-shadow: 2px 0 5px -2px rgba(15, 36, 57, 0.08);
}

.seo-table:not(.seo-table-campaigns) thead th:first-child {
  background: var(--surface-muted);
}

.seo-table:not(.seo-table-campaigns) tr.is-self th[scope="row"] {
  background: #fff7ed;
}

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

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

.seo-table-campaigns th,
.seo-table-campaigns td {
  text-align: left;
}

.seo-table-campaigns td:nth-child(2) {
  white-space: normal;
  min-width: 260px;
}

.seo-faq {
  display: grid;
  gap: 8px;
}

.seo-faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
}

.seo-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 44px 14px 16px;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  line-height: 1.4;
  min-height: 48px;
}

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

.seo-faq summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cta);
}

.seo-faq details[open] summary::after {
  content: "−";
}

.seo-faq summary:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: -2px;
  border-radius: var(--radius-md);
}

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

.seo-faq-answer p {
  margin: 0;
  max-width: 78ch;
}

.seo-sources {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.seo-sources li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
}

.seo-sources span {
  color: var(--text-muted);
  font-size: 0.82rem;
}

@media (max-width: 580px) {
  .seo-section {
    padding: 18px 16px;
  }

  .seo-sources {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mascot-3d-img,
  .mascot-float-group,
  .mascot-ground-shadow,
  .mascot-eyes,
  .mascot-magnifier-arm {
    animation: none !important;
  }
}
.seo-collapsible {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
}

.seo-collapsible > summary {
  cursor: pointer;
  padding: 14px 16px;
  min-height: 48px;
  font-weight: 700;
  color: var(--navy);
}

.seo-collapsible[open] > summary {
  border-bottom: 1px solid var(--border);
}

.seo-collapsible > .seo-table-wrap {
  border: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--surface);
}
/* Kurumsal / güven sayfaları */
.seo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

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

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

.trust-list {
  margin: 0 0 14px;
  padding-left: 20px;
  max-width: 78ch;
  display: grid;
  gap: 8px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.95rem;
}

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

.trust-list a,
.seo-lead a {
  color: var(--cta-hover);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seo-table-left th,
.seo-table-left td {
  text-align: left;
}

.trust-updated {
  margin: 4px 4px 0;
}

.footer-inline-link {
  color: #fb923c;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* İçerik sayfaları: firma ücret sayfaları ve desi rehberi */
.seo-cta-row {
  margin-top: 14px;
}

.seo-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: var(--cta);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.seo-cta-btn:hover {
  background: var(--cta-hover);
}

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

.seo-table tr.is-self th,
.seo-table tr.is-self td {
  background: #fff7ed;
}

.seo-link-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-link-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-subtle);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.seo-link-chips a:hover {
  border-color: var(--navy);
  background: var(--surface);
}

.desi-calc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.desi-calc-grid label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.desi-calc-grid input {
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #ffffff;
  min-width: 0;
}

.desi-calc-grid input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(15, 36, 57, 0.12);
}

.desi-calc-out {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.desi-calc-out > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
}

.desi-calc-out span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.desi-calc-out strong {
  font-size: 1.1rem;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 580px) {
  .desi-calc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-cta-btn {
    width: 100%;
  }
}

/* Firma kampanya sayfaları */
.camp-intro {
  margin: 0;
}

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

.camp-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

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

.camp-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

.camp-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.camp-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
}

.camp-summary {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.camp-price {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
}

.camp-price-label {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.camp-price-vals {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-variant-numeric: tabular-nums;
}

.camp-price-vals del {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.camp-price-vals strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--emerald);
}

.camp-save {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--emerald);
}

.camp-how {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.camp-how span {
  display: block;
  margin-bottom: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.camp-cond summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.camp-cond ul {
  margin: 8px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

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

.camp-calc-btn {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--navy);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.camp-calc-btn:hover,
.camp-card.is-calc-open .camp-calc-btn {
  background: var(--navy);
  color: #ffffff;
}

.camp-card.is-calc-open {
  grid-column: 1 / -1;
  border-color: var(--border-strong);
}

.camp-card .inline-calc-drawer.camp-inline-calc {
  margin: 6px -20px -18px;
  padding: 16px 20px 18px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.camp-link {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.camp-link:hover {
  color: var(--cta-hover);
}

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

@media (max-width: 580px) {
  .camp-card {
    padding: 16px;
  }

  .camp-card .inline-calc-drawer.camp-inline-calc {
    margin: 6px -16px -16px;
    padding: 12px 16px 16px;
  }
}

.seo-official-note {
  margin: 10px 0 0;
  padding: 8px 12px;
  border-left: 3px solid var(--border-strong);
  background: var(--surface-subtle);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.seo-official-note a {
  color: var(--text-secondary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
