/* =========================
   Brand Palette (Global)
   ========================= */
:root {
    /* Brand core */
    --brand-green-dark: #4ea03c; /* أخضر غامق */
    --brand-green-mid: #71b05e; /* أخضر متوسط */
    --brand-sky: #55a6aa; /* أزرق سماوي */
    --brand-orange: #f9a23c; /* برتقالي */
    --brand-sand: #eccd8b; /* أصفر رملي */
    --brand-offwhite: #f9f8f3; /* أوف وايت */

    /* Global mappings */
    --primary: var(--brand-green-dark);
    --primary-color: var(--brand-green-dark);
    --secondary: var(--brand-green-mid);
    --accent: var(--brand-sky);
    --warning: var(--brand-orange);
    --sand: var(--brand-sand);
    --off-white: var(--brand-offwhite);

    /* Neutrals & defaults already used في التصميم */
    --dark-color: #0d1f2d;
    --dark: #0d1f2d;
    --muted: #6c757d;
    --card: #fff;
    --bar: #e9eef3;
    --star: #f9a23c; /* برتقالي للتقييم */
    --border-color: #e9eef3;
    --shadow: 0 8px 30px rgba(78, 160, 60, 0.08);
    --shadow-sm: 0 2px 6px rgba(78, 160, 60, 0.06);
    --shadow-md: 0 16px 34px rgba(78, 160, 60, 0.1);
    --r: 16px;
}

/* =========================
   Original stylesheet (with brand colors applied)
   ========================= */

.chalet-head {
    padding-block: 1.25rem 0.5rem;
}
.chalet-name {
    font-weight: 800;
    color: var(--dark-color);
    font-size: clamp(1.4rem, 2.2vw, 2rem);
}
.chalet-head .stars {
    color: var(--warning);
    letter-spacing: 2px;
    font-size: 1.05rem;
}
.chalet-head .rate {
    font-weight: 800;
}
.icon-btn {
    --s: 42px;
    width: var(--s);
    height: var(--s);
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.icon-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ====== Gallery 4 ====== */
.chalet-gallery {
    position: relative; /* مهم للـ floating badge */
    display: grid;
    grid-template-columns: 2fr 1.4fr;
    grid-template-rows: 220px 220px;
    gap: 10px;
    border-radius: 16px;
    isolation: isolate; /* يمنع تداخل z-index مع عناصر أخرى */
}
.chalet-gallery .g-item {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}
.chalet-gallery .g-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.chalet-gallery .g-img:hover {
    transform: scale(1.04);
    cursor: zoom-in;
}
.g-item-1 {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
} /* صورة كبيرة يسار */
.g-item-2 {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
}
.g-item-3 {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
}
.g-item-4 {
    display: none;
} /* نحتفظ بالرابع للعرض في اللايت بوكس فقط (أو بدّل الترتيب حسب ذوقك) */

.view-all-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 8px 14px;
    box-shadow: var(--shadow);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ====== Lightbox ====== */
.media-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(13, 31, 45, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: clamp(12px, 2vw, 24px);
}
.media-lightbox.show {
    display: flex;
}
#lbImage {
    max-width: min(96vw, 1400px);
    max-height: 86vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    background: #000;
}
.lb-btn {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
}
.lb-close {
    top: 16px;
    right: 16px;
}
.lb-prev {
    left: 16px;
}
.lb-next {
    right: 16px;
}
.lb-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
}

/* ====== Responsive ====== */
@media (max-width: 992px) {
    .chalet-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 180px 160px;
    }
}
@media (max-width: 576px) {
    .chalet-head {
        padding-block: 0.5rem 0;
    }
    .chalet-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 190px);
    }
    .g-item-1 {
        grid-row: 1;
        grid-column: 1;
    }
    .g-item-2 {
        grid-row: 2;
        grid-column: 1;
    }
    .g-item-3 {
        grid-row: 3;
        grid-column: 1;
    }
    .view-all-btn {
        bottom: 10px;
        right: 10px;
    }
}

/* ===== Floating Offer Badge (on Gallery) ===== */
.floating-offer-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 100;
    background: linear-gradient(135deg, #f9a23c 0%, #ff6b35 100%);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow:
        0 12px 40px rgba(249, 162, 60, 0.45),
        0 0 0 4px rgba(255, 255, 255, 0.3);
    animation:
        floatBounce 3s ease-in-out infinite,
        pulseGlow 2s ease-in-out infinite;
    min-width: 140px;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.9);
}

[dir="rtl"] .floating-offer-badge {
    left: auto;
    right: 16px;
}

.offer-badge-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.offer-badge-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 24px;
    color: #fff;
    animation: spinStar 8s linear infinite;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.offer-badge-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.offer-badge-discount {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.offer-badge-label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.offer-badge-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    padding-top: 6px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Animations */
@keyframes floatBounce {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-6px) scale(1.02);
    }
}

@keyframes pulseGlow {
    0%,
    100% {
        box-shadow:
            0 12px 40px rgba(249, 162, 60, 0.45),
            0 0 0 4px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow:
            0 16px 50px rgba(249, 162, 60, 0.65),
            0 0 0 6px rgba(255, 255, 255, 0.5);
    }
}

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

/* Responsive Mobile */
@media (max-width: 768px) {
    .floating-offer-badge {
        top: 10px;
        left: 10px;
        padding: 10px 14px;
        min-width: 120px;
        border-radius: 14px;
        border-width: 2px;
    }

    [dir="rtl"] .floating-offer-badge {
        left: auto;
        right: 10px;
    }

    .offer-badge-icon {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .offer-badge-discount {
        font-size: 24px;
    }

    .offer-badge-label {
        font-size: 9px;
    }

    .offer-badge-title {
        font-size: 11px;
        padding-top: 5px;
    }

    .offer-badge-inner {
        gap: 8px;
        margin-bottom: 5px;
    }
}

/* Extra small mobile */
@media (max-width: 480px) {
    .floating-offer-badge {
        top: 8px;
        left: 8px;
        padding: 8px 12px;
        min-width: 110px;
        border-radius: 12px;
    }

    [dir="rtl"] .floating-offer-badge {
        left: auto;
        right: 8px;
    }

    .offer-badge-icon {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .offer-badge-discount {
        font-size: 22px;
    }

    .offer-badge-label {
        font-size: 8px;
    }

    .offer-badge-title {
        font-size: 10px;
        padding-top: 4px;
    }
}

/* ===== Chalet Stats ===== */
.chalet-stats-section {
    margin-top: 16px;
}
.stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}
.stat-badge {
    background: #fff;
    border-radius: 16px;
    padding: 18px 14px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
    isolation: isolate;
}
.stat-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--primary) 35%, transparent);
}
.stat-num {
    font-weight: 800;
    font-size: 1.35rem;
    color: #111;
    line-height: 1;
}
.stat-label {
    margin-top: 6px;
    font-size: 0.95rem;
    color: #667085;
}

/* باكجراوندات باستيل قريبة من السكرين */
.bg-soft-pink {
    background: #fdeffd;
}
.bg-soft-mint {
    background: #eefbf3;
}
.bg-soft-sand {
    background: #fff3d9;
}
.bg-soft-sky {
    background: #eaf6ff;
}
.bg-soft-lavender {
    background: #eef0ff;
}

/* ===== Description card ===== */
.chalet-head-top {
    margin-top: 15px;
}
.desc-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px 18px 12px;
}
.desc-body {
    color: #404a56;
    line-height: 1.9;
    overflow: hidden;
}
.desc-body.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    position: relative;
}
.desc-body.expanded {
    -webkit-line-clamp: unset;
}
.read-more-btn {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    margin-top: 8px;
    display: none; /* مخفي افتراضياً */
}
.read-more-btn.visible {
    display: inline-block; /* يظهر فقط عندما يكون النص طويل */
}
.read-more-btn:hover {
    text-decoration: underline;
}

