/* ==========================================================================
   CashAdvance Mobile Menu — Hamburger + Overlay only
   ========================================================================== */

/* ── Icon wrapper — sits inside your Elementor column ── */
.camm-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

button.camm-hamburger,
button.camm-hamburger:focus,
button.camm-hamburger:active {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    color: #005e6d !important;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
    outline: none !important;
    box-shadow: none !important;
}
button.camm-hamburger:hover,
button.camm-hamburger:focus-visible {
    color: #0090a1 !important;
    background: transparent !important;
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}
.camm-hamburger svg { display: block; }

/* ── Full-screen overlay ── */
.camm-overlay {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 99999;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);

    /* closed */
    opacity: 0;
    max-height: 0;
    pointer-events: none;
    transition: opacity .45s cubic-bezier(.16,1,.3,1),
                max-height .45s cubic-bezier(.16,1,.3,1);
}
.camm-overlay.camm-open {
    opacity: 1;
    max-height: 100vh;
    max-height: 100dvh;
    pointer-events: auto;
}

.camm-overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 20px;
    padding: 0 32px 80px;
}

/* ── Nav items (frosted glass cards) ── */
.camm-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    padding: 16px 24px;
    border-radius: 16px;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: 'Quicksand', 'Montserrat', sans-serif;
    text-decoration: none;
    text-align: center;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.2);
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
    transition: all .3s ease;

    /* stagger-in initial state */
    opacity: 0;
    transform: translateY(30px);
}

.camm-overlay.camm-open .camm-nav-item {
    opacity: 1;
    transform: translateY(0);
}
.camm-overlay.camm-open .camm-nav-item:nth-child(1) { transition-delay: .10s; }
.camm-overlay.camm-open .camm-nav-item:nth-child(2) { transition-delay: .20s; }
.camm-overlay.camm-open .camm-nav-item:nth-child(3) { transition-delay: .30s; }
.camm-overlay.camm-open .camm-nav-item:nth-child(4) { transition-delay: .40s; }
.camm-overlay.camm-open .camm-nav-item:nth-child(5) { transition-delay: .50s; }
.camm-overlay.camm-open .camm-nav-item:nth-child(6) { transition-delay: .60s; }

.camm-nav-item:hover {
    background: #fff;
    color: #005e6d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}
.camm-nav-item.camm-active {
    background: #fff;
    color: #0090a1;
    border-color: #fff;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}

/* ── CTA button ── */
.camm-cta-wrapper {
    padding-top: 16px;
    width: 100%;
    max-width: 320px;
    opacity: 0;
    transform: translateY(30px);
}
.camm-overlay.camm-open .camm-cta-wrapper {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .4s ease .55s, transform .4s ease .55s;
}

.camm-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: 'Quicksand', 'Montserrat', sans-serif;
    text-decoration: none;
    background-color: #f38c79;
    color: #fff;
    box-shadow: 0 10px 30px rgba(243,140,121,.35);
    transition: all .3s ease;
}
.camm-cta-btn:hover {
    background-color: #ffc2b4;
    color: #005e6d;
    transform: translateY(-2px);
}

/* ── Scroll lock ── */
body.camm-menu-open { overflow: hidden; }

/* ── Editor preview: show overlay inline so you can see it ── */
.elementor-editor-active .camm-overlay--editor {
    position: relative !important;
    height: auto !important;
    max-height: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    top: 0 !important;
    margin-top: 12px;
    border-radius: 12px;
}
.elementor-editor-active .camm-overlay--editor .camm-overlay-inner {
    height: auto !important;
    padding: 30px 32px !important;
}
