/* KINGS PALACE V6 — focused luxury presentation, built on V5, with existing assets only */
:root{--v6-burgundy:#50142c;--v6-gold:#bb9569;--v6-sand:#f5f0e9;--v6-border:#e9ddd5;--v6-text:#292029}
html{scroll-padding-top:100px;scroll-behavior:smooth}
body{overflow-x:hidden}
:where(.property-card,.service-card,.community-card,.v6-discovery-card) a{outline-offset:3px}
:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #bc955c!important;outline-offset:3px!important}
.nav-actions .lang-switch{min-width:45px;text-align:center}
.site-header{box-shadow:0 4px 22px #3215260c}
.nav-cta,.search-submit,.btn-primary{box-shadow:0 13px 28px #5a143035}
.search-panel .search-tabs{gap:3px;flex-wrap:wrap}
.search-panel .search-tabs a{white-space:nowrap}
.search-panel .search-fields input,.search-panel .search-fields select{max-width:100%}
.advanced-options{scroll-margin-top:115px}
.advanced-options summary:focus-visible{outline-offset:5px}
.hero-home .hero-copy h1{max-width:780px;text-shadow:0 4px 40px #140c17bb}
.hero-home .hero-copy p{max-width:670px}
.hero-search .search-panel{border:1px solid #ffffff5c}
/* Discovery: small curated journey before listing cards */
.v6-discovery{padding:clamp(64px,6.5vw,103px) 0;background:#f4eee7;position:relative;overflow:hidden}
.v6-discovery:before{content:'';pointer-events:none;position:absolute;top:-200px;right:-100px;width:530px;height:530px;border:1px solid #b58f6a26;border-radius:50%;box-shadow:0 0 0 65px #ae8b690c,0 0 0 135px #ae8b6909}
.v6-discovery-top{position:relative;display:flex;align-items:end;justify-content:space-between;gap:35px;margin-bottom:30px}
.v6-discovery-top>div{max-width:800px}.v6-overline{display:block;color:#946a45;font-size:11px;font-weight:800;letter-spacing:.2em;margin-bottom:12px}
.v6-discovery-top h2{font-family:'Playfair Display',Georgia,serif;color:#381722;font-size:clamp(33px,3.8vw,58px);letter-spacing:-.04em;line-height:1.12;margin:0 0 14px}
[lang="ar"] .v6-discovery-top h2{font-family:Tajawal,sans-serif;letter-spacing:0}
.v6-discovery-top p{color:#75696a;font-size:clamp(14px,1.25vw,17px);line-height:1.85;margin:0;max-width:650px}
.v6-text-link{white-space:nowrap;font-size:13px;font-weight:800;letter-spacing:.03em;color:#6e2441;border-bottom:1px solid #ba9572;padding:0 0 7px}
.v6-discovery-grid{position:relative;display:grid;grid-template-columns:1.32fr 1fr 1fr;gap:18px;min-height:360px}
.v6-discovery-card{position:relative;border-radius:15px;min-height:360px;overflow:hidden;background:#251522;color:#fff;display:block;isolation:isolate;box-shadow:0 20px 46px #5230211d}
.v6-discovery-card img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .6s ease,filter .6s ease;filter:saturate(.84)}
.v6-discovery-card:hover img{transform:scale(1.06);filter:saturate(1.06)}
.v6-discovery-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 18%,#1a0813d6 100%)}
.v6-discovery-body{position:absolute;z-index:1;inset-inline:28px;bottom:28px;display:grid;gap:8px}
.v6-discovery-body small{font-size:10px;letter-spacing:.18em;color:#efd8b6;font-weight:750}
.v6-discovery-body strong{font-family:'Playfair Display',Georgia,serif;font-size:clamp(25px,2.5vw,35px);letter-spacing:-.03em;line-height:1.13}
[lang="ar"] .v6-discovery-body strong{font-family:Tajawal,sans-serif;letter-spacing:0}
.v6-discovery-body>span{font-size:12px;font-weight:700;color:#f7ebe4;margin-top:8px}
.v6-imagery-note{font-size:11px;color:#8c8279;margin:12px 0 0}
/* Listings */
.listings-section{background:#fbfaf8}.listings-head{gap:20px;align-items:end}
.v6-filter-chips{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 14px}
.v6-filter-chips a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 16px;border:1px solid #dfd3c9;border-radius:50px;background:white;color:#594752;font-weight:750;font-size:12px;transition:.2s ease}
.v6-filter-chips a:hover{border-color:#ac8d74;transform:translateY(-1px)}
.v6-filter-chips a.selected,.v6-filter-chips a[aria-current="true"]{background:#63213c;color:white;border-color:#63213c}
.v6-active-filters{display:flex;align-items:center;flex-wrap:wrap;gap:7px 9px;border:1px solid #e8ded5;border-radius:10px;padding:10px 12px;margin:12px 0 19px;background:#fff}
.v6-active-filters strong{color:#776069;font-size:11px;margin-inline-end:4px}
.v6-active-filters a{display:inline-flex;align-items:center;gap:9px;padding:5px 10px;border-radius:30px;font-size:11px;color:#662342;background:#f6edf0;font-weight:700;word-break:break-word}
.v6-active-filters a:hover{background:#f0dfe5}.v6-active-filters a span{font-size:15px}
.v6-active-filters .v6-reset-filters{margin-inline-start:auto;background:#f3eee7;color:#63524a}
#ajax-property-results.v3-loading{opacity:.55;filter:grayscale(.15);transition:opacity .2s}
#ajax-property-results .property-card{height:100%}
.property-card{display:flex;flex-direction:column}
.property-card .property-content{flex:1;display:flex;flex-direction:column}
.property-card .property-price{margin-top:auto;padding-top:13px}
.property-card .property-image-wrap img{height:100%;object-fit:cover}
.property-card .property-image-wrap{position:relative;overflow:hidden}
.property-card .v4-card-media-actions{max-width:95%;overflow:auto;scrollbar-width:none}
.property-card .v4-card-media-actions::-webkit-scrollbar{display:none}
.property-card:hover{box-shadow:0 25px 55px #3c15251c}
.detail-price-panel .v6-price-context{display:inline-block;color:#7b646c;font-size:12px;font-weight:700;margin:-7px 0 16px;padding:7px 11px;background:#f5eee8;border-radius:7px}
.detail-price-panel .detail-price{font-variant-numeric:tabular-nums}
/* refined footer and actions */
.footer-content a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.v5-mobile-property-actions a:focus-visible{outline-offset:-4px!important}
/* Screenreader-only text and reduced effects */
@media(max-width:1100px){.v6-discovery-grid{grid-template-columns:1fr 1fr;min-height:0}.v6-discovery-card{min-height:300px}.v6-discovery-invest{grid-column:span 2;min-height:240px}}
@media(max-width:767px){html{scroll-padding-top:80px}.v6-discovery{padding:54px 0}.v6-discovery-top{align-items:start;flex-direction:column;gap:14px}.v6-discovery-top h2{font-size:35px}.v6-discovery-grid{grid-template-columns:1fr 1fr;gap:11px}.v6-discovery-card{min-height:248px;border-radius:11px}.v6-discovery-villas{grid-column:span 2;min-height:260px}.v6-discovery-invest{grid-column:auto;min-height:248px}.v6-discovery-body{inset-inline:16px;bottom:17px}.v6-discovery-body strong{font-size:23px}.v6-discovery-body small{font-size:9px}.v6-discovery-body>span{font-size:11px}.v6-filter-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:8px}.v6-filter-chips a{flex-shrink:0;white-space:nowrap}.listings-head{align-items:start;flex-direction:column}.v6-active-filters{margin:7px 0 18px}.v6-active-filters .v6-reset-filters{margin-inline-start:0}}
@media(max-width:440px){.v6-discovery-card{min-height:222px}.v6-discovery-villas{min-height:245px}.v6-discovery-body strong{font-size:20px}.search-panel .search-tabs{gap:1px}.search-panel .search-tabs a{padding-inline:9px;font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.v6-discovery-card img,.v6-filter-chips a{transition:none!important}}
