/* TRFIHI Destinations detail page — scoped to .trfihi-destination-page only
 * Visual target: Figma Park Details 750:10560 / 751:* + owner screenshots
 */

.trfihi-destination-page {
    --dest-bg: #fdfbf8;
    --dest-surface: #faf6f2;
    --dest-text: #2a211c;
    --dest-text-secondary: #6b5b52;
    --dest-heading: #a65b3b;
    --dest-accent: #a65b3b;
    --dest-button-bg: #a65b3b;
    --dest-button-text: #ffffff;
    --dest-button-outline: #a65b3b;
    --dest-card-bg: #ffffff;
    --dest-card-border: #eadfd6;
    --dest-divider: #e0d5cc;
    --dest-link: #a65b3b;
    --dest-star: #d58f19;
    --dest-header-bg: #ffffff;
    --dest-footer-bg: #04402b;
    --dest-footer-text: #fdfdff;
    --dest-radius-lg: 16px;
    --dest-radius-md: 12px;
    --dest-radius-sm: 10px;
    --dest-shadow: 0 6px 18px rgba(3, 36, 30, 0.08);
    background: var(--dest-bg);
    color: var(--dest-text);
    min-height: 50vh;
    font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", Tahoma, sans-serif;
    transition: background-color .25s ease, color .25s ease;
    padding-bottom: 0;
}

.trfihi-destination-page.is-dark { color-scheme: dark; }
.trfihi-destination-page a { color: var(--dest-link); }

.trfihi-destination-page .dest-container,
.trfihi-destinations-index .dest-container {
    width: min(1140px, 92vw);
    margin: 0 auto;
    padding-bottom: 8px;
}

.dest-preview-banner {
    background: #fbce01;
    color: #012016;
    text-align: center;
    padding: 8px 12px;
    font-weight: 700;
}

.dest-hero__copy-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.dest-hero__copy-top .dest-breadcrumbs { margin: 0; }

.dest-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--dest-text-secondary);
    font-size: 13px;
    font-weight: 500;
}
.dest-breadcrumbs a { text-decoration: none; color: inherit; }
.dest-breadcrumbs a:hover { color: var(--dest-accent); }
.dest-breadcrumbs__sep {
    color: var(--dest-text-secondary);
    opacity: .65;
    font-size: 12px;
    user-select: none;
}
.dest-breadcrumbs__current { color: var(--dest-text-secondary); }

.dest-hero__copy-top .dest-mode-toggle {
    flex-shrink: 0;
    opacity: .85;
}
.dest-mode-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--dest-card-border);
    background: var(--dest-card-bg);
    border-radius: 999px;
    padding: 4px;
    box-shadow: none;
}
.dest-mode-toggle button {
    border: 0;
    background: transparent;
    color: var(--dest-text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    cursor: pointer;
    line-height: 1;
}
.dest-mode-toggle button.is-active {
    background: var(--dest-button-bg);
    color: var(--dest-button-text);
}

[data-destination-page][data-mode-policy="light_only"] .dest-mode-toggle,
[data-destination-page][data-mode-policy="dark_only"] .dest-mode-toggle {
    display: none !important;
}

/* ===== HERO — Figma: portrait LEFT, info RIGHT (even in RTL) ===== */
.dest-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "media copy";
    gap: 40px;
    padding: 12px 0 44px;
    align-items: stretch;
}
.dest-hero__media { grid-area: media; }
.dest-hero__copy { grid-area: copy; }
[dir="rtl"] .dest-hero,
html[dir="rtl"] .dest-hero,
body.rtl .dest-hero {
    /* Keep physical left = media, physical right = copy */
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
    grid-template-areas: "media copy";
    direction: ltr; /* lock column geometry */
}
[dir="rtl"] .dest-hero__copy,
html[dir="rtl"] .dest-hero__copy,
body.rtl .dest-hero__copy {
    direction: rtl; /* restore Arabic text direction inside copy */
}

