html.modal-link-is-open,
body.modal-link-is-open {
    overflow: hidden;
}

.modal-link-block {
    display: block;
}

.modal-link__trigger.package__anchor.abu-dhabi-simply-gp {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: inherit;
    font: inherit;
    text-decoration: inherit;
    text-align: left;
}

/* 🔥 DEFAULT CLOSED STATE */
.modal-link__modal {
    display: none; /* CRITICAL FIX */
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2.4rem;
}

/* 🔥 OPEN STATE */
.modal-link__modal.is-open {
    display: flex;
}

/* fallback safety */
.modal-link__modal[hidden] {
    display: none !important;
}

.modal-link__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    background: rgba(18, 18, 18, 0.72);
    cursor: pointer;
}

.modal-link__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 72rem);
    max-height: min(80vh, 72rem);
}

.modal-link__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: min(80vh, 72rem);
    overflow: hidden;
    padding: 4.8rem 3.2rem 3.2rem 4.8rem;
    border-radius: 2.4rem;
    background: #ffffff;
    color: inherit;
    box-shadow: 0 2rem 4.8rem rgba(0, 0, 0, 0.2);
}

.modal-link__scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: scroll;
    padding-right: 2rem;
    scrollbar-gutter: stable;
    scrollbar-width: auto;
    scrollbar-color: var(--primary) #eeeeee;
}

.modal-link__scroll::-webkit-scrollbar {
    width: 12px;
}

.modal-link__scroll::-webkit-scrollbar-track {
    background: #eeeeee;
    border-radius: 6px;
}

.modal-link__scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 6px;
}

.modal-link__close {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(35%, -35%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    cursor: pointer;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    z-index: 2;
}

.modal-link__heading {
    margin: 0;
    padding-right: 3.2rem;
}

.modal-link__divider {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid #5A5A5A;
}

.modal-link__content > :first-child {
    margin-top: 0;
}

.modal-link__content > :last-child {
    margin-bottom: 0;
}

.modal-link__content li::marker {
    color: #5A5A5A;
}

@media (max-width: 767px) {
    .modal-link__modal {
        padding: 1.6rem;
    }

    .modal-link__dialog {
        width: 100%;
    }

    .modal-link__panel {
        max-height: 85vh;
        padding: 4rem 1.6rem 2.4rem 2rem;
    }

    .modal-link__scroll {
        padding-right: 1.2rem;
    }

    .modal-link__close {
        transform: translate(15%, -25%);
    }
}