/* Offer page rails under the product («Inspiratsioon ja avastusrõõm», «Viimati vaadatud»). The page sits in the 1500 px
   .view-content.-listing-details column; the rails break out of it to the edges of the header, the Ilumaailm boxes and
   the logo band: --site-max minus 24 px a side, 8 px app padding. --offer-sb = scrollbar width (details.blade.php). */
@media (min-width: 768px) {
  .view-content.-listing-details .offer-rails {
    --or-w: min(calc(100vw - var(--offer-sb, 0px) - 64px), calc(var(--site-max, 1800px) - 48px));
    width: var(--or-w);
    margin-left: calc(50% - var(--or-w) / 2);
  }
}
/* xl: .container-fluid has no left padding but keeps 12 px on the right (_layout.scss), so #pageContents sits 6 px left of centre */
@media (min-width: 1200px) {
  .view-content.-listing-details .offer-rails { margin-left: calc(50% + 6px - var(--or-w) / 2); }
}
