/* Vehicle detail — Hollmann / car.gr style: 3 modules, neutral grey borders only */

body.detail-page {
  --vd-border: #4a4a50;
  --vd-border-faint: rgba(255, 255, 255, 0.14);
  background: #0a0a0c;
  color: #e8e8ea;
}

body.detail-page main {
  width: 100%;
  max-width: none;
}

.detail-page .site-header {
  background: #0a0a0c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ─── Full-width gallery strip ─── */
.vd-gallery-full {
  position: relative;
  width: 100%;
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vd-gallery-track {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0;
}
.vd-gallery-track::-webkit-scrollbar {
  display: none;
}

.vd-gallery-slide {
  flex: 0 0 32%;
  min-width: 280px;
  max-width: 520px;
  scroll-snap-align: start;
  aspect-ratio: 4 / 3;
  border: 0;
  padding: 0;
  margin: 0;
  background: #111;
  cursor: zoom-in;
  overflow: hidden;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.vd-gallery-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s;
  pointer-events: none;
}
.vd-gallery-slide:hover::after {
  background: rgba(0, 0, 0, 0.15);
}
@media (min-width: 1200px) {
  .vd-gallery-slide {
    flex: 0 0 24%;
    min-width: 300px;
  }
}
@media (max-width: 640px) {
  .vd-gallery-slide {
    flex: 0 0 88%;
    min-width: 0;
  }
}

.vd-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.3s;
}
.vd-gallery-slide:hover img {
  transform: scale(1.04);
  opacity: 0.92;
}

.vd-gallery-slide--empty {
  flex: 1 1 100%;
  max-width: none;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vd-gallery-slide--empty img {
  max-width: 200px;
  opacity: 0.25;
  object-fit: contain;
}

.vd-gal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 12, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  backdrop-filter: blur(6px);
}
.vd-gal-nav:hover:not(:disabled) {
  background: var(--brand-red);
  border-color: var(--brand-red);
}
.vd-gal-nav:disabled {
  opacity: 0;
  pointer-events: none;
}
.vd-gal-nav.prev {
  left: 0.75rem;
}
.vd-gal-nav.next {
  right: 0.75rem;
}

.vd-gallery-counter {
  position: absolute;
  bottom: 0.75rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.5);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
}

.vd-gallery-hint {
  position: absolute;
  bottom: 0.75rem;
  left: 1rem;
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  z-index: 2;
}

/* ─── Three-column main content (reference layout, grey borders — no gold) ─── */
.vd-main {
  width: 100%;
  padding: 0;
  background: #0a0a0c;
}

.vd-main-grid {
  display: grid;
  width: 100%;
  max-width: none;
  margin: 0;
  align-items: stretch;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  padding: clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid var(--vd-border);
  box-sizing: border-box;
}

/* No borders here — only .vd-panel draws the 3 boxes (avoids double lines on sides) */
.vd-module {
  padding: 0;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

@media (min-width: 1100px) {
  .vd-main-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr);
  }
}

/* Shared panel — same grey frame on all 3 columns (reference uses gold; we use grey) */
.vd-panel {
  flex: 1;
  width: 100%;
  min-height: 100%;
  border: 1px solid var(--vd-border);
  border-radius: 8px;
  background: #111114;
  overflow: hidden;
}

.vd-col-detail .vd-panel {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  overflow: visible;
}

.vd-panel--contact {
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #0a0a0c;
}

/* Left column — FEATURES table (reference layout) */
.vd-panel--specs {
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #0a0a0c;
}

.vd-spec-head {
  padding: 0.85rem 1rem;
  background: #232328;
  border-bottom: 1px solid var(--vd-border);
}

.vd-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  margin: 0;
  table-layout: fixed;
}
.vd-spec-table th,
.vd-spec-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--vd-border);
  vertical-align: middle;
}
.vd-spec-table th {
  width: 48%;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  border-right: 1px solid var(--vd-border);
}
.vd-spec-table td {
  color: #fff;
  font-weight: 400;
  text-align: right;
}
.vd-spec-table tr:nth-child(odd) th,
.vd-spec-table tr:nth-child(odd) td {
  background: #141418;
}
.vd-spec-table tr:nth-child(even) th,
.vd-spec-table tr:nth-child(even) td {
  background: #0a0a0c;
}
.vd-spec-table tr:last-child th,
.vd-spec-table tr:last-child td {
  border-bottom: 0;
}
.vd-mono {
  font-size: 0.75rem;
  word-break: break-all;
}

