:root body.storefront-page.lotso-monochrome #itemDetailsDialog {
  background: #0b0c31 !important;
  row-gap: 0;
  align-content: start;
}
:root body.storefront-page.lotso-monochrome #itemDetailsDialog > .topbar {
  background: #0b0c31 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
:root body.storefront-page.lotso-monochrome #itemDetailsDialog .item-details {
  background: #0b0c31 !important;
  height: auto;
  max-height: none;
  overflow: visible;
  display: flex;
  flex-direction: column;
}
:root body.storefront-page.lotso-monochrome #itemDetailsDialog .item-details > * {
  flex-shrink: 0;
}
:root body.storefront-page.lotso-monochrome #itemDetailsDialog .item-details > .close-button {
  align-self: flex-start;
}
:root body.storefront-page.lotso-monochrome #itemDetailsDialog .details-layout {
  flex-grow: 1;
}
:root body.storefront-page.lotso-monochrome #itemDetailsDialog .details-legal {
  background: #050617 !important;
  margin-bottom: 0;
  align-self: start;
  height: auto;
  min-height: min-content;
  padding: 22px max(20px, 4%);
  text-align: left;
  font: 400 12px/1.6 'Instrument Sans', Arial, sans-serif;
  color: #aebbd0;
}
:root body.storefront-page.lotso-monochrome #itemDetailsDialog .details-legal strong { margin-bottom: 10px; font-size: 14px; font-weight: 600; }
:root body.storefront-page.lotso-monochrome #itemDetailsDialog .details-legal p { max-width: 1000px; margin: 6px 0; font: inherit; }
:root body.storefront-page.lotso-monochrome #itemDetailsDialog .item-details:has(> .details-extra[hidden]) {
  grid-template-rows: 36px minmax(0, 1fr) auto;
}
/* Keep the legal band readable and at the end of short product sheets. */
@media (min-width: 761px) {
  :root body.storefront-page.lotso-monochrome #itemDetailsDialog .details-layout,
  :root body.storefront-page.lotso-monochrome #itemDetailsDialog .details-extra {
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
  }
  :root body.storefront-page.lotso-monochrome #itemDetailsDialog .details-layout { gap: 48px; }
  :root body.storefront-page.lotso-monochrome #itemDetailsDialog .item-details > .close-button { margin-left: max(0px, calc((100% - 1120px) / 2)); }
}
@media (min-width: 761px) {
  :root body.storefront-page.lotso-monochrome #itemDetailsDialog .item-details {
    min-height: calc(100dvh - 80px);
    grid-template-rows: 36px minmax(min-content, 1fr) auto auto;
  }
  :root body.storefront-page.lotso-monochrome #itemDetailsDialog .item-details:has(> .details-extra[hidden]) {
    grid-template-rows: 36px minmax(min-content, 1fr) auto;
  }
}
:root body.storefront-page.lotso-monochrome #itemDetailsDialog .details-legal {
  display: grid;
  gap: 12px;
  align-self: stretch;
  padding: 32px max(24px, calc((100% - 1120px) / 2)) 36px;
  font: 400 14px/1.75 'Instrument Sans', Arial, sans-serif;
}
:root body.storefront-page.lotso-monochrome #itemDetailsDialog .details-legal strong {
  display: block;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
:root body.storefront-page.lotso-monochrome #itemDetailsDialog .details-legal p {
  width: 100%;
  max-width: 1000px;
  margin: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  :root body.storefront-page.lotso-monochrome #itemDetailsDialog .details-legal {
    gap: 12px;
    padding: 28px 22px calc(28px + env(safe-area-inset-bottom));
    font-size: 13px;
    line-height: 1.75;
  }
}
