/*
 * Puts the site's existing buttons, chips, tabs, pagination, slider arrows, FAQ rows and form fields onto the
 * shared UI set (ui.css, shown on /ui-style-guide in local) without touching their markup or the scripts that
 * use their classes. Loaded on every frontend page, after every other stylesheet.
 *
 * Built from the 20 Nov 2026 audit of 29 pages: each block names the old look it replaces. Only appearance is
 * changed here (colour, border, corner, height, weight); position, display and widths stay with the page's own
 * CSS, so layouts and the scripts that show or hide things are untouched.
 *
 * Why so many !important: style.css, the page stylesheets and inline <style> blocks already use it on these same
 * properties (and select2's CSS loads after the page), so a plain rule here would lose.
 */

/* ---------------------------------------------------------------- colours
   --primary-color comes from Admin settings (#696969, the grey of every old button). Pointing it at the ink makes
   every button, underline and border painted with it follow, on every page and in Arabic, in one place. */
:root {
    --primary-color: #171617;
}

/* style.css paints every link with --primary-color on hover (!important). On dark backgrounds that would now be
   ink on ink, so links there keep a light colour. */
footer#footer a:hover,
.home-hero a:hover,
.hero-card a:hover,
.topbar a:hover,
.top-bar a:hover,
.anchor-white:hover {
    color: #ffffff !important;
}

/* Bootstrap's focus ring was a 4px block of the primary colour; a soft ring now. */
html body .btn:focus,
html body .btn:focus-visible,
html body .btn-check:focus + .btn,
html body .btn-primary:focus {
    box-shadow: var(--ui-focus) !important;
}

/* ---------------------------------------------------------------- primary buttons (ink)
   Was: grey #696969 at corner 4 (Submit, Send, Next, Show More), corner 8 (Submit Request, Calculate, Apply Now,
   Download Brochure with black text on grey), and a gradient Submit Request on the project page. */
html body .btn-primary,
html body .btn-find,
html body button.Calculate,
html body .makeInquiry,
html body .downloaddboucher {
    background: var(--ui-ink) !important;
    background-image: none !important;
    border: 1px solid var(--ui-ink) !important;
    color: #ffffff !important;
    border-radius: var(--ui-r) !important;
    font-family: var(--ui-font) !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: none;
    transition: background-color .15s, border-color .15s;
}
html body .btn-primary:hover,
html body .btn-find:hover,
html body button.Calculate:hover,
html body .makeInquiry:hover,
html body .downloaddboucher:hover {
    background: var(--ui-ink-hover) !important;
    border-color: var(--ui-ink-hover) !important;
    color: #ffffff !important;
}
html body .btn-primary *,
html body .btn-find *,
html body .makeInquiry *,
html body .downloaddboucher * {
    color: inherit;
}
html body .btn-primary:disabled,
html body .btn-primary.disabled {
    opacity: .45 !important;
}
/* The big form buttons: one height (48) and one size of text instead of 52-68px and 15-20px. */
html body .btn-find,
html body button.Calculate,
html body .downloaddboucher {
    min-height: var(--ui-h-lg);
    height: auto !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
}
html body .makeInquiry {
    font-size: 15px !important;
}
/* On a dark band the main button is white with ink text (an ink button there would disappear). The project page's
   enquiry section turns dark on phones (mobile.css). */
@media (max-width: 767.98px) {
    html body .overLayAndSubmit .btn-find {
        background: #ffffff !important;
        border-color: #ffffff !important;
        color: var(--ui-ink) !important;
    }
    html body .overLayAndSubmit .btn-find:hover {
        background: #eceef1 !important;
        border-color: #eceef1 !important;
        color: var(--ui-ink) !important;
    }
}

/* The community page's search: the black "Find" box joined to the field had square corners. Outer corners only, so
   the two still read as one control. */