.vd-spec-table-title {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
}

.vd-spec-empty {
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  font-style: italic;
  text-align: left;
  background: #141418;
}

/* Center: title, price, description, options */
.vd-headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--vd-border-faint);
}

.vd-headline-text {
  width: 100%;
  min-width: 0;
}

.vd-brand {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brand-red);
}
.vd-model {
  margin: 0.35rem 0 0;
  font-size: clamp(1.15rem, 2.85vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.vd-headline-actions {
  margin-top: .7rem;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
}
.vd-inline-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 2.35rem;
  padding: .45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: border-color .2s, color .2s, background .2s;
}
.vd-inline-action svg {
  width: .86rem;
  height: .86rem;
  flex-shrink: 0;
}
.vd-inline-action:hover {
  border-color: #8a8a92;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.vd-inline-action-status {
  font-size: .68rem;
  color: rgba(255, 255, 255, 0.6);
}

.vd-headline-price {
  width: 100%;
  text-align: left;
  flex-shrink: 1;
}
.vd-price-gross,
.vd-price-net {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
}
.vd-price-gross span,
.vd-price-net span {
  display: inline;
  min-width: 0;
}
.vd-price-gross strong,
.vd-price-net strong {
  color: #fff;
  font-weight: 600;
}
.vd-price-net strong {
  color: var(--brand-red);
}

.vd-lead {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
.vd-lead strong {
  font-weight: 600;
  color: #fff;
}

.vd-badges {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}
.vd-badges li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.4rem;
}
.vd-badges li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-red);
  font-weight: 700;
}

.vd-description {
  margin-bottom: 2rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
}
.vd-desc-block p {
  margin: 0 0 .65rem;
}
.vd-desc-block p:last-child {
  margin-bottom: 0;
}
.vd-desc-list {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}
.vd-desc-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: .32rem;
}
.vd-desc-list li:last-child {
  margin-bottom: 0;
}
.vd-desc-list.is-red li::before,
.vd-desc-list.is-dot li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .36rem;
  height: .36rem;
  border-radius: 999px;
}
.vd-desc-list.is-red li::before {
  background: var(--brand-red);
}
.vd-desc-list.is-dot li::before {
  background: rgba(255, 255, 255, 0.55);
}
.vd-desc-list + .vd-desc-list {
  margin-top: 1.45rem;
}
.vd-desc-list.is-red + .vd-desc-list.is-dot {
  margin-top: 1.9rem;
}
.vd-desc-block--el {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
}

/* Peculiarities — car.gr-style icon grid */
.vd-peculiarities {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vd-peculiarities-title {
  margin: 0 0 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
}

.vd-peculiarities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 480px) {
  .vd-peculiarities-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .vd-peculiarities-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .vd-peculiarities-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.vd-peculiarity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.pec-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(224, 0, 0, 0.35);
  color: var(--brand-red);
}

.pec-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.vd-peculiarity-label {
  font-size: 0.6875rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
  max-width: 6.5rem;
  word-wrap: break-word;
}

.vd-disclaimer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
}
.vd-disclaimer p {
  margin: 0;
}

.vd-back {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.vd-back a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}
.vd-back a:hover {
  color: var(--brand-red);
}

/* Right: contact sidebar (Photopea / reference layout) */
.vd-contact-box {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.vd-side-logo {
  display: block;
  position: relative;
  width: min(100%, 8.75rem);
  max-height: 2.1rem;
  margin: 0 0 1.15rem;
  line-height: 0;
  text-decoration: none;
  border: 0;
  outline: none;
}
.vd-side-logo:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 3px;
  border-radius: 2px;
}
.vd-side-logo-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 2.1rem;
  object-fit: contain;
  object-position: left center;
  border: 0;
  box-shadow: none;
  filter: none;
}
.vd-side-logo-img--light {
  display: none;
}
html[data-theme="light"] body.detail-page .vd-side-logo-img--dark {
  display: none;
}
html[data-theme="light"] body.detail-page .vd-side-logo-img--light {
  display: block;
}

