.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9;
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.2);
}


.navbar {
    max-width: 1485px;
    margin: auto;
    padding: 5px 40px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.navbar-content {
    display: flex;
    align-items: center;
    gap: 7px;
}

.navbar-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 60px;
    background: transparent;
    transition: 0.3s ease-in-out;
    border-radius: 10px;
}

.navbar-icons:hover {
    background: #353535;
}

.navbar-icons img,
.navbar-icons svg {
    transform: scale(0.8);
}

.navbar-button {
    display: none;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 43px;
    border: 1px solid #353535;
    border-radius: 10px;
}

.navbar-button-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 35px;
    background: #353535;
    border-radius: 5px;
    transition: 0.3s linear;
}

.navbar-button-bars {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    border-radius: 5px;
}

.navbar-button-line {
    width: 20px;
    height: 1px;
    background: #fff;
    border-radius: 999px;
    flex-shrink: 0;
}

.navbar-button-inner:hover {
    width: 100%;
    height: 100%;
}

/* Filter */
.banner-filter-form-top {
    max-width: 1700px;
    display: flex;
    gap: 15px;
}

.banner-filter-form-top:last-child {
    padding-top: 25px;
}

.banner-filter-form-top input {
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-size: 20px;
    border: 1px solid #fff;
    height: 84px;
    color: #fff;
    width: 100%;
    border-radius: 50px;
    background: black;
}

.banner-filter-form-top-container {
    width: 100%;
    position: relative;
    /* margin-bottom: 25px; */
}

.banner-filter-form-top .search-input {
    padding: 0 20px 0 80px;
}

.banner-filter-form-top .search-input:focus {
    background-color: #5c5c5c;
}

.banner-filter-form-top .search-icon {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    margin: auto;
}

.banner-filters hr {
    height: 1px;
    color: #b0b0b0;
    border-bottom: 0;
}

.banner-filter-form-bottom {
    max-width: 1700px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 65px;
}



.banner-listing-type {
    max-width: 227px;
    width: 100%;
}

.banner-listing-type-button {
    padding: 10px 20px;
}

.banner-listing-type-button > div {
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    border-radius: 50px;
    transition: 0.3s ease-in-out;
    gap: 10px;
    white-space: nowrap;
}

.banner-listing-type-button:hover > div {
    background: #353535;
}

.banner-tal {
    max-width: 639px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 20px;
}

.banner-tal-dropdown {
    width: 100%;
    max-width: 185px;
}

.banner-tal-dropdown > button {
    height: 100%;
    width: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: 0;
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-size: 20px;
    color: #fff;
    transition: 0.3s ease-in-out;
    border-radius: 50px;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.banner-tal-dropdown > button:hover {
    background: #5c5c5c;
}

.banner-price-range {
    max-width: 560px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 20px;
}

.banner-search-button {
    background: #fff;
    max-width: 213px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 55px;
    color: #000;
    transition: 0.3s ease-in-out;
    border: 0;
    gap: 7px;
}

.banner-search-button:hover {
    background: #5c5c5c;
}

.banner-search-button span {
    transition: 0.3s ease-in-out;
    transform: translateX(0);
}

.banner-search-button:hover span {
    transform: translateX(-8px);
    color: #fff;
}

.banner-search-button img {
    transition: 0.3s ease-in-out;
    transform: translateX(0);
}

.banner-search-button:hover img {
    transform: translateX(8px);
    filter: invert(100%);
}

.banner-filter-hr {
    width: 1px;
    height: 55px;
    background: #b0b0b0;
}

.range-container {
    width: 100%;
    max-width: 250px;
    position: relative;
}

.value-display {
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 7px;
}

.value-display::after {
    content: attr(data-currency);
}

/* If AED: replace the code with the AED icon image */
.value-display[data-currency*="AED"]::after {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    background: url("/assets/img/front-office-img/aed-s-w.webp") no-repeat center / contain;
    vertical-align: middle;
}

/* Prevent color inversion for AED icon in mobile and tablet views */
@media (max-width: 1024px) {
    .value-display[data-currency*="AED"]::after {
        filter: none !important;
        -webkit-filter: none !important;
    }
}

@media (max-width: 768px) {
    .value-display[data-currency*="AED"]::after {
        filter: none !important;
        -webkit-filter: none !important;
    }
}

.price-value{
  display: flex;
  justify-content: center;
  align-items: center;
}
.price-value img {
width: 22px;
}

.range-container > input {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    width: 100%;
    -webkit-appearance: none;
    height: 0;
}

.range-container > input::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 17px;
    width: 38px;
    background: #fff;
    border-radius: 70px;
    cursor: pointer;
    box-shadow: inset 0px 0px 0px 1px #000;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 15px;
}

.breadcrumb a {
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 400;
    color: #fff;
    font-size: 16px;
}

.breadcrumb a.dark {
    color: #818181;
}

/* Modal Exit Button */
.modal-exit-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border: 1px solid #353535;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
}

.modal-exit-button-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: #353535;
    border-radius: 5px;
    transition: 0.3s linear;
}




.modal-exit-button-inner:hover {
    width: 100%;
    height: 100%;
}

/* Modal Search */
.search-modal-desktop {
    display: flex;
    flex-direction: column;
    background: #1E1E1E !important;
}

.search-modal-desktop .search-modal-desktop-bottom a {
    color: white;
}

.search-modal-desktop .modal-exit-button-inner {
    background: white;
}
.search-modal-desktop .modal-exit-button-inner img {
  filter: invert(1);
}
.search-modal-desktop-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 40px 0 40px;
}

