/*
 Theo Properties RC1.0.11.20.8
 Premium Commercial Model & Owner CTA Polish
 Isolated public Explore commercial/pricing + owner CTA + landing image-crop safeguards.
 No workspace, auth, backend, or operational UI changes.
*/

/* ---------- Shared landing image crop safeguards ---------- */
body.guest-mode #explore .hero-property-image,
body.guest-mode #explore .journey-stage-media img,
body.guest-mode #explore .property-photo img,
body.guest-mode #explore .property-media img,
body.guest-mode #explore .detail-photo img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
}
body.guest-mode #explore .category-showcase-card.premium-category-card{
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-position:center center!important;
}
body.guest-mode #explore .category-showcase-card.residential{background-position:center 48%!important}
body.guest-mode #explore .category-showcase-card.commercial{background-position:center 48%!important}
body.guest-mode #explore .category-showcase-card.industrial{background-position:center 46%!important}
body.guest-mode #explore .category-showcase-card.agricultural{background-position:center 50%!important}

/* ---------- Premium commercial section ---------- */
body.guest-mode #explore .commercial-pricing-section{
  display:block!important;
  max-width:1720px!important;
  margin:34px auto 14px!important;
  padding:52px 54px 46px!important;
  border:1px solid rgba(188,139,67,.24)!important;
  border-radius:22px!important;
  background:
    radial-gradient(circle at 84% 16%,rgba(230,240,237,.55),transparent 28%),
    linear-gradient(135deg,#fff 0%,#fcfaf6 66%,#f8fbfa 100%)!important;
  box-shadow:0 18px 52px rgba(18,43,64,.045)!important;
  position:relative!important;
  overflow:hidden!important;
}
body.guest-mode #explore .commercial-pricing-section:before{
  content:""!important;
  position:absolute!important;
  top:0!important;
  left:54px!important;
  width:76px!important;
  height:3px!important;
  background:linear-gradient(90deg,#b77b2c,#dfb76e)!important;
}
body.guest-mode #explore .commercial-pricing-head{
  display:grid!important;
  grid-template-columns:minmax(0,1.22fr) minmax(320px,.78fr)!important;
  gap:58px!important;
  align-items:end!important;
  margin:0 0 34px!important;
}
body.guest-mode #explore .commercial-pricing-head .marketplace-section-kicker{
  display:block!important;
  margin:0 0 13px!important;
  color:#9c6722!important;
  font:800 12px/1.2 Inter,system-ui,sans-serif!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
body.guest-mode #explore .commercial-pricing-head h2{
  margin:0!important;
  color:#112b40!important;
  font:700 clamp(42px,3.2vw,58px)/1.02 "Inter Tight",Inter,system-ui,sans-serif!important;
  letter-spacing:-.045em!important;
  max-width:840px!important;
}
body.guest-mode #explore .commercial-pricing-head>p{
  margin:0 0 4px!important;
  max-width:580px!important;
  color:#667c8d!important;
  font:500 15px/1.55 Inter,system-ui,sans-serif!important;
}
body.guest-mode #explore .commercial-pricing-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
}
body.guest-mode #explore .commercial-price-card{
  position:relative!important;
  min-width:0!important;
  min-height:344px!important;
  padding:28px 28px 24px!important;
  border:1px solid #dbe4e9!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 10px 28px rgba(18,43,64,.045)!important;
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  overflow:hidden!important;
  transform:none!important;
}
body.guest-mode #explore .commercial-price-card:before{
  content:""!important;
  position:absolute!important;
  left:0!important;right:0!important;top:0!important;
  height:3px!important;
  background:#8ca4b1!important;
}
body.guest-mode #explore .commercial-price-card.plan-basic:before{background:#53a89e!important}
body.guest-mode #explore .commercial-price-card.plan-plus{
  border-color:rgba(191,135,54,.42)!important;
  background:linear-gradient(155deg,#fffdf8 0%,#fff7e9 100%)!important;
}
body.guest-mode #explore .commercial-price-card.plan-plus:before{background:linear-gradient(90deg,#a96d1f,#ddb365,#a96d1f)!important}
body.guest-mode #explore .commercial-price-card.plan-pro{
  border-color:#173b52!important;
  background:linear-gradient(155deg,#173b52 0%,#0f2f45 100%)!important;
  box-shadow:0 18px 40px rgba(18,48,70,.16)!important;
}
body.guest-mode #explore .commercial-price-card.plan-pro:before{background:linear-gradient(90deg,#d09a48,#efcf91)!important}
body.guest-mode #explore .price-card-top{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-bottom:24px!important;
}
body.guest-mode #explore .price-card-icon{
  display:grid!important;
  place-items:center!important;
  width:48px!important;
  height:48px!important;
  flex:0 0 48px!important;
  border-radius:13px!important;
  background:#eef4f6!important;
  color:#678394!important;
}
body.guest-mode #explore .plan-basic .price-card-icon{background:#edf7f5!important;color:#278a78!important}
body.guest-mode #explore .plan-plus .price-card-icon{background:#fff0d3!important;color:#a76c1d!important}
body.guest-mode #explore .plan-pro .price-card-icon{background:rgba(255,255,255,.09)!important;color:#edc375!important}
body.guest-mode #explore .price-card-icon svg{width:23px!important;height:23px!important}
body.guest-mode #explore .price-card-top small{
  margin-left:auto!important;
  color:#8b734d!important;
  font:800 10px/1.2 Inter,system-ui,sans-serif!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
