:root {
    --primary-color: #4ea03c;
    --accent-color: #55a6aa;
    --warning-color: #f9a23c;
    --sand-color: #eccd8b;
    --off-white: #f9f8f3;
    --dark-color: #0d1f2d;
    --light-gray: #f3f4f6;
    --border-color: #e9ecef;
    --header-h: 88px;
    --controls-sticky-top: var(--header-h);
    --sidebar-sticky-top: calc(var(--header-h) + 52px);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.15);
    --radius: 14px;
    --transition: 0.25s ease;
}
* {
    box-sizing: border-box;
}
body {
    font-family: "Cairo", system-ui, -apple-system, Segoe UI, Roboto,
        "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: var(--off-white);
    line-height: 1.6;
    padding-top: var(--header-h);
}
img {
    max-width: 100%;
    display: block;
}
.container-custom {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 24px;
}
.section {
    padding: 4rem 0;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}
.main-content {
    min-height: calc(100vh - 80px);
    padding-bottom: max(140px, calc(120px + env(safe-area-inset-bottom)));
    transition: padding-bottom 0.28s ease;
}
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    z-index: 1000;
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}
.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    color: var(--dark-color) !important;
}
.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}
.navbar-toggler {
    border: 0;
    outline: 0;
    box-shadow: none !important;
}
.navbar-toggler i {
    font-size: 1.4rem;
    color: var(--dark-color);
    line-height: 1;
}
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    filter: brightness(0.95);
}
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
.lang-toggle {
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0.25rem;
    display: flex;
    align-items: center;
}
.lang-toggle button {
    border: 0;
    background: transparent;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: 0.3s;
}
.lang-toggle button.active {
    background: var(--accent-color);
    color: #fff;
}
.controls-row {
    position: sticky;
    top: var(--controls-sticky-top);
    z-index: 8;
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}
.filter-chips {
    margin-top: 1rem;
}
.filter-chip {
    display: inline-flex;
    align-items: center;
    background: var(--primary-color);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    margin: 0.25rem;
}
.filter-chip button {
    background: none;
    border: 0;
    color: #fff;
    margin-right: 0.5rem;
    cursor: pointer;
}
.filters-sidebar {
    position: sticky;
    top: var(--sidebar-sticky-top);
    height: fit-content;
}
.filter-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}
.filter-section {
    margin-bottom: 1.5rem;
}
.filter-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}
.star-rating {
    display: flex;
    gap: 0.25rem;
}
.star {
    color: #ddd;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.2s;
}
.star.active,
.star:hover {
    color: #ffc107;
}
.price-range-container {
    margin: 1rem 0;
}
.price-badges {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}
.price-badge {
    background: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
}
.card-custom {
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}
.card-custom:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}
.chalet-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.chalet-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.chalet-card .position-relative {
    position: relative;
    overflow: hidden;
    /* border-top-left-radius: var(--radius); */
    /* border-top-right-radius: var(--radius); */
}
.card-img-top {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.chalet-image {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    flex: 1;
}
.chalet-image img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.chalet-card:hover .chalet-image img {
    transform: scale(1.05);
}
.featured-ribbon {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    background: var(--accent-color);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}
.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    left: auto;
    z-index: 6;
    background: rgba(255, 255, 255, 0.92);
    border: 0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}