/* باقي الكود كما هو */
/* ===== Responsive ===== */
@media (max-width: 992px) {
    .stats-row {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 576px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== White Box wrapper for stats ===== */
.stats-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 18px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.stats-card .stat-badge {
    border: 0;
    box-shadow: none;
    min-height: 74px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 10px;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}
.stats-card .stat-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(78, 160, 60, 0.06);
}

.stat-num {
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1;
    color: #111;
}
.stat-label {
    margin-top: 6px;
    font-size: 0.92rem;
    color: #667085;
}

.bg-soft-pink {
    background: #fdeffd;
}
.bg-soft-mint {
    background: #eefbf3;
}
.bg-soft-sand {
    background: #fff3d9;
}
.bg-soft-sky {
    background: #eaf6ff;
}
.bg-soft-lavender {
    background: #eef0ff;
}

@media (max-width: 992px) {
    .stats-row {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 576px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-card {
        padding: 12px;
    }
}
/* ===== RSCT2: isolation ===== */
.rsct2,
.rsct2 * {
    box-sizing: border-box;
}
.rsct2 {
    margin-top: 18px;
}
.rsct2-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 12px;
}

/* Cards */
.rsct2-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 18px;
}
.rsct2-title {
    margin: 0 0 14px;
    font:
        900 18px/1 "Cairo",
        system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        Arial,
        sans-serif;
    color: #0d1f2d;
}

/* Capacity */
.rsct2-cap-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.rsct2-cap {
    min-height: 108px;
    padding: 20px 14px;
    border-radius: 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
.rsct2-cap:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(78, 160, 60, 0.06);
}
.rsct2-cap-num {
    font:
        900 22px/1.05 "Cairo",
        system-ui;
    color: #0f172a;
    letter-spacing: 0.2px;
}
.rsct2-cap-label {
    margin-top: 8px;
    font:
        500 14.5px/1.4 "Cairo",
        system-ui;
    color: #6b7786;
}

/* Pastels */
.rsct2-bg-sky {
    background: #e8f2ff;
}
.rsct2-bg-mint {
    background: #e9fbf2;
}
.rsct2-bg-pink {
    background: #f7e9fb;
}
.rsct2-bg-sand {
    background: #fff1cf;
}

/* Groups */
.rsct2-group {
    margin-top: 10px;
}
.rsct2-group-title {
    font:
        800 15px/1 "Cairo",
        system-ui;
    color: #0d1f2d;
    margin: 4px 0 12px;
}

/* Two-column row (no Bootstrap) */
.rsct2-row {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Time boxes */
.rsct2-time {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 136px;
    padding: 22px 20px;
    border-radius: 18px;
    background: #fff;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}
.rsct2-time:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--primary) 35%, transparent);
    box-shadow: 0 16px 34px rgba(78, 160, 60, 0.1);
}

/* Soft fills */
.rsct2-soft-green {
    background: #ecfaf1;
}
.rsct2-soft-red {
    background: #ffe8ea;
}
.rsct2-soft-blue {
    background: #edf3ff;
}
.rsct2-soft-yellow {
    background: #fff2da;
}

/* Status dot */
.rsct2-dot {
    position: absolute;
    top: 18px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #c9d4df;
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.08),
        inset 0 0 0 6px rgba(255, 255, 255, 0.95);
}
/* للغة الإنجليزية */
.ltr .rsct2-dot {
    right: 18px;
    left: auto;
}

/* للغة العربية */
.rtl .rsct2-dot {
    left: 18px;
    right: auto;
}
.rsct2-in .rsct2-dot {
    background: var(--secondary);
}
.rsct2-out .rsct2-dot {
    background: #ff8a8a;
}

/* Typo inside time box */
.rsct2-time-body {
    display: grid;
    gap: 6px;
}
.rsct2-time-head {
    font:
        900 16px/1.1 "Cairo",
        system-ui;
    color: #0d1f2d;
    letter-spacing: 0.2px;
}
.rsct2-time-main {
    font:
        900 20px/1.1 "Cairo",
        system-ui;
    color: #111827;
}
.rsct2-time-note {
    font:
        500 14px/1.4 "Cairo",
        system-ui;
    color: #6b7786;
}

/* Tint headings like reference */
.rsct2-in .rsct2-time-head {
    color: var(--primary);
}
.rsct2-out .rsct2-time-head {
    color: #b23b3b;
}

/* Fallback animation (if AOS missing) */
@keyframes rsct2Pop {
    from {
        transform: translateY(12px);
        opacity: 0;
    }
    to {
        transform: none;
        opacity: 1;
    }
}
.rsct2 [data-aos] {
    animation: rsct2Pop 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.rsct2 [data-aos][data-aos-delay="100"] {
    animation-delay: 0.1s;
}
.rsct2 [data-aos][data-aos-delay="200"] {
    animation-delay: 0.2s;
}
.rsct2 [data-aos][data-aos-delay="300"] {
    animation-delay: 0.3s;
}

/* Responsive */
@media (max-width: 992px) {
    .rsct2-cap-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 576px) {
    .rsct2-card {
        padding: 16px;
    }
    .rsct2-cap {
        min-height: 100px;
        padding: 16px 12px;
    }
    .rsct2-row {
        grid-template-columns: 1fr;
    }
    .rsct2-time {
        min-height: 120px;
        padding: 18px;
    }
    .rsct2-dot {
        width: 22px;
        height: 22px;
        right: 14px;
        top: 14px;
    }
}

.rhr-section {
    margin-top: 18px;
}
.rhr-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px;
}
.rhr-title {
    margin: 0 0 12px;
    font-weight: 900;
    font-size: 18px;
    color: #0d1f2d;
}
.rhr-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rhr-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f3f7;
}
.rhr-item:nth-child(odd) {
    background: #f7fafc;
}
.rhr-item:last-child {
    border-bottom: 0;
}

.rhr-rule {
    font-weight: 600;
    color: #1f2a37;
    line-height: 1.35;
}

/* Pill styles */
.rhr-pill {
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    border: 1px solid transparent;
}
.rhr-allowed {
    background: #e7f7ec;
    color: var(--primary);
    border-color: #cdf0d6;
}
.rhr-not {
    background: #ffe9ec;
    color: #b23b3b;
    border-color: #ffd0d7;
}
.rhr-permit {
    background: #fff4cf;
    color: #8a6a00;
    border-color: #ffe7a4;
}
.rhr-until {
    background: #ffe8bf;
    color: #9a6a07;
    border-color: #ffdca0;
}
.rhr-required {
    background: #e8f0ff;
    color: #2a58c9;
    border-color: #d7e4ff;
}

/* ===== Cancellation Policy (cp-) ===== */
/* ===== Luxury Cancellation Policy Design ===== */
.cp-section {
    margin-top: 18px;
}

/* Grid for luxury cards */
.rb-cp-luxury-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

/* Individual luxury card */
.rb-cp-luxury-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(78, 160, 60, 0.08);
    isolation: isolate;
}

.rb-cp-luxury-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(78, 160, 60, 0.16);
}

/* Icon wrapper with gradient background */
.rb-cp-icon-wrapper {
    margin-bottom: 18px;
}

.rb-cp-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 28px;
    color: #fff;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.rb-cp-luxury-card:hover .rb-cp-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Full refund card - green gradient */
