/* =========================================================
   10S AUTO — araca göre ürün bulma (Marka → Model → Yıl), uyumlu araçlar tablosu
   site.css belirteçlerini kullanır. Düz, ince çizgi, 4–6px köşe; gölge/parlama yok.
   ========================================================= */

/* ---------- seçici (ortak) ---------- */
.vp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-items: end; }
@media (min-width: 600px) { .vp { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .vp:not(.vp-stack) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.25fr) minmax(0, 0.8fr) minmax(0, 0.9fr); } }
.vp.vp-stack { grid-template-columns: minmax(0, 1fr); gap: 0; }
.vp-field { display: grid; gap: 6px; min-width: 0; }
.vp-stack .vp-field { margin-bottom: 14px; }
.vp-field label {
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.vp-stack .vp-field label { font-size: 0.84rem; letter-spacing: 0; text-transform: none; color: var(--text); }
.vp .select { min-height: 48px; }
.vp .select:disabled { background-color: var(--surface-2); color: var(--dim); cursor: not-allowed; }
.vp-submit .btn { min-height: 48px; }

.vp-dark .vp-field label { color: var(--on-navy-muted); }
.vp-dark .select { border-color: transparent; }
.vp-dark .select:disabled { background-color: #DDE3EA; color: #5B6778; }
.vp-dark .select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 145, 63, 0.35); }

.vp-skel i { display: block; height: 48px; margin-top: 24px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.08); }

/* ---------- ana sayfa bandı ---------- */
.vf-band {
  background: var(--navy-800);
  color: var(--on-navy);
  border-bottom: 1px solid var(--navy-line);
  padding: 28px 0 30px;
}
.vf-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 1100px) { .vf-in { grid-template-columns: minmax(0, 0.75fr) minmax(0, 2fr); gap: 36px; align-items: end; } .vf-mine { grid-column: 1 / -1; } }
.vf-head h2 { color: #fff; font-size: clamp(1.2rem, 3.2vw, 1.5rem); margin: 0 0 6px; }
.vf-head p { color: var(--on-navy-muted); margin: 0; font-size: 0.93rem; line-height: 1.5; }
.vf-form { margin: 0; min-width: 0; }

.vf-mine {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
  margin: 0; padding-top: 12px; border-top: 1px solid var(--navy-line);
  font-size: 0.92rem; color: var(--on-navy-muted);
}
.vf-mine strong { color: #fff; font-weight: 600; }
.vf-mine-go {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  color: var(--gold-soft); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.vf-mine-go:hover { color: #fff; }
.vf-mine-btn {
  min-height: 44px; padding: 0 14px; border-radius: var(--radius-sm);
  background: transparent; border: 1px solid var(--navy-line); color: var(--on-navy); font-size: 0.86rem; font-weight: 500;
}
.vf-mine-btn:hover { border-color: var(--gold-soft); color: #fff; }

/* ---------- ürün listesi: araç çubuğu ---------- */
.vbar {
  margin: 16px 0 4px; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}
.vbar-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.vbar-label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.vbar-name { font-weight: 700; color: var(--navy-900); font-size: 1rem; }
.vbar-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.vbar-text { color: var(--muted); font-size: 0.92rem; margin: 0; }
.vbar form { margin: 12px 0 0; }
@media (max-width: 599px) { .vbar-actions { margin-left: 0; width: 100%; } .vbar-actions .btn { flex: 1 1 0; } }

/* ---------- sonuç yok ---------- */
.vf-empty { padding: 32px 20px; }
.vf-empty h2 { font-size: 1.15rem; color: var(--text); margin: 0 0 8px; }
.vf-empty p { max-width: 560px; margin: 0 auto 18px; font-size: 0.95rem; }
.vf-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (max-width: 479px) { .vf-empty-actions .btn { width: 100%; } }

/* ---------- ürün sayfası ---------- */
.vt-wrap { max-width: 820px; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 18px; }
.vt-table { min-width: 320px; }
.vt-table thead th { width: auto; background: var(--surface-2); color: var(--muted); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.vt-table td { white-space: normal; }
.vt-table td:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.vt-table .muted { color: var(--dim); }
.vt-table tr.is-mine td { background: var(--gold-tint); }

.vf-fit { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.vf-fit-status { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 0.88rem; font-weight: 600; }
.vf-fit-status.is-ok { color: var(--ok); }
.vf-fit-status.is-unknown { color: var(--muted); font-weight: 500; }
.vf-fit-link { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 0.9rem; color: var(--muted); }
.vf-fit-link .ico { color: var(--wa); width: 20px; height: 20px; }
.vf-fit-link strong { color: var(--text); }
.vf-fit-link:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* uzun araç adlı butonlar dar ekranda alt satıra geçsin (tüm tasarımlar) */
.vbar .vbar-actions { min-width: 0; max-width: 100%; }
.vbar .vbar-actions .btn { white-space: normal !important; max-width: 100%; height: auto; padding-top: 10px; padding-bottom: 10px; text-align: left; line-height: 1.3; }
