/* ==========================================================================
   COMPONENTS — buton, chip, kart, form, accordion, badge, modal, cookie...
   Tüm durumlar (default / hover / active / focus / loading / disabled)
   ========================================================================== */

/* ---------- Butonlar ---------- */
.btn {
  --btn-bg: var(--c-ink);
  --btn-fg: #fff;
  --btn-bd: var(--c-ink);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--control-h); padding: 0 1.35rem;
  border-radius: var(--r-md);
  border: var(--bw) solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: var(--fw-medium); font-size: var(--fs-body-sm); line-height: 1; letter-spacing: -.005em;
  white-space: nowrap; text-decoration: none;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { --btn-bg: var(--c-ink-2); --btn-bd: var(--c-ink-2); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }

.btn-primary { --btn-bg: var(--c-accent); --btn-bd: var(--c-accent); --btn-fg: #fff; }
.btn-primary:hover { --btn-bg: var(--c-accent-hover); --btn-bd: var(--c-accent-hover); }
.btn-primary:active { --btn-bg: var(--c-accent-active); }

.btn-secondary { --btn-bg: transparent; --btn-fg: var(--c-ink); --btn-bd: var(--c-line-strong); }
.btn-secondary:hover { --btn-bg: var(--c-surface); --btn-bd: var(--c-ink); }
.theme-dark .btn-secondary, .panel-dark .btn-secondary, .diag .btn-secondary, .site-footer .btn-secondary { --btn-fg: var(--c-dark-ink); --btn-bd: var(--c-dark-line-2); }
.theme-dark .btn-secondary:hover, .panel-dark .btn-secondary:hover, .diag .btn-secondary:hover, .site-footer .btn-secondary:hover { --btn-bg: rgba(255,255,255,.06); --btn-bd: rgba(255,255,255,.4); }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--c-ink); --btn-bd: transparent; padding-inline: .9rem; }
.btn-ghost:hover { --btn-bg: var(--c-bg-2); }
.theme-dark .btn-ghost, .site-footer .btn-ghost, .panel-dark .btn-ghost { --btn-fg: var(--c-dark-ink); --btn-bd: var(--c-dark-line-2); }
.theme-dark .btn-ghost:hover, .site-footer .btn-ghost:hover, .panel-dark .btn-ghost:hover { --btn-bg: rgba(255,255,255,.08); --btn-bd: rgba(255,255,255,.4); }