.rb-cp-full-refund .rb-cp-icon {
    background: linear-gradient(135deg, #4ea03c 0%, #71b05e 100%);
    box-shadow: 0 4px 16px rgba(78, 160, 60, 0.3);
}

.rb-cp-full-refund:hover {
    border-color: #4ea03c;
}

/* Partial refund card - orange gradient */
.rb-cp-partial-refund .rb-cp-icon {
    background: linear-gradient(135deg, #f9a23c 0%, #eccd8b 100%);
    box-shadow: 0 4px 16px rgba(249, 162, 60, 0.3);
}

.rb-cp-partial-refund:hover {
    border-color: #f9a23c;
}

/* Emergency card - sky blue gradient */
.rb-cp-emergency .rb-cp-icon {
    background: linear-gradient(135deg, #55a6aa 0%, #71b05e 100%);
    box-shadow: 0 4px 16px rgba(85, 166, 170, 0.3);
}

.rb-cp-emergency:hover {
    border-color: #55a6aa;
}

/* None policy card - red gradient */
.rb-cp-none-policy .rb-cp-icon {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 4px 16px rgba(231, 76, 60, 0.3);
}

.rb-cp-none-policy:hover {
    border-color: #e74c3c;
}

/* Content styling */
.rb-cp-content {
    position: relative;
    z-index: 2;
}

.rb-cp-period {
    font-size: 15px;
    font-weight: 800;
    color: #1f2a37;
    margin-bottom: 14px;
    line-height: 1.4;
    min-height: 42px;
    display: flex;
    align-items: center;
}

/* Refund badge */
.rb-cp-refund-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 16px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.rb-cp-luxury-card:hover .rb-cp-refund-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.rb-cp-badge-green {
    background: linear-gradient(135deg, #e8f8ee 0%, #c7efd8 100%);
    color: #4ea03c;
    border: 2px solid #4ea03c;
}

.rb-cp-badge-orange {
    background: linear-gradient(135deg, #fff3cf 0%, #ffe59c 100%);
    color: #8a6a00;
    border: 2px solid #f9a23c;
}

.rb-cp-badge-red {
    background: linear-gradient(135deg, #ffe8ea 0%, #ffd2d7 100%);
    color: #b23b3b;
    border: 2px solid #e74c3c;
}

.rb-cp-badge-sky {
    background: linear-gradient(135deg, #e8f0ff 0%, #d7e4ff 100%);
    color: #55a6aa;
    border: 2px solid #55a6aa;
}

.rb-cp-details {
    font-size: 13.5px;
    color: #5a6573;
    line-height: 1.6;
}

/* Gradient overlay for depth */
.rb-cp-gradient-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    opacity: 0.04;
    z-index: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.rb-cp-full-refund .rb-cp-gradient-overlay {
    background: radial-gradient(circle, #4ea03c 0%, transparent 70%);
}

.rb-cp-partial-refund .rb-cp-gradient-overlay {
    background: radial-gradient(circle, #f9a23c 0%, transparent 70%);
}

.rb-cp-emergency .rb-cp-gradient-overlay {
    background: radial-gradient(circle, #55a6aa 0%, transparent 70%);
}

.rb-cp-none-policy .rb-cp-gradient-overlay {
    background: radial-gradient(circle, #e74c3c 0%, transparent 70%);
}

.rb-cp-luxury-card:hover .rb-cp-gradient-overlay {
    opacity: 0.08;
}

/* Tablet - 2 columns */
@media (max-width: 991px) and (min-width: 577px) {
    .rb-cp-luxury-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

/* Mobile - 1 column */
@media (max-width: 576px) {
    .rb-cp-luxury-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 18px;
    }

    .rb-cp-luxury-card {
        padding: 22px 18px;
    }

    .rb-cp-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .rb-cp-icon-wrapper {
        margin-bottom: 14px;
    }

    .rb-cp-period {
        font-size: 14px;
        min-height: 38px;
    }

    .rb-cp-refund-badge {
        padding: 8px 14px;
        font-size: 14px;
        gap: 5px;
    }

    .rb-cp-details {
        font-size: 13px;
    }

    .rb-cp-gradient-overlay {
        width: 100px;
        height: 100px;
    }
}

/* ===== Amenities & Services (pixel-match) ===== */
.amenities-section {
    margin-top: 18px;
}
.am-wrap {
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: 12px;
}

.am-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px;
}

.am-head {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* ينعكس تلقائيًا مع RTL */
    padding-inline: 4px;
    margin-bottom: 12px;
}
[dir="rtl"] .am-head {
    justify-content: flex-end;
} /* العنوان على أقصى اليمين في RTL */

.am-title {
    margin: 0;
    font-weight: 800;
    font-size: 18px;
    line-height: 1;
    color: var(--dark-color);
}

/* Grid */
.am-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(
        3,
        minmax(0, 1fr)
    ); /* ديسكتوب ثلاث أعمدة مطابقة للسكرين */
}

/* Pill */
.am-pill {
    position: relative;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    padding-inline: 16px 44px; /* مساحة للنقطة */
    font-weight: 600;
    color: #1f2937;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02) inset;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
    isolation: isolate;
}
.am-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(78, 160, 60, 0.06);
    border-color: color-mix(in srgb, var(--primary) 25%, transparent);
}

/* Status dot (inline-end حتى ينعكس مع RTL) */
.am-pill::after {
    content: "";
    position: absolute;
    inset-inline-end: 14px;
    top: 50%;
    translate: 0 -50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    box-shadow:
        inset 0 0 0 6px rgba(255, 255, 255, 0.9),
        0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Pastel palettes */
.am-sky {
    background: #eaf6ff;
}
.am-sand {
    background: #fff3d9;
}
.am-pink {
    background: #fdeffd;
}
.am-mint {
    background: #eefbf3;
}
.am-blue {
    background: #e9f1ff;
}
.am-lav {
    background: #eef0ff;
}
.am-rose {
    background: #f9ecf3;
}
.am-ice {
    background: #e9fbff;
}
.am-lemon {
    background: #fff8d9;
}

/* ===== Responsive to match reference ===== */
@media (max-width: 1199.98px) {
    .am-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 576.98px) {
    .am-card {
        padding: 16px;
        border-radius: 16px;
    }
    .am-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .am-pill {
        height: 56px;
        padding-inline: 14px 42px;
    }
    .am-pill::after {
        width: 14px;
        height: 14px;
        inset-inline-end: 12px;
    }
}

/* ===== AOS fallback ===== */
@keyframes amPop {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: none;
        opacity: 1;
    }
}
.am-card[data-aos],
.am-pill[data-aos] {
    animation: amPop 0.45s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.am-pill[data-aos][data-aos-delay="50"] {
    animation-delay: 0.05s;
}
.am-pill[data-aos][data-aos-delay="100"] {
    animation-delay: 0.1s;
}
.am-pill[data-aos][data-aos-delay="150"] {
    animation-delay: 0.15s;
}
.am-pill[data-aos][data-aos-delay="200"] {
    animation-delay: 0.2s;
}
.am-pill[data-aos][data-aos-delay="250"] {
    animation-delay: 0.25s;
}
.am-pill[data-aos][data-aos-delay="300"] {
    animation-delay: 0.3s;
}
.am-pill[data-aos][data-aos-delay="350"] {
    animation-delay: 0.35s;
}
.am-pill[data-aos][data-aos-delay="400"] {
    animation-delay: 0.4s;
}

/* ===== Location Section (scoped) ===== */
.location-section {
    --primary: var(--brand-green-dark);
    --dark: #0d1f2d;
    --card: #fff;
    --muted: #f7f8fa;
    --shadow: 0 4px 14px rgba(78, 160, 60, 0.06);
    --r-xl: 20px;
    --r-lg: 16px;
    --r-pill: 14px;
    padding: 18px 0;
}
.location-section,
.location-section * {
    box-sizing: border-box;
}

/* نفس عرض باقي السكاشن */
.location-section .location-wrap {
    max-width: 1100px; /* طابقه مع am-wrap/rsct2-wrap عندك */
    margin-inline: auto;
    padding-inline: 12px;
}

/* البطاقة */
.location-section .location-card {
    background: var(--card);
    border-radius: var(--r-xl);
    padding: 18px;
}

/* العنوان */
.location-section .location-title {
    margin: 0 0 12px;
    font:
        800 18px/1 "Cairo",
        system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        Arial,
        sans-serif;
    color: var(--dark);
    text-align: start;
}
[dir="rtl"] .location-section .location-title {
    text-align: right;
}
[dir="ltr"] .location-section .location-title {
    text-align: left;
}

/* الخريطة */
.location-section .map-wrapper {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--r-lg);
    background: linear-gradient(135deg, #e8f4ff, #e9fbf0);
    height: 350px;
}
@media (max-width: 992px) {
    .location-section .map-wrapper {
        height: 280px;
    }
}
@media (max-width: 576px) {
    .location-section .map-wrapper {
        height: 220px;
    }
}

.location-section .map-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* زر عرض الخريطة */
.location-section .full-map-btn {
    position: absolute;
    inset-inline-end: 14px;
    inset-block-end: 14px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 6px 14px color-mix(in srgb, var(--primary) 35%, transparent);
    transition:
        transform 0.15s,
        box-shadow 0.15s;
}
.location-section .full-map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--primary) 45%, transparent);
}

/* الحبوب تحت الخريطة */
.location-section .info-pills {
    display: grid;
    gap: 12px;
    margin-top: 12px;
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 992px) {
    .location-section .info-pills {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .location-section .info-pills {
        grid-template-columns: 1fr;
    }
}
.location-section .info-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: var(--r-pill);
    background: var(--muted);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) inset;
    color: #2b2f36;
    text-decoration: none;
    transition:
        transform 0.2s,
        box-shadow 0.2s,
        border-color 0.2s;
}
.location-section .info-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}
.location-section .label {
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.location-section .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9) inset;
    flex: 0 0 auto;
    opacity: 0.9;
}

/* ألوان باستيل للـ pills */
.location-section .pastel-pink {
    background: #fdeaf0;
}
.location-section .pastel-pink .dot {
    background: #ffb3c7;
}
.location-section .pastel-mint {
    background: #e9fbf0;
}
.location-section .pastel-mint .dot {
    background: var(--secondary);
}
.location-section .pastel-blue {
    background: #e8f4ff;
}
.location-section .pastel-blue .dot {
    background: var(--accent);
}

/* ===== Offer Strip ===== */
.offer-strip {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1.5px solid #dff0d8;
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 20px;
    box-shadow: 0 2px 14px rgba(78, 160, 60, 0.09);
    position: relative;
    overflow: hidden;
}

.offer-strip::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #4ea03c, #71b05e);
    border-start-start-radius: 4px;
    border-end-start-radius: 4px;
}

.offer-strip-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #4ea03c 0%, #6ab84f 100%);
    border-radius: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(78, 160, 60, 0.28);
}

.offer-strip-pct {
    font-size: 19px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.offer-strip-off {
    font-size: 9px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-strip-body {
    flex: 1;
    min-width: 0;
}

.offer-strip-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a2e1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.offer-strip-meta {
    font-size: 12px;
    color: #6b8f6b;
    font-weight: 500;
}

.offer-strip-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #4ea03c;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 9px 15px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition:
        background 0.18s,
        transform 0.14s,
        box-shadow 0.18s;
    box-shadow: 0 3px 10px rgba(78, 160, 60, 0.22);
}

.offer-strip-btn:hover {
    background: #3d8a2e;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(78, 160, 60, 0.3);
}

.offer-strip-btn:active {
    transform: translateY(0);
}

/* ===== Offer Modal ===== */
.offer-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.offer-modal.is-open {
    pointer-events: all;
    opacity: 1;
}

.offer-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.offer-modal-card {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-width: 580px;
    max-height: 88vh;
    overflow-y: auto;
    transform: translateY(64px);
    opacity: 0;
    transition:
        transform 0.36s cubic-bezier(0.34, 1.36, 0.64, 1),
        opacity 0.22s ease;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.offer-modal.is-open .offer-modal-card {
    transform: translateY(0);
    opacity: 1;
}

@media (min-width: 640px) {
    .offer-modal {
        align-items: center;
        padding: 20px;
    }

    .offer-modal-card {
        border-radius: 24px;
        max-height: 82vh;
    }
}

.offer-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 22px 16px;
    background: linear-gradient(135deg, #f5fff3 0%, #edf8ea 100%);
    border-bottom: 1px solid #e0eed9;
    border-radius: 24px 24px 0 0;
}

.offer-modal-header-main {
    display: flex;
    align-items: center;
    gap: 14px;
}

.offer-modal-disc {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #4ea03c 0%, #71b05e 100%);
    border-radius: 16px;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(78, 160, 60, 0.3);
}

.offer-modal-pct {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.offer-modal-off {
    font-size: 9px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-modal-title {
    font-size: 17px;
    font-weight: 800;
    color: #1a2e1a;
    margin: 0 0 6px 0;
}

.offer-modal-chip {
    display: inline-block;
    background: #e8f7e4;
    color: #4ea03c;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid #c5e8bc;
}

.offer-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #d8e8d4;
    background: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: #5a7a5a;
    font-size: 17px;
    flex-shrink: 0;
    transition:
        background 0.15s,
        color 0.15s,
        transform 0.2s;
}

.offer-modal-close:hover {
    background: #f44336;
    color: #fff;
    border-color: #f44336;
    transform: rotate(90deg);
}

.offer-modal-body {
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.offer-detail-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #f2f6f2;
}

.offer-detail-row:last-child {
    border-bottom: none;
}

.offer-detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 18px;
}

.offer-detail-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.offer-detail-label {
    font-size: 10px;
    font-weight: 700;
    color: #9ab09a;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.offer-detail-value {
    font-size: 14px;
    font-weight: 600;
    color: #1a2e1a;
}

.offer-modal-footer {
    padding: 14px 22px 22px;
    border-top: 1px solid #edf4ec;
}

.offer-modal-cta {
    width: 100%;
    background: linear-gradient(135deg, #4ea03c 0%, #71b05e 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition:
        opacity 0.18s,
        transform 0.14s;
    box-shadow: 0 6px 20px rgba(78, 160, 60, 0.26);
}

.offer-modal-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Offer strip responsive */
@media (max-width: 480px) {
    .offer-strip {
        padding: 11px 13px;
        gap: 11px;
    }

    .offer-strip-left {
        min-width: 48px;
        height: 48px;
    }

    .offer-strip-pct {
        font-size: 16px;
    }

    .offer-strip-title {
        font-size: 13px;
    }

    .offer-strip-btn {
        padding: 8px 11px;
        font-size: 12px;
        gap: 4px;
    }
}

@media (max-width: 360px) {
    .offer-strip-btn span,
    .offer-strip-btn {
        font-size: 11px;
        padding: 7px 9px;
    }
}

/* <!-- ===== Resort Booking Calendar (scoped) ===== --> */
.rbc-section {
    --primary: var(--brand-green-dark);
    --dark: #0d1f2d;
    --muted: #f5f7fb;
    --card: #fff;
    --border: #e9eef3;
    --shadow: 0 10px 24px rgba(78, 160, 60, 0.06);
}
.rbc-section,
.rbc-section * {
    box-sizing: border-box;
}

.container-xxl {
    margin-inline: auto;
    padding-inline: 12px;
}

/* Card */
.rbc-card {
    background: var(--card);
    border-radius: 20px;
    padding: 16px;
}

/* Tabs */
.rbc-tabs {
    display: flex;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px;
    box-shadow: var(--shadow);
    width: max-content;
    margin: 0 auto 12px;
}
.rbc-tab {
    border: 0;
    background: transparent;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 800;
    color: #3a4654;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}
.rbc-tab i {
    font-size: 16px;
}
.rbc-tab.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 35%, transparent);
}

/* Header */
.rbc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.rbc-month {
    font-weight: 900;
    color: var(--dark);
}
.rbc-nav {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 12px;
    padding: 6px 10px;
    cursor: pointer;
}
.rbc-nav:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Board: LTR Monday→Sunday */
.rbc-board {
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 10px;
    direction: ltr;
}
.rbc-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin: 6px 0 8px;
}
.rbc-week > div {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 0;
    text-align: center;
    font-weight: 800;
    color: #556070;
}
.rbc-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

/* Day cell */
.rbc-day {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    min-height: 92px;
    box-shadow: var(--shadow);
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    transition:
        0.18s transform,
        0.18s box-shadow,
        0.18s border-color,
        0.18s background-color;
}
.rbc-day:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(78, 160, 60, 0.09);
}
.rbc-day.past {
    background: #f2f4f7;
    opacity: 0.6;
    cursor: not-allowed;
}
.rbc-day.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(0.15);
}
.rbc-day.closed {
    background:
        repeating-linear-gradient(
            135deg,
            transparent,
            transparent 5px,
            rgba(192, 57, 43, 0.08) 5px,
            rgba(192, 57, 43, 0.08) 6px
        ),
        #fff1f1 !important;
    border: 1px solid #fcd5d5 !important;
    box-shadow: none !important;
    cursor: not-allowed;
    opacity: 1 !important;
    filter: none !important;
}
.rbc-day.closed .rbc-price,
.rbc-day.closed .rbc-w,
.rbc-day.closed .rbc-badge {
    display: none;
}
.rbc-day.closed .rbc-num {
    color: #c0392b;
    font-weight: bold;
}
.rbc-day.closed .rbc-lock {
    font-size: 20px;
    color: #e07070;
    opacity: 0.75;
    margin-top: 6px;
}
@media (max-width: 576px) {
    .rbc-day.closed .rbc-lock {
        font-size: 11px;
        margin-top: 0;
        position: absolute;
        top: 3px;
        right: 3px;
        opacity: 0.8;
    }
}
.rbc-day.selected {
    outline: 2px solid color-mix(in srgb, var(--primary) 65%, transparent);
    background: #eef8ff;
}
.rbc-day.in-range {
    background: #eaf4ff;
    border-color: #b9e0ff;
}

