/* Arabic typography for every Arabic page — loaded from base_vue.html when LANGUAGE_CODE == 'ar'.
 * Guest-component rules are scoped to body:has(#header-app): only guest pages render the guest
 * header, so host dashboard pages get the SF Arabic swap and nothing else.
 * Values follow the shared Figma components (Component 20 header, download-app-bunner, footer,
 * Main-Product-Card). */

@font-face {
    font-family: 'SF Arabic';
    src: url('../fonts/sf-arabic/SF-Arabic.woff2') format('woff2-variations'),
        url('../fonts/sf-arabic/SF-Arabic.woff2') format('woff2');
    font-weight: 1 1000;
    font-style: normal;
    font-display: swap;
}

/* SF Arabic has no Latin letters; SF Pro Display stays as their fallback. */
html[dir="rtl"] {
    --SF-PRO-DISPLAY: 'SF Arabic', 'SF Pro Display';
}

/* These set a literal 'SF Pro Display' instead of the variable. */
html[dir="rtl"] .footer .body-footer .container .group-links .links a,
html[dir="rtl"] .filter-search-box .container .swiper-slide-left-filter .swiper-slide .form-group-filter>span {
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
}

/* ---- Top app-download strip ---- */
@media (min-width: 669px) {
    html[dir="rtl"] body:has(#header-app) .info-header__message {
        line-height: normal;
    }
}

html[dir="rtl"] body:has(#header-app) .info-header .info-header__store-btn .download-text .small-text {
    line-height: 12.227px;
}

html[dir="rtl"] body:has(#header-app) .info-header .info-header__store-btn .download-text span:not(.small-text) {
    line-height: normal;
}

/* ---- Guest header ---- */
html[dir="rtl"] body:has(#header-app) #header-app #login-to-account.btn-gradient-3 .download-text {
    line-height: 17.285px;
}


html[dir="rtl"] body:has(#header-app) #header-app .navbar #language-select .language-switch__option--ar {
    line-height: 1.2;
}

html[dir="rtl"] body:has(#header-app) #header-app .navbar .username {
    line-height: 23px;
}

/* Search bar: compact one inside the header, full one in the page body (home, browsing history) */
html[dir="rtl"] body:has(#header-app) #header-app .filter-box .form-groups .form-group h5,
html[dir="rtl"] body:has(#header-app) #header-app .filter-box .form-groups .form-group .toggle-menu .value-group,
html[dir="rtl"] body:has(#header-app) main .filter-box .container .wrapper-filter .form-groups .form-group h5,
html[dir="rtl"] body:has(#header-app) main .filter-box .container .wrapper-filter .form-groups .form-group .toggle-menu .value-group,
html[dir="rtl"] body:has(#header-app) main .filter-box .container .wrapper-filter .form-groups .form-group .toggle-menu[data-menu="date"] .value-group {
    line-height: 24.5px;
}

html[dir="rtl"] body:has(#header-app) .filter-box .wrapper-filter .submit-btn .filter-box-submit-label {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-weight: 600;
    line-height: 21px;
}

/* ---- Property card (Main-Product-Card) ---- */
html[dir="rtl"] body:has(#header-app) .card-offer .header-card .list-features li span {
    line-height: 1.4;
}

html[dir="rtl"] body:has(#header-app) .card-offer .body-card .title-card {
    line-height: 1.25;
}

html[dir="rtl"] body:has(#header-app) .card-offer .body-card .location-card span {
    line-height: 1.3;
}

html[dir="rtl"] body:has(#header-app) .card-offer .body-card .properites .property {
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
    line-height: 1.3;
}

html[dir="rtl"] body:has(#header-app) .card-offer .body-card .footer-card .price {
    line-height: 1.25;
    padding: 0;
}

html[dir="rtl"] body:has(#header-app) .card-offer .body-card .title-row .rate {
    line-height: 1.25;
}

html[dir="rtl"] body:has(#header-app) .card-offer .body-card .footer-card .original-price {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.25;
}

/* ---- Search results (Figma Search-Results 1:4064) ---- */
html[dir="rtl"] body:has(#header-app) .filter-search-box .container .swiper-slide-left-filter .swiper-slide .form-group-filter>span,
html[dir="rtl"] body:has(#header-app) .filter-search-box .container .unit-type-filter__label,
html[dir="rtl"] body:has(#header-app) .filter-search-box .container .select2-selection__rendered,
html[dir="rtl"] body:has(#header-app) .filter-search-box .container .select2-selection__placeholder {
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
    font-size: 12.64px;
    font-weight: 600;
    line-height: 1.4;
}

html[dir="rtl"] body:has(#header-app) .filter-search-box .filter-menu .filter-menu__label {
    line-height: 24.5px;
}

html[dir="rtl"] body:has(#header-app) .search-results-section-header .info-section .title-content {
    line-height: 33.5px;
}

html[dir="rtl"] body:has(#header-app) .search-results-section-header .info-section .subtitle {
    line-height: 24.5px;
}

/* ---- Search filter drawer (Figma Filter-Panel 1:5991, drawn at 96% scale) ---- */
html[dir="rtl"] #filterSideModal .filter-form-modal .form-group>.form-label,
html[dir="rtl"] #filterSideModal .filter-form-modal .form-group>label.form-label,
html[dir="rtl"] #filterSideModal .filter-form-modal .property-type-panel .header>.form-label {
    font-family: var(--IBM-Plex), sans-serif;
    font-size: 15.36px;
    font-weight: 700;
    line-height: 23.52px;
}

html[dir="rtl"] #filterSideModal .filter-form-modal .select2-selection__rendered {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-size: 13.44px;
    font-weight: 400;
}

/* "من :" / "الى :" are Ping AR + LT Bold in Figma; that font's files are not in the project. */
html[dir="rtl"] #filterSideModal .filter-form-modal .input-range-number .group-range-number label.form-label {
    /* The template sets an inline font-size: 13px on these labels. */
    font-size: 13.44px !important;
    font-weight: 700;
    line-height: 19.2px;
}

html[dir="rtl"] #filterSideModal .filter-form-modal .filter-qty-pill,
html[dir="rtl"] #filterSideModal .filter-form-modal .filter-qty-pill--any {
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
    line-height: 1.4;
}

html[dir="rtl"] #filterSideModal .filter-form-modal .list-checkbox .group-checkbox>span,
html[dir="rtl"] #filterSideModal .filter-form-modal .list-checkbox-3 .group-checkbox label .title-choose {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-size: 13.44px;
    font-weight: 400;
    line-height: 22.08px;
}

html[dir="rtl"] #filterSideModal .filter-form-modal .btn-light.filter-unit-features-toggle {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-size: 12.48px;
    font-weight: 600;
    line-height: 20.16px;
}

html[dir="rtl"] #filterSideModal .filter-form-modal .group-checkbox .rate>span {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-size: 12.48px;
    font-weight: 600;
    line-height: 20.16px;
}