body.guest-mode #explore .plan-pro .price-card-top small{color:#eef4f7!important}
body.guest-mode #explore .commercial-price-card>strong{
  display:block!important;
  margin:0 0 13px!important;
  color:#112b40!important;
  font:700 clamp(34px,2.4vw,44px)/1 "Inter Tight",Inter,system-ui,sans-serif!important;
  letter-spacing:-.045em!important;
  white-space:nowrap!important;
}
body.guest-mode #explore .plan-pro>strong{color:#fff!important}
body.guest-mode #explore .commercial-price-card h3{
  margin:0 0 9px!important;
  color:#142f43!important;
  font:700 18px/1.18 "Inter Tight",Inter,system-ui,sans-serif!important;
  letter-spacing:-.02em!important;
}
body.guest-mode #explore .plan-pro h3{color:#fff!important}
body.guest-mode #explore .commercial-price-card>p{
  min-height:0!important;
  margin:0 0 24px!important;
  color:#667d8d!important;
  font:500 13.5px/1.52 Inter,system-ui,sans-serif!important;
}
body.guest-mode #explore .plan-pro>p{color:#c0d0d8!important}
body.guest-mode #explore .price-card-features{
  display:grid!important;
  gap:10px!important;
  margin-top:auto!important;
  padding-top:18px!important;
  border-top:1px solid #e3eaed!important;
}
body.guest-mode #explore .plan-plus .price-card-features{border-top-color:rgba(182,126,48,.2)!important}
body.guest-mode #explore .plan-pro .price-card-features{border-top-color:rgba(255,255,255,.14)!important}
body.guest-mode #explore .price-card-features span{
  position:relative!important;
  padding-left:22px!important;
  color:#536b7a!important;
  font:650 12px/1.35 Inter,system-ui,sans-serif!important;
}
body.guest-mode #explore .price-card-features span:before{
  content:"✓"!important;
  position:absolute!important;
  left:0!important;top:0!important;
  color:#278a78!important;
  font-weight:900!important;
}
body.guest-mode #explore .plan-plus .price-card-features span:before{color:#ae721f!important}
body.guest-mode #explore .plan-pro .price-card-features span{color:#d2dee4!important}
body.guest-mode #explore .plan-pro .price-card-features span:before{color:#edbd6d!important}
body.guest-mode #explore .price-card-badge{
  position:absolute!important;
  top:18px!important;
  right:18px!important;
  padding:6px 9px!important;
  border-radius:6px!important;
  background:#173b52!important;
  color:#fff!important;
  font:800 9px/1 Inter,system-ui,sans-serif!important;
  letter-spacing:.11em!important;
  text-transform:uppercase!important;
  z-index:3!important;
}
body.guest-mode #explore .plan-plus .price-card-top{padding-right:98px!important}

