/* Service landing sections */
#services .service-grid > article {
  min-width: 0;
  padding: 0;
  overflow: hidden;
}
#services .service-card-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
#services .service-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(16px, calc(1.65vw / var(--porscha-scale,1)), 28px);
}
#services .service-card-copy h3 { margin-top: 12px; }
#services .service-card-copy p { margin-bottom: 18px; }
#services .service-card-copy .button {
  align-self: stretch;
  margin-top: auto;
  justify-content: center;
  min-height: 44px;
}
#parts .parts-points div { grid-template-columns: clamp(43px, calc(3.5vw / var(--porscha-scale,1)), 60px) minmax(0, 1fr); }
#parts .parts-points span {
  align-self: center;
  font: var(--heading-weight) clamp(24px, calc(1.85vw / var(--porscha-scale,1)), 34px)/1 var(--heading-font);
}
#guide .guide-card { display: block; }
/* Owner, 10.11.2026: only the fields that change the guide. Model | year, then version and transmission
   (full width, shown by articles-guides.js only when needed), then VIN | download. The second column is the
   shared action width, so the download button keeps --action-width; the copy is no wider than the form. */
#guide .guide-copy { max-inline-size: var(--guide-copy-width); }
#guide .guide-copy h2 { text-wrap: initial; }
#guide .guide-copy > p:not(.eyebrow) { text-wrap: pretty; }
#guide .guide-picker {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: clamp(12px, calc(2svh / var(--porscha-scale,1)), 18px) 16px;
  max-inline-size: var(--guide-form-width);
}
#guide .guide-picker label[hidden] { display: none; }
#guide .guide-picker-question { grid-column: 1 / -1; }
/* Owner, 10.11.2026: no VIN row any more; the download button sits alone under the fields. */
#guide .guide-picker-actions { grid-column: 1 / -1; }
#guide .guide-picker label > span { font-weight: 600; }
#guide .guide-picker small { font-size: inherit; font-weight: 400; }
#guide .guide-vin-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  align-items: end;
  gap: 12px 16px;
}
#guide .guide-vin-row input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface, #252525);
  color: var(--ink);
  font: inherit;
}
#guide .guide-vin-row input[aria-invalid="true"] { border-color: var(--red); }
#guide .guide-vin-row .button {
  grid-column: auto;
  width: 100%;
  min-width: 0;
}
#guide [data-guide-download-status] { max-inline-size: 57ch; }
@media /*fhd*/ (min-width: 1101px) and (max-height: 750px) and (max-width: 1279px), (min-width: 1101px) and (max-height: 750px) and (min-width: 1920px), (min-width: 1101px) and (max-height: 750px) and (hover: none), (min-width: 1101px) and (max-height: 750px) and (pointer: coarse) {
  #services .service-card-photo { aspect-ratio: 2.15; }
  #guide .guide-copy { padding-block: 35px; }
}
@media /*fhd*/ (max-width: 1100px) and (max-width: 1279px), (max-width: 1100px) and (hover: none), (max-width: 1100px) and (pointer: coarse) {
  #guide .guide-copy { padding-inline: 0; }
}
@media (max-width: 680px) {
  #guide .guide-copy h2 { font-size: clamp(24px, calc(6.6vw / var(--porscha-scale,1)), 34px); }
  #guide .guide-copy h2 br { display: none; }
  #guide .guide-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #guide .guide-vin-row { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); column-gap: 12px; }
  #guide .guide-vin-row .button { padding-inline: 8px; }
}

@media (max-width: 540px) {
  #guide .guide-vin-row { grid-template-columns: minmax(0, 1fr); }
}

