@font-face { font-family: Cairo; src: url('fonts/Cairo-Variable.ttf') format('truetype'); font-weight: 200 1000; font-style: normal; font-display: swap; }
:root { --shortcoded-navy: #0b2033; --shortcoded-teal: #087f83; --shortcoded-hover: #06696d; --shortcoded-radius: .5rem; --shortcoded-control-height: 2.5rem; --bb-border-radius: .5rem; --bs-border-radius: .5rem; }
body, button, input, select, textarea { font-family: Cairo, sans-serif; }
body { font-size: 15px; line-height: 1.6; }
:is(.form-control,.form-select,.input-group-text,.btn) { border-width: 1px; border-radius: var(--shortcoded-radius); min-height: var(--shortcoded-control-height); box-sizing: border-box; font-size: .9375rem; line-height: 1.4; }
.form-control, .form-select, .input-group-text { padding-block: .5rem; }
.form-control, .input-group-text { padding-inline: .75rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .5rem 1rem; font-weight: 600; line-height: 1.4; }
.btn-sm { min-height: 2.25rem; padding: .375rem .75rem; }
.btn-icon { min-width: var(--shortcoded-control-height); padding-inline: .5rem; }
.form-label { margin-block-end: .375rem; }
.form-control:focus-visible, .form-select:focus-visible, .btn:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--shortcoded-teal); outline-offset: 2px; }
/* Resolve corners from the GROUP direction: numeric fields may correctly retain dir=ltr inside an RTL group. */
.input-group > :is(.form-control,.form-select,.input-group-text,.btn,.form-floating) { border-radius: 0 !important; margin: 0 !important; min-height: var(--shortcoded-control-height); }
.input-group > .form-floating > .form-control { border-radius: inherit !important; }
.input-group:dir(ltr) > :nth-child(1 of .form-control,.form-select,.input-group-text,.btn,.form-floating) { border-top-left-radius: var(--shortcoded-radius) !important; border-bottom-left-radius: var(--shortcoded-radius) !important; }
.input-group:dir(ltr) > :nth-last-child(1 of .form-control,.form-select,.input-group-text,.btn,.form-floating) { border-top-right-radius: var(--shortcoded-radius) !important; border-bottom-right-radius: var(--shortcoded-radius) !important; }
.input-group:dir(rtl) > :nth-child(1 of .form-control,.form-select,.input-group-text,.btn,.form-floating) { border-top-right-radius: var(--shortcoded-radius) !important; border-bottom-right-radius: var(--shortcoded-radius) !important; }
.input-group:dir(rtl) > :nth-last-child(1 of .form-control,.form-select,.input-group-text,.btn,.form-floating) { border-top-left-radius: var(--shortcoded-radius) !important; border-bottom-left-radius: var(--shortcoded-radius) !important; }
.input-group:dir(ltr) > :nth-child(n+2 of .form-control,.form-select,.input-group-text,.btn,.form-floating) { margin-left: -1px !important; }
.input-group:dir(rtl) > :nth-child(n+2 of .form-control,.form-select,.input-group-text,.btn,.form-floating) { margin-right: -1px !important; }
.page-wrapper, .page-body, .card, .card-body, .modal-content { min-width: 0; }
.table-responsive { max-width: 100%; }
.modal-body :is(input, select, textarea) { max-width: 100%; }
.text-start:dir(rtl) { text-align: right !important; }
.text-end:dir(rtl) { text-align: left !important; }
@media (max-width: 575px) { .page-header .row { row-gap: .75rem; } .page-header .btn-list { flex-wrap: wrap; } .card-body { padding: 1rem; } .btn { white-space: normal; } }