/* ---------- Full management band ---------- */
body.guest-mode #explore .commercial-management-strip{
  margin-top:18px!important;
  padding:18px 22px!important;
  border:1px solid rgba(255,255,255,.06)!important;
  border-radius:14px!important;
  background:linear-gradient(110deg,#112f45 0%,#163d55 100%)!important;
  box-shadow:none!important;
  color:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:26px!important;
}
body.guest-mode #explore .commercial-management-strip>div{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  min-width:0!important;
}
body.guest-mode #explore .commercial-management-strip>div>span{
  display:grid!important;
  place-items:center!important;
  width:40px!important;
  height:40px!important;
  flex:0 0 40px!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.08)!important;
  color:#efc477!important;
}
body.guest-mode #explore .commercial-management-strip>div>span svg{width:21px!important;height:21px!important}
body.guest-mode #explore .commercial-management-strip strong{
  display:block!important;
  color:#fff!important;
  font:700 15px/1.2 Inter,system-ui,sans-serif!important;
}
body.guest-mode #explore .commercial-management-strip p{
  margin:4px 0 0!important;
  color:#bdcdd5!important;
  font:500 12.5px/1.45 Inter,system-ui,sans-serif!important;
}
body.guest-mode #explore .commercial-management-strip>b{
  flex:0 0 auto!important;
  color:#efc477!important;
  font:800 17px/1.2 Inter,system-ui,sans-serif!important;
  white-space:nowrap!important;
}

/* ---------- Owner CTA ---------- */
body.guest-mode #explore .marketplace-owner-cta{
  display:flex!important;
  max-width:1610px!important;
  margin:12px auto 56px!important;
  padding:27px 32px!important;
  min-height:118px!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:38px!important;
  border:1px solid rgba(225,185,119,.24)!important;
  border-radius:14px!important;
  background:linear-gradient(110deg,#102f45 0%,#173e56 100%)!important;
  box-shadow:0 14px 34px rgba(18,43,64,.09)!important;
  overflow:hidden!important;
  position:relative!important;
}
body.guest-mode #explore .marketplace-owner-cta:before{
  content:""!important;
  position:absolute!important;
  left:0!important;top:0!important;bottom:0!important;
  width:3px!important;
  background:#d29b4b!important;
}
body.guest-mode #explore .marketplace-owner-cta .owner-cta-copy{max-width:780px!important}
body.guest-mode #explore .marketplace-owner-cta .marketplace-section-kicker{
  margin:0 0 7px!important;
  color:#edbf72!important;
  font:800 10.5px/1.2 Inter,system-ui,sans-serif!important;
  letter-spacing:.12em!important;
}
body.guest-mode #explore .marketplace-owner-cta h2{
  margin:0 0 5px!important;
  color:#fff!important;
  font:700 22px/1.15 "Inter Tight",Inter,system-ui,sans-serif!important;
  letter-spacing:-.025em!important;
}
body.guest-mode #explore .marketplace-owner-cta p{
  margin:0!important;
  max-width:700px!important;
  color:#b9cad3!important;
  font:500 12.5px/1.45 Inter,system-ui,sans-serif!important;
}
body.guest-mode #explore .marketplace-owner-cta .cta-actions{
  display:grid!important;
  grid-template-columns:142px 142px!important;
  gap:10px!important;
  width:auto!important;
  flex:0 0 auto!important;
}
body.guest-mode #explore .marketplace-owner-cta .cta-actions .button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  height:44px!important;
  min-height:44px!important;
  padding:0 15px!important;
  border-radius:8px!important;
  font:700 12px/1 Inter,system-ui,sans-serif!important;
  white-space:nowrap!important;
}
body.guest-mode #explore .marketplace-owner-cta .owner-cta-primary{
  background:#fff!important;
  color:#112f45!important;
  border:1px solid #fff!important;
}
body.guest-mode #explore .marketplace-owner-cta .owner-cta-secondary{
  background:transparent!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.34)!important;
}

