/* Theo Properties RC1.0.10.14 — Workflow Integrity & Production Cleanup */

/* Property-class cards: restore real imagery. RC1.0.10.12's generic surface override
   suppressed the intended card background images and left a grey/dark gradient. */
.marketplace-category-showcase .category-showcase-card.premium-category-card{
  background-color:#dfe6e8!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-position:center!important;
  border-color:rgba(30,58,76,.12)!important;
}
.marketplace-category-showcase .category-showcase-card.premium-category-card.residential{background-image:url('./showcase-houses/house-06.webp')!important;background-position:center 48%!important}
.marketplace-category-showcase .category-showcase-card.premium-category-card.commercial{background-image:url('./commercial.webp')!important}
.marketplace-category-showcase .category-showcase-card.premium-category-card.industrial{background-image:url('./industrial.webp')!important}
.marketplace-category-showcase .category-showcase-card.premium-category-card.agricultural{background-image:url('./farm.webp')!important}
.marketplace-category-showcase .category-showcase-card.premium-category-card::before{
  z-index:0!important;
  background:linear-gradient(180deg,rgba(8,26,40,.04) 8%,rgba(8,26,40,.16) 48%,rgba(8,26,40,.80) 100%)!important;
  pointer-events:none!important;
}
.marketplace-category-showcase .category-showcase-card.premium-category-card::after{z-index:3!important}
.marketplace-category-showcase .category-showcase-card.premium-category-card>.premium-category-card-inner{
  z-index:2!important;
  min-height:100%!important;
  color:#fff!important;
  background:none!important;
}
.marketplace-category-showcase .premium-category-copy>span{color:#e4b66d!important}
.marketplace-category-showcase .premium-category-copy>strong{color:#fff!important;text-shadow:0 1px 12px rgba(0,0,0,.28)!important}
.marketplace-category-showcase .premium-category-copy>small{color:rgba(242,247,249,.82)!important;text-shadow:0 1px 9px rgba(0,0,0,.24)!important}
.marketplace-category-showcase .premium-category-arrow{color:#f0c47d!important}
.marketplace-category-showcase .premium-category-icon{background:rgba(255,255,255,.90)!important;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
@media (min-width:1101px){.marketplace-category-showcase[data-category-carousel] .category-showcase-card.premium-category-card{aspect-ratio:4/3!important;min-height:230px!important}}
@media (max-width:1100px){.marketplace-category-showcase[data-category-carousel] .category-showcase-card.premium-category-card{aspect-ratio:16/9!important;min-height:190px!important}}

/* Prevent the old inner gradient rule from obscuring restored photography. */
.marketplace-category-showcase[data-category-carousel] .category-showcase-card.premium-category-card>div{background:none!important;left:auto!important;right:auto!important;bottom:auto!important;padding:22px!important}
@media (max-width:700px){.marketplace-category-showcase[data-category-carousel] .category-showcase-card.premium-category-card>div{padding:18px!important}}

/* Production account status state */
.account-status-blocked{max-width:620px;margin:24px auto;padding:20px;border:1px solid #e5d0c2;border-radius:16px;background:#fff8f3;color:#5d3629}

/* Existing property gallery management */
.property-upload-existing>div{align-items:start}
.property-upload-existing .property-existing-image{min-width:0;display:grid;gap:5px;padding:5px;border:1px solid #d8e0e4;border-radius:8px;background:#fff}
.property-upload-existing .property-existing-image.is-cover{border-color:#bf8a42;box-shadow:0 0 0 1px rgba(191,138,66,.12)}
.property-upload-existing .property-existing-thumb{display:block;height:68px;border-radius:5px;background-size:cover;background-position:center}
.property-upload-existing .property-existing-image small{font-size:9.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#6d7a82}
.property-upload-existing .property-existing-image.is-cover small{color:#98672f}
.property-existing-actions{display:flex;flex-wrap:wrap;gap:4px}
.property-existing-actions button{min-height:26px;padding:4px 7px;border:1px solid #d8e0e4;border-radius:7px;background:#fff;color:#284052;font:inherit;font-size:9.5px;font-weight:750;cursor:pointer}
.property-existing-actions button:hover{border-color:#a97739;color:#7b5528}
.property-existing-actions .danger-link{color:#8b4037;border-color:#ead4d0}

/* Production admin guard: hide legacy browser-local configuration surfaces until
   they are backed by production services. Revenue & Billing exposes the live catalogue. */
body.theo-admin .nav-item[data-page="moderation"],
body.theo-admin .nav-item[data-page="pricing"],
body.theo-admin .nav-item[data-page="matching"],
body.theo-admin .nav-item[data-page="notifications"],
body.theo-admin .nav-item[data-page="analytics"],
body.theo-admin .nav-item[data-page="settings"],
body.theo-admin .nav-item[data-page="audit"]{display:none!important}