/* The two columns fit the uncropped photo on smaller desktop screens. */
@media /*fhd*/ (1101px <= width <= 1700px) and (max-width: 1279px), (1101px <= width <= 1700px) and (hover: none), (1101px <= width <= 1700px) and (pointer: coarse) {
  #diagnostics .split-copy { --diagnosis-space: clamp(6px, calc(calc(4.75vw / var(--porscha-scale,1)) - 52px), 24px); }
  #diagnostics .split-copy h2 {
    font-size: clamp(30px, calc(2.65vw / var(--porscha-scale,1)), 48px);
    margin-block: calc(var(--diagnosis-space) * .6) var(--diagnosis-space);
  }
  #diagnostics .large-copy { font-size: clamp(16px, calc(1.2vw / var(--porscha-scale,1)), 18px); }
  #diagnostics .line-list {
    gap: calc(var(--diagnosis-space) * .82);
    margin-block: calc(var(--diagnosis-space) * 1.3) calc(var(--diagnosis-space) * 1.65);
    line-height: 1.45;
  }
}
@media /*fhd*/ (1101px <= width <= 1180px) and (max-width: 1279px), (1101px <= width <= 1180px) and (hover: none), (1101px <= width <= 1180px) and (pointer: coarse) {
  #diagnostics .split { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
}
@media /*fhd*/ (max-width: 1100px) and (max-width: 1279px), (max-width: 1100px) and (hover: none), (max-width: 1100px) and (pointer: coarse) {
  #diagnostics .split { grid-template-columns: minmax(0, 1fr); }
}

/* The photographed sign is baked into each ImageGen asset. */
#guide.guide-section {
  background-image: linear-gradient(90deg, #101215 2%, #101215ee 25%, #101215a8 40%, #10121524 56%, transparent 72%), var(--guide-photo);
  background-position: center, right center;
}
html[data-theme="light"] #guide.guide-section {
  background-image: linear-gradient(90deg, #f1f2f3 2%, #f1f2f3f2 25%, #f1f2f3b8 40%, #f1f2f320 57%, transparent 72%), var(--guide-photo);
}
/* Owner, 10.11.2026: the 911 stays whole and to the right of the form — its nose never sits under the fields
   or the button. Instead of cover, the photo height and place follow the form edge. In the 3:1 photo the car
   spans 46.7–83.6% of the width (centre 65.15%, width 1.105 x photo height). The car centre goes to 67% of
   the width when there is room, otherwise just right of the form; the photo shrinks only when the car would
   not fit, then it sits on the floor line and its top fades into the section colour. Lengths are layout
   pixels: vw is divided by the zoom that responsive.css applies above 1920 x 900. */
@media /*fhd*/ (min-width: 1101px), (hover: hover) and (pointer: fine) and (min-width: 1280px) and (max-width: 1919px) {
  html[data-theme] #guide.guide-section {
    --guide-bg: #101215;
    --guide-vw: calc(100vw / var(--porscha-scale, 1));
    --guide-wrap-left: max(150px, calc((var(--guide-vw) - 1600px) / 2));
    --guide-nose-min: calc(var(--guide-wrap-left) + var(--guide-copy-width) + 32px);
    --guide-rear-max: calc(var(--guide-vw) - max(48px, var(--guide-vw) * .025));
    background-color: var(--guide-bg);
    background-image:
      linear-gradient(180deg, var(--guide-bg) calc(100% - var(--guide-h)), transparent calc(100% - var(--guide-h) + clamp(0px, (100% - var(--guide-h)) * 1.5, 110px))),
      linear-gradient(90deg, var(--guide-bg) var(--guide-left), transparent calc(var(--guide-left) + var(--guide-h) * .8)),
      linear-gradient(90deg, var(--guide-bg) calc(var(--guide-wrap-left) * .5), color-mix(in srgb, var(--guide-bg) 92%, transparent) calc(var(--guide-wrap-left) + var(--guide-form-width) * .5), color-mix(in srgb, var(--guide-bg) 62%, transparent) calc(var(--guide-wrap-left) + var(--guide-form-width)), transparent var(--guide-nose)),
      var(--guide-photo);
    background-size: 100% 100%, 100% 100%, 100% 100%, calc(var(--guide-h) * 3) var(--guide-h);
    background-position: 0 0, 0 0, 0 0, var(--guide-left) 100%;
    background-repeat: no-repeat;
  }
  html[data-theme="light"] #guide.guide-section { --guide-bg: #f1f2f3; }
}
@media /*fhd*/ (1101px <= width <= 1700px) and (max-width: 1279px), (1101px <= width <= 1700px) and (hover: none), (1101px <= width <= 1700px) and (pointer: coarse) {
  html[data-theme] #guide.guide-section { --guide-wrap-left: 60px; }
}
@media /*fhd*/ (1101px <= width <= 1250px) and (max-width: 1279px), (1101px <= width <= 1250px) and (hover: none), (1101px <= width <= 1250px) and (pointer: coarse) {
  html[data-theme] #guide.guide-section { --guide-wrap-left: 32px; }
}
@media /*fhd*/ (max-width: 1100px) and (max-width: 1279px), (max-width: 1100px) and (hover: none), (max-width: 1100px) and (pointer: coarse) {
  html[data-theme] #guide.guide-section { background-image: none; }
  #guide.guide-section::before {
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 3 / 1;
    background: var(--guide-photo) center / cover no-repeat;
  }
}

