/* Shared outer edge for the header, page sections and footer. */
:root {
  --frame-width:92%;
  --frame-start:auto;
}
@media (min-width:1024px) {
  :root { --frame-width:calc(100% - 48px); }
}
@media (min-width:1051px) {
  :root { --frame-width:calc(100% - 80px); }
}
@media (min-width:1280px) {
  :root {
    --story-base-width:min(1280px, calc(100vw - 80px));
    --story-left-shift:clamp(0px, calc((100vw - var(--story-base-width)) / 2 - 24px), 80px);
    --frame-width:calc(var(--story-base-width) + var(--story-left-shift));
    --frame-start:calc((100% - var(--story-base-width)) / 2 - var(--story-left-shift));
  }
}
body.responsive :is(.top, main, .site-footer) .wrap:not(:where(.wrap .wrap)),
body.responsive main .pdp-published .pdp-shot {
  width:var(--frame-width);
  max-width:none;
  margin-inline:var(--frame-start) auto;
}

body.responsive main .pdp-published .pdp-shot .pdp-over .wrap {
  width:100%;
  margin-inline:0;
}
