/* Single-choice selects keep a visible arrow inside the control boundary. */
select:not([multiple]):not([size]),select[size="1"]{
  appearance:none!important;-webkit-appearance:none!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23171917' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:right 16px center!important;
  background-size:12px 8px!important;padding-right:44px!important;min-height:44px;
}
.reserve-form select:not([multiple]){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23ffffff' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E")!important}
.phone-group .phone-code,.lead-pop-card .phone-code{min-width:116px;max-width:45%;padding-right:38px!important;background-position:right 12px center!important}
.phone-group input{min-width:0}
select[multiple]{background-image:none}
.pref-modal:not(.open){visibility:hidden}
.pref-modal{max-height:calc(100dvh - 32px);overflow-y:auto}
.lightbox-close{min-width:44px;min-height:44px}
.form-success:focus{outline:2px solid #8d9e73;outline-offset:5px}
@media(max-width:767px){
  .reserve-form input,.reserve-form select,.reserve-form textarea,.lead-field input,.lead-field select{font-size:16px}
  .currency-btn,.nav-toggle{min-height:44px;min-width:44px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

[data-service-preferences][hidden]{display:none!important}

/* Preserve the live CTA treatment while giving standalone actions room to tap. */
.btn-solid,.btn-dark,.btn-outline{
  font-family:var(--sans);border-radius:0;min-height:44px;
}
main .btn-outline{display:inline-flex;align-items:center;justify-content:center}
a.link-arrow{min-height:44px;max-width:100%;white-space:normal}
.site-header .header-actions>.btn-outline{align-items:center;justify-content:center}
.international-approach-link,.pc-access-form>summary,.uae-more-filters>summary{min-height:44px}
.uae-card-arrow{min-width:44px;min-height:44px}
@media(max-width:1023px){
  body main #contactForm :is(input,select,textarea){font-size:16px}
  body main .pr-advisor-form input,body main .pr-residence-value{font-size:16px}
  body main :is(.reserve-form,.lead-field) :is(input,select,textarea){font-size:16px}
}

/* Allow payment columns to shrink before the table's own scroll area takes over. */
.pd-pay-grid>*{min-width:0}
.pd-pay-table .ii-table-scroll{max-width:100%;overflow-x:auto}

/* Off Plan city submenu */
.nav-nested{position:relative}
.nav-nested-toggle{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:13px 24px;font-size:12px;letter-spacing:1.5px;text-transform:uppercase;color:rgba(255,255,255,.75);line-height:16px;cursor:pointer;list-style:none}
.nav-nested-toggle::-webkit-details-marker{display:none}
.nav-nested-toggle:hover,.nav-nested[open]>.nav-nested-toggle{color:#fff;background:rgba(255,255,255,.06)}
.nested-caret{width:10px;height:10px;flex-shrink:0;transform:rotate(-90deg)}
.nav-nested-menu{position:absolute;left:100%;top:-9px;min-width:280px;padding:8px 0;background:rgba(0,0,0,.97);border:1px solid rgba(255,255,255,.08)}
.nav-nested-toggle:focus-visible{outline:2px solid #fff;outline-offset:-4px}
@media(max-width:1023px){
.nav-item.open .nav-dropdown{max-height:none;overflow:visible}
.nav-nested-menu{position:static;min-width:0;border:0;border-left:1px solid rgba(255,255,255,.2);margin:0 24px;padding:0;background:transparent}
.nav-nested-menu .dropdown-link{padding:13px 16px;letter-spacing:1px}
.nested-caret{transform:none}.nav-nested[open] .nested-caret{transform:rotate(180deg)}
}

/* Archive project CTAs follow the live site's square, uppercase Geist treatment. */
.uae-project{display:flex;flex-direction:column}
.uae-project .uae-project-copy{display:flex;flex-direction:column;flex:1;align-items:flex-start}
.uae-project .uae-project-copy dl{width:100%;padding-right:0;margin-bottom:24px}
.uae-project .project-card-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:48px;max-width:100%;margin-top:auto;padding:14px 20px;border:1px solid #171717;border-radius:0;background:transparent;color:#171717;font:400 12px/1.5 var(--sans);letter-spacing:1.44px;text-transform:uppercase;text-decoration:none;transition:background .3s,color .3s}
.uae-project .project-card-cta img{width:16px;height:16px;flex:none;transition:transform .3s,filter .3s}
.uae-project .project-card-cta:hover{background:#171717;color:#fff}
.uae-project .project-card-cta:hover img{filter:brightness(0) invert(1);transform:translateX(3px)}
.uae-project .project-card-cta:focus-visible{outline:2px solid #171717;outline-offset:4px}
@media(max-width:767px){.uae-project .project-card-cta{padding:14px 18px;gap:20px}}
@media(prefers-reduced-motion:reduce){.uae-project .project-card-cta:hover img{transform:none}}

/* Text-only CTAs: keep action labels centred after removing decorative arrows. */
:is(.btn-solid,.btn-outline,.btn-dark,.project-card-cta,.por-relationship-cta,.por-dark-button,.est-btn){justify-content:center!important}
:is(.btn-solid,.btn-outline,.btn-dark,.project-card-cta,.link-arrow,.pi-link,.ii-text-link,.sc-link,.por-editorial-link,.por-relationship-cta,.pc-access-direct,.brand-tile-explore) img[src*="arrow-right"]{display:none}