/* Maintenance estimator: exact vehicle and service history. */
.maintenance-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px 16px; }
.maintenance-grid label { display: grid; grid-template-rows: subgrid; grid-row: span 2; min-width: 0; padding-block-end: 8px; }
.maintenance-grid :is(select,input) { min-width: 0; margin-top: 0; }
html[data-theme] .maintenance-grid label > span { color: inherit; font: inherit; }
.maintenance-grid select { text-overflow: ellipsis; }
.maintenance-actions { gap: 15px 24px; }
.maintenance-actions p { margin: 0; }
@media(max-width:900px){.maintenance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.maintenance-grid{grid-template-columns:minmax(0,1fr)} .maintenance-actions .button{width:100%}}

#parts .photo-parts {
  height: auto;
  min-height: 0;
  aspect-ratio: 2;
  align-self: center;
  background-size: contain;
  background-repeat: no-repeat;
}

/* The complete vehicle and its lift supports stay inside the hero photo. */
@media /*fhd*/ (min-width: 1101px), (hover: hover) and (pointer: fine) and (min-width: 1280px) and (max-width: 1919px), (min-width: 761px) and (max-width: 1100px) and (orientation: landscape) and (max-width: 1279px), (min-width: 761px) and (max-width: 1100px) and (orientation: landscape) and (hover: none), (min-width: 761px) and (max-width: 1100px) and (orientation: landscape) and (pointer: coarse) {
  body[data-page="service"] .hero {
    --service-photo-edge: max(0px, calc(50% - calc(25vw / var(--porscha-scale,1))));
    --service-photo-base: #111315;
    --service-photo-copy: linear-gradient(90deg, #0a0c0e 9%, #0a0c0ed9 28%, #0a0c0e45 46%, transparent 57%);
    background-color: var(--service-photo-base);
    background-image: var(--service-photo-copy), linear-gradient(180deg, var(--service-photo-base) var(--service-photo-edge), transparent calc(var(--service-photo-edge) + 80px), transparent calc(100% - var(--service-photo-edge) - 56px), var(--service-photo-base) calc(100% - var(--service-photo-edge))), var(--stage-scene);
    background-size: 100% 100%, 100% 100%, 100% auto;
    background-position: center;
  }
  html[data-theme="light"] body[data-page="service"] .hero {
    --service-photo-base: #fff;
    --service-photo-copy: linear-gradient(90deg, #fff 9%, #ffffffe8 28%, #ffffff5c 46%, transparent 57%);
  }
}

@media /*fhd*/ (min-width: 761px) and (max-width: 1100px) and (orientation: landscape) and (max-width: 1279px), (min-width: 761px) and (max-width: 1100px) and (orientation: landscape) and (hover: none), (min-width: 761px) and (max-width: 1100px) and (orientation: landscape) and (pointer: coarse) {
  body[data-page="service"] .hero {
    background-size: 100% 100%, 100% 100%, 92% auto;
    background-position: center, center, right center;
  }
  html[data-theme="light"] body[data-page="service"] .hero::after { background: none; }
  body[data-page="service"] .hero h1 { font-size: clamp(40px, calc(4.4vw / var(--porscha-scale,1)), 49px); }
}

@media /*fhd*/ (min-width: 1101px) and (max-width: 1500px) and (max-width: 1279px), (min-width: 1101px) and (max-width: 1500px) and (hover: none), (min-width: 1101px) and (max-width: 1500px) and (pointer: coarse) {
  body[data-page="service"] .hero h1 { font-size: clamp(50px, calc(4.45vw / var(--porscha-scale,1)), 67px); }
}
/* Owner order 10.11.2026: hero, metrics, reviews, calculator, service search, process (photo block), services, diagnostics, guide,
   parts, proof, FAQ, contacts. The sections keep alternating after the metrics strip (dark: base / raised; light: white / grey);
   the photo block takes one step of the alternation, so the end of the page keeps its previous tones (FAQ grey, contacts white). */
body[data-page="service"] main > :is(#reviews, #all-services, #services, #guide, #proof) { background-color: #111315; }
body[data-page="service"] main > :is(#calculator, #diagnostics, #parts, .faq) { background-color: var(--alternate-bg, #202327); }
html[data-theme="light"] body[data-page="service"] main > :is(#reviews, #all-services, #services, #guide, #proof) { background-color: #fff; }
html[data-theme="light"] body[data-page="service"] main > :is(#calculator, #diagnostics, #parts, .faq) { background-color: var(--surface); }
/* site-pages.css paints the search with !important; in the dark theme it takes the base tone of this sequence. */
html:not([data-theme="light"]) body[data-page="service"] main > #all-services { background-color: #111315 !important; }
/* Owner guide: compact section with a more prominent reading and selection area. */
#guide {
  --guide-form-width: calc(var(--action-width) * 2 + 16px);
  --guide-copy-width: max(var(--guide-form-width), 500px);
}
#guide .guide-copy h2 { font-size: clamp(38px, calc(2.55vw / var(--porscha-scale,1)), 48px); }
#guide .guide-copy > p:not(.eyebrow):not(.prototype-note) {
  max-width: 540px;
  font-size: 19px;
  line-height: 1.45;
  margin-block: 14px 18px;
}
#guide .guide-picker { row-gap: 10px; }
#guide .guide-picker label { gap: 4px; }
@media /*fhd*/ (min-width: 1101px), (hover: hover) and (pointer: fine) and (min-width: 1280px) and (max-width: 1919px) {
  body[data-page="service"] #guide.guide-section { min-block-size: min(calc(68svh / var(--porscha-scale,1)), 650px); }
  body[data-page="service"] #guide .guide-copy { padding-block: clamp(30px, calc(4svh / var(--porscha-scale,1)), 44px); }
}
@media /*fhd*/ (max-width: 1100px) and (max-width: 1279px), (max-width: 1100px) and (hover: none), (max-width: 1100px) and (pointer: coarse) {
  #guide { --guide-copy-width: 100%; }
  #guide .guide-copy { padding-block: 28px; }
}
@media (max-width: 680px) {
  #guide .guide-copy h2 { font-size: clamp(28px, calc(7vw / var(--porscha-scale,1)), 36px); }
  #guide .guide-copy > p:not(.eyebrow):not(.prototype-note) { font-size: 18px; }
}
/* Graphite 992.2 Turbo S: image is positioned from the actual vehicle bounds. */
#guide.guide-section { --guide-photo: url('assets/optimized/guide-911-graphite-20261110-v3-dark.webp'); }
html[data-theme="light"] #guide.guide-section { --guide-photo: url('assets/optimized/guide-911-graphite-20261110-v3-light.webp'); }
@media /*fhd*/ (min-width: 1101px), (hover: hover) and (pointer: fine) and (min-width: 1280px) and (max-width: 1919px) {
  html[data-theme] #guide.guide-section {
    --guide-h: min(calc(68svh / var(--porscha-scale,1)), 650px, calc((var(--guide-rear-max) - var(--guide-nose-min)) / .96));
    --guide-center: min(max(calc(var(--guide-nose-min) + var(--guide-h) * .48), calc(var(--guide-vw) * .70), calc(var(--guide-vw) - var(--guide-h) * .945)), calc(var(--guide-rear-max) - var(--guide-h) * .48));
    --guide-nose: calc(var(--guide-center) - var(--guide-h) * .48);
    --guide-left: calc(var(--guide-center) - var(--guide-h) * 2.055);
  }
}

@media (max-width: 480px) {
  #guide .guide-card { min-block-size: 538px; }
  #guide .guide-picker { grid-template-columns: minmax(0, 1fr); }
}





/* «Памятка владельца»: воздух между полями и кнопкой, подпись под кнопкой не прилипает (10.11.2026). */
#guide .guide-picker-actions{margin-top:22px}
#guide .guide-picker-status{margin-top:4px}
@media (max-width:760px){#guide .guide-picker-actions{margin-top:16px}}

/* 12.11 владелец: образец памятки рядом с формой.
   1) Образец PDF (белая страница A4) справа от колонки с формой: верх = верх заголовка, низ = низ поля «Мотор»
      (CSS anchor positioning — точная привязка к заголовку и полю при любом масштабе и длине заголовка),
      по горизонтали — посередине между правым краем колонки и носом машины. Картинку и ссылку можно менять
      в разметке (src и href), вёрстка зависит только от пропорции A4.
   2) Новая заставка: 911 Turbo S (992.2) на горном серпантине (тёмная — сумерки, светлая — день, та же сцена).
      Машина в кадре 3:1: нос 51,2 % ширины, корма 88,6 % (в высотах кадра: 1,536h…2,659h, центр 2,097h,
      полуширина 0,561h, от центра до правого края кадра 0,903h). Старые файлы не удалены.
   3) Нос машины не ближе, чем колонка + образец + воздух по 40 px с обеих сторон; ширина образца оценивается
      по размеру заголовка (всегда 2 строки), сама привязка образца точная.
   4) Заголовок на компьютерах всегда в 2 строки (правка 12.11): колонка текста по ширине самой длинной строки
      заголовка, но не уже формы и не шире формы + 48 px; шрифт не уменьшается. Для оценки места под машину
      строка «Что и когда обслуживать» (Exo 2, 600) = 11,6 размера шрифта — при смене заголовка или шрифта
      поменять это число (11.6) ниже. */
#guide.guide-section { --guide-photo: url('assets/optimized/guide-911-turbo-s-serpentine-20261112-dark.webp'); }
html[data-theme="light"] #guide.guide-section { --guide-photo: url('assets/optimized/guide-911-turbo-s-serpentine-20261112-light.webp'); }
@media /*fhd*/ (min-width: 1101px), (hover: hover) and (pointer: fine) and (min-width: 1280px) and (max-width: 1919px) {
  html[data-theme] #guide.guide-section {
    --guide-h: min(calc(68svh / var(--porscha-scale,1)), 650px, calc((var(--guide-rear-max) - var(--guide-nose-min)) / 1.122));
    --guide-center: min(max(calc(var(--guide-nose-min) + var(--guide-h) * .561), calc(var(--guide-vw) * .70), calc(var(--guide-vw) - var(--guide-h) * .903)), calc(var(--guide-rear-max) - var(--guide-h) * .561));
    --guide-nose: calc(var(--guide-center) - var(--guide-h) * .561);
    --guide-left: calc(var(--guide-center) - var(--guide-h) * 2.097);
  }
  #guide .guide-copy { inline-size: fit-content; min-inline-size: var(--guide-copy-width); max-inline-size: calc(var(--guide-copy-width) + 48px); }
}
/* Образец по умолчанию скрыт (широкие сенсорные экраны, нет поддержки привязки, форма ещё не показана). */
#guide .guide-sample-slot { display: none; }
#guide .guide-sample {
  display: block;
  aspect-ratio: 595 / 842;
  overflow: hidden;
  border: 1px solid #d9dadd;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 22px 44px -14px rgba(0, 0, 0, .7), 0 3px 10px rgba(0, 0, 0, .32);
}
html[data-theme="light"] #guide .guide-sample {
  border-color: #d3d5d9;
  box-shadow: 0 18px 38px -16px rgba(20, 22, 26, .32), 0 2px 8px rgba(20, 22, 26, .1);
}
#guide .guide-sample img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) {
  #guide .guide-sample { transition: filter .42s ease; }
  #guide .guide-sample:hover { filter: var(--hover-glow); }
}
/* Ноутбуки и мониторы с мышью: образец справа от формы. */
@supports (anchor-name: --guide-title) {
  @media (hover: hover) and (pointer: fine) and (min-width: 1280px) {
    html[data-theme] #guide.guide-section {
      --guide-sample-air: 40px;
      --guide-sample-title: clamp(38px, calc(2.55vw / var(--porscha-scale,1)), 48px);
      --guide-sample-room: calc((2.24 * var(--guide-sample-title) + 199.3px) / 1.4142 + 2 * var(--guide-sample-air));
      --guide-sample-text: max(var(--guide-copy-width), min(calc(var(--guide-sample-title) * 11.6), calc(var(--guide-copy-width) + 48px)));
      --guide-nose-min: calc(max(var(--page-side, 0px), calc((var(--guide-vw) - 1600px) / 2)) + var(--guide-sample-text) + var(--guide-sample-room));
    }
    #guide .guide-copy { anchor-name: --guide-copy; }
    #guide .guide-copy > h2 { anchor-name: --guide-title; }
    #guide .guide-picker select[name="engine"] { anchor-name: --guide-engine; }
    #guide .guide-sample-slot {
      position: absolute;
      z-index: 1;
      top: anchor(--guide-title top);
      bottom: anchor(--guide-engine bottom);
      left: anchor(--guide-copy right);
      right: calc((100% + var(--guide-vw)) / 2 - var(--guide-nose));
      display: flex;
      justify-content: center;
      pointer-events: none;
    }
    #guide .guide-sample { flex: none; height: 100%; pointer-events: auto; }
  }
}
/* Планшеты и телефоны: образец под формой, по левому краю колонки. */
@media /*fhd*/ (max-width: 1100px) and (max-width: 1279px), (max-width: 1100px) and (hover: none), (max-width: 1100px) and (pointer: coarse) {
  #guide .guide-sample-slot { display: block; padding-block-end: 32px; }
  #guide .guide-sample { width: min(100%, 220px); }
}
/* Широкие сенсорные экраны (iPad Pro и т. п.): образец скрыт; нос машины на 128 px правее формы (было 32 px),
   иначе светлое небо новой заставки обрывается у формы резкой полосой (затемнение не успевает растаять). */