html[dir="rtl"] #filterSideModal .filter-form-modal .group-checkbox .rate .num-rate,
html[dir="rtl"] #filterSideModal .filter-form-modal .info-choose .feature-choose span,
html[dir="rtl"] #filterSideModal .filter-form-modal .info-choose p,
html[dir="rtl"] #filterSideModal .filter-form-modal .property-type-panel .card-checkbox .title {
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
    font-size: 10.56px;
    font-weight: 600;
    line-height: 1.4;
}

/* ---- Footer ---- */
html[dir="rtl"] body:has(#header-app, #host-header-app) .footer .header-footer .container .content .title {
    line-height: 23.567px;
}

html[dir="rtl"] body:has(#header-app, #host-header-app) .footer .header-footer .container .content .subtitle {
    line-height: normal;
}

html[dir="rtl"] body:has(#header-app, #host-header-app) .footer .body-footer .container .group-links .links a {
    line-height: 22px;
}

@media (min-width: 559px) {
    html[dir="rtl"] body:has(#header-app, #host-header-app) .footer .body-footer .container .group-links .links {
        row-gap: 5px;
    }
}

html[dir="rtl"] body:has(#header-app, #host-header-app) .footer .body-footer .container .group-links .group-contact .title-group {
    font-family: var(--IBM-Plex), sans-serif;
}

html[dir="rtl"] body:has(#header-app, #host-header-app) .footer .body-footer .container .group-links .group-contact .contact-value {
    letter-spacing: 0.52px;
}

html[dir="rtl"] body:has(#header-app, #host-header-app) .footer .copyright-footer .container {
    line-height: 23px;
}

/* ---- Property pages: details / features / media / booking (shared header, price box) ---- */
html[dir="rtl"] body:has(#header-app) main .breadcrumb .breadcrumb-item,
html[dir="rtl"] body:has(#header-app) main .breadcrumb .breadcrumb-item a {
    font-size: 12.807px;
    line-height: 21.041px;
}

html[dir="rtl"] :is(#unit-details-app, #unit-features-app, #unit-media-app) .right-side .btn-share span,
html[dir="rtl"] :is(#unit-details-app, #unit-features-app, #unit-media-app) .right-side .btn-purple-brand span {
    font-weight: 700;
    line-height: 24.5px;
}

/* Compact unit header on media / booking pages */
html[dir="rtl"] :is(#unit-media-app, #unit-booking-app) .left-side .title-property {
    font-family: var(--IBM-Plex), sans-serif;
    font-size: clamp(16px, 2vw, 17.578px);
    font-weight: 600;
    /* 30.992px at the 17.578px desktop size. */
    line-height: 1.7631;
}

html[dir="rtl"] :is(#unit-media-app, #unit-booking-app) .sub-info .item-info .value,
html[dir="rtl"] :is(#unit-media-app, #unit-booking-app) .sub-info .item-info .value span:not(.rate, .rating-count, .rating-count span) {
    font-size: 11.053px;
    line-height: 18.159px;
}

html[dir="rtl"] :is(#unit-media-app, #unit-booking-app) .sub-info .item-info .value .rate {
    font-size: 13.471px;
    line-height: 16.58px;
}

html[dir="rtl"] :is(#unit-media-app, #unit-booking-app) .sub-info .item-info .value .rating-count,
html[dir="rtl"] :is(#unit-media-app, #unit-booking-app) .sub-info .item-info .value .rating-count span {
    line-height: 1.4;
}

/* Page heading on features / media pages */
html[dir="rtl"] #unit-features-app .header-features .title,
html[dir="rtl"] #unit-media-app .unit-media-page-heading__title {
    font-size: clamp(18px, 3vw, 34.088px);
    font-weight: 500;
    /* 60.103px at the 34.088px desktop size. */
    line-height: 1.7632;
}

html[dir="rtl"] #unit-features-app .item-notes span,
html[dir="rtl"] #unit-features-app .popup-list-notes .item-notes span {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 23px;
}

html[dir="rtl"] #unit-media-app .gallery-images .wrapper-image .btn-white-purple {
    font-family: var(--IBM-Plex), sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 24.5px;
}

/* Booking page body */
html[dir="rtl"] #unit-booking-app .title-section,
html[dir="rtl"] #unit-booking-app .reservation-details .header-details .title,
html[dir="rtl"] #unit-booking-app .booking-details-content .header-booking-details-content .title {
    font-family: var(--IBM-Plex), sans-serif;
    font-weight: 600;
    line-height: 33.5px;
}