.dest-hero__media {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    max-height: 580px;
    min-height: 360px;
    background: var(--dest-surface);
    box-shadow: none;
}
.dest-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dest-hero__title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 16px;
}
.dest-hero__logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 0;
    background: #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(42, 33, 28, .08);
}
.dest-hero h1 {
    margin: 0;
    color: var(--dest-heading);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.3;
    font-weight: 700;
    flex: 0 1 auto;
}
.dest-hero__verified {
    color: #1877f2;
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
}

.dest-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    color: var(--dest-text-secondary);
    font-size: 15px;
    margin-bottom: 12px;
}
.dest-meta__item i { color: var(--dest-accent); margin-inline-end: 6px; }
.dest-meta__sep {
    width: 1px;
    height: 14px;
    background: var(--dest-divider);
    display: inline-block;
}

.dest-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--dest-heading);
    font-weight: 600;
}
.dest-rating__value { font-size: 1.05rem; }
.dest-rating__stars {
    color: var(--dest-star);
    letter-spacing: 1px;
    font-size: 14px;
}
.dest-rating__count {
    color: var(--dest-text-secondary);
    font-weight: 500;
}

.dest-activities-block { margin-bottom: 20px; }
.dest-activities__title {
    margin: 0 0 12px;
    color: var(--dest-heading);
    font-size: 1.05rem;
    font-weight: 700;
}
.dest-activities {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--dest-card-border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--dest-card-bg);
}
.dest-activity {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 96px;
    padding: 14px 8px;
    text-align: center;
    border: 0;
    border-inline-start: 1px solid var(--dest-divider);
    border-radius: 0;
    background: transparent;
}
.dest-activity:first-child { border-inline-start: 0; }
.dest-activity__icon {
    color: var(--dest-accent);
    font-size: 24px;
    line-height: 1;
}
.dest-activity__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dest-text-secondary);
    line-height: 1.35;
}

.dest-booking {
    background: var(--dest-card-bg);
    border: 1px solid var(--dest-card-border);
    border-radius: 14px;
    padding: 20px 18px 18px;
    box-shadow: 0 8px 24px rgba(42, 33, 28, .06);
    margin-top: 4px;
}
.dest-booking__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--dest-heading);
}
.dest-booking__head i { font-size: 20px; }
.dest-booking h3 {
    margin: 0;
    color: var(--dest-heading);
    font-size: 1.2rem;
    font-weight: 700;
}
.dest-booking .price,
.dest-booking__price-line {
    color: var(--dest-text-secondary);
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 500;
}
.dest-booking__price-prefix { margin-inline-end: 4px; }
.dest-booking__price-amount {
    color: var(--dest-heading);
    font-weight: 700;
    font-size: 1.05rem;
}
.dest-booking .dest-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.dest-booking .dest-actions .dest-btn {
    flex: 1 1 calc(50% - 6px);
    min-width: 140px;
}

.dest-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--dest-radius-sm);
    padding: 11px 18px;
    min-height: 44px;
    min-width: 132px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    border: 1px solid transparent;
    cursor: pointer;
    transition: opacity .15s ease, transform .15s ease;
}
.dest-btn:hover { opacity: .92; }
.dest-btn:active { transform: translateY(1px); }
.dest-btn--primary {
    background: var(--dest-button-bg);
    color: var(--dest-button-text) !important;
    border-color: transparent;
    box-shadow: var(--dest-shadow);
}
.dest-btn--outline {
    background: #ffffff;
    color: var(--dest-button-outline) !important;
    border-color: var(--dest-divider);
    box-shadow: none;
}
.dest-btn--sm {
    min-width: 0;
    min-height: 38px;
    padding: 8px 14px;
    font-size: 13px;
}

.dest-section { padding: 36px 0; }
.dest-section h2 {
    color: var(--dest-heading);
    margin: 0 0 18px;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 700;
}
.dest-section__action {
    text-align: center;
    margin-top: 22px;
}

