/* ==========================================================================
   VehicleSev vehicle profile (uses directory.css components)
   ========================================================================== */

/* ---------- Hero ---------- */
.vhero {
  padding-block: var(--s-6) var(--s-7);
  background: radial-gradient(ellipse at 20% 0%, rgba(163, 255, 18, 0.06) 0%, rgba(163, 255, 18, 0) 50%), var(--c-surface);
  border-bottom: 1px solid var(--c-border);
}
.vhero .breadcrumbs { margin-bottom: var(--s-5); }
.vhero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--s-7); align-items: start; }
@media (max-width: 1024px) { .vhero__grid { grid-template-columns: 1fr; gap: var(--s-6); } }

.vhero__main { display: block; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--c-border); background: var(--c-bg); }
.vhero__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 500ms ease; }
.vhero__main:hover .vhero__img { transform: scale(1.03); }
.vhero__noimg { aspect-ratio: 16 / 10; border: 1px solid var(--c-border); border-radius: var(--r-sm); }
.vhero__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); margin-top: var(--s-2); }
.vhero__thumbs a { display: block; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--c-border); }
.vhero__thumbs a:hover { border-color: var(--c-accent); }
.vhero__thumbs img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.vhero__info { display: flex; flex-direction: column; gap: var(--s-4); }
.vhero__info .eyebrow a { color: inherit; text-decoration: none; }
.vhero__info .eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }
.vhero__title { font-size: clamp(32px, 3.4vw, 48px); }
.vhero__tags { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); font-size: 14px; }
.vhero__tags a { color: var(--c-text); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--c-border-strong); }
.vhero__tags a:hover { border-color: var(--c-accent); color: var(--c-accent); }
.badge--available { border-color: var(--c-accent-strong); color: var(--c-accent); }

.vhero__price { padding: var(--s-4) var(--s-5); background: var(--c-card); border: 1px solid var(--c-border); border-left: 3px solid var(--c-accent); border-radius: var(--r-sm); }
.vhero__price-label { font-size: 13px; font-weight: 600; }
.vhero__price-value { color: var(--c-text); font-family: var(--f-heading); font-weight: 700; font-size: 30px; line-height: 1.2; }
.vhero__price-none { color: var(--c-text); font-weight: 600; font-size: 18px; }
.vhero__price-note { font-size: 13px; margin-top: 2px; }
.vhero__meta { display: grid; gap: var(--s-2); margin: 0; font-size: 14px; }
.vhero__meta div { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.vhero__meta dt { font-weight: 600; }
.vhero__meta dt::after { content: ":"; }
.vhero__meta dd { margin: 0; color: var(--c-text); }
.vhero__info .btn { align-self: flex-start; }

.notice-bar {
  margin-top: var(--s-5); padding: var(--s-3) var(--s-4);
  background: var(--c-card); border: 1px solid var(--c-border); border-left: 3px solid var(--c-border-strong);
  border-radius: var(--r-sm); font-size: 14px; color: var(--c-text);
}
.notice-bar + .notice-bar { margin-top: var(--s-2); }
.notice-bar--concept, .notice-bar--unconfirmed { border-left-color: #FFC857; }
.notice-bar--announced, .notice-bar--upcoming { border-left-color: var(--c-accent); }

/* ---------- In-page nav ---------- */
.vnav { position: sticky; top: 72px; z-index: 40; background: rgba(7, 19, 28, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-border); }
.vnav ul { display: flex; gap: var(--s-1); overflow-x: auto; scrollbar-width: none; }
.vnav ul::-webkit-scrollbar { display: none; }
.vnav a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--s-3);
  color: var(--c-text-muted); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid transparent; transition: color var(--t-fast), border-color var(--t-fast);
}
.vnav a:hover, .vnav a[aria-current] { color: var(--c-text); border-bottom-color: var(--c-accent); }
@media (max-width: 1024px) { .vnav { top: 72px; } }
html { scroll-padding-top: 140px; }

/* ---------- Quick specs ---------- */
.quickspecs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--c-border); border: 1px solid var(--c-border); border-radius: var(--r-sm); overflow: hidden; }
.quickspecs > div { padding: var(--s-4); background: var(--c-card); }
.quickspecs dt { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.35; }
.quickspecs dd { margin: 6px 0 0; color: var(--c-text); font-family: var(--f-heading); font-weight: 700; font-size: 22px; line-height: 1.2; }
@media (max-width: 1024px) { .quickspecs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .quickspecs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .quickspecs dd { font-size: 19px; } }

.srcref { margin-left: 2px; color: var(--c-accent); font-family: var(--f-body); font-size: 0.68em; font-weight: 700; text-decoration: none; vertical-align: super; line-height: 0; }
.srcref:hover { text-decoration: underline; }

