.vakantie-popup[hidden] {
    display: none;
}

.vakantie-popup {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 24px;
    position: fixed;
    transition: opacity 250ms ease;
    z-index: 99999;
}

.vakantie-popup--visible {
    opacity: 1;
}

.vakantie-popup-open {
    overflow: hidden;
}

.vakantie-popup__backdrop {
    background: rgba(54, 36, 22, 0.56);
    inset: 0;
    position: absolute;
}

.vakantie-popup__content {
    background: #f8f7f5;
    border: 1px solid #dad4ca;
    border-radius: 28px 8px 28px 8px;
    box-shadow: 0 24px 70px rgba(54, 36, 22, 0.25);
    color: #362416;
    max-width: 540px;
    overflow: hidden;
    padding: 58px 54px 48px;
    position: relative;
    text-align: center;
    transform: translateY(18px) scale(0.98);
    transition: transform 250ms ease;
    width: 100%;
}

.vakantie-popup--visible .vakantie-popup__content {
    transform: translateY(0) scale(1);
}

.vakantie-popup__content::after {
    background: #dad4ca;
    border-radius: 50%;
    content: '';
    height: 150px;
    left: -75px;
    opacity: 0.45;
    position: absolute;
    top: -75px;
    width: 150px;
}

.vakantie-popup__sun {
    color: #b88e72;
    font-size: 30px;
    line-height: 1;
}

.vakantie-popup__close {
    align-items: center;
    background: #dad4ca;
    border: 0;
    border-radius: 50%;
    color: #362416;
    cursor: pointer;
    display: flex;
    font-family: Arial, sans-serif;
    font-size: 26px;
    height: 40px;
    justify-content: center;
    line-height: 1;
    padding: 0 0 3px;
    position: absolute;
    right: 18px;
    top: 18px;
    transition: background-color 180ms ease, transform 180ms ease;
    width: 40px;
    z-index: 1;
}

.vakantie-popup__close:hover,
.vakantie-popup__close:focus-visible {
    background: #c9bcae;
    outline: 2px solid #362416;
    outline-offset: 2px;
    transform: rotate(5deg);
}

.vakantie-popup__eyebrow {
    color: #8c6954;
    font-family: 'Kreadon Demi', sans-serif;
    font-size: 13px;
    letter-spacing: 0.16em;
    margin: 15px 0 8px;
    text-transform: uppercase;
}

.vakantie-popup__content h2 {
    color: #362416;
    font-family: 'new-order', sans-serif;
    font-size: clamp(32px, 6vw, 46px);
    line-height: 1.05;
    margin: 0 0 22px;
}

.vakantie-popup__text {
    font-family: 'Kreadon Light', sans-serif;
    font-size: 18px;
    line-height: 1.6;
}

.vakantie-popup__text p {
    margin: 0;
}

.vakantie-popup__text .vakantie-popup__greeting {
    color: #8c6954;
    font-family: 'new-order', sans-serif;
    font-size: 24px;
    margin-top: 18px;
}

@media (max-width: 600px) {
    .vakantie-popup {
        padding: 18px;
    }

    .vakantie-popup__content {
        border-radius: 22px 6px 22px 6px;
        padding: 50px 26px 38px;
    }

    .vakantie-popup__text {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vakantie-popup,
    .vakantie-popup__content {
        transition: none;
    }
}
