/* Theo Properties RC1.0.11.20.2
   Premium Property Class Showcase & Responsive Hero Lock
   Isolated landing-page presentation only. */

/* Keep the approved hero photography clean and unobstructed. */
body.guest-mode #explore .hero-visual-copy,
body.guest-mode #explore .hero-visual-shade,
body.guest-mode #explore .hero-visual-types{
  display:none!important;
}

body.guest-mode #explore .marketplace-hero-visual{
  overflow:hidden!important;
  background:#eef2f4!important;
}
body.guest-mode #explore .hero-property-image{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  transform:none!important;
}

/* Premium property-class showcase */
body.guest-mode #explore .marketplace-category-showcase{
  max-width:1720px!important;
  margin:0 auto!important;
  padding:58px 54px 54px!important;
  background:#fbfcfc!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.guest-mode #explore .marketplace-category-showcase:before{
  content:"";
  display:block;
  width:52px;
  height:2px;
  margin:0 0 38px!important;
  background:linear-gradient(90deg,#c99548 0 58%,rgba(201,149,72,.22) 58% 100%);
}
body.guest-mode #explore .category-showcase-head{
  display:grid!important;
  grid-template-columns:minmax(0,.95fr) minmax(420px,1.15fr)!important;
  grid-template-areas:"copy title"!important;
  align-items:end!important;
  gap:48px!important;
  margin:0 0 30px!important;
  padding:0 0 28px!important;
  border-bottom:1px solid rgba(18,48,70,.11)!important;
}
body.guest-mode #explore .category-showcase-head>div{
  grid-area:title!important;
  min-width:0!important;
}
body.guest-mode #explore .category-showcase-head>p{
  grid-area:copy!important;
  justify-self:start!important;
  align-self:end!important;
  max-width:630px!important;
  margin:0!important;
  color:#657a89!important;
  font:500 16px/1.48 Inter,system-ui,sans-serif!important;
}
body.guest-mode #explore .category-showcase-head .marketplace-section-kicker{
  display:block!important;
  margin:0 0 13px!important;
  color:#a86f25!important;
  font:800 12px/1.2 Inter,system-ui,sans-serif!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
body.guest-mode #explore .category-showcase-head h2{
  margin:0!important;
  max-width:none!important;
  color:#112b40!important;
  font:700 clamp(32px,2.3vw,44px)/1.08 "Inter Tight",Inter,system-ui,sans-serif!important;
  letter-spacing:-.035em!important;
  white-space:nowrap!important;
}

body.guest-mode #explore .category-showcase-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
  overflow:visible!important;
  padding:0!important;
  background:none!important;
  scroll-snap-type:none!important;
}
body.guest-mode #explore .category-showcase-card.premium-category-card{
  position:relative!important;
  isolation:isolate!important;
  min-width:0!important;
  min-height:0!important;
  aspect-ratio:1.42/1!important;
  border:1px solid rgba(18,48,70,.10)!important;
  border-radius:16px!important;
  overflow:hidden!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-position:center center!important;
  box-shadow:0 12px 28px rgba(25,50,68,.08)!important;
  transform:none!important;
}
body.guest-mode #explore .category-showcase-card.premium-category-card.residential{
  background-image:url('./showcase-houses/house-06.webp')!important;
  background-position:center 48%!important;
}
body.guest-mode #explore .category-showcase-card.premium-category-card.commercial{background-image:url('./commercial.webp')!important}
body.guest-mode #explore .category-showcase-card.premium-category-card.industrial{background-image:url('./industrial.webp')!important}
body.guest-mode #explore .category-showcase-card.premium-category-card.agricultural{background-image:url('./farm.webp')!important}
body.guest-mode #explore .category-showcase-card.premium-category-card:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background:linear-gradient(180deg,rgba(8,26,40,.01) 32%,rgba(8,26,40,.16) 58%,rgba(8,26,40,.84) 100%)!important;
  pointer-events:none!important;
}
body.guest-mode #explore .category-showcase-card.premium-category-card:after{
  content:""!important;
  position:absolute!important;
  top:0!important;
  left:26px!important;
  width:62px!important;
  height:3px!important;
  z-index:2!important;
  background:#d19a48!important;
  border-radius:0!important;
  pointer-events:none!important;
}
body.guest-mode #explore .category-showcase-card.premium-category-card>.premium-category-card-inner{
  position:relative!important;
  inset:auto!important;
  z-index:1!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  padding:0!important;
  background:none!important;
}
body.guest-mode #explore .premium-category-icon{
  position:absolute!important;
  top:28px!important;
  left:28px!important;
  display:grid!important;
  place-items:center!important;
  width:64px!important;
  height:64px!important;
  border:1px solid rgba(255,255,255,.72)!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 8px 20px rgba(12,35,51,.10)!important;
  backdrop-filter:blur(8px)!important;
  -webkit-backdrop-filter:blur(8px)!important;
}
body.guest-mode #explore .premium-category-icon svg{
  width:30px!important;
  height:30px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body.guest-mode #explore .residential .premium-category-icon{color:#d7a24e!important}
