/* Theo Properties RC1.0.15.130.1 — MacBook Marketplace Gutter & Card Rail Lock
   Scope: public marketplace, laptop/MacBook widths 1181px–1799px only.
   Purpose: restore premium desktop breathing room between marketplace card rails
   and the browser edges without changing tablet/mobile composition, card internals,
   grid count, image ratios, or functional behaviour. */

@media (min-width:1181px) and (max-width:1799px){
  :root{
    --tp1301-marketplace-gutter:clamp(64px,5vw,80px);
  }

  /* Use one consistent MacBook rail for all marketplace inventory sections. */
  body.theo-app #explore .marketplace-category-showcase,
  body.guest-mode #explore .marketplace-category-showcase,
  body.theo-app #explore .theo-featured-marketplace,
  body.guest-mode #explore .theo-featured-marketplace,
  body.theo-app #explore #available-properties.marketplace-results,
  body.guest-mode #explore #available-properties.marketplace-results{
    padding-left:var(--tp1301-marketplace-gutter)!important;
    padding-right:var(--tp1301-marketplace-gutter)!important;
    box-sizing:border-box!important;
  }

  /* Keep the existing three-card laptop grid and its approved internal spacing. */
  body.theo-app #explore .theo-featured-grid,
  body.guest-mode #explore .theo-featured-grid,
  body.theo-app #explore #available-properties .property-grid,
  body.guest-mode #explore #available-properties .property-grid{
    width:100%!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}
