/* Araç detay sayfası — ek profesyonel katman (arac.php) */

.vehicle-page--pro {
  --vehicle-pro-radius: calc(var(--radius) + 4px);
}

/* Üst bölüm */
.vehicle-hero-pro {
  position: relative;
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--accent-soft) 55%, var(--surface)) 0%,
      var(--surface) 48%,
      color-mix(in srgb, var(--accent-2) 8%, var(--surface)) 100%
    );
  border-bottom: 1px solid var(--line);
}

.vehicle-hero-pro .page-hero__title {
  margin-bottom: 0.35rem;
}

.vehicle-hero-pro .page-hero__lead {
  margin: 0 0 0.5rem;
  max-width: 52ch;
}

.vehicle-hero-pro__short {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 60ch;
}

.vehicle-meta-chips {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.vehicle-meta-chips__item {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 82%, var(--accent-soft));
  border: 1px solid color-mix(in srgb, var(--line) 70%, var(--accent) 18%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.vehicle-trust-strip {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  border-top: 1px dashed color-mix(in srgb, var(--line) 90%, var(--accent) 10%);
}

.vehicle-trust-strip__item {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 500;
}

/* Hızlı özellikler — galeri ve açıklamanın altında */
.vehicle-quick-specs-panel {
  padding: clamp(1rem, 2vw, 1.35rem);
  border-radius: var(--vehicle-pro-radius);
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 88%, var(--surface)) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.vehicle-quick-specs__heading {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 0.5vw + 1rem, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.vehicle-quick-specs {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.6rem;
}

.vehicle-quick-specs__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 92%, var(--accent-soft));
  border: 1px solid color-mix(in srgb, var(--line) 75%, var(--accent) 15%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 6px 18px color-mix(in srgb, var(--accent) 6%, transparent);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.vehicle-quick-specs__item:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
}

.vehicle-quick-specs__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent-soft) 90%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  flex-shrink: 0;
}

.vehicle-quick-specs__ico svg {
  width: 18px;
  height: 18px;
  display: block;
}

.vehicle-quick-specs__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1 1 auto;
}

.vehicle-quick-specs__val {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.25;
}

@media (max-width: 480px) {
  .vehicle-quick-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .vehicle-quick-specs__item {
    padding: 0.6rem 0.7rem;
  }

  .vehicle-quick-specs__ico {
    width: 30px;
    height: 30px;
  }

  .vehicle-quick-specs__val {
    font-size: 0.9rem;
  }
}

.vehicle-trust-strip__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent-soft) 100%, transparent);
}

/* Galeri kartı */
.vehicle-media-card {
  padding: clamp(0.65rem, 1.5vw, 0.85rem);
  border-radius: var(--vehicle-pro-radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.vehicle-media-card .v-gallery__stage {
  border-radius: calc(var(--radius-sm) + 2px);
}

.vehicle-media-card .v-gallery__thumbs {
  margin-top: 0.65rem;
}

/* Açıklama paneli */
.vehicle-detail__text--panel {
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  padding: clamp(1rem, 2vw, 1.35rem);
  border-radius: var(--vehicle-pro-radius);
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 88%, var(--surface)) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.vehicle-detail__about-h {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.65rem;
}

.vehicle-detail__text--panel p {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
}

.vehicle-detail__about .vehicle-detail__text {
  margin-top: 0;
}

/* Kiralama kartı — başlık hiyerarşisi */
.vehicle-page--pro .rent-card--vehicle .rent-card__header {
  margin: 0 0 0.25rem;
}

.vehicle-page--pro .rent-card--vehicle .rent-card__eyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 82%, var(--muted));
}

.vehicle-page--pro .rent-card--vehicle .rent-card__header .rent-card__title {
  margin: 0;
  font-size: clamp(1.15rem, 0.5vw + 1rem, 1.3rem);
}

.vehicle-page--pro .rent-card--vehicle .rent-card__hint {
  margin-top: 0.55rem;
}

/* Donanım + teknik bölümleri */
.vehicle-detail__extra--spec-pro {
  margin-top: 0.25rem;
}

.vehicle-spec-section {
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.vehicle-spec-section:first-child {
  margin-top: 0;
}

.vehicle-spec-section__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 0 0 clamp(1rem, 2vw, 1.35rem);
  padding-bottom: clamp(0.85rem, 2vw, 1.1rem);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 88%, var(--accent) 8%);
}

.vehicle-spec-section__badge {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 10px 28px color-mix(in srgb, var(--accent) 28%, transparent);
  position: relative;
}

.vehicle-spec-section__badge--svg {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vehicle-spec-section__badge--svg::after {
  content: none;
}

.vehicle-spec-section__badge--svg .v-detail-ico {
  width: 1.55rem;
  height: 1.55rem;
  color: rgba(255, 255, 255, 0.96);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.vehicle-spec-section__badge--specs-tone {
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 88%, #0f172a) 0%, var(--accent-2) 100%);
}

.vehicle-spec-section__head-text {
  min-width: 0;
}

.vehicle-spec-section__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 0.6vw + 1.05rem, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
}

.vehicle-spec-section__lead {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 62ch;
}

/* Donanım kartları + satır ikonları */
.v-detail-ico {
  flex-shrink: 0;
  display: block;
}

.v-feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .v-feature-grid {
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.v-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0;
  padding: 1rem 1.1rem 1.05rem;
  border-radius: calc(var(--radius-sm) + 6px);
  border: 1px solid var(--line);
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--surface) 88%, var(--accent-soft)) 0%, var(--surface) 60%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 8px 26px rgba(15, 23, 42, 0.05);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.v-feature-card:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 14px 36px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .v-feature-card {
    transition: none;
  }

  .v-feature-card:hover {
    transform: none;
  }
}