.btn-light { --btn-bg: #fff; --btn-fg: var(--c-dark); --btn-bd: #fff; }
.btn-light:hover { --btn-bg: #F1EFEA; --btn-bd: #F1EFEA; }

.btn-whatsapp { --btn-bg: #1FA855; --btn-bd: #1FA855; }
.btn-whatsapp:hover { --btn-bg: #18944A; --btn-bd: #18944A; }

.btn-sm { min-height: var(--control-h-sm); padding-inline: 1rem; font-size: var(--fs-caption); border-radius: var(--r-sm); }
.btn-lg { min-height: var(--control-h-lg); padding-inline: 1.7rem; font-size: var(--fs-body); border-radius: var(--r-lg); }
.btn-block { width: 100%; }
.btn-icon { width: var(--control-h); padding: 0; }
.btn-icon.btn-sm { width: var(--control-h-sm); }

/* Loading state */
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: spin .8s linear infinite;
}
.btn-secondary.is-loading::after, .btn-ghost.is-loading::after { border-color: rgba(13,15,18,.2); border-top-color: var(--c-ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Ok ikonlu buton: hover'da ok hafif kayar */
.btn .arrow { transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* Metin link (CTA) */
.link-cta {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: var(--fw-medium); color: var(--c-ink);
  min-height: var(--touch);
}
.link-cta .icon { width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease-out); }
.link-cta:hover { color: var(--c-accent-ink); }
.link-cta:hover .icon { transform: translateX(3px); }
.theme-dark .link-cta { color: var(--c-dark-ink); }

/* ---------- Chip / Pill ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 34px; padding: 0 .85rem;
  border-radius: var(--r-pill);
  border: var(--bw) solid var(--c-line);
  background: var(--c-surface);
  font-size: var(--fs-caption); font-weight: var(--fw-medium); color: var(--c-ink-2);
  white-space: nowrap;
}
.chip .icon { width: 14px; height: 14px; color: var(--c-accent); }
.chip.is-dark { background: rgba(255,255,255,.06); border-color: var(--c-dark-line-2); color: var(--c-dark-ink); }

.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .2rem .55rem; border-radius: var(--r-xs);
  font-family: var(--ff-mono); font-size: var(--fs-mono); letter-spacing: var(--ls-mono); text-transform: uppercase;
  background: var(--c-bg-2); color: var(--c-ink-2);
}
.badge-accent { background: var(--c-accent-soft); color: var(--c-accent-ink); }
.badge-success { background: var(--c-success-soft); color: var(--c-success); }
.badge-warning { background: var(--c-warning-soft); color: var(--c-warning); }
.badge-error { background: var(--c-error-soft); color: var(--c-error); }
.badge-info { background: var(--c-info-soft); color: var(--c-info); }

/* ---------- Kartlar ---------- */
.card {
  position: relative;
  background: var(--c-surface);
  border: var(--bw) solid var(--c-line);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.card.is-link:hover, a.card:hover { transform: translateY(-3px); border-color: var(--c-line-strong); box-shadow: var(--shadow-sm); }
.card.is-flat { background: transparent; }
.card-title { font-size: var(--fs-h4); margin-bottom: .4rem; }
.card-text { color: var(--c-ink-3); font-size: var(--fs-body-sm); }
.card-num {
  font-family: var(--ff-mono); font-size: var(--fs-mono); letter-spacing: var(--ls-mono);
  color: var(--c-ink-4); margin-bottom: 1rem; display: block;
}
.theme-dark .card { background: var(--c-dark-2); border-color: var(--c-dark-line); }

/* Panel: büyük koyu kart (CTA bloğu) */
.panel-dark {
  position: relative; overflow: hidden;
  background: var(--c-dark); color: var(--c-dark-ink);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 1.5rem + 3vw, 4.5rem);
}
.panel-dark .t-lead { color: var(--c-dark-ink-2); }
.panel-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 80% 20%, rgba(237,104,59,.22), transparent 70%);
}

/* ---------- Form ---------- */
.field { display: grid; gap: .45rem; }
.field-label { font-size: var(--fs-body-sm); font-weight: var(--fw-medium); color: var(--c-ink); display: flex; justify-content: space-between; gap: 1rem; }
.field-label .opt { font-weight: var(--fw-regular); color: var(--c-ink-4); font-size: var(--fs-caption); }
.field-hint { font-size: var(--fs-caption); color: var(--c-ink-3); }
.field-error { font-size: var(--fs-caption); color: var(--c-error); display: none; align-items: flex-start; gap: .35rem; }
.field-error .icon { width: 14px; height: 14px; margin-top: 2px; }

.input, .select, .textarea {
  width: 100%; min-height: var(--control-h);
  padding: .65rem .95rem;
  background: var(--c-surface);
  border: var(--bw) solid var(--c-line-strong);
  border-radius: var(--r-md);
  color: var(--c-ink); font-size: var(--fs-body);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  appearance: none;
}
.textarea { min-height: 132px; resize: vertical; line-height: var(--lh-normal); }
.input::placeholder, .textarea::placeholder { color: var(--c-ink-4); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--c-ink-4); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--c-ink); box-shadow: 0 0 0 3px rgba(13,15,18,.08); }
.input:not(:placeholder-shown):not(:focus) { border-color: var(--c-line-strong); background: var(--c-surface-2); }
.input[disabled], .select[disabled], .textarea[disabled] { background: var(--c-bg-2); color: var(--c-ink-4); cursor: not-allowed; }
.field.is-error .input, .field.is-error .select, .field.is-error .textarea { border-color: var(--c-error); box-shadow: 0 0 0 3px rgba(194,65,47,.12); }
.field.is-error .field-error { display: flex; }
.field.is-success .input { border-color: var(--c-success); }
.field.is-success .field-check { display: grid; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235F6570' stroke-width='1.6'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem;
}
.input-wrap { position: relative; }
.input-wrap .input { padding-left: 2.6rem; }
.input-wrap > .icon { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--c-ink-4); pointer-events: none; }
.input-wrap .field-check { display: none; position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--c-success); }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix > span {
  display: inline-flex; align-items: center; padding: 0 .85rem;
  border: var(--bw) solid var(--c-line-strong); border-right: 0;
  border-radius: var(--r-md) 0 0 var(--r-md);
  background: var(--c-bg-2); color: var(--c-ink-3); font-size: var(--fs-body-sm); white-space: nowrap;
}
.input-prefix .input { border-radius: 0 var(--r-md) var(--r-md) 0; }