html[dir="rtl"] #unit-booking-app .reservation-details .header-details .btn span,
html[dir="rtl"] #unit-booking-app .footer-locatiom .normal-location span,
html[dir="rtl"] #unit-booking-app .footer-locatiom .location {
    line-height: 1.4;
}

html[dir="rtl"] #unit-booking-app .unit-notes .list-notes .item-notes span,
html[dir="rtl"] #unit-booking-app .wrapper-details .group-detail .title-detail,
html[dir="rtl"] #unit-booking-app .wrapper-details .group-detail .value,
html[dir="rtl"] #unit-booking-app .wrapper-details .group-detail .value span {
    line-height: 23px;
}

/* Price box (Figma 1:4230 / 1:5004) */
html[dir="rtl"] :is(#unit-details-app, #unit-booking-app, #booking-review-app, #booking-checkout-app) .booking-details .header-booking .price-first .value:not(.text-muted) {
    font-size: 24px;
    line-height: 32.405px;
}

html[dir="rtl"] :is(#unit-details-app, #unit-booking-app, #booking-review-app, #booking-checkout-app) .booking-details .header-booking .price-first .value .currency {
    font-size: 19px;
    line-height: 33.5px;
}

html[dir="rtl"] :is(#unit-details-app, #unit-booking-app, #booking-review-app, #booking-checkout-app) .booking-details .header-booking .price-first .descripe,
html[dir="rtl"] :is(#unit-details-app, #unit-booking-app, #booking-review-app, #booking-checkout-app) .booking-details .header-booking .price-second .value,
html[dir="rtl"] :is(#unit-details-app, #unit-booking-app, #booking-review-app, #booking-checkout-app) .booking-details .header-booking .price-second .value .currency {
    font-weight: 700;
    font-size: 16px;
    line-height: 24.5px;
}

html[dir="rtl"] :is(#unit-details-app, #unit-booking-app, #booking-review-app, #booking-checkout-app) .booking-details .header-booking .price-second .descripe {
    font-size: 12px;
    line-height: 24.5px;
}

html[dir="rtl"] :is(#unit-details-app, #unit-booking-app, #booking-review-app, #booking-checkout-app) .booking-details>.btn-gradient-3 span {
    line-height: 21px;
}

/* ---- Unit details (Figma Unit-Details-Page 1:4122) ---- */

html[dir="rtl"] #unit-details-app .sub-info .item-info .value,
html[dir="rtl"] #unit-details-app .sub-info .item-info .value span:not(.rate) {
    font-size: 12.807px;
    line-height: 21.041px;
}

html[dir="rtl"] #unit-details-app .sub-info .item-info .value .rate {
    font-size: 15.609px;
    line-height: 19.211px;
}

html[dir="rtl"] #unit-details-app .header-property-details .sub-info .item-info .value .rate~span,
html[dir="rtl"] #unit-details-app .header-property-details .sub-info .item-info .value .rate~span span {
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
    font-size: 13.208px;
    font-weight: 600;
    line-height: 1.4;
}

html[dir="rtl"] #unit-details-app .info-property-2 .item-property .title-property,
html[dir="rtl"] #unit-details-app .info-property-2 .item-property .value,
html[dir="rtl"] #unit-details-app .booking-details .condition .title,
html[dir="rtl"] #unit-details-app .personal-info .list-details .detail span {
    font-weight: 600;
    line-height: 1.4;
}

html[dir="rtl"] #unit-details-app .host .info-property-2 .item-property .value {
    line-height: 21px;
}

html[dir="rtl"] #unit-details-app .info-property-3 .property {
    font-size: 13.75px;
    line-height: 1.4;
}

html[dir="rtl"] #unit-details-app .gallery-images .wrapper-image .btn-white-purple {
    font-family: var(--IBM-Plex), sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 24.5px;
}

html[dir="rtl"] #unit-details-app .details-main-column .title-section,
html[dir="rtl"] #unit-details-app .details-main-column .host .title,
html[dir="rtl"] #unit-details-app .personal-info .name,
html[dir="rtl"] #unit-details-app .booking-details .header-booking-details-content .title,
html[dir="rtl"] #unit-details-app .unit-facilities-details .custom-title-section,
html[dir="rtl"] #unit-details-app .header-content .title-content {
    font-weight: 600;
    line-height: 33.5px;
}

html[dir="rtl"] #unit-details-app .unit-notes .list-notes .item-notes span,
html[dir="rtl"] #unit-details-app .unit-facilities-details .custom-subtitle-section {
    line-height: 23px;
}

html[dir="rtl"] #unit-details-app .unit-notes .list-notes .show-all-notes span,
html[dir="rtl"] #unit-details-app .host .btn-contact-host span,
html[dir="rtl"] #unit-details-app .host .info-property-2 .item-property .value {
    line-height: 21px;
}