/* ===== ABOUT BANNER ===== */
.dest-about {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 320px;
    background: #111;
    box-shadow: var(--dest-shadow);
    touch-action: pan-y;
    user-select: none;
}
.dest-about__description {
    margin-top: 16px;
    color: var(--dest-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    white-space: pre-wrap;
}
.dest-about__track { position: relative; width: 100%; min-height: 280px; }
.dest-about__slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s ease;
}
.dest-about__slide.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}
.dest-about__slide img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    max-height: 360px;
    object-fit: cover;
    display: block;
}
.dest-about__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 40px clamp(24px, 5vw, 56px);
    pointer-events: none;
    direction: rtl;
    unicode-bidi: isolate;
    background: linear-gradient(
        to inline-start,
        rgba(0, 0, 0, .68) 0%,
        rgba(0, 0, 0, .32) 40%,
        transparent 72%
    );
    color: #fff;
}
[dir="ltr"] .dest-about__overlay,
html[dir="ltr"] .dest-about__overlay,
body.ltr .dest-about__overlay {
    direction: ltr;
}
.dest-about__overlay-inner {
    max-width: min(520px, 78%);
    text-align: start;
    direction: inherit;
}
.dest-about__overlay strong {
    display: block;
    font-size: clamp(1.55rem, 3.4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.4;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .45);
}
.dest-about__overlay p {
    margin: 14px 0 0;
    opacity: .95;
    line-height: 1.75;
    font-size: clamp(1rem, 1.85vw, 1.2rem);
    font-weight: 500;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .4);
    unicode-bidi: plaintext;
}
.dest-about__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.88);
    color: #012016;
    font-size: 22px;
    cursor: pointer;
    box-shadow: var(--dest-shadow);
}
.dest-about__nav--prev { inset-inline-start: 14px; }
.dest-about__nav--next { inset-inline-end: 14px; }
.dest-about__dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}
.dest-about__dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255,255,255,.45);
    cursor: pointer;
}
.dest-about__dots button.is-active {
    background: #fff;
    transform: scale(1.2);
}

/* ===== FACILITIES — horizontal strip (owner reference / garden detail) ===== */
.dest-section--facilities h2 {
    font-family: "Amiri", "IBM Plex Sans Arabic", Georgia, serif;
    font-weight: 700;
    color: #688146;
    margin-bottom: 20px;
}
.dest-facilities {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    direction: rtl;
    border: 1px solid var(--dest-card-border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--dest-card-bg);
    box-shadow: 0 6px 18px rgba(42, 33, 28, 0.06);
}
[dir="ltr"] .dest-facilities,
body.ltr .dest-facilities {
    direction: ltr;
}
.dest-facility {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 108px;
    padding: 22px 10px 20px;
    text-align: center;
    background: var(--dest-card-bg);
    border: 0;
    border-inline-start: 1px solid var(--dest-divider);
}
.dest-facility:first-child {
    border-inline-start: 0;
}
.dest-facility__check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #688146;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.dest-facility__check i {
    font-size: 11px;
}
.dest-facility__label {
    color: var(--dest-text-secondary);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
}

/* ===== INSTRUCTIONS — Figma two columns (RTL) ===== */
.dest-section--instructions h2 {
    font-family: "Amiri", "IBM Plex Sans Arabic", Georgia, serif;
    font-weight: 700;
    color: #688146;
    margin-bottom: 22px;
}
.dest-instructions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px clamp(40px, 8vw, 88px);
    color: #3d342f;
    font-size: clamp(1.02rem, 1.65vw, 1.12rem);
    line-height: 1.85;
    font-weight: 500;
    list-style: none;
    padding: 0;
    margin: 0;
    direction: rtl;
    text-align: start;
}
[dir="ltr"] .dest-instructions,
html[dir="ltr"] .dest-instructions,
body.ltr .dest-instructions {
    direction: ltr;
}
.dest-instructions li {
    position: relative;
    padding-inline-start: 1.15rem;
    margin: 0;
}
.dest-instructions li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: .72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9a8f88;
    opacity: .85;
}

