/* KOKĮ AUTO — premium inventory look (navy + yellow) */
:root {
  --navy: #123056;
  --navy-hero: #173A66;
  --navy-soft: #1A406F;
  --yellow: #FBC02D;
  --yellow-hover: #e5ae1f;
  --page: #F8FAFC;
  --white: #fff;
  --text: #123056;
  --text-sec: #64748B;
  --muted: #6B7280;
  --hair: #E2E8F0;
  --price: #123056;
  --badge: #2563EB;
  --danger: #DC2626;
  --ok: #15803D;
  --warn: #C2410C;
  --star: #FBC02D;
  --star-empty: #D1D5DB;
  --shadow-card: 0 8px 24px rgba(10, 26, 51, 0.08);
  --shadow-bar: 0 1px 0 rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --appbar: 56px;
  --font: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  --display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --blue: #123056;
  --blue-hover: #1A3A62;
  --blue-pressed: #071222;
  --blue-soft: #EEF2F7;
  --blue-focus: rgba(10, 26, 51, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--page);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}
a { color: var(--price); text-decoration: none; }
a:hover { text-decoration: none; }

.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.92;
}

/* ——— Header ——— */
.site-header,
.appbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--appbar);
  min-height: var(--appbar);
  width: 100%;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-bar);
}
.site-header .brand { justify-self: start; }
.site-header .site-nav { margin-left: 0; justify-self: center; }
.site-header .header-actions,
.site-header .appbar-right { justify-self: end; margin-left: 0; }
.header-login {
  height: 34px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
}
.appbar-left { display: flex; align-items: center; gap: 10px; }
.appbar-center { display: none; }
.appbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.brand,
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--yellow);
  color: #111;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand-mark svg { display: block; }
.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 0;
}
.site-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { background: rgba(255, 255, 255, 0.08); }
.site-nav a.is-active {
  background: var(--yellow);
  color: var(--navy);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
  margin-left: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  background: transparent;
  color: var(--navy);
  user-select: none;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { filter: brightness(0.97); text-decoration: none; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--blue-focus); }

.btn-primary,
.btn-yellow {
  background: var(--yellow);
  color: #111;
  border-color: var(--yellow);
}
.btn-primary:hover,
.btn-yellow:hover { background: var(--yellow-hover); }

.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover { background: #132844; }

.btn-outline,
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
}
.btn-outline:hover,
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

body:not([data-page="list"]):not([data-page="skelbimas"]):not([data-page="apie"]) .btn-outline {
  border-color: var(--hair);
  background: var(--white);
  color: var(--text-sec);
}
body:not([data-page="list"]):not([data-page="skelbimas"]):not([data-page="apie"]) .btn-outline:hover {
  background: var(--page);
  color: var(--text);
}
.site-header .btn-outline,
.site-header .btn-ghost,
.appbar .btn-outline,
.appbar .btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
}
.site-header .btn-outline:hover,
.appbar .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-danger-text { color: var(--danger); }
.btn-danger-text:hover { background: #FEE2E2; }

/* ——— Page ——— */
.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 64px;
  width: 100%;
  flex: 1;
}
.page-wide { max-width: 1280px; }

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.page-title {
  margin: 0;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy);
  line-height: 0.95;
}
.page-sub {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--text-sec);
}
.page-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.check-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  user-select: none;
}
.check-inline input {
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
  margin: 0;
}


/* ——— Cards (forms / admin) ——— */
.card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.card-title {
  padding: 16px 20px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--hair);
  background: var(--white);
}
.card-body { padding: 8px 20px 20px; }