.wishlist-btn:hover {
    background: #fff;
    transform: scale(1.1);
}
.wishlist-btn.active {
    color: #dc3545;
}
.chalet-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.chalet-title {
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0;
    color: var(--dark-color);
}
.chalet-address {
    color: #666;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;

}
.rating-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.rating-stars {
    color: #ffc107;
}
.reviews-count {
    color: #666;
    font-size: 0.875rem;
}
.meta-pills {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}
.meta-pill {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--light-gray);
    padding: 0.4rem 0.6rem;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #666;
}
.amenities-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.amenity-icon {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary-color);
    font-size: 0.875rem;
}
.price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.price-block {
    text-align: right;
}
.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.875rem;
}
.current-price {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark-color);
}
.discounted-price {
    color: #dc3545;
}
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}
.skeleton-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}
.skeleton-image {
    height: 200px;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.skeleton-text {
    height: 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}
.skeleton-text.short {
    width: 60%;
}
.empty-state {
    text-align: center;
    padding: 3rem;
    background: #fff;
    border-radius: 12px;
}
.empty-icon {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
}
.mobile-filters-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    border-radius: 999px;
    width: 56px;
    height: 56px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.mobile-filters-btn i {
    font-size: 1.25rem;
    color: #fff;
}
.mobile-filters-btn span {
    display: none;
}
.filters-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: #fff;
    z-index: 1050;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 2rem;
}
.filters-drawer.show {
    right: 0;
}
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.drawer-overlay.show {
    opacity: 1;
    visibility: visible;
}
.booking-bar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    backdrop-filter: saturate(1.2) blur(6px);
    border-top: 1px solid #eef2f7;
    box-shadow: 0 -10px 30px rgba(13, 31, 45, 0.06);
    z-index: 1000;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
    transition: transform 0.28s ease, opacity 0.28s ease;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.88);
}
.booking-bar--hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}
.booking-bar-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
}
.booking-info {
    display: grid;
    gap: 4px;
    min-width: 0;
}
.price {
    font-weight: 900;
    color: #111;
}
.price small {
    color: #667085;
    font-weight: 600;
}
.booking-actions {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-self: end;
}
.hero {
    background: linear-gradient(
            120deg,
            rgba(13, 31, 45, 0.55),
            rgba(78, 160, 60, 0.35)
        ),
        url("../images/hero/hero1.jpg") center/cover no-repeat;
    padding-top: calc(90px + 2.2rem);
    padding-bottom: 3.5rem;
    min-height: 68vh;
    display: flex;
    align-items: flex-start;
    position: relative;
}
.search-card {
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 1.6rem 1.6rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.search-card h1 {
    font-weight: 800;
}
.form-control,
.form-select {
    border-radius: 12px;
    border: 2px solid #e9eef3;
    padding: 0.8rem 1rem;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(85, 166, 170, 0.15);
}
.emirate-card {
    position: relative;
    height: 250px;
}
.emirate-card .card-img {
    height: 100%;
    object-fit: cover;
}
.emirate-overlay {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    padding: 1.1rem;
}
.new-badge {
    background: #51cf66;
}
.discount-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--warning-color);
    color: #fff;
    padding: 0.5rem;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 2;
}
.rating {
    color: #ffc107;
}
.price-old {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 1rem;
}
.stat-card {
    text-align: center;
    padding: 2rem;
}
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}
.stat-label {
    font-size: 1.05rem;
}
.swiper {
    padding: 4px 2px;
}
.swiper-slide {
    height: auto;
}
.swiper-button-next,
.swiper-button-prev {
    color: var(--accent-color);
}
.swiper-pagination-bullet-active {
    background: var(--accent-color);
}
.autoslide .swiper-button-next,
.autoslide .swiper-button-prev,
.autoslide .swiper-pagination {
    display: none !important;
}
.featuredSwiper .swiper-wrapper {
    align-items: stretch;
}
.featuredSwiper .swiper-slide {
    padding-inline: 0.5rem;
    box-sizing: border-box;
}
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}
@media (max-width: 992px) {
    .controls-row {
        position: static;
        top: auto;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
        margin-top: 0.5rem;
    }
    .chalet-image {
        min-height: 160px;
    }
    .chalet-image img {
        height: 100%;
    }
    .booking-bar-grid {
        grid-template-columns: 1fr;
    }
    .booking-actions {
        justify-self: stretch;
        width: 100%;
        gap: 10px;
    }
    .booking-actions .btn {
        flex: 1 1 0;
        min-width: 0;
    }
    .hero {
        padding-top: calc(64px + 1.2rem);
        min-height: 62vh;
    }
    .search-card {
        padding: 1.2rem;
    }
}
@media (max-width: 576px) {
    .booking-bar {
        padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
    }
    .price {
        font-size: 18px;
        line-height: 1.1;
    }
    #barDates {
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .search-card h1 {
        font-size: 1.35rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
.reviews-section {
    padding-top: 20px;
}
.reviews-head {
    text-align: center;
    margin-bottom: 18px;
}
.reviews-bubble {
    font-size: 18px;
    margin-bottom: 6px;
    opacity: 0.9;
}
.reviews-title {
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.2px;
    color: #2f7e35;
    font-size: 28px;
    line-height: 1.2;
}
.reviews-subtitle {
    margin: 6px 0 14px;
    color: #75818e;
    font-size: 15px;
}
.reviewsSwiper {
    position: relative;
    padding: 2px;
}
.reviewsSwiper .swiper-wrapper {
    align-items: stretch;
}
.reviewsSwiper .swiper-slide {
    height: auto;
}
.review-card {
    --pad: 18px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    padding: var(--pad);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.tone-1 {
    background: linear-gradient(0deg, #ffffff, #ffffff);
}
.tone-2 {
    background: linear-gradient(0deg, #f7fff7, #f7fff7);
}
.tone-3 {
    background: linear-gradient(0deg, #fffdf7, #fffdf7);
}
.review-top {
    display: flex;
    align-items: center;
    gap: 10px;
}
.stars {
    color: #ffc107;
    letter-spacing: 2px;
    font-size: 15px;
    line-height: 1;
}
.score {
    font-weight: 800;
    font-size: 13px;
    color: #2fa146;
    background: #eaf7ee;
    border-radius: 20px;
    padding: 2px 8px;
}
.review-title {
    margin: 0;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 16px;
}
.review-text {
    margin: 0;
    color: #505a66;
    line-height: 1.55;
}
.review-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.reviewer {
    display: flex;
    align-items: center;
    gap: 10px;
}
.avatar {
    inline-size: 44px;
    block-size: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(135deg, #7cc9ff, #4eb9f4);
    box-shadow: 0 6px 16px rgba(78, 185, 244, 0.25);
}
.mini {
    color: #7b8794;
    font-size: 12px;
}
.mini-link {
    font-size: 12px;
    color: #2f7e35;
    background: #eef7ef;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 10px;
    transition: opacity 0.2s;
}
.mini-link:hover {
    opacity: 0.85;
}
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    inline-size: 36px;
    block-size: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #fff;
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-btn.prev {
    left: -6px;
}
.nav-btn.next {
    right: -6px;
}
.nav-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: var(--shadow-md);
}
.reviewsSwiper .swiper-pagination {
    position: static;
    margin-top: 12px;
}
.reviewsSwiper .swiper-pagination-bullet {
    opacity: 0.5;
}
.reviewsSwiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}
.clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (min-width: 768px) {
    .reviews-title {
        font-size: 30px;
    }
}
@media (min-width: 992px) {
    .reviews-title {
        font-size: 32px;
    }
}
.loading-container {
    text-align: center;
    position: relative;
}
.logo {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    animation: logoAnimation 2s ease-in-out infinite;
}
.logo .re {
    color: #4ea03c;
}
.logo .book {
    color: #55a6aa;
}
.logo .domain {
    color: #f9a23c;
}
@keyframes logoAnimation {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}
.progress-container {
    width: 200px;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4ea03c, #55a6aa, #f9a23c);
    border-radius: 2px;
    animation: progressAnimation 4s ease-in-out infinite;
    transform-origin: left;
}
@keyframes progressAnimation {
    0% {
        transform: scaleX(0);
    }
    70% {
        transform: scaleX(0.8);
    }
    100% {
        transform: scaleX(1);
    }
}
.loading-dots {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}
.dot {
    width: 8px;
    height: 8px;
    background: #55a6aa;
    border-radius: 50%;
    animation: dotAnimation 1.5s ease-in-out infinite;
}
.dot:nth-child(2) {
    animation-delay: 0.2s;
}
.dot:nth-child(3) {
    animation-delay: 0.4s;
}
@keyframes dotAnimation {
    0%,
    80%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}
.loading-text {
    margin-top: 1rem;
    color: #4ea03c;
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.7;
    animation: textFade 2s ease-in-out infinite;
}
@keyframes textFade {
    0%,
    100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}
.main-content {
    text-align: center;
    /* padding: 2rem; */
    animation: fadeInContent 1s ease-in-out;
}
.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    text-align: center;
}
.main-content.show {
    display: block;
}
@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4ea03c;
    margin-bottom: 1rem;
}
.welcome-subtitle {
    font-size: 1.2rem;
    color: #55a6aa;
    font-weight: 400;
}
@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }
    .progress-container {
        width: 150px;
    }
    .welcome-title {
        font-size: 2rem;
    }
    .welcome-subtitle {
        font-size: 1rem;
    }
}
.download-app {
    --green: #4ea03c;
    --green2: #71b05e;
    --teal: #55a6aa;
    --orange: #f9a23c;
    --beige: #f9f8f3;
    --gold: #eccd8b;
    --ink: #0f1113;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(78, 160, 60, 0.12);
    padding: 60px 40px;
}
.download-app .dl-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--beige) 0%, var(--gold) 100%);
}
.download-app .dl-bg::after {
    content: "";
    position: absolute;
    inset: -50%;
    background: radial-gradient(
            circle at 30% 30%,
            rgba(85, 166, 170, 0.15),
            transparent 55%
        ),
        radial-gradient(
            circle at 70% 70%,
            rgba(249, 162, 60, 0.13),
            transparent 55%
        );
    animation: dl-rotate 22s linear infinite;
}
@keyframes dl-rotate {
    to {
        transform: rotate(360deg);
    }
}
.download-app .dl-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.download-app .dl-content {
    text-align: left;
}
.download-app .dl-badge {
    display: inline-block;
    background: linear-gradient(45deg, var(--green), var(--green2));
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
    animation: dl-pulse 2s infinite;
}
@keyframes dl-pulse {
    50% {
        transform: scale(1.05);
    }
}
.download-app .dl-logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.download-app .dl-logo-re {
    color: var(--green2);
}
.download-app .dl-logo-book {
    color: var(--teal);
}
.download-app .dl-logo-ae {
    color: var(--orange);
}
.download-app .dl-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
    background: linear-gradient(45deg, var(--green), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.download-app .dl-subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 28px;
}
.download-app .dl-features {
    list-style: none;
    margin: 0 0 34px;
    padding: 0;
}
.download-app .dl-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: #555;
    margin: 10px 0;
}
.download-app .dl-features li::before {
    content: "✓";
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(45deg, var(--green), var(--green2));
    box-shadow: 0 6px 14px rgba(78, 160, 60, 0.25);
    animation: dl-check 0.5s ease;
}
@keyframes dl-check {
    from {
        transform: scale(0) rotate(180deg);
    }
}
.download-app .dl-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.download-app .dl-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.download-app .dl-btn.dl-app {
    background: linear-gradient(180deg, #0f1113, #1a1c1f);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}
.download-app .dl-btn.dl-app:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    filter: saturate(1.1);
}
.download-app .dl-btn.dl-play {
    background: linear-gradient(180deg, #171a1c, #23262a);
    border: 1px solid rgba(85, 166, 170, 0.25);
    box-shadow: 0 10px 26px rgba(85, 166, 170, 0.25);
}
.download-app .dl-btn.dl-play:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(85, 166, 170, 0.35);
    filter: saturate(1.08);
}
.download-app .dl-store-icon svg {
    display: block;
}
.download-app .dl-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}
.download-app .dl-btn-small {
    font-size: 0.78rem;
    opacity: 0.9;
    font-weight: 600;
}
.download-app .dl-btn-large {
    font-size: 1rem;
}
.download-app .dl-phone-wrap {
    display: flex;
    justify-content: center;
}
.download-app .dl-phone {
    width: 280px;
    height: 560px;
    padding: 20px;
    border-radius: 40px;
    background: linear-gradient(145deg, #333, #555);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.28);
    animation: dl-float 3s ease-in-out infinite;
}
@keyframes dl-float {
    50% {
        transform: translateY(-18px);
    }
}
.download-app .dl-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    background: #000;
}
.download-app .dl-screen-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
    display: block;
}
@media (max-width: 992px) {
    .download-app {
        padding: 50px 28px;
    }
    .download-app .dl-title {
        font-size: 2.6rem;
    }
}
@media (max-width: 768px) {
    .download-app .dl-container {
        grid-template-columns: 1fr;
        gap: 38px;
        text-align: center;
    }
    .download-app .dl-content {
        text-align: center;
    }
    .download-app .dl-buttons {
        justify-content: center;
    }
    .download-app .dl-title {
        font-size: 2.3rem;
    }
    .download-app .dl-phone {
        width: 240px;
        height: 480px;
    }
    .download-app .dl-btn-text {
        align-items: center;
    }
}
@media (max-width: 480px) {
    .download-app .dl-title {
        font-size: 1.9rem;
    }
    .download-app .dl-btn {
        padding: 12px 16px;
    }
    .download-app .dl-phone {
        width: 200px;
        height: 400px;
    }
}
.section--offers {
    background: var(--brand-off);
    position: relative;
    overflow: hidden;
}
.section--offers .section-title {
    font-weight: 900;
    background: linear-gradient(
        45deg,
        #f9a23c,
        #eccd8b,
        #71b05e,
        #eccd8b,
        #f9a23c
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fireGradient 5s linear infinite;
    text-shadow: 0 0 8px rgba(249, 162, 60, 0.4),
        0 0 15px rgba(236, 205, 139, 0.3), 0 0 25px rgba(113, 176, 94, 0.2);
}
@keyframes fireGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.offer-alert {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249, 162, 60, 0.12);
    color: #bf5b00;
    border: 1px solid rgba(249, 162, 60, 0.35);
    padding: 0.6rem 0.9rem;
    border-radius: 12px;
    font-weight: 700;
}
.discountsSwiper .chalet-card {
    border: 1px solid #eef2f7;
    box-shadow: 0 12px 28px rgba(13, 31, 45, 0.08);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.discountsSwiper .chalet-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 46px rgba(13, 31, 45, 0.14);
}
.discountsSwiper .card-img-top {
    height: 210px;
    object-fit: cover;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}
