body[data-page="vehicle"] {
  --approved-blue: #075eea;
  --approved-navy: #07123f;
  --approved-surface: #f5f8fc;
}

body[data-page="vehicle"] .app-shell { display: block; width: 100%; max-width: none; }
body[data-page="vehicle"] .app-sidebar { display: none; }
body[data-page="vehicle"] .app-content { width: 100%; min-width: 0; }
body[data-page="vehicle"] .page-hero { padding: 10px 0 18px; }
body[data-page="vehicle"] #vehicle-page.container { width: min(calc(100% - 40px), 1200px); max-width: none; }
body[data-page="vehicle"] .breadcrumb { margin: 0 0 10px; padding: 0 8px; }
body[data-page="vehicle"] .vehicle-detail { margin-top: 0; }
body[data-page="vehicle"] .detail-sticky-bar {
  position: fixed;
  top: 72px;
  left: 50%;
  width: min(calc(100% - 40px), 1160px);
  margin: 0;
  transform: translate(-50%,-6px);
}
body[data-page="vehicle"] .detail-sticky-bar.show { transform: translate(-50%,0); }
body[data-page="vehicle"] .feedback-fab { display: none; }

.vehicle-header-links { display: flex; align-items: center; gap: 17px; margin-right: auto; }
.vehicle-header-links a { font-size: .9rem; }
.vehicle-header-search { position: relative; width: min(22vw, 300px); }
.vehicle-header-search input { width: 100%; height: 42px; padding: 0 45px 0 16px; border: 1px solid #d6e3f5; border-radius: 11px; background: #f8fbff; color: var(--text); font: inherit; font-size: .8rem; }
.vehicle-header-search button { position: absolute; inset: 0 4px 0 auto; width: 40px; border: 0; background: transparent; color: var(--blue); display: grid; place-items: center; }
.vehicle-header-search svg,.vehicle-header-icon svg,.vehicle-header-menu svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vehicle-header-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--blue); border-radius: 10px; }
.vehicle-header-mobile-search { display: none; }
.vehicle-header-menu { position: relative; }
.vehicle-header-menu summary { width: 42px; height: 42px; display: grid; place-items: center; color: var(--blue); cursor: pointer; list-style: none; border-radius: 10px; }
.vehicle-header-menu summary::-webkit-details-marker { display: none; }
.vehicle-header-menu nav { position: absolute; z-index: 50; top: 48px; right: 0; min-width: 180px; padding: 8px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 16px 40px rgba(15,35,65,.18); display: grid; }
.vehicle-header-menu nav a { padding: 10px 12px; border-radius: 8px; font-size: .82rem; font-weight: 650; }
.vehicle-header-menu nav a:hover { background: var(--blue-soft); }

body[data-page="vehicle"] .vehicle-detail {
  position: relative;
  isolation: isolate;
  min-height: 400px;
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(310px, .72fr);
  gap: 34px;
  align-items: center;
  overflow: hidden;
  padding: 18px 34px;
  border: 0;
  border-radius: 26px;
  background: #ecebea url("../images/vehicle-white-studio-background.webp?v=20261013-white-studio-1") center / 100% 100% no-repeat;
  box-shadow: 0 14px 38px rgba(29,48,72,.14);
}

