
  /* Stacked layout — content uses full content width, no empty gap on right */
  .file-stack { display: flex; flex-direction: column; gap: 24px; }
  /* A buyer wants, in this order: is it my file (the header) → price and the button → the
     numbers to check → the details. So the buy block comes first — on phones since 11 Oct, on
     desktop too since 16 Oct ("на пк тоже… чтобы покупка была повыше"). Visual order only:
     the markup (what search engines read) keeps the description first. */
  .file-stack > * { order: 5; }
  .file-stack > .buy-choice, .file-stack > .buy-banner { order: 1; }
  .file-stack > .spec-card { order: 2; }
  .file-stack > .ver-card { order: 2; }      /* right after the numbers: is it MY file? */
  .file-stack > .check-card { order: 3; }
  .file-stack > .desc-card { order: 4; }

  /* Info cards that fold on phones. Desktop: always open, the summary is only the heading. */
  .fold > summary { list-style: none; cursor: default; pointer-events: none; }
  .fold > summary::-webkit-details-marker { display: none; }
  @media (max-width: 760px) {
    /* phones: the reference cards fold */
    .file-stack { gap: 12px; }
    .file-stack > .buy-choice, .file-stack > .buy-banner { margin-bottom: 6px; }
    .fold > summary {
      display: flex; align-items: center; justify-content: space-between; gap: 12px;
      cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; min-height: 28px;
    }
    .fold > summary::after {
      content: ""; flex: none; width: 9px; height: 9px; margin: -4px 6px 0 0;
      border-right: 2.5px solid #64748b; border-bottom: 2.5px solid #64748b;
      transform: rotate(45deg); transition: transform .2s;
    }
    .fold[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
    .fold > summary h3 { margin: 0 !important; font-size: 13px !important; }
    .fold[open] > summary { margin-bottom: 12px; }
    .file-stack > .desc-card, .file-stack > .spec-card { padding: 15px 18px; border-radius: 16px; }
    .file-stack > .check-card { display: block; padding: 3px 18px; border-radius: 16px; }
    .check-card .check-col { padding: 12px 0; }
    .check-card .check-col + .check-col { border-top: 1px solid var(--line); }
    .check-card .check-col li:last-child { margin-bottom: 2px; }
    /* buy card: price → button → the reasons */
    .bopt.best .bactions { order: 1; margin-top: 0; }
    .bopt.best .ticks { order: 2; }
    .bopt.best .bactions .bc-btn { order: -1; }
    .file-stack > .buy-choice > h2 { font-size: 20px; }
    /* header: compact; the "all files" links scroll sideways instead of stacking */
    .head-card { padding: 20px 18px 18px !important; margin-bottom: 16px; border-radius: 20px; }
    .head-card h1 { font-size: 22px !important; margin-bottom: 12px; }
    .head-card .ecu-pill { margin-bottom: 10px; }
    .tag-row { flex-wrap: nowrap !important; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
      margin-right: -18px; padding-right: 18px; }
    .tag-row::-webkit-scrollbar { display: none; }
    .tag-row .tag { flex: none; white-space: nowrap; }
  }

  /* Back button next to Buy — softer, secondary */
  .btn-back-soft {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 22px; border-radius: 12px;
    background: rgba(14,165,233,.08);
    border: 1.5px solid rgba(14,165,233,.18);
    color: var(--red);
    font-weight: 700; font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all .18s;
    font-family: inherit;
  }
  .btn-back-soft:hover {
    background: rgba(14,165,233,.14);
    color: var(--red);
    transform: translateY(-1px);
  }
  .btn-back-soft svg { width: 14px; height: 14px; transition: transform .18s; }
  .btn-back-soft:hover svg { transform: translateX(-2px); }

  /* Header card */
  .head-card {
    position: relative;
    background:
      radial-gradient(ellipse 600px 300px at 90% 0%, rgba(14,165,233,.24) 0, transparent 60%),
      linear-gradient(135deg, #075985 0%, #0f4fa8 56%, #1d4ed8 100%);
    color: #fff;
    border-radius: 22px;
    padding: 38px 40px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 24px 60px -20px rgba(11,30,52,.40);
  }
  .head-card::before {
    content: ""; position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 80% at 80% 50%, #000, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 50%, #000, transparent);
    opacity: .3; pointer-events: none;
  }
  .head-card > * { position: relative; z-index: 1; }
  .head-card .ecu-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    padding: 8px 16px; border-radius: 999px;
    font-size: 12.5px; font-weight: 700;
    color: #dff7ff; backdrop-filter: blur(8px);
    margin-bottom: 18px;
  }
  .head-card .ecu-pill svg { width: 14px; height: 14px; }
  .head-card h1 {
    margin: 0 0 14px;
    font-size: 34px; line-height: 1.15; font-weight: 800;
    letter-spacing: -.02em;
    text-shadow: 0 2px 20px rgba(0,0,0,.20);
  }
  .head-card h1 .engine {
    color: rgba(255,255,255,.65); font-weight: 600; font-size: .82em;
  }
  .head-card h1 .ecu-info {
    display: block; margin-top: 8px;
    background: linear-gradient(90deg, #ffffff 0%, #dff7ff 48%, #7dd3fc 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    font-size: .88em;
  }
  .head-card h1 .tagline {
    display: block;
    color: rgba(255,255,255,.55); font-weight: 500; font-size: .55em;
    text-transform: uppercase; letter-spacing: .12em; margin-top: 10px;
  }
  .head-card .tag-row {
    display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px;
  }
  .head-card .tag {
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
    padding: 8px 14px; border-radius: 10px;
    font-size: 12.5px; font-weight: 600;
    color: #fff; backdrop-filter: blur(6px);
  }
  .head-card .tag b { color: #dff7ff; font-weight: 700; margin-right: 4px; }


  /* Buy banner — full-width horizontal */
  .buy-banner {
    position: relative;
    background:
      radial-gradient(ellipse 600px 280px at 90% 50%, rgba(14,165,233,.14) 0, transparent 70%),
      linear-gradient(135deg, #f0f9ff 0%, #fff 100%);
    border: 1px solid #bfdbfe;
    border-radius: 22px;
    padding: 28px 32px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
  }
  .buy-banner::after {
    content: "€"; position: absolute;
    top: -30px; right: -10px;
    font-size: 240px; color: rgba(14,165,233,.06); line-height: 1;
    font-weight: 800; pointer-events: none;
  }
  .buy-banner > * { position: relative; z-index: 1; }
  .buy-info { min-width: 0; }
  .buy-info .price-cap {
    color: var(--muted); font-size: 11.5px;
    text-transform: uppercase; letter-spacing: .12em; font-weight: 700;
  }
  .buy-info .price {
    margin: 4px 0 6px;
    font-size: 42px; font-weight: 800; color: var(--text);
    letter-spacing: -.02em; line-height: 1;
  }
  .buy-info .price .one-time {
    font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 8px;
  }
  .buy-info .login-line { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
  .buy-info .login-line a { color: var(--red); font-weight: 700; }
  .buy-action { display: flex; flex-direction: column; align-items: stretch; gap: 12px; min-width: 260px; }
  .buy-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
    color: #fff;
    padding: 16px 28px; border-radius: 12px;
    font-weight: 700; font-size: 15px;
    text-decoration: none;
    box-shadow:
      0 12px 28px rgba(14,165,233,.34),
      inset 0 1px 0 rgba(255,255,255,.20);
    transition: transform .15s, box-shadow .2s;
    white-space: nowrap;
  }
  .buy-btn:hover {
    transform: translateY(-2px); color: #fff;
    box-shadow: 0 18px 36px rgba(14,165,233,.48);
  }
  .buy-features {
    display: flex; gap: 18px; flex-wrap: wrap;
    margin-top: 4px; font-size: 12.5px; color: var(--muted);
  }
  .buy-features .row { display: inline-flex; align-items: center; gap: 6px; }
  .buy-features .row svg { width: 14px; height: 14px; color: #10b981; flex-shrink: 0; }
  @media (max-width: 720px) {
    .buy-banner { grid-template-columns: 1fr; }
    .buy-action { min-width: 0; }
  }

  /* Description card spans full width now */
  .desc-card, .spec-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 32px 36px;
    box-shadow: 0 4px 14px rgba(11,30,52,.04);
  }
  .desc-card h3, .spec-card h3 {
    margin: 0 0 14px;
    font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
    color: var(--red); font-weight: 700;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .desc-card h3::before, .spec-card h3::before {
    content: ""; width: 24px; height: 2px; background: var(--red); border-radius: 2px;
  }
  .desc-card p {
    margin: 0; font-size: 15.5px; line-height: 1.75; color: var(--text);
  }
  .desc-card p a {
    color: var(--red); font-weight: 700;
    border-bottom: 1.5px solid rgba(14,165,233,.32);
    transition: border-color .15s;
  }
  .desc-card p a:hover { border-bottom-color: var(--red); }

  .spec-table {
    width: 100%; border-collapse: collapse;
    margin-top: 4px;
  }
  .spec-table tr {
    transition: background .15s;
  }
  .spec-table tr:hover { background: #fafbfe; }
  .spec-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
  .spec-table tr:last-child td { border-bottom: 0; }
  .spec-table td:first-child {
    color: var(--muted); font-weight: 600;
    width: 45%;
    font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em;
  }
  .spec-table td:last-child {
    font-family: 'JetBrains Mono', Consolas, monospace;
    color: var(--text); font-weight: 600;
    word-break: break-all;
  }
  .spec-table td.empty {
    font-family: 'Inter', sans-serif;
    color: #cbd5e1; font-weight: 400;
  }

  /* Experience block */
  .experience-block {
    margin-top: 64px;
    padding: 56px 48px;
    background:
      radial-gradient(ellipse 600px 400px at 90% 50%, rgba(14,165,233,.10) 0, transparent 60%),
      #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    position: relative; overflow: hidden;
  }
  .experience-block::after {
    content: "★"; position: absolute;
    top: -50px; right: -30px;
    font-size: 280px; color: rgba(14,165,233,.06); line-height: 1;
    font-weight: 700; pointer-events: none;
  }
  .experience-block > * { position: relative; z-index: 1; }
  .experience-block h2 {
    margin: 0 0 14px;
    color: var(--red-deep);
    font-size: 48px; font-weight: 800; letter-spacing: -.025em;
    line-height: 1.05;
  }
  .experience-block p { margin: 0 0 22px; max-width: 600px; color: var(--muted); font-size: 16px; line-height: 1.7; }
  .exp-contacts { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
  .exp-row { display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 14px; }
  .exp-item { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--text); font-weight: 600; }
  .exp-item svg { width: 16px; height: 16px; color: var(--red); }
  .exp-item a { color: var(--text); }
  .exp-item a:hover { color: var(--red); }
  .exp-legal { color: var(--muted); font-size: 13px; line-height: 1.7; }
  @media (max-width: 720px) {
    .experience-block { padding: 36px 24px; }
    .experience-block h2 { font-size: 32px; }
    .head-card { padding: 30px 24px; }
    .head-card h1 { font-size: 24px; }
  }

  .spec-table td .cp {
    margin-left: 10px; padding: 3px 9px; border-radius: 7px; cursor: pointer;
    border: 1px solid #bfdbfe; background: #f0f9ff; color: var(--red);
    font: 600 11.5px Inter, sans-serif; vertical-align: middle;
  }
  .spec-table td .cp:hover { background: #e0f2fe; }

  .mobile-buy { display: none; }
  @media (max-width: 760px) {
    .mobile-buy {
      position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
      display: flex; align-items: center; gap: 10px;
      padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
      background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
      border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(11,30,52,.12);
    }
    .mb-info { flex: 1; min-width: 0; line-height: 1.15; }
    .mb-info b { display: block; font-size: 19px; font-weight: 800; color: var(--text); }
    .mb-info span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .mb-wa {
      flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
      background: #ecfdf3; border: 1.5px solid #86efac; color: #15803d;
    }
    .mb-wa svg { width: 22px; height: 22px; }
    .mb-buy {
      flex: none; padding: 13px 18px; border-radius: 12px; color: #fff; font-weight: 800; font-size: 14.5px;
      text-decoration: none; background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
      box-shadow: 0 8px 20px rgba(14,165,233,.35);
    }
    body { padding-bottom: 76px; }
  }

  .head-card .tag-link { text-decoration: none; transition: background .15s; }
  .head-card .tag-link:hover { background: rgba(255,255,255,.20); color: #fff; }
  .spec-table td a { color: var(--red); text-decoration: none; border-bottom: 1px solid rgba(14,165,233,.3); }

  /* What you receive / Before you order */
  .check-card {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px;
    background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 32px;
    box-shadow: 0 4px 14px rgba(11,30,52,.04);
  }
  .check-col h3 {
    margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
    color: var(--red); font-weight: 700;
  }
  .check-col ul { margin: 0; padding: 0; list-style: none; }
  .check-col li {
    position: relative; padding-left: 26px; margin-bottom: 10px;
    font-size: 14.5px; line-height: 1.6; color: var(--text);
  }
  .check-col li::before {
    content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
    background: #10b981 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/9px no-repeat;
  }
  .check-col a { color: var(--red); font-weight: 700; }
  @media (max-width: 720px) { .check-card { padding: 22px 18px; } }

  /* Tuning upsell — most visitors are tuners who also need the modified file */
  .tune-card {
    background: #fff; border: 1px solid var(--line); border-radius: 22px;
    padding: 28px 32px; display: grid; grid-template-columns: 1fr auto;
    gap: 24px; align-items: center;
    box-shadow: 0 4px 14px rgba(11,30,52,.04);
  }
  .tune-cap { color: var(--red); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
  .tune-card h2 { margin: 6px 0 14px; font-size: 24px; font-weight: 800; letter-spacing: -.01em; color: var(--text); }
  .tune-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .tune-list li {
    background: #f0f9ff; border: 1px solid #bfdbfe; color: var(--text);
    padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  }
  .tune-action { display: flex; flex-direction: column; gap: 12px; min-width: 240px; }
  .wa-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 22px; border-radius: 12px; font-weight: 700; font-size: 14px;
    background: #ecfdf3; border: 1.5px solid #86efac; color: #15803d; text-decoration: none;
    transition: transform .15s, background .15s;
  }
  .wa-btn:hover { background: #dcfce7; color: #166534; transform: translateY(-1px); }
  .wa-btn svg { width: 18px; height: 18px; }

  /* Files with the same HW/SW (other calibrations, cars, engines): each has its own page */
  .ver-card {
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    padding: 26px 32px; box-shadow: 0 4px 14px rgba(11,30,52,.04);
  }
  .ver-card h3 {
    margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
    color: var(--red); font-weight: 700; display: inline-flex; align-items: center; gap: 8px;
  }
  .ver-card h3::before { content: ""; width: 24px; height: 2px; background: var(--red); border-radius: 2px; }
  .ver-note { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 70ch; }
  .ver-note b { color: var(--text); font-family: 'JetBrains Mono', Consolas, monospace; }
  .ver-list {
    list-style: none; margin: 0; padding: 0; max-height: 430px; overflow-y: auto;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px;
  }
  .ver-list a, .ver-list .here {
    display: flex; flex-direction: column; gap: 2px; height: 100%; box-sizing: border-box;
    padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none;
    transition: border-color .15s, background .15s;
  }
  .ver-list a:hover { background: #f8fbff; border-color: #bfdbfe; }
  .ver-list .here { border-color: var(--primary); background: #f0f9ff; }
  .ver-cal { font-family: 'JetBrains Mono', Consolas, monospace; font-weight: 700; font-size: 13.5px; color: var(--text); word-break: break-all; }
  .ver-car { font-size: 12.5px; color: var(--muted); }
  .ver-list .here em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--primary-deep, #0369a1); }
  @media (max-width: 760px) { .ver-card { padding: 18px 16px; border-radius: 16px; } .ver-list { max-height: 330px; } }

  /* Related files — internal links for visitors and crawlers */
  .related-card {
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    padding: 28px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px;
  }
  .related-card h3 {
    margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
    color: var(--red); font-weight: 700;
  }
  .rel-list {
    list-style: none; margin: 0 0 14px; padding: 0;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px;
  }
  .rel-list a {
    display: flex; flex-direction: column; height: 100%; box-sizing: border-box;
    padding: 9px 12px; text-decoration: none; border-radius: 10px;
    border: 1px solid var(--line); transition: border-color .15s, background .15s;
  }
  .rel-list a:hover { background: #f8fbff; border-color: #bfdbfe; }
  .rel-code { font-family: 'JetBrains Mono', Consolas, monospace; font-weight: 700; font-size: 13.5px; color: var(--text); word-break: break-all; }
  .rel-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
  .rel-all { font-weight: 700; font-size: 13.5px; color: var(--red); text-decoration: none; }
  .rel-all:hover { text-decoration: underline; }
  @media (max-width: 720px) {
    .tune-card { grid-template-columns: 1fr; padding: 24px 20px; }
    .tune-action { min-width: 0; }
    .related-card { padding: 22px 18px; }
  }
  @media (max-width: 520px) {
    .rel-list li:nth-child(n+7) { display: none; }  /* keep phones short; "All … files" follows */
  }