@media /*fhd*/ (min-width: 1101px) and (max-width: 1279px), (min-width: 1101px) and (hover: none), (min-width: 1101px) and (pointer: coarse) {
  html[data-theme] #guide.guide-section { --guide-nose-min: calc(var(--guide-wrap-left) + var(--guide-copy-width) + 128px); }
}
#guide .guide-card:has(.guide-picker[hidden]) .guide-sample-slot { display: none; }

/* 12.11 владелец: блок «Запчасти Porsche» (#parts) на странице услуг.
   1) Фото перерисовано (GPT Image, та же сцена, тёмная и светлая): на спине механика «PORSCHA» белым, «.RU» красным;
      кадр выше — 1774×1030 (было 1774×887): сверху немного потолка, снизу ящики верстака. Старые файлы не удалены.
      Подпись «ДЕТАЛИ / PORSCHE» убрана из разметки блока (service.html, services/index.html).
   2) Компьютеры: верх фото = верх строчных букв первой строки заголовка («Детали, которые»), низ = нижняя линия
      списка шагов (под «03», над кнопками). CSS anchor positioning: метка h2::before высотой 1ex стоит на базовой
      линии первой строки (её верх = верх строчных «т», «и», «л» при любом размере шрифта и масштабе), низ — край
      .parts-points. По ширине фото — свой столбец сетки; картинка cover (рамка 1,64–1,75 : 1 в зависимости от экрана).
   3) Телефоны и планшеты — прежняя раскладка (рамка 2:1 или прежняя высота), новый файл кадрируется cover.
      Без поддержки anchor positioning — прежняя рамка 2:1. */