/* In-cell */
.rbc-lock {
    position: absolute;
    top: 5px;
    right: 5px;
    left: auto;
    transform: none;
    color: #c47d7d;
    font-size: 14px;
    line-height: 1;
    z-index: 5;
}
.rbc-w {
    position: absolute;
    top: 6px;
    left: 6px; /* دائماً على اليسار بغض النظر عن اللغة */
    color: #6b7786;
    font-size: 14px;
    line-height: 1;
    z-index: 5;
}
.rbc-num {
    font-weight: 900;
    color: #111;
    font-size: 16px;
    line-height: 1;
}

/* price */
.rbc-price {
    position: absolute;
    inset-inline-start: 10px;
    bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #334155;
    font-weight: 800;
    white-space: nowrap;
}
.rbc-price i {
    font-size: 16px;
    color: var(--warning);
}
.rbc-price .unit {
    font-weight: 700;
    font-size: 12px;
    color: #64748b;
}

/* In-card Summary (LTR) */
.rbc-summary {
    direction: ltr;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    margin-top: 12px;
    box-shadow: var(--shadow);
}
.rbc-summary.hidden {
    display: none;
}
.rbc-s-dates {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    color: #1f2a37;
}
.rbc-s-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.rbc-total {
    font-weight: 800;
    color: #0d1f2d;
}
.rbc-btns {
    display: flex;
    gap: 8px;
}
.rbc-clear {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px 12px;
    font-weight: 800;
    display: flex;
    gap: 6px;
    align-items: center;
}
.rbc-book {
    background: var(--primary);
    color: #fff;
    border: 0;
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 35%, transparent);
    font-weight: 900;
    display: flex;
    gap: 6px;
    align-items: center;
}