/* ——— Table ——— */
.list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.filter {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
  flex: 1;
}
.filter span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-sec);
}
.filter select {
  height: 40px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 0 14px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  color: var(--text);
}
.filter select.has-value { font-weight: 700; }
.filter select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px var(--blue-focus);
}
.dd { position: relative; width: 100%; }
.dd-native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.dd-btn {
  width: 100%;
  height: 40px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: #fff;
  padding: 0 36px 0 14px;
  text-align: left;
  font-family: inherit;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  position: relative;
}
.dd-btn::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 1.7px solid #94A3B8;
  border-bottom: 1.7px solid #94A3B8;
  transform: rotate(45deg);
}
.dd.is-open .dd-btn {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px var(--blue-focus);
}
.dd.is-open .dd-btn::after { transform: rotate(225deg); margin-top: -2px; }
.dd-btn.has-value { font-weight: 700; color: var(--navy); }
.dd-list {
  display: none;
  position: absolute;
  z-index: 50;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 280px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(10, 26, 51, 0.16);
  padding: 6px;
}
.dd.is-open .dd-list { display: block; }
.dd-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 13px;
  color: var(--navy);
  cursor: pointer;
}
.dd-item:hover { background: #F1F5F9; }
.dd-item.is-selected {
  background: #FFF4C2;
  font-weight: 700;
}
.filter-range { flex: 1 1 240px; min-width: 220px; }
.range-pair {
  display: flex;
  align-items: stretch;
  gap: 8px;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
}
.range-pair:focus-within {
  border: 0;
  box-shadow: none;
}
.range-pair .dd {
  flex: 1 1 0;
  min-width: 0;
}
.range-pair .dd-btn {
  border: 1px solid var(--hair);
  border-radius: 999px;
  box-shadow: none;
  height: 40px;
  background: #fff;
}
.range-pair .dd.is-open .dd-btn {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px var(--blue-focus);
}
.range-pair .dd + .dd .dd-btn { border-left: 1px solid var(--hair); }
.range-pair .dd-list {
  left: 0;
  right: 0;
  min-width: 100%;
  width: 100%;
}
.filters, .inv-filters, .inv-tools, .inv-tools-inner { overflow: visible; }
.filter input[type="number"] {
  height: 40px;
  border: 0;
  border-radius: 0;
  padding: 0 14px;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  color: var(--text);
  width: 100%;
  -moz-appearance: textfield;
  appearance: textfield;
}
.filter input[type="number"]:focus {
  outline: none;
  box-shadow: none;
}
.filter input[type="number"]::-webkit-outer-spin-button,
.filter input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.table-wrap { overflow-x: auto; }
table.g-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1020px;
}
.g-table th,
.g-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hair);
  vertical-align: middle;
}
.g-table th {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-sec);
  background: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.g-table td { font-size: 14px; color: var(--text); }
.g-table tbody tr { cursor: pointer; transition: background 0.12s ease; }
.g-table tbody tr:hover { background: var(--page); }
.g-table tbody tr:last-child td { border-bottom: none; }
.g-table .mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.2px; }
.g-table .strong { font-weight: 600; color: var(--price); }

.empty {
  padding: 64px 24px 72px;
  text-align: center;
  color: var(--text-sec);
}
.empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #FEF3C7;
  color: var(--navy);
  display: grid;
  place-items: center;
}
.empty h2 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
}
.empty p { margin: 0 0 20px; font-size: 14px; }

/* ——— Form grid ——— */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 980px) {
  .form-grid { grid-template-columns: 1fr; }
  .site-header, .appbar { padding: 0 16px; }
  .page { padding: 16px 12px 48px; }
}

.kv {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--hair);
}
.kv:last-of-type { border-bottom: none; }
@media (max-width: 720px) {
  .kv { grid-template-columns: 1fr; gap: 6px; }
}
.k {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sec);
  padding-top: 10px;
}
.req { color: var(--danger); font-weight: 700; }

.field { width: 100%; }
.input, .textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.input:hover, .textarea:hover { border-color: #CBD5E1; }
.input:focus, .textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px var(--blue-focus);
}
.input.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0.3px; }
.input.invalid, .textarea.invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 1px var(--danger);
  background: #fff8f7;
}
.error {
  display: none;
  margin-top: 4px;
  font-size: 12px;
  color: var(--danger);
}
.error.show { display: block; }
.textarea {
  resize: vertical;
  min-height: 72px;
  background: #fff;
}