html[dir="rtl"] #unit-details-app .booking-details .header-booking .price-first .value.text-muted {
    font-size: 19px;
    line-height: 33.5px;
}

html[dir="rtl"] #unit-details-app .booking-details .list-booking-details-content .item-booking-details-content .title {
    line-height: 21px;
}

/* "تعديل" mini button in the booking box */
html[dir="rtl"] #unit-details-app .booking-details .header-booking-details-content .btn-white-purple span {
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}

/* Ratings summary (Figma 1:4344 – 1:4365) */
html[dir="rtl"] #unit-details-app .rates .custom-title-section {
    font-weight: 600;
}

html[dir="rtl"] #unit-details-app .rates .custom-subtitle-section .rate>span {
    line-height: 21px;
}

html[dir="rtl"] #unit-details-app .rates .custom-subtitle-section .rate .num-rate,
html[dir="rtl"] :is(#unit-details-app .rates, #unit-reviews-app) .list-rate-details .item-rate .rate {
    line-height: 1.4;
}

html[dir="rtl"] :is(#unit-details-app .rates, #unit-reviews-app) .list-rate-details .item-rate .title-rate,
html[dir="rtl"] :is(#unit-details-app .rates, #unit-reviews-app) .total-rate .name-rate {
    line-height: 23px;
}

html[dir="rtl"] :is(#unit-details-app .rates, #unit-reviews-app) .total-rate h2.total-rate {
    line-height: 32.405px;
}

html[dir="rtl"] #unit-details-app .rates .left-side .btn-transparent span {
    line-height: 21px;
}

/* ---- Review card (Figma "Rating" component, shared by every guest review list) ---- */
html[dir="rtl"] body:has(#header-app) .item-feedback .header-feedback .username {
    line-height: 24.5px;
}

html[dir="rtl"] body:has(#header-app) .item-feedback .review-card-head__rate .user-rate span,
html[dir="rtl"] body:has(#header-app) .item-feedback .feedback-body {
    font-weight: 600;
    line-height: 21px;
}

html[dir="rtl"] body:has(#header-app) .item-feedback .feedback-date,
html[dir="rtl"] body:has(#header-app) .item-feedback .host-review-reply__date {
    line-height: 1.4;
}

/* ---- Guest page titles + booking side boxes (Figma My-Bookings 1:6914, Booking-Details 1:4832) ---- */
html[dir="rtl"] body:has(#header-app) main .left-side>.title-info {
    font-size: clamp(24px, 4vw, 53.117px);
    font-weight: 400;
    /* 93.654px at the 53.117px desktop size. */
    line-height: 1.7632;
}

html[dir="rtl"] body:has(#header-app) main .empty-state-box p,
html[dir="rtl"] body:has(#header-app) .booking-details-content .condition .list-condition li {
    line-height: 23px;
}

html[dir="rtl"] body:has(#header-app) .booking-details-content .header-booking-details-content .title,
html[dir="rtl"] body:has(#header-app) .custom-box-info .title {
    font-weight: 600;
    line-height: 33.5px;
}

html[dir="rtl"] body:has(#header-app) .booking-details-content .condition .title,
html[dir="rtl"] body:has(#header-app) .custom-box-info .subtitle {
    line-height: 1.4;
}

html[dir="rtl"] body:has(#header-app) .custom-box-info .btn span {
    line-height: 21px;
}

/* ---- Booking flow pages (Figma Booking-Details-Page 1:4832, Payment-*, Booking-Invoice, Extension) ---- */
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .left-side .location>.title-section,
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .custom-info-host>.title,
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .custom-info-host .personal-info .name,
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .header-section-aside>.title,
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .header-number-details-content>.title,
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .header-booking-details-content>.title {
    font-size: clamp(17px, 2vw, 19px);
    font-weight: 600;
    /* 33.5px at the 19px desktop size. */
    line-height: 1.7632;
}

html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .unit-profile .left-side .title-property {
    font-size: clamp(16px, 2vw, 17.578px);
    /* 30.992px at the 17.578px desktop size. */
    line-height: 1.7631;
}

html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .unit-profile .sub-info .item-info .value,
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .unit-profile .sub-info .item-info .value span:not(.rate, .rate~span, .rate~span span, .reviews-count, .reviews-count span) {
    font-size: 11.053px;
    line-height: 18.159px;
}

html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .unit-profile .sub-info .item-info .value .rate {
    font-size: 13.471px;
    line-height: 16.58px;
}

html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .unit-profile .sub-info .item-info .value .reviews-count,
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .unit-profile .sub-info .item-info .value .reviews-count span,
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .unit-profile .sub-info .item-info .value .rate~span,
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .unit-profile .sub-info .item-info .value .rate~span span,
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .footer-locatiom .normal-location span,
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .footer-locatiom .location {
    line-height: 1.4;
}

html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .unit-notes .list-notes .item-notes span {
    line-height: 23px;
}

/* Checkout / payment (Figma Payment-Full-Amount 1:5126) — blocks shared by the booking-flow pages */
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .left-side .title-section,
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .custom-info-hosting .title-hosting,
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .reservation-details .header-details .title {
    line-height: 33.5px;
}

html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .custom-info-hosting .date-hosting span,
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .custom-info-hosting .time-hosting span,
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .custom-static-message .body-message,
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .reservation-details .header-details .btn span {
    line-height: 1.4;
}

html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .info-option .title-info,
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .body-details .row-details .row-value {
    line-height: 24.5px;
}

html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .wrapper-details .group-detail .title-detail,
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .wrapper-details .group-detail .value,
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .wrapper-details .group-detail .value span,
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .body-details .row-details .row-title,
html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .list-cancel-privacy .item-cancel span {
    line-height: 23px;
}

html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .body-details .row-details.total-price-row .row-value {
    line-height: 32.405px;
}

html[dir="rtl"] body:has(#header-app) main [id^="booking-"] .form-group-identity>.btn-gradient-3 {
    line-height: 21px;
}

/* Extension (Figma Booking-Extension-Page 1:5801) */
html[dir="rtl"] #booking-extension-app .group-section>.custom-title-section2 {
    font-size: clamp(20px, 2.2vw, 26.283px);
    /* 46.342px at the 26.283px desktop size. */
    line-height: 1.7632;
}

html[dir="rtl"] #booking-extension-app .group-section>.custom-subtitle-section,
html[dir="rtl"] #booking-extension-app .select2-selection__rendered {
    line-height: 33.5px;
}

html[dir="rtl"] #booking-extension-app .date-popup-main-tabs .tab {
    line-height: 23px;
}

html[dir="rtl"] #booking-extension-app .daterangepicker thead th {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}

html[dir="rtl"] #booking-extension-app .daterangepicker tbody td {
    font-family: Inter, sans-serif;
    font-weight: 500;
    line-height: 1.4;
}

html[dir="rtl"] #booking-extension-app .table-head,
html[dir="rtl"] #booking-extension-app .table-body .field-name,
html[dir="rtl"] #booking-extension-app .custom-static-message .title-message {
    line-height: 24.5px;
}