/* ===== Sticky booking bar ===== */
.rbc-stick {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 999;
    background: #fff;
    border-top: 1px solid #e9eef3;
    box-shadow: 0 -10px 24px rgba(78, 160, 60, 0.06);
    padding: 10px 12px;
}
.rbc-stick.hidden {
    display: none;
}
.rbc-stick-inner {
    max-width: 1100px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.rbc-chip {
    background: #eaf6ff;
    color: var(--primary);
    border: 1px solid #d3ebff;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 12.5px;
}
.rbc-date {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f7f9fc;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 8px 10px;
}
.rbc-date i {
    color: var(--accent);
    font-size: 18px;
}
.rbc-date-col {
    display: grid;
    line-height: 1.1;
}
.rbc-date-label {
    font-size: 11px;
    color: #6b7280;
    font-weight: 700;
}
.rbc-date-val {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
}
.rbc-stick-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    padding: 8px 10px;
    border-radius: 12px;
}
.rbc-stick-total {
    font-size: 18px;
    font-weight: 900;
    color: #0f172a;
}
.rbc-stick-currency {
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
}
.rbc-stick-actions {
    display: flex;
    gap: 8px;
}
.rbc-stick-clear {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 800;
}
.rbc-stick-clear:hover {
    background: #f8fafc;
}
.rbc-stick-book {
    background: var(--warning);
    color: #fff;
    border: 0;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(249, 162, 60, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}
.rbc-stick-book:hover {
    filter: brightness(0.98);
    transform: translateY(-1px);
}

/* ===== Hide sticky on tablet & desktop ===== */
@media (min-width: 577px) {
    .rbc-stick {
        display: none !important;
    }
}

/* ===== Responsive Calendar — Tablet + Mobile ===== */

/* Tablet / iPad / Z Fold Unfolded (577px – 992px) */
@media (max-width: 992px) {
    .rbc-card {
        padding: 12px;
    }
    .rbc-board {
        padding: 8px;
        overflow-x: hidden;
    }
    .rbc-week,
    .rbc-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 5px;
    }
    .rbc-day {
        min-height: 72px;
        padding: 6px 4px;
        border-radius: 10px;
    }
    .rbc-w {
        font-size: 11px;
        top: 4px;
        left: 4px;
    }
    .rbc-lock {
        font-size: 13px;
        top: 4px;
        right: 4px;
    }
    .rbc-num {
        font-size: 14px;
    }
    .rbc-price {
        font-size: 9.5px;
        bottom: 4px;
        inset-inline-start: 4px;
        gap: 3px;
    }
    .rbc-price i {
        font-size: 11px;
    }
    .rbc-price .unit {
        font-size: 9px;
    }
    .rbc-week > div {
        font-size: 11px;
        padding: 6px 0;
        border-radius: 8px;
    }
    .rbc-tab {
        padding: 8px 12px;
        font-size: 13px;
    }
    .rbc-month {
        font-size: 15px;
    }
}

/* Large phone / Z Fold open (≤ 768px) */
@media (max-width: 768px) {
    .rbc-board {
        padding: 6px;
    }
    .rbc-week,
    .rbc-grid {
        gap: 4px;
    }
    .rbc-day {
        min-height: 64px;
        padding: 5px 3px;
        border-radius: 8px;
    }
    .rbc-w {
        font-size: 10px;
        top: 4px;
        left: 4px;
    }
    .rbc-lock {
        font-size: 12px;
    }
    .rbc-num {
        font-size: 13px;
    }
    .rbc-price {
        font-size: 8.5px;
        bottom: 4px;
        inset-inline-start: 0;
        left: 0;
        right: 0;
        justify-content: center;
        gap: 2px;
    }
    .rbc-price i {
        display: none;
    }
    .rbc-price .unit {
        font-size: 8px;
    }
    .rbc-week > div {
        font-size: 10px;
        padding: 5px 0;
    }
    .rbc-month {
        font-size: 14px;
    }
}