/* ——— Uploads ——— */
.upload-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin: 16px 0 10px;
}
.thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.upload-tile,
.thumb {
  width: 144px;
  height: 104px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
}
.upload-tile {
  border: 1px dashed #94A3B8;
  background: var(--page);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-sec);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}
.upload-tile:hover { border-color: var(--navy); background: var(--blue-soft); color: var(--navy); }
.upload-tile input { display: none; }
.thumb {
  border: 1px solid var(--hair);
  background: #f1f5f9;
}
.thumb img,
.thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.thumb-play {
  position: absolute;
  left: 8px;
  bottom: 8px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(11, 31, 56, 0.82);
  color: #fff;
  font-size: 12px;
  line-height: 28px;
  text-align: center;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.field-hint {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--text-sec);
}

.thumb-rot,
.thumb-x {
  position: absolute;
  z-index: 3;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  line-height: 26px;
  padding: 0;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.thumb-rot {
  top: 6px;
  left: 6px;
  background: #123056;
  font-size: 16px;
}
.thumb-rot:hover { background: #0b1f38; }
.thumb-rot:disabled {
  opacity: 0.6;
  cursor: wait;
}
.thumb-x {
  top: 6px;
  right: 6px;
  background: #DC2626;
  font-size: 20px;
}
.thumb-x:hover { background: #B91C1C; }

/* ——— Review / stars / radios ——— */

.review {
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--hair);
}
.review:last-of-type { border-bottom: none; }
.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.review-label { font-size: 14px; font-weight: 600; }

.stars { display: flex; gap: 2px; }
.star {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  padding: 0 1px;
  color: var(--star-empty);
  transition: color 0.1s ease, transform 0.1s ease;
}
.star.filled { color: var(--star); }
.star:hover { transform: scale(1.08); }
.star[disabled] { cursor: default; }

.radio-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  margin-top: 4px;
}
.radios { display: flex; gap: 8px; flex-wrap: wrap; }
.radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sec);
  cursor: pointer;
}
.radio .dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #94A3B8;
  position: relative;
}
.radio.active {
  border-color: var(--navy);
  background: var(--blue-soft);
  color: var(--navy);
}
.radio.active .dot { border-color: var(--navy); }
.radio.active .dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--navy);
}