html[dir="rtl"] #booking-extension-app .table-body .field-value {
    line-height: 1.4;
}

html[dir="rtl"] #booking-extension-app .table-body .price,
html[dir="rtl"] #booking-extension-app .confirmEditReservation-control .btn span {
    line-height: 21px;
}

/* Booking pending (Figma Booking-Pending-Confirmation 1:5876) */
html[dir="rtl"] body:has(#header-app) .loading-proccess .container>.title-error {
    font-size: clamp(20px, 2.2vw, 26.283px);
    font-weight: 600;
    /* 46.342px at the 26.283px desktop size. */
    line-height: 1.7632;
}

html[dir="rtl"] body:has(#header-app) .loading-proccess .container>.subtitle {
    line-height: 33.5px;
}

/* Booking success (Figma Booking-Success-Message 1:5886) */
html[dir="rtl"] body:has(#booking-success-app) main .container>.mid-title {
    font-family: var(--IBM-Plex), sans-serif;
    font-weight: 600;
    line-height: 33.5px;
}

html[dir="rtl"] body:has(#booking-success-app) main .left-side>.title-property {
    font-family: var(--IBM-Plex), sans-serif;
    font-weight: 700;
    line-height: 24.5px;
}

html[dir="rtl"] body:has(#booking-success-app) main .left-side>.location-property,
html[dir="rtl"] body:has(#booking-success-app) main .left-side>.location-property span {
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

html[dir="rtl"] body:has(#booking-success-app) main .buttons-2 .btn {
    line-height: 21px;
}

/* Invoice (Figma Booking-Invoice 1:5900) */
html[dir="rtl"] #booking-invoice-app .left-side>.custom-title-page {
    font-size: clamp(20px, 3vw, 34.088px);
    /* 60.103px at the 34.088px desktop size. */
    line-height: 1.7632;
}

html[dir="rtl"] #booking-invoice-app .row-invoice h2.title {
    line-height: 32.405px;
}

html[dir="rtl"] #booking-invoice-app .item-invoice .row-invoice .title-row {
    line-height: 23px;
}

html[dir="rtl"] #booking-invoice-app .item-invoice .row-invoice .value-row {
    line-height: 24.5px;
}

html[dir="rtl"] #booking-invoice-app .footer-invoice .btn,
html[dir="rtl"] #booking-invoice-app .footer-invoice .btn span {
    line-height: 21px;
}

/* ---- My bookings (Figma My-Bookings 1:6914) ---- */
html[dir="rtl"] :is(#my-bookings-app, #previous-bookings-app) .body-current-reservation .location-reservation span,
html[dir="rtl"] :is(#my-bookings-app, #previous-bookings-app) .body-current-reservation .reservation-state span,
html[dir="rtl"] :is(#my-bookings-app, #previous-bookings-app) .body-current-reservation .buttons .btn span {
    line-height: 1.4;
}

html[dir="rtl"] :is(#my-bookings-app, #previous-bookings-app) .body-current-reservation>.btn-transparent {
    line-height: 21px;
}

/* ---- Favourites (Figma Fav-Page 1:7871, Fav-List-Units 1:7992) ---- */
html[dir="rtl"] #favorites-app .list-group-item .list-group-footer .title-group {
    font-size: 13.606px;
    line-height: 1.4;
}

html[dir="rtl"] #favorites-app .fav-units-date .title-box {
    line-height: 33.5px;
}

html[dir="rtl"] #favorites-app .fav-units-date .title-box.fav-units-date__empty {
    line-height: 1.4;
    text-align: center;
}

html[dir="rtl"] #favorites-app .fav-units-date .box-date span,
html[dir="rtl"] #favorites-app .left-side .unit-location {
    line-height: 1.4;
}

