@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');
:root{--navy:#17324d;--navy-2:#244b68;--teal:#197c78;--gold:#e4a94b;--gold-soft:#fff3d9;--ink:#1b2938;--muted:#718091;--bg:#f3f6f8;--line:#e2e8ee;--white:#fff;--shadow:0 12px 34px rgba(20,47,71,.08);--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Cairo,Tahoma,Arial,sans-serif;line-height:1.8}.top{background:#fff;color:var(--navy);display:flex;align-items:center;gap:26px;padding:11px max(4%,calc((100% - 1240px)/2));flex-wrap:wrap;position:sticky;top:0;z-index:20;box-shadow:0 5px 25px rgba(20,47,71,.07);border-bottom:1px solid #e9edf1}.brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:800;color:var(--navy);text-decoration:none;line-height:1.1;white-space:nowrap}.brand>span:last-child{display:flex;flex-direction:column}.brand small{font-size:10px;letter-spacing:.4px;color:var(--muted);font-weight:600}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:43px;height:43px;background:linear-gradient(140deg,var(--teal),var(--navy-2));border-radius:14px;box-shadow:0 7px 15px #17324d20}.brand-mark svg{width:28px;height:28px;fill:none;stroke:#fff;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}.top nav{display:flex;align-items:center;gap:17px;flex:1;flex-wrap:wrap}.top a{color:inherit;text-decoration:none}.top nav a{font-size:13px;font-weight:700;color:#516174;transition:color .18s}.top nav a:hover{color:var(--teal)}.top-actions{display:flex;align-items:center;gap:8px}.user-greeting{color:var(--muted)}.container{width:min(1240px,92%);margin:24px auto 58px;min-height:calc(100vh - 280px)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;background:var(--gold);color:#172e44!important;text-decoration:none;padding:10px 17px;border-radius:10px;font:800 13px Cairo;cursor:pointer;transition:transform .16s,box-shadow .16s,background .16s;box-shadow:0 5px 14px rgba(228,169,75,.16)}.btn:hover{transform:translateY(-1px);box-shadow:0 8px 19px rgba(228,169,75,.22);background:#efba62}.btn-light{background:#f2f6f8;color:var(--navy)!important;box-shadow:none;border:1px solid var(--line)}.btn-light:hover{background:#e8f0f3}.btn-ghost{background:#fff;box-shadow:none;color:var(--navy)!important;border:1px solid var(--line)}.btn-card{background:#edf5f5;color:#176763!important;box-shadow:none;justify-content:space-between;width:100%}.btn-card:hover{background:#dcefee}.hero{border-radius:26px;padding:54px 5.2%;color:#fff;min-height:330px;display:flex;flex-direction:column;justify-content:center;position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(115deg,rgba(14,37,58,.94),rgba(26,88,101,.78)),url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=85') center/cover;box-shadow:0 20px 48px rgba(20,47,71,.16)}.hero:before{content:"";position:absolute;inset:auto auto -160px -65px;width:390px;height:390px;border:1px solid #ffffff30;border-radius:50%;z-index:-1;box-shadow:0 0 0 35px #ffffff09,0 0 0 75px #ffffff07}.hero h1{font-size:clamp(29px,4vw,48px);line-height:1.3;margin:5px 0 10px;max-width:760px;font-weight:800;letter-spacing:-.7px}.hero p{margin:0 0 24px;color:#e0edf2;font-size:15px}.hero-kicker{color:#f5cb79;font-size:13px;font-weight:800;display:flex;align-items:center;gap:8px}.hero-kicker span{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#ffffff20;width:28px;height:28px}.search{display:grid;grid-template-columns:2.1fr 1fr 1fr auto;gap:9px;background:#fffffffa;padding:10px;border-radius:15px;max-width:1020px;box-shadow:0 12px 28px #091e3333}.field{display:flex;flex-direction:column;gap:5px;margin-bottom:14px}.field label{font-size:12px;font-weight:800;color:#394b5d}.field input,.field select,.field textarea,.search input,.search select,input,select,textarea{font:inherit}.field input,.field select,.field textarea,.search input,.search select{width:100%;border:1px solid var(--line);background:#fff;border-radius:10px;padding:11px 12px;color:var(--ink);min-width:0;outline:none;transition:border .16s,box-shadow .16s}.field input:focus,.field select:focus,.field textarea:focus,.search input:focus,.search select:focus{border-color:#61aaa4;box-shadow:0 0 0 3px #197c781a}.search .btn{align-self:stretch;min-height:48px;padding-inline:22px}.hero-trust{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px;font-size:11px;color:#f0f6f7}.hero-trust span{display:flex;align-items:center;gap:6px;background:#ffffff12;border:1px solid #ffffff20;padding:5px 11px;border-radius:30px}.hero-trust b{color:#f5cb79}.news-ticker{display:flex;align-items:center;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:18px;min-height:46px;box-shadow:0 6px 20px #14263d08}.ticker-label{background:var(--navy);color:#fff;font-weight:800;padding:9px 16px;white-space:nowrap}.ticker-track{display:flex;gap:54px;white-space:nowrap;animation:ticker 29s linear infinite;padding-inline:22px;color:#516174;font-size:12px;font-weight:700}.ticker-track:hover{animation-play-state:paused}@keyframes ticker{from{transform:translateX(0)}to{transform:translateX(50%)}}.section-head{display:flex;justify-content:space-between;align-items:center;margin:31px 0 15px;gap:12px}.section-head h2{margin:0;color:var(--navy);font-size:23px;font-weight:800;display:flex;align-items:center;gap:9px}.heading-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:10px;background:#e5f2f0;color:var(--teal);font-size:17px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.card{background:#fff;border:1px solid #e6ebef;border-radius:18px;overflow:hidden;box-shadow:0 5px 21px rgba(21,45,65,.04);transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(21,45,65,.11)}.photo{display:block;height:225px;background:#e9eff2;position:relative;overflow:hidden}.photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}.photo-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:linear-gradient(145deg,#e4f0ef,#f6f8fa);color:var(--teal);font-size:13px;font-weight:800}.placeholder-house{font-size:60px;line-height:1}.card:hover .photo img{transform:scale(1.035)}.badge{position:absolute;top:12px;right:12px;padding:4px 11px;border-radius:8px;font-size:11px;font-weight:800;background:#fff;color:var(--navy);box-shadow:0 4px 12px #0d24371a}.badge.featured{right:auto;left:12px;background:var(--gold);color:#2a3441}.badge.sold{background:#bd342d;color:#fff}.card-body{padding:17px}.price{font-size:21px;font-weight:800;color:var(--navy);letter-spacing:-.3px}.card-body .price{font-size:22px}.card-body .price .muted{font-size:11px;font-weight:600}.muted,.small{font-size:12px;color:var(--muted)}.card h3{font-size:17px;margin:7px 0;color:#20374c;line-height:1.5}.card .muted{line-height:1.7}.meta{display:flex;gap:14px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin:10px 0 14px}.owner-mini{display:flex;gap:7px;flex-wrap:wrap;align-items:center;color:#637284;font-size:11px;margin:8px 0 14px}.mini-owner-icon{display:inline-flex;align-items:center;justify-content:center;background:#edf4f5;border-radius:7px;width:24px;height:24px;color:var(--teal);font-size:15px}.privacy-hint{color:#8796a3;font-size:10px}.card-actions{display:flex;gap:8px;flex-wrap:wrap}.panel{background:#fff;border:1px solid #e5ebef;border-radius:var(--radius);padding:24px;margin:18px 0;box-shadow:0 5px 20px rgba(21,45,65,.035)}.panel h2,.panel h3{color:var(--navy)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.wide{grid-column:1/-1}.notice{padding:12px 16px;border-radius:12px;margin-bottom:16px;background:#e8f7ed;color:#17643a;border:1px solid #ccebd5;font-size:13px}.notice.error{background:#fff0ee;color:#9c2d20;border-color:#f4cfca}.notice.warning{background:#fff6df;color:#75520b;border-color:#f0dfad}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;background:#fff;font-size:12px}th,td{text-align:right;padding:12px;border-bottom:1px solid #e9edf1;white-space:nowrap}th{background:#f5f8fa;color:#40566b;font-weight:800}td a{color:var(--teal);font-weight:700}.pill{display:inline-block;background:#eef2f7;padding:3px 9px;border-radius:20px;font-size:12px}.detail{display:grid;grid-template-columns:1.25fr .9fr;gap:22px;align-items:start}.detail section{min-width:0}.detail .panel{margin-top:0}.detail img,.detail video{width:100%;border-radius:13px;max-height:490px;object-fit:cover}.media-list{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:10px}.media-list img{height:100px;object-fit:cover}.property-summary{position:sticky;top:105px}.property-kind{font-size:12px;color:var(--muted);font-weight:700}.listing-dot{display:inline-block;width:8px;height:8px;background:var(--teal);border-radius:50%;margin-left:7px}.property-summary h1{color:var(--navy);font-size:28px;line-height:1.35;margin:12px 0}.property-price{color:var(--teal);font-size:30px;font-weight:800;margin:12px 0}.property-price small{font-size:12px;font-weight:600;color:var(--muted)}.status-badge{position:static;display:inline-block;margin-left:6px}.property-address{display:flex;align-items:flex-start;gap:11px;margin:20px 0;padding:14px;background:#f5f8f9;border-radius:13px}.property-icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:#e2f0ed;color:var(--teal);font-size:21px;flex-shrink:0}.property-address strong{font-size:12px;color:#42576a}.property-address p{margin:2px 0 0;font-size:13px}.property-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}.property-facts>div{display:flex;align-items:center;flex-direction:column;padding:12px 7px;background:#f7f9fa;border:1px solid #edf0f2;border-radius:12px}.property-facts>div>span{color:var(--teal);font-size:19px}.property-facts strong{font-size:14px;color:var(--navy)}.property-facts small{font-size:10px;color:var(--muted)}.seller-preview{display:flex;align-items:center;gap:12px;margin:15px 0}.seller-avatar{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:#e5f2f0;color:var(--teal);font-size:22px}.seller-preview>div:last-child{display:flex;flex-direction:column}.seller-preview small{color:var(--muted);font-size:10px}.seller-preview strong{color:var(--navy);font-size:13px}.seller-preview .privacy-hint{margin-top:1px}.inquiry-cta{margin-top:18px;padding:17px;background:#f1f8f7;border:1px solid #d7ebe8;border-radius:14px}.inquiry-cta h3{margin:0;color:#186a66;font-size:17px}.inquiry-cta p{margin:5px 0 13px;font-size:12px;color:#557572}.inquiry-form .field{margin-bottom:10px}.inquiry-form .field label{font-size:11px}.inquiry-form .field input,.inquiry-form .field textarea{padding:9px 10px;font-size:12px}.btn-inquiry{width:100%;background:var(--teal);color:white!important;box-shadow:none}.btn-inquiry:hover{background:#126965}.admin-private{border:1px dashed #d7b36a;background:#fff9e9;border-radius:10px;padding:12px;font-size:12px;margin:12px 0}.admin-private strong{display:block;color:#7a5410;margin-bottom:4px}.admin-private div{direction:ltr;text-align:right}.hp-field{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}.detail-placeholder{min-height:300px}.detail-placeholder span{font-size:58px;color:var(--teal)}.detail-placeholder strong{font-size:14px}.chat{display:flex;flex-direction:column;gap:12px}.message{padding:10px 14px;border-radius:13px;max-width:80%;background:#edf1f6}.message.mine{background:#dcece5;align-self:flex-start}.message small{display:block;margin-top:6px}.profile-header{display:flex;align-items:center;gap:16px;margin:12px 0 24px}.profile-header h1{margin:0;color:var(--navy)}.profile-header p{margin:4px 0;color:var(--muted)}.profile-avatar{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:20px;background:linear-gradient(135deg,var(--navy),var(--teal));color:#fff;font-size:27px;font-weight:800}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.profile-grid .panel{margin:0}.owner-phone a,.private-phone{color:var(--teal);font-weight:800;direction:ltr;unicode-bidi:embed}.contact-call{margin-top:8px}.compact-empty{padding:22px;background:#fff;border:1px dashed var(--line);border-radius:13px}.empty{text-align:center;padding:38px 20px;color:var(--muted)}.empty h3{margin:6px 0;color:var(--navy)}.empty p{margin:4px 0}.empty-icon{font-size:35px;color:var(--teal)}.text-link{color:var(--teal);font-weight:800;text-decoration:none}.admin-search{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.admin-search input{flex:1;min-width:220px;border:1px solid var(--line);border-radius:10px;padding:11px}.pending-nav{display:inline-flex;align-items:center;gap:6px!important}.pending-nav b{display:inline-flex;align-items:center;justify-content:center;background:#d83d39;color:#fff;border-radius:99px;min-width:20px;height:20px;padding:0 5px;font-size:11px}.inquiries-nav{display:inline-flex;align-items:center;gap:6px!important}.notification-count{display:inline-flex;align-items:center;justify-content:center;background:#df3e49;color:#fff;border:2px solid #fff;border-radius:999px;min-width:22px;height:22px;padding:0 6px;font-size:11px;font-weight:800;line-height:1;box-shadow:0 2px 7px rgba(31,48,68,.16)}.inquiries-nav:hover .notification-count{background:#b92533}.inquiry-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0;border:1px solid #dce6ed;border-radius:16px;background:linear-gradient(120deg,#fff,#f1f8f8);text-decoration:none;color:var(--navy);padding:18px 22px}.inquiry-summary .summary-number{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 10px;border-radius:14px;background:#df3e49;color:#fff;font-size:21px;font-weight:800}.inquiry-summary .summary-title{font-size:16px;font-weight:800}.inquiry-summary .summary-hint{display:block;color:var(--muted);font-size:12px;margin-top:3px}.page-intro{margin:12px 0 20px}.page-intro h1{margin:3px 0;color:var(--navy);font-size:30px}.page-intro p{color:var(--muted);margin:4px 0;font-size:13px}.eyebrow{color:var(--teal);font-size:11px;font-weight:800}.settings-panel{max-width:900px}.settings-section h2{display:flex;align-items:center;gap:9px;font-size:20px}.background-preview{height:190px;max-width:460px;position:relative;overflow:hidden;border-radius:14px;margin:12px 0 18px;border:1px solid var(--line)}.background-preview img{width:100%;height:100%;object-fit:cover}.background-preview span{position:absolute;right:12px;bottom:12px;background:#102940dc;color:#fff;padding:4px 10px;border-radius:7px;font-size:11px}.settings-divider{height:1px;background:var(--line);margin:22px 0}.btn-save{min-width:160px;margin-top:5px}.site-footer{background:#122a40;color:#fff;padding:30px max(4%,calc((100% - 1240px)/2));display:flex;align-items:flex-start;justify-content:space-between;gap:28px;flex-wrap:wrap}.footer-brand-title{display:flex;align-items:center;gap:10px}.footer-brand-title .brand-mark{background:#ffffff18;box-shadow:none}.site-footer p{margin:7px 0;color:#bed0dc;font-size:12px}.footer-links{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.site-footer a{color:#d6e3ec;text-decoration:none;font-size:12px}.site-footer a:hover{color:#f6c76e}.social-icons{display:flex;align-items:center;gap:9px}.social-icon{display:inline-flex;align-items:center;justify-content:center;width:37px;height:37px;border-radius:12px;border:1px solid #ffffff24;background:#ffffff0d;color:white!important;text-decoration:none;font-weight:800;font-size:17px;transition:.2s}.social-icon:hover{transform:translateY(-3px);background:var(--gold);color:var(--navy)!important}.footer-bottom{flex-basis:100%;padding-top:15px;border-top:1px solid #ffffff18;color:#92a8b9;font-size:10px}.inquiry-message-cell{white-space:normal;min-width:180px;max-width:320px}.social-icon.whatsapp{background:#20a96b;color:#fff!important;border-color:#20a96b}
@media(max-width:1050px){.top{gap:14px}.top nav{gap:11px}.top nav a{font-size:12px}.detail{grid-template-columns:1fr 1fr}.hero{padding:44px 4%}}
@media(max-width:850px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.search{grid-template-columns:1fr 1fr}.detail{grid-template-columns:1fr}.property-summary{position:static}.top nav{order:3;flex-basis:100%;gap:12px}.top{gap:10px}.top-actions{margin-right:auto}.profile-grid{grid-template-columns:1fr}.hero-trust{gap:7px}.ticker-label{padding:8px 10px}.ticker-track{gap:24px}.site-footer{gap:18px}}
@media(max-width:560px){.container{width:94%;margin-top:15px}.hero{padding:30px 18px;border-radius:18px;min-height:unset}.hero h1{font-size:30px}.hero p{font-size:13px}.search,.grid,.form-grid{grid-template-columns:1fr}.wide{grid-column:auto}.photo{height:220px}.panel{padding:16px}.top{padding:10px 3%}.brand{font-size:20px}.brand-mark{width:38px;height:38px}.top nav{font-size:12px;gap:9px 12px}.top-actions .small{display:none}.detail .price{font-size:24px}.section-head h2{font-size:18px}.section-head{align-items:flex-start}.property-summary h1{font-size:24px}.property-price{font-size:27px}.site-footer{padding:26px 5%}.footer-links{gap:12px}.news-ticker{min-height:41px}.ticker-track{font-size:11px}.ticker-label{font-size:11px}}
@media(prefers-reduced-motion:reduce){.ticker-track{animation:none}*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* V5: user administration and scoped admin controls */
.admin-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:20px 0}
.admin-shortcut{display:flex;flex-direction:column;gap:8px;text-decoration:none;color:inherit;transition:transform .18s ease,box-shadow .18s ease}
.admin-shortcut:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(20,43,68,.10)}
.admin-shortcut>span:last-child{font-size:.86rem;color:var(--muted,#718096)}
.shortcut-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#e7f2f0;color:#197c78;font-size:1.35rem}
.user-stat-grid{margin:18px 0}
.user-edit summary{display:inline-flex;cursor:pointer;list-style:none;white-space:nowrap}
.user-edit summary::-webkit-details-marker{display:none}
.user-edit[open] summary{margin-bottom:12px}
.user-edit-form{min-width:270px;max-width:520px;padding:16px;background:#f8fafc;border:1px solid #dbe4ed;border-radius:14px;display:grid;gap:12px}
.user-edit-form .field{margin:0}
.permission-box{padding:12px;border:1px solid #dbe4ed;background:#fff;border-radius:12px}
.permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin-top:10px}
.permission-grid label{display:flex;align-items:flex-start;gap:8px;padding:10px;border:1px solid #e1e8ef;border-radius:10px;background:#fff;font-size:.9rem}
.permission-grid input{width:auto;min-width:16px;min-height:16px;margin-top:4px;accent-color:#197c78}
.permission-legend>div{padding:12px;border:1px solid #e1e8ef;border-radius:10px}
.users-table td{vertical-align:top}
.status-badge.approved{background:#e8f7ee;color:#167343}
.status-badge.rejected{background:#fff0f0;color:#a52d36}
@media(max-width:700px){.user-edit-form{min-width:240px}.user-stat-grid{grid-template-columns:1fr 1fr}.admin-shortcuts{grid-template-columns:1fr}}

/* V6: remember-me and owner-side property management */
.remember-me{display:flex;align-items:center;gap:9px;margin:12px 0 18px;color:var(--muted);font-size:13px}
.remember-me input{width:17px;height:17px;min-width:17px;accent-color:var(--teal)}
.property-user-actions{min-width:170px;white-space:nowrap}.btn-sm{padding:7px 10px;font-size:12px}
.badge.status-badge.pending{background:#fff6de;color:#8b6416}.badge.status-badge.approved{background:#e8f7ee;color:#167343}.badge.status-badge.sold{background:#fff0f0;color:#a52d36}.badge.status-badge.hidden{background:#e9eef3;color:#43566a}.badge.status-badge.rejected{background:#fff0f0;color:#a52d36}
.edit-media-list{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.existing-media{display:flex;flex-direction:column;gap:8px;padding:8px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:12px}.existing-media img,.existing-media video{width:140px;height:100px;object-fit:cover;border-radius:8px}.existing-media span{display:flex;align-items:center;gap:7px}.existing-media input{width:16px;min-width:16px;min-height:16px;accent-color:#d83d49}
.btn-danger{background:#b9363f;color:#fff;border:1px solid #b9363f}.btn-danger:hover{background:#982b32;color:#fff}

/* V7 — full-width real-estate listing detail, inspired by modern property portals */
.property-page{max-width:1120px;margin:0 auto;direction:rtl}
.property-breadcrumb{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px;color:#8a96a3;font-size:12px}
.property-breadcrumb a{color:#64768a;text-decoration:none}.property-breadcrumb a:hover{color:var(--teal)}.property-breadcrumb span{color:#a7b0ba}
.property-gallery{overflow:hidden;border-radius:16px;background:#fff;border:1px solid var(--line);box-shadow:0 8px 24px rgba(20,47,71,.06);margin-bottom:18px}
.property-gallery-main{height:clamp(300px,47vw,515px);position:relative;overflow:hidden;background:linear-gradient(135deg,#e8eef1,#d5e0e4)}
.property-gallery-main .property-hero-media{display:block;width:100%;height:100%;max-height:none;object-fit:cover;border-radius:0;background:#e7ecef}
.property-gallery-main video.property-hero-media{object-fit:contain;background:#172b3e}
.property-photo-count{position:absolute;bottom:15px;left:16px;display:inline-flex;align-items:center;gap:6px;background:rgba(14,28,42,.82);color:#fff;border:1px solid #ffffff25;border-radius:9px;padding:6px 10px;font-size:12px;font-weight:800;direction:ltr;backdrop-filter:blur(8px)}
.property-photo-count svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.property-gallery-status{position:absolute;top:17px;right:17px;padding:7px 13px;border-radius:8px;font-size:12px;font-weight:800;box-shadow:0 4px 14px #10283c1c}.property-gallery-status.sold{background:#bb302d;color:#fff}.property-gallery-status.featured{top:17px;right:auto;left:17px;background:#f1c46f;color:#4b3917}
.property-gallery-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#6e8799}.property-gallery-placeholder svg{width:68px;height:68px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.property-gallery-placeholder strong{font-size:14px}
.property-gallery-thumbs{display:flex;gap:9px;overflow-x:auto;padding:11px 13px;background:#fff;border-top:1px solid var(--line);scrollbar-width:thin}
.property-thumb{position:relative;flex:0 0 96px;width:96px;height:68px;padding:0;overflow:hidden;border:2px solid transparent;border-radius:9px;background:#eff3f5;cursor:pointer;opacity:.76;transition:border-color .18s,opacity .18s,transform .18s}
.property-thumb img{display:block;width:100%;height:100%;object-fit:cover}.property-thumb:hover{opacity:1;transform:translateY(-1px)}.property-thumb.active{opacity:1;border-color:var(--teal);box-shadow:0 0 0 2px #197c781b}
.property-video-thumb{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;background:linear-gradient(135deg,#17324d,#197c78);color:#fff}.property-video-thumb svg{height:23px;width:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.property-video-thumb small{font:700 10px Cairo}
.property-title-card{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:23px 26px;margin:0 0 17px!important;border-radius:15px}
.property-heading-copy{min-width:0;flex:1}.property-eyebrows{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#8491a0;font-size:12px;font-weight:700}.property-purpose{display:inline-flex;align-items:center;gap:7px;color:var(--teal);font-weight:800}.property-purpose i{width:7px;height:7px;border-radius:50%;background:var(--teal);display:inline-block}
.property-eyebrows .badge{position:static;box-shadow:none;padding:3px 9px}.property-title-card h1{font-size:clamp(23px,2.5vw,34px);line-height:1.45;letter-spacing:-.35px;color:#162f48;margin:8px 0 10px;font-weight:800;overflow-wrap:anywhere}
.property-title-address{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:#607387;font-size:13px}.property-title-address svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:var(--teal);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.property-title-address a{color:var(--teal);font-weight:800;text-decoration:none;margin-right:4px}.property-title-address a:hover{text-decoration:underline}
.property-heading-side{min-width:220px;display:flex;flex-direction:column;align-items:flex-end;gap:12px}.property-heading-side .property-price{display:flex;align-items:baseline;gap:7px;color:#17324d;font-size:clamp(25px,2.5vw,34px);font-weight:800;letter-spacing:-.5px;margin:0;white-space:nowrap}.property-heading-side .property-price small{font-size:16px;color:#53677c;font-weight:800}
.property-actions{display:flex;gap:8px}.property-action-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:37px;padding:7px 12px;border:1px solid #e1e7ec;border-radius:9px;background:#fff;color:#43566a;cursor:pointer;font:700 12px Cairo;transition:all .18s}.property-action-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.property-action-btn:hover{color:var(--teal);border-color:#9bcac5;background:#f5fbfa}.property-action-btn.property-favorite.saved{color:#c33c4a;background:#fff4f5;border-color:#efc3c8}.property-action-btn.property-favorite.saved svg{fill:#c33c4a}.property-action-status{font-size:10px;color:var(--teal);min-height:14px;text-align:left}
.property-spec-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #dfe6eb;border-radius:12px;overflow:hidden;margin:0 0 22px;box-shadow:0 5px 18px rgba(21,45,65,.03)}
.property-spec-item{display:flex;align-items:center;justify-content:center;gap:12px;padding:18px 13px;min-width:0;border-left:1px solid #e4e9ed}.property-spec-item:last-child{border-left:0}.property-spec-icon{display:flex;align-items:center;justify-content:center;flex:0 0 42px;height:42px;border-radius:11px;background:#edf5f4;color:var(--teal)}.property-spec-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.property-spec-copy{display:flex;flex-direction:column;gap:1px;min-width:0}.property-spec-copy small{font-size:11px;color:#83909e;white-space:nowrap}.property-spec-copy strong{font-size:16px;font-weight:800;color:#1a344e;overflow-wrap:anywhere}
.property-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}.property-main-column,.property-sidebar{min-width:0}.property-main-column>.panel,.property-sidebar>.panel{margin:0 0 19px;padding:23px;border-radius:14px}.property-section-heading{display:flex;align-items:center;gap:12px;padding-bottom:17px;border-bottom:1px solid #edf0f2;margin-bottom:17px}.property-section-heading h2{font-size:20px;margin:0;color:#17324d}.property-section-heading p{font-size:11px;color:#8a96a3;margin:2px 0 0}.property-section-icon{display:flex;align-items:center;justify-content:center;width:43px;height:43px;background:#edf5f4;color:var(--teal);border-radius:12px;flex:0 0 43px}.property-section-icon svg,.property-seller-avatar svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.property-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}.property-info-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:49px;padding:11px 13px;border-bottom:1px solid #edf0f2;font-size:12px}.property-info-row:nth-child(4n+1),.property-info-row:nth-child(4n+2){background:#f8fafb}.property-info-row span{color:#7c8997}.property-info-row strong{font-size:12px;color:#1c344c;font-weight:800;text-align:left}
.property-description-text{font-size:14px;line-height:2.15;color:#435468;overflow-wrap:anywhere}.property-map-button{margin-top:18px;font-size:12px}.property-map-button svg,.btn-inquiry svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.property-seller-card{position:sticky;top:92px}.property-section-heading.compact{padding-bottom:14px}.property-seller-avatar{display:flex;align-items:center;justify-content:center;width:43px;height:43px;background:#e5f2f0;color:var(--teal);border-radius:50%;flex:0 0 43px}.seller-detail-name{display:flex;flex-direction:column;gap:1px;margin-bottom:12px}.seller-detail-name strong{color:#20384f;font-size:15px}.seller-detail-name small{color:#8a96a3;font-size:11px}.property-privacy-note{display:flex;align-items:flex-start;gap:9px;background:#f6f9fa;border:1px solid #e8eef1;padding:11px;border-radius:10px;color:#68798a;font-size:11px;line-height:1.8}.property-privacy-note svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:var(--teal);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;margin-top:2px}.property-inquiry-cta{margin-top:17px;padding:16px;background:#f3f9f8;border:1px solid #dbece9;border-radius:12px}.property-inquiry-cta h3{font-size:17px;margin:0;color:#173b4a}.property-inquiry-cta>p{margin:5px 0 14px;font-size:11px;color:#677f82}.property-inquiry-cta .btn-inquiry{display:flex;min-height:44px}.property-sold-notice{font-size:12px;margin-top:14px}
.property-page .admin-private{direction:rtl}.property-page .admin-private div{direction:ltr;text-align:right;overflow-wrap:anywhere}
@media(max-width:900px){.property-detail-layout{grid-template-columns:minmax(0,1fr) 300px;gap:14px}.property-title-card{padding:20px}.property-spec-item{gap:8px;padding:15px 9px}.property-spec-icon{flex-basis:36px;height:36px}.property-spec-icon svg{width:20px;height:20px}.property-main-column>.panel,.property-sidebar>.panel{padding:19px}}
@media(max-width:720px){.property-gallery-main{height:clamp(230px,58vw,370px)}.property-title-card{align-items:flex-start;flex-direction:column;gap:14px;padding:19px}.property-heading-side{align-items:flex-start;min-width:0;width:100%;flex-direction:row;justify-content:space-between;flex-wrap:wrap}.property-heading-side .property-price{font-size:27px}.property-action-status{flex-basis:100%;text-align:right}.property-spec-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.property-spec-item{justify-content:flex-start;padding:13px;border-bottom:1px solid #e4e9ed}.property-spec-item:nth-child(2n){border-left:0}.property-spec-item:nth-last-child(-n+2){border-bottom:0}.property-detail-layout{grid-template-columns:1fr}.property-seller-card{position:static}.property-gallery-thumbs{padding:9px}.property-thumb{flex-basis:82px;width:82px;height:59px}.property-info-grid{column-gap:8px}.property-info-row{padding:10px 8px;font-size:11px}.property-info-row strong{font-size:11px}}
@media(max-width:430px){.property-breadcrumb{font-size:11px}.property-gallery-main{height:230px}.property-gallery-status{top:10px;right:10px}.property-gallery-status.featured{top:10px;left:10px}.property-photo-count{bottom:10px;left:10px}.property-title-card h1{font-size:23px}.property-heading-side .property-price{font-size:25px}.property-heading-side .property-price small{font-size:13px}.property-actions{gap:6px}.property-action-btn{padding:7px 9px}.property-spec-copy strong{font-size:14px}.property-section-heading h2{font-size:18px}.property-main-column>.panel,.property-sidebar>.panel{padding:15px}.property-info-grid{grid-template-columns:1fr}.property-info-row:nth-child(n){background:#fff}.property-info-row:nth-child(even){background:#f8fafb}}

/* About / Contact pages */
.content-page-hero{position:relative;overflow:hidden;margin:5px 0 22px;padding:42px clamp(22px,5vw,58px);border-radius:22px;color:#fff;background:linear-gradient(120deg,rgba(18,47,71,.97),rgba(25,124,120,.88)),radial-gradient(circle at 90% 12%,#ffffff30,transparent 38%);box-shadow:0 15px 40px rgba(20,47,71,.14)}
.content-page-hero:after{content:"";position:absolute;width:270px;height:270px;border:1px solid #ffffff2b;border-radius:50%;left:-65px;bottom:-165px;box-shadow:0 0 0 28px #ffffff09,0 0 0 58px #ffffff07;pointer-events:none}
.content-page-hero .eyebrow{display:inline-flex;padding:5px 12px;border-radius:30px;background:#ffffff18;color:#ffdc97;font-size:12px;font-weight:800}
.content-page-hero h1{position:relative;z-index:1;margin:8px 0 7px;font-size:clamp(28px,4vw,42px);line-height:1.35;color:#fff}
.content-page-hero p{position:relative;z-index:1;max-width:760px;margin:0;color:#e3eff3;line-height:2}
.content-page-panel{padding:clamp(20px,4vw,42px);display:grid;grid-template-columns:78px minmax(0,1fr);gap:22px;align-items:start}
.content-page-mark{width:72px;height:72px;display:flex;align-items:center;justify-content:center;border-radius:21px;background:linear-gradient(140deg,#e2f2ef,#eff5fa);color:var(--teal)}
.content-page-mark svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.content-page-copy{font-size:15px;line-height:2.25;color:#4c5c6a;white-space:normal;overflow-wrap:anywhere}
.content-page-copy p{margin:0 0 19px}.content-page-copy p:last-child{margin-bottom:0}
.content-page-cta{grid-column:2;display:flex;gap:10px;flex-wrap:wrap;margin-top:5px}
.contact-page-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.8fr);gap:20px;align-items:start}
.contact-form-panel,.contact-info-panel{margin:0}.contact-form{margin-top:18px}.contact-form textarea{resize:vertical;min-height:145px}.contact-info-column{display:grid;gap:16px}.contact-info-panel h2{margin:0;color:var(--navy);font-size:20px}.contact-method{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #edf0f2;text-decoration:none;color:var(--ink)}.contact-method:last-of-type{border-bottom:0}.contact-method-icon{display:flex;align-items:center;justify-content:center;flex:0 0 43px;width:43px;height:43px;border-radius:13px;background:#e8f4f2;color:var(--teal);font-size:22px}.contact-method small,.contact-method strong{display:block}.contact-method small{font-size:11px;color:var(--muted);margin-bottom:2px}.contact-method strong{font-size:13px;color:var(--navy);overflow-wrap:anywhere}.contact-map-link{width:100%;margin-top:10px}.contact-empty{padding:13px;border-radius:11px;background:#f6f8fa;color:var(--muted);font-size:12px}.contact-note{display:flex;gap:12px;padding:16px;border-radius:14px;background:#eaf6f2;border:1px solid #d1eae3;color:#285f58}.contact-note>span{display:flex;align-items:center;justify-content:center;flex:0 0 30px;height:30px;background:#d5eee5;border-radius:50%;font-weight:900}.contact-note strong{font-size:13px}.contact-note p{font-size:11px;line-height:1.9;margin:3px 0 0;color:#52746f}.hp-field{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.contact-status-new{background:#fff0dc;color:#88530a}.contact-status-read{background:#e6f5ec;color:#1d6a41}.admin-inline-actions{display:flex;gap:6px;flex-wrap:wrap}.message-preview{min-width:160px;max-width:360px;margin-top:7px;white-space:normal}.message-preview summary{cursor:pointer;color:var(--teal);font-weight:700}.message-preview p{white-space:normal;line-height:1.9;overflow-wrap:anywhere;color:#4f6071}
@media(max-width:800px){.contact-page-layout{grid-template-columns:1fr}.contact-info-column{grid-template-columns:1fr}.content-page-panel{grid-template-columns:1fr}.content-page-cta{grid-column:1}.content-page-mark{width:60px;height:60px;border-radius:17px}.content-page-mark svg{width:34px;height:34px}}

/* Property gallery: subtle in-place cross-fade for automatic and manual slides */
.property-gallery-main .property-hero-media{opacity:1;transition:opacity .38s ease-in-out;will-change:opacity}
.property-gallery-main.is-changing .property-hero-media{opacity:0}
.property-gallery-thumbs{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){.property-gallery-main .property-hero-media{transition:none!important}.property-gallery-thumbs{scroll-behavior:auto}}

/* V10: brand/news separation, image logo, bilingual layout */
.news-ticker{display:flex;direction:rtl;min-width:0;gap:0;position:relative}
.ticker-label{position:relative;z-index:2;flex:0 0 auto;max-width:42%;overflow:hidden;text-overflow:ellipsis;box-shadow:4px 0 12px rgba(20,47,71,.06)}
.ticker-window{min-width:0;flex:1;overflow:hidden;position:relative;direction:ltr;isolation:isolate}
.ticker-track{width:max-content;display:flex;align-items:center;gap:54px;white-space:nowrap;animation:ticker 35s linear infinite;will-change:transform}
.ticker-track span{display:inline-block;flex:0 0 auto}
@keyframes ticker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.brand-logo{display:block;width:46px;height:46px;object-fit:contain;border-radius:10px;background:#fff;border:1px solid var(--line);flex:0 0 auto}
.footer-logo{width:42px;height:42px}
.language-and-account{gap:10px;flex-wrap:wrap}
.language-switch{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;background:#f5f8fa;border:1px solid var(--line);border-radius:9px;font-size:11px;font-weight:800;white-space:nowrap}
.language-switch a{color:#5f7182!important;text-decoration:none}
.language-switch a[aria-current="true"]{color:var(--teal)!important}
html[dir="ltr"] body{font-family:Arial,Tahoma,sans-serif;line-height:1.65}
html[dir="ltr"] .brand,html[dir="ltr"] .top nav,html[dir="ltr"] .top-actions{direction:ltr}
html[dir="ltr"] .ticker-label{direction:ltr}
html[dir="ltr"] .ticker-track{animation-name:ticker-ltr}
@keyframes ticker-ltr{from{transform:translateX(-50%)}to{transform:translateX(0)}}
.site-logo-preview{max-width:320px}
.site-logo-preview img{object-fit:contain;background:#f7f9fb}
@media(max-width:760px){.top{gap:11px}.top nav{gap:10px}.language-and-account{margin-inline-start:auto}.ticker-label{padding:8px 10px;max-width:43%;font-size:11px}.ticker-track{gap:28px}.brand-logo{width:40px;height:40px}}

html[dir="ltr"] th,html[dir="ltr"] td{text-align:left}
html[dir="ltr"] .property-gallery-status{right:auto;left:12px}
html[dir="ltr"] .property-photo-count{left:auto;right:12px}
html[dir="ltr"] .ticker-label{box-shadow:-4px 0 12px rgba(20,47,71,.06)}
html[dir="ltr"] .background-preview span{right:auto;left:12px}
html[dir="ltr"] .news-ticker{direction:ltr}


/* V12: randomized property recommendations below the property details */
.property-recommendations{margin:24px 0 12px!important;padding:24px!important;border-radius:16px}
.property-recommendations .property-section-heading{margin-bottom:20px}
.property-recommendations-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.related-property-card{min-width:0}
.related-property-card .photo{height:190px}
.related-property-card .photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.related-property-card .photo:hover img{transform:scale(1.035)}
.related-property-card .card-body{padding:15px}
.related-property-card .price{font-size:15px;font-weight:800;color:var(--navy);line-height:1.6}
.related-property-card .price .muted{font-size:11px;font-weight:500}
.related-property-card h3{margin:8px 0;font-size:15px;line-height:1.7;min-height:3.2em;overflow-wrap:anywhere}
.related-property-card .meta{margin:9px 0 12px;gap:12px}
.related-property-card .badge.featured{top:10px;right:10px;left:auto}
html[dir="ltr"] .related-property-card .badge.featured{right:auto;left:10px}
@media(max-width:860px){.property-recommendations-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.related-property-card .photo{height:175px}}
@media(max-width:540px){.property-recommendations{padding:15px!important}.property-recommendations-grid{grid-template-columns:1fr;gap:13px}.related-property-card{display:grid;grid-template-columns:125px minmax(0,1fr)}.related-property-card .photo{height:100%;min-height:175px}.related-property-card .card-body{padding:11px}.related-property-card h3{font-size:13px;min-height:0}.related-property-card .price{font-size:13px}.related-property-card .meta{gap:7px;font-size:10px}.related-property-card .card-actions .btn{font-size:11px;padding:8px 10px}}
@media(prefers-reduced-motion:reduce){.related-property-card .photo img{transition:none!important}}
