/* Modal base */
.wds-hidden {
    display: none;
}

.wds-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0;
    transition: opacity .18s ease;
}

.wds-modal:not(.wds-hidden) {
    opacity: 1;
}

.wds-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}

.wds-modal__content {
    position: relative;
    max-width: 680px;
    margin: 6vh auto;
    background: #fff;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, .25);
}

.wds-modal__close {
    position: absolute;
    right: 12px;
    top: 10px;
    font-size: 28px;
    line-height: 1;
    background: transparent;
    border: 0;
    cursor: pointer;
}

#wds-modal-title {
    margin: 0 0 10px;
    font-size: 22px;
}

.wds-modal__form .wpcf7 form {
    margin-top: 8px;
}

/* Button (fallback styling) */
.button.wds-enquiry-btn,
a.button.wds-enquiry-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .6em 1.1em;
    border-radius: 6px;
    text-decoration: none;
}

html.wds-modal-open {
    overflow: hidden;
}