.vd-contact-title {
  margin: 0 0 0.65rem;
  font-size: clamp(0.9375rem, 1.75vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
}
.vd-contact-sub {
  margin: 0 0 1.1rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

.vd-side-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 0;
}

.vd-side-rule {
  margin: 1.15rem 0;
  border: 0;
  border-top: 1px solid var(--vd-border);
  opacity: 1;
}

.vd-side-section-title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}

.vd-contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}
.vd-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.35rem;
  padding: 0.55rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
  text-align: center;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  box-sizing: border-box;
}
.vd-contact-btn:hover {
  border-color: #8a8a92;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.vd-contact-btn--wa:hover {
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.12);
}
.vd-contact-btn--viber:hover {
  border-color: #7360f2;
  background: rgba(115, 96, 242, 0.12);
}

@media (max-width: 640px) {
  .vd-contact-actions {
    grid-template-columns: 1fr;
  }
}

.vd-contact-email {
  display: block;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}
.vd-contact-email:hover {
  color: var(--brand-red);
}

.vd-delivery-box {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.vd-delivery-box h3 {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
}
.vd-delivery-box p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

/* Mobile: stack columns */
@media (max-width: 1099px) {
  .vd-col-specs {
    order: 2;
  }
  .vd-col-detail {
    order: 1;
  }
  .vd-col-contact {
    order: 3;
  }
  .vd-headline {
    gap: 0.5rem;
  }
}

/* Lightbox — toolbar, zoom, swipe */
body.vd-lightbox-open {
  overflow: hidden;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.96);
  flex-direction: column;
  box-sizing: border-box;
  touch-action: pan-y pinch-zoom;
}
.lightbox.is-open {
  display: flex !important;
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
  width: 100%;
  padding: 0.65rem 0.85rem;
  z-index: 12;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
}
.lightbox-count {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.lightbox-toolbar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.lightbox-tool {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.35rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.lightbox-tool svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}
.lightbox-tool:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
}
.lightbox-tool.is-active {
  background: rgba(224, 0, 0, 0.35);
  border-color: var(--brand-red);
}
.lightbox-tool[aria-pressed="true"] .lightbox-tool-icon--play {
  display: none;
}
.lightbox-tool[aria-pressed="true"] .lightbox-tool-icon--pause {
  display: block !important;
}
.lightbox-tool-icon--pause {
  display: none;
}
.lightbox-tool--close {
  margin-left: 0.15rem;
}

.lightbox-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  min-height: 0;
  padding: 0 0.5rem 1rem;
}
.lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  min-width: 0;
  touch-action: pan-x pan-y;
}
.lightbox-zoom-wrap {
  overflow: auto;
  max-width: 100%;
  max-height: calc(100vh - 5.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-overflow-scrolling: touch;
}
.lightbox-zoom-wrap::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.lightbox-zoom-wrap::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}
#lightbox-img {
  max-height: calc(100vh - 5.5rem);
  max-width: min(94vw, 1400px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(var(--lb-zoom, 1));
  transform-origin: center center;
  transition: transform 0.2s ease;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-nav {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 10;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transition: background 0.2s, border-color 0.2s;
  margin: 0 0.35rem;
}
.lightbox-nav svg {
  width: 1.25rem;
  height: 1.25rem;
}
.lightbox-nav:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
}
.lightbox-toast {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(0.5rem);
  margin: 0;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.35rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 15;
}
.lightbox-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 640px) {
  .lightbox-topbar {
    padding: 0.5rem 0.55rem;
  }
  .lightbox-tool {
    width: 2.15rem;
    height: 2.15rem;
  }
  .lightbox-tool svg {
    width: 0.95rem;
    height: 0.95rem;
  }
  .lightbox-body {
    padding: 0 0 0.75rem;
  }
  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(0, 0, 0, 0.45);
  }
  .lightbox-nav.prev {
    left: 0.35rem;
  }
  .lightbox-nav.next {
    right: 0.35rem;
  }
  .lightbox-body {
    padding-left: 0;
    padding-right: 0;
  }
  #lightbox-img {
    max-width: 100vw;
    max-height: calc(100vh - 4.75rem);
  }
  .lightbox-zoom-wrap {
    max-height: calc(100vh - 4.75rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  #lightbox-img {
    transition: none;
  }
}