.search-modal-desktop-top > img {
     /* filter: invert(1); */
}

.search-modal-desktop-bottom {
    position: relative;
    margin: auto;
    padding: 40px;
    width: 100%;
}

.search-modal-desktop-bottom p {
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #000;
    text-align: center;
}

.search-modal-desktop-input {
    position: relative;
    width: 100%;
    max-width: 780px;
}

.search-modal-desktop-input input {
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-size: 20px;
    border: 1px solid #d1d1d1;
    height: 66px;

    color: #000;
    width: 100%;
    border-radius: 50px;
    background: #e7e7e7;
    padding: 0 20px 0 80px;
}

.search-modal-desktop-input img {
    filter: invert(100%);
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    margin: auto;
}

.search-modal-content .back-button {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #54565a;
    background: transparent;
    border: 0;
    cursor: pointer;
}

/* Language and Currency Dropdown */
.language-currency-dropdown {
    max-height: 629px;
    overflow: auto;
    /* padding: 55px 40px; */
}

.language-currency-dropdown::-webkit-scrollbar {
    display: none;
}

.language-currency-dropdown p {
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-size: 20px;
    color: #000;
    font-weight: 400;
    padding-bottom: 20px;
}

.language-currency-dropdown-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding-bottom: 20px;
}

.language-currency-dropdown-container span {
    width: 100%;
    max-width: 175px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-size: 17px;
    color: #000;
    font-weight: 400;
    border-radius: 50px;
    border: 1px solid #000;
    text-transform: uppercase;
}

.language-currency-dropdown button {
    width: 100%;
    height: 50px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-size: 17px;
    color: #fff;
    font-weight: 400;
    border: 1px solid #b0b0b0;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.language-currency-dropdown button:hover {
    background: #b0b0b0;
}

/* Telephone Modal */
.modal-content-telephone-container {
    padding: 40px;
    overflow: scroll;
}

.modal-content-telephone-container::-webkit-scrollbar {
    display: none;
}

.modal-content-telephone {
    width: 100%;
    max-width: 1090px;
    display: flex;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.modal-content-telephone-left {
    background: #070707;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.modal-content-telephone-left h2 {
    text-align: center;
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 400;
    font-size: 30px;
    color: #fff;
}

.modal-content-telephone-left input {
    width: 100%;
    padding: 0 20px;
    border-radius: 7px;
    background: #1a1a1a;
    border: 1px solid #d5d5d5;
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 400;
    font-size: 18px;
    height: 60px;
    color: #fff;
    margin: 15px 0 20px;
}

.modal-content-telephone-left label {
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #54565a;
    text-align: center;
}

.modal-content-telephone-left label span {
    text-decoration: underline;
}

.modal-content-telephone-left-container button {
    width: 100%;
    height: 65px;
    border-radius: 10px;
    background: #fff;
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 400;
    font-size: 18px;
    height: 60px;
    color: #000000;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    border: 1px solid #d5d5d5;
    margin: 20px 0 15px;
}

.modal-content-telephone-left-container button:hover {
    background: #1a1a1a;
    color: #fff;
}

.modal-content-telephone-left p {
    text-align: center;
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #54565a;
    padding: 10px 0 40px;
}

.modal-content-telephone-label-center {
    display: block;
    padding-bottom: 40px;
}

.modal-content-telephone-right {
    position: relative;
    background: url("/assets/img/front-office-img/header/Rectangle7012.webp") no-repeat center;
    background-size: cover;
    width: 50%;
    min-height: 680px;
}

.modal-content-telephone .modal-exit-button {
    position: absolute;
    right: 20px;
    top: 20px;
}

.modal-content-telephone-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.modal-content-telephone-icons a {
    width: 50px;
    height: 50px;
    border: 1px solid #fff;
    border-radius: 50%;
    padding: 5px;
}

.modal-content-telephone-icons a:hover div {
    background: #fff;
}

.modal-content-telephone-icons div {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    transition: 0.3s ease-in-out;
}

.modal-content-telephone-icons img {
    transition: 0.3s ease-in-out;
}

.modal-content-telephone-icons a:hover img {
    filter: invert(100%);
}

/* Menu Modal */
.modal-content-menu {
    display: flex;
    flex-direction: column;
}

.search-modal-desktop-bottom > div {
    position: relative;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 40px;
}

.search-modal-desktop-bottom a {
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 600;
    font-size: 40px;
    color: #54565a;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.search-modal-desktop-bottom a:hover {
    text-decoration: underline;
}

.modal-content-menu-brand {
    position: absolute;
    top: 10px;
    right: -20px;
}

.search-modal-content.active {
    display: flex;
    flex-direction: column;
}

.search-modal-trigger {
    display: none;
}

.search-modal-trigger.active {
    display: flex;
}

.search-modal-content {
    gap: 0 !important;
    display: none;
}
.search-modal-content h3 {
    font-family: "AvenirNextLTPro-Bold", sans-serif;
    font-size: 30px;
    font-weight: 400;
    color: #000;
    font-style: italic;
    padding-bottom: 60px;
    text-transform: uppercase;
}

.search-modal-content h3 span {
    font-family: "AvenirNextLTPro-Light", sans-serif;
    font-style: normal;
}

.search-modal-content a {
    font-size: 20px;
    padding-bottom: 25px;
}

.search-modal-content a:last-child {
    padding-bottom: 0;
}

.profile-modal {
    max-width: 1000px;
    width: 100%;
    padding: 0;
    background: #070707;
    overflow: hidden;
}

.profile-modal .modal-exit-button {
    position: absolute;
    top: 20px;
    right: 20px;
}

.modal-profile-back-button__container {
    display: flex;
    align-items: center;
    justify-items: center;
    gap: 10px;
    width: fit-content;
    position: absolute;
    left: 35px;
    top: 370px;
}

.modal-profile-back-button__container span {
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: right;
    vertical-align: middle;
    color: #616161;
}

[data-step] {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    position: absolute;
    width: 100%;
}

[data-step].active {
    pointer-events: all;
    position: relative;
}

.fade-in {
    opacity: 1;
}

.fade-out {
    opacity: 0;
}

.modal-content-profile__banner {
    /* height: 344px; */
    height:35%;
}

.modal-content-profile__banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.profile-modal .modal-pattern {
    position: absolute;
    bottom: -211px;
    left: -60px;
    width: 316px;
    height: 533px;
    transform: rotateX(-180deg);
    opacity: 0.1;
    mix-blend-mode: Difference;
}

.profile-modal .modal-pattern img {
    width: 100%;
    height: 100%;
}

.profile-form__container {
    padding: 0 266px 40px;
}

.profile-form__header {
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 500;
    font-size: 30px;
    text-align: center;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 10px;
}

.profile-form-header__text {
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 0;
    text-align: center;
    color: #ffffff;
    opacity: 0.5;
    margin-bottom: 20px;
}

.social-button__containers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-button__containers button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 45px;
    border-radius: 7px;
    border-width: 1px;
    padding-top: 5.5px;
    padding-right: 13px;
    padding-bottom: 6px;
    background: #1a1a1a;
    padding-left: 9px;
    border: 1px solid #ffffff66;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.social-button__containers button:hover {
    background: #cfcfcf;
}

