.pk-room-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: block;
    background: rgba(7, 7, 10, 0);
    backdrop-filter: blur(0px);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.45s ease,
        background 0.45s ease,
        backdrop-filter 0.45s ease,
        visibility 0s linear 0.45s;
}

.pk-room-modal.is-open {
    background: rgba(7, 7, 10, 0.72);
    backdrop-filter: blur(12px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
        opacity 0.45s ease,
        background 0.45s ease,
        backdrop-filter 0.45s ease,
        visibility 0s linear 0s;
}

.pk-room-modal__dialog {
    position: relative;
    width: min(1100px, calc(100% - 24px));
    max-height: calc(100svh - 120px);
    margin: 130px auto 40px;
    overflow: auto;
    border-radius: 26px;
    background: rgba(16, 16, 18, 0.96);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 24px 70px rgba(0,0,0,0.45);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    opacity: 0;
    transform: translateY(180px);
    transition:
        opacity 0.50s ease,
        transform 0.99s cubic-bezier(0.16, 0.84, 0.24, 1);
    clip-path: inset(0 round 26px);
}

.pk-room-modal.is-open .pk-room-modal__dialog {
    opacity: 1;
    transform: translateY(0);
}

.pk-room-modal__dialog::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.pk-room-modal__topbar {
    position: sticky;
    top: 0;
    z-index: 80;
    display: flex;
    justify-content: flex-end;
    height: 0;
    padding: 0;
    margin: 0;
    pointer-events: none;
}

.pk-room-modal__close {
    pointer-events: auto;
    width: 52px;
    height: 52px;
    margin-top: 18px;
    margin-right: 18px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    appearance: none;
    -webkit-appearance: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.pk-room-modal__close:hover {
    transform: rotate(180deg) scale(1.08);
    opacity: 0.96;
}

.pk-room-modal__close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.pk-room-modal__hero {
    position: relative;
    min-height: 320px;
    background: #000;
    overflow: hidden;
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
}

.pk-room-modal__hero img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.pk-room-modal__hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.78) 100%);
    pointer-events: none;
}

.pk-room-modal__hero-content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
}

.pk-room-modal__hero-content h3 {
    margin: 0 0 8px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 0.98;
    color: #fff;
}

.pk-room-modal__capacity {
    margin: 0;
    color: rgba(255,255,255,0.82);
    font-size: 1rem;
}

.pk-room-modal__body {
    padding: 28px;
}

.pk-room-modal__content-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 24px;
}

.pk-room-modal__body-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 28px;
}

.pk-room-modal__body p {
    margin: 0 0 14px;
    line-height: 1.75;
    color: var(--pk-text-soft);
}

.pk-room-modal__card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 16px;
}

.pk-room-modal__card h4 {
    margin: 0 0 12px;
    font-size: 1rem;
    color: #fff;
}

.pk-room-modal__card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--pk-text-soft);
    line-height: 1.7;
}

.pk-room-modal__pricing-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pk-room-modal__pricing-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: var(--pk-text-soft);
}

.pk-room-modal__pricing-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.pk-room-modal__pricing-list strong {
    color: #fff;
    white-space: nowrap;
}

.pk-room-modal__button {
    appearance: none;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 900;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    background: var(--accent);
    color: #000;
    white-space: nowrap;
}

.pk-room-modal__button:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

body.pk-modal-open {
    overflow: hidden;
}

@media (max-width: 980px) {
    .pk-room-modal__body-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pk-room-modal__dialog {
        max-height: calc(100svh - 130px);
        margin: 110px auto 20px;
    }

    .pk-room-modal__close {
        width: 46px;
        height: 46px;
        margin-top: 10px;
        margin-right: 10px;
        font-size: 1.7rem;
    }

    .pk-room-modal__body,
    .pk-room-modal__content-card {
        padding: 20px;
    }

    .pk-room-modal__hero img {
        height: 260px;
    }

    .pk-room-modal__hero-content {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .pk-room-modal__pricing-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}