.discountsSwiper .discount-badge {
    top: 10px;
    left: auto;
    right: 10px;
    background: linear-gradient(135deg, #ff4d4f, #ff6a00);
    border-radius: 12px;
    padding: 0.35rem 0.6rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    box-shadow: 0 6px 14px rgba(255, 106, 0, 0.25);
}
.discountsSwiper .wishlist-btn {
    left: 18px;
    width: 44px;
    height: 44px;
    box-shadow: 0 10px 24px rgba(13, 31, 45, 0.12);
}
.discountsSwiper .card-body {
    padding: 18px 18px 16px;
}
.discountsSwiper .card-title {
    font-weight: 800;
    color: #13202e;
    margin-bottom: 0.2rem;
}
.discountsSwiper .text-muted {
    color: #6b7785 !important;
}
.discountsSwiper .price-old {
    color: #a3adba;
    text-decoration: line-through;
    font-weight: 700;
}
.discountsSwiper .price {
    color: var(--brand-green);
    font-weight: 900;
}
.discountsSwiper .btn-primary {
    background: linear-gradient(180deg, #ff6242, #ff3b2e);
    border: none;
    box-shadow: 0 10px 24px rgba(255, 59, 46, 0.25);
    font-weight: 800;
    border-radius: 12px;
}
.discountsSwiper .btn-primary:hover {
    filter: saturate(1.06) brightness(1.03);
    transform: translateY(-1px);
}
.discountsSwiper .rating {
    color: #ffb703;
}
.discountsSwiper {
    padding: 4px 0;
}
.discountsSwiper .swiper-slide {
    padding-inline: 0;
}
@media (max-width: 576px) {
    .discountsSwiper .swiper-slide {
        width: 100%;
    }
    .discountsSwiper .card {
        width: 100%;
    }
}
.new-chalets-section {
    --nc-grad-1: linear-gradient(135deg, #4ea03c, #55a6aa);
    --nc-grad-2: linear-gradient(135deg, #f9a23c, #eccd8b);
    --nc-btn-grad: linear-gradient(45deg, #f9a23c, #ee8b2a);
    --nc-btn-grad-hover: linear-gradient(45deg, #ee8b2a, #f9a23c);
}
.newch-heading {
    text-align: center;
    margin-bottom: 28px;
}
.newch-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.newch-emoji {
    font-size: 2.45em;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(46, 204, 113, 0.25));
    animation: newchFloat 2.6s ease-in-out infinite alternate;
}
.newch-emoji:last-child {
    animation-delay: 0.6s;
}
.newch-title {
    margin: 0;
    font-weight: 900;
    letter-spacing: 0.2px;
    font-size: clamp(24px, 3.2vw, 34px);
    background: linear-gradient(90deg, #35c66b, #1ea455, #35c66b);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: newchShimmer 5s ease-in-out infinite;
    position: relative;
}
.newch-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin: 8px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, #35c66b, #1ea455);
    box-shadow: 0 2px 8px rgba(30, 164, 85, 0.25);
    animation: newchUnderline 5s ease-in-out infinite;
}
.newch-sub {
    margin-top: 10px;
    color: #6b7785;
    font-size: 14px;
    animation: newchFadeUp 0.7s ease both;
}
[dir="rtl"] .newch-heading,
[dir="ltr"] .newch-heading {
    text-align: center;
}
@keyframes newchFloat {
    from {
        transform: translateY(0);
        opacity: 0.9;
    }
    to {
        transform: translateY(-6px);
        opacity: 1;
    }
}
@keyframes newchShimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
@keyframes newchUnderline {
    0% {
        transform: scaleX(1);
        opacity: 0.9;
    }
    50% {
        transform: scaleX(1.06);
        opacity: 1;
    }
    100% {
        transform: scaleX(1);
        opacity: 0.9;
    }
}
@keyframes newchFadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.nc-card {
    position: relative;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
}
.nc-card::before {
    content: "";
    position: absolute;
    inset: 0;
    left: -120%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.28),
        transparent
    );
    transition: left 0.7s ease;
    pointer-events: none;
}
.nc-card:hover::before {
    left: 120%;
}
.nc-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}
.nc-head {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.nc-head img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.nc-card:hover .nc-head img {
    transform: scale(1.05);
}
.nc-head::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 46%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
}
.nc-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    background: var(--nc-grad-1);
    color: #fff;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(85, 166, 170, 0.35);
}
.nc-wish {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.92);
    transition: transform 0.25s ease, background 0.25s ease;
}
.nc-wish:hover {
    transform: scale(1.08);
    background: #fff;
}
.nc-body {
    padding: 18px 18px 16px;
    background: #fff;
}
@keyframes ncSlideIn {
    from {
        opacity: 0;
        transform: translateX(22px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.nc-title {
    margin: 0 0 0.35rem;
    font-weight: 800;
    font-size: 1.1rem;
    color: #0d1f2d;
    animation: ncSlideIn 0.6s ease both;
}
.nc-sub {
    margin: 0 0 0.6rem;
    color: #6b7280;
    font-size: 0.9rem;
    animation: ncSlideIn 0.6s ease 0.08s both;
}
.nc-rating {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.6rem;
}
.nc-rating .rating {
    color: #ffc107;
    font-size: 0.95rem;
}
.nc-rating small {
    color: #94a3b8;
}
.nc-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
}
.nc-pill {
    background: #f3f4f6;
    color: #667085;
    font-size: 0.85rem;
    padding: 0.38rem 0.6rem;
    border-radius: 999px;
}
.nc-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nc-price {
    color: #0f172a;
    font-weight: 900;
    font-size: 1.05rem;
}
.nc-price small {
    color: #667085;
    font-weight: 600;
}
.nc-btn {
    background: var(--nc-btn-grad);
    color: #fff;
    border: 0;
    border-radius: 28px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.nc-btn:hover {
    background: var(--nc-btn-grad-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(249, 162, 60, 0.35);
}
.nc-card.alt .nc-badge {
    background: var(--nc-grad-2);
    box-shadow: 0 6px 16px rgba(249, 162, 60, 0.35);
}
@media (max-width: 992px) {
    .nc-head img {
        height: 220px;
    }
}
@media (max-width: 576px) {
    .nc-head img {
        height: 200px;
    }
}
.section--offers {
    background: var(--brand-off);
    position: relative;
    overflow: hidden;
}
/* .section--offers .section-title {
    font-weight: 900;
    background: linear-gradient(
        45deg,
        #ff0000,
        #ff6600,
        #ffcc00,
        #ff3300,
        #ff0000
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: hotTitle 3s linear infinite;
    text-shadow: 0 0 8px rgba(255, 80, 0, 0.35),
        0 0 15px rgba(255, 120, 0, 0.25);
} */
@keyframes hotTitle {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.hot-offer-alert {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249, 162, 60, 0.12);
    color: #bf5b00;
    border: 1px solid rgba(249, 162, 60, 0.35);
    padding: 0.6rem 0.9rem;
    border-radius: 12px;
    font-weight: 700;
}
.discountsSwiper .hot-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eef2f7;
    box-shadow: 0 12px 28px rgba(13, 31, 45, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}
.discountsSwiper .hot-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 46px rgba(13, 31, 45, 0.14);
}
.discountsSwiper .hot-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 4px;
    background: linear-gradient(
        135deg,
        #ff2a2a,
        #ff7a00,
        #ffd000,
        #ff7a00,
        #ff2a2a
    );
    background-size: 280% 280%;
    -webkit-mask: linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: hotBorder 4.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 9;
    box-shadow: 0 0 0 0 rgba(255, 95, 0, 0.35);
}
@keyframes hotBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.discountsSwiper .hot-head {
    position: relative;
    z-index: 1;
}
.discountsSwiper .hot-head .card-img-top {
    height: 210px;
    object-fit: cover;
    display: block;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}
.discountsSwiper .hot-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: linear-gradient(135deg, #ff4d4f, #ff6a00);
    color: #fff;
    font-weight: 800;
    border-radius: 12px;
    padding: 0.35rem 0.6rem;
    letter-spacing: 0.2px;
    box-shadow: 0 6px 14px rgba(255, 106, 0, 0.25);
}
.discountsSwiper .hot-wish {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}
.discountsSwiper .hot-wish .wishlist-btn {
    width: 44px;
    height: 44px;
    box-shadow: 0 10px 24px rgba(13, 31, 45, 0.12);
}
.discountsSwiper .hot-body {
    padding: 18px 18px 14px;
    background: #fff;
}
.discountsSwiper .hot-title {
    font-weight: 800;
    color: #13202e;
    margin: 0 0 0.2rem;
}
.discountsSwiper .hot-sub {
    color: #6b7785 !important;
    margin: 0 0 0.45rem;
}
.discountsSwiper .hot-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.2rem 0 0.7rem;
}
.discountsSwiper .hot-rating .rating {
    color: #ffb703;
}
.discountsSwiper .hot-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
}
.discountsSwiper .hot-chip {
    background: #f3f4f6;
    color: #667085;
    font-size: 0.85rem;
    padding: 0.38rem 0.6rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.discountsSwiper .hot-chip i {
    font-size: 0.9rem;
    color: #55a6aa;
}
.discountsSwiper .hot-foot {
    margin-top: 0.4rem;
    padding-top: 0.6rem;
    border-top: 1px dashed #eef2f7;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
.discountsSwiper .hot-prices {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.discountsSwiper .hot-price-old {
    color: #a3adba;
    text-decoration: line-through;
    font-weight: 600;
    font-size: 0.92rem;
}
.discountsSwiper .hot-price-new {
    color: #4ea03c;
    font-weight: 900;
    font-size: 1.06rem;
}
.discountsSwiper {
    padding: 4px 0;
}
.discountsSwiper .swiper-slide {
    padding-inline: 0;
}
@media (max-width: 576px) {
    .discountsSwiper .swiper-slide {
        width: 100%;
    }
    .discountsSwiper .hot-card {
        width: 100%;
    }
}
.discountsSwiper .hot-foot {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px dashed #eef2f7;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.discountsSwiper .hot-prices {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.discountsSwiper .hot-price-old {
    color: #a3adba;
    text-decoration: line-through;
    font-weight: 600;
    font-size: 0.92rem;
}
.discountsSwiper .hot-price-new {
    color: #4ea03c;
    font-weight: 900;
    font-size: 1.06rem;
}
.hot-location {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 4px;
}
.discountsSwiper .hot-btn {
    background: linear-gradient(180deg, #ff6242, #ff3b2e);
    border: none;
    border-radius: 12px;
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 59, 46, 0.25);
    transition: transform 0.2s ease, filter 0.2s ease;
}
.discountsSwiper .hot-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05) saturate(1.08);
}
.discountsSwiper .hot-foot {
    margin-top: 0.6rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/* //hero search */
/* ارتفاع ثابت لكل الحقول */
.search-card .form-control,
.search-card .form-select,
.search-card .btn {
    height: 48px;
}

/* ===== Input + Button (داخل input-group) ===== */
.input-group .btn {
    flex: 0 0 auto;
} /* الزر ما يتمددش */
.input-group > .form-control {
    min-width: 0;
} /* يمنع تمدد زائد */

/* LTR */
[dir="ltr"] .input-group {
    flex-direction: row;
}
[dir="ltr"] .input-group > .form-control {
    border-radius: 0.5rem 0 0 0.5rem;
    border-right: 0; /* يشيّل خط النص */
}
[dir="ltr"] .input-group > .btn {
    border-radius: 0 0.5rem 0.5rem 0;
    border-left: 0; /* اندماج الحدود */
}

/* RTL */
[dir="rtl"] .input-group {
    flex-direction: row-reverse;
}
[dir="rtl"] .input-group > .form-control {
    border-radius: 0 0.5rem 0.5rem 0;
    border-left: 0; /* يشيّل خط النص */
}
[dir="rtl"] .input-group > .btn {
    border-radius: 0.5rem 0 0 0.5rem;
    border-right: 0; /* اندماج الحدود */
}

/* منع خط رفيع بين الزر والحقل في الحالتين */
.input-group > .form-control + .btn {
    margin-inline-start: -1px;
}

/* ===== Select tweaks (السهم والمسافات) ===== */
.search-card .form-select {
    line-height: normal;
    padding-inline-end: 2.25rem; /* مساحة للسهم */
}
[dir="rtl"] .search-card .form-select {
    background-position: left 0.75rem center; /* مكان السهم في RTL */
}
[dir="ltr"] .search-card .form-select {
    background-position: right 0.75rem center; /* مكان السهم في LTR */
}

/* ===== Top Filter Row ===== */
.filters-top {
    border: 1px solid #eee;
}

.sort-select {
    min-width: 200px;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><path fill='%23666' d='M4 6l4 4 4-4z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    padding-right: 30px;
}

/* ===== Sidebar ===== */
.filter-sidebar .form-select,
.filter-sidebar .form-control {
    border-radius: 10px;
}

.filter-sidebar .btn-success {
    background-color: #2e7d32;
    border-color: #2e7d32;
}

/* ===== Chalet Card ===== */
.chalet-card {
    border: 1px solid #eee;
    transition: 0.3s ease;
}

.chalet-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2e7d32;
    font-size: 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.wishlist-btn:hover {
    background: #2e7d32;
    color: #fff;
}

/* //new filter desktop */
/* ===== Sidebar Filters Alignment ===== */
.filter-sidebar {
    text-align: left;
}

.filter-sidebar .form-label {
    text-align: left;
    display: block;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.form-check-input {
    float: none;
    margin: 0;
    cursor: pointer;
}

.form-check-label {
    margin: 0;
    font-size: 0.93rem;
    font-weight: 500;
}

.filter-block {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.filter-block:last-of-type {
    border-bottom: none;
}

.rating-select .rating-star {
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s ease;
}

.rating-select .rating-star.active,
.rating-select .rating-star:hover {
    color: #fbc02d;
}

.form-range {
    accent-color: #2e7d32;
}

/* ===== Mobile Drawer ===== */
/* .filter-fab {
    position: fixed;
    bottom: 80px;
    right: 20px;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
} */

.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.filter-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
    border-left: 2px solid #eee;
}

.filter-drawer.active {
    right: 0;
}

.drawer-overlay.active {
    display: block;
}

/* Responsive */
@media (max-width: 991px) {
    .filter-sidebar {
        display: none;
    }
}

/* //mobile filter */
/* ===== Mobile Drawer Base ===== */
.filter-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    max-width: 380px;
    height: 100vh;
    overflow-y: auto;
    transition: right 0.3s ease-in-out;
    z-index: 1050;
    box-shadow: -2px 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 0 20px;
}

.filter-drawer.open {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 1040;
}

.drawer-overlay.active {
    display: block;
}

/* ===== Mobile Drawer Inner ===== */
.filter-drawer .form-label {
    font-weight: 600;
    color: #333;
}

.filter-drawer .form-check {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.filter-drawer .form-check-input {
    float: none;
    margin: 0;
    cursor: pointer;
}

.filter-drawer .form-check-label {
    margin: 0;
    font-size: 0.93rem;
    font-weight: 500;
}

.filter-drawer .filter-block {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.mobile-rating-star {
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s ease;
}

.mobile-rating-star.active,
.mobile-rating-star:hover {
    color: #fbc02d;
}