/* ===== EVENTS — vertical catalog card (Figma) ===== */
.dest-section--events .dest-events,
.dest-events {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
    direction: rtl;
}
[dir="ltr"] .dest-events,
html[dir="ltr"] .dest-events,
body.ltr .dest-events {
    direction: ltr;
}
.dest-event-card {
    display: flex;
    flex-direction: column;
    width: min(100%, 320px);
    background: var(--dest-card-bg);
    border: 1px solid var(--dest-card-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(42, 33, 28, .08);
}
.dest-event-card__media {
    position: relative;
    aspect-ratio: 16 / 11;
    min-height: 200px;
    background: var(--dest-surface);
}
.dest-event-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dest-event-card__price-badge,
.dest-event-card__date-badge {
    position: absolute;
    top: 14px;
    z-index: 1;
    background: #fff;
    color: var(--dest-heading);
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(42, 33, 28, .12);
    font-weight: 700;
    line-height: 1.2;
}
.dest-event-card__price-badge {
    left: 14px;
    padding: 8px 12px;
    font-size: 14px;
}
.dest-event-card__date-badge {
    right: 14px;
    padding: 8px 10px;
    min-width: 52px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dest-event-card__date-day {
    font-size: 1.15rem;
    font-weight: 800;
}
.dest-event-card__date-month {
    font-size: 12px;
    font-weight: 600;
}
.dest-event-card__body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    text-align: start;
    direction: rtl;
    flex: 1;
}
[dir="ltr"] .dest-event-card__body,
body.ltr .dest-event-card__body {
    direction: ltr;
}
.dest-event-card h3 {
    margin: 0;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    font-weight: 700;
    color: var(--dest-heading);
    line-height: 1.45;
}
.dest-event-card__meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--dest-text-secondary);
    font-size: 14px;
    margin: 0;
}
.dest-event-card__meta-line {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.55;
}
.dest-event-card__meta-line i {
    color: var(--dest-accent);
    margin-top: 3px;
    flex-shrink: 0;
    width: 1em;
}
.dest-event-card__cta {
    width: 100%;
    min-width: 0;
    margin-top: auto;
    min-height: 46px;
    border-radius: 12px;
    font-size: 15px;
}

/* ===== MAP ===== */
.dest-map {
    border-radius: var(--dest-radius-lg);
    overflow: hidden;
    border: 1px solid var(--dest-card-border);
    min-height: 320px;
    background: var(--dest-surface);
    box-shadow: var(--dest-shadow);
}
.dest-map iframe,
.dest-map img {
    width: 100%;
    height: 360px;
    border: 0;
    display: block;
}
.dest-map-demo {
    color: var(--dest-text-secondary);
    font-size: 13px;
    margin: 0 0 10px;
}
.dest-event-card__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--dest-accent);
    background: color-mix(in srgb, var(--dest-accent) 14%, transparent);
    border-radius: 999px;
    padding: 2px 8px;
}

/* ===== REVIEWS — Figma testimonial cards (RTL: avatar right, quote left) ===== */
.dest-section--reviews h2 {
    font-family: "Amiri", "IBM Plex Sans Arabic", Georgia, serif;
    font-weight: 700;
    margin-bottom: 20px;
}
.dest-reviews {
    display: flex;
    flex-direction: row;
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 12px;
    margin-inline: -2px;
    direction: rtl;
    scrollbar-width: thin;
}
[dir="ltr"] .dest-reviews,
body.ltr .dest-reviews {
    direction: ltr;
}
.dest-review {
    flex: 0 0 clamp(300px, 78vw, 380px);
    scroll-snap-align: start;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
    direction: rtl;
    text-align: start;
    background: var(--dest-card-bg);
    border: 0;
    border-radius: 28px;
    padding: 22px 20px;
    box-shadow: 0 4px 22px rgba(42, 33, 28, .07);
    min-height: 100%;
}
@media (min-width: 1100px) {
    .dest-reviews {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow: visible;
        scroll-snap-type: none;
        padding-bottom: 0;
    }
    .dest-review {
        flex: none;
        width: auto;
    }
}
[dir="ltr"] .dest-review,
body.ltr .dest-review {
    direction: ltr;
}
.dest-review__author {
    flex: 0 0 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}
