/* LUMIXLUM · shared checkout/account frame and 404.
   Native InSales form fields, validation, payment and delivery remain intact. */

body.llx-insales-theme.llx-system-page .llx-page > main {
  padding-block: var(--llx-section-gap, 40px);
}

body.llx-insales-theme.llx-system-page .llx-page > main > .layout {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

body.llx-insales-theme.llx-system-page .llx-page > main > .layout > .layout__content {
  box-sizing: border-box;
  width: calc(100% - var(--llx-content-gutter, 56px) * 2);
  max-width: var(--llx-content-max-width, 1328px);
  min-width: 0;
  margin-inline: auto;
  padding-inline: 0;
}

body.llx-insales-theme.llx-system-page .checkout-v2-wrapper {
  box-sizing: border-box;
  min-width: 0;
  border: 1px solid var(--llx-border, #E4E5DF);
  border-radius: var(--llx-radius-panel, 8px);
  background: #FFFFFF;
  color: var(--llx-text, #191917);
  font-family: var(--llx-font-family, Manrope, Arial, sans-serif);
}

body.llx-insales-theme.llx-system-page .co-title--h1 {
  color: var(--llx-text-strong, #171715);
  font-family: var(--llx-font-family, Manrope, Arial, sans-serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

body.llx-insales-theme .llx-not-found-layout {
  padding-block: var(--llx-section-gap, 40px);
}

body.llx-insales-theme .llx-not-found {
  box-sizing: border-box;
  width: 100%;
  max-width: 840px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 64px) 24px;
  border: 1px solid var(--llx-border, #E4E5DF);
  border-radius: var(--llx-radius-panel, 8px);
  background: var(--llx-panel-background, #F7F8F5);
  color: var(--llx-text, #191917);
  text-align: center;
}

body.llx-insales-theme .llx-not-found__code {
  display: block;
  margin-bottom: 16px;
  color: var(--llx-text-strong, #171715);
  font-size: clamp(64px, 10vw, 112px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.065em;
}

body.llx-insales-theme .llx-not-found__message {
  max-width: 620px;
  margin-inline: auto;
  color: var(--llx-text-muted, #77766F);
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

body.llx-insales-theme .llx-not-found__message > :first-child {
  margin-top: 0;
}

body.llx-insales-theme .llx-not-found__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

body.llx-insales-theme .llx-not-found__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid #D8D8D3;
  border-radius: 999px;
  background: #FFFFFF;
  color: #242424;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background .2s, border-color .2s, box-shadow .2s;
}

body.llx-insales-theme .llx-not-found__button:hover,
body.llx-insales-theme .llx-not-found__button:focus-visible {
  border-color: #FFD300;
  background: #FFD300;
  color: #171715;
  box-shadow: 0 4px 12px #FFD30026;
}

body.llx-insales-theme .llx-not-found__button:focus-visible {
  outline: 2px solid #FFD300;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  body.llx-insales-theme.llx-system-page .co-title--h1 {
    font-size: 26px;
  }

  body.llx-insales-theme .llx-not-found {
    padding: 32px 18px;
  }

  body.llx-insales-theme .llx-not-found__actions {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.llx-insales-theme .llx-not-found__button {
    transition: none;
  }
}