.social-button__containers button span {
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    vertical-align: middle;
    opacity: 0.7;
    color: #ffffff;
}

.social-button__containers button:hover span {
    color: #424242;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 22px 0;
    opacity: 0.3;
}

.separator::before,
.separator::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ccc;
}

.separator span {
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 24px;
    vertical-align: middle;
    padding: 0 10px;
    color: #888;
    font-weight: 500;
    font-size: 14px;
}

.profile-modal form label {
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #54565a;
}

.profile-modal form input:not([type="checkbox"]) {
    width: 100%;
    padding: 0 20px;
    border-radius: 7px;
    background: #1a1a1a;
    border: 1px solid #d5d5d5;
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 400;
    font-size: 18px;
    height: 50px;
    color: #fff;
    margin: 17px 0 17px;
}

.profile-modal form button {
    width: 100%;
    border-radius: 10px;
    background: #fff;
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 400;
    font-size: 18px;
    height: 50px;
    color: #000000;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    border: 1px solid #d5d5d5;
    margin: 0 0 13px;
}

.profile-modal form button:hover {
    background: #1a1a1a;
    color: #fff;
}

.password-hint__container {
    margin: 30px 1rem;
}

.password-hint__container li {
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 275;
    font-size: 12px;
    line-height: 140%;
    color: #ffffffe5;
    list-style: disc;
}

.phone-wrapper {
    display: flex;
    gap: 8px;
    position: relative;
}

.custom-select {
    position: relative;
    width: 130px;
    cursor: pointer;
    padding-bottom: 30px;
}

.selected-option {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
    border-radius: 7px;
    background: #1a1a1a;
    border: 1px solid #d5d5d5;
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 400;
    font-size: 18px;
    height: 60px;
    color: #d5d5d5;
    margin: 17px 0 0;
}

.selected-option img {
    width: 24px;
    height: 16px;
    margin-right: 8px;
}

.country-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #1c1c1c;
    border: 1px solid #666;
    border-radius: 6px;
    z-index: 10;
    max-height: 150px;
    overflow-y: auto;
}

.country-dropdown-option {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.country-dropdown-option:hover {
    background-color: #2c2c2c;
}

.phone-input {
    flex: 1;
    background-color: #1c1c1c;
    border: 1px solid #666;
    border-radius: 6px;
    padding: 10px;
    color: #ccc;
    font-size: 14px;
    outline: none;
}

.chevron {
    font-size: 12px;
    margin-left: auto;
}

.otp-container {
    width: 90%;
    margin: auto;
}

.otp-info {
    margin-bottom: 20px;
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0.18px;
    opacity: 0.5;
    color: #ffffff;
}

.otp-inputs form {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 30px;
}

.otp-inputs input {
    width: 56px;
    height: 56px;
    font-size: 24px;
    text-align: center;
    border: 2px solid #444;
    background-color: #121212;
    color: white;
    border-radius: 6px;
    outline: none;
}

.otp-inputs input:focus {
    border-color: #888;
}

.gmail-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid #555;
    border-radius: 8px;
    background-color: transparent;
    color: white;
    cursor: pointer;
    font-size: 15px;
    margin-bottom: 30px;
    width: 100%;
}

.gmail-button:hover {
    background-color: #111;
}

.gmail-button svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.resend-text {
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 400;
    font-size: 14px;
    vertical-align: middle;
    color: #fff;
    text-align: center;
}

.resend-text span {
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 400;
    font-size: 14px;
    vertical-align: middle;
    color: #888;
}