.check {
  display: flex; gap: .75rem; align-items: flex-start; cursor: pointer;
  font-size: var(--fs-body-sm); color: var(--c-ink-2); line-height: 1.5;
}
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box {
  flex: none; width: 20px; height: 20px; margin-top: 1px;
  border: var(--bw) solid var(--c-line-strong); border-radius: var(--r-xs);
  background: var(--c-surface); display: grid; place-items: center;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.check .box svg { width: 12px; height: 12px; opacity: 0; transform: scale(.6); transition: opacity var(--dur-fast), transform var(--dur-fast) var(--ease-spring); color: #fff; }
.check input:checked + .box { background: var(--c-ink); border-color: var(--c-ink); }
.check input:checked + .box svg { opacity: 1; transform: scale(1); }
.check input:focus-visible + .box { box-shadow: var(--shadow-focus); }
.check.is-error .box { border-color: var(--c-error); }

/* Seçilebilir seçenek kartı (marka, sorun, model) */
.opt-card {
  position: relative; display: flex; align-items: center; gap: .85rem;
  min-height: var(--control-h-lg); padding: .85rem 1rem;
  width: 100%; text-align: left;
  background: var(--c-surface); border: var(--bw) solid var(--c-line);
  border-radius: var(--r-md); color: var(--c-ink);
  font-size: var(--fs-body-sm); font-weight: var(--fw-medium);
  transition: border-color var(--dur-fast), background var(--dur-fast), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-fast);
}
.opt-card:hover { border-color: var(--c-ink-4); transform: translateY(-2px); }
.opt-card:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.opt-card[aria-pressed="true"], .opt-card.is-selected {
  border-color: var(--c-accent); background: var(--c-accent-soft);
  box-shadow: inset 0 0 0 1px var(--c-accent);
}
.opt-card .opt-ico { width: 22px; height: 22px; color: var(--c-ink-3); flex: none; }
.opt-card[aria-pressed="true"] .opt-ico { color: var(--c-accent-ink); }
.opt-card .opt-sub { display: block; font-weight: var(--fw-regular); color: var(--c-ink-3); font-size: var(--fs-caption); margin-top: .1rem; }
.opt-card .opt-check {
  margin-left: auto; width: 20px; height: 20px; border-radius: 50%; flex: none;
  border: var(--bw) solid var(--c-line-strong); display: grid; place-items: center;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.opt-card .opt-check svg { width: 11px; height: 11px; color: #fff; opacity: 0; }
.opt-card[aria-pressed="true"] .opt-check { background: var(--c-accent); border-color: var(--c-accent); }
.opt-card[aria-pressed="true"] .opt-check svg { opacity: 1; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .75rem; }
.opt-grid.is-compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }

/* Dosya bırakma alanı */
.dropzone {
  display: grid; place-items: center; gap: .5rem; text-align: center;
  padding: 1.75rem 1rem; border: var(--bw) dashed var(--c-line-strong); border-radius: var(--r-md);
  background: var(--c-surface-2); color: var(--c-ink-3); font-size: var(--fs-body-sm);
  transition: border-color var(--dur-fast), background var(--dur-fast);
  cursor: pointer;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--c-accent); background: var(--c-accent-soft); }
.dropzone .icon { width: 24px; height: 24px; color: var(--c-ink-4); }
.dropzone input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.dropzone-wrap { position: relative; }
.file-list { display: grid; gap: .4rem; margin-top: .6rem; }
.file-item {
  display: flex; align-items: center; gap: .6rem; padding: .5rem .75rem;
  border: var(--bw) solid var(--c-line); border-radius: var(--r-sm); background: var(--c-surface);
  font-size: var(--fs-caption);
}
.file-item .file-thumb { width: 36px; height: 36px; border-radius: var(--r-xs); object-fit: cover; background: var(--c-bg-2); }
.file-item .file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.file-item button { color: var(--c-ink-4); width: 28px; height: 28px; display: grid; place-items: center; border-radius: var(--r-xs); }
.file-item button:hover { background: var(--c-bg-2); color: var(--c-error); }

/* ---------- Alert / durum kutuları ---------- */
.alert {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .9rem 1rem; border-radius: var(--r-md);
  border: var(--bw) solid var(--c-line); background: var(--c-surface);
  font-size: var(--fs-body-sm); color: var(--c-ink-2);
}
.alert .icon { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.alert-success { background: var(--c-success-soft); border-color: transparent; color: #1F6B46; }
.alert-error { background: var(--c-error-soft); border-color: transparent; color: #9A3324; }
.alert-warning { background: var(--c-warning-soft); border-color: transparent; color: #8A5A14; }
.alert-info { background: var(--c-info-soft); border-color: transparent; color: #2F4A72; }

/* ---------- Accordion (details/summary) ---------- */
.acc { border-top: var(--bw) solid var(--c-line); }
.acc-item { border-bottom: var(--bw) solid var(--c-line); }
.acc-item > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0; min-height: var(--touch);
  font-size: var(--fs-h4); font-weight: var(--fw-medium); color: var(--c-ink);
  transition: color var(--dur-fast);
}
.acc-item > summary::-webkit-details-marker { display: none; }
.acc-item > summary:hover { color: var(--c-accent-ink); }
.acc-item > summary:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--c-accent); border-radius: var(--r-xs); }
.acc-icon {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: var(--bw) solid var(--c-line-strong); display: grid; place-items: center;
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base), border-color var(--dur-base);
}
.acc-icon svg { width: 12px; height: 12px; }
.acc-item[open] > summary .acc-icon { transform: rotate(45deg); background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.acc-body { overflow: hidden; }
.acc-content { padding: 0 0 1.4rem; max-width: 70ch; color: var(--c-ink-2); font-size: var(--fs-body); line-height: var(--lh-relaxed); }
.theme-dark .acc-icon { border-color: var(--c-dark-line-2); }
.theme-dark .acc-item[open] > summary .acc-icon { background: #fff; color: var(--c-dark); border-color: #fff; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: var(--fs-caption); color: var(--c-ink-3); line-height: 1.3; }
.breadcrumb ol, .breadcrumb ul { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .6rem; margin: 0; padding: 0; list-style: none; }
.breadcrumb a { color: var(--c-ink-3); min-height: 24px; display: inline-flex; align-items: center; transition: color var(--dur-fast); }
.breadcrumb a:hover { color: var(--c-ink); }
.breadcrumb li { display: inline-flex; align-items: center; gap: .6rem; min-height: 24px; }
.breadcrumb li + li::before { content: ""; flex: none; width: 4px; height: 4px; border-radius: 50%; background: var(--c-ink-4); opacity: .8; }
.breadcrumb [aria-current] { color: var(--c-ink); font-weight: var(--fw-medium); }

/* ---------- Tablo ---------- */
.spec-list { display: grid; gap: 0; border-top: var(--bw) solid var(--c-line); }
.spec-list > div { display: grid; grid-template-columns: minmax(120px, 36%) 1fr; gap: 1rem; padding: .9rem 0; border-bottom: var(--bw) solid var(--c-line); font-size: var(--fs-body-sm); }
.spec-list dt { color: var(--c-ink-3); }
.spec-list dd { margin: 0; color: var(--c-ink); font-weight: var(--fw-medium); }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: .4rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.pagination a, .pagination span {
  display: grid; place-items: center; min-width: var(--touch); height: var(--touch);
  padding: 0 .5rem; border-radius: var(--r-sm); font-size: var(--fs-body-sm); font-weight: var(--fw-medium); color: var(--c-ink-2);
}
.pagination a:hover { background: var(--c-bg-2); color: var(--c-ink); }
.pagination [aria-current] { background: var(--c-ink); color: #fff; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(13,15,18,.55); backdrop-filter: blur(4px); animation: fade-in var(--dur-base) var(--ease-out); }
.modal-dialog {
  position: relative; width: min(560px, 100%); max-height: calc(100dvh - 2rem); overflow: auto;
  background: var(--c-surface); border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-md); animation: pop-in var(--dur-slow) var(--ease-spring);
}
.modal-close { position: absolute; right: .9rem; top: .9rem; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--c-ink-3); }
.modal-close:hover { background: var(--c-bg-2); color: var(--c-ink); }
@keyframes fade-in { from { opacity: 0; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--bottombar-h) + 1rem); transform: translate(-50%, 20px);
  z-index: var(--z-toast); opacity: 0; pointer-events: none;
  background: var(--c-ink); color: #fff; padding: .75rem 1rem; border-radius: var(--r-md);
  font-size: var(--fs-body-sm); box-shadow: var(--shadow-md);
  transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out);
  max-width: calc(100vw - 2rem);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 992px) { .toast { bottom: 1.5rem; } }

/* ---------- Statü timeline (servis takibi) ---------- */
.timeline { display: grid; gap: 0; position: relative; }
.timeline-item { display: grid; grid-template-columns: 28px 1fr; gap: 1rem; position: relative; padding-bottom: 1.6rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: 13px; top: 24px; bottom: -4px; width: 2px;
  background: var(--c-line);
}
.timeline-item:last-child::before { display: none; }
.timeline-item.is-done::before { background: var(--c-ink); }
.timeline-dot {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--c-line-strong); background: var(--c-surface); z-index: 1;
  font-family: var(--ff-mono); font-size: 11px; color: var(--c-ink-4);
}
.timeline-dot svg { width: 13px; height: 13px; }
.timeline-item.is-done .timeline-dot { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.timeline-item.is-current .timeline-dot { background: var(--c-accent); border-color: var(--c-accent); color: #fff; box-shadow: 0 0 0 5px var(--c-accent-glow); }
.timeline-title { font-weight: var(--fw-medium); color: var(--c-ink); }
.timeline-item:not(.is-done):not(.is-current) .timeline-title { color: var(--c-ink-4); }
.timeline-meta { font-size: var(--fs-caption); color: var(--c-ink-3); margin-top: .15rem; }

/* ---------- Progress (multi-step form: route) ---------- */
.steps { display: flex; align-items: center; gap: 0; width: 100%; }
.steps li { display: flex; align-items: center; flex: 1; min-width: 0; }
.steps li:last-child { flex: 0; }
.step-dot {
  width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center;
  border: 2px solid var(--c-line-strong); background: var(--c-surface);
  font-family: var(--ff-mono); font-size: 11px; color: var(--c-ink-4);
  transition: background var(--dur-base), border-color var(--dur-base), color var(--dur-base);
}
.step-dot svg { width: 12px; height: 12px; }
.step-line { flex: 1; height: 2px; background: var(--c-line); margin: 0 6px; position: relative; overflow: hidden; }
.step-line::after { content: ""; position: absolute; inset: 0; background: var(--c-ink); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-slow) var(--ease-out); }
.steps li.is-done .step-dot { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.steps li.is-done .step-line::after { transform: scaleX(1); }
.steps li.is-current .step-dot { border-color: var(--c-accent); color: var(--c-accent-ink); box-shadow: 0 0 0 4px var(--c-accent-glow); }
.steps-label { display: flex; justify-content: space-between; margin-top: .6rem; font-family: var(--ff-mono); font-size: var(--fs-mono); letter-spacing: var(--ls-mono); text-transform: uppercase; color: var(--c-ink-3); }

/* ---------- Cookie / gizlilik paneli ---------- */
.cookie-panel {
  position: fixed; left: 50%; bottom: calc(var(--bottombar-h) + .75rem); transform: translate(-50%, 24px);
  z-index: var(--z-overlay); width: min(680px, calc(100% - 1.5rem));
  background: var(--c-surface); border: var(--bw) solid var(--c-line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: 1rem 1.1rem;
  opacity: 0; pointer-events: none; transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.cookie-panel.is-show { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.cookie-panel p { font-size: var(--fs-caption); color: var(--c-ink-2); margin: 0; }
.cookie-row { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; justify-content: space-between; }
.cookie-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-settings { display: none; margin-top: .9rem; padding-top: .9rem; border-top: var(--bw) solid var(--c-line); gap: .6rem; }
.cookie-panel.is-settings .cookie-settings { display: grid; }
.cookie-opt { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: var(--fs-caption); }
.cookie-opt span b { display: block; font-weight: var(--fw-medium); color: var(--c-ink); }
.switch { position: relative; width: 40px; height: 24px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { position: absolute; inset: 0; border-radius: var(--r-pill); background: var(--c-line-strong); transition: background var(--dur-fast); }
.switch .track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform var(--dur-base) var(--ease-out); box-shadow: var(--shadow-xs); }
.switch input:checked + .track { background: var(--c-ink); }
.switch input:checked + .track::after { transform: translateX(16px); }
.switch input:disabled + .track { opacity: .5; }
.switch input:focus-visible + .track { box-shadow: var(--shadow-focus); }
@media (min-width: 992px) { .cookie-panel { left: 1.5rem; bottom: 1.5rem; transform: translate(0, 24px); } .cookie-panel.is-show { transform: none; } }

/* ---------- Stat satırı ---------- */
.stat { display: grid; gap: .2rem; }
.stat-value { font-size: var(--fs-h2); font-weight: var(--fw-semibold); letter-spacing: var(--ls-tight); line-height: 1; }
.stat-label { font-size: var(--fs-caption); color: var(--c-ink-3); }

/* ---------- Marka karosu ---------- */
.brand-tile {
  --brand-c: var(--c-ink);
  display: flex; align-items: center; justify-content: center;
  min-height: 84px; padding: 1rem;
  border: var(--bw) solid var(--c-line); border-radius: var(--r-md);
  background: var(--c-surface);
  color: var(--c-ink-4);
  font-weight: var(--fw-semibold); font-size: 1.05rem; letter-spacing: -.01em;
  filter: grayscale(1);
  transition: color var(--dur-base), border-color var(--dur-base), transform var(--dur-base) var(--ease-out), filter var(--dur-base);
}
.brand-tile img { max-height: 30px; max-width: 72%; width: auto; object-fit: contain; opacity: .6; transition: opacity var(--dur-base); }
.brand-tile.has-logo { filter: grayscale(1) contrast(1.05); }
.brand-tile.has-logo:hover { filter: none; }
.brand-tile:hover { color: var(--brand-c); border-color: var(--c-line-strong); transform: translateY(-2px); filter: none; }
.brand-tile:hover img { opacity: 1; }
.brand-tile:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 576px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .brand-grid { grid-template-columns: repeat(6, 1fr); } }
.brand-grid.is-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .brand-grid.is-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Sorun seçici (issue pill) ---------- */
.issue-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 768px) { .issue-grid { grid-template-columns: repeat(3, 1fr); gap: .75rem; } }
@media (min-width: 1200px) { .issue-grid { grid-template-columns: repeat(4, 1fr); } }
.issue-pill {
  display: flex; align-items: flex-start; gap: .75rem; text-align: left; width: 100%;
  min-height: var(--control-h-lg); padding: .9rem 1rem;
  background: var(--c-surface); border: var(--bw) solid var(--c-line); border-radius: var(--r-md);
  color: var(--c-ink); font-size: var(--fs-body-sm); font-weight: var(--fw-medium);
  transition: border-color var(--dur-fast), transform var(--dur-base) var(--ease-out), background var(--dur-fast), box-shadow var(--dur-fast);
}
.issue-pill .ico { width: 24px; height: 24px; flex: none; color: var(--c-ink-3); transition: color var(--dur-fast); }
.issue-pill small { display: block; color: var(--c-ink-3); font-weight: var(--fw-regular); font-size: var(--fs-caption); margin-top: .15rem; line-height: 1.4; }
.issue-pill:hover { border-color: var(--c-ink-4); transform: translateY(-2px); }
.issue-pill:hover .ico { color: var(--c-accent); }
.issue-pill:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.issue-pill[aria-pressed="true"] { border-color: var(--c-accent); background: var(--c-accent-soft); box-shadow: inset 0 0 0 1px var(--c-accent); }
.issue-pill[aria-pressed="true"] .ico { color: var(--c-accent-ink); }
@media (max-width: 575.98px) { .issue-pill small { display: none; } .issue-pill { align-items: center; min-height: var(--control-h); padding: .7rem .85rem; } }

/* ---------- Hotspot ---------- */
.hotspot {
  position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(13,15,18,.72); border: 1px solid rgba(255,255,255,.4);
  color: #fff; backdrop-filter: blur(3px);
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .02em; line-height: 1;
  transition: background var(--dur-base), border-color var(--dur-base), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
  cursor: pointer; z-index: 2;
}
.hotspot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); animation: pulse-ring 2.8s var(--ease-out) infinite; pointer-events: none; }
.hotspot:nth-child(odd)::after { animation-delay: 1.3s; }
.hotspot:hover, .hotspot:focus-visible { border-color: #fff; transform: scale(1.08); outline: none; }
.hotspot.is-active { background: var(--c-accent); border-color: var(--c-accent); transform: scale(1.12); box-shadow: 0 0 0 6px var(--c-accent-glow); z-index: 3; }
.hotspot.is-active::after { border-color: var(--c-accent); }
.hotspot .hs-label {
  position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translate(-50%, 4px);
  white-space: nowrap; padding: .35rem .6rem; border-radius: var(--r-sm);
  background: rgba(13,15,18,.9); border: 1px solid rgba(255,255,255,.12);
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: var(--ls-mono); text-transform: uppercase; color: #fff;
  pointer-events: none; opacity: 0; transition: opacity var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}
.hotspot .hs-label::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -4px; border: 4px solid transparent; border-top-color: rgba(13,15,18,.9); }
.hotspot.is-active .hs-label, .hotspot:hover .hs-label { opacity: 1; transform: translate(-50%, 0); }
.hotspot.is-below .hs-label { bottom: auto; top: calc(100% + 12px); transform: translate(-50%, -4px); }
.hotspot.is-below .hs-label::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: rgba(13,15,18,.9); }
.hotspot.is-below.is-active .hs-label, .hotspot.is-below:hover .hs-label { transform: translate(-50%, 0); }
@media (max-width: 991.98px) { .hotspot .hs-label { display: none; } .hotspot { width: 28px; height: 28px; margin: -14px 0 0 -14px; } }

/* ---------- İkon kutusu ---------- */
.ico-box {
  width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--c-bg-2); color: var(--c-ink); flex: none;
}
.ico-box svg { width: 20px; height: 20px; }
.ico-box.is-accent { background: var(--c-accent-soft); color: var(--c-accent-ink); }
.theme-dark .ico-box { background: rgba(255,255,255,.06); color: var(--c-dark-ink); }

/* ---------- Tabs (basit) ---------- */
.tabs { display: flex; gap: .25rem; border-bottom: var(--bw) solid var(--c-line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: .8rem 1rem; min-height: var(--touch); white-space: nowrap;
  font-size: var(--fs-body-sm); font-weight: var(--fw-medium); color: var(--c-ink-3);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab:hover { color: var(--c-ink); }
.tab[aria-selected="true"] { color: var(--c-ink); border-color: var(--c-ink); }