body.guest-mode #explore .commercial .premium-category-icon{color:#278a78!important}
body.guest-mode #explore .industrial .premium-category-icon{color:#698394!important}
body.guest-mode #explore .agricultural .premium-category-icon{color:#758443!important}
body.guest-mode #explore .premium-category-copy{
  position:absolute!important;
  left:28px!important;
  right:24px!important;
  bottom:24px!important;
  min-width:0!important;
}
body.guest-mode #explore .premium-category-copy>span{
  display:block!important;
  margin:0 0 5px!important;
  color:#e4b467!important;
  font:800 12px/1 Inter,system-ui,sans-serif!important;
  letter-spacing:.12em!important;
}
body.guest-mode #explore .premium-category-copy>strong{
  display:block!important;
  margin:0!important;
  color:#fff!important;
  font:700 clamp(22px,1.55vw,28px)/1.05 "Inter Tight",Inter,system-ui,sans-serif!important;
  letter-spacing:-.025em!important;
  text-shadow:0 2px 14px rgba(0,0,0,.22)!important;
}
body.guest-mode #explore .premium-category-copy>small{
  display:block!important;
  margin:8px 0 0!important;
  color:rgba(255,255,255,.86)!important;
  font:650 11px/1.3 Inter,system-ui,sans-serif!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.guest-mode #explore .premium-category-arrow{display:none!important}
body.guest-mode #explore .category-carousel-controls{display:none!important}

@media (hover:hover) and (pointer:fine){
  body.guest-mode #explore .category-showcase-card.premium-category-card{
    transition:transform .28s ease,box-shadow .28s ease,background-size .55s ease!important;
  }
  body.guest-mode #explore .category-showcase-card.premium-category-card:hover{
    transform:translateY(-3px)!important;
    box-shadow:0 18px 38px rgba(25,50,68,.13)!important;
    background-size:104%!important;
  }
}

/* MacBook compact desktop and iPad landscape */
@media (min-width:900px) and (max-width:1280px){
  body.guest-mode #explore .marketplace-category-showcase{padding:44px 30px 42px!important}
  body.guest-mode #explore .category-showcase-head{
    grid-template-columns:minmax(0,.92fr) minmax(380px,1.08fr)!important;
    gap:34px!important;
  }
  body.guest-mode #explore .category-showcase-head h2{font-size:32px!important}
  body.guest-mode #explore .category-showcase-head>p{font-size:15px!important}
  body.guest-mode #explore .category-showcase-grid{gap:12px!important}
  body.guest-mode #explore .category-showcase-card.premium-category-card{aspect-ratio:1.32/1!important;border-radius:13px!important}
  body.guest-mode #explore .premium-category-icon{top:18px!important;left:18px!important;width:52px!important;height:52px!important;border-radius:13px!important}
  body.guest-mode #explore .premium-category-icon svg{width:25px!important;height:25px!important}
  body.guest-mode #explore .premium-category-copy{left:18px!important;right:14px!important;bottom:17px!important}
  body.guest-mode #explore .premium-category-copy>strong{font-size:20px!important}
  body.guest-mode #explore .premium-category-copy>small{font-size:12px!important;letter-spacing:.035em!important}
}