html[dir="rtl"] #favorites-app .left-side .title-property {
    line-height: 24.5px;
}

/* ---- Host profile + guest profile (Figma Host-Profile-Page 1:8406, Guest-Profile-Page 1:8462) ---- */
html[dir="rtl"] :is(#host-profile-page-app, #profile-main-app) .info-hosting .title-hosting {
    font-size: clamp(18px, 2vw, 22.851px);
    /* 40.291px at the 22.851px desktop size. */
    line-height: 1.7632;
}

html[dir="rtl"] :is(#host-profile-page-app, #profile-main-app) .features-hosting .feature-item .title-feature,
html[dir="rtl"] :is(#host-profile-page-app, #profile-main-app) .info-hosting .date-hosting span,
html[dir="rtl"] :is(#host-profile-page-app, #profile-main-app) .info-hosting .time-hosting span,
html[dir="rtl"] :is(#host-profile-page-app, #profile-main-app) .info-property-2 .item-property .title-property {
    line-height: 1.4;
}

html[dir="rtl"] #host-profile-page-app .header-content .title-content2,
html[dir="rtl"] #host-profile-page-app .host-latest-reviews .host-latest-reviews__title,
html[dir="rtl"] #profile-main-app .rates-info .title-feedback {
    font-size: clamp(17px, 2vw, 19px);
    font-weight: 600;
    /* 33.5px at the 19px desktop size. */
    line-height: 1.7632;
}

html[dir="rtl"] :is(#host-profile-page-app, #profile-main-app) .info-property-2 .item-property .value {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    line-height: 21px;
}

html[dir="rtl"] #host-profile-page-app .host .btn-contact-host span,
html[dir="rtl"] #host-profile-page-app .host-latest-reviews .btn-transparent {
    line-height: 21px;
}

html[dir="rtl"] #profile-main-app .rates-info .btn-transparent span {
    font-size: 13px;
    line-height: 21px;
}

/* ---- Profile pages: my account / personal info / wallet / notifications (Figma 1:8357, 1:8670, 1:8710, 1:8495, 1:8528) ---- */
html[dir="rtl"] body:has(#header-app) .section-settings .group-info .info .title-item,
html[dir="rtl"] body:has(#header-app) .account-summary .summary-box .box-header .title-item {
    line-height: 24.5px;
}

html[dir="rtl"] body:has(#header-app) .account-summary .summary-box .descripe,
html[dir="rtl"] body:has(#header-app) .account-info .header-info .type-user span,
html[dir="rtl"] body:has(#header-app) .account-info .account-details .item-info .title-info {
    line-height: 1.4;
}

html[dir="rtl"] body:has(#header-app) .account-info .title-section,
html[dir="rtl"] body:has(#header-app) .account-info .header-info .username {
    line-height: 33.5px;
}

html[dir="rtl"] body:has(#header-app) .account-info .account-details .item-info .value-info {
    line-height: 21px;
}

/* Personal info form (Figma Profile-Personal-Info 1:8670) */
html[dir="rtl"] #personal-info-app .form-personal-info .title-form {
    font-size: clamp(20px, 4vw, 46.304px);
    font-weight: 400;
    /* 81.641px at the 46.304px desktop size. */
    line-height: 1.7632;
}

html[dir="rtl"] #personal-info-app .form-personal-info .form-group .title-group {
    font-size: 16.087px;
    font-weight: 600;
    line-height: 28.152px;
}

html[dir="rtl"] #personal-info-app .form-personal-info .group-input input,
html[dir="rtl"] #personal-info-app .form-personal-info .phone-input-wrapper input,
html[dir="rtl"] #personal-info-app .form-personal-info .select2-selection__rendered {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-size: 16.09px;
    font-weight: 400;
    line-height: 26.429px;
}

html[dir="rtl"] #personal-info-app .form-personal-info .field-verified span,
html[dir="rtl"] #identity-verification-app .field-verified span {
    font-size: 12.64px;
    line-height: 1.4;
}

html[dir="rtl"] #personal-info-app .form-personal-info .form-group .subtitle,
html[dir="rtl"] #personal-info-app .upload-image-content .info .btn-white-purple {
    line-height: 1.4;
}

html[dir="rtl"] #personal-info-app .form-personal-info .btn-gradient-3 span {
    line-height: 21px;
}

/* Wallet (Figma Wallet-Transactions-History 1:8710) */
html[dir="rtl"] :is(#wallet-app, #notification-settings-app) .section-with-sticky>.container>.custom-title-section2 {
    font-size: clamp(24px, 6vw, 46.304px);
    /* 81.641px at the 46.304px desktop size. */
    line-height: 1.7632;
}

/* Notification settings (Figma Notification-Settings 1:8528) */
html[dir="rtl"] #notification-settings-app .form-groups-settings .groups-settings .title-group {
    line-height: 33.5px;
}

html[dir="rtl"] #notification-settings-app .form-groups-settings .group-checkbox label .title-choose {
    line-height: 24.5px;
}

html[dir="rtl"] #wallet-app .wallet-balance .wallet-balance-row--header .title {
    line-height: 33.5px;
}

html[dir="rtl"] #wallet-app .wallet-balance .wallet-balance-row--header .balance {
    font-size: clamp(20px, 2.4vw, 27.44px);
    /* 48.02px at the 27.44px desktop size. */
    line-height: 1.75;
}

html[dir="rtl"] #wallet-app .wallet-card .wallet-card__balance {
    font-size: 22.973px;
    font-weight: 600;
    line-height: 31.019px;
}