#parts .photo-parts { background-image: url('assets/optimized/service/macan-red-natural-ru-red-20261112.webp'); background-size: cover; }
html[data-theme="light"] #parts .photo-parts { background-image: url('assets/optimized/service/light-parts-ru-red-20261112.webp'); }
@supports (anchor-name: --parts-title-x) {
  @media /*fhd*/ (min-width: 1101px), (hover: hover) and (pointer: fine) and (min-width: 1280px) and (max-width: 1919px) {
    #parts .parts-split { position: relative; }
    #parts .split-copy > h2::before {
      content: "";
      display: inline-block;
      inline-size: 0;
      block-size: 1ex;
      vertical-align: baseline;
      anchor-name: --parts-title-x;
    }
    #parts .parts-points { anchor-name: --parts-steps-end; }
    #parts .photo-parts {
      position: absolute;
      grid-column: 2;
      grid-row: 1;
      inset-inline: 0;
      top: anchor(--parts-title-x top);
      bottom: anchor(--parts-steps-end bottom);
      block-size: auto;
      aspect-ratio: auto;
      align-self: stretch;
      justify-self: stretch;
    }
  }
}

/* 13.11.2026 owner: two buttons in the guide block — «Посмотреть» (main, the PDF in a new tab) and «Скачать». */
#guide .guide-picker-actions { display: flex; gap: 16px; }
#guide .guide-picker-actions .button { flex: 1 1 0; width: auto; min-width: 0; }
#guide .guide-picker-actions .button[aria-disabled="true"] { opacity: .7; pointer-events: none; cursor: default; }
@media (max-width: 760px) { #guide .guide-picker-actions { gap: 12px; } }
