/* Trigger Button */
.fsm-trigger-0cfc9c82 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    padding: 0;
}
.fsm-trigger-0cfc9c82:hover {
    transform: scale(1.05);
}
.fsm-trigger-0cfc9c82 i, 
.fsm-trigger-0cfc9c82 svg {
    font-size: 24px;
    width: 24px;
    height: 24px;
    fill: #333;
    color: #333;
}

/* Fullscreen Overlay - SLOW VERTICAL TOP TO BOTTOM ANIMATION */
.fsm-overlay-0cfc9c82 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 999999;
    display: flex;
    /* Hide visually and prevent clicks */
    visibility: hidden;
    pointer-events: none;
    /* Start position: completely above the viewport */
    transform: translateY(-100%);
    /* Smooth, slow easing curve for premium feel, matching reference (~1.5s) */
    transition: transform 1.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 1.5s ease;
}

body.admin-bar .fsm-overlay-0cfc9c82 {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
    body.admin-bar .fsm-overlay-0cfc9c82 {
        top: 46px;
        height: calc(100vh - 46px);
    }
}

.fsm-overlay-0cfc9c82.is-open {
    /* Final position: cover the viewport */
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

/* Split Layout */
.fsm-left-0cfc9c82 {
    flex: 0 0 65%;
    height: 100%;
    overflow: hidden;
}

.fsm-left-0cfc9c82 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fsm-right-0cfc9c82 {
    flex: 1;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px;
    background-color: #fff;
    overflow-y: auto;
}

/* Close Button */
.fsm-close-0cfc9c82 {
    position: absolute;
    top: 40px;
    right: 40px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #333;
}
.fsm-close-0cfc9c82 svg {
    width: 24px;
    height: 24px;
}

/* Menu Items */
.fsm-list-0cfc9c82 {
    list-style: none;
    margin: auto 0;
    padding: 0;
    max-width: 600px;
    width: 100%;
    margin-left: 10%;
}

.fsm-list-0cfc9c82 li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.fsm-list-0cfc9c82 li:last-child {
    border-bottom: none;
}

.fsm-link-0cfc9c82 {
    display: block;
    padding: 25px 0;
    font-size: 24px;
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.fsm-link-0cfc9c82:hover {
    color: #888;
    padding-left: 10px;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .fsm-left-0cfc9c82 {
        flex: 0 0 50%;
    }
}

@media (max-width: 767px) {
    .fsm-overlay-0cfc9c82 {
        flex-direction: column;
    }
    .fsm-left-0cfc9c82 {
        flex: none;
        height: 30vh;
    }
    .fsm-right-0cfc9c82 {
        padding: 20px;
    }
    .fsm-close-0cfc9c82 {
        top: 20px;
        right: 20px;
    }
    .fsm-list-0cfc9c82 {
        margin-left: 0;
        margin-top: 60px;
    }
    .fsm-link-0cfc9c82 {
        font-size: 18px;
        padding: 15px 0;
    }
}