/**
 * Structural CSS Styles for Premium Mobile Menu
 * Suffix: 0f8ddd0d
 */

.pmm-0f8ddd0d-widget-container {
    display: block;
}

/* Hide on desktop, show only on mobile & tablet */
@media (min-width: 1025px) {
    .pmm-0f8ddd0d-widget-container {
        display: none !important;
    }
}

/* Trigger Styling */
.pmm-0f8ddd0d-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #111111;
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.pmm-0f8ddd0d-trigger .pmm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pmm-0f8ddd0d-trigger .pmm-icon svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

/* Mobile Fullscreen Overlay */
.pmm-0f8ddd0d-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background-color: #ffffff;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Support WP Admin Bar offset for logged-in users */
body.admin-bar .pmm-0f8ddd0d-overlay {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px));
}
@media screen and (max-width: 782px) {
    body.admin-bar .pmm-0f8ddd0d-overlay {
        top: 46px;
        height: calc(100dvh - 46px);
    }
}

.pmm-0f8ddd0d-overlay.pmm-active {
    transform: translateX(0);
}

/* Fixed Header Inside Overlay */
.pmm-0f8ddd0d-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
    flex-shrink: 0;
    z-index: 10;
}

.pmm-0f8ddd0d-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
}

.pmm-0f8ddd0d-logo img {
    max-height: 40px;
    width: auto;
}

.pmm-0f8ddd0d-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.pmm-0f8ddd0d-close svg {
    width: 20px;
    height: 20px;
    fill: #333333;
}

/* Panels Area */
.pmm-0f8ddd0d-panels-container {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

/* Slider Track carrying all panel screens */
.pmm-0f8ddd0d-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

/* Single Panel Screen */
.pmm-0f8ddd0d-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #ffffff;
}

/* Base Panel or Parent Panel stack shifts */
.pmm-0f8ddd0d-panel.pmm-panel-active {
    transform: translateX(0);
}

.pmm-0f8ddd0d-panel.pmm-panel-left {
    transform: translateX(-100%);
}

.pmm-0f8ddd0d-panel-scroll {
    flex-grow: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 80px; /* Space for CTAs & bottom bar */
}

/* Back Button */
.pmm-0f8ddd0d-back-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: none;
    background: #fdfdfd;
    padding: 15px 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a1a1a;
    text-align: left;
    cursor: pointer;
    border-bottom: 1px solid #e5e5e5;
}

.pmm-0f8ddd0d-back-btn svg {
    width: 14px;
    height: 14px;
}

/* Nav links styling */
.pmm-0f8ddd0d-nav {
    display: flex;
    flex-direction: column;
}

.pmm-0f8ddd0d-group-title {
    padding: 20px 20px 8px 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #888888;
    letter-spacing: 1px;
}

.pmm-0f8ddd0d-link-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    text-decoration: none;
    color: #1a1a1a;
    border-bottom: 1px solid #e5e5e5;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.pmm-0f8ddd0d-link-title {
    font-size: 15px;
    font-weight: 600;
}

.pmm-0f8ddd0d-indicator {
    display: inline-flex;
    align-items: center;
}

.pmm-0f8ddd0d-indicator svg {
    width: 12px;
    height: 12px;
    fill: #888888;
}

/* Panel Level CTAs */
.pmm-0f8ddd0d-panel-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.pmm-0f8ddd0d-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #111111;
    color: #ffffff;
    text-decoration: none;
    padding: 14px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    border-radius: 4px;
}

/* Global Fixed Bottom Bar */
.pmm-0f8ddd0d-bottom-action-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #eeeeee;
    display: flex;
    height: 65px;
    z-index: 20;
}

body.admin-bar .pmm-0f8ddd0d-bottom-action-bar {
    /* Safe fallback inside viewport */
}

.pmm-0f8ddd0d-global-cta {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #ffffff;
    background-color: #111111;
    text-transform: uppercase;
}

.pmm-0f8ddd0d-global-cta:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

/* Scroll Lock */
body.pmm-scroll-locked {
    overflow: hidden !important;
}