html body .input-group > .search-input {
    border-start-end-radius: var(--ui-r) !important;
    border-end-end-radius: var(--ui-r) !important;
}
html body .input-group:has(> .search-input) > .form-control {
    border-start-start-radius: var(--ui-r) !important;
    border-end-start-radius: var(--ui-r) !important;
}

/* ---------------------------------------------------------------- secondary buttons (outline)
   Was: four outline looks (thin grey corner 4, dark corner 4, corner 8, Bootstrap's green on the thank-you page)
   and the grey filled Download Master Plan / Download All Floor Plan. */
html body .btn-outline-secondary,
html body .btn-outline-dark,
html body .btn-outline-primary,
html body .btn-outline-success,
html body .masterbtn,
html body .masterbtn.downloadbtn {
    background: var(--ui-surface) !important;
    background-image: none !important;
    border: 1px solid var(--ui-field) !important;
    color: var(--ui-ink) !important;
    border-radius: var(--ui-r) !important;
    font-family: var(--ui-font) !important;
    font-weight: 600 !important;
    text-transform: none !important;
}
html body .btn-outline-secondary:hover,
html body .btn-outline-dark:hover,
html body .btn-outline-primary:hover,
html body .btn-outline-success:hover,
html body .masterbtn:hover {
    background: var(--ui-subtle) !important;
    border-color: var(--ui-ink) !important;
    color: var(--ui-ink) !important;
}
html body .btn-outline-secondary *,
html body .btn-outline-dark *,
html body .btn-outline-primary *,
html body .masterbtn * {
    color: inherit !important;
}
html body .masterbtn {
    min-height: var(--ui-h-lg);
    height: auto !important;
    font-size: 15px !important;
}
/* The download icons in those buttons were white PNG/SVG on grey; on white they are drawn dark. */
html body .masterbtn img {
    filter: brightness(0);
}

/* ---------------------------------------------------------------- WhatsApp, call, email
   Was: light green #3ebd4e with dark text at 56-70px, a grey "Contact Us" box, grey agent buttons. */
html body .WhatsappAndmail > a:first-child,
html body .watsappBtn {
    background: var(--ui-whatsapp) !important;
    border: 1px solid var(--ui-whatsapp) !important;
    color: #ffffff !important;
    border-radius: var(--ui-r) !important;
    font-family: var(--ui-font);
    font-weight: 600 !important;
}
html body .WhatsappAndmail > a:first-child:hover,
html body .watsappBtn:hover {
    background: var(--ui-whatsapp-hover) !important;
    color: #ffffff !important;
}
html body .WhatsappAndmail > a:first-child *,
html body .watsappBtn * {
    color: #ffffff !important;
}
html body .WhatsappAndmail > a + a,
html body .buttonContainer .contactus,
html body .agentbtn > button {
    background: var(--ui-surface) !important;
    border: 1px solid var(--ui-field) !important;
    color: var(--ui-ink) !important;
    border-radius: var(--ui-r) !important;
    font-family: var(--ui-font);
    font-weight: 600 !important;
}
html body .WhatsappAndmail > a + a:hover,
html body .buttonContainer .contactus:hover,
html body .agentbtn > button:hover {
    background: var(--ui-subtle) !important;
    border-color: var(--ui-ink) !important;
    color: var(--ui-ink) !important;
}
html body .WhatsappAndmail > a + a *,
html body .buttonContainer .contactus *,
html body .agentbtn > button * {
    color: inherit !important;
}

/* ---------------------------------------------------------------- text buttons
   "Show More" in the footer lists was grey #696969; "Read more" on a project sat in a grey box. */
html body .pre-footer-link.load-more-btn,
html body .pre-footer-link.show-less-btn {
    color: var(--ui-ink) !important;
}
html body button.moreless-button,
html body button.readmore {
    background: transparent !important;
    color: var(--ui-ink) !important;
    font-weight: 600 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding-inline: 0 !important;
}

