/* الصفحة الرئيسية — للمنظر فقط (config/lww.php → home_view_only) */
body.lww-view-only {
    pointer-events: auto !important;
}

body.lww-view-only * {
    pointer-events: none !important;
    cursor: default !important;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

body.lww-view-only a,
body.lww-view-only button,
body.lww-view-only [href],
body.lww-view-only [tabindex]:not([tabindex="-1"]) {
    cursor: default !important;
}

/* الحجز — الهيرو كامل + أزرار احجز الآن */
body.lww-view-only a.lww-booking-link,
body.lww-view-only .lww-hero-booking-hit {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.lww-hero-booking {
    position: relative;
}

.lww-hero-booking-hit {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: block;
    text-indent: -9999px;
    overflow: hidden;
    background: transparent;
}

.lww-hero-booking .page-header-cloud {
    pointer-events: none !important;
    z-index: 3;
}

.lww-hero-booking .hero-banner-slider {
    position: relative;
    z-index: 1;
}

/* إصلاحات محلية — شعار الهيدر + lazy حتى يكتمل Bricks */
#brxe-diwqsn {
    display: block;
}
#brxe-bpjtmn {
    display: none;
}
@media (max-width: 767px) {
    #brxe-diwqsn {
        display: none;
    }
    #brxe-bpjtmn {
        display: block;
    }
}
header#brx-header .bricks-lazy-hidden,
header#brx-header.bricks-lazy-hidden,
header#brx-header .brxe-section.bricks-lazy-hidden {
    opacity: 1 !important;
    visibility: visible !important;
}
.bricks-site-logo {
    object-fit: contain;
}

/* فوتر + سوشيال ثابت + أزرار الثلج */
#brx-footer,
#brx-footer .bricks-lazy-hidden,
.fixed-social-media,
.fixed-social-media-btn,
.button-snow-wrapper,
.partners-slider,
.rides-slider-section {
    opacity: 1 !important;
    visibility: visible !important;
}

.fixed-social-media {
    display: flex !important;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 999;
}

/* عناصر للمنظر فقط — بدون نقر */
.lww-no-click,
.lww-no-click a,
#brx-header .brxe-logo,
#brxe-lirqwm,
#brxe-chybve,
#brxe-dxjfvx,
#lww-partners,
#lww-partners a,
#brx-footer,
#brx-footer a,
.fixed-social-media.lww-no-click,
.fixed-social-media.lww-no-click a {
    pointer-events: none !important;
    cursor: default !important;
    user-select: none;
    touch-action: none;
}

.fixed-social-media.lww-no-click {
    display: flex !important;
    flex-direction: column;
    row-gap: 10px !important;
    gap: 10px !important;
}

.fixed-social-media.lww-no-click .fixed-social-media-btn {
    pointer-events: none !important;
    margin-bottom: 0 !important;
}

.button-snow-wrapper {
    position: relative;
}

.button-snow-wrapper .snow-btn-2,
.button-snow-wrapper .snow-btn-2 img {
    pointer-events: none;
}

.button-snow-wrapper .brxe-button {
    position: relative;
    z-index: 2;
}

html {
    scroll-behavior: smooth;
}

#know-wonder,
#lww-rides,
#lww-partners,
#brx-footer {
    scroll-margin-top: 100px;
}

/* الهيدر: أيقونة القائمة للمنظر فقط — ليست زراً ولا تستجيب للمس */
#brxe-amvzhm,
.header-menu-nav.brxe-nav-menu,
#brxe-bqbmda,
#brxe-srnpyc,
.bricks-mobile-menu-toggle,
.bricks-mobile-menu-wrapper,
.bricks-mobile-menu-overlay {
    display: none !important;
    pointer-events: none !important;
}

.lww-menu-faux,
.lww-menu-faux * {
    pointer-events: none !important;
    cursor: default !important;
    user-select: none !important;
    touch-action: none !important;
    -webkit-user-select: none !important;
}

.lww-menu-faux .brxa-inner,
.lww-menu-faux .lww-bar {
    transition: none !important;
    transform: none !important;
}

.lww-menu-faux--desktop {
    --brxe-toggle-scale: 0.6;
    display: flex !important;
    align-items: center;
    color: var(--light-color, #fff);
}

.lww-menu-faux--mobile {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    gap: 6px;
    color: var(--light-color, #fff);
    flex-shrink: 0;
}

.lww-menu-faux--mobile .lww-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}

@media (max-width: 767px) {
    .lww-menu-faux--desktop {
        display: none !important;
    }

    #brxe-vrifip.header-mobile-menu .lww-menu-faux--mobile {
        display: flex !important;
    }
}

.header-mobile-menu.show-mobile-menu .lww-menu-faux--mobile .lww-bar {
    transform: none !important;
}

/* محاذاة الهيدر — صف واحد: شعار | لغة + قائمة + احجز */
#brxe-xgefqv.header-menu-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
}

#brxe-csyudr {
    flex: 0 0 auto;
    align-self: center;
}

#brxe-akjutw {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end;
    column-gap: 15px;
    min-width: 0;
}

#brxe-vrifip.header-mobile-menu.brxe-nav-menu {
    flex-direction: row !important;
    align-items: center !important;
    column-gap: 12px;
    flex-shrink: 0;
}

#brxe-vrifip #book-header {
    white-space: nowrap;
}

@media (max-width: 767px) {
    #brxe-bpjtmn .bricks-site-logo {
        max-height: 52px;
        width: auto;
        height: auto;
    }

    #brxe-vyseyd .wpml-ls-legacy-list-horizontal ul {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        margin: 0;
        padding: 0;
    }
}

/* LWW: language toggle — text only, layout stays LTR */
html.lww-lang-layout-lock,
html.lww-lang-layout-lock body {
    direction: ltr !important;
}