body[data-page="vehicle"] .detail-image {
  min-width: 0;
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

body[data-page="vehicle"] .detail-vehicle-stage,
body[data-page="vehicle"] .detail-image img { height: 360px; }
body[data-page="vehicle"] .detail-vehicle-stage { width: 100%; }
body[data-page="vehicle"] .detail-vehicle-stage::after { bottom: 5%; opacity: .48; }

body[data-page="vehicle"] .detail-title {
  align-self: center;
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 19px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 44px rgba(15,31,54,.2);
  backdrop-filter: blur(12px);
}

.detail-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.detail-card-actions { display: flex; align-items: center; gap: 8px; }
body[data-page="vehicle"] .detail-card-head .eyebrow { padding: 6px 10px; border: 0; background: #eff5ff; color: var(--approved-blue); font-size: .73rem; }
body[data-page="vehicle"] .detail-title h1 { margin: 12px 0 9px; color: var(--approved-navy); font-size: clamp(2rem,3.2vw,3rem); line-height: .98; letter-spacing: -.05em; }
body[data-page="vehicle"] .pill-row { margin: 0 0 17px; }
body[data-page="vehicle"] .pill { background: #f3f6fb; color: #273652; }
.detail-pill { display: inline-flex; align-items: center; gap: 5px; }
.detail-pill img { width: 18px; height: 18px; object-fit: contain; opacity: .92; }
.detail-pill .detail-pill-body-icon { width: 31px; height: 20px; filter: saturate(.55) contrast(.98); }
.detail-pill-icon-only { min-width: 50px; justify-content: center; padding-inline: 9px; }
.detail-pill-icon-only .detail-pill-body-icon { width: 38px; height: 22px; }
body[data-page="vehicle"] .favorite-detail-media { position: static; width: 39px; height: 39px; min-height: 39px; flex: 0 0 39px; display: grid; place-items: center; padding: 0; border-color: #cfe0fa; border-radius: 10px; box-shadow: none; background: #fff; }
body[data-page="vehicle"] .favorite-detail-media svg { width: 19px; height: 19px; }
.detail-compare-mobile { display: inline-flex; min-height: 39px; padding: 8px 12px; border-radius: 10px; }
body[data-page="vehicle"] .price-block { margin: 0; padding: 16px 0 14px; border-top: 1px solid #dbe3ee; border-bottom: 1px solid #dbe3ee; }
body[data-page="vehicle"] .price-block small { display: block; color: #30415d; font-size: .88rem; }
body[data-page="vehicle"] .price-block strong { margin-top: 2px; color: var(--approved-navy); font-size: clamp(1.8rem,3vw,2.35rem); line-height: 1; }
body[data-page="vehicle"] .price-block span { display: block; margin-top: 5px; }
body[data-page="vehicle"] .detail-references { margin-top: 12px; padding-top: 0; border-top: 0; }
body[data-page="vehicle"] .source-list { display: grid; gap: 8px; }
body[data-page="vehicle"] .source-link { min-height: 40px; justify-content: space-between; padding: 9px 12px; border-color: #bed8fb; border-radius: 9px; }
body[data-page="vehicle"] .source-link-official { border-color: #afe4d3; }
.detail-technical-sheets { position: relative; }
.detail-technical-sheets summary { min-height: 40px; padding: 9px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #afe4d3; border-radius: 9px; background: #effcf7; color: #08795a; cursor: pointer; list-style: none; font-size: .75rem; font-weight: 750; }
.detail-technical-sheets summary::-webkit-details-marker { display: none; }
.detail-technical-sheets summary span { min-width: 23px; height: 23px; display: grid; place-items: center; border-radius: 999px; background: #d9f6eb; }
.detail-technical-sheets > div { position: absolute; z-index: 20; top: calc(100% + 6px); right: 0; width: 100%; max-height: 190px; overflow: auto; padding: 6px; display: grid; gap: 4px; border: 1px solid #bfe8da; border-radius: 10px; background: #fff; box-shadow: 0 14px 30px rgba(15,49,39,.16); }
.detail-technical-sheets a { padding: 9px 10px; border-radius: 7px; color: #08795a; font-size: .72rem; font-weight: 650; line-height: 1.25; }
.detail-technical-sheets a:hover { background: #effcf7; }

body[data-page="vehicle"] .used-market-analysis-panel { margin: 12px 0 14px; border-color: #91bff7; background: #f2f8ff; box-shadow: 0 10px 28px rgba(7,94,234,.10); }
body[data-page="vehicle"] .used-market-analysis-panel > summary { background: linear-gradient(135deg,#e8f3ff,#f7fbff); }
body[data-page="vehicle"] .used-market-analysis-panel[open] > summary { background: #edf6ff; border-bottom-color: #bcd8f9; }
body[data-page="vehicle"] .used-market-analysis-icon { background: #dbeaff; color: var(--approved-blue); }
body[data-page="vehicle"] .used-market-analysis-heading strong { color: var(--approved-navy); }
.vehicle-dimensions {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  margin: 12px 0 14px;
  padding: 13px 18px 23px;
  border: 1px solid #e2eaf4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(32,61,94,.06);
}
.dimension-item { min-width: 0; display: grid; grid-template-columns: minmax(105px,1fr) auto; align-items: center; gap: 12px; padding: 0 18px; }
.dimension-item:first-child { padding-left: 0; }
.dimension-item + .dimension-item { border-left: 1px solid #e2e8f0; }
.dimension-art { min-width: 0; height: 102px; display: grid; place-items: center; overflow: hidden; }
.dimension-art img { width: 100%; height: 100%; max-height: 102px; object-fit: contain; filter: saturate(.72) contrast(.98); }
.dimension-item:not(.dimension-side) .dimension-art img { width: auto; max-width: 188px; }
.dimension-side .dimension-art img { width: 118%; max-width: 345px; transform: scale(1.16); }
.dimension-values { display: grid; gap: 8px; color: #3e4a5c; font-size: .9rem; line-height: 1.15; white-space: nowrap; }
.dimension-values span { display: grid; gap: 1px; }
.dimension-values strong { color: var(--approved-navy); font-size: 1.1rem; line-height: 1.12; }
.dimension-note { position: absolute; right: 15px; bottom: 6px; color: #7a8798; font-size: .58rem; }
body[data-page="vehicle"] .stats-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 0;
  margin: 12px 0 14px;
  padding: 14px 18px;
  border: 1px solid #e2eaf4;
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 8px 25px rgba(32,61,94,.06);
}
body[data-page="vehicle"] .stat-card { min-height: 78px; display: grid; grid-template-columns: 50px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-content: center; padding: 5px 16px; border: 0; border-right: 1px solid #dce5f0; border-radius: 0; box-shadow: none; background: transparent; }
body[data-page="vehicle"] .stat-card:last-child { border-right: 0; }
body[data-page="vehicle"] .stat-card:hover { transform: none; box-shadow: none; }
body[data-page="vehicle"] .stat-icon { grid-row: 1 / 3; align-self: center; width: 46px; height: 46px; margin: 0; }
body[data-page="vehicle"] .stat-card small { align-self: end; font-size: .82rem; }
body[data-page="vehicle"] .stat-card strong { align-self: start; margin: 2px 0 0; font-size: 1.02rem; line-height: 1.18; }
body[data-page="vehicle"] .stat-card-bateria { --stat-color:#0766ef;--stat-soft:#e9f2ff; }

body[data-page="vehicle"] .info-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; align-items: stretch; }
body[data-page="vehicle"] .info-card { border-color: #e1e9f3; border-radius: 18px; padding: 18px; box-shadow: 0 7px 22px rgba(32,61,94,.055); }
.info-card-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
body[data-page="vehicle"] .info-card-heading h2 { margin: 0; color: var(--approved-navy); }
.info-card-icon { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 9px; background: #e8f7f0; color: #08a56d; font-size: 1rem; font-weight: 900; }
.info-card-considerations .info-card-icon { background: #fff0e1; color: #ff7800; }
.info-card-audience { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.info-card-audience .info-card-icon { background: #eaf1ff; color: #075eea; }
.audience-choice { min-width: 0; }
.audience-choice + .audience-choice { padding-left: 18px; border-left: 1px solid #e0e7f0; }
.audience-choice:only-child { grid-column: 1 / -1; }
.audience-choice-not-ideal .info-card-icon { background: #fff0e1; color: #e66b00; }
body[data-page="vehicle"] .detail-versions-panel { padding: 0; overflow: hidden; }
.versions-static-head { min-height: 76px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.versions-static-head h2 { margin: 0 0 3px; color: var(--approved-navy); }
.versions-static-head p { margin: 0; color: var(--muted); font-size: .78rem; }
.versions-static-head > span { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background: #eff5ff; color: var(--approved-blue); font-size: .72rem; font-weight: 750; }
.detail-versions-body { margin: 0 18px 18px; padding-top: 2px; border-top: 1px solid #e2e9f2; }
body[data-page="vehicle"] .reviews-section { padding: 0; overflow: hidden; }
.reviews-collapsed-head { min-height: 76px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; }
.reviews-collapsed-head::-webkit-details-marker { display: none; }
.reviews-collapsed-head h2 { margin: 0 0 3px; color: var(--approved-navy); }
.reviews-collapsed-head p { margin: 0; color: var(--muted); font-size: .78rem; }
.reviews-collapsed-head > span { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background: #eff5ff; color: var(--approved-blue); font-size: .72rem; font-weight: 750; }
.reviews-panel-body { padding: 0 18px 18px; border-top: 1px solid #e2e9f2; }
body[data-page="vehicle"] .reviews-section:not([open]) .reviews-panel-body { display: none; }
.reviews-panel-body h3 { color: var(--approved-navy); }
.grouped-editorial-analysis,.grouped-community-reviews { padding-top: 16px; }
.grouped-community-reviews { margin-top: 16px; border-top: 1px solid #e2e9f2; }

@media (max-width: 1100px) {
  .vehicle-header-links { gap: 16px; }
  .vehicle-header-search { width: min(27vw,310px); }
  body[data-page="vehicle"] .vehicle-detail { grid-template-columns: minmax(0,1.4fr) minmax(300px,.8fr); padding: 24px; }
  body[data-page="vehicle"] .detail-vehicle-stage,body[data-page="vehicle"] .detail-image img { height: 350px; }
  body[data-page="vehicle"] .detail-image { min-height: 350px; }
  body[data-page="vehicle"] .stats-grid { grid-template-columns: repeat(4,1fr); gap: 10px 0; }
  body[data-page="vehicle"] .info-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 1366px) and (min-width: 821px) {
  .vehicle-header-links { gap: 11px; }
  .vehicle-header-links a { font-size: .85rem; }
  .vehicle-header-search { display: none; }
  .vehicle-header-mobile-search { display: grid; }
}

@media (max-width: 820px) {
  body[data-page="vehicle"] #vehicle-page.container { width: min(calc(100% - 24px),720px); }
  .vehicle-header-links,.vehicle-header-search { display: none; }
  .vehicle-header-mobile-search { display: grid; }
  .vehicle-header-menu { display: none; }
  body[data-page="vehicle"] .navbar { gap: 4px; }
  body[data-page="vehicle"] .detail-sticky-bar { top: 64px; width: calc(100% - 20px); }
  body[data-page="vehicle"] .nav-actions { gap: 2px; }
  body[data-page="vehicle"] .mobile-tabbar { display: grid; }
  body[data-page="vehicle"] .vehicle-detail { display: block; min-height: 0; padding: 0; border-radius: 21px; background: #fff; }
  body[data-page="vehicle"] .detail-image { min-height: 330px; padding: 0 10px; overflow: hidden; background: #ecebea url("../images/vehicle-white-studio-background.webp?v=20261013-white-studio-1") center / 100% 100% no-repeat; }
  body[data-page="vehicle"] .detail-vehicle-stage,body[data-page="vehicle"] .detail-image img { height: 330px; }
  body[data-page="vehicle"] .detail-title { margin: 0; padding: 18px; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; }
  body[data-page="vehicle"] .detail-title h1 { margin-top: 14px; font-size: 2.45rem; }
  .vehicle-dimensions { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 12px 12px 22px; }
  .dimension-side { grid-column: 1 / -1; border-bottom: 1px solid #e2e8f0; }
  .dimension-item { padding: 8px 12px; }
  .dimension-item:first-child { padding: 0 12px 10px; }
  .dimension-item:nth-child(3) { border-left: 1px solid #e2e8f0; }
  .dimension-item:nth-child(2) { border-left: 0; }
  body[data-page="vehicle"] .stats-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; padding: 10px; overflow: hidden; }
  body[data-page="vehicle"] .stat-card { min-height: 112px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 10px; border: 0; border-radius: 13px; background: #fff; box-shadow: 0 4px 14px rgba(27,53,84,.05); }
  body[data-page="vehicle"] .stat-icon { width: 44px; height: 44px; margin-bottom: 8px; }
  body[data-page="vehicle"] .stat-card small { font-size: .7rem; }
  body[data-page="vehicle"] .stat-card strong { font-size: .84rem; }
  body[data-page="vehicle"] .info-grid { grid-template-columns: 1fr; }
  .detail-technical-sheets > div { position: static; margin-top: 6px; box-shadow: none; }
}

@media (max-width: 480px) {
  html,body[data-page="vehicle"] { max-width: 100%; overflow-x: hidden; }
  body[data-page="vehicle"] .app-shell.container { width: 100%; margin-inline: 0; }
  body[data-page="vehicle"] #vehicle-page.container { width: calc(100vw - 20px); max-width: calc(100vw - 20px); }
  body[data-page="vehicle"] .breadcrumb { font-size: .72rem; }
  body[data-page="vehicle"] .detail-image { min-height: 238px; }
  body[data-page="vehicle"] .detail-vehicle-stage,body[data-page="vehicle"] .detail-image img { height: 238px; }
  body[data-page="vehicle"] .detail-title { padding: 16px 14px; }
  body[data-page="vehicle"] .vehicle-detail,body[data-page="vehicle"] .detail-title { width: 100%; max-width: 100%; }
  body[data-page="vehicle"] .detail-card-head { min-width: 0; gap: 8px; }
  body[data-page="vehicle"] .detail-card-actions { min-width: 0; gap: 6px; }
  body[data-page="vehicle"] .detail-title h1 { font-size: 2rem; }
  body[data-page="vehicle"] .price-block { padding: 12px 0 11px; }
  body[data-page="vehicle"] .source-list { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 7px; }
  body[data-page="vehicle"] .source-link,.detail-technical-sheets summary { min-height: 42px; padding: 8px 9px; font-size: .67rem; line-height: 1.2; }
  .detail-technical-sheets > div { grid-column: 1 / -1; }
  body[data-page="vehicle"] .favorite-detail-media { width: 38px; height: 38px; padding: 0; }
  .detail-compare-mobile { width: auto; max-width: 78px; min-width: 0; padding: 8px; font-size: .7rem; }
  .dimension-item { grid-template-columns: minmax(0,1fr); gap: 7px; text-align: center; }
  .dimension-side { grid-template-columns: minmax(0,1fr); gap: 5px; text-align: center; }
  .dimension-art { height: 86px; }
  .dimension-item:not(.dimension-side) .dimension-art img { width: auto; max-width: 132px; }
  .dimension-side .dimension-art { height: 94px; }
  .dimension-side .dimension-art img { width: 100%; max-width: 260px; transform: none; }
  .dimension-side .dimension-values { width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .dimension-side .dimension-values span { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
  .dimension-values { font-size: .7rem; }
  .dimension-values strong { font-size: .86rem; white-space: normal; }
  body[data-page="vehicle"] .stats-grid { gap: 6px; padding: 8px; }
  body[data-page="vehicle"] .stat-card { min-height: 105px; padding: 8px; }
  body[data-page="vehicle"] .stat-card strong { font-size: .78rem; overflow-wrap: anywhere; }
  .info-card-audience { gap: 10px; }
  .audience-choice + .audience-choice { padding-left: 10px; }
  .info-card-audience .info-card-heading { align-items: flex-start; gap: 6px; }
  .info-card-audience .info-card-icon { width: 25px; height: 25px; flex-basis: 25px; }
}
