/*
 * Max Zorn Buy page — mobile only.
 * Desktop/tablet above 720px is intentionally untouched.
 */

@media (max-width: 720px) {
  body.mz-buy-mobile-polish .entry-content {
    font-size: 16px;
    line-height: 1.56;
  }

  /* Override the legacy inline 24px typography only on mobile. */
  body.mz-buy-mobile-polish .entry-content p,
  body.mz-buy-mobile-polish .entry-content p span,
  body.mz-buy-mobile-polish .entry-content li,
  body.mz-buy-mobile-polish .entry-content li span,
  body.mz-buy-mobile-polish .entry-content div:not(.ngg-galleryoverview):not(.ngg-gallery-thumbnail),
  body.mz-buy-mobile-polish .entry-content div:not(.ngg-galleryoverview):not(.ngg-gallery-thumbnail) span {
    font-size: 16px !important;
    line-height: 1.56 !important;
  }

  body.mz-buy-mobile-polish .entry-content h1,
  body.mz-buy-mobile-polish .entry-content h1 span {
    font-size: 27px !important;
    line-height: 1.18 !important;
    letter-spacing: -0.015em;
  }

  body.mz-buy-mobile-polish .entry-content h2,
  body.mz-buy-mobile-polish .entry-content h2 span {
    font-size: 23px !important;
    line-height: 1.22 !important;
    letter-spacing: -0.01em;
  }

  body.mz-buy-mobile-polish .entry-content p {
    margin-top: 0;
    margin-bottom: 16px;
    overflow-wrap: anywhere;
  }

  body.mz-buy-mobile-polish .entry-content strong {
    font-weight: 600;
  }

  /* Artwork facts: compact enough that Size / Series / Price usually remain on one line. */
  body.mz-buy-mobile-polish .entry-content .mz-buy-meta,
  body.mz-buy-mobile-polish .entry-content .mz-buy-meta span,
  body.mz-buy-mobile-polish .entry-content .mz-buy-meta strong,
  body.mz-buy-mobile-polish .entry-content .mz-buy-meta a {
    font-size: 14.5px !important;
    line-height: 1.48 !important;
  }

  body.mz-buy-mobile-polish .entry-content .mz-buy-meta {
    margin: 14px 0 22px;
    color: inherit;
  }

  body.mz-buy-mobile-polish .entry-content .mz-series-help,
  body.mz-buy-mobile-polish .entry-content .mz-series-help * {
    font-size: 12.5px !important;
    white-space: nowrap;
  }

  /* Images remain dominant and clean. */
  body.mz-buy-mobile-polish .entry-content img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.mz-buy-mobile-polish .entry-content iframe,
  body.mz-buy-mobile-polish .entry-content video {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.mz-buy-mobile-polish .entry-content iframe[src*="youtube"] {
    height: auto !important;
    aspect-ratio: 16 / 9;
  }

  /* Remove the old desktop spacing tricks from the narrow layout. */
  body.mz-buy-mobile-polish .entry-content .mz-buy-mobile-empty {
    display: none !important;
  }

  body.mz-buy-mobile-polish .entry-content hr {
    margin: 34px 0;
    border: 0;
    border-top: 1px solid rgba(0,0,0,.13);
  }

  body.mz-buy-mobile-polish .entry-content hr + hr {
    display: none;
  }

  /* Forms should fit the screen without tiny fields or horizontal scrolling. */
  body.mz-buy-mobile-polish .entry-content input,
  body.mz-buy-mobile-polish .entry-content select,
  body.mz-buy-mobile-polish .entry-content textarea,
  body.mz-buy-mobile-polish .entry-content button {
    max-width: 100%;
    font-size: 16px !important;
  }

  body.mz-buy-mobile-polish .entry-content input[type="text"],
  body.mz-buy-mobile-polish .entry-content input[type="email"],
  body.mz-buy-mobile-polish .entry-content textarea {
    width: 100%;
  }
}