/* ——— Toast ——— */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(10, 26, 51, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 50;
  max-width: min(520px, calc(100vw - 32px));
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ——— Report ——— */
.report-page { max-width: 880px; }
.report-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.report-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 4px;
}
.verdict {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 16px;
}
.verdict-score {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  flex-shrink: 0;
}
.verdict-score.warn { background: #FEF3C7; color: #92400E; }
.verdict-score.bad { background: #FEE2E2; color: var(--danger); }
.verdict-score.ok { background: #DCFCE7; color: var(--ok); }
.verdict h2 { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.verdict p { margin: 0; color: var(--text-sec); font-size: 13px; line-height: 1.45; }

.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.meta-item {
  padding: 12px 20px;
  border-bottom: 1px solid var(--hair);
}
.meta-item:nth-child(odd) { border-right: 1px solid var(--hair); }
.meta-item .lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-sec);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.meta-item .val { font-size: 14px; }
.meta-item .val.mono { font-family: var(--mono); font-size: 13px; }

.report-section { padding: 16px 20px; border-top: 1px solid var(--hair); }
.report-section h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.notes { margin: 0 0 10px; color: var(--text); white-space: pre-wrap; line-height: 1.5; }
.notes.empty-notes { color: var(--muted); font-style: italic; }
.photo-row { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-row img {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--hair);
}
.disclaimer {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--page);
  border-radius: 12px;
  font-size: 12px;
  color: var(--text-sec);
  line-height: 1.5;
}
.report-missing {
  padding: 48px 24px;
  text-align: center;
  color: var(--text-sec);
}

.stars-static { letter-spacing: 1px; font-size: 16px; }
.stars-static .on { color: var(--star); }
.stars-static .off { color: var(--star-empty); }

.flag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.flag-ok { background: #DCFCE7; color: var(--ok); }
.flag-bad { background: #FEE2E2; color: var(--danger); }

@media print {
  body { background: #fff; display: block; }
  .site-header, .appbar, .site-footer, .no-print, .toast, .nav-toggle { display: none !important; }
  .page { max-width: none; padding: 0; }
  .card { box-shadow: none; border-color: #ccc; break-inside: avoid; }
  .report-section { break-inside: avoid; }
  .photo-row img { width: 160px; height: 114px; }
}

.g-table .col-skelbimas { width: 1%; white-space: nowrap; text-align: right; }
.btn-skelbimas {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 12px;
  border: none;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.btn-skelbimas:hover { background: #132844; }

.card-span { grid-column: 1 / -1; }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 16px;
  padding-top: 16px;
}
.spec-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-sec);
  margin-bottom: 6px;
}
.spec-field select.input {
  appearance: auto;
  height: 42px;
  padding-top: 0;
  padding-bottom: 0;
}
@media (max-width: 980px) {
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .spec-grid { grid-template-columns: 1fr; }
}

/* ——— Home / inventory hero ——— */
.home-hero,
.inv-hero,
.page-hero {
  background: radial-gradient(1200px 420px at 50% -10%, #1b3a66 0%, var(--navy-hero) 55%, #123056 100%);
  color: #fff;
  text-align: center;
  padding: 56px 24px 52px;
}
body[data-page="list"] .home-hero {
  padding: 48px 24px 44px;
}
.home-hero-inner,
.inv-hero-inner,
.page-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}
.hero-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
}
.home-hero h1,
.inv-hero h1,
.page-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 6.2vw, 64px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}
.home-hero h1 .line-yellow { color: var(--yellow); display: block; }
.home-hero p,
.inv-hero p,
.page-hero p {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}
.home-hero p {
  margin-top: 10px;
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-stats {
  margin: 40px auto 0;
  max-width: 720px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hero-stat strong {
  display: block;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 0.02em;
}
.hero-stat span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

/* ——— Inventory band + tools ——— */
.inv-section { padding: 0 0 72px; }
.inv-band {
  background: var(--navy-hero);
  color: #fff;
  text-align: center;
  padding: 48px 24px 40px;
}
.inv-band h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.inv-band p {
  margin: 12px auto 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.inv-tools {
  position: sticky;
  top: var(--appbar);
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--hair);
  box-shadow: 0 4px 16px rgba(10, 26, 51, 0.04);
}
.inv-tools-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px 14px;
}
.inv-tools-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.search-wrap {
  position: relative;
  flex: 1 1 62%;
  min-width: 260px;
  max-width: 640px;
}
.search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  pointer-events: none;
}
.search-wrap input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 0 16px 0 42px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
}
.search-wrap input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px var(--blue-focus);
}
.fuel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fuel-pill {
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #EEF2F7;
  color: var(--navy);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.fuel-pill.is-active {
  background: var(--navy);
  color: #fff;
}
.sort-select {
  height: 40px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 0 14px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-left: auto;
}
.inv-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.inv-filters .filter { flex: 1 1 160px; min-width: 140px; }
.inv-filters .filter-range { flex: 1 1 200px; }

.list-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  max-width: 1180px;
  margin: 28px auto 8px;
  padding: 0 24px 8px;
}
.pager-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.pager-btn:hover:not(:disabled) {
  border-color: var(--navy);
}
.pager-btn.is-active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #111;
}
.pager-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.inv-count {
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 0 24px;
  font-size: 13px;
  color: var(--text-sec);
}

.inv-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 24px 0;
}