.dest-review__author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 0;
    box-shadow: 0 2px 10px rgba(42, 33, 28, .12);
}
.dest-review__name {
    display: block;
    color: var(--dest-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}
.dest-review__city {
    display: block;
    color: #8a7a72;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.3;
}
.dest-review__content {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 2px;
}
.dest-review__quote {
    margin: 0;
    color: #3d342f;
    font-size: clamp(0.92rem, 1.4vw, 1rem);
    line-height: 1.85;
    font-weight: 500;
}
.dest-review__stars {
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
    color: #e0d5cc;
    font-size: 17px;
    letter-spacing: 0;
    line-height: 1;
    margin-top: auto;
}
.dest-review__stars .is-filled {
    color: var(--dest-star);
}
.dest-section__action--reviews {
    margin-top: 28px;
}
.dest-btn--reviews-more {
    border-radius: 999px;
    min-width: min(100%, 260px);
    padding: 12px 28px;
    font-size: 15px;
    border-color: var(--dest-divider);
}

/* ===== SIMILAR — Figma vertical catalog card (RTL) ===== */
.dest-section--similar h2 {
    font-family: "Amiri", "IBM Plex Sans Arabic", Georgia, serif;
    font-weight: 700;
    color: var(--dest-heading);
    margin-bottom: 20px;
}
.dest-similar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    direction: rtl;
}
[dir="ltr"] .dest-similar,
html[dir="ltr"] .dest-similar,
body.ltr .dest-similar {
    direction: ltr;
}
.dest-similar-card {
    width: min(100%, 300px);
    background: var(--dest-card-bg);
    border: 1px solid var(--dest-card-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(42, 33, 28, .07);
    display: flex;
    flex-direction: column;
}
.dest-similar-card__media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: var(--dest-surface);
}
.dest-similar-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dest-similar-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid #ffffff55;
    background: linear-gradient(145deg, rgba(0, 53, 21, .96), rgba(3, 71, 167, .88));
    box-shadow: inset 0 1px 0 #ffffff35, 0 7px 18px #0007, 0 0 18px #fbce011c;
    backdrop-filter: blur(8px);
    transform: rotate(6deg);
    pointer-events: none;
}
.dest-similar-card__badge img {
    width: 18px;
    height: 23px;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px #0008);
    transform: rotate(-6deg);
}
.dest-similar-card__favorite {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: #fff;
    color: #2a211c;
    display: grid;
    place-items: center;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(42, 33, 28, .12);
}
.dest-similar-card__favorite--static {
    pointer-events: none;
}
.dest-similar-card__favorite.is-favourite,
.dest-similar-card__favorite.is-favourite i {
    color: #c0392b;
}
.dest-similar-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    text-align: start;
    direction: rtl;
}
[dir="ltr"] .dest-similar-card__body,
body.ltr .dest-similar-card__body {
    direction: ltr;
}
.dest-similar-card h3 {
    margin: 0 0 2px;
    font-size: clamp(1.08rem, 2vw, 1.22rem);
    font-weight: 700;
    color: var(--dest-heading);
    line-height: 1.45;
}
.dest-similar-card__stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 2px 0 10px;
    min-height: 22px;
}
.dest-similar-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--dest-star);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}
.dest-similar-card__rating i {
    font-size: 14px;
}
.dest-similar-card__loc {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--dest-text-secondary);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-align: end;
}
.dest-similar-card__loc i {
    color: #8a7a72;
    font-size: 12px;
    flex-shrink: 0;
}
.dest-similar-card__cta {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin-top: auto;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    border-color: var(--dest-divider);
    color: var(--dest-heading);
    background: transparent;
}
.dest-similar-card__cta:hover {
    border-color: var(--dest-accent);
    color: var(--dest-accent);
}
.dest-section__action--similar {
    margin-top: 28px;
}
.dest-btn--similar-all {
    border-radius: 999px;
    min-width: min(100%, 260px);
    padding: 12px 28px;
    font-size: 15px;
    border-color: var(--dest-divider);
}

.dest-empty {
    color: var(--dest-text-secondary);
    font-size: 14px;
    margin: 0;
}

/* ===== DESTINATION-SCOPED BRANDED FOOTER ===== */
.trfihi-destination-page > .dest-branded-footer,
.trfihi-destinations-index > .dest-branded-footer {
    margin-top: 0;
}

