            .header-right-area .mobile-search-toggle {
                display: flex !important;
            }

                    .adult-toggle {
                        width: 44px;
                        height: 24px;
                        background-color: rgba(255, 255, 255, 0.2);
                        border-radius: 12px;
                        position: relative;
                        transition: background-color 0.3s;
                    }
                    .adult-toggle.active {
                        background-color: #ef4444;
                    }
                    .adult-toggle-circle {
                        width: 20px;
                        height: 20px;
                        background-color: #fff;
                        border: 2px solid #ef4444;
                        border-radius: 50%;
                        position: absolute;
                        top: 2px;
                        left: 2px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        font-weight: 900;
                        font-size: 13px;
                        color: #111;
                        transition: transform 0.3s, border-color 0.3s;
                        line-height: 1;
                        padding-bottom: 1px;
                        box-sizing: border-box;
                    }
                    .adult-toggle:not(.active) .adult-toggle-circle {
                        border-color: #999;
                        color: #555;
                    }
                    .adult-toggle.active .adult-toggle-circle {
                        transform: translateX(20px);
                    }

                .mobile-search-toggle {
                    display: flex !important;
                    align-items: center;
                    justify-content: center;
                    cursor: pointer;
                    padding: 8px;
                    color: var(--text-color-main, #fff);
                    border-radius: 8px;
                    transition: all 0.2s ease;
                }
                .mobile-search-toggle:hover {
                    color: var(--accent-color, #8b5cf6);
                    background: rgba(255, 255, 255, 0.05);
                }

                /* Desktop Search Popover */
                @media (min-width: 769px) {
                    .global-search-modal {
                        position: absolute !important;
                        top: 10px !important;
                        right: 40px !important;
                        left: auto !important;
                        width: 380px !important;
                        max-width: 95vw !important;
                        height: auto !important;
                        max-height: 85vh !important;
                        background: #141522 !important;
                        border: 1px solid rgba(255, 255, 255, 0.09) !important;
                        border-radius: 18px !important;
                        box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(139, 92, 246, 0.15) !important;
                        z-index: 99999 !important;
                        padding: 0 !important;
                        margin: 0 !important;
                        overflow-y: auto !important;
                        animation: pimangaSearchFadeIn 0.2s ease-out;
                    }
                    .global-search-modal .dropdown-header {
                        padding: 16px 18px 14px 18px !important;
                        border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
                    }
                    .global-search-modal .mobile-close-top-btn {
                        display: none !important;
                    }
                    .global-search-modal .search-dropdown-body {
                        padding: 16px 18px 20px 18px !important;
                    }
                }

                /* Mobile Search Fullscreen */
                @media (max-width: 768px) {
                    .global-search-modal {
                        position: fixed !important;
                        top: 0 !important;
                        left: 0 !important;
                        right: 0 !important;
                        bottom: 0 !important;
                        width: 100vw !important;
                        height: 100vh !important;
                        height: 100dvh !important;
                        max-width: 100vw !important;
                        max-height: 100vh !important;
                        margin: 0 !important;
                        padding: 0 !important;
                        border-radius: 0 !important;
                        border: none !important;
                        box-shadow: none !important;
                        background: #0d0e15 !important;
                        z-index: 999999 !important;
                        overflow-y: auto !important;
                        -webkit-overflow-scrolling: touch !important;
                        animation: pimangaMobileSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
                    }
                    .global-search-modal .dropdown-header {
                        position: sticky !important;
                        top: 0 !important;
                        background: #0d0e15 !important;
                        z-index: 10 !important;
                        padding: 14px 16px !important;
                        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
                        display: flex !important;
                        align-items: center !important;
                        gap: 10px !important;
                    }
                    .global-search-modal .mobile-close-top-btn {
                        display: flex !important;
                        align-items: center !important;
                        justify-content: center !important;
                        width: 36px !important;
                        height: 36px !important;
                        background: rgba(255, 255, 255, 0.06) !important;
                        border: 1px solid rgba(255, 255, 255, 0.08) !important;
                        border-radius: 50% !important;
                        color: #cbd5e1 !important;
                        font-size: 15px !important;
                        cursor: pointer !important;
                        flex-shrink: 0 !important;
                    }
                    .global-search-modal .search-dropdown-body {
                        padding: 16px 16px 40px 16px !important;
                    }
                }

                @keyframes pimangaSearchFadeIn {
                    from { opacity: 0; transform: translateY(-8px); }
                    to { opacity: 1; transform: translateY(0); }
                }
                @keyframes pimangaMobileSlideIn {
                    from { opacity: 0; transform: translateY(10px); }
                    to { opacity: 1; transform: translateY(0); }
                }

                /* Form and controls styling (Complete isolation from legacy styles) */
                .global-search-input-form {
                    width: 100% !important;
                    max-width: 100% !important;
                    display: flex !important;
                    align-items: center !important;
                    background: #191a27 !important;
                    border: 1px solid rgba(255, 255, 255, 0.12) !important;
                    border-radius: 999px !important;
                    padding: 3px 5px 3px 18px !important;
                    transition: all 0.2s ease !important;
                    box-sizing: border-box !important;
                    position: relative !important;
                    margin: 0 !important;
                }
                .global-search-input-form:focus-within {
                    background: #202234 !important;
                    border-color: #8b5cf6 !important;
                    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25) !important;
                }
                .global-search-input-field {
                    flex: 1 1 auto !important;
                    width: 100% !important;
                    min-width: 0 !important;
                    background: transparent !important;
                    background-color: transparent !important;
                    border: none !important;
                    outline: none !important;
                    box-shadow: none !important;
                    color: #ffffff !important;
                    font-size: 14.5px !important;
                    font-weight: 500 !important;
                    padding: 8px 0 !important;
                    margin: 0 !important;
                    border-radius: 0 !important;
                    line-height: normal !important;
                    -webkit-appearance: none !important;
                }
                .global-search-input-field::placeholder {
                    color: #71788e !important;
                    font-size: 14px !important;
                    font-weight: 400 !important;
                }
                .global-search-submit-btn {
                    position: static !important;
                    top: auto !important;
                    right: auto !important;
                    transform: none !important;
                    background: #ffffff !important;
                    background-color: #ffffff !important;
                    color: #0d0e15 !important;
                    border-radius: 50% !important;
                    width: 32px !important;
                    height: 32px !important;
                    min-width: 32px !important;
                    min-height: 32px !important;
                    display: flex !important;
                    align-items: center !important;
                    justify-content: center !important;
                    border: none !important;
                    cursor: pointer !important;
                    padding: 0 !important;
                    margin: 0 0 0 6px !important;
                    flex-shrink: 0 !important;
                    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35) !important;
                    transition: transform 0.15s ease, background 0.15s ease !important;
                }
                .global-search-submit-btn:hover {
                    transform: scale(1.06) !important;
                    background: #f1f5f9 !important;
                }
                .global-search-submit-btn svg {
                    width: 15px !important;
                    height: 15px !important;
                    stroke: #0d0e15 !important;
                    display: block !important;
                }

                /* Recent searches */
                .recent-searches-section {
                    margin-bottom: 20px;
                }
                .recent-searches-header {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    margin-bottom: 12px;
                }
                .recent-title {
                    font-size: 13.5px;
                    font-weight: 700;
                    color: #f1f5f9;
                    letter-spacing: -0.2px;
                }
                .recent-clear-btn {
                    background: none;
                    border: none;
                    color: #94a3b8;
                    font-size: 12px;
                    font-weight: 500;
                    cursor: pointer;
                    padding: 0;
                    text-decoration: underline;
                    transition: color 0.2s;
                }
                .recent-clear-btn:hover {
                    color: #ef4444;
                }
                .recent-searches-list {
                    display: flex;
                    gap: 8px;
                    flex-wrap: wrap;
                }
                .recent-search-pill {
                    background: #1c1e2b;
                    border: 1px solid rgba(255, 255, 255, 0.08);
                    padding: 6px 14px;
                    border-radius: 999px;
                    font-size: 12.5px;
                    color: #e2e8f0;
                    display: inline-flex;
                    align-items: center;
                    gap: 8px;
                    cursor: pointer;
                    transition: all 0.2s ease;
                }
                .recent-search-pill:hover {
                    background: #252839;
                    border-color: rgba(255, 255, 255, 0.15);
                }
                .recent-pill-del {
                    color: #94a3b8;
                    font-size: 11px;
                    padding: 2px 4px;
                    border-radius: 50%;
                    transition: color 0.2s;
                }
                .recent-pill-del:hover {
                    color: #ef4444;
                }

                /* Browse tags button */
                .browse-tags-wrap {
                    text-align: center;
                    margin-bottom: 22px;
                }
                .browse-tags-btn {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 10px;
                    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
                    color: #fff;
                    padding: 12px 20px;
                    border-radius: 999px;
                    font-weight: 700;
                    font-size: 14px;
                    text-decoration: none;
                    width: 100%;
                    box-shadow: 0 4px 18px rgba(225, 29, 72, 0.35);
                    transition: transform 0.2s ease, box-shadow 0.2s ease;
                    box-sizing: border-box;
                }
                .browse-tags-btn:hover {
                    transform: translateY(-2px);
                    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.55);
                    color: #fff;
                }

                /* Popular tags */
                .popular-tags-title {
                    margin: 0 0 12px 0;
                    font-size: 13.5px;
                    font-weight: 700;
                    color: #f1f5f9;
                    letter-spacing: -0.2px;
                }
                .popular-tags-list {
                    display: flex;
                    gap: 8px;
                    flex-wrap: wrap;
                }
                .search-tag-pill {
                    display: inline-flex;
                    align-items: center;
                    background: #1c1e2b;
                    border: 1px solid rgba(255, 255, 255, 0.08);
                    padding: 6px 12px;
                    border-radius: 8px;
                    font-size: 12px;
                    font-weight: 500;
                    color: #cbd5e1;
                    text-decoration: none;
                    transition: all 0.2s ease;
                }
                .search-tag-pill:hover {
                    background: rgba(139, 92, 246, 0.15);
                    border-color: rgba(139, 92, 246, 0.4);
                    color: #c4b5fd;
                    transform: translateY(-1px);
                }

                /* Bottom close */
                .search-bottom-close-wrap {
                    display: flex;
                    justify-content: flex-end;
                    margin-top: 20px;
                    padding-top: 14px;
                    border-top: 1px solid rgba(255, 255, 255, 0.06);
                }
                .search-bottom-close-btn {
                    background: none;
                    border: none;
                    color: #94a3b8;
                    font-size: 13px;
                    font-weight: 600;
                    cursor: pointer;
                    display: inline-flex;
                    align-items: center;
                    gap: 4px;
                    padding: 4px 8px;
                    transition: color 0.2s;
                }
                .search-bottom-close-btn:hover {
                    color: #fff !important;
                }

                /* Ajax results */
                .global-search-modal .ajax-search-results {
                    margin-bottom: 16px;
                    position: static;
                    box-shadow: none;
                    border: none;
                    background: transparent;
                    padding: 0;
                    max-height: 280px;
                    overflow-y: auto;
                }

                /* User Dropdown Menu - Styled identically to Search Modal */
                @media (min-width: 769px) {
                    #userDropdownMenu {
                        background-color: #141522 !important;
                        border: 1px solid rgba(255, 255, 255, 0.09) !important;
                        border-radius: 18px !important;
                        box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(139, 92, 246, 0.15) !important;
                        width: 290px !important;
                        z-index: 99999 !important;
                        overflow: hidden !important;
                        animation: pimangaSearchFadeIn 0.2s ease-out !important;
                    }
                    #userDropdownMenu .dropdown-links {
                        padding: 10px 10px 14px 10px !important;
                        display: flex !important;
                        flex-direction: column !important;
                        gap: 3px !important;
                    }
                    #userDropdownMenu .dropdown-links a {
                        display: flex !important;
                        align-items: center !important;
                        padding: 9px 12px !important;
                        color: #cbd5e1 !important;
                        font-size: 13.5px !important;
                        font-weight: 500 !important;
                        border-radius: 10px !important;
                        border: 1px solid transparent !important;
                        background: transparent !important;
                        margin-bottom: 0 !important;
                        text-decoration: none !important;
                        transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
                    }
                    #userDropdownMenu .dropdown-links a:hover {
                        background: rgba(139, 92, 246, 0.12) !important;
                        border-color: rgba(139, 92, 246, 0.28) !important;
                        color: #ffffff !important;
                        transform: translateX(3px) !important;
                    }
                }

                @media (max-width: 768px) {
                    #userDropdownMenu {
                        position: fixed !important;
                        top: 0 !important;
                        left: 0 !important;
                        right: 0 !important;
                        bottom: 0 !important;
                        width: 100vw !important;
                        height: 100vh !important;
                        height: 100dvh !important;
                        max-width: 100vw !important;
                        max-height: 100vh !important;
                        border-radius: 0 !important;
                        margin: 0 !important;
                        border: none !important;
                        box-shadow: none !important;
                        overflow-y: auto !important;
                        -webkit-overflow-scrolling: touch !important;
                        z-index: 999999 !important;
                        background-color: #0d0e15 !important;
                        animation: pimangaMobileSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
                    }
                    #userDropdownMenu .dropdown-header {
                        position: sticky !important;
                        top: 0 !important;
                        background: #0d0e15 !important;
                        z-index: 10 !important;
                        padding: 16px 18px !important;
                        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
                    }
                    #userDropdownMenu .close-dropdown {
                        top: 14px !important;
                        right: 16px !important;
                        width: 36px !important;
                        height: 36px !important;
                        font-size: 15px !important;
                    }
                    #userDropdownMenu .dropdown-stats-section {
                        padding: 14px 16px !important;
                    }
                    #userDropdownMenu .dropdown-links {
                        padding: 14px 16px 40px 16px !important;
                        gap: 8px !important;
                    }
                    #userDropdownMenu .dropdown-links a {
                        background: #141522 !important;
                        border: 1px solid rgba(255, 255, 255, 0.06) !important;
                        padding: 12px 16px !important;
                        font-size: 14.5px !important;
                        border-radius: 12px !important;
                    }
                    #userDropdownMenu .dropdown-links a:hover,
                    #userDropdownMenu .dropdown-links a:active {
                        background: #191a27 !important;
                        border-color: rgba(139, 92, 246, 0.35) !important;
                        color: #ffffff !important;
                    }
                }

                #userDropdownMenu .dropdown-header {
                    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
                    padding: 16px 18px 14px 18px !important;
                    position: relative !important;
                }
                #userDropdownMenu .close-dropdown {
                    position: absolute !important;
                    top: 14px !important;
                    right: 14px !important;
                    width: 32px !important;
                    height: 32px !important;
                    background: rgba(255, 255, 255, 0.06) !important;
                    border: 1px solid rgba(255, 255, 255, 0.08) !important;
                    border-radius: 50% !important;
                    color: #cbd5e1 !important;
                    font-size: 14px !important;
                    cursor: pointer !important;
                    display: flex !important;
                    align-items: center !important;
                    justify-content: center !important;
                    line-height: 1 !important;
                    padding: 0 !important;
                    transition: all 0.2s ease !important;
                }
                #userDropdownMenu .close-dropdown:hover {
                    background: rgba(255, 255, 255, 0.12) !important;
                    color: #ffffff !important;
                    transform: scale(1.05) !important;
                }
                #userDropdownMenu .dropdown-profile-info {
                    display: flex !important;
                    align-items: center !important;
                    gap: 12px !important;
                }
                #userDropdownMenu .dropdown-profile-info .avatar,
                #userDropdownMenu .dropdown-profile-info .guest-avatar.large {
                    width: 48px !important;
                    height: 48px !important;
                    min-width: 48px !important;
                    min-height: 48px !important;
                    border-radius: 50% !important;
                    background-color: #191a27 !important;
                    border: 2px solid rgba(139, 92, 246, 0.4) !important;
                    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 12px rgba(139, 92, 246, 0.2) !important;
                    display: flex !important;
                    align-items: center !important;
                    justify-content: center !important;
                    color: #8b5cf6 !important;
                    object-fit: cover !important;
                }
                #userDropdownMenu .dropdown-name {
                    color: #f1f5f9 !important;
                    font-weight: 700 !important;
                    font-size: 15px !important;
                    letter-spacing: -0.2px !important;
                }
                #userDropdownMenu .dropdown-email {
                    color: #94a3b8 !important;
                    font-size: 12px !important;
                    margin-top: 2px !important;
                }
                #userDropdownMenu .dropdown-stats-section {
                    padding: 12px 14px !important;
                    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
                }
                #userDropdownMenu .dropdown-stats-section .stat-box {
                    background: #191a27 !important;
                    border: 1px solid rgba(255, 255, 255, 0.08) !important;
                    border-radius: 14px !important;
                    padding: 10px 14px !important;
                    box-sizing: border-box !important;
                    transition: all 0.2s ease !important;
                }
                #userDropdownMenu .dropdown-stats-section .stat-box:hover {
                    border-color: rgba(139, 92, 246, 0.35) !important;
                    background: #1c1e2d !important;
                }
                #userDropdownMenu .stat-label {
                    color: #94a3b8 !important;
                    font-size: 11px !important;
                    font-weight: 700 !important;
                    text-transform: uppercase !important;
                    letter-spacing: 0.6px !important;
                    margin-bottom: 2px !important;
                }
                #userDropdownMenu .stat-value {
                    color: #ffffff !important;
                    font-size: 18px !important;
                    font-weight: 800 !important;
                    letter-spacing: -0.3px !important;
                }
                #userDropdownMenu .dropdown-stats-section .stat-icon {
                    display: flex !important;
                    align-items: center !important;
                    justify-content: center !important;
                    width: 36px !important;
                    height: 36px !important;
                    background: rgba(139, 92, 246, 0.12) !important;
                    border: 1px solid rgba(139, 92, 246, 0.25) !important;
                    border-radius: 10px !important;
                    color: #8b5cf6 !important;
                    flex-shrink: 0 !important;
                    filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.35)) !important;
                }
                #userDropdownMenu .dropdown-links a[href*="logout"]:hover {
                    background: rgba(239, 68, 68, 0.12) !important;
                    border-color: rgba(239, 68, 68, 0.28) !important;
                    color: #f87171 !important;
                }
                #userDropdownMenu .dropdown-links a[href*="wp-admin"]:hover {
                    background: rgba(239, 68, 68, 0.12) !important;
                    border-color: rgba(239, 68, 68, 0.28) !important;
                    color: #fca5a5 !important;
                }
                #userDropdownMenu .dropdown-links a[href*="customize.php"]:hover {
                    background: rgba(16, 185, 129, 0.12) !important;
                    border-color: rgba(16, 185, 129, 0.28) !important;
                    color: #6ee7b7 !important;
                }
                #userDropdownMenu .dropdown-links a[href*="action=edit"]:hover {
                    background: rgba(245, 158, 11, 0.12) !important;
                    border-color: rgba(245, 158, 11, 0.28) !important;
                    color: #fde68a !important;
                }