/* ---------- Gallery ---------- */
.vgallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s-3); }
.vgallery a { display: block; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--c-border); }
.vgallery a:hover { border-color: var(--c-accent); }
.vgallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 400ms ease; }
.vgallery a:hover img { transform: scale(1.05); }

.lightbox { width: min(1200px, 96vw); max-height: 94vh; padding: 0; background: #020609; border: 1px solid var(--c-border); border-radius: var(--r-sm); color: var(--c-text); overflow: visible; }
.lightbox::backdrop { background: rgba(2, 6, 9, 0.88); }
.lightbox__frame { display: flex; flex-direction: column; }
.lightbox__img { width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox__caption { padding: var(--s-3) var(--s-4); font-size: 14px; color: var(--c-text-muted); }
.lightbox__btn { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: rgba(7, 19, 28, 0.85); border: 1px solid var(--c-border-strong); border-radius: 50%; color: var(--c-text); cursor: pointer; }
.lightbox__btn:hover { border-color: var(--c-accent); color: var(--c-accent); }
.lightbox__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__prev { left: var(--s-3); top: 45%; }
.lightbox__next { right: var(--s-3); top: 45%; }
.lightbox__close { right: var(--s-3); top: var(--s-3); }

/* ---------- Specifications ---------- */
.specs__summary { font-size: 14px; }
.specgrid { columns: 2 420px; column-gap: var(--s-5); }
.specsec { break-inside: avoid; margin-bottom: var(--s-5); background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--r-sm); }
.specsec summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-4) var(--s-5); cursor: pointer; list-style: none; }
.specsec summary::-webkit-details-marker { display: none; }
.specsec summary h3 { font-size: 18px; }
.specsec summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--c-accent); border-bottom: 2px solid var(--c-accent); transform: rotate(45deg) translateY(-3px); transition: transform var(--t-fast); }
.specsec[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.specsec__count { margin-left: auto; font-size: 12px; font-weight: 600; }
.spectable { width: 100%; border-collapse: collapse; font-size: 15px; }
.spectable th, .spectable td { padding: 10px var(--s-5); border-top: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.spectable th { width: 55%; font-weight: 500; color: var(--c-text-muted); }
.spectable td { color: var(--c-text); font-weight: 600; }
.spectable tr.is-unknown td { color: var(--c-text-muted); font-weight: 400; font-style: italic; }

/* ---------- Tables ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--r-sm); }
.tablewrap:focus-visible { outline-offset: 2px; }
.datatable { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; background: var(--c-card); }
.datatable th, .datatable td { padding: 12px var(--s-4); border-bottom: 1px solid var(--c-border); text-align: left; white-space: nowrap; }
.datatable thead th { color: var(--c-text); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--c-surface); }
.datatable tbody th { color: var(--c-text); font-weight: 600; }
.datatable td { color: var(--c-text); }
.datatable .num { text-align: right; font-variant-numeric: tabular-nums; }
.datatable .na { color: var(--c-text-muted); }
.datatable tbody tr:last-child > * { border-bottom: 0; }
.fineprint { font-size: 13px; }

/* ---------- Pros & cons ---------- */
.proscons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 767px) { .proscons { grid-template-columns: 1fr; } }
.proscons__col { padding: var(--s-5); background: var(--c-card); border: 1px solid var(--c-border); border-top: 3px solid var(--c-accent); border-radius: var(--r-sm); }
.proscons__col--con { border-top-color: #FF8A6B; }
.proscons__col h3 { margin-bottom: var(--s-3); }
.proscons__col li { position: relative; padding: 6px 0 6px 28px; color: var(--c-text); }
.proscons__col li::before { content: "+"; position: absolute; left: 0; top: 4px; width: 20px; color: var(--c-accent); font-weight: 700; font-size: 18px; text-align: center; }
.proscons__col--con li::before { content: "−"; color: #FF8A6B; }

.reviewlink { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); text-decoration: none; color: var(--c-text); }
.reviewlink:hover { border-color: var(--c-accent); }

/* ---------- Sources ---------- */
.sources { list-style: decimal; padding-left: 1.6em; display: flex; flex-direction: column; gap: var(--s-2); }
.sources li { padding-left: var(--s-2); }
.sources li::marker { color: var(--c-accent); font-weight: 700; }
.sources li:target { background: rgba(163, 255, 18, 0.08); border-radius: var(--r-sm); }
.sources__meta { display: block; font-size: 13px; }
.disclaimer { padding: var(--s-4) var(--s-5); background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--r-sm); font-size: 14px; display: flex; flex-direction: column; gap: var(--s-2); }
