/* css/vehicle-detail.css */
.vdp-hero {
  background: var(--primary);
  padding: 20px 0;
  border-bottom: 3px solid var(--accent1);
}
.vdp-hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--accent2);
}
.breadcrumb a {
  color: var(--accent2);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--accent1);
}
.breadcrumb span {
  color: var(--accent2);
  opacity: 0.5;
}
.breadcrumb-current {
  color: var(--white);
  font-weight: 600;
}
.vdp-loading,
.vdp-error {
  text-align: center;
  padding: 100px 20px;
  color: var(--secondary);
}
.vdp-error h2 {
  color: var(--primary);
  margin-bottom: 12px;
}
.vdp-main {
  padding: 32px 0 60px;
}
.vdp-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: start;
}
.vdp-gallery {
  min-width: 0;
}
.gallery-main {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/10;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s;
}
.gallery-count-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  pointer-events: none;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  padding: 10px 14px;
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.2s;
  z-index: 2;
}
.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.85);
}
.gallery-nav.prev {
  left: 10px;
}
.gallery-nav.next {
  right: 10px;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.gallery-thumb {
  width: 80px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s;
  background: #222;
}
.gallery-thumb.active {
  border-color: var(--accent1);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.vdp-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  position: sticky;
  top: 90px;
}
.vdp-panel-header {
  background: var(--primary);
  padding: 20px 24px;
}
.vdp-condition-badge {
  display: inline-block;
  background: var(--accent1);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.vdp-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  text-transform: uppercase;
}
.vdp-subtitle {
  font-size: 0.85rem;
  color: var(--accent2);
  margin-top: 4px;
}
.vdp-stock {
  font-size: 0.78rem;
  color: #aaa;
  margin-top: 6px;
}
.vdp-panel-pricing {
  padding: 10px 24px;
  border-bottom: 1px solid var(--border);
}
.vdp-price-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.5px;
}
.vdp-price {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  padding-bottom: 20px;
}
.vdp-panel-ctas {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.vdp-panel-ctas .btn {
  text-align: center;
  font-size: 0.95rem;
  padding: 12px;
}
.vdp-quick-specs {
  padding: 16px 24px;
}
.vdp-quick-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.vdp-quick-spec-row:last-child {
  border-bottom: none;
}
.vdp-quick-spec-row .spec-label {
  color: var(--secondary);
  font-weight: 600;
}
.vdp-quick-spec-row .spec-val {
  font-weight: 700;
  color: var(--primary);
  text-align: right;
}
.vdp-details {
  margin-top: 40px;
}
.vdp-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.vdp-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.vdp-section-title {
  background: var(--primary);
  color: var(--white);
  padding: 14px 20px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.vdp-section-body {
  padding: 20px;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table tr {
  border-bottom: 1px solid var(--border);
}
.spec-table tr:last-child {
  border-bottom: none;
}
.spec-table td {
  padding: 9px 4px;
  font-size: 0.88rem;
}
.spec-table td:first-child {
  color: var(--secondary);
  font-weight: 600;
  width: 45%;
}
.spec-table td:last-child {
  font-weight: 700;
  color: var(--primary);
}
.features-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feature-category-name {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-list li {
  font-size: 0.85rem;
  color: var(--dark-gray);
  padding: 3px 0;
  padding-left: 16px;
  position: relative;
}
.feature-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent1);
  font-weight: 700;
}
.vdp-similar {
  margin-top: 40px;
}
.vdp-similar .section-header {
  margin-bottom: 24px;
}
.vdp-calc {
  padding: 0;
}
.vdp-calc label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  display: block;
  margin-bottom: 5px;
}
.vdp-calc select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.88rem;
  color: var(--dark-gray);
  margin-bottom: 12px;
}
.calc-result {
  background: var(--light-bg);
  border-radius: 4px;
  padding: 14px;
  text-align: center;
}
.calc-result-label {
  font-size: 0.78rem;
  color: var(--secondary);
  margin-bottom: 4px;
}
.calc-result-amount {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
}
.calc-result-note {
  font-size: 0.72rem;
  color: var(--secondary);
  margin-top: 4px;
}
@media (max-width: 1024px) {
  .vdp-layout {
    grid-template-columns: 1fr;
  }
  .vdp-panel {
    position: static;
  }
  .vdp-details-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .vdp-title {
    font-size: 1.2rem;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
}
/*# sourceMappingURL=vehicle-detail.css.map */
