/* Natural reading guard. Explicit current-main scope only; no viewport-fit font shrinking.
   Product gallery/hero windows and their horizontal gestures are intentionally untouched. */
body:not(.page-home) #main[data-inner-reading="natural"] {
  block-size: auto;
  max-block-size: none;
  overflow: visible;
}
body:not(.page-home) #main[data-inner-reading="natural"] [data-inner-reading-unit] {
  block-size: auto;
  max-block-size: none;
  overflow: visible;
  min-inline-size: 0;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}
body:not(.page-home) #main[data-inner-reading="natural"] [data-inner-reading-unit] > :is(h2,h3,h4) {
  max-inline-size: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}
/* Do not alter the existing product scroll padding / focus privacy guard. */
html:has(body:not(.page-home) #main[data-inner-reading="natural"]:not([data-rec-page^="product/"])) {
  scroll-snap-type: none;
}
/* This prevents snapping an explicitly marked unit; it does not impose a one-screen box.
   Never tag .rec-hero, gallery viewers, details, dialogs or horizontal rails as units. */