/* Notifications list (Figma Notifications 1:8495) */
html[dir="rtl"] body:has(#header-app) #notifications-app .item-notification .title-notification {
    font-family: var(--IBM-Plex), sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24.5px;
}

html[dir="rtl"] body:has(#header-app) #notifications-app .item-notification .description-notification,
html[dir="rtl"] body:has(#header-app) #notifications-app .item-notification .date {
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}

/* ---- Support center (Figma Support-Center 1:8625) ---- */
html[dir="rtl"] #support-center-app .left-side .group-info>span {
    font-size: clamp(24px, 4vw, 53.117px);
    font-weight: 400;
    /* 93.654px at the 53.117px desktop size. */
    line-height: 1.7632;
}

html[dir="rtl"] #support-center-app .header-support .title span,
html[dir="rtl"] :is(#support-center-app, #support-messages-app) .custom-box>.title,
html[dir="rtl"] :is(#support-center-app, #support-messages-app) .direct-contact .contact-group .header-group span {
    font-family: var(--IBM-Plex), sans-serif;
    font-size: clamp(17px, 2vw, 19px);
    font-weight: 600;
    /* 33.5px at the 19px desktop size. */
    line-height: 1.7632;
}

html[dir="rtl"] #support-center-app .header-support .subtitle,
html[dir="rtl"] :is(#support-center-app, #support-messages-app) .direct-contact .contact-group .title-group {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-weight: 400;
    line-height: 23px;
}

html[dir="rtl"] #support-center-app .list-problems .item-problem,
html[dir="rtl"] :is(#support-center-app, #support-messages-app) .custom-box .btn span {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 21px;
}

html[dir="rtl"] :is(#support-center-app, #support-messages-app) .direct-contact .contact-group .value-group,
html[dir="rtl"] :is(#support-center-app, #support-messages-app) .your-rights .subtitle {
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

/* Privacy policy CMS content (Figma Privacy-Policy 1:8605) */
html[dir="rtl"] body:has(#header-app) #privacy-policy-app .container>.date span {
    font-size: 13.52px;
    line-height: 1.4;
}

html[dir="rtl"] body:has(#header-app) #privacy-policy-app .container ol>li>strong {
    font-family: var(--IBM-Plex), sans-serif;
    font-size: clamp(18px, 2.3vw, 23.353px);
    font-weight: 600;
    /* 41.175px at the 23.353px desktop size. */
    line-height: 1.7632;
}

html[dir="rtl"] body:has(#header-app) #privacy-policy-app .container ol li p,
html[dir="rtl"] body:has(#header-app) #privacy-policy-app .container ol li ul>li {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-size: 17.207px;
    font-weight: 400;
    line-height: 28.269px;
}

/* Warranty / rights CMS content (Figma Booking-Guarantee-Details 1:5355, same text styles as Privacy-Policy) */
html[dir="rtl"] #warranty-details-app .left-side .group-info>span {
    font-size: clamp(18px, 2.2vw, 31.362px);
    font-weight: 600;
    /* 55.297px at the 31.362px desktop size. */
    line-height: 1.7632;
}

html[dir="rtl"] #warranty-details-app .container>.date span {
    font-size: 13.52px;
    line-height: 1.4;
}

html[dir="rtl"] body:has(#header-app) .privacy-policy-content h2,
html[dir="rtl"] body:has(#header-app) .privacy-policy-content h2 span {
    font-family: var(--IBM-Plex), sans-serif;
    font-size: clamp(18px, 2.3vw, 23.353px);
    font-weight: 600;
    /* 41.175px at the 23.353px desktop size. */
    line-height: 1.7632;
}

html[dir="rtl"] body:has(#header-app) .privacy-policy-content h3,
html[dir="rtl"] body:has(#header-app) .privacy-policy-content h3 span {
    font-family: var(--IBM-Plex), sans-serif;
    font-size: 19.666px;
    font-weight: 700;
    line-height: 30.113px;
}

html[dir="rtl"] body:has(#header-app) .privacy-policy-content p,
html[dir="rtl"] body:has(#header-app) .privacy-policy-content p span,
html[dir="rtl"] body:has(#header-app) .privacy-policy-content li {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-size: 17.207px;
    font-weight: 400;
    line-height: 28.269px;
}

/* Guest ↔ host messages (Figma Contact-Host-1 1:9002) */
html[dir="rtl"] #guest-messages-app .list-chats .username {
    font-size: 16px;
    font-weight: 700;
    line-height: 24.5px;
}

html[dir="rtl"] #guest-messages-app .list-chats .last-message,
html[dir="rtl"] #guest-messages-app .list-chats .last-message-date,
html[dir="rtl"] #guest-messages-app .group-message .message,
html[dir="rtl"] #guest-messages-app .group-message .date-message {
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}

html[dir="rtl"] #guest-messages-app .box-info-chat .title-box {
    font-size: 14px;
    font-weight: 600;
    line-height: 24.5px;
}

/* Report an issue (Figma Report-Issue-Or-Complaint 1:5563) */
html[dir="rtl"] #report-issue-app .left-side .group-info>span {
    font-size: clamp(18px, 2.2vw, 31.362px);
    font-weight: 600;
    /* 55.297px at the 31.362px desktop size. */
    line-height: 1.7632;
}

html[dir="rtl"] #report-issue-app .header-support .title span {
    font-size: clamp(17px, 2vw, 19px);
    font-weight: 600;
    /* 33.5px at the 19px desktop size. */
    line-height: 1.7632;
}

html[dir="rtl"] #report-issue-app .header-support .subtitle,
html[dir="rtl"] #report-issue-app .report-form .form-group p.text-muted {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-weight: 400;
    line-height: 23px;
}

