.product-page { --product-header: var(--desktop-header-height); --product-anchor: calc(var(--product-header) + 46px); }
.product-page section[id] { scroll-margin-top: var(--product-anchor); outline: 0; }
.product-hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: max(260px, 35vw); color: white; background: #434b49; }
.product-hero picture, .product-hero picture img, .product-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.product-hero picture { z-index: -2; }
.product-hero picture img { object-fit: cover; object-position: center 43%; }
.product-page[data-model="land-cruiser"] .product-hero picture img { object-position: center 68%; }
.product-hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, rgb(10 17 17 / 73%), rgb(12 18 17 / 15%) 39%, transparent 65%), linear-gradient(0deg, rgb(10 15 14 / 34%), transparent 52%); }
.product-hero-copy { padding-block: 32px; }
.product-back { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; }
.product-back svg { order: -1; width: 15px; height: 15px; }
.product-back:hover { text-decoration: underline; }
.product-hero h1 { margin-top: 13px; font-size: clamp(35px, 4.2vw, 64px); font-weight: 500; line-height: 1.05; text-transform: uppercase; letter-spacing: 0; }
.product-hero-copy > p { margin-top: 6px; max-width: min(48%, 540px); font-weight: 500; }
.product-hero-actions { margin-top: 14px; }
.product-hero-actions .button { min-height: 39px; padding: 9px 16px; font-weight: 600; }
.product-hero-actions .button-secondary { color: var(--ink); border-color: white; }
.product-nav { position: sticky; z-index: 5; top: var(--product-header); background: #fff; border-bottom: 1px solid var(--line); }
.product-nav > div, .version-tabs { display: flex; align-items: stretch; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.product-nav > div { gap: clamp(15px, 2vw, 32px); }
.product-nav a, .version-tabs a { display: flex; align-items: center; flex: none; min-height: 46px; padding-block: 7px; border-bottom: 3px solid transparent; white-space: nowrap; font-size: .88rem; font-weight: 500; }
.product-nav a[aria-current], .version-tabs a[aria-current] { color: var(--red); border-bottom-color: var(--red); }
.product-nav a:hover, .version-tabs a:hover { color: var(--red); }
.product-nav a:focus-visible, .version-tabs a:focus-visible { outline-offset: -4px; }
.product-section { padding-block: clamp(36px, 4.8vw, 70px); }
.product-muted { background: var(--surface); }
.product-title { margin: 0 auto clamp(18px, 2.4vw, 33px); text-align: center; font-size: clamp(24px, 2.5vw, 36px); letter-spacing: 0; font-weight: 500; line-height: 1.18; text-transform: uppercase; }
.version-shelf {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 370px);
  justify-content: center; column-gap: clamp(16px, 3.5vw, 60px);
}
.version-card { display: grid; grid-row: 1 / span 5; grid-template-rows: subgrid; min-width: 0; text-align: center; }
.version-link { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
.version-link h3 { justify-self: center; align-self: center; }
.version-card > .paint-swatches { align-content: start; }
.version-car { position: relative; height: clamp(94px, 10.8vw, 163px); }
.version-car img { position: absolute; inset: 0; margin: auto; width: 90%; height: 100%; object-fit: contain; }
.version-link h3 { display: inline-flex; align-items: center; justify-content: center; gap: 4px; margin-top: 9px; font-size: clamp(.98rem, 1.45vw, 1.32rem); font-weight: 500; letter-spacing: 0; text-transform: uppercase; }
.version-link h3 svg { width: 14px; height: 14px; color: var(--red); }
.version-link:hover h3 { color: var(--red); }
.version-link p, .paint-name { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.version-link p { margin-top: 5px; font-variant-numeric: tabular-nums; }
.paint-swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 3px; margin: 4px 0 0; }
.paint-dot { display: grid; place-items: center; width: 34px; min-height: 36px; padding: 5px; border: 0; background: transparent; border-radius: 50%; }
.paint-dot span { display: block; width: 23px; height: 23px; border: 1px solid rgb(0 0 0 / 22%); border-radius: 50%; }
.paint-dot[aria-pressed=true] span { outline: 2px solid var(--ink); outline-offset: 2px; }
.paint-dot:hover span { outline: 1px solid var(--muted); outline-offset: 2px; }
.product-versions .paint-name { font-size: .81rem; }
.version-tabs { margin-bottom: clamp(18px, 2.8vw, 40px); border-bottom: 1px solid #c8c8c8; justify-content: safe center; gap: min(4vw, 52px); }
.version-tabs a { padding-inline: 4px; text-transform: uppercase; }
.product-page .mobile-version { display: none; }
.overview-layout { display: grid; grid-template-columns: minmax(0, 1.27fr) minmax(0, 1fr); gap: clamp(24px, 4.5vw, 78px); align-items: center; }
.view-modes, .gallery-types { display: flex; gap: 5px; justify-content: center; }
.view-modes button, .gallery-types button { display: inline-flex; align-items: center; justify-content: center; padding: 7px 17px; min-height: 36px; border: 1px solid #b7b7b7; background: white; font-weight: 500; font-size: .88rem; }
.view-modes button[aria-pressed=true], .gallery-types button[aria-pressed=true] { background: #252525; color: white; border-color: #252525; }
.overview-image { position: relative; height: clamp(215px, 24vw, 344px); margin-block: 7px; }
.overview-image img { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; object-fit: contain; }
.overview-image.cabin img { max-width: 96%; }
.overview-paint { text-align: center; }
.overview-info h3 { font-size: clamp(23px, 2.2vw, 34px); font-weight: 500; text-transform: uppercase; letter-spacing: 0; }
.grade-price { display: grid; gap: 2px; margin-block: 11px 15px; font-size: .84rem; color: var(--muted); }
.grade-price strong { color: var(--ink); font-size: clamp(22px, 2.1vw, 32px); font-weight: 500; line-height: 1.2; }
.grade-price small { font-size: .57em; font-weight: 400; }
.overview-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; margin-bottom: 22px; }
.overview-specs div { padding-block: 9px; border-bottom: 1px solid var(--line); }
.overview-specs dt { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .81rem; }
.overview-specs dt img { width: 15px; height: 15px; }
.overview-specs dd { margin-top: 3px; font-weight: 500; font-size: 1rem; }
.product-reading { max-width: 1060px; }
.product-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(18px, 2.2vw, 28px); }
.product-heading .product-title { margin: 0; text-align: left; }
.product-heading p { margin-top: 5px; color: var(--muted); }
.technical-group { border-top: 1px solid var(--line); }
.technical-group:last-of-type { border-bottom: 1px solid var(--line); }
.technical-group summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 5px; font-weight: 600; font-size: clamp(1.01rem, 1.4vw, 1.18rem); list-style: none; }
.technical-group summary::-webkit-details-marker { display: none; }
.technical-group[open] > summary svg { color: var(--red); transform: rotate(180deg); }
.technical-rows { padding-bottom: 10px; }
.technical-rows > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; padding: 10px 16px; font-size: .94rem; line-height: 1.4; overflow-wrap: anywhere; }
.technical-rows > div:nth-child(odd) { background: #f4f4f4; }
.technical-rows dd { font-weight: 500; }
.spec-source { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 24px; margin-top: 22px; }
.gallery-types { margin: -4px 0 20px; }
.gallery-grid, .product-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(13px, 2vw, 28px); }
.gallery-photo { display: block; position: relative; padding: 0; border: 0; width: 100%; text-align: left; background: #dedede; color: white; }
.gallery-photo img { aspect-ratio: 1.78; object-fit: cover; }
.gallery-photo > span { position: absolute; inset: auto 0 0; min-height: 34%; display: flex; align-items: end; justify-content: space-between; gap: 10px; padding: 18px; background: linear-gradient(0deg, rgb(0 0 0 / 78%), transparent); font-weight: 600; line-height: 1.25; }
.gallery-photo b { font-size: 1.25rem; line-height: 1; }
.gallery-note { margin-top: 12px; text-align: center; color: var(--muted); font-size: .83rem; }
.product-features img { aspect-ratio: 1.85; object-fit: cover; }
.feature-story h3 { margin-top: 14px; font-weight: 600; font-size: clamp(1.05rem, 1.55vw, 1.38rem); }
.feature-story p { margin-top: 6px; color: var(--muted); }
.feature-story .accessory-price { color: var(--ink); font-weight: 600; }
.feature-story small { display: block; color: var(--muted); margin-top: 5px; }
.feature-story:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(14px, 3vw, 50px); }
#mua-xe { border-top: 1px solid var(--line); }
#mua-xe .buying-link .tmv-shortcut { transform: scale(1.55); margin-block: 17px; }
.photo-dialog { padding: 12px; border: 0; width: min(100% - 24px, 1040px); max-height: 94dvh; background: #fff; color: var(--ink); }
.photo-dialog::backdrop { background: rgb(0 0 0 / 78%); }
.photo-dialog-bar, .photo-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.photo-dialog-bar { padding-bottom: 8px; }
.photo-dialog-bar p { font-weight: 600; }
.photo-dialog > img { object-fit: contain; height: min(65dvh, 660px); background: #f1f1f1; }
.photo-controls { justify-content: center; padding-top: 8px; }

@media (max-width: 895px) {
  .product-page { --product-header: calc(64px + var(--header-border-width)); }
  .overview-layout { gap: 22px; }
}
@media (max-width: 700px) {
  .product-page { --product-header: calc(58px + var(--header-border-width)); --product-anchor: calc(var(--product-header) + 40px); }
  .product-hero { display: block; min-height: 0; color: var(--ink); background: var(--surface); }
  .product-hero picture, .product-hero picture img { display: block; position: static; width: 100%; height: auto; }
  .product-hero picture img { aspect-ratio: auto 720 / 373; }
  .product-hero::after { content: none; }
  .product-hero-copy { padding-block: 16px 20px; }
  .product-hero-actions .button-secondary { border-color: #626262; }
  .product-hero h1 { margin-top: 6px; font-size: clamp(29px, 7.8vw, 41px); }
  .product-hero-copy > p { margin-top: 2px; max-width: 100%; font-size: .84rem; }
  .product-hero-actions { margin-top: 9px; gap: 7px; }
  .product-hero-actions .button { min-height: 35px; padding: 6px 10px; font-size: .78rem; }
  .product-back { font-size: .77rem; }
  .product-nav > div { gap: 17px; }
  .product-nav a { min-height: 40px; }
  .product-section { padding-block: 30px; }
  .version-shelf { grid-auto-columns: clamp(172px, 58vw, 260px); justify-content: safe center; overflow-x: auto; column-gap: 12px; padding: 3px 2px 10px; scroll-snap-type: x proximity; }
  .version-card { scroll-snap-align: start; }
  .version-car { height: 105px; }
  .version-link h3 { font-size: .98rem; }
  .version-link p { font-size: .85rem; }
  .version-tabs { display: none; }
  .product-page .mobile-version { display: grid; margin-bottom: 20px; }
  .overview-layout { grid-template-columns: 1fr; }
  .overview-image { height: clamp(180px, 51vw, 280px); }
  .overview-specs { margin-bottom: 17px; }
  .overview-info .actions .button { padding-inline: 13px; }
  .technical-rows > div { padding: 9px 10px; gap: 9px; font-size: .87rem; }
  .product-heading { flex-wrap: wrap; gap: 10px; }
  .product-heading .button { min-height: 38px; padding: 7px 10px; font-size: .79rem; }
  .gallery-grid { gap: 9px; }
  .gallery-photo img { aspect-ratio: 1.25; }
  .gallery-photo > span { padding: 10px; font-size: .78rem; }
  .product-features, .feature-story:only-child { grid-template-columns: 1fr; gap: 16px; }
  .feature-story:only-child { display: block; }
  .feature-story h3 { margin-top: 9px; }
  #mua-xe .buying-link .tmv-shortcut { transform: scale(1.15); margin-block: 10px; }
}