.detail-page .site-footer {
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  .vd-gallery-slide img {
    transition: none;
  }
}

/* ─── Light theme (html data-theme="light") ─── */
html[data-theme="light"] body.detail-page {
  --vd-border: #e5e7eb;
  --vd-border-faint: rgba(0, 0, 0, 0.1);
  background: #fff;
  color: #1a1a1f;
}

html[data-theme="light"] body.detail-page .site-header {
  background: var(--surface-dark);
  border-bottom-color: rgba(0, 0, 0, 0.15);
}

html[data-theme="light"] body.detail-page .vd-gallery-full {
  background: #f8f9fb;
  border-bottom-color: #e5e7eb;
}

html[data-theme="light"] body.detail-page .vd-gallery-slide {
  background: #e5e7eb;
}

html[data-theme="light"] body.detail-page .vd-gal-nav {
  background: #fff;
  border-color: #e5e7eb;
  color: #1a1a1f;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
html[data-theme="light"] body.detail-page .vd-gal-nav:hover:not(:disabled) {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
}

html[data-theme="light"] body.detail-page .vd-gallery-counter {
  color: #374151;
  background: rgba(255, 255, 255, 0.92);
}
html[data-theme="light"] body.detail-page .vd-gallery-hint {
  color: #6b7280;
}

html[data-theme="light"] body.detail-page .vd-main {
  background: #f8f9fb;
}

html[data-theme="light"] body.detail-page .vd-panel {
  background: #fff;
  border-color: var(--vd-border);
}

html[data-theme="light"] body.detail-page .vd-panel--specs {
  background: #fff;
}
html[data-theme="light"] body.detail-page .vd-spec-head {
  background: #e5e7eb;
  border-bottom-color: var(--vd-border);
}
html[data-theme="light"] body.detail-page .vd-spec-table th {
  color: #6b7280;
  border-right-color: var(--vd-border);
}
html[data-theme="light"] body.detail-page .vd-spec-table td {
  color: #1a1a1f;
}
html[data-theme="light"] body.detail-page .vd-spec-table tr:nth-child(odd) th,
html[data-theme="light"] body.detail-page .vd-spec-table tr:nth-child(odd) td {
  background: #f9fafb;
}
html[data-theme="light"] body.detail-page .vd-spec-table tr:nth-child(even) th,
html[data-theme="light"] body.detail-page .vd-spec-table tr:nth-child(even) td {
  background: #fff;
}
html[data-theme="light"] body.detail-page .vd-spec-table-title {
  color: #1a1a1f;
}
html[data-theme="light"] body.detail-page .vd-spec-empty {
  color: #9ca3af;
  background: #f9fafb;
}

html[data-theme="light"] body.detail-page .vd-model,
html[data-theme="light"] body.detail-page .vd-price-gross strong,
html[data-theme="light"] body.detail-page .vd-panel--contact {
  background: #fff;
}
html[data-theme="light"] body.detail-page .vd-contact-title,
html[data-theme="light"] body.detail-page .vd-side-section-title,
html[data-theme="light"] body.detail-page .vd-delivery-box h3 {
  color: #1a1a1f;
}
html[data-theme="light"] body.detail-page .vd-side-rule {
  border-top-color: var(--vd-border);
}

html[data-theme="light"] body.detail-page .vd-price-gross,
html[data-theme="light"] body.detail-page .vd-lead,
html[data-theme="light"] body.detail-page .vd-description,
html[data-theme="light"] body.detail-page .vd-desc-block--el,
html[data-theme="light"] body.detail-page .vd-peculiarities-title,
html[data-theme="light"] body.detail-page .vd-peculiarity-label,
html[data-theme="light"] body.detail-page .vd-disclaimer,
html[data-theme="light"] body.detail-page .vd-back a,
html[data-theme="light"] body.detail-page .vd-contact-sub,
html[data-theme="light"] body.detail-page .vd-contact-email,
html[data-theme="light"] body.detail-page .vd-delivery-box p {
  color: #6b7280;
}

html[data-theme="light"] body.detail-page .vd-inline-action {
  border-color: #d1d5db;
  color: #4b5563;
}
html[data-theme="light"] body.detail-page .vd-inline-action:hover {
  border-color: #9ca3af;
  color: #111827;
  background: #f9fafb;
}
html[data-theme="light"] body.detail-page .vd-inline-action-status {
  color: #6b7280;
}

html[data-theme="light"] body.detail-page .vd-lead strong {
  color: #111827;
}
html[data-theme="light"] body.detail-page .vd-desc-list.is-dot li::before {
  background: #6b7280;
}
html[data-theme="light"] body.detail-page .vd-price-net strong {
  color: var(--brand-red);
}

html[data-theme="light"] body.detail-page .vd-peculiarities,
html[data-theme="light"] body.detail-page .vd-disclaimer,
html[data-theme="light"] body.detail-page .vd-desc-block--el {
  border-top-color: #e5e7eb;
}
html[data-theme="light"] body.detail-page .pec-icon {
  background: #f3f4f6;
  border-color: rgba(224, 0, 0, 0.35);
  color: var(--brand-red);
}

html[data-theme="light"] body.detail-page .vd-contact-btn {
  border-color: var(--vd-border);
  color: #1a1a1f;
}
html[data-theme="light"] body.detail-page .vd-contact-btn:hover {
  border-color: #d1d5db;
  background: #f9fafb;
  color: #111827;
}
html[data-theme="light"] body.detail-page .vd-contact-btn--wa:hover {
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.1);
}
html[data-theme="light"] body.detail-page .vd-back a:hover,
html[data-theme="light"] body.detail-page .vd-contact-email:hover {
  color: var(--brand-red);
}