.dest-branded-footer {
    position: relative;
    margin-top: 0;
    color: #fdfdff;
    background: #04402b;
    overflow: hidden;
    padding: 56px 0 40px;
    width: 100%;
}
.dest-branded-footer__skyline {
    position: absolute;
    inset: 0;
    background-image: var(--dest-footer-skyline);
    background-size: cover;
    background-position: center bottom;
    opacity: .35;
    pointer-events: none;
}
.dest-branded-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4,64,43,.55) 0%, rgba(2,35,23,.92) 55%, #022317 100%);
    pointer-events: none;
}
.dest-branded-footer__inner {
    position: relative;
    z-index: 1;
    width: min(1200px, 92vw);
    margin: 0 auto;
}
.dest-branded-footer__logo {
    text-align: center;
    margin-bottom: 36px;
}
.dest-branded-footer__logo img {
    max-height: 88px;
    width: auto;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,.35));
}
.dest-branded-footer__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-bottom: 28px;
}
.dest-branded-footer h3 {
    margin: 0 0 14px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}
.dest-branded-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dest-branded-footer li { margin-bottom: 8px; }
.dest-branded-footer a {
    color: rgba(253,253,255,.88) !important;
    text-decoration: none;
    font-size: 14px;
}
.dest-branded-footer a:hover { color: #fff !important; text-decoration: underline; }
.dest-branded-footer__stores {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.dest-branded-footer__stores a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 8px;
    background: #000;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
}
.dest-branded-footer__copy {
    margin: 0;
    text-align: center;
    color: rgba(253,253,255,.78);
    font-size: 14px;
    line-height: 1.7;
    max-width: 720px;
    margin-inline: auto;
}

/* ===== RESPONSIVE (detail page) ===== */
@media (max-width: 1100px) {
    .dest-reviews {
        display: flex;
        grid-template-columns: unset;
        gap: 16px;
    }
    .dest-review { flex: 0 0 clamp(280px, 72vw, 360px); }
    .dest-hero,
    [dir="rtl"] .dest-hero,
    html[dir="rtl"] .dest-hero,
    body.rtl .dest-hero {
        grid-template-columns: 1fr;
        grid-template-areas: "media" "copy";
        gap: 20px;
        direction: rtl;
    }
    .dest-hero__media {
        aspect-ratio: 16 / 10;
        max-height: 420px;
        min-height: 0;
    }
    .dest-hero__copy-top { flex-wrap: wrap; align-items: flex-start; }
    .dest-instructions { grid-template-columns: 1fr; gap: 8px 24px; }
    .dest-branded-footer__grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 992px) {
    /* Figma: vertical stack — no line under ركوب خيل (items 1–2 share one block) */
    .dest-activities {
        grid-template-columns: 1fr;
    }
    .dest-activity {
        border-inline-start: 0 !important;
        border-top: 0;
        min-height: 84px;
    }
    .dest-activity:nth-child(n + 3) {
        border-top: 1px solid var(--dest-divider);
    }
    .dest-events,
    .dest-similar {
        justify-content: center;
    }
    .dest-event-card,
    .dest-similar-card {
        width: min(100%, 360px);
    }
}

@media (max-width: 900px) {
    .trfihi-destination-page .dest-container,
    .trfihi-destinations-index .dest-container {
        width: min(1140px, calc(100vw - 32px));
    }
    .dest-section { padding: 28px 0; }
    .dest-section h2 { font-size: clamp(1.28rem, 3.5vw, 1.65rem); }
}

/* ===== PUBLIC DESTINATIONS LISTING ===== */
.trfihi-destinations-index {
    background: #fdfbf8;
    color: #2a211c;
    font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", Tahoma, sans-serif;
}
.dest-index-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    padding: 64px 16px 56px;
}
.dest-index-hero__bg,
.dest-index-hero__veil {
    position: absolute;
    inset: 0;
}
.dest-index-hero__bg {
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
}
.dest-index-hero__veil {
    background: linear-gradient(180deg, rgba(1, 32, 22, .55) 0%, rgba(4, 64, 43, .78) 100%);
}
.dest-index-hero__inner {
    position: relative;
    z-index: 1;
    width: min(760px, 92vw);
}
.dest-index-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-weight: 600;
    letter-spacing: .02em;
}
.dest-index-hero__eyebrow img { width: 40px; height: 40px; object-fit: contain; }
.dest-index-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.25;
}
.dest-index-hero__sub {
    margin: 0 auto 22px;
    max-width: 34rem;
    color: rgba(255,255,255,.88);
    font-size: 1.05rem;
    line-height: 1.8;
}
.dest-index-search {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.dest-index-search input[type="search"] {
    min-width: min(320px, 80vw);
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 15px;
}
.dest-index-search button {
    border: 0;
    border-radius: 999px;
    background: #fbce01;
    color: #012016;
    font-weight: 700;
    padding: 12px 20px;
}
.dest-index-search__clear {
    align-self: center;
    color: #fff !important;
    text-decoration: underline;
    font-size: 14px;
}
.dest-index-collection {
    padding: 40px 0 56px;
}
.dest-index-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
    direction: rtl;
}
[dir="ltr"] .dest-index-grid,
html[dir="ltr"] .dest-index-grid,
body.ltr .dest-index-grid {
    direction: ltr;
}
.dest-index-card {
    background: #fff;
    border: 1px solid #eadfd6;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(42, 33, 28, .07);
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.dest-index-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0ebe6;
}
.dest-index-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.dest-index-card:hover .dest-index-card__media img { transform: scale(1.03); }
.dest-index-card__mark {
    position: absolute;
    top: 14px;
    right: 14px;
    left: auto;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid #ffffff55;
    background: linear-gradient(145deg, rgba(0, 53, 21, .96), rgba(3, 71, 167, .88));
    box-shadow: inset 0 1px 0 #ffffff35, 0 7px 18px #0007, 0 0 18px #fbce011c;
    backdrop-filter: blur(8px);
    transform: rotate(6deg);
    pointer-events: none;
}
.dest-index-card__mark img {
    width: 18px;
    height: 23px;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px #0008);
    transform: rotate(-6deg);
}
.dest-index-card__rating {
    position: absolute;
    inset-inline-end: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}