.loading-spinner {
    border: 2px solid #f3f3f3; /* Light grey */
    border-top: 2px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: inline-block;
    animation: spin 1s linear infinite;
    vertical-align: middle;
    margin-right: 5px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.descktop-nav {
    display: block;

    position: relative;
    right: 0;
    left: 0;
    margin: auto;
}
.desktop-nav-list {
    display: flex;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.desktop-nav-list li {
    display: flex;
    align-items: center;
}
.desktop-nav-list a {
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 14.4px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition:
        color 0.2s,
        background 0.2s;
    padding: 20px 10px;
    border-radius: 10px;
    border-bottom: 1px solid transparent;
    opacity: 1;
}
.desktop-nav-list a:hover {
    background: #ffffff33;

}

.desktop-nav-list {

    border-bottom-width: 1px;
    padding: 20px 10px;
    border-radius: 10px;
    opacity: 1;
}

.desktop-nav-list a.active {
    border-bottom: 3px solid #ffffffb2;
    border-radius: 0;
}
.desktop-nav-list .chev-icon {
    width: 20px;
    height: 20px;
    margin-left: 6px;
    display: inline-block;
    vertical-align: middle;
}


.has-chevron {
    position: relative;
}


.dropdown-model a {
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
    border-radius: 0;
    padding: 0;
}


.dropdown-model a:hover {
border-radius: 0;
}


.dropdown-model a:last-child {
    padding: 10px 0 0 0;
}




.dropdown-model {
    background: #f6f6f6;
    padding: 28px 30px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: fit-content;
    position: absolute;
    top: 65px;
    left: -155px;
}


.dropdown-model-one, .dropdown-model-two {
display: none;
}


@media (max-width: 1760px) {
    .banner-filter-form-top input {
        font-size: 18px;
    }



    .banner-tal-dropdown > button {
        font-size: 18px;
    }

    .banner-listing-type-button {
        padding: 5px 10px;
    }

    .banner-tal {
        padding: 5px 10px;
    }

    .banner-price-range {
        padding: 5px 10px;
    }

    .range-container > input {
        bottom: -5px;
    }
}
@media (max-width: 1400px) {
    .descktop-nav {
        display: none !important;
    }


   
}

@media (max-width: 1600px) {
  .desktop-nav-list a {
    font-size: 14px;
    }


   
}
@media (max-width: 1280px) {
    .banner-filter-form-top input {
        height: 74px;
    }


    .banner-filter-form-bottom {
        margin-bottom: 0;
    }

    .banner-filters hr {
        display: none;
    }

    .banner-filter-form-bottom {
        flex-wrap: wrap;
    }

    .banner-listing-type {
        order: 2;
        max-width: calc(50% - 10px);
    }

    .banner-tal {
        order: 1;
        max-width: 100%;
    }

    .banner-price-range {
        order: 3;
        max-width: calc(50% - 10px);
    }

    .banner-tal-dropdown {
        max-width: 100%;
    }

    .search-modal-desktop-input input {
        height: 74px;
        font-size: 18px;
    }

    .language-currency-dropdown {
        width: 600px;
        padding: 40px;
    }

    .modal-content-telephone-left h2 {
        font-size: 26px;
    }

    .modal-content-telephone-left p {
        font-size: 22px;
    }

    .modal-content-menu a {
        font-size: 30px;
    }

    .language-currency-dropdown p {
        font-size: 18px;
    }

    .language-currency-dropdown-container span {
        height: 74px;
        font-size: 18px;
    }

    .language-currency-dropdown button {
        height: 74px;
        font-size: 18px;
    }






    .profile-form__header{
        font-size: 25px;
    }

.profile-modal form input:not([type="checkbox"]) {

    font-size: 14px;
    height: 45px;
}




.social-button__containers button {
    height: 48px;
}


.profile-modal form button {
    font-size: 14px;
    height: 40px;
}

.profile-form-header__text {
    font-size: 16px;
}
.modal-content-profile__banner {
    height: 295px;
}


.profile-modal form label {
    font-size: 16px;
}






}

@media (max-width: 1024px) {
    .modal-content-telephone {
        max-width: 600px;
    }

    .modal-content-telephone-left {
        width: 100%;
    }

    .modal-content-telephone-right {
        display: none;
    }

    .modal-exit-button {
        width: 60px;
        height: 60px;
    }

    .modal-exit-button-inner {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px 20px 10px 20px;
    }

    .navbar-logo {
        width: 51px;
    }

    .navbar-logo img {
        width: 100%;
    }

    .navbar-icons {
        width: 40px;
        height: 40px;
    }

    .navbar-icons img {
        width: 24px;
        height: 24px;
        object-fit: cover;
    }

    .navbar-button {
        width: 55px;
        height: 50px;
    }

    .navbar-button-inner {
        width: 45px;
        height: 40px;
    }

    .navbar-button-inner img {
        width: 34px;
    }

    .banner-filters hr {
        display: block;
        margin-top: 30px;
    }

    .modal-content-telephone-left h2 {
        font-size: 24px;
    }

    .modal-content-telephone-left p {
        font-size: 20px;
    }

    .modal-content-telephone-left label {
        font-size: 16px;
    }

    .modal-content-telephone-container {
        padding: 0;
    }

    .modal-content-menu a {
        font-size: 20px;
    }

    .modal-exit-button {
        width: 50px;
        height: 50px;
    }

    .modal-exit-button-inner {
        width: 40px;
        height: 40px;
    }

    .language-currency-dropdown {
        top: 50px;
        width: 400px;
        padding: 30px;
    }

    .language-currency-dropdown p {
        font-size: 16px;
    }

    .search-modal-desktop-top {
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px 20px 0 20px;
    }

    .search-modal-desktop-top > img {
        order: 1;
    }

    .search-modal-desktop-input {
        order: 3;
        max-width: 100%;
    }

    .search-modal-desktop-top .modal-exit-button {
        order: 2;
    }

    .search-modal-desktop-input input {
        height: 54px;
        font-size: 16px;
    }

    .search-modal-desktop-bottom {
        padding: 20px;
    }

    .modal-content-telephone {
        width: 100%;
    }

    .modal-content-telephone {
        max-width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .language-currency-dropdown-container span {
        height: 44px;
        font-size: 16px;
        padding: 0 37px;
          width: 47%;
    }

    .language-currency-dropdown button {
        height: 53px;
        font-size: 16px;
    }







.search-modal-content h3{
    font-size: 24px;
    padding-bottom: 30px;
}








}

@media (max-width: 910px) {
    .language-currency-dropdown {
        width: 300px;
        padding: 20px;
        right: -40px;
    }


.profile-form__container {
    padding: 0 20px;
}


.search-modal-content .back-button {
    top: -120px;

}
   .modal-content-telephone-left {
         padding: 40px 20px;
    }


}


/* Residential reference header design parity for commercial header */
.navbar-icons img,
.navbar-icons svg {
    transform: scale(0.8);
}

.light-mode .header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.light-mode .navbar-logo img {
    filter: invert(1) brightness(0);
}
.navbar-logo img {
    width: 67px;
}

.light-mode .desktop-nav-list li a span {
    color: #000 !important;
}

.light-mode .navbar-icons:hover {
    background: #e0e0e0;
}

.light-mode .navbar-icons img,
.light-mode .navbar-icons svg {
    filter: invert(1) brightness(0);
}

.light-mode .navbar-icons .text-white {
    color: #000 !important;
}

.light-mode .navbar-button {
    border-color: #e0e0e0;
}

.light-mode .navbar-button-inner {
    background: #000;
}

.language-currency-dropdown {
    padding: 30px;
}

.language-currency-dropdown p {
    font-size: 16px;
}

.language-currency-dropdown-container {
    padding-bottom: 40px;
}

.language-currency-dropdown-container span,
.language-currency-dropdown-container label {
    max-width: 120px;
    font-size: 16px;
    color: #fff;
    border: 1px solid #FFFF;
}

.language-currency-dropdown button {
    height: 57px;
    font-size: 16px;
}

.desktop-nav-list {
    gap: 10px;
}

.desktop-nav-list a {
    font-family: "AvenirNextLTPro-Regular", sans-serif;

}

.desktop-nav-list a:hover {
    background: rgba(0, 0, 0, 0.1);
}

.dropdown-model a {
    font-family: "AvenirNextLTPro-Regular", sans-serif;
    font-size: var(--fs-button);
}

.dropdown-model {
    width: 500px;
}

.light-mode .language-currency-dropdown {
    background: #fff;
}

.light-mode .language-currency-dropdown p {
    color: #000;
}

.light-mode .language-currency-dropdown-container span,
.light-mode .language-currency-dropdown-container label {
    background: #fff;
    border-color: #d0d0d0;
    color: #000;
}

.light-mode .language-currency-dropdown-container span:hover,
.light-mode .language-currency-dropdown-container label:hover {
    background: #f0f0f0;
}

.light-mode .language-currency-dropdown button {
    background: #000;
    color: #fff;
    border-color: #000;
}

.nav-item-dropdown.active>a {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.light-mode .nav-item-dropdown.active>a {
    background: rgba(0, 0, 0, 0.1);
}

.theme-switch-wrapper {
    position: absolute;
    right: 1%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.theme-switch {
    width: 32px;
    height: 56px;
    background: #1a1a1a;
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    border: 1.5px solid #353535;
    transition: all 0.3s ease;
}

.switch-ball {
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 2.5px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.switch-ball svg {
    width: 14px;
    height: 14px;
    color: #000 !important;
}

html.light-mode .switch-ball {
    transform: translateY(0);
}

html.dark-mode .switch-ball {
    transform: translateY(24px);
}

html.light-mode .theme-switch {
    background: #f0f0f0;
    border-color: #ddd;
}

html.light-mode .switch-ball #sunIcon {
    display: block !important;
}

html.light-mode .switch-ball #moonIcon {
    display: none !important;
}

html.dark-mode .switch-ball #sunIcon {
    display: none !important;
}

html.dark-mode .switch-ball #moonIcon {
    display: block !important;
}

@media (max-width: 1200px) {
    .descktop-nav {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .navbar {
        padding: 20px 20px 10px 20px;
    }

    .navbar-logo img {
    width: 51px;
}

    .navbar-logo {
        width: 51px;
    }

    .navbar-logo img {
        width: 100%;
    }

    .navbar-icons {
        display: none;
        width: 33px;
        height: 33px;
    }

    .navbar-icons img {
        object-fit: cover;
    }

    .navbar-button {
        display: flex;
        margin: 0 28px 0 0;
        width: 42px;
        height: 36px;
    }

    .navbar-icons img,
    .navbar-icons svg {
        transform: scale(0.8);
    }

    .navbar-content {
        gap: 2px;
    }

    .navbar-button-inner {
        width: 45px;
        height: 40px;
    }

    .navbar-button-line {
        width: 29px;
    }

    .language-currency-dropdown {
        top: 50px;
        width: 400px;
        padding: 30px;
    }

    .language-currency-dropdown-container span,
    .language-currency-dropdown-container label {
        height: 44px;
        font-size: 16px;
        padding: 0 37px;
        width: 47%;
    }

    .language-currency-dropdown button {
        height: 53px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .theme-switch {
        width: 28px;
        height: 50px;
    }

    .switch-ball {
        width: 20px;
        height: 20px;
        left: 2.5px;
    }

    html.dark-mode .switch-ball {
        transform: translateY(22px);
    }
}

/* Final screenshot-matched header dropdown and profile modal overrides */
#the-header-that-should-follow {
    position: fixed;
}

#the-header-that-should-follow .dropdown-model,
#the-header-that-should-follow .dropdown-model-one,
#the-header-that-should-follow .dropdown-model-two,
#the-header-that-should-follow .has-chevron:hover .dropdown-model {
    display: none !important;
}

#the-header-that-should-follow .header-sub-nav {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    pointer-events: none !important;
    z-index: 20 !important;
    background: transparent !important;
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    padding: 0 !important;
    display: block !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

#the-header-that-should-follow .header-sub-nav-inner {
    max-width: 1485px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    position: relative !important;
    background: transparent !important;
}

#the-header-that-should-follow .sub-nav-content {
    display: none !important;
    pointer-events: none !important;
}