/* Phone (≤ 576px) */
@media (max-width: 576px) {
    .rbc-card {
        padding: 10px 7px;
    }
    .rbc-board {
        padding: 5px;
        overflow-x: hidden;
    }
    .rbc-week,
    .rbc-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 3px;
    }
    .rbc-day {
        min-height: 56px;
        padding: 4px 2px;
        border-radius: 7px;
    }
    .rbc-w {
        font-size: 9px;
        top: 3px;
        left: 3px;
    }
    .rbc-lock {
        font-size: 11px;
        top: 3px;
        right: 3px;
    }
    .rbc-num {
        font-size: 12px;
    }
    .rbc-price {
        font-size: 8px;
        bottom: 3px;
        inset-inline-start: 0;
        left: 0;
        right: 0;
        justify-content: center;
        gap: 1px;
    }
    .rbc-price i {
        display: none !important;
    }
    .rbc-price .unit {
        font-size: 8px;
    }
    .rbc-week > div {
        font-size: 9px;
        padding: 5px 0;
        border-radius: 6px;
    }
    .rbc-tabs {
        width: 100%;
        justify-content: center;
    }
    .rbc-tab {
        padding: 7px 10px;
        font-size: 12px;
        gap: 5px;
    }
    .rbc-tab i {
        font-size: 14px;
    }
    .rbc-month {
        font-size: 13px;
    }
    .rbc-nav {
        padding: 5px 8px;
    }
    #rbcSummary {
        display: none !important;
    }

    /* Sticky bar layout */
    .rbc-stick-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "type type"
            "in   out"
            "nights total"
            "actions actions";
        align-items: center;
        gap: 8px;
        padding-bottom: env(safe-area-inset-bottom);
    }
    .rbc-chip {
        grid-area: type;
        justify-self: start;
    }
    .rbc-stick-in {
        grid-area: in;
    }
    .rbc-stick-out {
        grid-area: out;
    }
    .rbc-stick-nights {
        grid-area: nights;
    }
    .rbc-stick-price {
        grid-area: total;
        justify-self: end;
    }
    .rbc-stick-actions {
        grid-area: actions;
        justify-self: stretch;
    }
    .rbc-stick-actions > * {
        flex: 1;
    }
    .rbc-date {
        padding: 6px 8px;
    }
    .rbc-date-label {
        font-size: 10px;
    }
    .rbc-date-val {
        font-size: 12px;
    }
    .rbc-stick-total {
        font-size: 16px;
    }
    .rbc-stick-book {
        padding: 9px 12px;
    }
}

/* Very small phones (≤ 380px) */
@media (max-width: 380px) {
    .rbc-board {
        padding: 3px;
    }
    .rbc-week,
    .rbc-grid {
        gap: 2px;
    }
    .rbc-day {
        min-height: 48px;
        padding: 3px 1px;
        border-radius: 6px;
    }
    .rbc-w {
        font-size: 8px;
        top: 2px;
        left: 2px;
    }
    .rbc-lock {
        font-size: 10px;
        top: 2px;
        right: 2px;
    }
    .rbc-num {
        font-size: 11px;
    }
    .rbc-price {
        font-size: 7px;
        bottom: 2px;
        inset-inline-start: 0;
        left: 0;
        right: 0;
        justify-content: center;
    }
    .rbc-price .unit {
        font-size: 7px;
    }
    .rbc-week > div {
        font-size: 8px;
        padding: 4px 0;
    }
    .rbc-tab {
        padding: 6px 8px;
        font-size: 11px;
    }
    .rbc-month {
        font-size: 12px;
    }
}

/* video */
.plyr-section {
    padding: 28px 0;
}
.plyr-card {
    background: #fff;
    border-radius: 0;
    padding: 16px;
}
.plyr-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
}
.plyr-title .ti {
    font-size: 22px;
    color: #0d1f2d;
}
.plyr-heading {
    margin: 0;
    font-weight: 900;
    font-size: 18px;
    color: #0d1f2d;
}

/* نسبة الأبعاد للفيديو */
.plyr__video-embed {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: #000;
}
.plyr__video-embed::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}
.plyr__video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.plyr-card video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    display: block;
    border-radius: 0;
}
@media (max-width: 576px) {
    .plyr__video-embed::before {
        padding-top: 60%;
    }

    /* ====== Theme (scoped) ====== */
}
.rv-section {
    padding: 40px 0 56px;
    background: #f7f9fb;
}

.container-xxl {
    max-width: 1320px;
}

/* Override root (align to brand) */
:root {
    --primary: var(--brand-green-dark);
    --dark: #0d1f2d;
    --muted: #6c757d;
    --card: #fff;
    --bar: #e9eef3;
    --star: var(--warning);
    --shadow: 0 8px 30px rgba(78, 160, 60, 0.08);
    --r: 16px;
}

/* ====== Card ====== */
.rv-card {
    background: var(--card);
    border-radius: var(--r);
    padding: 22px;
}

.rv-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.rv-title {
    margin: 0;
    font-weight: 800;
    color: var(--dark);
}
.rv-count {
    color: var(--muted);
    font-weight: 600;
}

.rv-wrap {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: start;
    margin-top: 8px;
}

/* ====== Bars ====== */
.rv-bars .bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}
.rv-bars .bar-label {
    width: 40px;
    text-align: right;
    color: #444;
    font-weight: 700;
}
.rv-bars .bar-track {
    flex: 1;
    height: 10px;
    background: var(--bar);
    border-radius: 999px;
    overflow: hidden;
}
.rv-bars .bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(
        90deg,
        var(--primary),
        color-mix(in srgb, var(--primary) 35%, var(--secondary))
    );
    border-radius: 999px;
    transition: width 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.rv-bars .bar-pct {
    width: 44px;
    text-align: left;
    color: #333;
    font-weight: 700;
}
.rv-bars .pct {
    display: inline-block;
    min-width: 16px;
}

/* ====== Score box ====== */
.rv-score {
    background: linear-gradient(180deg, #ffffff, #f5fbff 60%, #ecf6ff);
    border: 1px solid #e6f1fb;
    border-radius: 16px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.rv-score::after {
    content: "";
    position: absolute;
    right: -32px;
    top: -32px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(
        closest-side,
        color-mix(in srgb, var(--primary) 16%, transparent),
        transparent 70%
    );
    animation: rv-pulse 4s infinite;
}
@keyframes rv-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

.rv-score-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}
.rv-score .avg {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    color: var(--dark);
}
.rv-score .stars {
    color: var(--star);
    letter-spacing: 2px;
}
.rv-score .note {
    color: var(--primary);
    font-weight: 800;
}
.rv-score .sub {
    color: var(--muted);
    font-size: 14px;
}

/* ====== Review item ====== */
.rv-list {
    margin-top: 14px;
}
.review {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
    transition: transform 0.25s ease;
}
.review:hover {
    transform: translateY(-2px);
}
.rv-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.rv-user {
    display: flex;
    align-items: center;
    gap: 12px;
}
.avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--warning), var(--primary));
}
.name {
    margin: 0;
    font-weight: 800;
    color: var(--dark);
}
.rv-sub {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}
.rv-stars {
    color: var(--star);
    letter-spacing: 1px;
    font-size: 14px;
}
.badge-info {
    background: #eef5ff;
    color: #1f2b3a;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 12px;
}
.rv-title-line {
    margin: 8px 0 6px;
    font-weight: 800;
}
.rv-text {
    margin: 0;
    color: #333;
}
.rv-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
}
.btn-helpful {
    border: 1px solid #e3ecf5;
    background: var(--off-white);
    color: var(--warning);
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 800;
    cursor: pointer;
}
.btn-helpful.active {
    background: var(--warning);
    border-color: var(--warning);
    color: #fff;
}
.rv-meta {
    color: var(--muted);
    font-size: 12px;
}

