html.huna-property-pages{
  --pp-ink:#171717;--pp-gold:#c8a875;--pp-ivory:#f5f1e8;--pp-bg:#f8f5ef;--pp-surface:#fff;--pp-soft:#f1ede5;--pp-text:#171717;--pp-muted:#746f67;--pp-border:rgba(23,23,23,.11);--pp-shadow:0 18px 48px rgba(23,23,23,.08);
  box-sizing:border-box;scroll-behavior:smooth;background:var(--pp-bg);color-scheme:light;
}
html.huna-property-pages[data-theme="dark"]{
  --pp-bg:#1c1b19;--pp-surface:#242321;--pp-soft:#2d2b28;--pp-text:#f5f1e8;--pp-muted:#b8b1a7;--pp-border:rgba(245,241,232,.13);--pp-shadow:0 18px 48px rgba(0,0,0,.2);color-scheme:dark;
}
.huna-property-pages *,.huna-property-pages *::before,.huna-property-pages *::after{box-sizing:inherit}
.huna-property-pages body{margin:0;background:var(--pp-bg);color:var(--pp-text);font-family:'IBM Plex Sans Arabic',system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.7;overflow-x:hidden}
.huna-property-pages .property-wrap{width:min(1180px,calc(100% - 36px));margin-inline:auto}
.huna-property-pages .property-site-header{position:relative;z-index:30;background:var(--pp-ink);border-bottom:1px solid rgba(200,168,117,.28)}
.huna-property-pages .property-site-header__inner{min-height:90px;display:flex;align-items:center;gap:32px}
.huna-property-pages .property-site-logo{display:block;width:auto;height:clamp(48px,5vw,68px);flex:0 0 auto}
.huna-property-pages .property-site-nav{display:flex;align-items:center;justify-content:center;gap:24px;margin-inline:auto}
.huna-property-pages .property-site-nav a{color:#d4d0c9;text-decoration:none;font-size:14px;font-weight:600;border-bottom:2px solid transparent;padding:9px 0;transition:color .18s ease,border-color .18s ease}
.huna-property-pages .property-site-nav a:hover,.huna-property-pages .property-site-nav a:focus-visible,.huna-property-pages .property-site-nav a.is-active{color:var(--pp-gold);border-bottom-color:var(--pp-gold)}
.huna-property-pages .property-theme-control{position:relative;flex:0 0 auto}
.huna-property-pages .property-theme-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:8px 11px;border:1px solid rgba(245,241,232,.18);border-radius:9px;background:transparent;color:var(--pp-ivory);font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.huna-property-pages .property-theme-trigger:hover,.huna-property-pages .property-theme-trigger[aria-expanded="true"]{border-color:var(--pp-gold);color:var(--pp-gold)}
.huna-property-pages .property-theme-trigger:focus-visible{outline:2px solid var(--pp-gold);outline-offset:2px}
.huna-property-pages .property-theme-trigger svg{width:18px;height:18px}
.huna-property-pages .property-theme-menu{position:absolute;z-index:40;top:calc(100% + 9px);left:0;width:174px;padding:7px;border:1px solid var(--pp-border);border-radius:10px;background:var(--pp-surface);color:var(--pp-text);box-shadow:0 18px 48px rgba(23,23,23,.2)}
.huna-property-pages .property-theme-menu[hidden]{display:none}
.huna-property-pages .property-theme-option{display:flex;width:100%;align-items:center;justify-content:space-between;padding:10px 11px;border:0;border-radius:7px;background:transparent;color:var(--pp-text);font:inherit;cursor:pointer;text-align:right}
.huna-property-pages .property-theme-option:hover,.huna-property-pages .property-theme-option[aria-checked="true"]{background:rgba(200,168,117,.16)}
.huna-property-pages .property-theme-option[aria-checked="true"]::after{content:'✓';color:var(--pp-gold);font-weight:900}

.huna-property-pages .property-listing-page,.huna-property-pages .property-detail-page{min-height:calc(100vh - 260px);background:var(--pp-bg)}
.huna-property-pages .property-listing-hero{padding:64px 0 34px;text-align:center}
.huna-property-pages .property-eyebrow{color:#9b7b4a;font-size:13px;font-weight:800;letter-spacing:.03em}
.huna-property-pages[data-theme="dark"] .property-eyebrow{color:var(--pp-gold)}
.huna-property-pages .property-listing-hero h1{font-family:'Cairo',system-ui,sans-serif;font-size:clamp(32px,5vw,54px);line-height:1.2;margin:10px 0;color:var(--pp-text)}
.huna-property-pages .property-listing-hero p{color:var(--pp-muted);max-width:720px;margin:0 auto}
.huna-property-pages .property-category-tabs{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;margin:26px 0 0}
.huna-property-pages .property-category-tabs a{padding:9px 18px;border:1px solid var(--pp-border);border-radius:999px;background:var(--pp-soft);color:var(--pp-text);text-decoration:none;font-size:14px;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.huna-property-pages .property-category-tabs a:hover,.huna-property-pages .property-category-tabs a:focus-visible{border-color:var(--pp-gold);transform:translateY(-1px)}
.huna-property-pages .property-category-tabs a.is-active{background:var(--pp-gold);color:var(--pp-ink);border-color:var(--pp-gold);font-weight:700}
.huna-property-pages .property-listing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding:8px 0 58px}
.huna-property-pages .property-listing-card{display:flex;min-width:0;flex-direction:column;background:var(--pp-surface);border:1px solid var(--pp-border);border-radius:18px;overflow:hidden;box-shadow:var(--pp-shadow);transition:transform .18s ease,box-shadow .18s ease}
.huna-property-pages .property-listing-card:hover{transform:translateY(-4px);box-shadow:0 24px 58px rgba(23,23,23,.12)}
.huna-property-pages .property-listing-card__media{position:relative;aspect-ratio:16/10;background:#171717;overflow:hidden}
.huna-property-pages .property-listing-card__media img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .35s ease}
.huna-property-pages .property-listing-card:hover .property-listing-card__media img{transform:scale(1.025)}
.huna-property-pages .property-listing-card__placeholder{width:100%;height:100%;display:grid;place-items:center;color:var(--pp-gold);font-family:'Cairo',sans-serif;font-size:44px;font-weight:800}
.huna-property-pages .property-listing-card__badge{position:absolute;top:13px;right:13px;background:rgba(23,23,23,.9);color:#fff;border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:5px 10px;font-size:12px}
.huna-property-pages .property-listing-card__badge.status-available{color:var(--pp-gold)}
.huna-property-pages .property-listing-card__badge.status-sold{background:rgba(104,49,45,.92)}
.huna-property-pages .property-listing-card__body{display:flex;flex:1;flex-direction:column;padding:19px}
.huna-property-pages .property-listing-card__body h2{font-family:'Cairo',system-ui,sans-serif;font-size:20px;line-height:1.4;margin:0 0 5px;color:var(--pp-text)}
.huna-property-pages .property-listing-card__meta{color:var(--pp-muted);font-size:13px;margin:0 0 14px}
.huna-property-pages .property-listing-card__price{font-weight:800;color:#8f7042;margin-bottom:18px}
.huna-property-pages[data-theme="dark"] .property-listing-card__price{color:var(--pp-gold)}
.huna-property-pages .property-listing-card__link{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:auto;border-radius:9px;background:var(--pp-ink);color:var(--pp-gold);text-decoration:none;font-weight:800;transition:transform .18s ease,background .18s ease}
.huna-property-pages .property-listing-card__link:hover,.huna-property-pages .property-listing-card__link:focus-visible{background:#262421;transform:translateY(-1px)}
.huna-property-pages .property-listing-empty{grid-column:1/-1;background:var(--pp-surface);border:1px solid var(--pp-border);border-radius:18px;padding:54px 24px;text-align:center;color:var(--pp-muted);box-shadow:var(--pp-shadow)}
.huna-property-pages .property-pagination{display:flex;justify-content:center;gap:8px;padding:0 0 64px}
.huna-property-pages .property-pagination a,.huna-property-pages .property-pagination span{min-width:40px;height:40px;display:grid;place-items:center;background:var(--pp-surface);color:var(--pp-text);border:1px solid var(--pp-border);border-radius:9px;text-decoration:none}
.huna-property-pages .property-pagination span{background:var(--pp-gold);color:var(--pp-ink)}

.huna-property-pages .property-detail-page{padding:28px 0 56px}
.huna-property-pages .property-detail-back{margin-bottom:18px}
.huna-property-pages .property-detail-back a{color:var(--pp-muted);text-decoration:none;font-weight:700}
.huna-property-pages .property-detail-back a:hover{color:var(--pp-gold)}
.huna-property-pages .detail-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(310px,.75fr);gap:24px;align-items:start}
.huna-property-pages .main-image{display:grid;place-items:center;width:100%;min-height:220px;background:#171717;border-radius:18px;overflow:hidden;cursor:zoom-in}
.huna-property-pages .main-image::before,.huna-property-pages .main-image::after{content:none!important;display:none!important;background:none!important;filter:none!important}
.huna-property-pages .main-image img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain;object-position:center;background:#171717;filter:none!important;transform:none}
.huna-property-pages .main-image__placeholder{width:100%;height:100%;display:grid;place-items:center;color:var(--pp-gold);font-family:'Cairo',sans-serif;font-size:64px;font-weight:800}
.huna-property-pages .detail-summary,.huna-property-pages .detail-section{background:var(--pp-surface);border:1px solid var(--pp-border);border-radius:18px;padding:24px;box-shadow:var(--pp-shadow)}
.huna-property-pages .detail-summary{position:sticky;top:20px}
.huna-property-pages .detail-summary h1{font-family:'Cairo',system-ui,sans-serif;font-size:32px;line-height:1.25;margin:8px 0;color:var(--pp-text)}
.huna-property-pages .detail-location{color:var(--pp-muted)}
.huna-property-pages .detail-price{font-size:24px;font-weight:900;color:#8f7042;margin:18px 0}
.huna-property-pages[data-theme="dark"] .detail-price{color:var(--pp-gold)}
.huna-property-pages .facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}
.huna-property-pages .fact{padding:12px 8px;text-align:center;background:var(--pp-soft);border:1px solid var(--pp-border);border-radius:10px;font-size:12px}
.huna-property-pages .fact strong{display:block;font-size:16px}
.huna-property-pages .cta-stack{display:grid;gap:10px}
.huna-property-pages .property-cta{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;border-radius:10px;text-decoration:none;font-weight:800;border:1px solid var(--pp-border)}
.huna-property-pages .property-cta--primary{background:var(--pp-ink);color:var(--pp-gold);border-color:var(--pp-ink)}
.huna-property-pages .property-cta--secondary{background:var(--pp-surface);color:var(--pp-text)}
.huna-property-pages .detail-content{display:grid;gap:20px;margin-top:22px}
.huna-property-pages .detail-section h2{font-family:'Cairo',system-ui,sans-serif;margin-top:0;color:var(--pp-text)}
.huna-property-pages .features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
.huna-property-pages .features li{background:var(--pp-soft);border:1px solid var(--pp-border);border-radius:9px;padding:10px 13px}
.huna-property-pages .gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.huna-property-pages .gallery-item{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:16/10;margin:0;overflow:hidden;border-radius:12px;background:#171717;cursor:zoom-in}
.huna-property-pages .gallery-item::before,.huna-property-pages .gallery-item::after{content:none!important;display:none!important;background:none!important;filter:none!important}
.huna-property-pages .gallery-item img{width:100%;height:100%;object-fit:contain;object-position:center;border-radius:inherit;display:block;background:#171717;filter:none!important;transform:none}
.huna-property-pages .gallery-item.is-landscape img{object-fit:cover}
.huna-property-pages .gallery-item.is-portrait img,.huna-property-pages .gallery-item.is-square img{object-fit:contain}
.huna-property-pages .property-not-found{min-height:100vh;display:grid;place-content:center;text-align:center;gap:8px}
.huna-property-pages .property-not-found h1{font-family:'Cairo',sans-serif;margin:0}

.huna-property-pages .property-site-footer{background:var(--pp-ink);color:#bbb5ac;padding:40px 0 24px}
.huna-property-pages .property-site-footer__inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
.huna-property-pages .property-site-footer__brand{display:flex;align-items:center;gap:13px;color:var(--pp-ivory);font-family:'Cairo',sans-serif;font-weight:700}
.huna-property-pages .property-site-footer__brand img{height:40px;width:auto}
.huna-property-pages .property-site-footer__links{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.huna-property-pages .property-site-footer__links a{color:#bbb5ac;text-decoration:none}
.huna-property-pages .property-site-footer__links a:hover{color:var(--pp-gold)}
.huna-property-pages .property-site-footer__bottom{border-top:1px solid rgba(245,241,232,.1);margin-top:24px;padding-top:18px;font-size:12px;color:#8f8a82}

@media(max-width:850px){
  .huna-property-pages .property-site-header__inner{flex-wrap:wrap;gap:12px;padding:12px 0}
  .huna-property-pages .property-site-logo{height:52px}
  .huna-property-pages .property-site-nav{order:3;width:100%;justify-content:flex-start;overflow-x:auto;gap:20px}
  .huna-property-pages .property-theme-control{margin-right:auto}
  .huna-property-pages .property-listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .huna-property-pages .detail-layout{grid-template-columns:1fr}
  .huna-property-pages .detail-summary{position:static}
  .huna-property-pages .gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .huna-property-pages .property-wrap{width:min(100% - 28px,1180px)}
  .huna-property-pages .property-site-logo{height:46px}
  .huna-property-pages .property-theme-trigger{width:42px;height:42px;padding:0}
  .huna-property-pages .property-theme-trigger span{display:none}
  .huna-property-pages .property-theme-menu{left:0}
  .huna-property-pages .property-site-nav a{font-size:13px;white-space:nowrap}
  .huna-property-pages .property-listing-hero{padding-top:42px}
  .huna-property-pages .property-category-tabs{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px}
  .huna-property-pages .property-category-tabs a{white-space:nowrap}
  .huna-property-pages .property-listing-grid{grid-template-columns:1fr}
  .huna-property-pages .facts{grid-template-columns:repeat(2,1fr)}
  .huna-property-pages .features,.huna-property-pages .gallery{grid-template-columns:1fr}
  .huna-property-pages .detail-summary h1{font-size:27px}
  .huna-property-pages .property-site-footer__inner{align-items:flex-start;flex-direction:column}
}

/* Final shared polish for public property listing and detail pages. */
.huna-property-pages body{background:
  radial-gradient(circle at 88% 0,rgba(200,168,117,.11),transparent 30rem),
  var(--pp-bg)}
.huna-property-pages .property-site-header{position:sticky;top:0;box-shadow:0 12px 32px rgba(0,0,0,.08);backdrop-filter:blur(14px)}
.huna-property-pages .property-site-header__inner{min-height:86px}
.huna-property-pages .property-listing-hero{position:relative;overflow:hidden;padding:76px 0 42px}
.huna-property-pages .property-listing-hero::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 15%,rgba(200,168,117,.09),transparent 78%)}
.huna-property-pages .property-listing-hero .property-wrap{position:relative}
.huna-property-pages .property-listing-card{border-radius:20px}
.huna-property-pages .property-listing-card__body{padding:21px}
.huna-property-pages .property-listing-card__link,.huna-property-pages .property-cta{min-height:48px;box-shadow:0 10px 22px rgba(23,23,23,.09)}
.huna-property-pages .property-listing-empty{position:relative;padding:70px 24px}
.huna-property-pages .property-listing-empty::before{content:"◇";display:grid;place-items:center;width:54px;height:54px;margin:0 auto 15px;border-radius:50%;background:rgba(200,168,117,.16);color:#9b7b4a;font-size:25px}
.huna-property-pages .detail-layout{gap:28px}
.huna-property-pages .main-image,.huna-property-pages .detail-summary,.huna-property-pages .detail-section{border-radius:20px}
.huna-property-pages .detail-section{padding:clamp(20px,3vw,30px)}
.huna-property-pages .gallery-item{border:1px solid var(--pp-border);box-shadow:0 10px 28px rgba(23,23,23,.08);transition:box-shadow .2s ease}
.huna-property-pages .gallery-item:hover{box-shadow:0 18px 38px rgba(23,23,23,.13)}
.huna-property-pages :where(a,button):focus-visible{outline:2px solid var(--pp-gold);outline-offset:3px}
@media(max-width:560px){.huna-property-pages .property-listing-hero{padding:48px 0 30px}.huna-property-pages .property-site-header{position:relative}.huna-property-pages .property-listing-card__body{padding:18px}}

/* Project image studio: one original image only, with no duplicated or blurred backdrop. */
.huna-property-pages .huna-gallery-viewer[hidden]{display:none!important}
.huna-property-pages .huna-gallery-viewer{position:fixed;z-index:1000;inset:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:rgba(5,5,5,.98);color:#fff;overscroll-behavior:contain}
.huna-property-pages .huna-gallery-viewer__bar{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:64px;padding:10px clamp(14px,3vw,32px);background:#0b0b0b;border-bottom:1px solid rgba(255,255,255,.12)}
.huna-property-pages .huna-gallery-viewer__meta{display:flex;align-items:center;gap:12px;min-width:0;color:#d8d3cb;font-size:13px}
.huna-property-pages .huna-gallery-viewer__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-weight:700}
.huna-property-pages .huna-gallery-viewer__controls{display:flex;align-items:center;gap:8px;direction:ltr}
.huna-property-pages .huna-gallery-viewer button{display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid rgba(255,255,255,.22);border-radius:50%;background:rgba(255,255,255,.07);color:#fff;font:700 22px/1 system-ui;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease}
.huna-property-pages .huna-gallery-viewer button:hover,.huna-property-pages .huna-gallery-viewer button:focus-visible{border-color:var(--pp-gold);background:var(--pp-gold);color:#171717;outline:none}
.huna-property-pages .huna-gallery-viewer__stage{position:relative;display:grid;place-items:center;min-width:0;min-height:0;overflow:hidden;background:#090909;touch-action:none;cursor:zoom-out}
.huna-property-pages .huna-gallery-viewer__image{display:block;max-width:calc(100vw - 112px);max-height:calc(100vh - 150px);width:auto;height:auto;object-fit:contain;transform-origin:center;will-change:transform;user-select:none;-webkit-user-drag:none;touch-action:none;cursor:grab}
.huna-property-pages .huna-gallery-viewer__image.is-panning{cursor:grabbing}
.huna-property-pages .huna-gallery-viewer__nav{position:absolute;z-index:2;top:50%;translate:0 -50%;width:50px!important;height:68px!important;border-radius:12px!important;background:rgba(18,18,18,.76)!important;backdrop-filter:blur(8px)}
.huna-property-pages .huna-gallery-viewer__nav--previous{right:18px}
.huna-property-pages .huna-gallery-viewer__nav--next{left:18px}
.huna-property-pages .huna-gallery-viewer__footer{display:flex;align-items:center;justify-content:center;min-height:54px;padding:8px 16px;background:#0b0b0b;border-top:1px solid rgba(255,255,255,.1);color:#c9c4bc;font-size:13px;text-align:center}
.huna-property-pages body.huna-gallery-viewer-open{overflow:hidden}
@media(max-width:620px){
  .huna-property-pages .huna-gallery-viewer__bar{min-height:58px;padding-inline:10px}
  .huna-property-pages .huna-gallery-viewer__meta{max-width:42vw}
  .huna-property-pages .huna-gallery-viewer button{width:38px;height:38px;font-size:20px}
  .huna-property-pages .huna-gallery-viewer__image{max-width:calc(100vw - 24px);max-height:calc(100vh - 130px)}
  .huna-property-pages .huna-gallery-viewer__nav{top:auto;bottom:14px;width:44px!important;height:50px!important}
  .huna-property-pages .huna-gallery-viewer__nav--previous{right:14px}
  .huna-property-pages .huna-gallery-viewer__nav--next{left:14px}
}