/* ---------------------------------------------------------------- page headings
   Most pages' H1 is 30px / 800. The odd ones out follow: a community (36/700), the developers list and a developer
   (24/700), the blog index and its categories (52/500) and the agent profile (49/800). The home hero and the map's
   toolbar title keep their own sizes on purpose. */
html body h1.community-listing-title,
html body.route-frontend-developers h1.is-h2,
html body.route-frontend-developer h1.is-h2,
html body h1.h1font70,
html body.route-frontend-agent h1 {
    font-family: var(--ui-font) !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -.01em;
}
@media (max-width: 767.98px) {
    html body h1.community-listing-title,
    html body.route-frontend-developers h1.is-h2,
    html body.route-frontend-developer h1.is-h2,
    html body h1.h1font70,
    html body.route-frontend-agent h1 {
        font-size: 24px !important;
    }
}

/* ---------------------------------------------------------------- breadcrumbs
   The earlier steps ("Home", "Abu Dhabi") were #c0bfbf, 1.8:1; the page itself stays the darkest. */
html body .breadcrumb-item:not(:last-child),
html body .breadcrumb-item:not(:last-child) a {
    color: var(--ui-muted) !important;
}
html body .breadcrumb-item:not(:last-child) a:hover {
    color: var(--ui-ink) !important;
}
html body .breadcrumb-item:last-child,
html body .breadcrumb-item:last-child a {
    color: var(--ui-text) !important;
}

/* ---------------------------------------------------------------- tabs (underline)
   Was: inactive tabs in #c0bfbf, readable at 1.8:1 (home, emirate, community, project, sale, rent). */
html body .nav-tabs .nav-link:not(.active) {
    color: var(--ui-muted);
}
html body .nav-tabs .nav-link.active {
    border-bottom-color: var(--ui-ink) !important;
    font-weight: 600;
}

/* ---------------------------------------------------------------- chips and pill tabs
   Tabs drawn as pills keep their shape; the chosen one is ink with WHITE text (on sale/rent it was ink on ink:
   style.css forces the active tab's text to near-black with !important). */
html body.route-frontend-salecategory .nav-tabs .nav-link,
html body.route-frontend-rentcategory .nav-tabs .nav-link,
html body.route-frontend-rentandsalecategory .nav-tabs .nav-link {
    min-height: var(--ui-h-chip);
    border: 1px solid var(--ui-field) !important;
    border-radius: 999px !important;
    background: var(--ui-surface);
    color: var(--ui-text) !important;
    font-family: var(--ui-font);
    font-size: 14px;
    font-weight: 500;
}
html body.route-frontend-salecategory .nav-tabs .nav-link.active,
html body.route-frontend-rentcategory .nav-tabs .nav-link.active,
html body.route-frontend-rentandsalecategory .nav-tabs .nav-link.active,
html body.route-frontend-salecategory .nav-tabs .nav-item.show .nav-link,
html body.route-frontend-rentcategory .nav-tabs .nav-item.show .nav-link {
    background: var(--ui-ink) !important;
    border-color: var(--ui-ink) !important;
    color: #ffffff !important;
}
html body.route-frontend-salecategory .nav-tabs .nav-link.active *,
html body.route-frontend-rentcategory .nav-tabs .nav-link.active *,
html body.route-frontend-rentandsalecategory .nav-tabs .nav-link.active * {
    color: #ffffff !important;
}

/* Unit type pills (Studio, 1 Bed, 2 Beds... and "All Units"): were outline corner 8 at 38px and 17px text, ink corner
   7 on the project page. */