.shortcoded-auth-languages { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.shortcoded-auth-languages .btn { min-width: 6rem; margin: 0; }
.shortcoded-auth-languages [aria-current="page"] { color: #fff; background: var(--shortcoded-teal); border-color: var(--shortcoded-teal); }

/* Approved navy-ink logo remains readable on native dark navigation and guest surfaces. */
:is(.navbar[data-bs-theme="dark"], body[data-bs-theme="dark"]) .navbar-brand-image { background: #fff; padding: .25rem .5rem; border-radius: var(--shortcoded-radius); box-sizing: content-box; }
/* Retain the catalogue identifier before secondary columns on Responsive tables. */
.dataTable .shortcoded-record-name { min-inline-size: 10rem; max-inline-size: 20rem; white-space: normal; }
.dataTable .shortcoded-record-name > a { display: block; max-inline-size: 20rem; white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 575px) { .dataTable .shortcoded-record-name { min-inline-size: 6rem; max-inline-size: 10rem; } .dataTable .shortcoded-record-name > a { max-inline-size: 10rem; } }

.dataTable .table-actions .btn { min-inline-size: 2.5rem; min-block-size: 2.5rem; padding: .5rem; }

/* One native alternate-language link, shared by every public viewport. */
:root { --primary-font: Cairo, sans-serif !important; --heading-font: Cairo, sans-serif !important; }
.shortcoded-public-languages { display: flex; flex: 0 0 auto; }
.shortcoded-public-languages a { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-block-size: 44px; padding: .5rem .8rem; border: 1px solid #d8e3e9; border-radius: 10px; color: #16334a; background: #fff; font: 600 14px/1.5 Cairo,sans-serif; text-decoration: none; white-space: nowrap; transition: color .15s,background-color .15s,border-color .15s; }
.shortcoded-public-languages svg { width: 18px; height: 18px; }
.shortcoded-public-languages a:hover { border-color: #087f83; background: #f1f9f9; color: #06696d; }
.shortcoded-public-languages a:focus-visible { outline: 2px solid #087f83; outline-offset: 3px; }

/* Homzen owns public page composition, imagery, spacing and heading scale. */
button.mobile-button, button.close-btn { background: transparent; border: 0; padding: 0; color: inherit; }
button.mobile-button:focus-visible, button.close-btn:focus-visible { outline: 2px solid var(--shortcoded-teal); outline-offset: 3px; }
body.counter-scroll .shortcoded-demo-notice { padding-block: 1.25rem 0; text-align: center; }
body.counter-scroll .shortcoded-demo-notice p { color: #5c6368; font-size: .875rem; line-height: 1.8; }
body.counter-scroll :is(.tf-btn,.btn-filter-mobile,.nav-link-item,.reset-filter-btn,.box-icon) { min-block-size: 2.75rem; min-inline-size: 2.75rem; border-radius: .5rem; box-sizing: border-box; line-height: 1.5; }
body.counter-scroll .tf-btn { padding: .625rem 1.125rem; gap: .5rem; font-weight: 700; }
body.counter-scroll :is(.tf-btn.primary,.tf-btn.primary:hover) { background: var(--shortcoded-teal); border: 1px solid var(--shortcoded-teal); color: #fff; }
body.counter-scroll .tf-btn.primary:hover { background: var(--shortcoded-hover); border-color: var(--shortcoded-hover); }
body.counter-scroll :is(.box-filter-tab,.box-filter-tab > .d-flex) { flex-wrap: wrap; gap: .75rem; }
body.counter-scroll .box-filter-tab { padding: 1rem; border: 1px solid #dce5eb; border-radius: .75rem; background: #fff; }
body.counter-scroll .box-title-listing { gap: 1rem; margin-block-end: 1.5rem; }
body.counter-scroll :is(.flat-map .wrap-filter-search,.search-box-offcanvas-content) { border-radius: .75rem; }
body.counter-scroll.listing-no-map .flat-map { padding-block: 1.5rem; }
body.counter-scroll :is(input.form-control,.nice-select,.tf-btn,.box-icon,.nav-link-item):focus-visible { outline: 2px solid var(--shortcoded-teal); outline-offset: 3px; }
@media (max-width: 767px) {
  body.counter-scroll .box-filter-tab { justify-content: flex-start !important; padding: .75rem; }
  body.counter-scroll .box-filter-tab .nice-select { min-inline-size: 0; max-inline-size: 100%; }
}

/* Egyptian property portal: Homzen photo/search composition, compact market tools. */
body.counter-scroll { --market-ink: #102b40; --market-muted: #5b6e7d; --market-line: #dce5eb; --market-canvas: #f5f8fa; color: var(--market-ink); background: #fff; }
body.counter-scroll .container { max-inline-size: 1224px; }
body.counter-scroll .top-header { min-block-size: 32px; padding: 5px 28px; color: var(--market-muted); background: var(--market-canvas); border-block-end: 1px solid #eaf0f4; font-size: 12px; line-height: 1.6; }
body.counter-scroll .top-header a { color: #425968; }
.shortcoded-market-context { font-weight: 600; }
#header.main-header { block-size: 76px; padding-inline: 28px; border-block-end: 1px solid var(--market-line); background: #fff; }
#header .header-lower > .row { margin: 0; }
#header .header-lower > .row > div { padding: 0; }
#header .inner-container { min-block-size: 76px; gap: 24px; }
#header .logo-box { flex: 0 0 auto; padding: 0; }
#header .logo-box .logo img { max-inline-size: 142px; max-block-size: 42px; object-fit: contain; }
#header .main-menu .navigation { display: flex; align-items: center; gap: 28px; }
#header .main-menu .navigation > li { margin: 0; padding: 0; }
#header .main-menu .navigation > li > a { padding-block: 25px; font-size: 14px; font-weight: 600; line-height: 26px; }
#header .main-menu .navigation > li > a::before { bottom: 19px; }
.shortcoded-header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
#header .header-account { margin: 0; }
#header .header-account .tf-btn { min-block-size: 44px; padding: 9px 18px; font-size: 14px; border-radius: 10px; }
#header .mobile-button { display: none; }
.shortcoded-property-hero.flat-slider.home-1 { min-block-size: 480px; padding: 56px 0 32px; background-size: cover; background-position: center 52%; background-attachment: scroll; overflow: visible; transition: background-image 1s ease-in-out; }
.flat-slider.home-1.shortcoded-property-hero > .overlay { opacity: 1; background: linear-gradient(90deg,rgba(8,27,42,.72) 0%,rgba(8,27,42,.38) 48%,rgba(8,27,42,.04) 100%); }
.flat-slider.home-1.shortcoded-property-hero:dir(rtl) > .overlay { opacity: 1; background: linear-gradient(270deg,rgba(8,27,42,.72) 0%,rgba(8,27,42,.38) 48%,rgba(8,27,42,.04) 100%); }
.flat-slider.home-1.shortcoded-property-hero .container { position: relative; z-index: 2; }
.flat-slider.home-1.shortcoded-property-hero .slider-content { padding: 0; }
.flat-slider.home-1.shortcoded-property-hero .shortcoded-hero-copy { text-align: start !important; }
.flat-slider.home-1.shortcoded-property-hero .heading { margin-block-end: 28px; }
.flat-slider.home-1.shortcoded-property-hero .shortcoded-market-eyebrow { display: flex; align-items: center; gap: 8px; margin-block-end: 12px; color: #fff; font-size: 13px; font-weight: 600; line-height: 1.6; }
.shortcoded-market-eyebrow svg { inline-size: 18px; block-size: 18px; }
.flat-slider.home-1.shortcoded-property-hero h1 { max-inline-size: 760px; margin: 0; font-size: clamp(34px,4vw,52px); font-weight: 700; line-height: 1.3; text-wrap: balance; }
.flat-slider.home-1.shortcoded-property-hero .subtitle { inline-size: 100%; max-inline-size: 720px; padding: 0; margin: 12px 0 0; font-size: 17px; line-height: 1.8; text-wrap: pretty; }
.flat-slider.home-1.shortcoded-property-hero .flat-tab-form { border: 1px solid rgba(255,255,255,.7); border-radius: 16px; background: #fff; box-shadow: 0 14px 44px rgba(9,30,47,.14); }
.flat-slider.home-1.shortcoded-property-hero .nav-tab-form { justify-content: flex-start !important; gap: 6px; margin: 0; padding: 8px 12px; border-block-end: 1px solid #e5edf1; }
.flat-slider.home-1.shortcoded-property-hero .nav-tab-form .nav-link-item { min-block-size: 42px; padding: 9px 22px; border: 0; border-radius: 8px; background: transparent; color: #4e6473; font-size: 14px; font-weight: 700; line-height: 24px; }
.flat-slider.home-1.shortcoded-property-hero .nav-tab-form .nav-link-item.active { background: #087f83; color: #fff; }
.flat-slider.home-1.shortcoded-property-hero .form-sl { padding: 0; background: transparent; }
.flat-slider.home-1.shortcoded-property-hero .wd-find-select { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1.1fr) minmax(0,.9fr) auto auto; gap: 0; padding: 14px 8px; border: 0; border-radius: 0 0 16px 16px; background: #fff; }
.flat-slider.home-1.shortcoded-property-hero .wd-find-select .inner-group { display: contents; }
.flat-slider.home-1.shortcoded-property-hero .wd-find-select :is(.form-group-1,.form-group-2,.form-group-3) { inline-size: auto; min-inline-size: 0; margin: 0; padding: 0 18px; border: 0; border-inline-end: 1px solid #e1e9ef; }
.flat-slider.home-1.shortcoded-property-hero .wd-find-select label { display: block; margin: 0 0 3px; color: #5b6e7d; font-size: 12px; font-weight: 600; line-height: 22px; }
.flat-slider.home-1.shortcoded-property-hero .wd-find-select .form-control { inline-size: 100%; min-inline-size: 0; block-size: 32px; min-block-size: 32px; margin: 0; padding: 0; border: 0 !important; border-radius: 0; background: transparent; color: #16334a; box-shadow: none; font-size: 15px; line-height: 32px; }
.flat-slider.home-1.shortcoded-property-hero .wd-find-select .form-control::placeholder { color: #738592; opacity: 1; }
.flat-slider.home-1.shortcoded-property-hero .wd-find-select .nice-select { float: none; inline-size: 100%; max-inline-size: 100%; block-size: 32px; min-block-size: 32px; padding-inline: 0 22px; border: 0; border-radius: 0; line-height: 32px; text-align: start !important; font-size: 15px; }
.flat-slider.home-1.shortcoded-property-hero .wd-find-select .nice-select .current { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flat-slider.home-1.shortcoded-property-hero .wd-find-select .form-group-4 { display: flex; align-items: center; justify-content: center; inline-size: auto; margin: 0; padding: 0 14px; }
.flat-slider.home-1.shortcoded-property-hero .filter-advanced { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-block-size: 44px; padding: 8px 2px; color: #254355; font-size: 14px; line-height: 1.5; }
.flat-slider.home-1.shortcoded-property-hero .filter-advanced svg { inline-size: 21px; block-size: 21px; }
.flat-slider.home-1.shortcoded-property-hero .wd-find-select > .tf-btn { align-self: center; min-inline-size: 110px; min-block-size: 52px; margin-inline: 5px; padding-inline: 24px; border-radius: 10px; }
.flat-slider.home-1.shortcoded-property-hero .wd-search-form { z-index: 30; max-inline-size: 100%; border: 1px solid var(--market-line); border-radius: 12px; box-shadow: 0 18px 40px rgba(11,32,51,.12); }
body.counter-scroll .shortcoded-demo-notice { padding-block: 12px 0; text-align: start; }
body.counter-scroll .shortcoded-demo-notice p { margin: 0; font-size: 12px; line-height: 1.8; }
body.counter-scroll .flat-section { padding-block: 48px; }
body.counter-scroll .flat-section .box-title { margin-block-end: 24px; }
body.counter-scroll .flat-section .text-subtitle { margin-block-end: 6px; color: #087f83; font-size: 13px; font-weight: 600; }
body.counter-scroll .flat-section .section-title { margin-block-start: 0 !important; color: #102b40; font-size: 30px; line-height: 1.45; font-weight: 700; text-wrap: balance; }
body.counter-scroll .flat-recommended .nav-tab-recommended { gap: 8px; margin-block-end: 24px; }
body.counter-scroll .homeya-box { overflow: hidden; border: 1px solid #dce5eb; border-radius: 14px; background: #fff; box-shadow: none; }
body.counter-scroll .homeya-box:hover { border-color: #c7d9e2; box-shadow: 0 10px 28px rgba(12,43,62,.07); }
body.counter-scroll .homeya-box .images-style { aspect-ratio: 4/3; overflow: hidden; }
body.counter-scroll .homeya-box .images-style img { inline-size: 100%; block-size: 100%; object-fit: cover; }
body.counter-scroll .homeya-box .content { padding: 20px; }
body.counter-scroll .homeya-box .content :is(.h7,h3) { color: #16334a; font-size: 18px; line-height: 1.6; font-weight: 700; }
body.counter-scroll .homeya-box .content .desc { margin-block-start: 8px; color: #5b6e7d; font-size: 13px; }
body.counter-scroll .homeya-box .meta-list { margin-block-start: 16px; gap: 18px; }
body.counter-scroll .homeya-box .meta-list .item { gap: 6px; color: #415b6c; font-size: 13px; }
body.counter-scroll .homeya-box .archive-bottom { display: grid !important; grid-template-columns: minmax(0,1fr); gap: 12px; padding: 16px 20px; border-block-start: 1px solid #e6edf2; font-size: 12px; }
body.counter-scroll .homeya-box .archive-bottom > .d-flex:last-child { order: -1; }
body.counter-scroll .homeya-box .archive-bottom .h6 { color: #0b2033; font-size: 22px; font-weight: 700; line-height: 1.5; font-variant-numeric: tabular-nums; }
body.counter-scroll .homeya-box .shortcoded-property-price { display: inline-block; padding-inline-end: .3em; font-variant-numeric: tabular-nums; }
body.counter-scroll .homeya-box .archive-bottom .avatar { inline-size: 26px; block-size: 26px; }
body.counter-scroll .header-property-detail .shortcoded-detail-price { display: inline-block; font-variant-numeric: tabular-nums; }
.shortcoded-market-footer.footer { margin-block-start: 24px; padding: 44px 0 0; border-block-start: 1px solid #dce5eb; background: #f5f8fa; color: #425e70; }
.shortcoded-footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 48px; padding-block-end: 36px; }
.shortcoded-footer-brand img { max-inline-size: 150px; max-block-size: 40px; }
.shortcoded-market-footer p { max-inline-size: 38ch; margin: 16px 0 0; color: #536d7e; font-size: 14px; line-height: 1.9; }
.shortcoded-market-footer h2 { margin: 0 0 12px; color: #16334a; font-size: 15px; font-weight: 700; line-height: 1.7; }
.shortcoded-footer-links a { display: flex; align-items: center; min-block-size: 36px; color: #425e70; font-size: 14px; }
.shortcoded-footer-links a:hover { color: #087f83; }
.shortcoded-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 18px; border-block-start: 1px solid #dae5eb; font-size: 12px; }
@media (min-width: 992px) and (max-width: 1199.98px) {
  #header.main-header { padding-inline: 20px; }
  #header .inner-container { gap: 16px; }
  #header .logo-box .logo img { max-inline-size: 122px; }
  #header .main-menu .navigation { gap: 16px; }
  #header .main-menu .navigation > li > a { font-size: 13px; }
  #header .header-account .tf-btn { padding-inline: 13px; font-size: 13px; }
  .shortcoded-header-actions { gap: 8px; }
}
@media (max-width: 991.98px) {
  body.counter-scroll.listing-no-map .flat-title-page.style-2 { padding-block: 40px; }
  .listing-no-map > .flat-section-v5.flat-recommended { padding-block: 32px; }
  body.counter-scroll .header-property-detail .box-name .title { font-size: 28px; line-height: 1.5; }
  body.counter-scroll .header-property-detail .box-price .shortcoded-detail-price { font-size: 24px; line-height: 1.5; }
  body.counter-scroll .top-header { display: none !important; }
  #header.main-header { block-size: 72px; padding: 0 18px; }
  #header .inner-container { min-block-size: 72px; gap: 12px; }
  #header .logo-box .logo img { max-inline-size: 136px; max-block-size: 38px; }
  #header .nav-outer { display: none; }
  #header .header-account { display: none; }
  #header .mobile-button { display: inline-flex !important; align-items: center; justify-content: center; inline-size: 44px; block-size: 44px; min-block-size: 44px; padding: 9px; border: 1px solid #d8e3e9; border-radius: 10px; color: #16334a; background: #f5f8fa; }
  #header .mobile-button svg { inline-size: 24px; block-size: 24px; }
  .shortcoded-header-actions { margin-inline-start: auto; gap: 8px; }
  .shortcoded-public-languages a { padding-inline: 10px; font-size: 13px; }
  #header .mobile-menu { top: 72px; inline-size: min(360px,100%); height: calc(100vh - 72px); block-size: calc(100dvh - 72px); padding: 0; }
  #header .mobile-menu .menu-backdrop { top: 72px; height: calc(100vh - 72px); block-size: calc(100dvh - 72px); }
  #header .mobile-menu .bottom-canvas { block-size: 100%; height: 100%; padding: 24px 20px 72px; }
  body.mobile-menu-visible #header { position: fixed; inset-block-start: 0; z-index: 1000000; }
  body.mobile-menu-visible #header .mobile-button { visibility: hidden; }
  #header .close-btn { top: 14px; inset-inline-end: 18px; inline-size: 44px; block-size: 44px; border: 1px solid #d8e3e9; border-radius: 10px; background: #f5f8fa; color: #16334a; }
  #header .close-btn svg { inline-size: 24px; block-size: 24px; }
  .shortcoded-property-hero.flat-slider.home-1 { min-block-size: 0; padding-block: 36px 28px; }
  .flat-slider.home-1.shortcoded-property-hero h1 { max-inline-size: 680px; font-size: 40px; }
  .flat-slider.home-1.shortcoded-property-hero .heading { margin-block-end: 24px; }
  .flat-slider.home-1.shortcoded-property-hero .subtitle { max-inline-size: 620px; font-size: 16px; }
  .flat-slider.home-1.shortcoded-property-hero .wd-find-select { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 12px; padding: 16px; }
  .flat-slider.home-1.shortcoded-property-hero .form-search-location { grid-column: 1/-1; }
  .flat-slider.home-1.shortcoded-property-hero .wd-find-select :is(.form-group-1,.form-group-2,.form-group-3) { padding: 0 10px; border: 1px solid #dce5eb; border-radius: 8px; }
  .flat-slider.home-1.shortcoded-property-hero .wd-find-select label { margin-block-start: 5px; }
  .flat-slider.home-1.shortcoded-property-hero .wd-find-select .form-group-4 { padding: 0; }
  .flat-slider.home-1.shortcoded-property-hero .filter-advanced { inline-size: 100%; border: 1px solid #dce5eb; border-radius: 8px; }
  .flat-slider.home-1.shortcoded-property-hero .wd-find-select > .tf-btn { inline-size: 100%; min-inline-size: 0; min-block-size: 46px; margin: 0; padding-inline: 12px; }
  .flat-slider.home-1.shortcoded-property-hero > .overlay, .flat-slider.home-1.shortcoded-property-hero:dir(rtl) > .overlay { opacity: 1; background: linear-gradient(180deg,rgba(8,27,42,.58),rgba(8,27,42,.32) 55%,rgba(8,27,42,.08)); }
  .shortcoded-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .shortcoded-footer-brand { grid-column: 1/-1; }
}
@media (max-width: 575.98px) {
  body.counter-scroll .container { padding-inline: 18px; }
  #header .logo-box .logo img { max-inline-size: 114px; }
  .shortcoded-property-hero.flat-slider.home-1 { padding-block: 28px 24px; }
  .flat-slider.home-1.shortcoded-property-hero .shortcoded-market-eyebrow { margin-block-end: 10px; font-size: 12px; }
  .flat-slider.home-1.shortcoded-property-hero h1 { font-size: 32px; line-height: 1.45; }
  .flat-slider.home-1.shortcoded-property-hero .subtitle { margin-block-start: 8px; font-size: 14px; line-height: 1.8; }
  .flat-slider.home-1.shortcoded-property-hero .heading { margin-block-end: 20px; }
  .flat-slider.home-1.shortcoded-property-hero .nav-tab-form { gap: 4px; padding: 7px; }
  .flat-slider.home-1.shortcoded-property-hero .nav-tab-form .nav-tab-item { flex: 1; }
  .flat-slider.home-1.shortcoded-property-hero .nav-tab-form .nav-link-item { justify-content: center; padding-inline: 6px; font-size: 13px; }
  .flat-slider.home-1.shortcoded-property-hero .wd-find-select { padding: 12px; gap: 10px; }
  .flat-slider.home-1.shortcoded-property-hero .wd-find-select .form-control, .flat-slider.home-1.shortcoded-property-hero .wd-find-select .nice-select { font-size: 13px; }
  body.counter-scroll .flat-section { padding-block: 32px; }
  body.counter-scroll .flat-section .section-title { font-size: 24px; }
  body.counter-scroll .homeya-box .content { padding: 16px; }
  body.counter-scroll .homeya-box .archive-bottom { padding: 14px 16px; }
  .shortcoded-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .shortcoded-footer-brand { grid-column: auto; }
  .shortcoded-market-footer.footer { padding-block-start: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .shortcoded-property-hero.flat-slider.home-1, .homeya-box, .shortcoded-public-languages a { transition: none; }
}

/* Keep native popup actions reachable on touch and short screens. */
body.counter-scroll :is(.search-box-offcanvas-header,.modal-header) .btn-close { flex: 0 0 44px; inline-size: 44px; block-size: 44px; min-block-size: 44px; padding: 0; background-size: 14px; opacity: .8; }
body.counter-scroll .box-filter-tab .nice-select .list { inset-inline-start: auto; inset-inline-end: 0; min-inline-size: 100%; max-inline-size: min(320px,calc(100vw - 60px)); max-block-size: min(320px,55dvh); overflow-y: auto; }
body.counter-scroll .box-filter-tab .nice-select .option { white-space: normal !important; line-height: 1.6; padding-block: 11px; min-block-size: 44px; }
body.counter-scroll .wd-search-form .nice-select .list { max-block-size: min(280px,55dvh); overflow-y: auto; }
body.counter-scroll .wd-search-form .nice-select .option { min-block-size: 44px; line-height: 1.6; padding-block: 10px; }
body.counter-scroll .wd-search-form .multi-select-dropdown .multi-select-option { min-block-size: 44px; }
@media (max-width: 767px) {
  body.counter-scroll.shortcoded-filter-open { overflow: hidden; }
  body.counter-scroll .search-box-offcanvas-content { max-inline-size: min(420px,calc(100% - 24px)); overscroll-behavior: contain; padding-block-end: max(32px,env(safe-area-inset-bottom)); }
  body.counter-scroll .search-box-offcanvas-header { padding: 8px 16px; }
  body.counter-scroll .search-box-offcanvas .form-search-box-offcanvas-button { inline-size: 100%; }
  body.counter-scroll .box-filter-tab > .d-flex { inline-size: 100%; }
  body.counter-scroll .box-filter-tab .nice-select.list-sort { flex: 1 1 170px; inline-size: auto; }
}
body.counter-scroll .multi-select-trigger:focus-visible { outline: 2px solid var(--shortcoded-teal); outline-offset: 3px; }
body.counter-scroll :is(.flat-tab-form,.box-filter-tab) .nice-select .list,
body.counter-scroll .wd-search-form .multi-select-options { max-height: var(--shortcoded-popup-height, min(320px,55dvh)) !important; }
body.counter-scroll :is(.flat-tab-form,.box-filter-tab) .nice-select.shortcoded-open-above .list,
body.counter-scroll .wd-search-form .shortcoded-open-above .multi-select-options { top: auto; bottom: calc(100% + 4px); transform-origin: 50% 100%; }


/* Center only page-size values, reserving equal space for the caret in either direction. */
.dataTables_wrapper .dataTables_length select, .dt-container .dt-length select, body.counter-scroll .box-filter-tab select#per_page {
  min-inline-size: 4.5rem; padding-inline: 1.25rem; text-align: center; text-align-last: center;
  -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .375rem center; background-size: .75rem .75rem;
}
:is(.dataTables_wrapper .dataTables_length select, .dt-container .dt-length select, body.counter-scroll .box-filter-tab select#per_page):dir(rtl) { background-position: left .375rem center; }

body.counter-scroll #per_page + .nice-select.list-page { padding-inline: 1.5rem; text-align: center !important; }
body.counter-scroll #per_page + .nice-select.list-page .current { display: block; text-align: center; }
body.counter-scroll #per_page + .nice-select.list-page::after { left: auto; right: auto; inset-inline-end: .5rem; }

[data-bs-theme="dark"] :is(.dataTables_wrapper .dataTables_length select, .dt-container .dt-length select, body.counter-scroll .box-filter-tab select#per_page) { color: #e5f0f5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23e5f0f5' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E"); }

@media (forced-colors: active) {
  .dataTables_wrapper .dataTables_length select, .dt-container .dt-length select, body.counter-scroll .box-filter-tab select#per_page { -webkit-appearance: auto; appearance: auto; background-image: none; }
}

/* Size project metadata against its content rail, including the native desktop sidebar. */
.shortcoded-project-editor { container: shortcoded-project-editor / inline-size; }
@container shortcoded-project-editor (max-width: 1000px) {
  .shortcoded-project-editor > .row > :is(.col-md-9,.col-md-3) { width: 100%; }
}

/* The overlaid city icon keeps its native logical edge; typed text needs matching clearance. */
.flat-slider.home-1.shortcoded-property-hero .wd-find-select .form-search-location input.form-control { padding-inline-end: 44px; }