/* iPad portrait: balanced 2 x 2 presentation */
@media (min-width:701px) and (max-width:899px){
  body.guest-mode #explore .premium-marketplace-hero{
    grid-template-columns:1fr!important;
  }
  body.guest-mode #explore .marketplace-hero-visual{
    display:block!important;
    min-height:0!important;
    height:440px!important;
  }
  body.guest-mode #explore .marketplace-category-showcase{padding:40px 24px 42px!important}
  body.guest-mode #explore .marketplace-category-showcase:before{margin-bottom:28px!important}
  body.guest-mode #explore .category-showcase-head{
    grid-template-columns:1fr!important;
    grid-template-areas:"title" "copy"!important;
    gap:14px!important;
    padding-bottom:22px!important;
  }
  body.guest-mode #explore .category-showcase-head h2{font-size:34px!important;white-space:normal!important}
  body.guest-mode #explore .category-showcase-head>p{max-width:650px!important;font-size:15px!important}
  body.guest-mode #explore .category-showcase-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px!important;
  }
  body.guest-mode #explore .category-showcase-card.premium-category-card{aspect-ratio:1.42/1!important}
  body.guest-mode #explore .premium-category-copy>small{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
}

/* iPhone / compact phones: image remains visible, class cards become swipe rail. */
@media (max-width:700px){
  body.guest-mode #explore .hero-benefit-copy b,
  body.guest-mode #explore .hero-benefit-copy small{font-size:12px!important}
  body.guest-mode #explore .marketplace-hero-visual{
    display:block!important;
    width:100%!important;
    min-height:0!important;
    height:clamp(250px,76vw,340px)!important;
    order:2!important;
    border-radius:0!important;
  }
  body.guest-mode #explore .hero-property-image{
    object-position:center 45%!important;
  }
  body.guest-mode #explore .marketplace-category-showcase{
    margin:0!important;
    padding:34px 17px 38px!important;
  }
  body.guest-mode #explore .marketplace-category-showcase:before{
    width:40px!important;
    margin-bottom:23px!important;
  }
  body.guest-mode #explore .category-showcase-head{
    display:block!important;
    margin-bottom:20px!important;
    padding-bottom:18px!important;
  }
  body.guest-mode #explore .category-showcase-head .marketplace-section-kicker{font-size:12px!important;margin-bottom:9px!important}
  body.guest-mode #explore .category-showcase-head h2{
    font-size:29px!important;
    line-height:1.08!important;
    white-space:normal!important;
  }
  body.guest-mode #explore .category-showcase-head>p{
    display:block!important;
    margin-top:12px!important;
    max-width:none!important;
    font-size:14px!important;
    line-height:1.5!important;
  }
  body.guest-mode #explore .category-showcase-grid{
    display:flex!important;
    grid-template-columns:none!important;
    gap:12px!important;
    margin:0 -17px!important;
    padding:0 17px 9px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;
    scroll-padding-inline:17px!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.guest-mode #explore .category-showcase-grid::-webkit-scrollbar{display:none!important}
  body.guest-mode #explore .category-showcase-card.premium-category-card{
    flex:0 0 84%!important;
    width:84%!important;
    aspect-ratio:1.34/1!important;
    min-height:245px!important;
    border-radius:14px!important;
    scroll-snap-align:start!important;
  }
  body.guest-mode #explore .premium-category-icon{
    top:20px!important;
    left:20px!important;
    width:54px!important;
    height:54px!important;
    border-radius:14px!important;
  }
  body.guest-mode #explore .premium-category-icon svg{width:26px!important;height:26px!important}
  body.guest-mode #explore .premium-category-copy{left:20px!important;right:18px!important;bottom:20px!important}
  body.guest-mode #explore .premium-category-copy>span{font-size:12px!important}
  body.guest-mode #explore .premium-category-copy>strong{font-size:25px!important}
  body.guest-mode #explore .premium-category-copy>small{
    margin-top:6px!important;
    font-size:12px!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
}

/* iPhone landscape: keep photography visible without consuming the entire screen. */
@media (max-width:900px) and (orientation:landscape) and (max-height:520px){
  body.guest-mode #explore .marketplace-hero-visual{height:300px!important}
  body.guest-mode #explore .category-showcase-card.premium-category-card{flex-basis:52%!important;width:52%!important;min-height:220px!important}
}

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