/* ---------- Compact desktop / iPad landscape ---------- */
@media (min-width:900px) and (max-width:1180px){
  body.guest-mode #explore .commercial-pricing-section{
    margin:28px 18px 12px!important;
    padding:42px 30px 36px!important;
    border-radius:18px!important;
  }
  body.guest-mode #explore .commercial-pricing-section:before{left:30px!important}
  body.guest-mode #explore .commercial-pricing-head{
    grid-template-columns:1fr!important;
    gap:14px!important;
    margin-bottom:26px!important;
  }
  body.guest-mode #explore .commercial-pricing-head h2{font-size:42px!important;max-width:760px!important}
  body.guest-mode #explore .commercial-pricing-head>p{font-size:14px!important;max-width:760px!important}
  body.guest-mode #explore .commercial-pricing-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
  }
  body.guest-mode #explore .commercial-price-card{min-height:300px!important;padding:24px!important}
  body.guest-mode #explore .commercial-price-card>strong{font-size:38px!important}
  body.guest-mode #explore .commercial-management-strip{padding:16px 18px!important}
  body.guest-mode #explore .marketplace-owner-cta{
    margin:12px 18px 46px!important;
    padding:24px 26px!important;
  }
}

/* ---------- iPad portrait ---------- */
@media (min-width:701px) and (max-width:899px){
  body.guest-mode #explore .commercial-pricing-section{
    margin:24px 16px 10px!important;
    padding:38px 24px 32px!important;
    border-radius:18px!important;
  }
  body.guest-mode #explore .commercial-pricing-section:before{left:24px!important;width:58px!important}
  body.guest-mode #explore .commercial-pricing-head{
    grid-template-columns:1fr!important;
    gap:13px!important;
    margin-bottom:24px!important;
  }
  body.guest-mode #explore .commercial-pricing-head h2{font-size:38px!important;max-width:680px!important}
  body.guest-mode #explore .commercial-pricing-head>p{font-size:14px!important;max-width:660px!important}
  body.guest-mode #explore .commercial-pricing-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:13px!important;
  }
  body.guest-mode #explore .commercial-price-card{
    min-height:304px!important;
    padding:23px 21px 21px!important;
    border-radius:15px!important;
  }
  body.guest-mode #explore .price-card-icon{width:44px!important;height:44px!important;flex-basis:44px!important;border-radius:11px!important}
  body.guest-mode #explore .price-card-icon svg{width:21px!important;height:21px!important}
  body.guest-mode #explore .commercial-price-card>strong{font-size:35px!important}
  body.guest-mode #explore .commercial-price-card h3{font-size:17px!important}
  body.guest-mode #explore .commercial-management-strip{
    padding:16px 17px!important;
    align-items:flex-start!important;
  }
  body.guest-mode #explore .commercial-management-strip>b{font-size:15px!important}
  body.guest-mode #explore .marketplace-owner-cta{
    margin:12px 16px 44px!important;
    padding:24px!important;
    min-height:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:24px!important;
  }
}