html body .right-side .nav-tabs .nav-link,
html body button.nav-link.anchor,
html body button.unittType.nav-link {
    min-height: var(--ui-h-chip);
    border: 1px solid var(--ui-field) !important;
    border-radius: 999px !important;
    background: var(--ui-surface) !important;
    color: var(--ui-text) !important;
    font-family: var(--ui-font) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 0 16px !important;
    line-height: 34px !important;
}
html body .right-side .nav-tabs .nav-link.active,
html body button.nav-link.anchor.active,
html body button.unittType.nav-link.active {
    background: var(--ui-ink) !important;
    border-color: var(--ui-ink) !important;
    color: #ffffff !important;
}
html body .right-side .nav-tabs .nav-link:not(.active):hover,
html body button.nav-link.anchor:not(.active):hover,
html body button.unittType.nav-link:not(.active):hover {
    border-color: var(--ui-ink) !important;
    color: var(--ui-ink) !important;
}

/* Home: the Browse chips were grey filled at corner 20; white pills like every other chip now (gold stays gold).
   The search card keeps its pill-shaped bar and button; the alerts button takes the button corner. */
html body .home-chip:not(.home-chip--gold) {
    background: var(--ui-surface) !important;
    border: 1px solid var(--ui-field) !important;
    color: var(--ui-text) !important;
}
html body .home-chip:not(.home-chip--gold):hover {
    border-color: var(--ui-ink) !important;
    color: var(--ui-ink) !important;
}
html body .home-chip {
    border-radius: 999px !important;
    font-weight: 500 !important;
}
html body .ais-try a {
    background: var(--ui-surface) !important;
    border-color: var(--ui-field) !important;
}
html body .ais-try a:hover {
    border-color: var(--ui-ink) !important;
    color: var(--ui-ink) !important;
}
html body .home-alerts__go,
html body .home-lead__send {
    border-radius: var(--ui-r) !important;
    font-weight: 700 !important;
}

/* Quick filter chips on the listings, the community strip and the multimedia filter: one border, one height. */
html body .lp-chip,
html body .communityStrip__pill,
html body .mm-pill {
    min-height: var(--ui-h-chip);
    border-color: var(--ui-field) !important;
    border-radius: 999px !important;
    font-family: var(--ui-font);
    font-size: 14px !important;
    font-weight: 500 !important;
}
html body .lp-chip:hover,
html body .communityStrip__pill:hover,
html body .mm-pill:hover {
    border-color: var(--ui-ink) !important;
}
html body .lp-chip.is-active,
html body .lp-chip.active,
html body .lp-chip[aria-current],
html body .mm-pill.is-active {
    background: var(--ui-ink) !important;
    border-color: var(--ui-ink) !important;
    color: #ffffff !important;
}
html body .mm-pill { display: inline-flex; align-items: center; }

/* Blog categories (blog index and a category page): were corner-6 boxes with a #c0bfbf border. */
html body .blogCategoriesContainer,
html body .swiper-slide.selected {
    border: 1px solid var(--ui-field) !important;
    border-radius: 999px !important;
    padding: 7px 16px !important;
}
html body .blogCategoriesContainer a {
    color: var(--ui-text) !important;
    font-size: 14px;
    font-weight: 500;
}
html body .blogCategoriesContainer:hover {
    border-color: var(--ui-ink) !important;
}
html body .swiper-slide.selected {
    border-color: var(--ui-ink) !important;
}
html body .swiper-slide.selected a {
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 500;
}
html body .lp-chips__label {
    color: var(--ui-muted) !important;
}

/* Multimedia Grid | Table switch: a segmented control like the guide's. */
html body .mm-toggle {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    background: var(--ui-subtle) !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: var(--ui-r) !important;
    overflow: visible !important;
}
html body .mm-toggle > button {
    background: transparent !important;
    color: var(--ui-muted) !important;
    border: 0 !important;
    border-radius: calc(var(--ui-r) - 3px) !important;
    font-weight: 600 !important;
    min-height: 30px;
}
html body .mm-toggle > button.is-active {
    background: var(--ui-surface) !important;
    color: var(--ui-ink) !important;
    box-shadow: var(--ui-shadow-sm);
}

/* ---------------------------------------------------------------- pagination
   Was: page numbers in #c0bfbf on nothing (1.8:1), the current one an ink block of another size. */
