/* Facilities modal (villa), same shell as the hotel futures modal */
#villa-facilities.modal-container {
    width: min(52rem, 92vw);
    max-width: min(52rem, 92vw);
    max-height: min(44rem, 88dvh);
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid #eef0f3;
    box-shadow:
        0 24px 48px rgba(15, 23, 42, 0.1),
        0 8px 16px rgba(15, 23, 42, 0.05);
}

.futures-modal-container {
    width: 100%;
    height: 100%;
    max-height: min(44rem, 88dvh);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    background: #fff;
}

.futures-modal__header {
    position: relative;
    flex-shrink: 0;
    padding: 1.35rem 1.5rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    background: #fff;
    z-index: 2;
}

.futures-modal__close {
    position: absolute;
    left: 1rem;
    top: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: #f3f4f6;
    color: #6b7280;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.futures-modal__close:hover {
    background: #e5e7eb;
    color: #111827;
}

.futures-modal__close:active {
    transform: scale(0.96);
}

.futures-modal__head {
    display: flex;
    flex-direction: column;
    padding-left: 2.75rem;
}

.futures-modal__title {
    margin: 0;
    font-size: var(--fs-lg);
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.01em;
}

.futures-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
    padding: 0.25rem 1.5rem 1.5rem;
}

.futures-modal__body::-webkit-scrollbar {
    width: 6px;
}

.futures-modal__body::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 999px;
}

.futures-modal__section {
    scroll-margin-top: 0.75rem;
    padding-top: 1.5rem;
}

.futures-modal__section:first-child {
    padding-top: 1rem;
}

.future__body .__body-content-container {
    margin-top: 0;
}

.futures-modal__grid {
    margin-top: 0;
}

.futures-modal__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.futures-modal__item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 0.75rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.futures-modal__item:hover {
    background: #fff;
    border-color: #e5e7eb;
}

.futures-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 25px;
    height: 25px;
}

.futures-modal__icon img {
    width: 25px;
    height: 25px;
}

.futures-modal__item .text {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: #374151;
    line-height: 1.5;
}

@media (max-width: 700px) {
    #villa-facilities.modal-container {
        max-width: none;
        max-height: none;
        width: 100vw;
        height: 100dvh;
        border-radius: 0;
        border: 0;
    }

    .futures-modal-container {
        max-height: 100dvh;
    }

    .futures-modal__header {
        padding: 1rem 1rem 0.85rem;
    }

    .futures-modal__head {
        padding-left: 2.5rem;
    }

    .futures-modal__body {
        padding: 0.25rem 1rem 1.25rem;
    }

    .futures-modal__list {
        grid-template-columns: 1fr;
    }
}