#the-header-that-should-follow .sub-nav-content.active {
    display: flex !important;
    pointer-events: auto !important;
}

#the-header-that-should-follow .sub-nav-panel {
    position: absolute !important;
    top: 0 !important;
    left: 669px !important;
    width: auto !important;
    height: auto !important;
    color: #111 !important;
    padding: 0 !important;
}

#the-header-that-should-follow .sub-nav-content[data-content="land-sales"] {
    left: 674px !important;
}

#the-header-that-should-follow .sub-nav-dropdown-card {
    min-width: 465px !important;
    background: #fff !important;
    color: #111 !important;
    border-radius: 15px !important;
    padding: 15px !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18) !important;
}

#the-header-that-should-follow .sub-nav-link {
    display: block !important;
    font-family: "AvenirNextLTPro-Regular", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.9 !important;
    color: #111 !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
    padding: 0 !important;
    margin: 0 !important;
}

#the-header-that-should-follow .sub-nav-link:hover {
    color: #000 !important;
    text-decoration: none !important;
}

#the-header-that-should-follow .sub-nav-link--bold {
    font-weight: 700 !important;
    margin-bottom: 6px !important;
}

html.dark-mode #the-header-that-should-follow .header-sub-nav-inner,
html.dark-mode #the-header-that-should-follow .sub-nav-content,
html.dark-mode #the-header-that-should-follow .sub-nav-panel,
html.dark-mode #the-header-that-should-follow .sub-nav-dropdown-card {
    background: #1c1c1c !important;
    color: #fff !important;
    border-radius: 15px;
}

