/* BIOS layout only. Ownership, identity and checkout behaviour are unchanged. */
.nx-store-catalog-gate.is-locked > .nx-store-owner,
.nx-bios-storefront--static .nx-store-catalog-gate:not(:has(.nx-store-owner__input:checked)) > .nx-store-owner {
  grid-area: 1 / 1; align-self: start; width: 100%; margin: 0 0 16px; box-shadow: none;
}
.nx-store-catalog-gate.is-locked > .nx-bios-products,
.nx-bios-storefront--static .nx-store-catalog-gate:not(:has(.nx-store-owner__input:checked)) > .nx-bios-products { grid-area: 2 / 1; }
.nx-store-owner { max-width: 720px; padding: 16px; margin-bottom: 16px; text-align: start; }
.nx-bios-product { padding: 16px; gap: 8px; }
.nx-bios-product__code { font-size: 26px; }
.nx-bios-product__price { font-size: 26px; line-height: 1.2; margin-block: 0; }
.nx-bios-product__action { min-height: 48px; padding: 8px; font-size: 16px; }
.nx-store-other-codes { grid-column: 1 / -1; }
.nx-store-other-codes > summary { display: list-item; min-height: 48px; padding: 12px 16px; color: var(--nx-accent-soft); cursor: pointer; }
.nx-bios-storefront--static .nx-store-catalog-gate:not(:has(.nx-store-owner__input:checked)) .nx-store-other-codes > summary { visibility: hidden; }
.nx-store-other-codes .nx-bios-product { width: 100%; max-width: 360px; margin-block: 8px; }
.nx-store-other-codes > summary:focus-visible,
.nx-bios-layout-reference > summary:focus-visible,
.nx-bios-more-examples > summary:focus-visible { outline: 3px solid var(--nx-accent-soft); outline-offset: 3px; }
.nx-guide--storefront .nx-guide-hero { padding-bottom: 16px; }
.nx-guide--storefront .nx-guide-hero .nx-guide-meta-row { display: none; }
.nx-guide--storefront .nx-guide-shop--intro { margin-block: 0 8px; padding: 2px 8px; font-size: .75rem; }
.nx-guide--storefront .nx-guide-body { padding-top: 0; }
/* The complete delivery sentence now belongs to the immediately following
   "What you receive" section; don't repeat it at the same decision point. */
.nx-bios-storefront__catalog > .nx-bios-storefront__delivery { display: none; }
.nx-store-guide-grid--compact { grid-template-columns: 1fr; gap: 24px; }
.nx-store-guide-grid--compact > .nx-store-guide-panel { grid-column: 1 / -1; padding: 0; border: 0; border-radius: 0; background: transparent; }
.nx-store-guide-grid--compact #what-you-receive,
.nx-store-guide-grid--compact #recovery,
.nx-store-guide-grid--compact #real-paid-orders { margin-top: 0; }
.nx-store-guide-grid--compact > section:has(#recovery) > ol { display: grid; gap: 12px; padding-inline-start: 24px; }
.nx-bios-layout-reference, .nx-bios-more-examples { margin-block: 16px; border-block: 1px solid var(--nx-border); }
.nx-bios-layout-reference > summary, .nx-bios-more-examples > summary { min-height: 48px; padding: 12px 8px; cursor: pointer; color: var(--nx-accent-soft); }
.nx-guide .nx-bios-layout-reference > summary h2 { display: inline; margin: 0; font: 600 1.125rem/1.5 var(--nx-font-body); }
.nx-bios-layout-reference > div { padding: 8px; }
.nx-bios-more-examples .nx-bios-paid-examples { margin-top: 8px; }
.nx-bios-step-card { position: relative; padding: 16px; }
.nx-bios-step__t { min-height: 0; margin-bottom: 8px; }
.nx-bios-step__body { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: start; }
.nx-bios-step__media { width: 56px; max-width: 56px; }
.nx-bios-step__image--pdf { filter: none; }
.nx-bios-steps { gap: 12px; }
.nx-bios-hero__intro { min-width: 0; }
@media (min-width: 1024px) {
  body.nx-page .nx-bios:has(.nx-bios-hero) { max-width: 1184px; }
  body.nx-page .nx-bios-hero.nx-bios-hero--focused { width: 100%; max-width: none; margin-inline: 0; padding-inline: 0; }
  .nx-bios-hero__main { display: grid; grid-template-columns: minmax(0, .75fr) minmax(540px, 1.25fr); gap: 32px; align-items: start; }
  .nx-bios-hero__main > .nx-bios-hero__intro { padding-top: 16px; }
  .nx-bios-hero__main > :is(.nx-bios-checker, .nx-bios-check-result) { width: 100%; max-width: none; margin: 0; }
  .nx-bios-hero h1.nx-h1 { font-size: clamp(30px, 2.8vw, 40px); }
  .nx-bios-hero__main > .nx-bios-check-result { grid-column: 2; }
  .nx-bios-step__body { grid-template-columns: 64px minmax(0, 1fr); }
  .nx-bios-step__media { width: 64px; max-width: 64px; }
  .nx-store-guide-grid--compact > section:has(#recovery) > ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
}
@media (max-width: 767.98px) {
  /* Keep the full consent text and equal choices. The repeated heading remains
     accessible; Settings shares the text area instead of an extra full row. */
  .nx-cookie-banner > .nx-cookie-banner__header { float: inline-end; margin-inline-start: 8px; margin-bottom: 0; }
  .nx-cookie-banner__header > h2 { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .nx-cookie-banner > .nx-cookie-banner__header > .nx-cookie-banner__settings { max-width: none !important; }
  .nx-cookie-banner > .nx-cookie-banner__choices { clear: both; }
  .nx-bios-product { padding: 12px; gap: 8px; }
  .nx-bios-product__eyebrow { font-size: 11px; }
  .nx-bios-product__code, .nx-bios-product__price { font-size: 24px; }
  .nx-bios-product__action { font-size: 16px; }
  .nx-bios-storefront__catalog h2 { font-size: 20px; }
  .nx-guide--storefront .nx-bios-storefront { margin-bottom: 24px; }
  .nx-guide--storefront .nx-guide-hero .nx-h1 { font-size: 26px; }
  .nx-bios-step-card { padding: 12px; }
  .nx-bios-step__t { padding-inline-end: 48px; }
  .nx-bios-step__body { display: block; }
  .nx-bios-step__media { position: absolute; inset-block-start: 8px; inset-inline-end: 12px; width: 40px; max-width: 40px; }
  .nx-bios-steps { margin-top: 16px; }
  .nx-guide--bios .nx-guide-photo-hero { gap: 16px; }
  .nx-guide--bios .nx-guide-photo-hero > figure { max-width: 240px; margin: 0 auto; }
  .nx-guide--bios .nx-bios-guide-contents { float: none; width: 100%; margin: 0 0 24px; }
  .nx-bios-guide-contents > summary { min-height: 48px; padding-block: 12px; }
  .nx-guide--bios .nx-guide-body { padding-top: 24px; }
  .nx-guide--storefront .nx-guide-body { padding-top: 0; }
}