.v-feature-card__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 22%, var(--surface)) 0%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  color: color-mix(in srgb, var(--accent) 78%, var(--text));
  box-shadow: 0 2px 12px color-mix(in srgb, var(--accent) 18%, transparent);
}

.v-feature-card__ico .v-detail-ico {
  width: 1.25rem;
  height: 1.25rem;
}

.v-feature-card__txt {
  flex: 1;
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
  font-weight: 500;
  padding-top: 0.12rem;
}

/* Teknik özellikler — kart ızgarası */
.v-spec-shell {
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  padding: 0.65rem;
  background: color-mix(in srgb, var(--surface) 92%, var(--bg));
  box-shadow: var(--shadow-sm);
}

.v-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 0.65rem;
}

@media (min-width: 720px) {
  .v-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.v-spec-card {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.v-spec-card:hover {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
}

.v-spec-card__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  align-self: center;
  color: color-mix(in srgb, var(--accent) 85%, var(--muted));
}

.v-spec-card__ico .v-detail-ico {
  width: 1.35rem;
  height: 1.35rem;
}

.v-spec-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.v-spec-card__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
}

.v-spec-card__value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

/* Form */
.field__label-hint {
  font-weight: 400;
  color: var(--muted);
}

.form-noscript-hint {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line);
  background: color-mix(in srgb, var(--bg) 70%, var(--surface));
}

/* 404 */
.vehicle-404 {
  padding-block: clamp(2.5rem, 8vw, 4.5rem);
}

.vehicle-404__card {
  text-align: center;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--vehicle-pro-radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.vehicle-404__eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.vehicle-404__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw + 0.5rem, 1.85rem);
  letter-spacing: -0.03em;
}

.vehicle-404__lead {
  margin: 0 auto 1.5rem;
  max-width: 36ch;
  color: var(--muted);
  line-height: 1.55;
}

.vehicle-404__actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

@media (max-width: 1023px) {
  .vehicle-page--pro .vehicle-detail {
    gap: clamp(1.2rem, 4vw, 1.85rem);
  }

  .vehicle-page--pro .vehicle-detail__aside .rent-card--vehicle {
    padding: 1.4rem 1.2rem 1.45rem;
    border-radius: var(--vehicle-pro-radius);
    background:
      linear-gradient(165deg, color-mix(in srgb, var(--accent) 11%, transparent) 0%, transparent 40%),
      var(--surface);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.88) inset,
      0 14px 44px rgba(15, 23, 42, 0.08);
  }

  .vehicle-page--pro .rent-card--vehicle .rent-card__contact--top {
    margin-bottom: 1.05rem;
  }

  .vehicle-page--pro .rent-card--vehicle .rent-card__section-label {
    margin-top: 0.15rem;
  }

  .vehicle-page--pro .rent-card--vehicle .book-form--rent .field-row {
    gap: 0.8rem;
    grid-template-columns: 1fr 1fr;
  }

  .vehicle-page--pro .rent-card--vehicle .field__control {
    min-height: 48px;
    font-size: 1rem;
  }

  .vehicle-page--pro .rent-card--vehicle .rent-day-pill {
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.65rem 1rem;
    font-size: 1rem;
  }

  .vehicle-page--pro .rent-card--vehicle .rate-legend {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    margin-bottom: 0.65rem;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
  }

  .vehicle-page--pro .rent-card--vehicle .rate-legend > div {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.2rem;
    padding: 0.65rem 0.35rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--line);
    font-size: 0.6875rem;
    background: color-mix(in srgb, var(--surface) 92%, var(--bg));
    min-height: 4.75rem;
  }

  .vehicle-page--pro .rent-card--vehicle .rate-legend dt {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .vehicle-page--pro .rent-card--vehicle .rate-legend dd {
    text-align: center;
    font-size: 0.8125rem;
    line-height: 1.25;
  }

  .vehicle-page--pro .rent-card--vehicle .rent-deposit-trigger {
    margin: 0.5rem 0 0;
  }

  .vehicle-page--pro .rent-card--vehicle .rent-summary {
    padding: 1rem 1rem;
    border-radius: calc(var(--radius-sm) + 2px);
  }

  .vehicle-page--pro .rent-card--vehicle .rent-summary__plain-price--solo {
    font-size: 1.65rem;
  }

  .vehicle-page--pro .rent-card--vehicle .rent-card__form-actions .btn--block {
    min-height: 50px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 380px) {
  .vehicle-page--pro .rent-card--vehicle .book-form--rent .field-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .vehicle-page--pro .vehicle-detail__aside .rent-card--vehicle {
    border-radius: calc(var(--radius) + 8px);
  }
}