/* ====== Footer ====== */
.rv-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}
.rv-btn-primary {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 800;
    cursor: pointer;
}
.rv-pager {
    display: flex;
    gap: 8px;
}
.page {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid #e6edf3;
    background: #fff;
    font-weight: 700;
    cursor: pointer;
}
.page.active {
    background: var(--sand);
    border-color: #e3c77e;
    color: #4d3a00;
}

/* بديل أصفر ذهبي */
.rv-bars .bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--warning), #ffd65a);
    border-radius: 999px;
    transition: width 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.rv-stars,
.rv-score .stars {
    color: var(--warning);
}

/* ====== Responsive ====== */
@media (max-width: 992px) {
    .rv-wrap {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .rv-score-inner {
        align-items: flex-start;
        text-align: left;
    }
}

/* leave your review */
.leave-review {
    background: var(--bg);
    padding: 0px 0 56px;
    --bg: #f7f9fb;
    --line: #e9eef3;
    --card: #fff;
    --shadow: 0 10px 30px rgba(78, 160, 60, 0.08);
    --r: 16px;
    --star: var(--warning);
}
.lr-card {
    background: var(--card);
    border-radius: var(--r);
    padding: 22px;
    position: relative;
    overflow: hidden;
}
.lr-card::after {
    content: "";
    position: absolute;
    right: -46px;
    top: -46px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(
        closest-side,
        color-mix(in srgb, var(--primary) 12%, transparent),
        transparent 70%
    );
    pointer-events: none;
}
.lr-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}
.lr-title {
    margin: 0;
    color: var(--dark);
    font-weight: 800;
}
.lr-sub {
    margin: 4px 0 0;
    color: var(--muted);
}
.lr-badge {
    background: #fff7e0;
    color: #7a5a00;
    border: 1px solid #ffe19a;
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* ===== Rating (pure CSS) ===== */
.lr-rating {
    border: 1px dashed var(--line);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px;
}
.lr-legend {
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}
.lr-hint {
    color: var(--muted);
}

.stars-wrap {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 6px;
    align-items: center;
    user-select: none;
}
.stars-wrap input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    clip-path: inset(50%);
    border: 0;
    padding: 0;
    margin: -1px;
}
.stars-wrap label {
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #c9cdd3;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    transition:
        transform 0.15s ease,
        color 0.15s ease;
}
.stars-wrap label:hover,
.stars-wrap label:focus {
    transform: translateY(-1px);
}

/* Fill left of selected */
.stars-wrap input:checked ~ label,
.stars-wrap label:hover,
.stars-wrap label:hover ~ label {
    color: var(--star);
    text-shadow: 0 2px 8px rgba(249, 162, 60, 0.25);
}

/* ===== Form ===== */
.lr-form .lr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.lr-form .lr-full {
    grid-column: 1/-1;
}
.lr-field label {
    display: block;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}
.lr-field input[type="text"],
.lr-field input[type="email"],
.lr-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: #222;
    outline: none;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}
.lr-field input:focus,
.lr-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}
.lr-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}
.muted {
    color: var(--muted);
    font-size: 13px;
}

/* ===== Actions ===== */
.lr-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
.lr-btn {
    border: none;
    cursor: pointer;
    padding: 11px 16px;
    border-radius: 12px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(
        90deg,
        var(--primary),
        color-mix(in srgb, var(--primary) 35%, var(--secondary))
    );
    box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 35%, transparent);
}
.lr-btn.ghost {
    background: #fff;
    color: var(--dark);
    border: 1px solid var(--line);
    box-shadow: none;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .lr-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .lr-badge {
        align-self: flex-start;
    }
    .lr-form .lr-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Similar (rsx-similar) ===== */
.rsx-similar {
    background: #f7f9fb;
    padding: 34px 0;
}
.rsx-similar .rsx-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.rsx-similar .rsx-title {
    margin: 0;
    font-weight: 800;
    color: #0d1f2d;
}

/* Prevent global CSS from overriding Swiper */
.rsx-similar .rsx-swiper {
    overflow: hidden;
}
.rsx-similar .rsx-swiper .swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
}

/* Desktop 3 / Tablet 2 / Mobile 1 */
@media (min-width: 992px) {
    .rsx-similar .rsx-swiper .swiper-slide {
        flex: 0 0 calc((100% - 32px) / 3) !important;
        width: auto !important;
        height: auto;
        box-sizing: border-box;
    }
}
@media (min-width: 576px) and (max-width: 991.98px) {
    .rsx-similar .rsx-swiper .swiper-slide {
        flex: 0 0 calc((100% - 16px) / 2) !important;
        width: auto !important;
        height: auto;
    }
}
@media (max-width: 575.98px) {
    .rsx-similar .rsx-swiper .swiper-slide {
        flex: 0 0 100% !important;
        width: 100% !important;
        height: auto;
    }
}

/* Nav */
.rsx-similar .rsx-actions {
    display: flex;
    gap: 8px;
}
.rsx-similar .swiper-button-prev:after,
.rsx-similar .swiper-button-next:after {
    font-size: 16px;
    color: #0d1f2d;
    visibility: hidden;
}

/* Card */
.rsx-similar .rsx-card {
    background: #fff;
    border: 1px solid #e9eef3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(78, 160, 60, 0.08);
}
.rsx-similar .rsx-media {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #eef3f7;
}
.rsx-similar .rsx-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}
.rsx-similar .rsx-card:hover .rsx-media img {
    transform: scale(1.06);
}
.rsx-similar .rsx-badge-featured,
.rsx-similar .rsx-discount {
    position: absolute;
    top: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    z-index: 2;
}
.rsx-similar .rsx-badge-featured {
    left: 10px;
    background: #e0f7ff;
    color: var(--primary);
}
.rsx-similar .rsx-discount {
    right: 10px;
    background: #fff5d8;
    color: #7a5a00;
}
.rsx-similar .rsx-body {
    padding: 12px 14px;
}
.rsx-similar .rsx-name {
    margin: 0 0 6px;
    font-weight: 800;
    color: #18222e;
}
.rsx-similar .rsx-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    margin: 2px 0 8px;
}
.rsx-similar .rsx-stars {
    color: var(--warning);
}
.rsx-similar .rsx-muted,
.rsx-similar .rsx-address {
    color: #6c757d;
}
.rsx-similar .rsx-address {
    font-size: 14px;
    margin-bottom: 8px;
}
.rsx-similar .rsx-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}
.rsx-similar .rsx-stats li {
    background: #f5f8fb;
    border: 1px solid #ecf1f6;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 13px;
    font-weight: 600;
    color: #22313f;
}
.rsx-similar .rsx-price {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}
.rsx-similar .rsx-price .now {
    color: #0d1f2d;
    font-size: 16px;
}
.rsx-similar .rsx-price .old {
    color: #9aa7b5;
    text-decoration: line-through;
    font-size: 14px;
}

/* RTL Calendar */
.rbc-rtl .rbc-week,
.rbc-rtl .rbc-grid {
    direction: rtl;
}

.rbc-rtl .rbc-header {
    flex-direction: row-reverse;
}

.rbc-rtl .rbc-prev i {
    transform: rotate(180deg);
}

.rbc-rtl .rbc-next i {
    transform: rotate(180deg);
}

/* LTR Calendar (default) */
.rbc-ltr .rbc-week,
.rbc-ltr .rbc-grid {
    direction: ltr;
}

.rbc-day.no-price {
    opacity: 0.4;
    cursor: not-allowed !important;
}