html.dark-mode #the-header-that-should-follow .sub-nav-panel,
html.dark-mode #the-header-that-should-follow .sub-nav-dropdown-card {
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

html.dark-mode #the-header-that-should-follow .sub-nav-dropdown-card {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45) !important;
}

html.dark-mode #the-header-that-should-follow .sub-nav-link,
html.dark-mode #the-header-that-should-follow .sub-nav-link:visited {
    color: #fff !important;
}

html.dark-mode #the-header-that-should-follow .sub-nav-link:hover {
    background: #2a2a2a !important;
    color: #fff !important;
    border-radius: 8px !important;
}

html.dark-mode #currencyDropdown .language-currency-dropdown {
    background: #1c1c1c !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45) !important;
}

html.dark-mode #currencyDropdown .language-currency-dropdown p {
    color: #fff !important;
}

html.dark-mode #currencyDropdown .language-currency-dropdown-container span,
html.dark-mode #currencyDropdown .language-currency-dropdown-container label {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid #fff !important;
}

html.dark-mode #currencyDropdown .language-currency-dropdown-container span.selected,
html.dark-mode #currencyDropdown .language-currency-dropdown-container label.selected {
    background: #5c5c5c !important;
    color: #fff !important;
    border-color: #fff !important;
}

html.dark-mode #currencyDropdown .language-currency-dropdown-container span:hover,
html.dark-mode #currencyDropdown .language-currency-dropdown-container label:hover {
    background: #2a2a2a !important;
    color: #fff !important;
}

html.dark-mode #currencyDropdown #saveCurrencyBtn {
    background: #1c1c1c !important;
    color: #fff !important;
    border: 1px solid #fff !important;
}

html.dark-mode #currencyDropdown #saveCurrencyBtn:hover {
    background: #2a2a2a !important;
    color: #fff !important;
}

#profileModal .modal-pattern,
#profileModal .modal-content-profile__banner {
    display: none !important;
}

#profileModal .profile-modal {
    max-width: 675px !important;
    width: calc(100% - 48px) !important;

    margin: 34px auto !important;
    padding: 30px !important;
    border-radius: 16px !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.22) !important;

    display: block !important;
    position: relative !important;
}

#profileModal .modal-exit-button {
    position: absolute !important;
    top: 24px !important;
    right: 28px !important;
    width: 24px !important;
    height: 24px !important;
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
}

#profileModal .modal-exit-button-inner {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    background: transparent !important;
}

#profileModal .modal-exit-button-inner img {
    display: none !important;
}

#profileModal .modal-exit-button-inner::after {
    content: "\00d7";
    color: #111;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
}

#profileModal .profile-form__container {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

#profileModal .profile-form__header {
    font-family: "AvenirNextLTPro-Regular", sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #111 !important;
    text-align: center !important;
    margin: 0 0 12px !important;
}

#profileModal .profile-form-header__text {
    font-family: "AvenirNextLTPro-Regular", sans-serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    color: #666 !important;
    opacity: 1 !important;
    text-align: center !important;
    margin: 0 0 28px !important;
}

#profileModal .nb-auth-link,
#profileModal .profile-form-header__text a,
#profileModal .profile-form-header__text span {
    color: #111 !important;
    text-decoration: underline !important;
    cursor: pointer;
}