html body .pagination {
    gap: 6px;
    flex-wrap: wrap;
}
html body .pagination > .page-item .page-link,
html body .pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px !important;
    margin: 0 !important;
    color: var(--ui-text) !important;
    background: var(--ui-surface) !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: var(--ui-r) !important;
    font-family: var(--ui-font);
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}
html body .pagination .page-link:hover {
    border-color: var(--ui-ink) !important;
    color: var(--ui-ink) !important;
}
html body .pagination > .page-item.active .page-link,
html body .pagination .page-item.active .page-link {
    background: var(--ui-ink) !important;
    border-color: var(--ui-ink) !important;
    color: #ffffff !important;
}
html body .pagination .page-item.disabled .page-link {
    opacity: .45;
}

/* ---------------------------------------------------------------- slider arrows
   Was: four looks (grey circles with an ink ring, a small grey circle, a bare 30px circle, Swiper's blue default on
   sale/rent). One white circle with a soft shadow now; the page keeps placing them. */
html body .similarswiper-button-prev,
html body .similarswiper-button-next,
html body .communities-swiper-button-prev,
html body .communities-swiper-button-next,
html body .developerswiper-button-prev,
html body .developerswiper-button-next,
html body .Benefitsswiper-button-prev,
html body .Benefitsswiper-button-next,
html body .swp-prev,
html body .swp-next {
    width: 44px !important;
    height: 44px !important;
    /* display stays the page's: some arrows are hidden on purpose (phones, single slides). The icon is centred by
       line height instead of flex for that reason. */
    text-align: center !important;
    line-height: 42px !important;
    padding: 0 !important;
    background: var(--ui-surface) !important;
    border: 1px solid var(--ui-line) !important;
    border-radius: 50% !important;
    box-shadow: var(--ui-shadow-sm) !important;
    color: var(--ui-ink) !important;
    cursor: pointer;
    transition: box-shadow .15s, border-color .15s, opacity .15s;
}
html body .similarswiper-button-prev:hover,
html body .similarswiper-button-next:hover,
html body .communities-swiper-button-prev:hover,
html body .communities-swiper-button-next:hover,
html body .developerswiper-button-prev:hover,
html body .developerswiper-button-next:hover,
html body .Benefitsswiper-button-prev:hover,
html body .Benefitsswiper-button-next:hover,
html body .swp-prev:hover,
html body .swp-next:hover {
    border-color: var(--ui-ink) !important;
    box-shadow: var(--ui-shadow-md) !important;
}
html body .similarswiper-button-prev i,
html body .similarswiper-button-next i,
html body .communities-swiper-button-prev i,
html body .communities-swiper-button-next i,
html body .developerswiper-button-prev i,
html body .developerswiper-button-next i,
html body .Benefitsswiper-button-prev i,
html body .Benefitsswiper-button-next i,
html body .swp-prev i,
html body .swp-next i,
html body .similarswiper-button-prev svg,
html body .similarswiper-button-next svg,
html body .communities-swiper-button-prev svg,
html body .communities-swiper-button-next svg,
html body .developerswiper-button-prev svg,
html body .developerswiper-button-next svg,
html body .Benefitsswiper-button-prev svg,
html body .Benefitsswiper-button-next svg,
html body .swp-prev svg,
html body .swp-next svg {
    color: var(--ui-ink) !important;
    font-size: 15px !important;
    position: static !important;
    margin: 0 !important;
    transform: none !important;
    line-height: inherit !important;
    vertical-align: top;
}
/* The arrows' own icon, now the set's chevron (an SVG) instead of Font Awesome's. */
html body [class*="swiper-button-"] > svg.ui-icon,
html body .swp-prev > svg.ui-icon,
html body .swp-next > svg.ui-icon {
    width: 16px !important;
    height: 16px !important;
    vertical-align: middle !important;
    position: relative;
    top: -1px;
}
/* The booking calendar's small arrows on sale/rent were Swiper's blue: ink now, same size and place. */
html body .swiper-button-prev.prevSide,
html body .swiper-button-next.nextSide {
    --swiper-navigation-color: var(--ui-ink);
    color: var(--ui-ink) !important;
}
html body .swiper-button-disabled.similarswiper-button-prev,
html body .swiper-button-disabled.similarswiper-button-next,
html body .swiper-button-disabled.communities-swiper-button-prev,
html body .swiper-button-disabled.communities-swiper-button-next,
html body .swiper-button-disabled.developerswiper-button-prev,
html body .swiper-button-disabled.developerswiper-button-next,
html body .swiper-button-disabled.Benefitsswiper-button-prev,
html body .swiper-button-disabled.Benefitsswiper-button-next,
html body .swiper-button-disabled.swp-prev,
html body .swiper-button-disabled.swp-next {
    opacity: .35 !important;
}
@media (max-width: 767.98px) {
    html body .similarswiper-button-prev,
    html body .similarswiper-button-next,
    html body .communities-swiper-button-prev,
    html body .communities-swiper-button-next,
    html body .developerswiper-button-prev,
    html body .developerswiper-button-next,
    html body .Benefitsswiper-button-prev,
    html body .Benefitsswiper-button-next,
    html body .swp-prev,
    html body .swp-next {
        width: 36px !important;
        height: 36px !important;
        line-height: 34px !important;
    }
}