/* ——— Car cards ——— */
.car-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 8px 0 8px;
}
.car-card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.car-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(10, 26, 51, 0.14);
}
.car-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--blue-focus), var(--shadow-card);
}
.car-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #E2E8F0;
  overflow: hidden;
}
.car-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.car-card-ph {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(15, 36, 67, 0.06), rgba(10, 26, 51, 0.04)),
    repeating-linear-gradient(135deg, #eef2f7 0 10px, #e4e8ee 10px 20px);
}
.car-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--badge);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.01em;
}
.car-heart {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(10, 26, 51, 0.12);
}
.car-heart:hover { color: #E11D48; }
.car-heart.is-on { color: #DC2626; }
.car-heart.is-on svg path { fill: #DC2626; stroke: #DC2626; }
.site-nav a[hidden] { display: none !important; }

.car-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.car-card-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.car-card-meta {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-sec);
}
.car-card-price {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  color: var(--price);
  white-space: nowrap;
}
.car-card-title {
  margin: 0;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 0.95;
}
.car-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.car-card-specs span {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #F1F5F9;
  color: var(--text-sec);
  font-size: 11px;
  font-weight: 600;
}
.car-card-cta {
  margin-top: auto;
  height: 42px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}
.car-card:hover .car-card-cta { background: var(--yellow-hover); }
.car-card-dates { display: none; }
.car-card-plate { font-family: var(--mono); }

#listPanel { margin-top: 16px; }

/* ——— About ——— */
.about-section {
  padding: 72px 24px;
  background: #fff;
}
.about-inner { max-width: 1100px; margin: 0 auto; }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.about-copy h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: 0.02em;
  line-height: 0.95;
}
.about-copy p {
  margin: 0 0 12px;
  color: var(--text-sec);
  line-height: 1.6;
  font-size: 15px;
}
.values {
  padding: 8px 24px 80px;
  max-width: 1100px;
  margin: 0 auto;
}
.values h2 {
  margin: 0 0 28px;
  text-align: center;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 22px 18px 20px;
}
.value-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--yellow);
  color: #111;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.value-card h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: 0.03em;
}
.value-card p { margin: 0; font-size: 13px; color: var(--text-sec); line-height: 1.5; }

/* ——— Footer ——— */
.site-footer {
  background: var(--navy);
  color: #fff;
  margin-top: auto;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 32px;
}
.footer-brand p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.55;
  max-width: 280px;
}
.footer-col h3 {
  margin: 6px 0 14px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  text-decoration: none;
  line-height: 1.45;
}
.footer-col a:hover { color: var(--yellow); }
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}
.footer-bar span { color: rgba(255, 255, 255, 0.45); }

@media (max-width: 980px) {
  .home-hero, .inv-hero, .page-hero { padding: 56px 16px 48px; }
  .hero-stats { gap: 12px; }
  .hero-stat strong { font-size: 28px; }
  .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .sort-select { margin-left: 0; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--appbar);
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-header.is-open .site-nav,
  .appbar.is-open .site-nav { display: flex; }
  .site-nav a { padding: 12px 16px; }
  .brand-name { font-size: 16px; }
}
@media (max-width: 600px) {
  .car-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; padding-top: 36px; }
  .home-hero h1, .inv-hero h1, .page-hero h1 { font-size: 44px; }
}

.page .btn:not(.btn-primary):not(.btn-yellow):not(.btn-navy):not(.btn-danger-text) {
  border-color: var(--hair);
  background: #fff;
  color: var(--navy);
}
.page .btn:not(.btn-primary):not(.btn-yellow):not(.btn-navy):not(.btn-danger-text):hover {
  background: var(--page);
}

/* ——— Content pages: steps, services, contact (not used on homepage) ——— */
.values-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.section-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  text-align: center;
}
.section-lead {
  margin: 0 auto 32px;
  max-width: 640px;
  text-align: center;
  color: var(--text-sec);
  font-size: 15px;
  line-height: 1.6;
}

.steps-section {
  padding: 64px 24px 72px;
  background: var(--navy-hero);
  color: #fff;
}
.steps-inner { max-width: 1100px; margin: 0 auto; }
.steps-section h2 {
  margin: 0 0 10px;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.step-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 22px 20px 20px;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.step-card h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}
.step-card p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.78); }

