/* ==========================================================================
   WOWSERU SYSTEM OVERRIDES - SINKRONISASI THEME.JSON V3
   ========================================================================== */

/* 1. KONTANER UTAMA & HEADER */
.wowseru-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.wowseru-logo-area {
    flex-shrink: 0;
}

.wowseru-nav {
    display: flex;
    align-items: center;
}

/* 2. LAYOUT NAVIGASI DESKTOP */
.wowseru-nav-desktop {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wowseru-nav-desktop li {
    list-style: none;
}

.wowseru-nav-desktop a {
    position: relative;
    text-decoration: none;
    color: var(--wp--preset--color--wowseru-plum, #2A0E1A);
    font-weight: 600;
    font-family: var(--wp--preset--font-family--body, sans-serif);
    transition: color .2s ease;
}

.wowseru-nav-desktop a:hover {
    color: var(--wp--preset--color--wowseru-pink, #E31C5F);
}

/* 3. HAMBURGER TOGGLE (UX AMAN JEMPOL - 48px) */
.wowseru-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;  
    height: 48px; 
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 100001;
}

.wowseru-nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--wp--preset--color--wowseru-plum, #2A0E1A);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animasi Hamburger ke Mode Close (X) */
.wowseru-nav-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.wowseru-nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.wowseru-nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 4. MOBILE DRAWER PANEL & OVERLAY */
.wowseru-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(42, 14, 26, 0.5); /* Overlay berbasis Plum Gelap */
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    backdrop-filter: blur(4px);
}

.wowseru-mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.wowseru-mobile-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(85vw, 360px);
    height: 100vh;
    background: var(--wp--preset--color--wowseru-white, #ffffff);
    box-shadow: -8px 0 30px rgba(42, 14, 26, 0.15);
    z-index: 100000;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 5.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.wowseru-mobile-panel.is-open {
    transform: translateX(0);
}

.wowseru-mobile-panel__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 2rem;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--wp--preset--color--wowseru-plum, #2A0E1A);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 5. MENU LIST DI MOBILE PANEL */
.wowseru-mobile-panel__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wowseru-mobile-panel__list li {
    list-style: none;
    border-bottom: 1px solid rgba(42, 14, 26, 0.08);
}

.wowseru-mobile-panel__list a {
    display: block;
    padding: 1.1rem 0;
    text-decoration: none;
    color: var(--wp--preset--color--wowseru-text, #2A0E1A);
    font-weight: 700;
    font-size: 1.2rem;
    font-family: var(--wp--preset--font-family--heading, sans-serif); /* Menggunakan Baloo 2 */
    transition: color 0.2s ease;
}

.wowseru-mobile-panel__list a:hover {
    color: var(--wp--preset--color--wowseru-pink, #E31C5F);
}

/* 6. WHATSAPP CONVERSION CTA BUTTON */
.wowseru-mobile-panel__cta {
    margin-top: auto;
    display: block;
    text-align: center;
    background: var(--wp--preset--color--wowseru-orange, #F5A623); /* Oranye Aksen */
    color: var(--wp--preset--color--wowseru-white, #ffffff) !important;
    font-weight: 700;
    font-family: var(--wp--preset--font-family--body, sans-serif);
    padding: 1rem 1.5rem;
    border-radius: 999px; /* Pill-shaped seperti style button default */
    text-decoration: none;
    transition: background-color .2s ease, transform 0.2s ease;
}

.wowseru-mobile-panel__cta:hover {
    background: var(--wp--preset--color--wowseru-pink, #E31C5F); /* Hover ganti ke Pink */
    color: var(--wp--preset--color--wowseru-white, #ffffff) !important;
    transform: translateY(-2px);
}

/* 7. RESPONSIVE BREAKPOINT SWITCH */
@media (max-width: 782px) {
    .wowseru-nav-desktop { 
        display: none; 
    }
    .wowseru-nav-toggle { 
        display: flex; 
    }
}