/* Explicit simulator selectors only: no changes to article or shop forms. */
body .lcdj-simulator {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  box-sizing: border-box;
}
body :is(.fdt-pack__layout, .fdt-shoe-finder__layout, .fdt-pace__layout, .lpc-calculator__layout) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  gap: 28px;
}
body :is(.fdt-pack__panel, .fdt-shoe-finder__panel, .fdt-pace__panel, .lpc-form-card, .aec-form, .lcdj-simulator__body) {
  width: 100%;
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
}
body :is(.fdt-pack__result, .fdt-shoe-finder__result, .fdt-pace__result, .lpc-result, .aec-result, .lcdj-simulator__result, .lcdj-panel__result) {
  position: static !important;
  width: 100%;
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
  grid-column: 1 / -1;
  scroll-margin-top: var(--simulator-scroll-offset, 150px);
}
body .affsync-simulator-result:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
body :is(.fdt-pack__products, .fdt-shoe-finder__products) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 767px) {
  body :is(.fdt-pack__choices, .fdt-shoe-finder__choices, .fdt-pace__fields, .lpc-fields, .lcdj-simulator__fields) {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body :is(.fdt-pack__products, .fdt-shoe-finder__products) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body :is(.fdt-pack__panel, .fdt-shoe-finder__panel, .fdt-pace__panel, .lpc-form-card) {
    padding: 20px;
  }
}