html[data-theme="light"] body.detail-page .site-footer {
  border-top-color: #e5e7eb;
}

/* Print-only vehicle summary (hidden on screen) */
.vd-print-sheet {
  display: none;
}

/* ─── Print (readable text, compact photos — no empty gallery grids) ─── */
@media print {
  @page {
    margin: 10mm;
    size: auto;
  }

  body.detail-page {
    background: #fff !important;
    color: #111827 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body.detail-page main,
  body.detail-page .vd-main,
  body.detail-page .vd-main-grid,
  body.detail-page .vd-module,
  body.detail-page .vd-panel {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    position: static !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  /* Hide on-screen gallery (34 lazy slots = empty gray boxes in print) */
  body.detail-page .vd-gallery-full,
  body.detail-page .site-header,
  body.detail-page .cookie-consent,
  body.detail-page .lightbox,
  body.detail-page .site-footer,
  body.detail-page .vd-col-contact,
  body.detail-page .vd-side-actions,
  body.detail-page .vd-contact-actions,
  body.detail-page .vd-side-rule,
  body.detail-page .vd-delivery-box,
  body.detail-page .vd-back,
  body.detail-page .vd-inline-action-status,
  body.detail-page .search-modal {
    display: none !important;
  }

  /* Dedicated print layout: logo, title, up to 6 photos */
  body.detail-page .vd-print-sheet {
    display: block !important;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #d1d5db;
    page-break-inside: avoid;
  }

  body.detail-page .vd-print-sheet-head {
    margin-bottom: 0.75rem;
  }

  body.detail-page .vd-print-sheet-logo {
    display: block;
    width: auto;
    max-width: 9rem;
    height: auto;
    max-height: 2rem;
    margin-bottom: 0.65rem;
  }

  body.detail-page .vd-print-sheet-title {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.25;
    color: #111827 !important;
  }

  body.detail-page .vd-print-sheet-price {
    margin: 0;
    font-size: 0.9rem;
    color: #374151 !important;
  }

  body.detail-page .vd-print-sheet-price span {
    color: #6b7280 !important;
  }

  body.detail-page .vd-print-sheet-hero {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    margin-bottom: 0.5rem;
  }

  body.detail-page .vd-print-sheet-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  body.detail-page .vd-print-sheet-thumbs img {
    display: block;
    width: calc(25% - 5px);
    max-width: 140px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #d1d5db;
  }

  /* Avoid repeating the title block (already on .vd-print-sheet) */
  body.detail-page .vd-headline {
    display: none !important;
  }

  /* Stack columns; allow normal page breaks inside long sections */
  body.detail-page .vd-main-grid {
    display: block !important;
    gap: 0 !important;
    padding: 0 !important;
    border-top: 0 !important;
  }

  body.detail-page .vd-module {
    margin-bottom: 0.75rem !important;
    page-break-inside: auto !important;
    break-inside: auto !important;
  }

  body.detail-page .vd-panel {
    border: 1px solid #d1d5db !important;
    page-break-inside: auto !important;
    break-inside: auto !important;
  }

  /* Specs table */
  body.detail-page .vd-spec-head {
    background: #e5e7eb !important;
    border-bottom: 1px solid #d1d5db !important;
  }

  body.detail-page .vd-spec-table-title,
  body.detail-page .vd-spec-table th,
  body.detail-page .vd-spec-table td,
  body.detail-page .vd-spec-empty {
    color: #111827 !important;
  }

  body.detail-page .vd-spec-table th {
    color: #374151 !important;
  }

  body.detail-page .vd-spec-table tr:nth-child(odd) th,
  body.detail-page .vd-spec-table tr:nth-child(odd) td,
  body.detail-page .vd-spec-table tr:nth-child(even) th,
  body.detail-page .vd-spec-table tr:nth-child(even) td,
  body.detail-page .vd-spec-empty {
    background: #fff !important;
  }

  body.detail-page .vd-spec-table tr:nth-child(odd) td,
  body.detail-page .vd-spec-table tr:nth-child(even) td {
    background: #f9fafb !important;
  }

  body.detail-page .vd-spec-table th,
  body.detail-page .vd-spec-table td {
    border-color: #d1d5db !important;
  }

  /* Title & price */
  body.detail-page .vd-headline {
    border-bottom-color: #d1d5db !important;
  }

  body.detail-page .vd-brand {
    color: #b80000 !important;
  }

  body.detail-page .vd-model,
  body.detail-page .vd-price-gross,
  body.detail-page .vd-price-gross strong,
  body.detail-page .vd-price-gross span {
    color: #111827 !important;
  }

  body.detail-page .vd-price-net,
  body.detail-page .vd-lead,
  body.detail-page .vd-lead strong {
    color: #374151 !important;
  }

  /* Description & additional information lists */
  body.detail-page .vd-peculiarities-title,
  body.detail-page .vd-description,
  body.detail-page .vd-description *,
  body.detail-page .vd-desc-block,
  body.detail-page .vd-desc-block p,
  body.detail-page .vd-desc-block--el,
  body.detail-page .vd-desc-block--el *,
  body.detail-page .vd-desc-list,
  body.detail-page .vd-desc-list li,
  body.detail-page .vd-badges li,
  body.detail-page .vd-peculiarity-label,
  body.detail-page .vd-disclaimer,
  body.detail-page .vd-disclaimer p,
  body.detail-page .vd-contact-title,
  body.detail-page .vd-contact-sub,
  body.detail-page .vd-side-section-title {
    color: #1f2937 !important;
  }

  body.detail-page .vd-peculiarities {
    border-top-color: #d1d5db !important;
  }

  body.detail-page .vd-desc-block--el {
    border-top-color: #e5e7eb !important;
  }

  body.detail-page .vd-disclaimer {
    border-top-color: #e5e7eb !important;
    color: #6b7280 !important;
  }

  body.detail-page .vd-desc-list.is-dot li::before {
    background: #6b7280 !important;
  }

  body.detail-page .vd-desc-list.is-red li::before {
    background: #b80000 !important;
  }

  body.detail-page .vd-badges li::before,
  body.detail-page .pec-icon {
    color: #b80000 !important;
  }

  body.detail-page .pec-icon {
    background: #f9fafb !important;
    border-color: #d1d5db !important;
  }

  body.detail-page a {
    color: #111827 !important;
  }

  body.detail-page .vd-side-logo {
    display: none !important;
  }
}
