/* Theo Properties RC1.0.15.102
   Large Desktop Premium Rhythm & Centered Heading Lock
   Scope: >=1800px only.
   Purpose: final large-desktop refinement while preserving all mobile/tablet/laptop work. */

@media (min-width:1800px){
  :root{
    --tp102-shell:min(1600px, calc(100vw - 128px));
    --tp102-gap:24px;
    --tp102-line:rgba(18,55,75,.10);
  }

  /* One large-screen marketplace rail. */
  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,
  body.theo-app #explore .how-theo-works.how-theo-works-v2,
  body.guest-mode #explore .how-theo-works.how-theo-works-v2,
  body.theo-app #explore .commercial-pricing-section,
  body.guest-mode #explore .commercial-pricing-section,
  body.theo-app #explore .marketplace-owner-cta,
  body.guest-mode #explore .marketplace-owner-cta{
    width:var(--tp102-shell)!important;
    max-width:var(--tp102-shell)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }

  /* Premium large-screen rhythm: reduce dead space without crowding. */
  body.theo-app #explore .marketplace-category-showcase,
  body.guest-mode #explore .marketplace-category-showcase{
    margin-top:0!important;
    margin-bottom:0!important;
    padding-top:34px!important;
    padding-bottom:34px!important;
  }
  body.theo-app #explore .theo-featured-marketplace,
  body.guest-mode #explore .theo-featured-marketplace{
    margin-top:32px!important;
    margin-bottom:38px!important;
  }
  body.theo-app #explore #available-properties.marketplace-results,
  body.guest-mode #explore #available-properties.marketplace-results{
    margin-top:0!important;
    margin-bottom:0!important;
    padding-top:32px!important;
    padding-bottom:38px!important;
  }
  body.theo-app #explore .how-theo-works.how-theo-works-v2,
  body.guest-mode #explore .how-theo-works.how-theo-works-v2{
    margin-top:28px!important;
    margin-bottom:38px!important;
    padding-top:30px!important;
    padding-bottom:28px!important;
  }
  body.theo-app #explore .commercial-pricing-section,
  body.guest-mode #explore .commercial-pricing-section{
    margin-top:28px!important;
    margin-bottom:30px!important;
    padding-top:34px!important;
    padding-bottom:32px!important;
  }
  body.theo-app #explore .marketplace-owner-cta,
  body.guest-mode #explore .marketplace-owner-cta{
    margin-top:26px!important;
    margin-bottom:36px!important;
  }
  body.theo-app #explore .theo-section-break,
  body.theo-app #explore .theo-section-break-wide,
  body.guest-mode #explore .theo-section-break,
  body.guest-mode #explore .theo-section-break-wide{
    margin-top:20px!important;
    margin-bottom:20px!important;
  }

  /* Shared centred heading language. */
  body.theo-app #explore #category-showcase-title,
  body.guest-mode #explore #category-showcase-title,
  body.theo-app #explore .theo-featured-head h2,
  body.guest-mode #explore .theo-featured-head h2,
  body.theo-app #explore #available-properties .marketplace-results-head h2,
  body.guest-mode #explore #available-properties .marketplace-results-head h2,
  body.theo-app #explore .how-theo-works-v2 .journey-intro h2,
  body.guest-mode #explore .how-theo-works-v2 .journey-intro h2,
  body.theo-app #explore .commercial-pricing-head h2,
  body.guest-mode #explore .commercial-pricing-head h2{
    width:100%!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
    letter-spacing:-.04em!important;
    word-spacing:-.02em!important;
    line-height:1.02!important;
    white-space:nowrap!important;
    text-wrap:nowrap!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    hyphens:none!important;
  }

  /* Property classes. */
  body.theo-app #explore .category-showcase-head,
  body.guest-mode #explore .category-showcase-head{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    gap:0!important;
    margin-bottom:22px!important;
    padding:0 0 18px!important;
  }
  body.theo-app #explore .category-showcase-head>div,
  body.guest-mode #explore .category-showcase-head>div{
    width:100%!important;
    max-width:none!important;
    padding:0!important;
    text-align:center!important;
  }
  body.theo-app #explore .category-showcase-head .marketplace-section-kicker,
  body.guest-mode #explore .category-showcase-head .marketplace-section-kicker{
    text-align:center!important;
    margin:0 0 9px!important;
  }
  body.theo-app #explore #category-showcase-title,
  body.guest-mode #explore #category-showcase-title{
    font-size:clamp(42px,2.55vw,52px)!important;
  }
  body.theo-app #explore .category-showcase-head>p,
  body.guest-mode #explore .category-showcase-head>p{
    max-width:860px!important;
    margin:10px auto 0!important;
    text-align:center!important;
  }
  body.theo-app #explore .category-showcase-view-all,
  body.guest-mode #explore .category-showcase-view-all{
    position:static!important;
    inset:auto!important;
    transform:none!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:12px auto 0!important;
  }
  body.theo-app #explore .category-showcase-grid,
  body.guest-mode #explore .category-showcase-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:var(--tp102-gap)!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
  }
  body.theo-app #explore .category-showcase-grid>* ,
  body.guest-mode #explore .category-showcase-grid>*{
    min-width:0!important;
    width:auto!important;
    max-width:none!important;
  }

  /* Featured inventory. */
  body.theo-app #explore .theo-featured-head,
  body.guest-mode #explore .theo-featured-head{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    gap:0!important;
    margin-bottom:22px!important;
  }
  body.theo-app #explore .theo-featured-head-copy,
  body.guest-mode #explore .theo-featured-head-copy{
    width:100%!important;
    text-align:center!important;
  }
  body.theo-app #explore .theo-featured-head h2,
  body.guest-mode #explore .theo-featured-head h2{
    font-size:clamp(38px,2.2vw,46px)!important;
  }
  body.theo-app #explore .theo-featured-head p,
  body.guest-mode #explore .theo-featured-head p{
    max-width:760px!important;
    margin:8px auto 0!important;
    text-align:center!important;
  }
  body.theo-app #explore .theo-featured-view-all,
  body.guest-mode #explore .theo-featured-view-all{
    margin:12px auto 0!important;
  }
  body.theo-app #explore .theo-featured-grid,
  body.guest-mode #explore .theo-featured-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:var(--tp102-gap)!important;
    width:100%!important;
    max-width:100%!important;
    align-items:stretch!important;
    overflow:visible!important;
  }
  body.theo-app #explore .theo-featured-grid>.premium-property-card,
  body.guest-mode #explore .theo-featured-grid>.premium-property-card{
    min-width:0!important;
    width:auto!important;
    max-width:none!important;
    height:100%!important;
    margin:0!important;
  }
  body.theo-app #explore .theo-featured-grid .premium-property-card .property-photo.property-gallery,
  body.guest-mode #explore .theo-featured-grid .premium-property-card .property-photo.property-gallery,
  body.theo-app #explore .theo-featured-grid .premium-property-card .property-photo-overlay,
  body.guest-mode #explore .theo-featured-grid .premium-property-card .property-photo-overlay{
    aspect-ratio:16/9!important;
    min-height:0!important;
  }

  /* Explore rentals: centred title, controls beneath, three large tiles. */
  body.theo-app #explore #available-properties .marketplace-results-head,
  body.guest-mode #explore #available-properties .marketplace-results-head{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    gap:12px!important;
    margin-bottom:14px!important;
    padding-bottom:14px!important;
  }
  body.theo-app #explore #available-properties .marketplace-results-head>div:first-child,
  body.guest-mode #explore #available-properties .marketplace-results-head>div:first-child{
    width:100%!important;
    text-align:center!important;
  }
  body.theo-app #explore #available-properties .marketplace-results-head h2,
  body.guest-mode #explore #available-properties .marketplace-results-head h2{
    font-size:clamp(38px,2.15vw,45px)!important;
  }
  body.theo-app #explore #available-properties .marketplace-results-actions,
  body.guest-mode #explore #available-properties .marketplace-results-actions,
  body.theo-app #explore #available-properties .alert-actions,
  body.guest-mode #explore #available-properties .alert-actions{
    justify-content:center!important;
    align-self:center!important;
  }
  body.theo-app #explore #available-properties .marketplace-results-description,
  body.guest-mode #explore #available-properties .marketplace-results-description{
    max-width:900px!important;
    margin:0 auto 20px!important;
    text-align:center!important;
  }
  body.theo-app #explore #available-properties .property-grid,
  body.guest-mode #explore #available-properties .property-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:var(--tp102-gap)!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
  }
  body.theo-app #explore #available-properties .property-grid>.premium-property-card,
  body.guest-mode #explore #available-properties .property-grid>.premium-property-card{
    min-width:0!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
  }
  body.theo-app #explore #available-properties .premium-property-card .property-photo.property-gallery,
  body.guest-mode #explore #available-properties .premium-property-card .property-photo.property-gallery,
  body.theo-app #explore #available-properties .premium-property-card .property-photo-overlay,
  body.guest-mode #explore #available-properties .premium-property-card .property-photo-overlay{
    aspect-ratio:16/9!important;
    min-height:0!important;
  }

  /* Connected Journey: centre the editorial intro, retain the horizontal 5-step strip. */
  body.theo-app #explore .how-theo-works-v2 .journey-intro,
  body.guest-mode #explore .how-theo-works-v2 .journey-intro{
    display:grid!important;
    grid-template-columns:1fr!important;
    justify-items:center!important;
    text-align:center!important;
    gap:8px!important;
    margin-bottom:20px!important;
    padding-bottom:18px!important;
  }
  body.theo-app #explore .how-theo-works-v2 .journey-intro h2,
  body.guest-mode #explore .how-theo-works-v2 .journey-intro h2{
    font-size:clamp(40px,2.35vw,49px)!important;
  }
  body.theo-app #explore .how-theo-works-v2 .journey-intro p,
  body.guest-mode #explore .how-theo-works-v2 .journey-intro p{
    max-width:860px!important;
    margin:2px auto 0!important;
    text-align:center!important;
  }

  /* Commercial pricing: centred editorial lead and four aligned cards. */
  body.theo-app #explore .commercial-pricing-head,
  body.guest-mode #explore .commercial-pricing-head{
    display:grid!important;
    grid-template-columns:1fr!important;
    justify-items:center!important;
    text-align:center!important;
    gap:8px!important;
    margin-bottom:22px!important;
  }
  body.theo-app #explore .commercial-pricing-head h2,
  body.guest-mode #explore .commercial-pricing-head h2{
    font-size:clamp(42px,2.55vw,52px)!important;
  }
  body.theo-app #explore .commercial-pricing-head>p,
  body.guest-mode #explore .commercial-pricing-head>p{
    max-width:860px!important;
    margin:2px auto 0!important;
    text-align:center!important;
    justify-self:center!important;
  }
  body.theo-app #explore .commercial-pricing-grid,
  body.guest-mode #explore .commercial-pricing-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:22px!important;
    align-items:stretch!important;
    width:100%!important;
    max-width:100%!important;
  }
  body.theo-app #explore .commercial-pricing-grid>.commercial-price-card,
  body.guest-mode #explore .commercial-pricing-grid>.commercial-price-card{
    min-width:0!important;
    width:100%!important;
    max-width:none!important;
    height:100%!important;
    margin:0!important;
    transform:none!important;
    align-self:stretch!important;
  }
  body.theo-app #explore .commercial-pricing-grid>.commercial-price-card.plan-plus,
  body.guest-mode #explore .commercial-pricing-grid>.commercial-price-card.plan-plus,
  body.theo-app #explore .commercial-pricing-grid>.commercial-price-card.plan-pro,
  body.guest-mode #explore .commercial-pricing-grid>.commercial-price-card.plan-pro{
    transform:none!important;
    grid-column:auto!important;
  }
}
