/* Shared content refinements for model pages and the bilingual editorial area. */
body.seo-static-body .seo-static-main,
body.blog-body .blog-wrap { min-width: 0; }

body.seo-static-body .seo-breadcrumb,
body.blog-body .blog-breadcrumb { line-height: 1.65; overflow-wrap: anywhere; }

body.seo-static-body .seo-product-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 26px;
  border-color: var(--line);
  background: var(--surface);
}
body.seo-static-body .seo-product-media {
  position: relative;
  order: 0;
  min-height: 390px;
  aspect-ratio: auto;
  padding: 28px 24px 56px;
  background: radial-gradient(ellipse at 50% 44%, #fff 0, #edf1f5 78%);
}
body.seo-static-body .seo-product-media::after { display: none; }
body.seo-static-body .seo-product-media > img {
  width: 100%; height: 100%; max-height: 460px;
  object-fit: contain; object-position: center;
  filter: none;
}
body.seo-static-body .seo-product-copy {
  position: relative;
  order: 1;
  min-width: 0;
  padding: clamp(24px, 3.5vw, 46px);
  background: #111c2c;
  color: #fff;
}
body.seo-static-body .seo-product-copy::before {
  content: ""; position: absolute; inset: 0 auto auto 0;
  width: 76px; height: 4px; background: #ed3853;
}
[dir="rtl"] body.seo-static-body .seo-product-copy::before { inset-inline-start: 0; }
body.seo-static-body .seo-product-copy .eyebrow { color: #ff91a1; }
body.seo-static-body .seo-product-copy h1 {
  color: #fff; font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.17; letter-spacing: -.035em; overflow-wrap: anywhere;
}
[dir="rtl"] body.seo-static-body .seo-product-copy h1 { letter-spacing: 0; line-height: 1.45; }
body.seo-static-body .seo-product-copy .seo-product-lead { color: #c0cad9; font-size: .97rem; line-height: 1.8; }
body.seo-static-body .seo-product-copy .seo-product-price { margin-block: 22px; background: #ffffff08; border-color: #ffffff1a; }
body.seo-static-body .seo-product-copy .seo-product-price strong { color: #fff; }
body.seo-static-body .seo-product-copy .seo-product-price span { color: #bec9d8; text-transform: none; }
body.seo-static-body .seo-product-copy .seo-public-price { border-color: #ffffff26; background: #ffffff0b; color: #fff; }
body.seo-static-body .seo-product-copy .seo-public-price :is(span, small) { color: #c5cfdd; }
body.seo-static-body .seo-product-copy .seo-public-price strong { color: #fff; }
body.seo-static-body .seo-product-actions { gap: 9px; }
body.seo-static-body .seo-product-actions .btn { min-height: 46px; line-height: 1.45; white-space: normal; text-align: center; }
body.seo-static-body .seo-product-copy .btn.ghost { color: #fff; border-color: #ffffff45; background: #ffffff09; }

body.seo-static-body .seo-collection-hero.has-collection-image {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
  gap: 24px; align-items: center; padding: clamp(22px, 3vw, 40px);
  border-radius: 26px; overflow: hidden; background: #111c2c; color: #fff;
}
body.seo-static-body .has-collection-image .collection-hero-copy { position: relative; z-index: 1; min-width: 0; }
body.seo-static-body .has-collection-image .eyebrow { color: #ff91a1; }
body.seo-static-body .has-collection-image h1 { color: #fff; font-size: clamp(1.85rem, 3.9vw, 3.6rem); line-height: 1.18; }
body.seo-static-body .has-collection-image p { color: #c5cfdd; max-width: 56ch; }
body.seo-static-body .collection-hero-picture {
  position: relative; min-width: 0; margin: 0; aspect-ratio: 16 / 10;
  display: grid; place-items: center; padding: 15px;
  border: 1px solid #ffffff1f; border-radius: 22px;
  background: radial-gradient(ellipse at 50% 35%, #fff, #e5ebf2);
}
body.seo-static-body .collection-hero-picture img { width: 100%; height: 100%; object-fit: contain; }

.vehicle-page-nav {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 16px 0 0; margin-block: 0 6px;
}
.vehicle-page-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 9px 15px; border: 1px solid var(--line, #dfe4ea);
  border-radius: 100px; background: var(--surface, #fff);
  color: var(--ink-soft, #344054); font-size: .84rem;
  font-weight: 700; text-decoration: none;
}
.vehicle-page-nav a:hover { color: var(--red, #d91f32); border-color: currentColor; }
body.seo-static-body .seo-detail-section,
body.seo-static-body .seo-gallery-section { scroll-margin-top: 100px; }
body.seo-static-body .seo-detail-section { padding: clamp(20px, 3vw, 32px); margin-top: 22px; }
body.seo-static-body .seo-detail-section h2,
body.seo-static-body .seo-gallery-heading h2 { font-size: clamp(1.35rem, 2.35vw, 2rem); line-height: 1.35; }
body.seo-static-body .seo-summary-card { padding: 21px; background: var(--surface-2); }
body.seo-static-body .seo-summary-card > span { color: var(--red); font-size: .8rem; }
body.seo-static-body .seo-spec-grid { gap: 0 22px; }
body.seo-static-body .seo-spec-grid > div {
  min-width: 0; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; background: none;
}
body.seo-static-body .seo-spec-grid dt { margin-bottom: 6px; font-size: .82rem; line-height: 1.6; }
body.seo-static-body .seo-spec-grid dd { font-size: .97rem; line-height: 1.6; }
body.seo-static-body .seo-list-grid { gap: 18px; }
body.seo-static-body .seo-list-card { border-radius: 20px; text-decoration: none; }
body.seo-static-body .seo-list-media { aspect-ratio: 16 / 10; padding: 12px; background: #edf1f5; }
body.seo-static-body .seo-list-media img { width: 100%; height: 100%; object-fit: contain; }
body.seo-static-body .seo-list-copy { flex: 1; padding: 18px; gap: 9px; }
body.seo-static-body .seo-list-copy strong { font-size: 1rem; line-height: 1.5; }
body.seo-static-body .seo-list-copy small { font-size: .85rem; line-height: 1.5; }
body.seo-static-body .seo-list-copy b { color: var(--red); font-size: 1.08rem; margin-top: auto; }

/* Photographs keep their complete frame; credits have their own readable row. */
body.seo-static-body .seo-content-gallery,
.official-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
body.seo-static-body .seo-content-gallery-item,
body.seo-static-body .seo-content-gallery-item--lead,
.official-photo-grid figure {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  margin: 0; grid-column: auto; border: 1px solid var(--line, #dfe4ea);
  border-radius: 18px; overflow: hidden; background: var(--surface, #fff);
}
body.seo-static-body .seo-content-gallery-item:first-child { grid-column: 1 / -1; }
body.seo-static-body .seo-content-gallery-item img,
body.seo-static-body .seo-content-gallery-item--lead img,
.official-photo-grid img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10;
  object-fit: contain; background: #edf1f5; transform: none;
}
body.seo-static-body .seo-content-gallery-item:first-child img { aspect-ratio: 16 / 9; }
body.seo-static-body .seo-content-gallery-item figcaption,
.official-photo-grid figcaption {
  position: static; flex: 1; padding: 12px 15px; color: var(--muted, #667085);
  background: var(--surface, #fff); font-size: .77rem; line-height: 1.6; overflow-wrap: anywhere;
}
.official-photo-grid figcaption a { color: inherit; text-underline-offset: 3px; }
.official-photo-section { margin-block: 24px; }
.official-photo-section > p { color: var(--muted); line-height: 1.8; }

.media-zoom {
  position: absolute; inset-block-start: 12px; inset-inline-end: 12px; z-index: 4;
  display: grid; place-items: center; width: 44px; height: 44px;
  padding: 0; border: 1px solid #ffffff70; border-radius: 13px;
  background: #101c2dde; color: #fff; cursor: pointer;
  box-shadow: 0 4px 15px #101c2d24;
}
.media-zoom svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.media-zoom:hover { background: #d91f32; }
.media-zoom:focus-visible,
.photo-viewer button:focus-visible { outline: 3px solid #ff8b9c; outline-offset: 3px; }
.photo-viewer {
  position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none;
  max-height: none; margin: 0; padding: 20px;
  border: 0; background: #0b1220; color: #fff;
}
.photo-viewer[open] { display: flex; flex-direction: column; gap: 16px; }
.photo-viewer::backdrop { background: #000c; }
.photo-viewer-top { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 12px; }
.photo-viewer-count { color: #c5cfdd; font: 600 .9rem / 1.5 "Segoe UI", Tahoma, sans-serif; }
.photo-viewer button {
  display: grid; place-items: center; flex: 0 0 auto; min-width: 44px; min-height: 44px;
  padding: 4px 12px; border: 1px solid #ffffff40; border-radius: 12px;
  background: #ffffff12; color: #fff; font: 500 1.6rem / 1 "Segoe UI", sans-serif; cursor: pointer;
}
.photo-viewer button[hidden] { display: none; }
.photo-viewer-stage { display: flex; align-items: center; flex: 1; gap: 16px; min-height: 0; }
.photo-viewer figure { display: flex; flex: 1; flex-direction: column; gap: 14px; min-width: 0; min-height: 0; max-height: 100%; margin: 0; }
.photo-viewer img { display: block; width: 100%; min-height: 0; max-height: calc(100dvh - 185px); object-fit: contain; }
.photo-viewer figcaption { text-align: center; color: #d3dbe8; font: 400 .87rem / 1.6 "Segoe UI", Tahoma, sans-serif; }
.photo-viewer figcaption a { color: #fff; text-underline-offset: 3px; }
body.photo-viewer-open { overflow: hidden; }

body.dark .seo-product-media,
body.dark .collection-hero-picture,
body.dark .seo-list-media,
body.dark .seo-content-gallery-item img,
body.dark .official-photo-grid img { background: #e7ecf1; }

@media (max-width: 1200px) {
  body.seo-static-body .seo-product-hero { grid-template-columns: minmax(0, 1fr); }
  body.seo-static-body .seo-product-media { min-height: 290px; max-height: 430px; }
  body.seo-static-body .seo-product-copy { padding: 28px; }
}
@media (max-width: 760px) {
  body.seo-static-body .seo-collection-hero.has-collection-image { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body.seo-static-body .collection-hero-picture { max-height: 300px; aspect-ratio: 16 / 9; }
  body.seo-static-body .seo-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body.seo-static-body .seo-list-copy { padding: 14px; }
  body.seo-static-body .seo-list-copy strong { font-size: .95rem; }
  body.seo-static-body .seo-list-copy b { font-size: 1rem; }
  body.seo-static-body .seo-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-viewer { padding: 12px; }
  .photo-viewer-stage { gap: 8px; }
  .photo-viewer-stage > button { padding-inline: 7px; min-width: 38px; }
}
@media (max-width: 520px) {
  body.seo-static-body .seo-product-hero { border-radius: 19px; }
  body.seo-static-body .seo-product-media { min-height: 235px; max-height: 310px; padding: 20px 16px 52px; }
  body.seo-static-body .seo-product-copy { padding: 24px 20px; }
  body.seo-static-body .seo-product-copy h1 { font-size: 1.85rem; }
  body.seo-static-body .seo-detail-section { padding: 20px 16px; }
  body.seo-static-body .seo-content-gallery,
  .official-photo-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body.seo-static-body .seo-content-gallery-item:first-child { grid-column: auto; }
  body.seo-static-body .seo-list-grid { grid-template-columns: minmax(0, 1fr); }
  body.seo-static-body .seo-list-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); }
  body.seo-static-body .seo-list-media { height: 100%; min-height: 145px; aspect-ratio: auto; padding: 8px; }
  body.seo-static-body .seo-spec-grid { gap: 0 16px; }
  body.seo-static-body .seo-spec-grid dt { font-size: .8rem; }
  body.seo-static-body .seo-spec-grid dd { font-size: .88rem; }
  .vehicle-page-nav { gap: 6px; }
  .vehicle-page-nav a { padding-inline: 12px; font-size: .8rem; }
  .photo-viewer-stage { position: relative; }
  .photo-viewer-stage > button { position: absolute; bottom: 0; z-index: 2; background: #1d2939; }
  .photo-viewer-prev { inset-inline-start: 0; }
  .photo-viewer-next { inset-inline-end: 0; }
  .photo-viewer figure { padding-bottom: 55px; }
  .photo-viewer img { max-height: calc(100dvh - 245px); }
}
@media (prefers-reduced-motion: reduce) {
  body.seo-static-body .seo-list-card,
  body.seo-static-body .seo-content-gallery-item img { transition: none; }
}
@media print {
  .media-zoom, .photo-viewer, .vehicle-page-nav { display: none !important; }
  body.seo-static-body .seo-product-copy { background: #fff; color: #111; }
  body.seo-static-body .seo-product-copy :is(h1, p, strong, span, small) { color: #111 !important; }
}