/* ---------------------------------------------------------------- FAQ
   Was: the open question an ink bar with grey text, the closed ones solid grey #969597 bars at 21px. White rows now,
   the open one with a soft shadow; the same on the project page and on sale/rent. */
html body .accordion-item {
    border: 1px solid var(--ui-line) !important;
    border-radius: var(--ui-r) !important;
    overflow: hidden;
    margin-bottom: 10px;
    background: var(--ui-surface) !important;
    box-shadow: none !important;
}
html body .accordion-header {
    background: transparent !important;
    border-radius: 0 !important;
}
html body .accordion-button,
html body button.accordion-button.collapsed,
html body .accordion-button:not(.collapsed) {
    background: var(--ui-surface) !important;
    color: var(--ui-ink) !important;
    font-family: var(--ui-font) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    border-radius: 0 !important;
    padding: 16px 18px !important;
    box-shadow: none !important;
}
html body .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: #cfd5dd !important;
    box-shadow: var(--ui-shadow-sm) !important;
}
/* One chevron for open and closed, dark, turning over when open. */
html body .accordion-button::after,
html body .accordion-button:not(.collapsed)::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23171617' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 20px 20px no-repeat !important;
    width: 20px !important;
    height: 20px !important;
    filter: none !important;
    flex-shrink: 0;
    margin-inline-start: 16px;
    transition: transform .2s;
}
html body .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg) !important;
}
html body .accordion-body {
    background: var(--ui-surface) !important;
    color: var(--ui-text) !important;
    font-family: var(--ui-font);
    font-size: 15px !important;
    line-height: 1.65 !important;
    padding: 0 18px 18px !important;
    border-radius: 0 !important;
    text-align: start;
}

/* ---------------------------------------------------------------- form fields
   Was: the same 54px fields with corners 0, 4 and 8 on one page, grey #ced4da borders, a black block focus. One
   corner, one border colour and a soft focus ring now. Padding is left alone on purpose: the phone field's country
   picker (flags, select2) sits beside it and is lined up by mobile.css. */
html body form .form-control,
html body form .form-select {
    border-color: var(--ui-field) !important;
    border-radius: var(--ui-r) !important;
    font-family: var(--ui-font);
    color: var(--ui-text);
}
html body form .form-control:focus,
html body form .form-select:focus {
    border-color: var(--ui-ink) !important;
    box-shadow: var(--ui-focus) !important;
}
html body form .form-control::placeholder {
    color: #7a8494;
    opacity: 1;
}
html body .form-check-input:checked {
    background-color: var(--ui-ink) !important;
    border-color: var(--ui-ink) !important;
}
html body .form-check-input:focus {
    box-shadow: var(--ui-focus) !important;
    border-color: var(--ui-ink) !important;
}