.quotes-section { padding: 64px 24px 72px; background: #fff; }
.quotes-inner { max-width: 1100px; margin: 0 auto; }
.quotes-section .section-kicker { color: var(--navy); }
.quotes-section h2 {
  margin: 0 0 28px;
  text-align: center;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
}
.quotes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.quote-card {
  margin: 0;
  background: var(--page);
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 24px 22px 20px;
}
.quote-card p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}
.quote-card footer {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sec);
}

.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 48px 24px;
}
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta-band h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
}
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 15px; line-height: 1.55; }
.cta-band .hero-actions { margin-top: 22px; }
.cta-band .btn-outline {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
}
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.svc-section { padding: 64px 24px; background: #fff; }
.svc-section-alt { background: var(--page); }
.svc-inner { max-width: 1100px; margin: 0 auto; }
.svc-section .section-kicker { color: var(--navy); }
.svc-section h2 {
  margin: 0 0 10px;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.svc-card {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 22px 18px 20px;
  box-shadow: var(--shadow-card);
}
.svc-section-alt .svc-card { background: #fff; }
.svc-card h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--navy);
}
.svc-card p { margin: 0; font-size: 14px; color: var(--text-sec); line-height: 1.55; }

.contact-section { padding: 56px 24px 72px; background: #fff; }
.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact-info h2 {
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.contact-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.contact-list li {
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-sec);
}
.contact-list a {
  color: var(--navy);
  font-weight: 600;
  font-size: 16px;
}
.contact-list a:hover { color: var(--price); }
.contact-note {
  display: block;
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.5;
}
.contact-form .card-body { padding: 16px 20px 20px; }
.contact-form .spec-field {
  display: block;
  margin: 0 0 14px;
}
.contact-form .spec-field span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-sec);
  margin-bottom: 6px;
}
.contact-form .btn { width: 100%; height: 44px; }
.contact-form-hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-sec);
  line-height: 1.45;
}

@media (max-width: 980px) {
  .values-grid-3 { grid-template-columns: 1fr 1fr; }
  .steps-grid, .svc-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .values-grid-3,
  .steps-grid,
  .svc-grid,
  .quotes-grid { grid-template-columns: 1fr; }
  .steps-section, .svc-section, .quotes-section { padding: 48px 16px 56px; }
}

body[data-page="admin"] .admin-toolbar {
  flex-direction: column;
  align-items: stretch;
}
body[data-page="admin"] .admin-search {
  width: 100%;
  max-width: none;
}
body[data-page="admin"] .admin-tools-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
body[data-page="admin"] .admin-tools-row .filters { flex: 1; }

.spec-field-wide { grid-column: 1 / -1; }

.col-inlist { text-align: center; width: 72px; }
.inlist-check { width: 16px; height: 16px; accent-color: var(--navy); cursor: pointer; }
body[data-page="admin"] .admin-inlist { margin-top: 18px; }

body[data-page="admin"] main,
body[data-page="admin"] .site-footer,
body[data-page="form"] main,
body[data-page="form"] .site-footer,
body[data-page="report"] main,
body[data-page="report"] .site-footer {
  visibility: hidden;
}
body.admin-open main,
body.admin-open .site-footer {
  visibility: visible;
}
.admin-gate {
  max-width: 420px;
  margin: 48px auto 64px;
  padding: 0 16px;
}
.admin-gate .card-body { display: flex; flex-direction: column; gap: 12px; }
.admin-gate .page-sub { margin: 0 0 16px; }
.admin-gate .input { width: 100%; }
.admin-gate .btn { align-self: flex-start; }
.admin-gate .gate-back { margin: 16px 0 0; }

.first-reg-pair .input { flex: 1; min-width: 0; }

.radio[data-odometer="rasta"].active{color:var(--danger)}
.radio[data-odometer="rasta"].active .dot{border-color:var(--danger)}
.radio[data-odometer="rasta"].active .dot::after{background:var(--danger)}

.odo-notes-block{margin-top:12px}
.odo-notes-block .review-label{margin-bottom:8px}

.ymd-pair{display:flex;gap:8px;flex-wrap:wrap}
.ymd-pair .input{flex:1;min-width:72px}

