/* ================================
   Vakantiepopup Haarstudio Wir War
   ================================ */

.ww-vacation-lock {
    overflow: hidden;
}

.ww-vacation-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ww-vacation-popup.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ww-vacation-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(32, 24, 42, 0.66);
    backdrop-filter: blur(7px);
}

.ww-vacation-popup__dialog {
    position: relative;
    width: min(980px, 100%);
    max-height: min(92vh, 900px);
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
    overflow: auto;
    border-radius: 28px;
    background: linear-gradient(135deg, #fffafc 0%, #f8efff 52%, #fff7ed 100%);
    border: 1px solid rgba(214, 170, 82, 0.55);
    box-shadow: 0 30px 90px rgba(30, 20, 45, 0.38);
    transform: translateY(14px) scale(0.98);
    transition: transform 0.25s ease;
}

.ww-vacation-popup.is-visible .ww-vacation-popup__dialog {
    transform: translateY(0) scale(1);
}

.ww-vacation-popup__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #5d447e;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(63, 42, 84, 0.16);
}

.ww-vacation-popup__close:hover,
.ww-vacation-popup__close:focus-visible {
    background: #ffffff;
    outline: 2px solid rgba(122, 92, 160, 0.35);
}

.ww-vacation-popup__media {
    min-height: 100%;
    background: #f7edf8;
}

.ww-vacation-popup__media picture,
.ww-vacation-popup__media img {
    display: block;
    width: 100%;
    height: 100%;
}

.ww-vacation-popup__media img {
    object-fit: cover;
}

.ww-vacation-popup__content {
    padding: clamp(26px, 4vw, 48px);
    color: #342943;
}

.ww-vacation-popup__eyebrow {
    margin: 0 0 10px;
    color: #9b73be;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.ww-vacation-popup__content h2 {
    margin: 0 0 18px;
    color: #5d447e;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
    font-family: Georgia, "Times New Roman", serif;
}

.ww-vacation-popup__content p {
    margin: 0 0 14px;
    font-size: 1.02rem;
    line-height: 1.6;
}

.ww-vacation-popup__content strong {
    color: #5d447e;
}

.ww-vacation-popup__details {
    margin: 18px 0 0;
    padding: 14px 16px;
    border: 1px solid rgba(155, 115, 190, 0.28);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.58);
}

.ww-vacation-popup__details summary {
    cursor: pointer;
    color: #6c4d90;
    font-weight: 700;
}

.ww-vacation-popup__details div {
    margin-top: 14px;
    max-height: 220px;
    overflow: auto;
    padding-right: 4px;
}

.ww-vacation-popup__details p {
    font-size: 0.95rem;
    line-height: 1.55;
}

.ww-vacation-popup__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.ww-vacation-popup__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ww-vacation-popup__button:hover,
.ww-vacation-popup__button:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.ww-vacation-popup__button--primary {
    background: #7a5ca0;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(122, 92, 160, 0.28);
}

.ww-vacation-popup__button--secondary {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(122, 92, 160, 0.25);
    color: #5d447e;
}

@media (max-width: 780px) {
    .ww-vacation-popup {
        padding: 14px;
        align-items: flex-start;
        overflow: auto;
    }

    .ww-vacation-popup__dialog {
        grid-template-columns: 1fr;
        width: min(520px, 100%);
        max-height: none;
        margin: 18px 0;
        border-radius: 22px;
    }

    .ww-vacation-popup__media img {
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .ww-vacation-popup__content {
        padding: 24px 20px 26px;
    }

    .ww-vacation-popup__actions {
        flex-direction: column;
    }

    .ww-vacation-popup__button {
        width: 100%;
    }
}
