/* Premium UX upgrades for vehicle detail page.
 * Kept separate from inline CSS to avoid regressions.
 */

@media (min-width: 900px) {
  .vehicle-right {
    position: sticky;
    top: 100px;
    height: fit-content;
  }
}

.main-image img {
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.main-image img:hover {
  transform: scale(1.05);
}

/* Active thumbnail visual state */
.thumbnails img {
  opacity: 0.6;
  cursor: pointer;
  border-radius: 6px;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.thumbnails img.active {
  opacity: 1;
  border: 2px solid #1a73e8;
}

/* Specs cards */
.vehicle-specs div {
  background: #f7f8fa;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.vehicle-specs strong {
  display: block;
  font-size: 12px;
  color: #777;
  margin-bottom: 2px;
  font-weight: 800;
}

/* CTA buttons hover */
.vehicle-cta a {
  transition: all 0.2s ease;
}

.vehicle-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.vehicle-description-section {
  border-top: 1px solid #eee;
  padding-top: 40px;
}

@media (max-width: 900px) {
  .vehicle-right {
    position: static;
  }

  .vehicle-cta {
    flex-direction: column;
  }
}

/* AutoScout-style primary actions + quick contact row */
.vehicle-cta .quick-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  width: 100%;
}

.vehicle-cta .quick-actions a {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.action-buttons .btn {
  display: block;
  text-align: center;
  padding: 14px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.2s ease;
  box-sizing: border-box;
  border: none;
  cursor: pointer;
  font: inherit;
}

.action-buttons .btn-buy {
  background: #1e3a8a;
  color: #fff;
}

.action-buttons .btn-buy:hover {
  background: #162d6b;
}

.action-buttons .btn-buy--disabled {
  background: #9ca3af;
  cursor: not-allowed;
  pointer-events: none;
}

.action-buttons .btn-reserve {
  background: #10b981;
  color: #fff;
}

.action-buttons .btn-reserve:hover {
  background: #0f9f6e;
}

.action-buttons .btn-contact {
  border: 2px solid #ddd;
  color: #333;
  background: #fff;
}

.action-buttons .btn-contact:hover {
  background: #f5f5f5;
}

.action-buttons .btn-contact--disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 640px) {
  .vehicle-cta .quick-actions {
    flex-direction: column;
  }
}