html[dir="rtl"] #report-issue-app .report-form .form-group .form-label,
html[dir="rtl"] #report-issue-app .report-form .info-option .title-info {
    line-height: 24.5px;
}

html[dir="rtl"] #report-issue-app .report-form .btn span {
    font-size: 13px;
    font-weight: 600;
    line-height: 21px;
}

/* ---- Login popup (Figma Login-Window 1:6605) ---- */
html[dir="rtl"] #loginModal .modal-dialog .container .modal-content .modal-header .title-header .modal-title {
    font-size: clamp(18px, 2.4vw, 29.1px);
    font-weight: 600;
    /* 39.286px at the 29.1px desktop size. */
    line-height: 1.35;
}

html[dir="rtl"] #loginModal .modal-dialog .container .modal-content .modal-header .subtitle {
    font-size: clamp(16px, 2.4vw, 19.4px);
    font-weight: 700;
    /* 29.702px at the 19.4px desktop size. */
    line-height: 1.531;
}

html[dir="rtl"] #loginModal #loginForm .number-group input.form-control {
    font-size: 16.97px;
    font-weight: 400;
    line-height: 27.884px;
}

html[dir="rtl"] #loginModal #loginForm .btn-gradient-3 span,
html[dir="rtl"] #loginModal .modal-body>button.text-center {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-size: 15.76px;
    font-weight: 600;
    line-height: 25.459px;
}

/* ---- Create account (Figma Create-New-Account 1:9158) ---- */
html[dir="rtl"] #create-account-app .create-account>.container>.title {
    font-size: clamp(20px, 4vw, 41px);
    font-weight: 400;
    /* 39px at the 41px desktop size. */
    line-height: 0.9512;
}

html[dir="rtl"] #create-account-app .upload-image-content .info .form-title {
    font-size: clamp(17px, 2vw, 19px);
    font-weight: 600;
    /* 33.5px at the 19px desktop size. */
    line-height: 1.7632;
}

html[dir="rtl"] #create-account-app .upload-image-content .info .btn-white-purple,
html[dir="rtl"] #create-account-app .create-account-form .form-group .subtitle {
    line-height: 1.4;
}

html[dir="rtl"] #create-account-app .create-account-form .form-group .title-group {
    font-size: 14px;
    font-weight: 600;
    line-height: 24.5px;
}

html[dir="rtl"] #create-account-app .create-account-form .group-input input,
html[dir="rtl"] #create-account-app .create-account-form .phone-input-wrapper input,
html[dir="rtl"] #create-account-app .create-account-form .groups-checkbox .group-checkbox {
    line-height: 23px;
}

/* ---- Verification-code popups (Figma Enter-Verification-Code 1:6677) ---- */
/* Title size comes from index.css clamp(18px, 2vw, 24px) = Figma's 24px at desktop. */
html[dir="rtl"] :is(#otpModal, [id$="OtpModal"]:not([id^="host"])) .modal-dialog .container .modal-content .modal-header .title-header .modal-title {
    line-height: 32.405px;
}

html[dir="rtl"] :is(#otpModal, [id$="OtpModal"]:not([id^="host"])) .modal-header .subtitle {
    font-family: var(--IBM-Plex), sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 24.5px;
}

html[dir="rtl"] :is(#otpModal, [id$="OtpModal"]:not([id^="host"])) :is(#otp-phone-number, .otp-phone-number) {
    font-family: var(--IBM-Plex), sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 33.5px;
}

html[dir="rtl"] :is(#otpModal, [id$="OtpModal"]:not([id^="host"])) :is(#otp-change-number-btn, .otp-phone-section .btn-link) {
    font-family: var(--SF-PRO-DISPLAY), sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}

html[dir="rtl"] :is(#otpModal, [id$="OtpModal"]:not([id^="host"])) .btn-submit span,
html[dir="rtl"] :is(#otpModal, [id$="OtpModal"]:not([id^="host"])) .modal-dialog .container .modal-content .modal-body .otp-resend,
html[dir="rtl"] :is(#otpModal, [id$="OtpModal"]:not([id^="host"])) .modal-dialog .container .modal-content .modal-body .otp-resend span,
html[dir="rtl"] :is(#otpModal, [id$="OtpModal"]:not([id^="host"])) .modal-dialog .container .modal-content .modal-body .otp-resend button {
    font-family: var(--Readex-Pro-Brand), sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 21px;
}

/* Support chat (Figma Support-Messages 1:8905) */
html[dir="rtl"] #support-messages-app .left-side .group-info>span {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    /* 32.405px at the 24px desktop size. */
    line-height: 1.3502;
}

html[dir="rtl"] #support-messages-app .group-message .message span {
    font-size: 15.276px;
    font-weight: 600;
    line-height: 24.677px;
}

html[dir="rtl"] #support-messages-app .form-control {
    font-size: 15.346px;
    line-height: 25.212px;
}

html[dir="rtl"] #wallet-app .wallet-card .wallet-card__name {
    font-size: 10.106px;
    line-height: normal;
    letter-spacing: 0.6064px;
}