#profileModal .social-button__containers,
#profileModal .nb-auth-google-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin-bottom: 34px !important;
}

#profileModal .social-button__containers button,
#profileModal .nb-auth-google {
    height: 68px !important;
    border: 1px solid #111 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #666 !important;
    font-size: 17px !important;
}

#profileModal .social-button__containers button span,
#profileModal .nb-auth-google span {
    color: #666 !important;
    opacity: 1 !important;
    font-size: 17px !important;
}

#profileModal .separator,
#profileModal .nb-auth-divider {
    display: flex !important;
    align-items: center !important;
    margin: 0 0 30px !important;
    opacity: 1 !important;
}

#profileModal .separator::before,
#profileModal .separator::after,
#profileModal .nb-auth-divider::before,
#profileModal .nb-auth-divider::after {
    content: "" !important;
    flex: 1 !important;
    border-bottom: 1px solid #ddd !important;
}

#profileModal .separator span,
#profileModal .nb-auth-divider span {
    padding: 0 16px !important;
    color: #888 !important;
    font-size: 16px !important;
}

#profileModal form input:not([type="checkbox"]),
#profileModal .nb-auth-input {
    width: 100% !important;
    height: 68px !important;
    min-height: 68px !important;
    border: 1px solid #111 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #111 !important;
    font-size: 16px !important;
    padding: 0 16px !important;
    margin: 0 0 26px !important;
}

#profileModal form input::placeholder {
    color: #aaa !important;
}

#profileModal .nb-auth-terms,
#profileModal form label[for="terms_checkbox"] {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    color: #666 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    margin: 0 0 22px !important;
}

#profileModal input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 0 !important;
}

#profileModal form button,
#profileModal .nb-auth-btn {
    width: 100% !important;
    height: 68px !important;
    min-height: 68px !important;
    border-radius: 0 !important;
    border: 0 !important;
    background: #000 !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

#profileModal form button:hover,
#profileModal .nb-auth-btn:hover {
    background: #000 !important;
    color: #fff !important;
    opacity: 0.88 !important;
}

html.dark-mode #profileModal {
    background: rgba(0, 0, 0, 0.65) !important;
}

html.dark-mode #profileModal .profile-modal {
    background: #141414 !important;
    color: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45) !important;
}

html.dark-mode #profileModal .profile-form__header,
html.dark-mode #profileModal .nb-auth-title {
    color: #fff !important;
}

html.dark-mode #profileModal .profile-form-header__text,
html.dark-mode #profileModal .nb-auth-subtitle {
    color: #bdbdbd !important;
    opacity: 1 !important;
}

html.dark-mode #profileModal .nb-auth-link,
html.dark-mode #profileModal .profile-form-header__text a,
html.dark-mode #profileModal .profile-form-header__text span {
    color: #fff !important;
    text-decoration: underline !important;
}

html.dark-mode #profileModal .nb-auth-google,
html.dark-mode #profileModal .social-button__containers button {
    background: #141414 !important;
    color: #bdbdbd !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    border-radius: 6px !important;
}

html.dark-mode #profileModal .nb-auth-google span,
html.dark-mode #profileModal .social-button__containers button span {
    color: #bdbdbd !important;
    opacity: 1 !important;
}

html.dark-mode #profileModal .nb-auth-google:hover,
html.dark-mode #profileModal .social-button__containers button:hover {
    background: #1f1f1f !important;
}

html.dark-mode #profileModal .separator::before,
html.dark-mode #profileModal .separator::after,
html.dark-mode #profileModal .nb-auth-divider::before,
html.dark-mode #profileModal .nb-auth-divider::after {
    border-bottom-color: #3a3a3a !important;
}

html.dark-mode #profileModal .separator span,
html.dark-mode #profileModal .nb-auth-divider span {
    color: #8f8f8f !important;
    opacity: 1 !important;
}

html.dark-mode #profileModal label {
    color: #bdbdbd !important;
}

html.dark-mode #profileModal .nb-auth-input,
html.dark-mode #profileModal input[type="text"],
html.dark-mode #profileModal input[type="email"],
html.dark-mode #profileModal input[type="password"] {
    background: #141414 !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.75) !important;
    border-radius: 8px !important;
}

html.dark-mode #profileModal .nb-auth-input::placeholder,
html.dark-mode #profileModal input::placeholder {
    color: #8f8f8f !important;
    opacity: 1 !important;
}

html.dark-mode #profileModal .nb-auth-terms {
    color: #bdbdbd !important;
}

html.dark-mode #profileModal .nb-auth-terms a,
html.dark-mode #profileModal a {
    color: #fff !important;
    text-decoration: underline !important;
}

html.dark-mode #profileModal .nb-auth-btn,
html.dark-mode #profileModal .nb-auth-btn--primary,
html.dark-mode #profileModal form button[type="submit"] {
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
}

html.dark-mode #profileModal .nb-auth-btn:hover,
html.dark-mode #profileModal form button[type="submit"]:hover {
    background: #1f1f1f !important;
    color: #fff !important;
    opacity: 1 !important;
}

html.dark-mode #profileModal .modal-exit-button,
html.dark-mode #profileModal .modal-exit-button-inner {
    background: transparent !important;
    border: none !important;
}

html.dark-mode #profileModal .modal-exit-button img {
    filter: brightness(0) invert(1) !important;
}

html.dark-mode #profileModal .modal-exit-button-inner::after {
    color: #fff !important;
}

/* Language / currency chips (header dropdown; previously inline in header partial) */
.currency-option {
    cursor: pointer;
}

.currency-option:hover {
    background-color: #54565a;
    color: #fff;
}

