/* BP Swiss Group — shared mobile corrections */
@media (max-width: 700px) {
  html, body, #dc-root, .sc-host, x-dc { max-width: 100%; overflow-x: clip; }
  .sc-host *, .sc-host *::before, .sc-host *::after { box-sizing: border-box; }
  .sc-host img, .sc-host image-slot, .sc-host video, .sc-host canvas { max-width: 100%; }
  .sc-host div, .sc-host section, .sc-host article, .sc-host figure,
  .sc-host h1, .sc-host h2, .sc-host h3, .sc-host p, .sc-host image-slot {
    min-width: 0 !important;
  }

  .sc-host div[style*="max-width"],
  .sc-host p[style*="max-width"],
  .sc-host h1[style*="max-width"],
  .sc-host h2[style*="max-width"] {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch !important;
  }

  .sc-host div[style*="grid-template-columns: minmax"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 30px !important;
  }

  .sc-host [data-step] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
  }

  .sc-host [data-step] > * {
    grid-column: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .sc-host [data-row] {
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 8px 14px !important;
    align-items: start !important;
    padding: 22px 0 !important;
  }
  .sc-host [data-row] > :nth-child(n + 3) { grid-column: 2 !important; }

  .sc-host header nav {
    order: 4;
    width: 100%;
    max-width: 100%;
    gap: 20px !important;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .sc-host header nav::-webkit-scrollbar { display: none; }

  .sc-host section[style*="padding: 84px 56px"],
  .sc-host section[style*="padding: 88px 56px"],
  .sc-host section[style*="padding: 0px 56px 88px"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .sc-host #fiche, .sc-host #fiche > div, .sc-host #fiche > div > div,
  .sc-host #fiche [style*="max-width"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .sc-host #fiche > div > div:last-child { padding: 22px !important; gap: 30px !important; }
  .sc-host #fiche div[style*="grid-template-columns: 150px 1fr"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
  }
}