/* The phone field: country picker (flag + code) and the number stay joined as one field, same corner and border. */
html body .country-select-wrapper .country-dropdown-container .select2-container--default .select2-selection--single,
[dir="ltr"] .country-select-wrapper .select2-container .select2-selection--single,
.country-select-wrapper .select2-container .select2-selection--single {
    border-color: var(--ui-field) !important;
    border-radius: var(--ui-r) 0 0 var(--ui-r) !important;
}
[dir="ltr"] .country-select-wrapper > input[name="number"],
html body .country-select-wrapper > input[name="number"] {
    border-color: var(--ui-field) !important;
    border-radius: 0 var(--ui-r) var(--ui-r) 0 !important;
}
[dir="rtl"] .country-select-wrapper .select2-container .select2-selection--single,
html body[dir="rtl"] .country-select-wrapper .country-dropdown-container .select2-container--default .select2-selection--single {
    border-color: var(--ui-field) !important;
    border-radius: 0 var(--ui-r) var(--ui-r) 0 !important;
}
[dir="rtl"] .country-select-wrapper > input[name="number"],
html body[dir="rtl"] .country-select-wrapper > input[name="number"] {
    border-radius: var(--ui-r) 0 0 var(--ui-r) !important;
}
html body .country-select-wrapper > input[name="number"]:focus {
    border-color: var(--ui-ink) !important;
    box-shadow: var(--ui-focus) !important;
}

/* Bootstrap-select boxes (sale/rent "Select Property Type"): the placeholder was #999 (2.8:1). */
html body .bootstrap-select > .dropdown-toggle.bs-placeholder,
html body .bootstrap-select > .dropdown-toggle.bs-placeholder:hover {
    color: #5b6677 !important;
}

/* ---------------------------------------------------------------- map toolbar
   The map keeps its compact 32px toolbar; only the odd ones out follow the set. */
html body .mx-chip {
    border-radius: 999px !important;
}
html body .mx-load-more {
    min-height: var(--ui-h-md);
    padding: 0 18px !important;
    background: var(--ui-surface) !important;
    border: 1px solid var(--ui-field) !important;
    border-radius: var(--ui-r) !important;
    color: var(--ui-ink) !important;
    font-family: var(--ui-font);
    font-size: 14px !important;
    font-weight: 600 !important;
}
html body .mx-load-more:hover {
    border-color: var(--ui-ink) !important;
    background: var(--ui-subtle) !important;
}

/* ---------------------------------------------------------------- icons beside text
   The old picture icons got their gap from rules aimed at <img>; the set's SVG icons get the same gap here: the
   project and property pages' section bar (Overview, Gallery, ...). */
html body .nav-link > .ui-icon:first-child {
    margin-inline-end: 6px;
}

/* The property page draws its WhatsApp / Email as a <button> inside each link: same colours as the listing's. */
html body .WhatsappAndmail > a:first-child > button {
    background: var(--ui-whatsapp) !important;
    border: 1px solid var(--ui-whatsapp) !important;
    color: #ffffff !important;
    border-radius: var(--ui-r) !important;
    font-weight: 600 !important;
}
html body .WhatsappAndmail > a:first-child > button:hover {
    background: var(--ui-whatsapp-hover) !important;
}
html body .WhatsappAndmail > a + a > button {
    background: var(--ui-surface) !important;
    border: 1px solid var(--ui-field) !important;
    color: var(--ui-ink) !important;
    border-radius: var(--ui-r) !important;
    font-weight: 600 !important;
}
html body .WhatsappAndmail > a > button * {
    color: inherit !important;
}