.dest-index-card__rating .fa-star,
.dest-index-card__rating i { color: #fbce01; font-size: 12px; }
.dest-index-card__body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    text-align: start;
    direction: rtl;
}
[dir="ltr"] .dest-index-card__body,
body.ltr .dest-index-card__body {
    direction: ltr;
}
.dest-index-card h2 {
    margin: 0;
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: #688146;
    line-height: 1.45;
}
.dest-index-card h2 a { color: inherit; text-decoration: none; }
.dest-index-card h2 a:hover { opacity: .88; }
.dest-index-card__loc {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b5b52;
    font-size: 14px;
    line-height: 1.4;
}
.dest-index-card__loc i { color: #688146; flex-shrink: 0; }
.dest-index-card__excerpt {
    margin: 0;
    color: #5c524c;
    font-size: clamp(0.92rem, 1.5vw, 0.98rem);
    line-height: 1.75;
    flex: 1;
}
.dest-index-card__link {
    display: block;
    margin-top: 8px;
    padding-top: 4px;
    text-align: center;
    color: #2a211c;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: color .15s ease;
}
.dest-index-card__link:hover {
    color: #688146;
}
.dest-index-empty {
    text-align: center;
    padding: 48px 16px;
    color: #555;
}
.dest-index-empty h2 { margin: 12px 0 8px; color: #688146; }
.dest-index-pager { margin-top: 28px; display: flex; justify-content: center; }

@media (max-width: 820px) {
    .dest-index-grid {
        grid-template-columns: 1fr;
        max-width: min(100%, 480px);
    }
}

@media (max-width: 768px) {
}

@media (max-width: 640px) {
    .trfihi-destination-page .dest-container,
    .trfihi-destinations-index .dest-container {
        width: min(1140px, calc(100vw - 24px));
        padding-inline: max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px));
    }
    .dest-index-hero {
        min-height: 240px;
        padding: 36px 12px 32px;
    }
    .dest-index-hero__sub { font-size: 0.98rem; line-height: 1.65; }
    .dest-index-search {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .dest-index-search input[type="search"] {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .dest-index-search button {
        width: 100%;
        min-height: 44px;
    }
    .dest-index-collection { padding: 28px 0 40px; }
    .dest-index-grid { max-width: 100%; gap: 20px; }
    .dest-index-card__body { padding: 16px; }
    .dest-hero__copy-top {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .dest-mode-toggle { align-self: flex-end; }
    .dest-breadcrumbs {
        font-size: 12px;
        gap: 6px;
        line-height: 1.5;
    }
    .dest-hero h1 { font-size: clamp(1.55rem, 6.5vw, 2rem); }
    .dest-hero__logo { width: 44px; height: 44px; }
    .dest-hero__media {
        aspect-ratio: 16 / 10;
        max-height: 320px;
    }
    .dest-meta { font-size: 14px; }
    .dest-facilities {
        flex-wrap: wrap;
        border-radius: 14px;
    }
    .dest-facility {
        flex: 1 1 calc(50% - 0px);
        max-width: 50%;
        min-height: 96px;
        padding: 20px 8px 16px;
        border-top: 1px solid var(--dest-divider);
    }
    .dest-facility:nth-child(-n + 2) {
        border-top: 0;
    }
    .dest-facility:nth-child(odd) {
        border-inline-start: 0;
    }
    .dest-facility:nth-child(even) {
        border-inline-start: 1px solid var(--dest-divider);
    }
    .dest-event-card,
    .dest-similar-card { width: 100%; max-width: none; }
    .dest-events,
    .dest-similar { width: 100%; }
    .dest-booking .dest-actions { flex-direction: column; }
    .dest-booking .dest-actions .dest-btn { flex: 1 1 100%; width: 100%; }
    .dest-btn { min-height: 44px; }
    .dest-about { min-height: 0; }
    .dest-about__track { min-height: 0; }
    .dest-about__slide img {
        height: auto;
        min-height: 200px;
        max-height: 240px;
    }
    .dest-about__overlay {
        padding: 16px 18px 40px;
        align-items: flex-end;
        justify-content: flex-start;
        background: linear-gradient(
            180deg,
            transparent 0%,
            rgba(0, 0, 0, .08) 38%,
            rgba(0, 0, 0, .62) 72%,
            rgba(0, 0, 0, .88) 100%
        );
    }
    .dest-about__overlay-inner { max-width: 100%; }
    .dest-about__overlay p { margin-top: 8px; font-size: 0.95rem; }
    .dest-about__nav { width: 36px; height: 36px; font-size: 18px; }
    .dest-map iframe,
    .dest-map img { height: 240px; }
    .dest-section { padding: 22px 0; }
    .dest-review {
        flex: 0 0 min(88vw, 340px);
        padding: 20px 18px;
        border-radius: 24px;
    }
    .dest-review__author { flex: 0 0 76px; }
    .dest-review__author img {
        width: 72px;
        height: 72px;
    }
    .dest-review__quote { font-size: 0.9rem; line-height: 1.8; }
    .dest-btn--reviews-more,
    .dest-btn--similar-all {
        width: 100%;
        max-width: none;
    }
    .dest-branded-footer { padding: 40px 16px 32px; }
}

@media (max-width: 480px) {
    .dest-activity {
        min-height: 72px;
    }
    .dest-facility {
        flex: 1 1 100%;
        max-width: 100%;
        border-inline-start: 0 !important;
        border-top: 1px solid var(--dest-divider);
    }
    .dest-facility:first-child { border-top: 0; }
    /* Override 640px 2-col rule: every row after the first needs a divider */
    .dest-facility:nth-child(n + 2) {
        border-top: 1px solid var(--dest-divider);
    }
    .dest-instructions { font-size: 0.95rem; }
    .dest-index-hero h1 { font-size: clamp(1.5rem, 7.5vw, 1.85rem); }
    .dest-event-card__price-badge,
    .dest-event-card__date-badge {
        top: 10px;
        padding: 6px 8px;
        font-size: 12px;
    }
    .dest-event-card__date-day { font-size: 1rem; }
}