.currency-option.selected {
    background-color: #000;
    color: #fff;
    font-weight: bold;
}

.language-option {
    cursor: pointer;
}

.language-option:hover {
    background-color: #54565a;
    color: #fff;
}

.language-option.selected {
    background-color: #000;
    color: #fff;
    font-weight: bold;
}

.is-active-mobile-filter.active-option,
.is-active-mobile-filter-type.active-option {
    background-color: #000 !important;
    color: #fff !important;
}

#menuModal .mobile-menu-shell {
    display: none;
}

@media (max-width: 900px) {
    #menuModal,
    html.dark-mode #menuModal {
        background: #000 !important;
    }

    #menuModal .modal-content-menu {
        width: 100%;
        height: 100vh;
        max-width: none;
        border-radius: 0;
        background: #000 !important;
        padding: 0;
        overflow-y: auto;
    }

    #menuModal .search-modal-desktop-top,
    #menuModal .search-modal-desktop-bottom,
    #menuModal .search-modal-trigger,
    #menuModal .search-modal-content,
    #menuModal .modal-content-menu-brand {
        display: none !important;
    }

    #menuModal .mobile-menu-shell {
        display: block;
        min-height: 100vh;
        background: #000;
    }

    #menuModal .mobile-menu-top {
        height: 78px;
        background: #fff !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 18px;
        border-bottom: 1px solid #e5e5e5;
    }

    #menuModal .mobile-menu-logo {
        display: inline-flex;
        align-items: center;
    }

    #menuModal .mobile-menu-top img {
        width: 54px;
        height: auto;
        filter: brightness(0);
    }

    #menuModal .modal-exit-button {
        position: static !important;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px !important;
        height: 34px !important;
        border-radius: 8px;
        border: 1px solid #d5d5d5;
        background: #111 !important;
        padding: 0 !important;
    }

    #menuModal .modal-exit-button-inner {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        border-radius: 8px;
        border: 1px solid #4b4b4b;
        background: #111 !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #menuModal .modal-exit-button img {
        width: 15px;
        height: 15px;
        filter: brightness(0) invert(1);
    }

    #menuModal .mobile-menu-body {
        background: #000;
        padding: 70px 18px 28px;
        min-height: calc(100vh - 78px);
        display: flex;
        flex-direction: column;
    }

    #menuModal .mobile-menu-nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    #menuModal .mobile-menu-item {
        background: #fff;
        border-radius: 10px;
        margin-bottom: 1px;
        overflow: hidden;
    }

    #menuModal .mobile-menu-link {
        width: 100%;
        min-height: 46px;
        padding: 0 14px;
        border: 0;
        background: #fff;
        color: #000;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        font-family: "AvenirNextLTPro-Bold", sans-serif;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
        cursor: pointer;
        text-align: left;
    }

    #menuModal .mobile-menu-link span:first-child {
        color: #000;
    }

    #menuModal .mobile-menu-link:visited,
    #menuModal .mobile-menu-link:hover {
        color: #000;
        text-decoration: none;
    }

    #menuModal .mobile-menu-chevron {
        width: 18px;
        height: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        color: #5d5d5d;
        transition: transform 0.2s ease;
    }

    #menuModal .mobile-menu-chevron svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    #menuModal .mobile-menu-item.is-open .mobile-menu-chevron {
        transform: rotate(180deg);
    }

    #menuModal .mobile-menu-submenu {
        display: none;
        background: #fff;
        padding: 0 14px 12px;
    }

    #menuModal .mobile-menu-item.is-open .mobile-menu-submenu {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    #menuModal .mobile-menu-submenu a {
        color: #000;
        font-family: "AvenirNextLTPro-Regular", sans-serif;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.35;
        text-decoration: none;
    }

    #menuModal .mobile-menu-socials {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-top: 28px;
        padding-bottom: 8px;
    }

    #menuModal .mobile-menu-socials a {
        width: 29px;
        height: 29px;
        border-radius: 50%;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #fff;
        flex-shrink: 0;
    }

    #menuModal .mobile-menu-socials img {
        width: 16px;
        height: 16px;
        object-fit: contain;
        filter: brightness(0);
    }

    #menuModal[dir="rtl"] .mobile-menu-link,
    #menuModal .mobile-menu-body[dir="rtl"] .mobile-menu-link,
    #menuModal .mobile-menu-body[dir="rtl"] .mobile-menu-submenu a {
        text-align: right;
    }

    html.dark-mode #menuModal,
    html.dark-mode #menuModal .modal-content-menu,
    html.dark-mode #menuModal .mobile-menu-shell,
    html.dark-mode #menuModal .mobile-menu-body {
        background: #000 !important;
    }

    html.light-mode #menuModal,
    html.light-mode #menuModal .modal-content-menu,
    html.light-mode #menuModal .mobile-menu-shell,
    html.light-mode #menuModal .mobile-menu-body {
        background: #fff !important;
    }

    html.light-mode #menuModal .mobile-menu-item,
    html.light-mode #menuModal .mobile-menu-link,
    html.light-mode #menuModal .mobile-menu-submenu {
        background: #fff !important;
        color: #000 !important;
        border-color: #d5d5d5 !important;
    }

    html.light-mode #menuModal .mobile-menu-item {
        border: 1px solid #d5d5d5;
        box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    }

    html.light-mode #menuModal .mobile-menu-link span:first-child,
    html.light-mode #menuModal .mobile-menu-link:visited,
    html.light-mode #menuModal .mobile-menu-link:hover,
    html.light-mode #menuModal .mobile-menu-submenu a {
        color: #000 !important;
    }
}