#odoReview .odo-radios{margin:10px 0 12px}

.car-rating {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(10, 26, 51, 0.72);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}
.car-rating-stars {
  color: var(--yellow);
  letter-spacing: 1px;
  font-size: 14px;
}
.car-rating-num {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.form-bottom-actions {
  display: flex;
  justify-content: center;
  padding: 32px 0 12px;
}
.btn-save-bottom {
  min-width: 200px;
  height: 48px;
  padding: 0 44px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(15, 36, 67, 0.12);
}

.section-thumbs{margin-top:10px;margin-bottom:14px}

.hint {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-sec);
  line-height: 1.4;
}
input.input[readonly] {
  background: #F8FAFC;
  color: var(--navy);
  cursor: default;
}

.col-select { width: 44px; text-align: center; }
.col-select input { cursor: pointer; }
#deleteSelectedBtn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ——— Mobile filters collapse ——— */
.filters-toggle {
  display: none;
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}
.filters-toggle.is-active,
.inv-tools.is-filters-open .filters-toggle {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
@media (max-width: 760px) {
  .inv-tools-inner { padding: 10px 16px 10px; }
  .inv-tools-row { gap: 8px; flex-wrap: nowrap; }
  .search-wrap { flex: 1 1 auto; min-width: 0; max-width: none; }
  .filters-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .fuel-pills,
  .sort-select,
  .filters.inv-filters {
    display: none;
  }
  .inv-tools.is-filters-open .fuel-pills {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    order: 3;
  }
  .inv-tools.is-filters-open .sort-select {
    display: block;
    width: 100%;
    order: 4;
  }
  .inv-tools.is-filters-open .filters.inv-filters {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 8px;
  }
  .inv-tools.is-filters-open .filter {
    min-width: calc(50% - 8px);
    flex: 1 1 calc(50% - 8px);
  }
  .inv-tools-row { flex-wrap: wrap; }
  .inv-tools.is-filters-open .inv-tools-inner { padding-bottom: 12px; }
}

/* Video thumbs / cards — atsargus video palaikymas */
.thumb.is-video,
.apl-thumbs button.is-video {
  background: #123056;
}
.thumb-video-ph,
.car-card-video-ph {
  width: 100%;
  height: 100%;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(160deg, #123056 0%, #0b1f38 100%);
  color: #fff;
}
.thumb-play,
.car-card-play {
  position: static;
  transform: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 15px;
  line-height: 40px;
  text-align: center;
  pointer-events: none;
  z-index: 2;
  box-shadow: none;
}
.thumb-video-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.92;
}
.car-card-media { position: relative; }
.car-card-video-ph {
  position: absolute;
  inset: 0;
  min-height: 0;
}
.car-card-play { width: 48px; height: 48px; line-height: 48px; font-size: 18px; }
#aplMainVideo,
.photo-view-video {
  max-width: 100%;
  max-height: min(70vh, 560px);
  width: 100%;
  background: #000;
  display: block;
  margin: 0 auto;
}
.photo-view-video[hidden],
#aplMainVideo[hidden] { display: none !important; }
.apl-thumbs button .thumb-video-ph {
  position: absolute;
  inset: 0;
  min-height: 0;
}
.apl-thumbs button.is-video {
  position: relative;
  overflow: hidden;
}

.cond-photo-video {
  background: #123056;
  border: none;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.cond-photo-video .thumb-video-ph {
  position: absolute;
  inset: 0;
  min-height: 0;
}
.cond-photos .cond-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: #f1f5f9;
}
.cond-photos .cond-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Meniu: „Užsakyk patikrą“ */
.site-nav a.nav-cta { border: 1.5px solid var(--yellow); color: var(--yellow); font-weight: 600; padding: 3.5px 10.5px; margin-left: 8px; }
.site-nav a.nav-cta:hover { background: var(--yellow); color: var(--navy); }
@media (max-width: 760px) { .site-nav a.nav-cta { padding: 10.5px 14.5px; margin-left: 0; margin-top: 4px; } }