/* ---------- iPhone / compact phone ---------- */
@media (max-width:700px){
  body.guest-mode #explore .commercial-pricing-section{
    margin:20px 10px 10px!important;
    padding:30px 14px 26px!important;
    border-radius:15px!important;
    overflow:hidden!important;
  }
  body.guest-mode #explore .commercial-pricing-section:before{left:14px!important;width:48px!important}
  body.guest-mode #explore .commercial-pricing-head{
    display:block!important;
    margin-bottom:21px!important;
  }
  body.guest-mode #explore .commercial-pricing-head h2{
    margin:0 0 12px!important;
    font-size:32px!important;
    line-height:1.04!important;
    max-width:none!important;
  }
  body.guest-mode #explore .commercial-pricing-head>p{
    max-width:none!important;
    font-size:13.5px!important;
    line-height:1.5!important;
  }
  body.guest-mode #explore .commercial-pricing-grid{
    display:flex!important;
    grid-template-columns:none!important;
    gap:11px!important;
    margin:0 -14px!important;
    padding:0 14px 9px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;
    scroll-padding-inline:14px!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.guest-mode #explore .commercial-pricing-grid::-webkit-scrollbar{display:none!important}
  body.guest-mode #explore .commercial-price-card{
    flex:0 0 84%!important;
    width:84%!important;
    min-height:328px!important;
    padding:22px 20px 20px!important;
    border-radius:14px!important;
    scroll-snap-align:start!important;
  }
  body.guest-mode #explore .price-card-top{margin-bottom:20px!important}
  body.guest-mode #explore .price-card-icon{width:42px!important;height:42px!important;flex-basis:42px!important;border-radius:10px!important}
  body.guest-mode #explore .price-card-icon svg{width:20px!important;height:20px!important}
  body.guest-mode #explore .commercial-price-card>strong{font-size:36px!important;margin-bottom:12px!important}
  body.guest-mode #explore .commercial-price-card h3{font-size:17px!important}
  body.guest-mode #explore .commercial-price-card>p{font-size:13px!important;margin-bottom:21px!important}
  body.guest-mode #explore .price-card-features span{font-size:11.5px!important}
  body.guest-mode #explore .price-card-badge{top:15px!important;right:15px!important;font-size:8.5px!important}
  body.guest-mode #explore .plan-plus .price-card-top{padding-right:90px!important}
  body.guest-mode #explore .commercial-management-strip{
    margin-top:14px!important;
    padding:16px!important;
    border-radius:12px!important;
    display:grid!important;
    gap:13px!important;
    align-items:start!important;
  }
  body.guest-mode #explore .commercial-management-strip>div{align-items:flex-start!important}
  body.guest-mode #explore .commercial-management-strip>div>span{width:36px!important;height:36px!important;flex-basis:36px!important;border-radius:9px!important}
  body.guest-mode #explore .commercial-management-strip strong{font-size:14px!important}
  body.guest-mode #explore .commercial-management-strip p{font-size:12px!important}
  body.guest-mode #explore .commercial-management-strip>b{
    padding-left:50px!important;
    font-size:15px!important;
    white-space:normal!important;
  }
  body.guest-mode #explore .marketplace-owner-cta{
    display:grid!important;
    grid-template-columns:1fr!important;
    margin:10px 10px 38px!important;
    padding:22px 18px!important;
    min-height:0!important;
    gap:18px!important;
    border-radius:12px!important;
  }
  body.guest-mode #explore .marketplace-owner-cta h2{font-size:21px!important}
  body.guest-mode #explore .marketplace-owner-cta p{font-size:12.5px!important}
  body.guest-mode #explore .marketplace-owner-cta .cta-actions{
    grid-template-columns:1fr!important;
    gap:9px!important;
    width:100%!important;
  }
  body.guest-mode #explore .marketplace-owner-cta .cta-actions .button{
    width:100%!important;
    height:44px!important;
    min-height:44px!important;
  }
  /* phone image focal safeguards */
  body.guest-mode #explore .hero-property-image{object-position:center 46%!important}
  body.guest-mode #explore .journey-stage-media img{object-position:center 44%!important}
  body.guest-mode #explore .property-photo img,
  body.guest-mode #explore .property-media img{object-position:center center!important}
}

/* ---------- iPhone landscape ---------- */
@media (max-width:900px) and (orientation:landscape) and (max-height:520px){
  body.guest-mode #explore .commercial-pricing-section{padding-top:26px!important}
  body.guest-mode #explore .commercial-pricing-head h2{font-size:30px!important}
  body.guest-mode #explore .commercial-price-card{flex-basis:48%!important;width:48%!important;min-height:300px!important}
  body.guest-mode #explore .marketplace-owner-cta{grid-template-columns:minmax(0,1fr) 250px!important;align-items:center!important}
  body.guest-mode #explore .marketplace-owner-cta .cta-actions{grid-template-columns:1fr 1fr!important}
}

@media (prefers-reduced-motion:reduce){
  body.guest-mode #explore .commercial-price-card{transition:none!important}
}