.rbc-day.no-price .rbc-price {
    display: none;
}

.rbc-day.no-price .rbc-num {
    color: #999;
}

.rbc-day.no-price::after {
    content: "✕";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ff6b6b;
    font-size: 20px;
    font-weight: bold;
    opacity: 0.7;
}

/* ===== Offer Alert (Animated Notification) ===== */
.rbc-offer-alert {
    margin-top: 16px;
    background: linear-gradient(135deg, #eef9ff 0%, #e0f4ff 100%);
    border: 2px solid #55a6aa;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(85, 166, 170, 0.15);
    animation: slideInUp 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.rbc-offer-alert.hidden {
    display: none;
}

.rbc-offer-alert::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 2s infinite;
}

.rbc-offer-alert-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.rbc-offer-alert-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #4ea03c, #71b05e);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 22px;
    animation: pulse 2s infinite;
}

.rbc-offer-alert-text {
    flex: 1;
}

.rbc-offer-alert-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #0d1f2d;
    margin-bottom: 4px;
}

.rbc-offer-alert-message {
    margin: 0;
    font-size: 14px;
    color: #404a56;
    line-height: 1.6;
}

/* ===== Premium Badges في التقويم ===== */

/* بادج الخصم - أعلى اليمين تماماً (الأولوية الأولى) */
.rbc-badge.discount {
    background: linear-gradient(135deg, #4ea03c 0%, #71b05e 100%);
    color: #fff;
    font-weight: 700;
    font-size: 10px;
    padding: 3px 7px;
    border-radius: 5px;
    position: absolute;
    top: 5px;
    right: 4px; /* دائماً يمين */
    box-shadow: 0 3px 10px rgba(78, 160, 60, 0.4);
    animation: badgePulse 2s infinite;
    z-index: 11; /* أعلى من الأوفر */
    white-space: nowrap;
    max-width: calc(55% - 8px);
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

/* بادج الأوفر - تحت الخصم على اليمين مباشرة */
.rbc-badge.offer {
    background: linear-gradient(135deg, #f9a23c 0%, #ff8c42 100%);
    color: #fff;
    font-weight: 700;
    font-size: 9px;
    padding: 3px 6px;
    border-radius: 5px;
    position: absolute;
    top: 5px; /* قريب من بادج الخصم */
    right: 4px; /* دائماً يمين */
    box-shadow: 0 3px 10px rgba(249, 162, 60, 0.4);
    animation: badgePulse 2s infinite 0.5s;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    white-space: nowrap;
    max-width: calc(55% - 8px);
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.rbc-badge.offer::before {
    content: "★";
    margin-right: 2px;
    font-size: 8px;
    animation: rotateStar 3s linear infinite;
    display: inline-block;
}

/* Enhanced day with offer styling */
.rbc-day.has-offer {
    border-color: #f9a23c;
    background: linear-gradient(135deg, #fff9f0 0%, #fff 100%);
}

.rbc-day.has-offer.selected {
    border-color: #f9a23c;
    background: linear-gradient(135deg, #fef3e8 0%, #ffe8cc 100%);
}

/* تأكد من أن اليوم في التقويم يحتوي البادجات بشكل صحيح */
.rbc-day {
    position: relative;
    /* حتى تكون البادجات absolute بداخله */
}

/* ===== Animations ===== */
@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes badgePulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(249, 162, 60, 0.4);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 6px 18px rgba(249, 162, 60, 0.6);
    }
}

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

/* RTL Support - البادجات تبقى في اليمين دائماً */
/* تم إلغاء تغيير موقع البادجات في RTL */
[dir="rtl"] .rbc-offer-alert-icon {
    margin-left: 0;
    margin-right: 0;
}

/* ===== Badges Responsive ===== */

/* Tablet / iPad (≤ 992px) */
@media (max-width: 992px) {
    .rbc-badge.discount {
        font-size: 9px;
        padding: 2px 5px;
        top: 3px;
        right: 3px;
        max-width: 72%;
        border-radius: 4px;
    }
    .rbc-badge.offer {
        font-size: 8px;
        padding: 2px 5px;
        top: 3px;
        right: 3px;
        max-width: 72%;
        border-radius: 4px;
    }
    .rbc-badge.offer::before {
        font-size: 7px;
    }
}

/* Large phone / Z Fold (≤ 768px) */
@media (max-width: 768px) {
    .rbc-offer-alert {
        padding: 14px 16px;
    }
    .rbc-offer-alert-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    .rbc-offer-alert-title {
        font-size: 14px;
    }
    .rbc-offer-alert-message {
        font-size: 13px;
    }

    .rbc-badge.discount {
        font-size: 8px;
        padding: 2px 4px;
        top: 3px;
        right: 2px;
        max-width: 80%;
        border-radius: 4px;
    }
    .rbc-badge.offer {
        font-size: 7px;
        padding: 2px 4px;
        top: 3px;
        right: 2px;
        max-width: 80%;
        border-radius: 4px;
    }
    .rbc-badge.offer::before {
        font-size: 6px;
        margin-right: 1px;
    }
}

/* Phone (≤ 576px) */
@media (max-width: 576px) {
    .rbc-badge.discount {
        font-size: 7px;
        padding: 1px 3px;
        top: 2px;
        right: 2px;
        max-width: 88%;
        border-radius: 3px;
        letter-spacing: 0;
    }
    .rbc-badge.offer {
        font-size: 7px;
        padding: 1px 3px;
        top: 2px;
        right: 2px;
        max-width: 88%;
        border-radius: 3px;
        letter-spacing: 0;
        text-transform: none;
    }
    .rbc-badge.offer::before {
        display: none;
    }
}

/* Very small phones (≤ 380px) */
@media (max-width: 380px) {
    .rbc-badge.discount,
    .rbc-badge.offer {
        font-size: 6px;
        padding: 1px 2px;
        top: 2px;
        right: 1px;
        max-width: 90%;
        border-radius: 2px;
    }
}

/* ===== Luxury Amenities Design ===== */
.rb-amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.rb-amenity-card {
    background: #f9f8f3;
    border-radius: 14px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.rb-amenity-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(78, 160, 60, 0.05) 0%,
        rgba(85, 166, 170, 0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.rb-amenity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(78, 160, 60, 0.15);
    border-color: #4ea03c;
}

.rb-amenity-card:hover::before {
    opacity: 1;
}

.rb-amenity-icon-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.rb-amenity-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 4px 16px rgba(78, 160, 60, 0.25);
    transition: all 0.3s ease;
    position: relative;
}

.rb-amenity-icon i {
    position: relative;
    z-index: 2;
}

.rb-amenity-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    /* filter: brightness(0) invert(1); */
    position: relative;
    z-index: 2;
}

.rb-amenity-card:hover .rb-amenity-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(78, 160, 60, 0.35);
}

.rb-amenity-name {
    font-size: 14px;
    font-weight: 700;
    color: #1f2a37;
    text-align: center;
    line-height: 1.4;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tablet - 3 columns minimum */
@media (max-width: 991px) and (min-width: 577px) {
    .rb-amenities-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 16px;
    }

    .rb-amenity-card {
        padding: 18px 14px;
    }

    .rb-amenity-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .rb-amenity-icon img {
        width: 32px;
        height: 32px;
    }

    .rb-amenity-name {
        font-size: 13px;
        min-height: 36px;
    }
}

/* Mobile - 2 columns */
@media (max-width: 576px) {
    .rb-amenities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        margin-top: 18px;
    }

    .rb-amenity-card {
        padding: 16px 12px;
    }

    .rb-amenity-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .rb-amenity-icon img {
        width: 28px;
        height: 28px;
    }

    .rb-amenity-name {
        font-size: 12.5px;
        min-height: 34px;
        font-weight: 700;
    }
}
